diff --git a/engines/lab/POTFILES b/engines/lab/POTFILES index 29ecb6c2d6b..13517e87a5e 100644 --- a/engines/lab/POTFILES +++ b/engines/lab/POTFILES @@ -1 +1,4 @@ +engines/lab/engine.cpp +engines/lab/processroom.cpp engines/lab/savegame.cpp +engines/lab/speciallocks.cpp diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp index e8e275d2190..f2913b229e4 100644 --- a/engines/lab/engine.cpp +++ b/engines/lab/engine.cpp @@ -30,6 +30,7 @@ #include "common/config-manager.h" #include "common/file.h" +#include "common/translation.h" #include "gui/message.h" @@ -121,7 +122,7 @@ void LabEngine::handleTrialWarning() { // Wyrmkeep trial version _extraGameFeatures = GF_WINDOWS_TRIAL; - GUI::MessageDialog trialMessage("This is a trial Windows version of the game. To play the full version, you will need to use the original interpreter and purchase a key from Wyrmkeep"); + GUI::MessageDialog trialMessage(_("This is a trial Windows version of the game. To play the full version, you will need to use the original interpreter and purchase a key from Wyrmkeep")); trialMessage.runModal(); } else { diff --git a/engines/lab/processroom.cpp b/engines/lab/processroom.cpp index f6086828c31..c7038021742 100644 --- a/engines/lab/processroom.cpp +++ b/engines/lab/processroom.cpp @@ -28,6 +28,7 @@ * */ +#include "common/translation.h" #include "gui/message.h" #include "lab/lab.h" @@ -326,7 +327,7 @@ void LabEngine::doActions(const ActionList &actionList) { // This is a Wyrmkeep Windows trial version, thus stop at this // point, since we can't check for game payment status _graphics->readPict(getPictName(true)); - GUI::MessageDialog trialMessage("This is the end of the trial version. You can play the full game using the original interpreter from Wyrmkeep"); + GUI::MessageDialog trialMessage(_("This is the end of the trial version. You can play the full game using the original interpreter from Wyrmkeep")); trialMessage.runModal(); break; } diff --git a/engines/lab/speciallocks.cpp b/engines/lab/speciallocks.cpp index 3104d9d4dd7..361e0698439 100644 --- a/engines/lab/speciallocks.cpp +++ b/engines/lab/speciallocks.cpp @@ -29,6 +29,7 @@ */ #include "common/file.h" +#include "common/translation.h" #include "gui/message.h" @@ -145,7 +146,7 @@ void SpecialLocks::changeTile(uint16 col, uint16 row) { if (scrolltype != -1) { if (_vm->getFeatures() & GF_WINDOWS_TRIAL) { - GUI::MessageDialog trialMessage("This puzzle is not available in the trial version of the game"); + GUI::MessageDialog trialMessage(_("This puzzle is not available in the trial version of the game")); trialMessage.runModal(); return; }