Assembly: Fix untranslatable string in CommandInsertNewPart.py (#23355)
* Assembly: Fix untranslatable string in CommandInsertNewPart.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -133,7 +133,10 @@ class TaskAssemblyNewPart(JointObject.TaskAssemblyCreateJoint):
|
||||
msgBox = QtWidgets.QMessageBox()
|
||||
msgBox.setIcon(QtWidgets.QMessageBox.Warning)
|
||||
msgBox.setText(
|
||||
"If the new document is not saved the new part cannot be linked in the assembly."
|
||||
translate(
|
||||
"Assembly",
|
||||
"If the new document is not saved the new part cannot be linked in the assembly.",
|
||||
)
|
||||
)
|
||||
msgBox.setWindowTitle(translate("Assembly", "Save Document"))
|
||||
saveButton = msgBox.addButton(
|
||||
|
||||
Reference in New Issue
Block a user