aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrootfather2016-11-26 11:08:10 +0100
committerrootfather2016-11-26 11:22:17 +0100
commit70a990f6ab8f972a9becc325b2665ae67eace8c3 (patch)
treec898e4b45f2ea9b32a1c2188b4f90dbd5d13a926
parent4c589dc0152bc36f84caa78400268151ff113813 (diff)
downloadscummvm-rg350-70a990f6ab8f972a9becc325b2665ae67eace8c3.tar.gz
scummvm-rg350-70a990f6ab8f972a9becc325b2665ae67eace8c3.tar.bz2
scummvm-rg350-70a990f6ab8f972a9becc325b2665ae67eace8c3.zip
SCUMM: Enable translation for the unknown game warning
We have translations enabled for the warning created by advancedDetector.cpp, so I think it would be neat to have translations enabled here too. This also enables the message about the "Lite" version of Putt-Putt Saves the Zoo being unsupported to the translation database.
-rw-r--r--engines/scumm/detection.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index 6366ffd998..88615e3f9a 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -1117,10 +1117,10 @@ Common::Error ScummMetaEngine::createInstance(OSystem *syst, Engine **engine) co
if (!findInMD5Table(res.md5.c_str())) {
Common::String md5Warning;
- md5Warning = "Your game version appears to be unknown. If this is *NOT* a fan-modified\n";
- md5Warning += "version (in particular, not a fan-made translation), please, report the\n";
- md5Warning += "following data to the ScummVM team along with name of the game you tried\n";
- md5Warning += "to add and its version/language/etc.:\n";
+ md5Warning = _("Your game version appears to be unknown. If this is *NOT* a fan-modified\n"
+ "version (in particular, not a fan-made translation), please, report the\n"
+ "following data to the ScummVM team along with name of the game you tried\n"
+ "to add and its version/language/etc.:\n");
md5Warning += Common::String::format(" SCUMM gameid '%s', file '%s', MD5 '%s'\n\n",
res.game.gameid,
@@ -1135,8 +1135,8 @@ Common::Error ScummMetaEngine::createInstance(OSystem *syst, Engine **engine) co
// We don't support the "Lite" version off puttzoo iOS because it contains
// the full game.
if (!strcmp(res.game.gameid, "puttzoo") && !strcmp(res.extra, "Lite")) {
- GUIErrorMessage("The Lite version of Putt-Putt Saves the Zoo iOS is not supported to avoid piracy.\n"
- "The full version is available for purchase from the iTunes Store.");
+ GUIErrorMessage(_("The Lite version of Putt-Putt Saves the Zoo iOS is not supported to avoid piracy.\n"
+ "The full version is available for purchase from the iTunes Store."));
return Common::kUnsupportedGameidError;
}