aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorThierry Crozat2010-09-12 21:35:49 +0000
committerThierry Crozat2010-09-12 21:35:49 +0000
commitfc11604e73e7d827699a072b6bc16411144c96ff (patch)
tree3005ede3d457d4062dfbf985f29bdfe7dd191f1a /engines/mohawk
parent61a111d82aa5e929a4ae67425ff9f27fcf3f224e (diff)
downloadscummvm-rg350-fc11604e73e7d827699a072b6bc16411144c96ff.tar.gz
scummvm-rg350-fc11604e73e7d827699a072b6bc16411144c96ff.tar.bz2
scummvm-rg350-fc11604e73e7d827699a072b6bc16411144c96ff.zip
i18n: Translate the Save and Load buttons in myst and riven
svn-id: r52692
Diffstat (limited to 'engines/mohawk')
-rw-r--r--engines/mohawk/myst.cpp3
-rw-r--r--engines/mohawk/riven.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index 4fb6c049d4..6ed7a313a0 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -25,6 +25,7 @@
#include "common/config-manager.h"
#include "common/debug-channels.h"
+#include "common/translation.h"
#include "mohawk/graphics.h"
#include "mohawk/myst.h"
@@ -218,7 +219,7 @@ Common::Error MohawkEngine_Myst::run() {
_varStore = new MystVar(this);
_saveLoad = new MystSaveLoad(this, _saveFileMan);
_scriptParser = new MystScriptParser(this);
- _loadDialog = new GUI::SaveLoadChooser("Load Game:", "Load");
+ _loadDialog = new GUI::SaveLoadChooser(_("Load game:"), _("Load"));
_loadDialog->setSaveMode(false);
_optionsDialog = new MystOptionsDialog(this);
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp
index bae336b46d..f2f4a42f0e 100644
--- a/engines/mohawk/riven.cpp
+++ b/engines/mohawk/riven.cpp
@@ -27,6 +27,7 @@
#include "common/events.h"
#include "common/EventRecorder.h"
#include "common/keyboard.h"
+#include "common/translation.h"
#include "mohawk/graphics.h"
#include "mohawk/resource.h"
@@ -651,7 +652,7 @@ void MohawkEngine_Riven::delayAndUpdate(uint32 ms) {
}
void MohawkEngine_Riven::runLoadDialog() {
- GUI::SaveLoadChooser slc("Load Game:", "Load");
+ GUI::SaveLoadChooser slc(_("Load game:"), _("Load"));
slc.setSaveMode(false);
Common::String gameId = ConfMan.get("gameid");