[Scummvm-cvs-logs] scummvm master -> ca096e1ddd3441910df631588ece20552fb3e6e4
m-kiewitz
m_kiewitz at users.sourceforge.net
Wed Oct 7 00:26:03 CEST 2015
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:
ca096e1ddd SHERLOCK: SS: location "Alley" Spanish translated
Commit: ca096e1ddd3441910df631588ece20552fb3e6e4
https://github.com/scummvm/scummvm/commit/ca096e1ddd3441910df631588ece20552fb3e6e4
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2015-10-07T00:25:29+02:00
Commit Message:
SHERLOCK: SS: location "Alley" Spanish translated
Location "Alley" on the map is now translated in the Spanish version
see bug #6931
Changed paths:
engines/sherlock/scalpel/scalpel_map.cpp
diff --git a/engines/sherlock/scalpel/scalpel_map.cpp b/engines/sherlock/scalpel/scalpel_map.cpp
index 369822b..04ff7d0 100644
--- a/engines/sherlock/scalpel/scalpel_map.cpp
+++ b/engines/sherlock/scalpel/scalpel_map.cpp
@@ -100,6 +100,16 @@ void ScalpelMap::loadData() {
while ((c = txtStream->readByte()) != '\0')
line += c;
+ // WORKAROUND: Special fixes for faulty translations
+ // Was obviously not done in the original interpreter
+ if (_vm->getLanguage() == Common::ES_ESP) {
+ if (line == " Alley") {
+ // In the Spanish version the "Alley" location on the map was not translated, we do this now
+ // see bug #6931
+ line = " Callejon";
+ }
+ }
+
_locationNames.push_back(line);
}
More information about the Scummvm-git-logs
mailing list