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

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