diff options
author | Thierry Crozat | 2010-08-31 20:03:47 +0000 |
---|---|---|
committer | Thierry Crozat | 2010-08-31 20:03:47 +0000 |
commit | 25d267888f3a4c6405d9fe534b051ed93126fa64 (patch) | |
tree | 08c86f6ec628644b101b7ddf055831bf0b7fa383 /gui | |
parent | fa7c6a9969806d2163d81153a3b3610b65ea12e4 (diff) | |
download | scummvm-rg350-25d267888f3a4c6405d9fe534b051ed93126fa64.tar.gz scummvm-rg350-25d267888f3a4c6405d9fe534b051ed93126fa64.tar.bz2 scummvm-rg350-25d267888f3a4c6405d9fe534b051ed93126fa64.zip |
I18N: Add "lowres" context in one place for the Add Game button
svn-id: r52475
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index ae0cce8126..7a9d610c3a 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -1038,9 +1038,11 @@ void LauncherDialog::updateButtons() { // Update the label of the "Add" button depending on whether shift is pressed or not int modifiers = g_system->getEventManager()->getModifierState(); const bool massAdd = (modifiers & Common::KBD_SHIFT) != 0; + const bool lowRes = g_system->getOverlayWidth() <= 320; + const char *newAddButtonLabel = massAdd - ? _("Mass Add...") - : _("Add Game..."); + ? (lowRes ? _c("Mass Add...", "lowres") : _("Mass Add...")) + : (lowRes ? _c("Add Game...", "lowres") : _("Add Game...")); if (_addButton->getLabel() != newAddButtonLabel) _addButton->setLabel(newAddButtonLabel); |