GUI: U32: Reduce number of files changed and fixes
Up until last commit, everything was working fine but the amount of files changed was too large. This commit tries to reduce the changes. - Add a fake constructor to Keymap, text-to-speech, setDescription (save-state) - Redirecting functions for PopUpWidget::appendEntry, ButtonWidget::setLabel, GUIErrorMessage - Use the above functions and constructors to reduce changes in Engines - Fix warnings being in unicode. Only output english text in - Warnings, Errors, etc. - Mark some strings as "translation" strings. (Not yet added to POTFILES) - Remove some CP related things from po/modules.mk - Previously used some Common::convertToU32 where it was not necessary, replace this with u32constructor
This commit is contained in:
parent
ffc89d1a2b
commit
4b6976c558
78 changed files with 203 additions and 168 deletions
|
@ -214,9 +214,9 @@ void MainMenuDialog::save() {
|
|||
|
||||
Common::Error status = _engine->saveGameState(slot, Common::convertFromU32String(result));
|
||||
if (status.getCode() != Common::kNoError) {
|
||||
Common::U32String failMessage = Common::U32String::format(_("Failed to save game (%s)! "),
|
||||
Common::U32String failMessage = Common::U32String::format(_("Failed to save game (%s)! "
|
||||
"Please consult the README for basic information, and for "
|
||||
"instructions on how to obtain further assistance.");
|
||||
"instructions on how to obtain further assistance."), status.getDesc().c_str());
|
||||
GUI::MessageDialog dialog(failMessage);
|
||||
dialog.runModal();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue