aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorFilippos Karapetis2007-09-30 13:37:05 +0000
committerFilippos Karapetis2007-09-30 13:37:05 +0000
commit93a31a7b6b428f92ac9061d05c55c2004bbb5037 (patch)
tree6d3a4bc403d186f37181b928f60c534f3f74e0b1 /engines/saga
parentf002fcf98af5942563112008c180fcbb183c20a2 (diff)
downloadscummvm-rg350-93a31a7b6b428f92ac9061d05c55c2004bbb5037.tar.gz
scummvm-rg350-93a31a7b6b428f92ac9061d05c55c2004bbb5037.tar.bz2
scummvm-rg350-93a31a7b6b428f92ac9061d05c55c2004bbb5037.zip
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
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/itedata.cpp50
-rw-r--r--engines/saga/saga.cpp19
2 files changed, 49 insertions, 20 deletions
diff --git a/engines/saga/itedata.cpp b/engines/saga/itedata.cpp
index ca4ff61606..4cbbac7fee 100644
--- a/engines/saga/itedata.cpp
+++ b/engines/saga/itedata.cpp
@@ -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
},
};
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp
index df13f36f0a..4cd0c1a381 100644
--- a/engines/saga/saga.cpp
+++ b/engines/saga/saga.cpp
@@ -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)