Gui: [skip ci] support different context in Command::translatedGroupName
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user