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 89071f74b7
commit 5e2159cb74
7 changed files with 13 additions and 13 deletions

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