Closed probonopd closed 2 years ago
void updateActionLabel(QAction *action, const QVariant &value) {
QString text = swapMnemonicChar(value.toString(), '_', '&');
// probono: https://github.com/helloSystem/Menu/issues/75
if(text.replace("&", "") == "Datei"){
text = "Ablage";
}
action->setText(text);
}
It works :)
Guess what we want...
Are there similar differences in other languages?