diff --git a/src/Mod/Assembly/CommandInsertNewPart.py b/src/Mod/Assembly/CommandInsertNewPart.py index f99fecda01..212c887832 100644 --- a/src/Mod/Assembly/CommandInsertNewPart.py +++ b/src/Mod/Assembly/CommandInsertNewPart.py @@ -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(