aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control
diff options
context:
space:
mode:
authorPaul Gilbert2017-10-06 21:07:00 -0400
committerPaul Gilbert2017-10-06 21:07:00 -0400
commit6723bed162d3c64fd274146d83009744b3701a69 (patch)
treec8d7fdbeea813d70353d3c71bb9a75936882e3b4 /engines/titanic/pet_control
parent9b51c1dbbd1a4cb894080e73cfde7d84517131ed (diff)
downloadscummvm-rg350-6723bed162d3c64fd274146d83009744b3701a69.tar.gz
scummvm-rg350-6723bed162d3c64fd274146d83009744b3701a69.tar.bz2
scummvm-rg350-6723bed162d3c64fd274146d83009744b3701a69.zip
TITANIC: DE: Fixes to vocabs, strings, and font in titanic.dat
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r--engines/titanic/pet_control/pet_rooms_glyphs.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.cpp b/engines/titanic/pet_control/pet_rooms_glyphs.cpp
index af73cb803c..02f6860d31 100644
--- a/engines/titanic/pet_control/pet_rooms_glyphs.cpp
+++ b/engines/titanic/pet_control/pet_rooms_glyphs.cpp
@@ -28,6 +28,7 @@
#include "titanic/support/screen_manager.h"
#include "titanic/support/simple_file.h"
#include "titanic/titanic.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -161,12 +162,12 @@ void CPetRoomsGlyph::getTooltip(CTextControl *text) {
// Get the room description
CString roomStr = roomFlags.getRoomDesc();
- if (roomStr == "The Elevator") {
+ if (roomStr == TRANSLATE("The Elevator", "Der Aufzug")) {
int elevNum = owner->getElevatorNum();
- roomStr = CString::format("Elevator %d", elevNum);
+ roomStr = CString::format(g_vm->_strings[ELEVATOR_NUM].c_str(), elevNum);
}
- roomStr += " (shift-click edits)";
+ roomStr += g_vm->_strings[SHIFT_CLICK_TO_EDIT];
text->setText(prefix + roomStr);
}