Skip to content

Commit

Permalink
SCUMM: Mark additional strings for translation
Browse files Browse the repository at this point in the history
These were reported in bug #6887
  • Loading branch information
criezy committed Oct 11, 2015
1 parent f2827f0 commit 5be63fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions engines/scumm/POTFILES
@@ -1,5 +1,6 @@
engines/scumm/dialogs.cpp
engines/scumm/help.cpp
engines/scumm/input.cpp
engines/scumm/scumm.cpp
engines/scumm/players/player_v3m.cpp
engines/scumm/players/player_v5m.cpp
Expand Down
9 changes: 5 additions & 4 deletions engines/scumm/input.cpp
Expand Up @@ -23,6 +23,7 @@
#include "common/config-manager.h"
#include "common/events.h"
#include "common/system.h"
#include "common/translation.h"

#include "gui/message.h"
#include "gui/gui-manager.h"
Expand Down Expand Up @@ -568,9 +569,9 @@ void ScummEngine::processKeyboard(Common::KeyState lastKeyHit) {
lastKeyHit.hasFlags(Common::KBD_CTRL)) {
_snapScroll ^= 1;
if (_snapScroll) {
messageDialog("Snap scroll on");
messageDialog(_("Snap scroll on"));
} else {
messageDialog("Snap scroll off");
messageDialog(_("Snap scroll off"));
}

if (VAR_CAMERA_FAST_X != 0xFF)
Expand All @@ -583,7 +584,7 @@ void ScummEngine::processKeyboard(Common::KeyState lastKeyHit) {
vol--;

// Display the music volume
ValueDisplayDialog dlg("Music volume: ", 0, 16, vol, ']', '[');
ValueDisplayDialog dlg(_("Music volume: "), 0, 16, vol, ']', '[');
vol = runDialog(dlg);

vol *= 16;
Expand All @@ -600,7 +601,7 @@ void ScummEngine::processKeyboard(Common::KeyState lastKeyHit) {
_defaultTalkDelay++;

// Display the talk speed
ValueDisplayDialog dlg("Subtitle speed: ", 0, 9, 9 - _defaultTalkDelay, '+', '-');
ValueDisplayDialog dlg(_("Subtitle speed: "), 0, 9, 9 - _defaultTalkDelay, '+', '-');
_defaultTalkDelay = 9 - runDialog(dlg);

// Save the new talkspeed value to ConfMan
Expand Down

0 comments on commit 5be63fd

Please sign in to comment.