aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorThierry Crozat2010-09-12 21:21:21 +0000
committerThierry Crozat2010-09-12 21:21:21 +0000
commit61a111d82aa5e929a4ae67425ff9f27fcf3f224e (patch)
tree08424f1ba694b4a4cef17582693aa91336d11d9f /engines
parent5b6ca46adedf5af0fbfb60600b932f7a35890e32 (diff)
downloadscummvm-rg350-61a111d82aa5e929a4ae67425ff9f27fcf3f224e.tar.gz
scummvm-rg350-61a111d82aa5e929a4ae67425ff9f27fcf3f224e.tar.bz2
scummvm-rg350-61a111d82aa5e929a4ae67425ff9f27fcf3f224e.zip
i18n: Translate the Save and Load buttons in cruise
This fix Fix bug #3064918 GUI: Save and Load button not translated in cruise svn-id: r52691
Diffstat (limited to 'engines')
-rw-r--r--engines/cruise/menu.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/cruise/menu.cpp b/engines/cruise/menu.cpp
index 2ffaa29e4a..e5a1136c23 100644
--- a/engines/cruise/menu.cpp
+++ b/engines/cruise/menu.cpp
@@ -29,6 +29,7 @@
#include "engines/metaengine.h"
#include "gui/saveload.h"
+#include "common/translation.h"
namespace Cruise {
@@ -212,9 +213,9 @@ static void handleSaveLoad(bool saveFlag) {
EngineMan.findGame(_vm->getGameId(), &plugin);
GUI::SaveLoadChooser *dialog;
if (saveFlag)
- dialog = new GUI::SaveLoadChooser("Save game:", "Save");
+ dialog = new GUI::SaveLoadChooser(_("Save game:"), _("Save"));
else
- dialog = new GUI::SaveLoadChooser("Load game:", "Load");
+ dialog = new GUI::SaveLoadChooser(_("Load game:"), _("Load"));
dialog->setSaveMode(saveFlag);
int slot = dialog->runModal(plugin, ConfMan.getActiveDomainName());