aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorThierry Crozat2010-08-30 22:24:40 +0000
committerThierry Crozat2010-08-30 22:24:40 +0000
commit37027d653128796434b47a327ae99d96c078088d (patch)
treeed7aba0bdf625e19c1d2d2f04ef115c2eeb12cfe /engines
parentbf9404485e566714958896f6737fa94f63b5ed85 (diff)
downloadscummvm-rg350-37027d653128796434b47a327ae99d96c078088d.tar.gz
scummvm-rg350-37027d653128796434b47a327ae99d96c078088d.tar.bz2
scummvm-rg350-37027d653128796434b47a327ae99d96c078088d.zip
I18N: Add "lowres" context for several GUI strings when in 1x mode.
This enables translators to use a different translation for these strings in 1x mode (e.g. 320x200 or 320x240) and in 2x or 3x modes. svn-id: r52461
Diffstat (limited to 'engines')
-rw-r--r--engines/dialogs.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/dialogs.cpp b/engines/dialogs.cpp
index 2397a474c6..cb081e4683 100644
--- a/engines/dialogs.cpp
+++ b/engines/dialogs.cpp
@@ -106,7 +106,10 @@ MainMenuDialog::MainMenuDialog(Engine *engine)
new GUI::ButtonWidget(this, "GlobalMenu.About", _("~A~bout"), 0, kAboutCmd);
- _rtlButton = new GUI::ButtonWidget(this, "GlobalMenu.RTL", _("~R~eturn to Launcher"), 0, kRTLCmd);
+ if (g_system->getOverlayWidth() > 320)
+ _rtlButton = new GUI::ButtonWidget(this, "GlobalMenu.RTL", _("~R~eturn to Launcher"), 0, kRTLCmd);
+ else
+ _rtlButton = new GUI::ButtonWidget(this, "GlobalMenu.RTL", _c("~R~eturn to Launcher", "lowres"), 0, kRTLCmd);
_rtlButton->setEnabled(_engine->hasFeature(Engine::kSupportsRTL));