Draft: Make featureName attribute translation-independent

The translation for the task panel title is done in the Ui method call
This commit is contained in:
marioalexis
2021-03-29 01:23:13 -03:00
parent 744846dd4f
commit d428b30635
37 changed files with 68 additions and 77 deletions

View File

@@ -68,7 +68,7 @@ class Join(gui_base_original.Modifier):
def Activated(self):
"""Execute when the command is called."""
super(Join, self).Activated(name=translate("draft","Join"))
super(Join, self).Activated(name="Join")
if not self.ui:
return
if not Gui.Selection.getSelection():