diff options
author | Paul Gilbert | 2017-09-20 22:33:18 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-20 22:33:18 -0400 |
commit | 9127f5245fe10bc9de8efea5a9050d980f3ef241 (patch) | |
tree | 306bdcaa2292fe71fa8eab212af4d4952723db9d /engines/titanic/game/record_phonograph_button.cpp | |
parent | 32735d59e82d178088b006ba583000fc37995b37 (diff) | |
download | scummvm-rg350-9127f5245fe10bc9de8efea5a9050d980f3ef241.tar.gz scummvm-rg350-9127f5245fe10bc9de8efea5a9050d980f3ef241.tar.bz2 scummvm-rg350-9127f5245fe10bc9de8efea5a9050d980f3ef241.zip |
TITANIC: DE: Adding sound translations
Diffstat (limited to 'engines/titanic/game/record_phonograph_button.cpp')
-rw-r--r-- | engines/titanic/game/record_phonograph_button.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/game/record_phonograph_button.cpp b/engines/titanic/game/record_phonograph_button.cpp index 1bd2060193..a52183906b 100644 --- a/engines/titanic/game/record_phonograph_button.cpp +++ b/engines/titanic/game/record_phonograph_button.cpp @@ -21,6 +21,7 @@ */ #include "titanic/game/record_phonograph_button.h" +#include "titanic/translation.h" namespace Titanic { @@ -46,7 +47,7 @@ bool CRecordPhonographButton::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { recordMsg.execute(getParent()); if (recordMsg._canRecord) { - playSound("z#58.wav"); + playSound(TRANSLATE("z#58.wav", "z#589.wav")); loadFrame(1); _active = true; } @@ -56,7 +57,7 @@ bool CRecordPhonographButton::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { bool CRecordPhonographButton::PhonographStopMsg(CPhonographStopMsg *msg) { if (_active) { - playSound("z#57.wav"); + playSound(TRANSLATE("z#57.wav", "z#588.wav")); loadFrame(0); _active = false; } |