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/sky | |
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/sky')
-rw-r--r-- | engines/sky/compact.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/sky/compact.cpp b/engines/sky/compact.cpp index 66ce92f8fc..84609d5500 100644 --- a/engines/sky/compact.cpp +++ b/engines/sky/compact.cpp @@ -25,6 +25,7 @@ #include "common/endian.h" #include "common/file.h" #include "common/textconsole.h" +#include "common/translation.h" #include "sky/compact.h" #include "gui/message.h" #include <stddef.h> // for ptrdiff_t @@ -126,8 +127,8 @@ static const uint32 turnTableOffsets[] = { SkyCompact::SkyCompact() { _cptFile = new Common::File(); if (!_cptFile->open("sky.cpt")) { - GUI::MessageDialog dialog("Unable to find \"sky.cpt\" file!\n" - "Please download it from www.scummvm.org", "OK", NULL); + GUI::MessageDialog dialog(_("Unable to find \"sky.cpt\" file!\n" + "Please download it from www.scummvm.org"), _("OK"), NULL); dialog.runModal(); error("Unable to find \"sky.cpt\" file\nPlease download it from www.scummvm.org"); } @@ -137,7 +138,7 @@ SkyCompact::SkyCompact() { error("unknown \"sky.cpt\" version"); if (SKY_CPT_SIZE != _cptFile->size()) { - GUI::MessageDialog dialog("The \"sky.cpt\" file has an incorrect size.\nPlease (re)download it from www.scummvm.org", "OK", NULL); + GUI::MessageDialog dialog(_("The \"sky.cpt\" file has an incorrect size.\nPlease (re)download it from www.scummvm.org"), _("OK"), NULL); dialog.runModal(); error("Incorrect sky.cpt size (%d, expected: %d)", _cptFile->size(), SKY_CPT_SIZE); } |