mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
OS X: remove translation for menu entries handled separately.
On OS X Configure and Quit menu entries are not placed in the File menu. Qt handles that for us if they are not translated, and translations are then handled automatically (as well as setting the OS X specific accelerator keys). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30147 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9c9bc1216c
commit
e0d4a6f82f
1 changed files with 6 additions and 1 deletions
|
@ -75,7 +75,12 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
|
||||||
QIcon windowIcon(":/icons/rockbox-clef.svg");
|
QIcon windowIcon(":/icons/rockbox-clef.svg");
|
||||||
this->setWindowIcon(windowIcon);
|
this->setWindowIcon(windowIcon);
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(Q_OS_MACX)
|
||||||
|
// don't translate menu entries that are handled specially on OS X
|
||||||
|
// (Configure, Quit). Qt handles them for us if they use english string.
|
||||||
|
ui.action_Configure->setText("Configure");
|
||||||
|
ui.actionE_xit->setText("Quit");
|
||||||
|
#endif
|
||||||
#if defined(Q_OS_WIN32)
|
#if defined(Q_OS_WIN32)
|
||||||
long ret;
|
long ret;
|
||||||
HKEY hk;
|
HKEY hk;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue