Fix source string typos mentioned on Crowdin (#15261)

This commit is contained in:
Max Wilfinger
2024-07-09 00:18:31 +02:00
committed by GitHub
parent cb12b639d1
commit 7d21d9edb8
123 changed files with 252 additions and 258 deletions

View File

@@ -125,7 +125,7 @@ App::DocumentObjectExecReturn* Helix::execute()
HelixMode mode = static_cast<HelixMode>(Mode.getValue());
if (mode == HelixMode::pitch_height_angle) {
if (Pitch.getValue() < Precision::Confusion())
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Error: Pitch too small"));
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Error: Pitch too small!"));
if (Height.getValue() < Precision::Confusion())
return new App::DocumentObjectExecReturn(QT_TRANSLATE_NOOP("Exception", "Error: height too small!"));
Turns.setValue(Height.getValue() / Pitch.getValue());

View File

@@ -431,7 +431,7 @@ void CmdPartDesignMigrate::activated(int iMsg)
}
// do the actual migration
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Migrate legacy part design features to Bodies"));
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Migrate legacy Part Design features to Bodies"));
for ( auto chainIt = featureChains.begin(); !featureChains.empty();
featureChains.erase (chainIt), chainIt = featureChains.begin () ) {

View File

@@ -176,9 +176,9 @@ void ViewProviderTransformed::recomputeFeature(bool recompute)
if (rejected > 0) {
msg = QString::fromLatin1("<font color='orange'>%1<br/></font>\r\n%2");
if (rejected == 1)
msg = msg.arg(QObject::tr("One transformed shape does not intersect support"));
msg = msg.arg(QObject::tr("One transformed shape does not intersect the support"));
else {
msg = msg.arg(QObject::tr("%1 transformed shapes do not intersect support"));
msg = msg.arg(QObject::tr("%1 transformed shapes do not intersect the support"));
msg = msg.arg(rejected);
}
}

View File

@@ -98,17 +98,17 @@ class _InvoluteGear:
doc=QtCore.QT_TRANSLATE_NOOP("App::Property", "Number of gear teeth"),
default=26)
ensure_property("App::PropertyLength", "Modules",
doc=QtCore.QT_TRANSLATE_NOOP("App::Property", "Modules of the gear"),
doc=QtCore.QT_TRANSLATE_NOOP("App::Property", "Module of the gear"),
default="2.5 mm")
ensure_property("App::PropertyAngle", "PressureAngle",
doc=QtCore.QT_TRANSLATE_NOOP("App::Property", "Pressure angle of gear teeth"),
default="20 deg")
ensure_property("App::PropertyBool", "HighPrecision",
doc=QtCore.QT_TRANSLATE_NOOP("App::Property",
"True=2 curves with each 3 control points False=1 curve with 4 control points."),
"True=2 curves with each 3 control points, False=1 curve with 4 control points."),
default=True)
ensure_property("App::PropertyBool", "ExternalGear",
doc=QtCore.QT_TRANSLATE_NOOP("App::Property", "True=external Gear False=internal Gear"),
doc=QtCore.QT_TRANSLATE_NOOP("App::Property", "True=external Gear, False=internal Gear"),
default=True)
ensure_property("App::PropertyFloat", "AddendumCoefficient",
doc=QtCore.QT_TRANSLATE_NOOP("App::Property",

View File

@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Sprocket parameter</string>
<string>Sprocket parameters</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
@@ -307,7 +307,7 @@
<item row="4" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Tooth Width</string>
<string>Tooth Width:</string>
</property>
</widget>
</item>