From ca096e1ddd3441910df631588ece20552fb3e6e4 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Wed, 7 Oct 2015 00:25:29 +0200 Subject: SHERLOCK: SS: location "Alley" Spanish translated Location "Alley" on the map is now translated in the Spanish version see bug #6931 --- engines/sherlock/scalpel/scalpel_map.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engines') 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); } -- cgit v1.2.3