From 1cf3f50b7429483409e16994a21c040235abd261 Mon Sep 17 00:00:00 2001 From: Ben Castricum Date: Tue, 6 Dec 2016 09:25:00 +0100 Subject: ALL: Unify 'wrong version of engine data' message --- engines/tony/tony.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/tony') 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()); -- cgit v1.2.3