aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorThierry Crozat2010-09-12 21:56:37 +0000
committerThierry Crozat2010-09-12 21:56:37 +0000
commitc073369f0a563baf69f64b21175c481ba671c6b3 (patch)
tree7f60d2bf14571edf145004142133e5796d27fbf1 /engines/sci
parentb6488818a549025313e23bfd9c111214cdd3d591 (diff)
downloadscummvm-rg350-c073369f0a563baf69f64b21175c481ba671c6b3.tar.gz
scummvm-rg350-c073369f0a563baf69f64b21175c481ba671c6b3.tar.bz2
scummvm-rg350-c073369f0a563baf69f64b21175c481ba671c6b3.zip
i18n: Translate Save and Restore buttons in SCI engine
svn-id: r52694
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kfile.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index 0a503272ce..9347b33f5d 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -28,6 +28,7 @@
#include "common/file.h"
#include "common/str.h"
#include "common/savefile.h"
+#include "common/translation.h"
#include "gui/saveload.h"
@@ -573,7 +574,7 @@ reg_t kSaveGame(EngineState *s, int argc, reg_t *argv) {
g_sci->_soundCmd->pauseAll(true); // pause music
const EnginePlugin *plugin = NULL;
EngineMan.findGame(g_sci->getGameIdStr(), &plugin);
- GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser("Save game:", "Save");
+ GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser(_("Save game:"), _("Save"));
dialog->setSaveMode(true);
savegameId = dialog->runModal(plugin, ConfMan.getActiveDomainName());
game_description = dialog->getResultString();
@@ -673,7 +674,7 @@ reg_t kRestoreGame(EngineState *s, int argc, reg_t *argv) {
g_sci->_soundCmd->pauseAll(true); // pause music
const EnginePlugin *plugin = NULL;
EngineMan.findGame(g_sci->getGameIdStr(), &plugin);
- GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser("Restore game:", "Restore");
+ GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser(_("Restore game:"), _("Restore"));
dialog->setSaveMode(false);
savegameId = dialog->runModal(plugin, ConfMan.getActiveDomainName());
delete dialog;