Gui: [skip ci] support different context in Command::translatedGroupName

This commit is contained in:
wmayer
2021-09-29 15:44:44 +02:00
parent bc57ba6027
commit d2f3cd1e70
-2
View File
@@ -582,10 +582,8 @@ void Command::setGroupName(const char* s)
QString Command::translatedGroupName() const
{
QString text = qApp->translate(className(), getGroupName());
#if 0 // not yet activated
if (text == QString::fromLatin1(getGroupName()))
text = qApp->translate("Workbench", getGroupName());
#endif
return text;
}