aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorMartin Kiewitz2015-10-07 00:25:29 +0200
committerMartin Kiewitz2015-10-07 00:25:29 +0200
commitca096e1ddd3441910df631588ece20552fb3e6e4 (patch)
tree32500d9e164ac0c92d76afd96e788eb845a3f848 /engines/sherlock
parent2efcd3c1d99df89eca06e599108077bc4ddc91b4 (diff)
downloadscummvm-rg350-ca096e1ddd3441910df631588ece20552fb3e6e4.tar.gz
scummvm-rg350-ca096e1ddd3441910df631588ece20552fb3e6e4.tar.bz2
scummvm-rg350-ca096e1ddd3441910df631588ece20552fb3e6e4.zip
SHERLOCK: SS: location "Alley" Spanish translated
Location "Alley" on the map is now translated in the Spanish version see bug #6931
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/scalpel/scalpel_map.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/sherlock/scalpel/scalpel_map.cpp b/engines/sherlock/scalpel/scalpel_map.cpp
index 369822ba02..04ff7d0186 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);
}