summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-07-17 08:58:55 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-07-17 08:58:55 +0000
commite0d4a6f82f14bda4384a2bc64fe9fbddec4360fc (patch)
tree2c1fbf658820c34229c39d2528dd941a9e10ef53 /rbutil/rbutilqt/rbutilqt.cpp
parent9c9bc1216c78f2295ede77462d1dadf107b8d456 (diff)
downloadrockbox-e0d4a6f82f14bda4384a2bc64fe9fbddec4360fc.tar.gz
rockbox-e0d4a6f82f14bda4384a2bc64fe9fbddec4360fc.tar.bz2
rockbox-e0d4a6f82f14bda4384a2bc64fe9fbddec4360fc.zip
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
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index ee77505e06..4a3648618e 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -75,7 +75,12 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
QIcon windowIcon(":/icons/rockbox-clef.svg");
this->setWindowIcon(windowIcon);
#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)
long ret;
HKEY hk;