aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
diff options
context:
space:
mode:
authorBen Castricum2016-12-06 09:25:00 +0100
committerBen Castricum2016-12-06 09:38:25 +0100
commit1cf3f50b7429483409e16994a21c040235abd261 (patch)
treeb9312aa2fe7536be282f9911468386b7f4440236 /engines/drascula
parenteb7ffb1e2cce1c77bebc156563d6d46d223b3885 (diff)
downloadscummvm-rg350-1cf3f50b7429483409e16994a21c040235abd261.tar.gz
scummvm-rg350-1cf3f50b7429483409e16994a21c040235abd261.tar.bz2
scummvm-rg350-1cf3f50b7429483409e16994a21c040235abd261.zip
ALL: Unify 'wrong version of engine data' message
Diffstat (limited to 'engines/drascula')
-rw-r--r--engines/drascula/drascula.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index c5ee4cf360..7333d352b3 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -986,7 +986,9 @@ bool DrasculaEngine::loadDrasculaDat() {
ver = in.readByte();
if (ver != DRASCULA_DAT_VER) {
- Common::String errorMessage = Common::String::format("File 'drascula.dat' is wrong version. Expected %d but got %d. Get it from the ScummVM website", DRASCULA_DAT_VER, ver);
+ Common::String errorMessage = Common::String::format(
+ _("Incorrect version of the '%s' file found. Expected %d.%d but got %d.%d. Get it from the ScummVM website"),
+ filename.c_str(), DRASCULA_DAT_VER, 0, ver, 0);
GUIErrorMessage(errorMessage);
warning("%s", errorMessage.c_str());