Misc. typos
Inspired by @normandc per https://gitter.im/FreeCAD/FreeCAD?at=5a729c6ece68c3bc742df205
This commit is contained in:
@@ -357,7 +357,7 @@ static LONG __stdcall MyCrashHandlerExceptionFilter(EXCEPTION_POINTERS* pEx)
|
||||
stMDEI.ThreadId = GetCurrentThreadId();
|
||||
stMDEI.ExceptionPointers = pEx;
|
||||
stMDEI.ClientPointers = true;
|
||||
// try to create an miniDump:
|
||||
// try to create a miniDump:
|
||||
if (s_pMDWD(
|
||||
GetCurrentProcess(),
|
||||
GetCurrentProcessId(),
|
||||
|
||||
@@ -494,7 +494,7 @@ ExportOCAF::ExportOCAF(Handle(TDocStd_Document) h, bool explicitPlacement)
|
||||
}
|
||||
|
||||
|
||||
// This function create an Assembly node into an XCAF document with it's relative placement information
|
||||
// This function creates an Assembly node in an XCAF document with its relative placement information
|
||||
|
||||
void ExportOCAF::createNode(App::Part* part, int& root_id,
|
||||
std::vector <TDF_Label>& hierarchical_label,
|
||||
|
||||
@@ -607,7 +607,7 @@ int myPreactionCB_CollectFacets(JtkHierarchy *CurrNode, int level, JtkClientData
|
||||
|
||||
void testLicence(void)
|
||||
{
|
||||
// Try to create an JtkCADExporter to test for JT write/general licensing
|
||||
// Try to create a JtkCADExporter to test for JT write/general licensing
|
||||
JtkCADExporter *jtwriter = NULL;
|
||||
jtwriter = JtkEntityFactory::createCADExporter();
|
||||
if( !jtwriter )
|
||||
@@ -622,7 +622,7 @@ void testLicence(void)
|
||||
jtwriter = NULL;
|
||||
}
|
||||
|
||||
// Try to create an JtkCADImporter to test for JT read licensing
|
||||
// Try to create a JtkCADImporter to test for JT read licensing
|
||||
JtkCADImporter *jtreader = NULL;
|
||||
jtreader = JtkEntityFactory::createCADImporter();
|
||||
if( !jtreader )
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<Documentation>
|
||||
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
|
||||
<UserDocu>Describes an hyperbola in 3D space
|
||||
To create an hyperbola there are several ways:
|
||||
To create a hyperbola there are several ways:
|
||||
Part.Hyperbola()
|
||||
Creates an hyperbola with major radius 2 and minor radius 1 with the
|
||||
center in (0,0,0)
|
||||
|
||||
@@ -225,8 +225,8 @@ CmdPrimtiveCompSubtractive::CmdPrimtiveCompSubtractive()
|
||||
{
|
||||
sAppModule = "PartDesign";
|
||||
sGroup = QT_TR_NOOP("PartDesign");
|
||||
sMenuText = QT_TR_NOOP("Create an subtractive primitive");
|
||||
sToolTipText = QT_TR_NOOP("Create an subtractive primitive");
|
||||
sMenuText = QT_TR_NOOP("Create a subtractive primitive");
|
||||
sToolTipText = QT_TR_NOOP("Create a subtractive primitive");
|
||||
sWhatsThis = "PartDesign_CompPrimitiveSubtractive";
|
||||
sStatusTip = sToolTipText;
|
||||
eType = ForEdit;
|
||||
@@ -338,35 +338,35 @@ void CmdPrimtiveCompSubtractive::languageChange()
|
||||
|
||||
QAction* arc1 = a[0];
|
||||
arc1->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Box"));
|
||||
arc1->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create an subtractive box by its width, height and length"));
|
||||
arc1->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive box by its width, height and length"));
|
||||
arc1->setStatusTip(arc1->toolTip());
|
||||
QAction* arc2 = a[1];
|
||||
arc2->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Cylinder"));
|
||||
arc2->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create an subtractive cylinder by its radius, height and angle"));
|
||||
arc2->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive cylinder by its radius, height and angle"));
|
||||
arc2->setStatusTip(arc2->toolTip());
|
||||
QAction* arc3 = a[2];
|
||||
arc3->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Sphere"));
|
||||
arc3->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create an subtractive sphere by its radius and various angles"));
|
||||
arc3->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive sphere by its radius and various angles"));
|
||||
arc3->setStatusTip(arc3->toolTip());
|
||||
QAction* arc4 = a[3];
|
||||
arc4->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Cone"));
|
||||
arc4->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create an subtractive cone"));
|
||||
arc4->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive cone"));
|
||||
arc4->setStatusTip(arc4->toolTip());
|
||||
QAction* arc5 = a[4];
|
||||
arc5->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Ellipsoid"));
|
||||
arc5->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create an subtractive ellipsoid"));
|
||||
arc5->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive ellipsoid"));
|
||||
arc5->setStatusTip(arc5->toolTip());
|
||||
QAction* arc6 = a[5];
|
||||
arc6->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Torus"));
|
||||
arc6->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create an subtractive torus"));
|
||||
arc6->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive torus"));
|
||||
arc6->setStatusTip(arc6->toolTip());
|
||||
QAction* arc7 = a[6];
|
||||
arc7->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Prism"));
|
||||
arc7->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create an subtractive prism"));
|
||||
arc7->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive prism"));
|
||||
arc7->setStatusTip(arc7->toolTip());
|
||||
QAction* arc8 = a[7];
|
||||
arc8->setText(QApplication::translate("CmdPrimtiveCompSubtractive","Subtractive Wedge"));
|
||||
arc8->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create an subtractive wedge"));
|
||||
arc8->setToolTip(QApplication::translate("PartDesign_CompPrimitiveSubtractive","Create a subtractive wedge"));
|
||||
arc8->setStatusTip(arc8->toolTip());
|
||||
}
|
||||
|
||||
|
||||
@@ -101,12 +101,12 @@ class TestPathUtil(PathTestBase):
|
||||
# an empty part is not a valid base object
|
||||
self.assertFalse(PathUtil.isValidBaseObject(part))
|
||||
|
||||
# a none empty part where none of the objects has a shape is no good neither
|
||||
# a non-empty part where none of the objects have a shape, is no good either
|
||||
fp = self.doc.addObject('App::FeaturePython', 'Feature')
|
||||
part.addObject(fp)
|
||||
self.assertFalse(PathUtil.isValidBaseObject(part))
|
||||
|
||||
# create an valid base object
|
||||
# create a valid base object
|
||||
box = self.doc.addObject("Part::Box","Box")
|
||||
self.assertTrue(PathUtil.isValidBaseObject(box))
|
||||
|
||||
|
||||
@@ -248,7 +248,7 @@ class TaskPanel:
|
||||
|
||||
Keyword arguments:
|
||||
value -- Edited value. This parameter is required in order to use this
|
||||
method as a callback function, but it is unuseful.
|
||||
method as a callback function, but it is not useful.
|
||||
"""
|
||||
mw = self.getMainWindow()
|
||||
form = mw.findChild(QtGui.QWidget, "TaskPanel")
|
||||
|
||||
@@ -7469,7 +7469,7 @@ CmdSketcherCompCreateRegularPolygon::CmdSketcherCompCreateRegularPolygon()
|
||||
sAppModule = "Sketcher";
|
||||
sGroup = QT_TR_NOOP("Sketcher");
|
||||
sMenuText = QT_TR_NOOP("Create regular polygon");
|
||||
sToolTipText = QT_TR_NOOP("Create an regular polygon in the sketcher");
|
||||
sToolTipText = QT_TR_NOOP("Create a regular polygon in the sketcher");
|
||||
sWhatsThis = "Sketcher_CompCreateRegularPolygon";
|
||||
sStatusTip = sToolTipText;
|
||||
eType = ForEdit;
|
||||
|
||||
Reference in New Issue
Block a user