SHERLOCK: RT: add German context-menu fixed text
- mention game in comments, that the fixed text block is about so that we can split it up easily later - add TODO for Spanish context-menu fixed text - add TODO for French version of Sherlock Holmes 2 - add TODO to split up the fixed text class
This commit is contained in:
parent
fac5c2d979
commit
c431c50d6a
1 changed files with 30 additions and 25 deletions
|
@ -26,19 +26,19 @@
|
||||||
namespace Sherlock {
|
namespace Sherlock {
|
||||||
|
|
||||||
static const char *const fixedTextEN[] = {
|
static const char *const fixedTextEN[] = {
|
||||||
// Window buttons
|
// SH1: Window buttons
|
||||||
"Exit",
|
"Exit",
|
||||||
"Up",
|
"Up",
|
||||||
"Down",
|
"Down",
|
||||||
// Inventory buttons
|
// SH1: Inventory buttons
|
||||||
"Exit",
|
"Exit",
|
||||||
"Look",
|
"Look",
|
||||||
"Use",
|
"Use",
|
||||||
"Give",
|
"Give",
|
||||||
// Journal text
|
// SH1: Journal text
|
||||||
"Watson's Journal",
|
"Watson's Journal",
|
||||||
"Page %d",
|
"Page %d",
|
||||||
// Journal buttons
|
// SH1: Journal buttons
|
||||||
"Exit",
|
"Exit",
|
||||||
"Back 10",
|
"Back 10",
|
||||||
"Up",
|
"Up",
|
||||||
|
@ -48,12 +48,12 @@ static const char *const fixedTextEN[] = {
|
||||||
"First Page",
|
"First Page",
|
||||||
"Last Page",
|
"Last Page",
|
||||||
"Print Text",
|
"Print Text",
|
||||||
// Journal search
|
// SH1: Journal search
|
||||||
"Exit",
|
"Exit",
|
||||||
"Backward",
|
"Backward",
|
||||||
"Forward",
|
"Forward",
|
||||||
"Text Not Found !",
|
"Text Not Found !",
|
||||||
// Initial Inventory
|
// SH1: Initial Inventory
|
||||||
"A message requesting help",
|
"A message requesting help",
|
||||||
"A number of business cards",
|
"A number of business cards",
|
||||||
"Opera Tickets",
|
"Opera Tickets",
|
||||||
|
@ -66,7 +66,7 @@ static const char *const fixedTextEN[] = {
|
||||||
"Tarot Cards",
|
"Tarot Cards",
|
||||||
"An ornate key",
|
"An ornate key",
|
||||||
"A pawn ticket",
|
"A pawn ticket",
|
||||||
// Verbs
|
// SH2: Verbs
|
||||||
"Open",
|
"Open",
|
||||||
"Look",
|
"Look",
|
||||||
"Talk",
|
"Talk",
|
||||||
|
@ -78,19 +78,19 @@ static const char *const fixedTextEN[] = {
|
||||||
// small o-umlaut: 0x94 / octal 224
|
// small o-umlaut: 0x94 / octal 224
|
||||||
// small u-umlaut: 0x81 / octal 201
|
// small u-umlaut: 0x81 / octal 201
|
||||||
static const char *const fixedTextDE[] = {
|
static const char *const fixedTextDE[] = {
|
||||||
// Window buttons
|
// SH1: Window buttons
|
||||||
"Zur\201ck",
|
"Zur\201ck",
|
||||||
"Hoch",
|
"Hoch",
|
||||||
"Runter",
|
"Runter",
|
||||||
// Inventory buttons
|
// SH1: Inventory buttons
|
||||||
"Zur\201ck",
|
"Zur\201ck",
|
||||||
"Schau",
|
"Schau",
|
||||||
"Benutze",
|
"Benutze",
|
||||||
"Gib",
|
"Gib",
|
||||||
// Journal text
|
// SH1: Journal text
|
||||||
"Watsons Tagebuch",
|
"Watsons Tagebuch",
|
||||||
"Seite %d",
|
"Seite %d",
|
||||||
// Journal buttons
|
// SH1: Journal buttons
|
||||||
"Zur\201ck",
|
"Zur\201ck",
|
||||||
"10 hoch",
|
"10 hoch",
|
||||||
"Hoch",
|
"Hoch",
|
||||||
|
@ -100,12 +100,12 @@ static const char *const fixedTextDE[] = {
|
||||||
"Erste Seite",
|
"Erste Seite",
|
||||||
"Letzte Seite",
|
"Letzte Seite",
|
||||||
"Drucke Text",
|
"Drucke Text",
|
||||||
// Journal search
|
// SH1: Journal search
|
||||||
"Zur\201ck",
|
"Zur\201ck",
|
||||||
"R\201ckw\204rts", // original: "Backward"
|
"R\201ckw\204rts", // original: "Backward"
|
||||||
"Vorw\204rts", // original: "Forward"
|
"Vorw\204rts", // original: "Forward"
|
||||||
"Text nicht gefunden!",
|
"Text nicht gefunden!",
|
||||||
// Initial Inventory
|
// SH1: Initial Inventory
|
||||||
"Ein Hilferuf von Lestrade",
|
"Ein Hilferuf von Lestrade",
|
||||||
"Holmes' Visitenkarten",
|
"Holmes' Visitenkarten",
|
||||||
"Karten f\201rs Opernhaus",
|
"Karten f\201rs Opernhaus",
|
||||||
|
@ -118,30 +118,30 @@ static const char *const fixedTextDE[] = {
|
||||||
"Ein Tarock-Kartenspiel", // [sic]
|
"Ein Tarock-Kartenspiel", // [sic]
|
||||||
"Ein verzierter Schl\201ssel",
|
"Ein verzierter Schl\201ssel",
|
||||||
"Ein Pfandschein",
|
"Ein Pfandschein",
|
||||||
// Verbs
|
// SH2: Verbs
|
||||||
"Open",
|
"\231ffne",
|
||||||
"Look",
|
"Schau",
|
||||||
"Talk",
|
"Rede",
|
||||||
"Journal"
|
"Tagebuch"
|
||||||
};
|
};
|
||||||
|
|
||||||
// up-side down exclamation mark - 0xAD / octal 255
|
// up-side down exclamation mark - 0xAD / octal 255
|
||||||
// up-side down question mark - 0xA8 / octal 250
|
// up-side down question mark - 0xA8 / octal 250
|
||||||
// n with a wave on top - 0xA4 / octal 244
|
// n with a wave on top - 0xA4 / octal 244
|
||||||
static const char *const fixedTextES[] = {
|
static const char *const fixedTextES[] = {
|
||||||
// Window buttons
|
// SH1: Window buttons
|
||||||
"Exit",
|
"Exit",
|
||||||
"Subir",
|
"Subir",
|
||||||
"Bajar",
|
"Bajar",
|
||||||
// Inventory buttons
|
// SH1: Inventory buttons
|
||||||
"Exit",
|
"Exit",
|
||||||
"Mirar",
|
"Mirar",
|
||||||
"Usar",
|
"Usar",
|
||||||
"Dar",
|
"Dar",
|
||||||
// Journal text
|
// SH1: Journal text
|
||||||
"Diario de Watson",
|
"Diario de Watson",
|
||||||
"Pagina %d",
|
"Pagina %d",
|
||||||
// Journal buttons
|
// SH1: Journal buttons
|
||||||
"Exit",
|
"Exit",
|
||||||
"Retroceder",
|
"Retroceder",
|
||||||
"Subir",
|
"Subir",
|
||||||
|
@ -151,12 +151,12 @@ static const char *const fixedTextES[] = {
|
||||||
"1a pagina",
|
"1a pagina",
|
||||||
"Ult pagina",
|
"Ult pagina",
|
||||||
"Imprimir",
|
"Imprimir",
|
||||||
// Journal search
|
// SH1: Journal search
|
||||||
"Exit",
|
"Exit",
|
||||||
"Retroceder",
|
"Retroceder",
|
||||||
"Avanzar",
|
"Avanzar",
|
||||||
"Texto no encontrado!",
|
"Texto no encontrado!",
|
||||||
// Initial Inventory
|
// SH1: Initial Inventory
|
||||||
"Un mensaje solicitando ayuda",
|
"Un mensaje solicitando ayuda",
|
||||||
"Unas cuantas tarjetas de visita",
|
"Unas cuantas tarjetas de visita",
|
||||||
"Entradas para la opera",
|
"Entradas para la opera",
|
||||||
|
@ -169,7 +169,7 @@ static const char *const fixedTextES[] = {
|
||||||
"Unas cartas de Tarot",
|
"Unas cartas de Tarot",
|
||||||
"Una llave muy vistosa",
|
"Una llave muy vistosa",
|
||||||
"Una papeleta de empe\244o",
|
"Una papeleta de empe\244o",
|
||||||
// Verbs
|
// SH2: Verbs --- TODO: not known at the moment
|
||||||
"Open",
|
"Open",
|
||||||
"Look",
|
"Look",
|
||||||
"Talk",
|
"Talk",
|
||||||
|
@ -178,6 +178,7 @@ static const char *const fixedTextES[] = {
|
||||||
|
|
||||||
// =========================================
|
// =========================================
|
||||||
|
|
||||||
|
// === Sherlock Holmes 1: Serrated Scalpel ===
|
||||||
static const char *const fixedTextEN_ActionOpen[] = {
|
static const char *const fixedTextEN_ActionOpen[] = {
|
||||||
"This cannot be opened",
|
"This cannot be opened",
|
||||||
"It is already open",
|
"It is already open",
|
||||||
|
@ -334,6 +335,8 @@ static const FixedTextActionEntry fixedTextES_Actions[] = {
|
||||||
|
|
||||||
// =========================================
|
// =========================================
|
||||||
|
|
||||||
|
// TODO:
|
||||||
|
// It seems there was a French version of Sherlock Holmes 2
|
||||||
static const FixedTextLanguageEntry fixedTextLanguages[] = {
|
static const FixedTextLanguageEntry fixedTextLanguages[] = {
|
||||||
{ Common::DE_DEU, fixedTextDE, fixedTextDE_Actions },
|
{ Common::DE_DEU, fixedTextDE, fixedTextDE_Actions },
|
||||||
{ Common::ES_ESP, fixedTextES, fixedTextES_Actions },
|
{ Common::ES_ESP, fixedTextES, fixedTextES_Actions },
|
||||||
|
@ -345,6 +348,8 @@ static const FixedTextLanguageEntry fixedTextLanguages[] = {
|
||||||
|
|
||||||
// =========================================
|
// =========================================
|
||||||
|
|
||||||
|
// TODO: split this class up into 2 classes. One for each Sherlock Holmes game
|
||||||
|
// We definitely do not want to share fixed text between both, simply because translations may not be the same
|
||||||
FixedText::FixedText(SherlockEngine *vm) : _vm(vm) {
|
FixedText::FixedText(SherlockEngine *vm) : _vm(vm) {
|
||||||
// Figure out which fixed texts to use
|
// Figure out which fixed texts to use
|
||||||
Common::Language curLanguage = _vm->getLanguage();
|
Common::Language curLanguage = _vm->getLanguage();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue