Fix source string mistakes reported on Crowdin (#23157)
* Fix source string mistakes reported on Crowdin * Update src/Mod/Draft/Resources/ui/TaskPanel_CircularArray.ui Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> * Update src/Mod/Draft/Resources/ui/TaskPanel_CircularArray.ui Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> * Update src/Mod/Draft/draftfunctions/upgrade.py Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> * Update src/Mod/Draft/draftfunctions/upgrade.py Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> * Update src/Mod/Draft/draftguitools/gui_downgrade.py Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> * Update src/Mod/Draft/Resources/ui/TaskPanel_SetStyle.ui Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com> --------- Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>
This commit is contained in:
@@ -3869,7 +3869,7 @@ void CmdSketcherConstrainBlock::activated(int iMsg)
|
||||
|
||||
for (std::vector<int>::iterator itg = GeoId.begin(); itg != GeoId.end(); ++itg) {
|
||||
// undo command open
|
||||
openCommand(QT_TRANSLATE_NOOP("Command", "Add 'Block' constraint"));
|
||||
openCommand(QT_TRANSLATE_NOOP("Command", "Add Block constraint"));
|
||||
|
||||
bool safe = addConstraintSafely(Obj, [&]() {
|
||||
Gui::cmdAppObjectArgs(Obj, "addConstraint(Sketcher.Constraint('Block',%d))", (*itg));
|
||||
|
||||
@@ -112,7 +112,7 @@ CmdSketcherConvertToNURBS::CmdSketcherConvertToNURBS()
|
||||
sAppModule = "Sketcher";
|
||||
sGroup = "Sketcher";
|
||||
sMenuText = QT_TR_NOOP("Geometry to B-Spline");
|
||||
sToolTipText = QT_TR_NOOP("Converts the selected geometry to a B-spline");
|
||||
sToolTipText = QT_TR_NOOP("Converts the selected geometry to B-splines");
|
||||
sWhatsThis = "Sketcher_BSplineConvertToNURBS";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_BSplineConvertToNURBS";
|
||||
|
||||
@@ -889,7 +889,7 @@ protected:
|
||||
try {
|
||||
// add auto-constraints
|
||||
if (owncommand) {
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Add auto constraints"));
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Add Auto-Constraints"));
|
||||
}
|
||||
|
||||
tryAddAutoConstraints();
|
||||
|
||||
@@ -760,7 +760,7 @@ void DrawSketchHandler::createAutoConstraints(const std::vector<AutoConstraint>&
|
||||
|
||||
if (createowncommand) {
|
||||
// Open the Command
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Add auto constraints"));
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Add Auto-Constraints"));
|
||||
}
|
||||
|
||||
// Iterate through constraints
|
||||
|
||||
@@ -91,7 +91,7 @@ public:
|
||||
void activated() override
|
||||
{
|
||||
DrawSketchHandlerBSplineBase::activated();
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Add sketch bSpline"));
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Add Sketch B-Spline"));
|
||||
}
|
||||
|
||||
private:
|
||||
@@ -595,7 +595,7 @@ private:
|
||||
{
|
||||
Gui::Command::abortCommand();
|
||||
tryAutoRecomputeIfNotSolve(sketchgui->getSketchObject());
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Add sketch B-spline"));
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Add Sketch B-Spline"));
|
||||
|
||||
SplineDegree = 3;
|
||||
geoIds.clear();
|
||||
@@ -733,7 +733,7 @@ private:
|
||||
// Restart the command
|
||||
Gui::Command::abortCommand();
|
||||
tryAutoRecomputeIfNotSolve(sketchgui->getSketchObject());
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Add sketch B-spline"));
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Add Sketch B-Spline"));
|
||||
|
||||
// Add the necessary alignment geometries and constraints
|
||||
for (size_t i = 0; i < geoIds.size(); ++i) {
|
||||
|
||||
@@ -168,7 +168,7 @@
|
||||
<item row="1" column="3">
|
||||
<widget class="QLabel" name="label_pattern">
|
||||
<property name="text">
|
||||
<string>Pattern</string>
|
||||
<string>Line Type</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -519,7 +519,7 @@
|
||||
<item row="9" column="3">
|
||||
<widget class="QComboBox" name="ExternalPattern">
|
||||
<property name="toolTip">
|
||||
<string>Line pattern of external edges</string>
|
||||
<string>Line pattern of external reference edges</string>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>-1</number>
|
||||
|
||||
@@ -351,7 +351,7 @@ void SketcherValidation::onOrientLockEnableClicked()
|
||||
*sketch,
|
||||
tr("Constraint orientation locking"),
|
||||
tr("Orientation locking was enabled and recomputed for %1 constraints. The"
|
||||
" constraints have been listed in the report view (menu View -> Panels ->"
|
||||
" constraints have been listed in the report view (menu View → Panels →"
|
||||
" Report view).")
|
||||
.arg(n));
|
||||
|
||||
@@ -372,7 +372,7 @@ void SketcherValidation::onOrientLockDisableClicked()
|
||||
*sketch,
|
||||
tr("Constraint orientation locking"),
|
||||
tr("Orientation locking was disabled for %1 constraints. The"
|
||||
" constraints have been listed in the report view (menu View -> Panels ->"
|
||||
" constraints have been listed in the report view (menu View → Panels →"
|
||||
" Report view). Note that for all future constraints, the locking still"
|
||||
" defaults to ON.")
|
||||
.arg(n));
|
||||
|
||||
Reference in New Issue
Block a user