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
This commit is contained in:
parent
bf9404485e
commit
37027d6531
6 changed files with 113 additions and 33 deletions
|
@ -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));
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue