LAB: Added GUI messages to translation
This commit is contained in:
parent
eb91e34d93
commit
5d9006e11b
4 changed files with 9 additions and 3 deletions
|
@ -1 +1,4 @@
|
||||||
|
engines/lab/engine.cpp
|
||||||
|
engines/lab/processroom.cpp
|
||||||
engines/lab/savegame.cpp
|
engines/lab/savegame.cpp
|
||||||
|
engines/lab/speciallocks.cpp
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
#include "common/config-manager.h"
|
#include "common/config-manager.h"
|
||||||
#include "common/file.h"
|
#include "common/file.h"
|
||||||
|
#include "common/translation.h"
|
||||||
|
|
||||||
#include "gui/message.h"
|
#include "gui/message.h"
|
||||||
|
|
||||||
|
@ -121,7 +122,7 @@ void LabEngine::handleTrialWarning() {
|
||||||
// Wyrmkeep trial version
|
// Wyrmkeep trial version
|
||||||
_extraGameFeatures = GF_WINDOWS_TRIAL;
|
_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();
|
trialMessage.runModal();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "common/translation.h"
|
||||||
#include "gui/message.h"
|
#include "gui/message.h"
|
||||||
|
|
||||||
#include "lab/lab.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
|
// This is a Wyrmkeep Windows trial version, thus stop at this
|
||||||
// point, since we can't check for game payment status
|
// point, since we can't check for game payment status
|
||||||
_graphics->readPict(getPictName(true));
|
_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();
|
trialMessage.runModal();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "common/file.h"
|
#include "common/file.h"
|
||||||
|
#include "common/translation.h"
|
||||||
|
|
||||||
#include "gui/message.h"
|
#include "gui/message.h"
|
||||||
|
|
||||||
|
@ -145,7 +146,7 @@ void SpecialLocks::changeTile(uint16 col, uint16 row) {
|
||||||
|
|
||||||
if (scrolltype != -1) {
|
if (scrolltype != -1) {
|
||||||
if (_vm->getFeatures() & GF_WINDOWS_TRIAL) {
|
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();
|
trialMessage.runModal();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue