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:
PaddleStroke
2025-08-25 16:38:33 +02:00
committed by GitHub
parent 2fc762d75d
commit b4d799b0ed

View File

@@ -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(