Typos, grammar & uniformiity

3rd party KDL typos have been submitted upstream https://github.com/orocos/orocos_kinematics_dynamics/pull/121
This commit is contained in:
Unknown
2017-12-13 00:10:46 -05:00
parent c54c08cca4
commit d949210aed
7 changed files with 13 additions and 13 deletions

View File

@@ -194,7 +194,7 @@ endif(MSVC)
OPTION(BUILD_QT5 "Build with Qt5." OFF)
OPTION(BUILD_QT5_WEBKIT "Build with Qt5." ON)
OPTION(BUILD_GUI "Build FreeCAD Gui. Otherwise you have only the command line and the Python import module." ON)
OPTION(FREECAD_MAINTAINERS_BUILD "Build FreeCAD for Maintainers, with Docu and 3rd party libs. On Windows the Installer is build." OFF)
OPTION(FREECAD_MAINTAINERS_BUILD "Build FreeCAD for Maintainers, with Docu and 3rd party libs. On Windows the Installer is built." OFF)
OPTION(FREECAD_USE_EXTERNAL_ZIPIOS "Use system installed zipios++ instead of the bundled." OFF)
OPTION(FREECAD_USE_EXTERNAL_SMESH "Use system installed smesh instead of the bundled." OFF)
OPTION(FREECAD_USE_EXTERNAL_KDL "Use system installed orocos-kdl instead of the bundled." OFF)

View File

@@ -253,7 +253,7 @@ void ExpressionCompleter::slotUpdate(const QString & prefix)
return;
}
// Extract last tokens that can be rebuild to a variable
// Extract last tokens that can be rebuilt to a variable
ssize_t i = static_cast<ssize_t>(tokens.size()) - 1;
while (i >= 0) {
if (get<0>(tokens[i]) != ExpressionParser::IDENTIFIER &&

View File

@@ -5107,8 +5107,8 @@ class Draft_Slope():
def GetResources(self):
return {'Pixmap' : 'Draft_Slope',
'MenuText': QtCore.QT_TRANSLATE_NOOP("Draft_Slope", "Set slope"),
'ToolTip' : QtCore.QT_TRANSLATE_NOOP("Draft_Slope", "Sets the slope of a selected line or wire")}
'MenuText': QtCore.QT_TRANSLATE_NOOP("Draft_Slope", "Set Slope"),
'ToolTip' : QtCore.QT_TRANSLATE_NOOP("Draft_Slope", "Sets the slope of a selected Line or Wire")}
def Activated(self):
if not FreeCADGui.Selection.getSelection():

View File

@@ -118,7 +118,7 @@ void CmdFemCreateAnalysis::activated(int)
{
#ifndef FCWithNetgen
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
QObject::tr("Your FreeCAD is build without NETGEN support. Meshing will not work...."));
QObject::tr("Your FreeCAD is built without NETGEN support. Meshing will not work...."));
return;
#endif
@@ -180,7 +180,7 @@ void CmdFemAddPart::activated(int)
{
#ifndef FCWithNetgen
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
QObject::tr("Your FreeCAD is build without NETGEN support. Meshing will not work...."));
QObject::tr("Your FreeCAD is built without NETGEN support. Meshing will not work...."));
return;
#endif
@@ -243,7 +243,7 @@ void CmdFemCreateSolver::activated(int)
{
#ifndef FCWithNetgen
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Wrong selection"),
QObject::tr("Your FreeCAD is build without NETGEN support. Meshing will not work...."));
QObject::tr("Your FreeCAD is built without NETGEN support. Meshing will not work...."));
return;
#endif
@@ -401,7 +401,7 @@ CmdFemConstraintContact::CmdFemConstraintContact()
{
sAppModule = "Fem";
sGroup = QT_TR_NOOP("Fem");
sMenuText = QT_TR_NOOP("Constraint contact ");
sMenuText = QT_TR_NOOP("Constraint contact");
sToolTipText = QT_TR_NOOP("Creates a FEM constraint for contact between faces");
sWhatsThis = "FEM_ConstraintContact";
sStatusTip = sToolTipText;
@@ -489,7 +489,7 @@ CmdFemConstraintHeatflux::CmdFemConstraintHeatflux()
{
sAppModule = "Fem";
sGroup = QT_TR_NOOP("Fem");
sMenuText = QT_TR_NOOP("Constraint heatflux ");
sMenuText = QT_TR_NOOP("Constraint heatflux");
sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a heatflux acting on a face");
sWhatsThis = "FEM_ConstraintHeatflux";
sStatusTip = sToolTipText;
@@ -797,7 +797,7 @@ CmdFemConstraintTemperature::CmdFemConstraintTemperature()
{
sAppModule = "Fem";
sGroup = QT_TR_NOOP("Fem");
sMenuText = QT_TR_NOOP("Constraint temperature ");
sMenuText = QT_TR_NOOP("Constraint temperature");
sToolTipText = QT_TR_NOOP("Creates a FEM constraint for a temperature/concentrated heat flux acting on a face");
sWhatsThis = "FEM_ConstraintTemperature";
sStatusTip = sToolTipText;

View File

@@ -28,7 +28,7 @@
namespace KDL {
/**
* \brief This class encapsulates a <strong>serial</strong> kinematic
* interconnection structure. It is build out of segments.
* interconnection structure. It is built out of segments.
*
* @ingroup KinematicFamily
*/

View File

@@ -93,7 +93,7 @@ namespace KDL
/**
* \brief This class encapsulates a <strong>tree</strong>
* kinematic interconnection structure. It is build out of segments.
* kinematic interconnection structure. It is built out of segments.
*
* @ingroup KinematicFamily
*/

View File

@@ -158,7 +158,7 @@ tokenDic = {
class exprNode(object):
''' This defines a tree class for expression parsing.
A tree is build, to step down into the levels of the expression.'''
A tree is built, to step down into the levels of the expression.'''
def __init__(self, parent, state, actIndex):
self.state = state #see comment: State used for Angle-functions and IF-function
self.parent = parent # Parent tree node