aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/parser.cpp
diff options
context:
space:
mode:
authorThierry Crozat2016-02-20 21:02:31 +0000
committerThierry Crozat2016-02-20 21:08:34 +0000
commit9769dc24c73f4afb3a9b0f8812b1349c478dbc5e (patch)
treeafd5edbb25d7c0305608095529ff131524c97653 /engines/avalanche/parser.cpp
parent29670a1a1ee72017cfb097d12cd79e4fa3aedde6 (diff)
downloadscummvm-rg350-9769dc24c73f4afb3a9b0f8812b1349c478dbc5e.tar.gz
scummvm-rg350-9769dc24c73f4afb3a9b0f8812b1349c478dbc5e.tar.bz2
scummvm-rg350-9769dc24c73f4afb3a9b0f8812b1349c478dbc5e.zip
AVALANCHE: Translate buttons in load and save dialogs.
Diffstat (limited to 'engines/avalanche/parser.cpp')
-rw-r--r--engines/avalanche/parser.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/avalanche/parser.cpp b/engines/avalanche/parser.cpp
index 220186ca5e..7c6d254099 100644
--- a/engines/avalanche/parser.cpp
+++ b/engines/avalanche/parser.cpp
@@ -30,6 +30,7 @@
#include "avalanche/nim.h"
#include "gui/saveload.h"
+#include "common/translation.h"
namespace Avalanche {
@@ -1883,7 +1884,7 @@ void Parser::doThat() {
break;
case kVerbCodeLoad: {
- GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser("Restore game:", "Restore", false);
+ GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser(_("Restore game:"), _("Restore"), false);
int16 savegameId = dialog->runModalWithCurrentTarget();
delete dialog;
@@ -1895,7 +1896,7 @@ void Parser::doThat() {
}
break;
case kVerbCodeSave: {
- GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser("Save game:", "Save", true);
+ GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser(_("Save game:"), _("Save"), true);
int16 savegameId = dialog->runModalWithCurrentTarget();
Common::String savegameDescription = dialog->getResultString();
delete dialog;