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:
@@ -526,7 +526,7 @@ class MotionEditDialog:
|
||||
self.help_label0 = QLabel(
|
||||
translate(
|
||||
"Assembly",
|
||||
"In capital are variables that you need to replace with actual values. More details about each example in it's tooltip.",
|
||||
"In capital are variables that you need to replace with actual values. More details about each example in its tooltip.",
|
||||
),
|
||||
self.dialog,
|
||||
)
|
||||
|
||||
@@ -137,7 +137,7 @@ class TaskAssemblyNewPart(JointObject.TaskAssemblyCreateJoint):
|
||||
translate("Assembly", "Save"), QtWidgets.QMessageBox.AcceptRole
|
||||
)
|
||||
cancelButton = msgBox.addButton(
|
||||
translate("Assembly", "Do not link"), QtWidgets.QMessageBox.RejectRole
|
||||
translate("Assembly", "Do not Link"), QtWidgets.QMessageBox.RejectRole
|
||||
)
|
||||
|
||||
msgBox.exec_()
|
||||
|
||||
@@ -217,7 +217,7 @@ class Joint:
|
||||
"Joint Connector 1",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"This is the local coordinate system within Reference1's object that will be used for the joint.",
|
||||
"This is the local coordinate system within Reference1's object that will be used for the joint",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -229,7 +229,7 @@ class Joint:
|
||||
"Joint Connector 1",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"This prevents Placement1 from recomputing, enabling custom positioning of the placement.",
|
||||
"This prevents Placement1 from recomputing, enabling custom positioning of the placement",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -241,7 +241,7 @@ class Joint:
|
||||
"Joint Connector 1",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"This is the attachment offset of the first connector of the joint.",
|
||||
"This is the attachment offset of the first connector of the joint",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -263,7 +263,7 @@ class Joint:
|
||||
"Joint Connector 2",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"This is the local coordinate system within Reference2's object that will be used for the joint.",
|
||||
"This is the local coordinate system within Reference2's object that will be used for the joint",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -275,7 +275,7 @@ class Joint:
|
||||
"Joint Connector 2",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"This prevents Placement2 from recomputing, enabling custom positioning of the placement.",
|
||||
"This prevents Placement2 from recomputing, enabling custom positioning of the placement",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -287,7 +287,7 @@ class Joint:
|
||||
"Joint Connector 2",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"This is the attachment offset of the second connector of the joint.",
|
||||
"This is the attachment offset of the second connector of the joint",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -324,7 +324,7 @@ class Joint:
|
||||
"Limits",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Enable the minimum length limit of the joint.",
|
||||
"Enable the minimum length limit of the joint",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -337,7 +337,7 @@ class Joint:
|
||||
"Limits",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Enable the maximum length limit of the joint.",
|
||||
"Enable the maximum length limit of the joint",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -350,7 +350,7 @@ class Joint:
|
||||
"Limits",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Enable the minimum angle limit of the joint.",
|
||||
"Enable the minimum angle limit of the joint",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -363,7 +363,7 @@ class Joint:
|
||||
"Limits",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Enable the minimum length of the joint.",
|
||||
"Enable the maximum angle limit of the joint",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -376,7 +376,7 @@ class Joint:
|
||||
"Limits",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"This is the minimum limit for the length between both coordinate systems (along their Z axis).",
|
||||
"This is the minimum limit for the length between both coordinate systems (along their z-axis)",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -388,7 +388,7 @@ class Joint:
|
||||
"Limits",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"This is the maximum limit for the length between both coordinate systems (along their Z axis).",
|
||||
"This is the maximum limit for the length between both coordinate systems (along their z-axis)",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -400,7 +400,7 @@ class Joint:
|
||||
"Limits",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"This is the minimum limit for the angle between both coordinate systems (between their X axis).",
|
||||
"This is the minimum limit for the angle between both coordinate systems (between their x-axis)",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -412,7 +412,7 @@ class Joint:
|
||||
"Limits",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"This is the maximum limit for the angle between both coordinate systems (between their X axis).",
|
||||
"This is the maximum limit for the angle between both coordinate systems (between their x-axis)",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -512,7 +512,7 @@ class Joint:
|
||||
"Joint Connector 1",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"This is the attachment offset of the first connector of the joint.",
|
||||
"This is the attachment offset of the first connector of the joint",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -523,7 +523,7 @@ class Joint:
|
||||
"Joint Connector 2",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"This is the attachment offset of the second connector of the joint.",
|
||||
"This is the attachment offset of the second connector of the joint",
|
||||
),
|
||||
locked=True,
|
||||
)
|
||||
@@ -565,7 +565,7 @@ class Joint:
|
||||
activated = joint.Activated
|
||||
if not activated:
|
||||
print(
|
||||
"The 'Activated' property has been replaced by the 'Suppressed' property. Your file has a deactivated joint that is being migrated. If you open back this file in an older version, it will not be deactivated anymore."
|
||||
"The 'Activated' property has been replaced by the 'Suppressed' property. The file has a deactivated joint that is being migrated. If you open this file in an older version, it will not be deactivated anymore."
|
||||
)
|
||||
joint.removeProperty("Activated")
|
||||
joint.Suppressed = not activated
|
||||
@@ -1390,7 +1390,7 @@ class TaskAssemblyCreateJoint(QtCore.QObject):
|
||||
def accept(self):
|
||||
if len(self.refs) != 2:
|
||||
App.Console.PrintWarning(
|
||||
translate("Assembly", "You need to select 2 elements from 2 separate parts.")
|
||||
translate("Assembly", "Select 2 elements from 2 separate parts")
|
||||
)
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user