aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Crozat2017-10-18 19:15:04 +0100
committerThierry Crozat2018-01-23 02:15:35 +0000
commit9db84783be9dcfdd940a0c3ade05cf4fb3319289 (patch)
tree0cad38c789d687e96b0ce79dea5344681c9dabf9
parent52952c48a7d89907fa7b8d681a2050a193b0ed88 (diff)
downloadscummvm-rg350-9db84783be9dcfdd940a0c3ade05cf4fb3319289.tar.gz
scummvm-rg350-9db84783be9dcfdd940a0c3ade05cf4fb3319289.tar.bz2
scummvm-rg350-9db84783be9dcfdd940a0c3ade05cf4fb3319289.zip
SUPERNOVA: Merge two strings to help with translation
-rw-r--r--devtools/create_supernova/gametext.h2
-rw-r--r--engines/supernova/rooms.cpp6
2 files changed, 5 insertions, 3 deletions
diff --git a/devtools/create_supernova/gametext.h b/devtools/create_supernova/gametext.h
index 10e1507916..25542ffedd 100644
--- a/devtools/create_supernova/gametext.h
+++ b/devtools/create_supernova/gametext.h
@@ -678,7 +678,7 @@ const char *gameText[] = {
"Dann gehe ich eben wieder.", // kStringDialogAxacussCorridor5_5
"Ach, halten Sie's Maul, ich gehe trotzdem!", // kStringDialogAxacussCorridor5_6
// 535
- "Wenn Sie mich durchlassen gebe ich Ihnen ", // kStringDialogAxacussCorridor5_7
+ "Wenn Sie mich durchlassen gebe ich Ihnen %d Xa.", // kStringDialogAxacussCorridor5_7
"Hallo!", // kStringDialogX1
"Guten Tag!", // kStringDialogX2
"Ich bin's, Horst Hummel.", // kStringDialogX3
diff --git a/engines/supernova/rooms.cpp b/engines/supernova/rooms.cpp
index 886cd4b785..8a3b937314 100644
--- a/engines/supernova/rooms.cpp
+++ b/engines/supernova/rooms.cpp
@@ -2608,8 +2608,10 @@ bestechen:
_gm->removeSentence(3, 2);
} else {
// TODO: Handle string manipulation in dialogs
- // _dialog3[2] += Common::String::format("%d Xa.", _gm->_state._money - 200);
- // _dialog3[3] += Common::String::format("%d Xa.", _gm->_state._money);
+ // _dialog3[2] and _dialog3[3] are both using kStringDialogAxacussCorridor5_7
+ // ("Wenn Sie mich durchlassen gebe ich Ihnen %d Xa.")
+ // _dialog3[2] += Common::String::format(kStringDialogAxacussCorridor5_7, _gm->_state._money - 200);
+ // _dialog3[3] += Common::String::format(kStringDialogAxacussCorridor5_7, _gm->_state._money);
}
switch (_gm->dialog(4, rows, _dialog3, 2)) {
case 1: