mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 04:01:23 +00:00
i18n: Translate the Save and Load buttons in cruise
This fix Fix bug #3064918 GUI: Save and Load button not translated in cruise svn-id: r52691
This commit is contained in:
parent
5b6ca46ade
commit
61a111d82a
@ -29,6 +29,7 @@
|
||||
|
||||
#include "engines/metaengine.h"
|
||||
#include "gui/saveload.h"
|
||||
#include "common/translation.h"
|
||||
|
||||
namespace Cruise {
|
||||
|
||||
@ -212,9 +213,9 @@ static void handleSaveLoad(bool saveFlag) {
|
||||
EngineMan.findGame(_vm->getGameId(), &plugin);
|
||||
GUI::SaveLoadChooser *dialog;
|
||||
if (saveFlag)
|
||||
dialog = new GUI::SaveLoadChooser("Save game:", "Save");
|
||||
dialog = new GUI::SaveLoadChooser(_("Save game:"), _("Save"));
|
||||
else
|
||||
dialog = new GUI::SaveLoadChooser("Load game:", "Load");
|
||||
dialog = new GUI::SaveLoadChooser(_("Load game:"), _("Load"));
|
||||
|
||||
dialog->setSaveMode(saveFlag);
|
||||
int slot = dialog->runModal(plugin, ConfMan.getActiveDomainName());
|
||||
|
Loading…
x
Reference in New Issue
Block a user