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

svn-id: r29146
This commit is contained in:
Filippos Karapetis 2007-09-30 13:37:05 +00:00
parent f002fcf98a
commit 93a31a7b6b
2 changed files with 49 additions and 20 deletions

View File

@ -376,25 +376,45 @@ const char *ITEinterfaceTextStrings[][52] = {
"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
},
};

View File

@ -391,11 +391,20 @@ const char *SagaEngine::getTextString(int textStringId) {
const char *string;
int lang = 0;
if (getLanguage() == Common::DE_DEU)
lang = 1;
if (getLanguage() == Common::IT_ITA)
lang = 2;
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;
}
string = ITEinterfaceTextStrings[lang][textStringId];
if (!string)