diff --git a/src/Mod/Arch/ArchPanel.py b/src/Mod/Arch/ArchPanel.py index cd426a4ede..ec124419d4 100644 --- a/src/Mod/Arch/ArchPanel.py +++ b/src/Mod/Arch/ArchPanel.py @@ -736,7 +736,7 @@ class _Panel(ArchComponent.Component): base = self.vol.common(base) base = base.removeSplitter() if not base: - FreeCAD.Console.PrintError(translate("Arch","Error computing shape of ")+obj.Label+"\n") + FreeCAD.Console.PrintError(translate("Arch","Error computing shape of")+" "+obj.Label+"\n") return False if base and (obj.Sheets > 1) and normal and thickness: diff --git a/src/Mod/Arch/ArchStairs.py b/src/Mod/Arch/ArchStairs.py index 3206bc004b..8db4eaf11c 100644 --- a/src/Mod/Arch/ArchStairs.py +++ b/src/Mod/Arch/ArchStairs.py @@ -379,12 +379,12 @@ class _Stairs(ArchComponent.Component): obj.addProperty("App::PropertyLength","LandingDepth","Steps",QT_TRANSLATE_NOOP("App::Property","The depth of the landing of these stairs")) if not hasattr(obj,"TreadDepthEnforce"): - obj.addProperty("App::PropertyLength","TreadDepthEnforce","Steps",QT_TRANSLATE_NOOP("App::Property","The depth of the treads of these stairs - Enforced regardless Length or edge's Length")) + obj.addProperty("App::PropertyLength","TreadDepthEnforce","Steps",QT_TRANSLATE_NOOP("App::Property","The depth of the treads of these stairs - Enforced regardless of Length or edge's Length")) if not hasattr(obj,"RiserHeightEnforce"): - obj.addProperty("App::PropertyLength","RiserHeightEnforce","Steps",QT_TRANSLATE_NOOP("App::Property","The height of the risers of these stairs - Enforced regardless Height or edge's Height")) + obj.addProperty("App::PropertyLength","RiserHeightEnforce","Steps",QT_TRANSLATE_NOOP("App::Property","The height of the risers of these stairs - Enforced regardless of Height or edge's Height")) if not hasattr(obj,"Flight"): - obj.addProperty("App::PropertyEnumeration","Flight","Structure",QT_TRANSLATE_NOOP("App::Property","The direction of of flight after landing")) + obj.addProperty("App::PropertyEnumeration","Flight","Structure",QT_TRANSLATE_NOOP("App::Property","The direction of flight after landing")) obj.Flight = ["Straight","HalfTurnLeft","HalfTurnRight"] # Segment and Parts properties diff --git a/src/Mod/Part/Gui/TaskDimension.cpp b/src/Mod/Part/Gui/TaskDimension.cpp index 293b16e9e2..8c244733cb 100644 --- a/src/Mod/Part/Gui/TaskDimension.cpp +++ b/src/Mod/Part/Gui/TaskDimension.cpp @@ -947,7 +947,7 @@ void PartGui::goDimensionAngularNoTask(const VectorAdapter &vector1Adapter, cons dimensionOriginPoint = extremaPoint1; else { - //find half way point in between extrema points for dimension origin. + //find halfway point in between extrema points for dimension origin. gp_Vec vec1(extremaPoint1.XYZ()); gp_Vec vec2(extremaPoint2.XYZ()); gp_Vec connection(vec2-vec1); diff --git a/src/Mod/Robot/App/Edge2TracObject.cpp b/src/Mod/Robot/App/Edge2TracObject.cpp index ee4b7ddf3c..41220964e5 100644 --- a/src/Mod/Robot/App/Edge2TracObject.cpp +++ b/src/Mod/Robot/App/Edge2TracObject.cpp @@ -169,7 +169,7 @@ App::DocumentObjectExecReturn *Edge2TracObject::execute(void) first = false; else beg += stp; - Base::SequencerLauncher seq("Create way points", static_cast((end-beg)/stp)); + Base::SequencerLauncher seq("Create waypoints", static_cast((end-beg)/stp)); if(reversed) { for (;beg > end; beg += stp) { diff --git a/src/Mod/Robot/Gui/Command.cpp b/src/Mod/Robot/Gui/Command.cpp index 30efa7bd14..14babfcede 100644 --- a/src/Mod/Robot/Gui/Command.cpp +++ b/src/Mod/Robot/Gui/Command.cpp @@ -228,7 +228,7 @@ void CmdRobotSimulate::activated(int) if(pcTrajectoryObject->Trajectory.getValue().getSize() < 2){ QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Trajectory not valid"), - QObject::tr("You need at least two way points in a trajectory to simulate.")); + QObject::tr("You need at least two waypoints in a trajectory to simulate.")); return; } diff --git a/src/Mod/Robot/Gui/CommandTrajectory.cpp b/src/Mod/Robot/Gui/CommandTrajectory.cpp index 6aaeffba67..76adc1ccb7 100644 --- a/src/Mod/Robot/Gui/CommandTrajectory.cpp +++ b/src/Mod/Robot/Gui/CommandTrajectory.cpp @@ -215,7 +215,7 @@ CmdRobotSetDefaultOrientation::CmdRobotSetDefaultOrientation() sAppModule = "Robot"; sGroup = QT_TR_NOOP("Robot"); sMenuText = QT_TR_NOOP("Set default orientation"); - sToolTipText = QT_TR_NOOP("set the default orientation for subsequent commands for waypoint creation"); + sToolTipText = QT_TR_NOOP("Set the default orientation for subsequent commands for waypoint creation"); sWhatsThis = "Robot_SetDefaultOrientation"; sStatusTip = sToolTipText; sPixmap = 0; @@ -254,7 +254,7 @@ CmdRobotSetDefaultValues::CmdRobotSetDefaultValues() sAppModule = "Robot"; sGroup = QT_TR_NOOP("Robot"); sMenuText = QT_TR_NOOP("Set default values"); - sToolTipText = QT_TR_NOOP("set the default values for speed, acceleration and continuity for subsequent commands of waypoint creation"); + sToolTipText = QT_TR_NOOP("Set the default values for speed, acceleration and continuity for subsequent commands of waypoint creation"); sWhatsThis = "Robot_SetDefaultValues"; sStatusTip = sToolTipText; sPixmap = 0; @@ -266,7 +266,7 @@ void CmdRobotSetDefaultValues::activated(int) { bool ok; - QString text = QInputDialog::getText(0, QObject::tr("set default speed"), + QString text = QInputDialog::getText(0, QObject::tr("Set default speed"), QObject::tr("speed: (e.g. 1 m/s or 3 cm/s)"), QLineEdit::Normal, QString::fromLatin1("1 m/s"), &ok); if ( ok && !text.isEmpty() ) { @@ -276,14 +276,14 @@ void CmdRobotSetDefaultValues::activated(int) QStringList items; items << QString::fromLatin1("False") << QString::fromLatin1("True"); - QString item = QInputDialog::getItem(0, QObject::tr("set default continuity"), + QString item = QInputDialog::getItem(0, QObject::tr("Set default continuity"), QObject::tr("continuous ?"), items, 0, false, &ok); if (ok && !item.isEmpty()) doCommand(Doc,"_DefCont = %s",item.toLatin1().constData()); text.clear(); - text = QInputDialog::getText(0, QObject::tr("set default acceleration"), + text = QInputDialog::getText(0, QObject::tr("Set default acceleration"), QObject::tr("acceleration: (e.g. 1 m/s^2 or 3 cm/s^2)"), QLineEdit::Normal, QString::fromLatin1("1 m/s^2"), &ok); if ( ok && !text.isEmpty() ) {