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

@@ -58,7 +58,7 @@ class Split(gui_base_original.Modifier):
def Activated(self):
"""Execute when the command is called."""
super(Split, self).Activated(name=translate("draft","Split"))
super(Split, self).Activated(name="Split")
if not self.ui:
return
_msg(translate("draft", "Click anywhere on a line to split it."))