diff options
author | Travis Howell | 2008-04-30 01:29:17 +0000 |
---|---|---|
committer | Travis Howell | 2008-04-30 01:29:17 +0000 |
commit | 125d0a138ddfee60635b84bad24828e03535774c (patch) | |
tree | 57c68bb3e6cbc234a920188eef62ef4e9c6248ef /engines | |
parent | 9605e28f7b32a2685b3fac2c7e203130541c7d3d (diff) | |
download | scummvm-rg350-125d0a138ddfee60635b84bad24828e03535774c.tar.gz scummvm-rg350-125d0a138ddfee60635b84bad24828e03535774c.tar.bz2 scummvm-rg350-125d0a138ddfee60635b84bad24828e03535774c.zip |
Add extra hard coded strings translations, from second release of The Dig.
svn-id: r31782
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/string.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index c3925fc2bf..34ec494850 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -1469,7 +1469,7 @@ void ScummEngine_v7::translateText(const byte *text, byte *trans_buff) { _lastStringTag[0] = 0; // WORKAROUND for bug #1172655. - if (_game.id == GID_DIG && text[0] != '/') { + if (_game.id == GID_DIG) { if (!strcmp((const char *)text, "faint light")) text = (const byte *)"/NEW.007/faint light"; else if (!strcmp((const char *)text, "glowing crystal")) @@ -1494,6 +1494,18 @@ void ScummEngine_v7::translateText(const byte *text, byte *trans_buff) { text = (const byte *)"/NEW.013/unattached lens"; else if (!strcmp((const char *)text, "lens slot")) text = (const byte *)"/NEW.014/lens slot"; + + // Added in second release of The Dig + else if (!strcmp((const char *)text, "/NEWTON.032/")) + text = (const byte *)"/NEW.11/You wish."; + else if (!strcmp((const char *)text, "/NEWTON.034/")) + text = (const byte *)"/NEW.12/In your dreams"; + else if (!strcmp((const char *)text, "Jonathon Jackson")) + text = (const byte *)"Aram Gutowski"; + else if (!strcmp((const char *)text, "Brink")) + text = (const byte *)"/CREVICE.049/Brink"; + else if (!strcmp((const char *)text, "Robbins")) + text = (const byte *)"/NEST.061/Robbins"; } |