diff options
| author | Thierry Crozat | 2011-06-13 22:19:18 +0100 |
|---|---|---|
| committer | Thierry Crozat | 2011-06-13 22:19:18 +0100 |
| commit | 06bbb57ad71103ac34e607c04798efae78a28880 (patch) | |
| tree | 48bf4eeac219fd00c957a43545e53300ef7f14f2 /engines/agos | |
| parent | ba758710f5b4e700d5e18461bd0939876fbf4499 (diff) | |
| download | scummvm-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.cpp | 7 |
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; |
