aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
diff options
context:
space:
mode:
authorThierry Crozat2016-02-20 21:03:05 +0000
committerThierry Crozat2016-02-20 21:08:34 +0000
commit79bfe91bfeff0955f4e156f79983fbd494bfb8fe (patch)
treeddf3f7535e7f224f1a7e73cbd2c4c4cab2529d60 /engines/hugo
parent369d23dc3f1e5b7d482fbb7b7f9c4d76034faae2 (diff)
downloadscummvm-rg350-79bfe91bfeff0955f4e156f79983fbd494bfb8fe.tar.gz
scummvm-rg350-79bfe91bfeff0955f4e156f79983fbd494bfb8fe.tar.bz2
scummvm-rg350-79bfe91bfeff0955f4e156f79983fbd494bfb8fe.zip
HUGO: Translate buttons in load and save dialogs.
Diffstat (limited to 'engines/hugo')
-rw-r--r--engines/hugo/file.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp
index e2633977a8..7a3538ea63 100644
--- a/engines/hugo/file.cpp
+++ b/engines/hugo/file.cpp
@@ -32,6 +32,7 @@
#include "common/savefile.h"
#include "common/textconsole.h"
#include "common/config-manager.h"
+#include "common/translation.h"
#include "graphics/surface.h"
#include "graphics/thumbnail.h"
@@ -294,7 +295,7 @@ bool FileManager::saveGame(const int16 slot, const Common::String &descrip) {
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;
@@ -396,7 +397,7 @@ bool FileManager::restoreGame(const int16 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 {