[Scummvm-git-logs] scummvm master -> 570119eabf069b010ef9fde64a2ca14faa024d70

rootfather serra at scummvm.org
Tue May 1 10:34:49 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
570119eabf ENGINES: Mark reportCommon string as translateable


Commit: 570119eabf069b010ef9fde64a2ca14faa024d70
    https://github.com/scummvm/scummvm/commit/570119eabf069b010ef9fde64a2ca14faa024d70
Author: Lothar Serra Mari (serra at scummvm.org)
Date: 2018-05-01T10:34:02+02:00

Commit Message:
ENGINES: Mark reportCommon string as translateable

Changed paths:
    engines/advancedDetector.cpp


diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp
index dbe2cdf..d258f49 100644
--- a/engines/advancedDetector.cpp
+++ b/engines/advancedDetector.cpp
@@ -328,10 +328,10 @@ Common::Error AdvancedMetaEngine::createInstance(OSystem *syst, Engine **engine)
 }
 
 void AdvancedMetaEngine::reportUnknown(const Common::FSNode &path, const ADFilePropertiesMap &filesProps, const ADGameIdList &matchedGameIds, bool useUnknownGameDialog) const {
-	const char *reportCommon = "The game in '%s' seems to be an unknown %s engine game "
+	const char *reportCommon = _s("The game in '%s' seems to be an unknown %s engine game "
 							   "variant.\n\nPlease report the following data to the ScummVM "
 							   "team at %s along with the name of the game you tried to add and "
-							   "its version, language, etc.:";
+							   "its version, language, etc.:");
 	Common::String report           = Common::String::format(reportCommon, path.getPath().c_str(), getName(), "https://bugs.scummvm.org/");
 	Common::String reportTranslated = Common::String::format(_(reportCommon), path.getPath().c_str(), getName(), "https://bugs.scummvm.org/");
 	Common::String bugtrackerAffectedEngine = getName();





More information about the Scummvm-git-logs mailing list