aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorrootfather2016-11-26 14:54:08 +0100
committerrootfather2016-11-26 14:54:08 +0100
commit74d2992177751d9f8baa61369974deb7a970793f (patch)
treeeebf4deab5e336047599453eb28ec11bfe5b8536 /engines
parent70a990f6ab8f972a9becc325b2665ae67eace8c3 (diff)
downloadscummvm-rg350-74d2992177751d9f8baa61369974deb7a970793f.tar.gz
scummvm-rg350-74d2992177751d9f8baa61369974deb7a970793f.tar.bz2
scummvm-rg350-74d2992177751d9f8baa61369974deb7a970793f.zip
TOON: Enable translation for some strings
Diffstat (limited to 'engines')
-rw-r--r--engines/toon/toon.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index 837339402c..0dddc227ac 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -219,11 +219,11 @@ void ToonEngine::parseInput() {
if (slotNum >= 0 && slotNum <= 9 && canSaveGameStateCurrently()) {
if (saveGame(slotNum, "")) {
// ok
- Common::String buf = Common::String::format("Saved game in slot #%d ", slotNum);
+ Common::String buf = Common::String::format(_("Saved game in slot #%d "), slotNum);
GUI::TimedMessageDialog dialog(buf, 1000);
dialog.runModal();
} else {
- Common::String buf = Common::String::format("Could not quick save into slot #%d", slotNum);
+ Common::String buf = Common::String::format(_("Could not quick save into slot #%d"), slotNum);
GUI::MessageDialog dialog(buf, "OK", 0);
dialog.runModal();
@@ -236,11 +236,11 @@ void ToonEngine::parseInput() {
if (slotNum >= 0 && slotNum <= 9 && canLoadGameStateCurrently()) {
if (loadGame(slotNum)) {
// ok
- Common::String buf = Common::String::format("Savegame #%d quick loaded", slotNum);
+ Common::String buf = Common::String::format(_("Savegame #%d quick loaded"), slotNum);
GUI::TimedMessageDialog dialog(buf, 1000);
dialog.runModal();
} else {
- Common::String buf = Common::String::format("Could not quick load the savegame #%d", slotNum);
+ Common::String buf = Common::String::format(_("Could not quick load the savegame #%d"), slotNum);
GUI::MessageDialog dialog(buf, "OK", 0);
warning("%s", buf.c_str());
dialog.runModal();
@@ -4914,7 +4914,7 @@ bool ToonEngine::loadToonDat() {
in.open("toon.dat");
if (!in.isOpen()) {
- msg = "You're missing the 'toon.dat' file. Get it from the ScummVM website";
+ msg = _("You're missing the 'toon.dat' file. Get it from the ScummVM website");
GUIErrorMessage(msg);
warning("%s", msg.c_str());
return false;
@@ -4926,7 +4926,7 @@ bool ToonEngine::loadToonDat() {
buf[4] = '\0';
if (strcmp(buf, "TOON")) {
- msg = "File 'toon.dat' is corrupt. Get it from the ScummVM website";
+ msg = _("File 'toon.dat' is corrupt. Get it from the ScummVM website");
GUIErrorMessage(msg);
warning("%s", msg.c_str());
return false;
@@ -4936,7 +4936,7 @@ bool ToonEngine::loadToonDat() {
minVer = in.readByte();
if ((majVer != TOON_DAT_VER_MAJ) || (minVer != TOON_DAT_VER_MIN)) {
- msg = Common::String::format("File 'toon.dat' is wrong version. Expected %d.%d but got %d.%d. Get it from the ScummVM website", TOON_DAT_VER_MAJ, TOON_DAT_VER_MIN, majVer, minVer);
+ msg = Common::String::format(_("File 'toon.dat' is wrong version. Expected %d.%d but got %d.%d. Get it from the ScummVM website"), TOON_DAT_VER_MAJ, TOON_DAT_VER_MIN, majVer, minVer);
GUIErrorMessage(msg);
warning("%s", msg.c_str());