[For v0.18] Crowdin fixes
https://crowdin.com/translate/freecad/568/en-en#1172237 https://crowdin.com/translate/freecad/568/en-en#1172239 https://crowdin.com/translate/freecad/568/en-en#195053 https://crowdin.com/translate/freecad/568/en-en#1172247 https://crowdin.com/translate/freecad/568/en-en#1172249 https://crowdin.com/translate/freecad/568/en-en#1172251 https://crowdin.com/translate/freecad/6766/en-en#6511058 https://crowdin.com/translate/freecad/6766/en-en#6511060 https://crowdin.com/translate/freecad/6766/en-en#6502381 + random typo fixes
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -169,7 +169,7 @@ App::DocumentObjectExecReturn *Edge2TracObject::execute(void)
|
||||
first = false;
|
||||
else
|
||||
beg += stp;
|
||||
Base::SequencerLauncher seq("Create way points", static_cast<size_t>((end-beg)/stp));
|
||||
Base::SequencerLauncher seq("Create waypoints", static_cast<size_t>((end-beg)/stp));
|
||||
if(reversed)
|
||||
{
|
||||
for (;beg > end; beg += stp) {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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() ) {
|
||||
|
||||
Reference in New Issue
Block a user