From 47031f2d4ea8e5c303fb728761ae3f40fd24ed88 Mon Sep 17 00:00:00 2001 From: PaddleStroke Date: Thu, 30 May 2024 10:33:19 +0200 Subject: [PATCH] Assembly: Translate error --- src/Mod/Assembly/JointObject.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Assembly/JointObject.py b/src/Mod/Assembly/JointObject.py index f104db8a9d..f7cd18a122 100644 --- a/src/Mod/Assembly/JointObject.py +++ b/src/Mod/Assembly/JointObject.py @@ -32,8 +32,6 @@ from PySide.QtCore import QT_TRANSLATE_NOOP if App.GuiUp: import FreeCADGui as Gui -# translate = App.Qt.translate - __title__ = "Assembly Joint object" __author__ = "Ondsel" __url__ = "https://www.freecad.org" @@ -1294,7 +1292,9 @@ class TaskAssemblyCreateJoint(QtCore.QObject): def accept(self): if len(self.current_selection) != 2: - App.Console.PrintWarning("You need to select 2 elements from 2 separate parts.") + App.Console.PrintWarning( + translate("Assembly", "You need to select 2 elements from 2 separate parts.") + ) return False self.deactivate()