aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2011-08-20 10:34:12 +0100
committerEugene Sandulenko2011-08-20 12:52:10 +0100
commit0e3c629cebb955945010326241a7591ba8ffb517 (patch)
tree6f1a9de97acfca41d04ee6b956301d04c5100d2d /engines
parentfbf8262ce6c7f17a7cfd5ac6e9e4a9f53489870a (diff)
downloadscummvm-rg350-0e3c629cebb955945010326241a7591ba8ffb517.tar.gz
scummvm-rg350-0e3c629cebb955945010326241a7591ba8ffb517.tar.bz2
scummvm-rg350-0e3c629cebb955945010326241a7591ba8ffb517.zip
SCUMM: Added translation support to subtitle settings
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/dialogs.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/scumm/dialogs.cpp b/engines/scumm/dialogs.cpp
index f7f0c7d7ec..6a9bdabcc2 100644
--- a/engines/scumm/dialogs.cpp
+++ b/engines/scumm/dialogs.cpp
@@ -583,9 +583,9 @@ void SubtitleSettingsDialog::open() {
void SubtitleSettingsDialog::cycleValue() {
static const char* subtitleDesc[] = {
- "Speech Only",
- "Speech and Subtitles",
- "Subtitles Only"
+ _s("Speech Only"),
+ _s("Speech and Subtitles"),
+ _s("Subtitles Only")
};
_value += 1;
@@ -593,9 +593,9 @@ void SubtitleSettingsDialog::cycleValue() {
_value = 0;
if (_value == 1 && g_system->getOverlayWidth() <= 320)
- setInfoText("Speech & Subs");
+ setInfoText(_sc("Speech & Subs", "lowres"));
else
- setInfoText(subtitleDesc[_value]);
+ setInfoText(_(subtitleDesc[_value]));
_timer = g_system->getMillis() + 1500;
}