aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle
diff options
context:
space:
mode:
authorBen Castricum2016-12-05 15:29:23 +0100
committerBen Castricum2016-12-05 21:04:50 +0100
commite1ec91b69abe730f297dfe1fe1740f4b2a13d8da (patch)
tree33f63eaf0664eb23398def1abda5fe58ae4aa7ef /engines/mortevielle
parent5c60a75f94f2a267b1ec02728a1f6ad0aa7da9c9 (diff)
downloadscummvm-rg350-e1ec91b69abe730f297dfe1fe1740f4b2a13d8da.tar.gz
scummvm-rg350-e1ec91b69abe730f297dfe1fe1740f4b2a13d8da.tar.bz2
scummvm-rg350-e1ec91b69abe730f297dfe1fe1740f4b2a13d8da.zip
ALL: Unify 'missing engine data' message
Diffstat (limited to 'engines/mortevielle')
-rw-r--r--engines/mortevielle/POTFILES1
-rw-r--r--engines/mortevielle/mortevielle.cpp4
2 files changed, 4 insertions, 1 deletions
diff --git a/engines/mortevielle/POTFILES b/engines/mortevielle/POTFILES
new file mode 100644
index 0000000000..ee7ef3ed69
--- /dev/null
+++ b/engines/mortevielle/POTFILES
@@ -0,0 +1 @@
+engines/mortevielle/mortevielle.cpp
diff --git a/engines/mortevielle/mortevielle.cpp b/engines/mortevielle/mortevielle.cpp
index 4f0899deb4..c56f22bb8f 100644
--- a/engines/mortevielle/mortevielle.cpp
+++ b/engines/mortevielle/mortevielle.cpp
@@ -37,6 +37,7 @@
#include "common/system.h"
#include "common/config-manager.h"
#include "common/debug-channels.h"
+#include "common/translation.h"
#include "engines/util.h"
#include "engines/engine.h"
#include "graphics/palette.h"
@@ -302,7 +303,8 @@ Common::ErrorCode MortevielleEngine::loadMortDat() {
// Open the mort.dat file
if (!f.open(MORT_DAT)) {
- GUIErrorMessage("Could not locate 'mort.dat'.");
+ Common::String msg = Common::String::format(_("You're missing the '%s' file. Get it from the ScummVM website"), MORT_DAT);
+ GUIErrorMessage(msg);
return Common::kReadingFailed;
}