From fc11604e73e7d827699a072b6bc16411144c96ff Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Sun, 12 Sep 2010 21:35:49 +0000 Subject: i18n: Translate the Save and Load buttons in myst and riven svn-id: r52692 --- engines/mohawk/myst.cpp | 3 ++- engines/mohawk/riven.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/mohawk') 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"); -- cgit v1.2.3