Merged from revision: 7397

Externalized History Log texts (by Jazz)
- see TableData\History.xml
- added support for language specific history (German.History.xml, French.History.xml, ...)


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7399 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2014-08-20 04:26:31 +00:00
parent 46b72db714
commit a205b41ba5
21 changed files with 327 additions and 45 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ bool Loc::ExportStrings()
ExportSection(props, L"FilesSender", Loc::pFilesSenderList, 0, 7);
ExportSection(props, L"HistoryTitle", Loc::pHistoryTitle, 0, 1);
ExportSection(props, L"HistoryHeader", Loc::pHistoryHeaders, 0, 5);
ExportSection(props, L"History", Loc::pHistoryStrings, 0, TEXT_NUM_HISTORY);
//ExportSection(props, L"History", Loc::pHistoryStrings, 0, TEXT_NUM_HISTORY);
ExportSection(props, L"HistoryLocation", Loc::pHistoryLocations, 0, 1);
ExportSection(props, L"LaptopIcon", Loc::pLaptopIcons, 0, 8);
+1 -1
View File
@@ -273,7 +273,7 @@ extern STR16 pFilesTitle[];
extern STR16 pFilesSenderList[];
extern STR16 pHistoryLocations[];
//extern STR16 pHistoryAlternateStrings[];
extern STR16 pHistoryStrings[];
//extern STR16 pHistoryStrings[]; // Externalized to "TableData\History.xml"
extern STR16 pHistoryHeaders[];
extern STR16 pHistoryTitle[];
extern STR16 pShowBookmarkString[];
+3
View File
@@ -4196,6 +4196,8 @@ STR16 pHistoryHeaders[] =
L"事件", // the event label
};
// Externalized to "TableData\History.xml"
/*
// various history events
// THESE STRINGS ARE "HISTORY LOG" STRINGS AND THEIR LENGTH IS VERY LIMITED.
// PLEASE BE MINDFUL OF THE LENGTH OF THESE STRINGS. ONE WAY TO "TEST" THIS
@@ -4301,6 +4303,7 @@ STR16 pHistoryStrings[] =
L"碰到了 Waldo - 飞机机械师。",//L"Met Waldo - aircraft mechanic.",
L"直升机维修开始. 预计时间: %d 小时(s)。",//L"Helicopter repairs started. Estimated time: %d hour(s).",
};
*/
STR16 pHistoryLocations[] =
{
+3
View File
@@ -4198,6 +4198,8 @@ STR16 pHistoryHeaders[] =
L"Geb.", // the event label
};
/*
// Externalized to "TableData\History.xml"
// various history events
// THESE STRINGS ARE "HISTORY LOG" STRINGS AND THEIR LENGTH IS VERY LIMITED.
// PLEASE BE MINDFUL OF THE LENGTH OF THESE STRINGS. ONE WAY TO "TEST" THIS
@@ -4303,6 +4305,7 @@ STR16 pHistoryStrings[] =
L"Met Waldo - aircraft mechanic.",
L"Helicopter repairs started. Estimated time: %d hour(s).",
};
*/
STR16 pHistoryLocations[] =
{
+3
View File
@@ -4195,6 +4195,8 @@ STR16 pHistoryHeaders[] =
L"Event", // the event label
};
// Externalized to "TableData\History.xml"
/*
// various history events
// THESE STRINGS ARE "HISTORY LOG" STRINGS AND THEIR LENGTH IS VERY LIMITED.
// PLEASE BE MINDFUL OF THE LENGTH OF THESE STRINGS. ONE WAY TO "TEST" THIS
@@ -4300,6 +4302,7 @@ STR16 pHistoryStrings[] =
L"Met Waldo - aircraft mechanic.",
L"Helicopter repairs started. Estimated time: %d hour(s).",
};
*/
STR16 pHistoryLocations[] =
{
+3
View File
@@ -4208,6 +4208,8 @@ STR16 pHistoryHeaders[] =
L"Événement", // the event label
};
/*
// Externalized to "TableData\History.xml"
// various history events
// THESE STRINGS ARE "HISTORY LOG" STRINGS AND THEIR LENGTH IS VERY LIMITED.
// PLEASE BE MINDFUL OF THE LENGTH OF THESE STRINGS. ONE WAY TO "TEST" THIS
@@ -4313,6 +4315,7 @@ STR16 pHistoryStrings[] =
L"Rencontre avec Waldo, mécanicien aéronautique.",
L"Réparations de l'hélico ont débuté, temps estimé : %d h.",
};
*/
STR16 pHistoryLocations[] =
{
+3
View File
@@ -4151,6 +4151,8 @@ STR16 pHistoryHeaders[] =
L"Ereignis", // the event label
};
// Externalized to "TableData\History.xml"
/*
// various history events
// THESE STRINGS ARE "HISTORY LOG" STRINGS AND THEIR LENGTH IS VERY LIMITED.
// PLEASE BE MINDFUL OF THE LENGTH OF THESE STRINGS. ONE WAY TO "TEST" THIS
@@ -4256,6 +4258,7 @@ STR16 pHistoryStrings[] =
L"Met Waldo - aircraft mechanic.",
L"Helicopter repairs started. Estimated time: %d hour(s).",
};
*/
STR16 pHistoryLocations[] =
{
+3
View File
@@ -4189,6 +4189,8 @@ STR16 pHistoryHeaders[] =
L"Evento", // the event label
};
// Externalized to "TableData\History.xml"
/*
// various history events
// THESE STRINGS ARE "HISTORY LOG" STRINGS AND THEIR LENGTH IS VERY LIMITED.
// PLEASE BE MINDFUL OF THE LENGTH OF THESE STRINGS. ONE WAY TO "TEST" THIS
@@ -4294,6 +4296,7 @@ STR16 pHistoryStrings[] =
L"Met Waldo - aircraft mechanic.",
L"Helicopter repairs started. Estimated time: %d hour(s).",
};
*/
STR16 pHistoryLocations[] =
{
+3
View File
@@ -4205,6 +4205,8 @@ STR16 pHistoryHeaders[] =
L"Zdarzenie", // the event label
};
// Externalized to "TableData\History.xml"
/*
// various history events
// THESE STRINGS ARE "HISTORY LOG" STRINGS AND THEIR LENGTH IS VERY LIMITED.
// PLEASE BE MINDFUL OF THE LENGTH OF THESE STRINGS. ONE WAY TO "TEST" THIS
@@ -4310,6 +4312,7 @@ STR16 pHistoryStrings[] =
L"Spotkanie z Waldo - mechanikiem lotniczym.",
L"Rozpoczęto naprawę helikoptera. Szacowany czas: %d godzin(y).",
};
*/
STR16 pHistoryLocations[] =
{
+3
View File
@@ -4196,6 +4196,8 @@ STR16 pHistoryHeaders[] =
L"Событие", // the event label
};
// Externalized to "TableData\History.xml"
/*
// various history events
// THESE STRINGS ARE "HISTORY LOG" STRINGS AND THEIR LENGTH IS VERY LIMITED.
// PLEASE BE MINDFUL OF THE LENGTH OF THESE STRINGS. ONE WAY TO "TEST" THIS
@@ -4301,6 +4303,7 @@ STR16 pHistoryStrings[] =
L"Met Waldo - aircraft mechanic.",
L"Helicopter repairs started. Estimated time: %d hour(s).",
};
*/
STR16 pHistoryLocations[] =
{