I18N: Make the unsupported game warning translatable

This commit is contained in:
Thierry Crozat 2011-06-20 23:12:26 +01:00
parent ba6d0121e1
commit f4d20223be

View file

@ -402,10 +402,10 @@ void Engine::openMainMenuDialog() {
bool Engine::warnUserAboutUnsupportedGame() { bool Engine::warnUserAboutUnsupportedGame() {
if (ConfMan.getBool("enable_unsupported_game_warning")) { if (ConfMan.getBool("enable_unsupported_game_warning")) {
GUI::MessageDialog alert("WARNING: The game you are about to start is" GUI::MessageDialog alert(_("WARNING: The game you are about to start is"
" not yet fully supported by ScummVM. As such, it is likely to be" " not yet fully supported by ScummVM. As such, it is likely to be"
" unstable, and any saves you make might not work in future" " unstable, and any saves you make might not work in future"
" versions of ScummVM.", "Start anyway", "Cancel"); " versions of ScummVM."), _("Start anyway"), _("Cancel"));
return alert.runModal() == GUI::kMessageOK; return alert.runModal() == GUI::kMessageOK;
} }
return true; return true;