TITANIC: DE: Add translations for playGlobalSound calls

This commit is contained in:
Paul Gilbert 2017-09-20 06:43:10 -04:00
parent 7a184f0e7f
commit a7479b4f5b
2 changed files with 4 additions and 2 deletions

View File

@ -21,6 +21,7 @@
*/
#include "titanic/game/end_credit_text.h"
#include "titanic/translation.h"
namespace Titanic {
@ -43,7 +44,7 @@ void CEndCreditText::load(SimpleFile *file) {
}
bool CEndCreditText::ActMsg(CActMsg *msg) {
playGlobalSound("z#41.wav", VOL_NORMAL, false, false, 0);
playGlobalSound(TRANSLATE("z#41.wav", "z#573.wav"), VOL_NORMAL, false, false, 0);
createCredits();
_flag = true;
return true;

View File

@ -21,6 +21,7 @@
*/
#include "titanic/game/end_sequence_control.h"
#include "titanic/translation.h"
namespace Titanic {
@ -71,7 +72,7 @@ bool CEndSequenceControl::EnterRoomMsg(CEnterRoomMsg *msg) {
petHide();
disableMouse();
addTimer(1, 1000, 0);
playGlobalSound("a#15.wav", VOL_NORMAL, true, true, 0, Audio::Mixer::kSpeechSoundType);
playGlobalSound(TRANSLATE("a#15.wav", "a#8.wav"), VOL_NORMAL, true, true, 0, Audio::Mixer::kSpeechSoundType);
return true;
}