aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Crozat2016-02-20 21:04:01 +0000
committerThierry Crozat2016-02-20 21:08:34 +0000
commit41ff2a9f02cdf98f3fb5922f246fe42c799d0423 (patch)
tree2e4aea2fc88afdd0ee220a7f0140b6b18608c4be
parent79bfe91bfeff0955f4e156f79983fbd494bfb8fe (diff)
downloadscummvm-rg350-41ff2a9f02cdf98f3fb5922f246fe42c799d0423.tar.gz
scummvm-rg350-41ff2a9f02cdf98f3fb5922f246fe42c799d0423.tar.bz2
scummvm-rg350-41ff2a9f02cdf98f3fb5922f246fe42c799d0423.zip
TOON: Translate buttons in load and save dialogs.
-rw-r--r--engines/toon/toon.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index 9e2905f454..3ab23a1e51 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -27,6 +27,7 @@
#include "common/config-manager.h"
#include "common/savefile.h"
#include "common/memstream.h"
+#include "common/translation.h"
#include "engines/advancedDetector.h"
#include "engines/util.h"
@@ -3334,7 +3335,7 @@ bool ToonEngine::saveGame(int32 slot, const Common::String &saveGameDesc) {
Common::String savegameDescription;
if (slot == -1) {
- GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser("Save game:", "Save", true);
+ GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser(_("Save game:"), _("Save"), true);
savegameId = dialog->runModalWithCurrentTarget();
savegameDescription = dialog->getResultString();
delete dialog;
@@ -3426,7 +3427,7 @@ bool ToonEngine::loadGame(int32 slot) {
int16 savegameId;
if (slot == -1) {
- GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser("Restore game:", "Restore", false);
+ GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser(_("Restore game:"), _("Restore"), false);
savegameId = dialog->runModalWithCurrentTarget();
delete dialog;
} else {