Code: Select all
Could continue to return untranslated string. In InitGui.py file everything would stay the same. But when constructing QComboBox or QMenu with workbench names in it. Then the translate function could in addition be used.
P.S. For unique workbench identifier name class name is better suited anyway compared to MenuText name.