Fix bug #1256704 "ITE: Wrong text display in German version"

svn-id: r18657
This commit is contained in:
Eugene Sandulenko
2005-08-11 14:03:10 +00:00
parent 2230d4b037
commit 45ca2e66ea
3 changed files with 10 additions and 5 deletions
+5 -3
View File
@@ -334,7 +334,7 @@ FxTable ITE_SfxTable[ITE_SFXCOUNT] = {
{ FX_CROWD_17, 64 }
};
const char *ITEinterfaceTextStrings[][44] = {
const char *ITEinterfaceTextStrings[][45] = {
{
"Walk to", "Look At", "Pick Up", "Talk to", "Open",
"Close", "Use", "Give", "Options", "Test",
@@ -344,7 +344,8 @@ const char *ITEinterfaceTextStrings[][44] = {
"Quit", "OK", "Mid", "Click", "10%",
"20%", "30%", "40%", "50%", "60%",
"70%", "80%", "90%", "Max", "Quit the Game?",
"Load Successful!", "Enter Save Game Name", "Give %s to %s", "Use %s with %s"
"Load Successful!", "Enter Save Game Name", "Give %s to %s", "Use %s with %s",
"[New Save Game]"
},
// German
@@ -357,7 +358,8 @@ const char *ITEinterfaceTextStrings[][44] = {
"Beenden", NULL, "M", "Klick", NULL,
NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, "Spiel beenden?",
"Spielstand geladen!", "Bitte Namen eingeben", "Gib %s zu %s", "Benutze %s mit %s"
"Spielstand geladen!", "Bitte Namen eingeben", "Gib %s zu %s", "Benutze %s mit %s",
"[Neuer Spielstand]"
}
};
+1 -1
View File
@@ -87,7 +87,7 @@ struct FxTable {
extern ObjectTableData ITE_ObjectTable[ITE_OBJECTCOUNT];
extern FxTable ITE_SfxTable[ITE_SFXCOUNT];
extern const char *ITEinterfaceTextStrings[][44];
extern const char *ITEinterfaceTextStrings[][45];
} // End of namespace Saga
+4 -1
View File
@@ -43,7 +43,7 @@
namespace Saga {
static SaveFileData emptySlot = {
"[New Save Game]", 0
"", 0
};
//TODO:
@@ -62,6 +62,9 @@ SaveFileData *SagaEngine::getSaveFile(uint idx) {
if (isSaveListFull()) {
return &_saveFiles[_saveFilesCount - idx - 1];
} else {
if (!emptySlot.name[0])
strcpy(emptySlot.name, getTextString(44));
return (idx == 0) ? &emptySlot : &_saveFiles[_saveFilesCount - idx];
}
}