diff options
author | Ben Castricum | 2016-12-06 09:25:00 +0100 |
---|---|---|
committer | Ben Castricum | 2016-12-06 09:38:25 +0100 |
commit | 1cf3f50b7429483409e16994a21c040235abd261 (patch) | |
tree | b9312aa2fe7536be282f9911468386b7f4440236 /engines/hugo | |
parent | eb7ffb1e2cce1c77bebc156563d6d46d223b3885 (diff) | |
download | scummvm-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/hugo')
-rw-r--r-- | engines/hugo/hugo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp index 0b4ed33bae..b7af8cbd1d 100644 --- a/engines/hugo/hugo.cpp +++ b/engines/hugo/hugo.cpp @@ -454,7 +454,9 @@ bool HugoEngine::loadHugoDat() { int minVer = in.readByte(); if ((majVer != HUGO_DAT_VER_MAJ) || (minVer != HUGO_DAT_VER_MIN)) { - Common::String errorMessage = Common::String::format("File 'hugo.dat' is wrong version. Expected %d.%d but got %d.%d. Get it from the ScummVM website", HUGO_DAT_VER_MAJ, HUGO_DAT_VER_MIN, majVer, minVer); + 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(),HUGO_DAT_VER_MAJ, HUGO_DAT_VER_MIN, majVer, minVer); GUIErrorMessage(errorMessage); return false; } |