aboutsummaryrefslogtreecommitdiff
path: root/engines/tony
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/tony
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/tony')
-rw-r--r--engines/tony/tony.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/tony/tony.cpp b/engines/tony/tony.cpp
index c3ae24b70d..ec42a1d927 100644
--- a/engines/tony/tony.cpp
+++ b/engines/tony/tony.cpp
@@ -217,7 +217,9 @@ bool TonyEngine::loadTonyDat() {
int minVer = in.readByte();
if ((majVer != TONY_DAT_VER_MAJ) || (minVer != TONY_DAT_VER_MIN)) {
- msg = Common::String::format("File 'tony.dat' is wrong version. Expected %d.%d but got %d.%d. Get it from the ScummVM website", TONY_DAT_VER_MAJ, TONY_DAT_VER_MIN, majVer, minVer);
+ msg = 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(), TONY_DAT_VER_MAJ, TONY_DAT_VER_MIN, majVer, minVer);
GUIErrorMessage(msg);
warning("%s", msg.c_str());