[Scummvm-cvs-logs] scummvm master -> 7ef159abab0a66cca3532c7976bf50f672adf0d0

m-kiewitz m_kiewitz at users.sourceforge.net
Wed Oct 7 12:48:50 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:
7ef159abab SHERLOCK: SS: Spanish typo workarounds in journal


Commit: 7ef159abab0a66cca3532c7976bf50f672adf0d0
    https://github.com/scummvm/scummvm/commit/7ef159abab0a66cca3532c7976bf50f672adf0d0
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2015-10-07T12:48:36+02:00

Commit Message:
SHERLOCK: SS: Spanish typo workarounds in journal

Fix a few typos of location names in the journal (Spanish version)

Changed paths:
    engines/sherlock/scalpel/scalpel_journal.cpp



diff --git a/engines/sherlock/scalpel/scalpel_journal.cpp b/engines/sherlock/scalpel/scalpel_journal.cpp
index e068e3b..81db855 100644
--- a/engines/sherlock/scalpel/scalpel_journal.cpp
+++ b/engines/sherlock/scalpel/scalpel_journal.cpp
@@ -104,6 +104,25 @@ void ScalpelJournal::loadLocations() {
 		while ((c = loc->readByte()) != 0)
 			line += c;
 
+		// WORKAROUND: Special fixes for faulty translations
+		// Was obviously not done in the original interpreter
+		if (_vm->getLanguage() == Common::ES_ESP) {
+			// Spanish version
+			// We fix all sorts of typos
+			// see bug #6931
+			if (line == "En el cajellon destras del teatro Regency") {
+				line = "En el callejon detras del teatro Regency";
+			} else if (line == "En el apartamente de Simon Kingsley") {
+				line = "En el apartamento de Simon Kingsley";
+			} else if (line == "Bajo la muelle de Savoy Pier") {
+				line = "Bajo el muelle de Savoy Pier";
+			} else if (line == "En le viejo Sherman") {
+				line = "En el viejo Sherman";
+			} else if (line == "En la entrada de la cada de Anna Carroway") {
+				line = "En la entrada de la casa de Anna Carroway";
+			}
+		}
+
 		_locations.push_back(line);
 	}
 






More information about the Scummvm-git-logs mailing list