aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorThierry Crozat2011-06-13 22:19:18 +0100
committerThierry Crozat2011-06-13 22:19:18 +0100
commit06bbb57ad71103ac34e607c04798efae78a28880 (patch)
tree48bf4eeac219fd00c957a43545e53300ef7f14f2 /engines/agos
parentba758710f5b4e700d5e18461bd0939876fbf4499 (diff)
downloadscummvm-rg350-06bbb57ad71103ac34e607c04798efae78a28880.tar.gz
scummvm-rg350-06bbb57ad71103ac34e607c04798efae78a28880.tar.bz2
scummvm-rg350-06bbb57ad71103ac34e607c04798efae78a28880.zip
I18N: Make many more GUI MessageDialog strings translatable
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/animation.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp
index eb78ca3d9b..d9a585bd05 100644
--- a/engines/agos/animation.cpp
+++ b/engines/agos/animation.cpp
@@ -29,6 +29,7 @@
#include "common/file.h"
#include "common/system.h"
#include "common/textconsole.h"
+#include "common/translation.h"
#include "graphics/cursorman.h"
#include "graphics/palette.h"
@@ -540,10 +541,8 @@ MoviePlayer *makeMoviePlayer(AGOSEngine_Feeble *vm, const char *name) {
return new MoviePlayerSMK(vm, baseName);
}
- char buf[60];
-
- sprintf(buf, "Cutscene file '%s' not found!", baseName);
- GUI::MessageDialog dialog(buf, "OK");
+ Common::String buf = Common::String::format(_("Cutscene file '%s' not found!"), baseName);
+ GUI::MessageDialog dialog(buf, _("OK"));
dialog.runModal();
return NULL;