aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorThierry Crozat2013-04-26 22:45:52 +0100
committerThierry Crozat2013-04-26 23:57:00 +0100
commit54640a731744d2159f7d59e211c8c8d185df9e35 (patch)
tree90b148e08e51752e338c8d3a56cdfbb3ecdaf6bb /engines
parent08b2f90bd673c719fb6ae75210f6de636097dcac (diff)
downloadscummvm-rg350-54640a731744d2159f7d59e211c8c8d185df9e35.tar.gz
scummvm-rg350-54640a731744d2159f7d59e211c8c8d185df9e35.tar.bz2
scummvm-rg350-54640a731744d2159f7d59e211c8c8d185df9e35.zip
I18N: Workaround to fix spelling in French command 3
Diffstat (limited to 'engines')
-rw-r--r--engines/dreamweb/stubs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index d93c2a951c..057a0c847a 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -1259,6 +1259,10 @@ void DreamWebEngine::commandWithOb(uint8 command, uint8 type, uint8 index) {
uint8 textLen = _textLen;
const uint8 *string = (const uint8 *)_commandText.getString(command);
+ // Fix spelling in command 3 FR: "Aller ver" => "Aller vers"
+ const char *command3Fr = "Aller vers";
+ if (command == 3 && getLanguage() == Common::FR_FRA)
+ string = (const uint8 *)command3Fr;
printDirect(string, _textAddressX, _textAddressY, textLen, (bool)(textLen & 1));
copyName(type, index, commandLine);