[Scummvm-cvs-logs] SF.net SVN: scummvm: [29146] scummvm/trunk/engines/saga
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Sep 30 15:37:05 CEST 2007
Revision: 29146
http://scummvm.svn.sourceforge.net/scummvm/?rev=29146&view=rev
Author: thebluegr
Date: 2007-09-30 06:37:05 -0700 (Sun, 30 Sep 2007)
Log Message:
-----------
Removed all the unneeded hard coded strings from the Italian fan translation of IHNM, added the hard coded strings of the Spanish version of IHNM
Modified Paths:
--------------
scummvm/trunk/engines/saga/itedata.cpp
scummvm/trunk/engines/saga/saga.cpp
Modified: scummvm/trunk/engines/saga/itedata.cpp
===================================================================
--- scummvm/trunk/engines/saga/itedata.cpp 2007-09-30 13:19:31 UTC (rev 29145)
+++ scummvm/trunk/engines/saga/itedata.cpp 2007-09-30 13:37:05 UTC (rev 29146)
@@ -376,25 +376,45 @@
"Text zeigen",
"Wie lautet die Antwort?"
},
+ // Spanish IHNM
+ {
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, "Salir del Programa?",
+ "Load Successful!", "Introduzca Nombre Partida", "Dar %s a %s", "Usar %s con %s",
+ "[New Save Game]",
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
+ },
// Italian fan translation of IHNM
{
- "Walk to", "Look At", "Pick Up", "Talk to", "Open",
- "Close", "Use", "Give", "Options", "Test",
- "Demo", "Help", "Quit Game", "Fast", "Slow",
- "On", "Off", "Continue Playing", "Load", "Save",
- "Game Options", "Reading Speed", "Music", "Sound", "Cancel",
- "Quit", "OK", "Mid", "Click", "10%",
- "20%", "30%", "40%", "50%", "60%",
- "70%", "80%", "90%", "Max", "Uscire?",
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, "Uscire?",
"Load Successful!", "Nome del salvataggio", "Dai %s a %s", "Usa %s con %s",
"[New Save Game]",
- "I can't pick that up.",
- "I see nothing special about it.",
- "There's no place to open it.",
- "There's no opening to close.",
- "I don't know how to do that.",
- "Show Dialog",
- "What is Rif's reply?"
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL
},
};
Modified: scummvm/trunk/engines/saga/saga.cpp
===================================================================
--- scummvm/trunk/engines/saga/saga.cpp 2007-09-30 13:19:31 UTC (rev 29145)
+++ scummvm/trunk/engines/saga/saga.cpp 2007-09-30 13:37:05 UTC (rev 29146)
@@ -391,12 +391,21 @@
const char *string;
int lang = 0;
- if (getLanguage() == Common::DE_DEU)
- lang = 1;
+ switch (getLanguage()) {
+ case Common::DE_DEU:
+ lang = 1;
+ break;
+ case Common::ES_ESP:
+ lang = 2;
+ break;
+ case Common::IT_ITA:
+ lang = 3;
+ break;
+ default:
+ lang = 0;
+ break;
+ }
- if (getLanguage() == Common::IT_ITA)
- lang = 2;
-
string = ITEinterfaceTextStrings[lang][textStringId];
if (!string)
string = ITEinterfaceTextStrings[0][textStringId];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list