AVALANCHE: Translate buttons in load and save dialogs.
This commit is contained in:
parent
29670a1a1e
commit
9769dc24c7
1 changed files with 3 additions and 2 deletions
|
@ -30,6 +30,7 @@
|
|||
#include "avalanche/nim.h"
|
||||
|
||||
#include "gui/saveload.h"
|
||||
#include "common/translation.h"
|
||||
|
||||
namespace Avalanche {
|
||||
|
||||
|
@ -1883,7 +1884,7 @@ void Parser::doThat() {
|
|||
break;
|
||||
|
||||
case kVerbCodeLoad: {
|
||||
GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser("Restore game:", "Restore", false);
|
||||
GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser(_("Restore game:"), _("Restore"), false);
|
||||
int16 savegameId = dialog->runModalWithCurrentTarget();
|
||||
delete dialog;
|
||||
|
||||
|
@ -1895,7 +1896,7 @@ void Parser::doThat() {
|
|||
}
|
||||
break;
|
||||
case kVerbCodeSave: {
|
||||
GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser("Save game:", "Save", true);
|
||||
GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser(_("Save game:"), _("Save"), true);
|
||||
int16 savegameId = dialog->runModalWithCurrentTarget();
|
||||
Common::String savegameDescription = dialog->getResultString();
|
||||
delete dialog;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue