GUI: Change button label on 'return to launcher' confirmation

This commit is contained in:
Lothar Serra Mari 2020-11-28 21:49:36 +01:00 committed by Thierry Crozat
parent 80de351bd9
commit 6da9994da9

View File

@ -174,7 +174,7 @@ bool DefaultEventManager::pollEvent(Common::Event &event) {
PauseToken pt;
if (g_engine)
pt = g_engine->pauseEngine();
GUI::MessageDialog alert(_("Do you really want to return to the Launcher?\nAny unsaved progress will be lost."), _("Launcher"), _("Cancel"));
GUI::MessageDialog alert(_("Do you really want to return to the Launcher?\nAny unsaved progress will be lost."), _("Yes"), _("Cancel"));
forwardEvent = _shouldReturnToLauncher = (alert.runModal() == GUI::kMessageOK);
} else
_shouldReturnToLauncher = true;