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:
aryanrawlani28 2020-07-04 03:13:05 +05:30 committed by Eugene Sandulenko
parent ffc89d1a2b
commit 4b6976c558
78 changed files with 203 additions and 168 deletions

View file

@ -260,7 +260,7 @@ static Common::Error runGame(const Plugin *plugin, OSystem &system, const Common
if (token.equalsIgnoreCase("all"))
DebugMan.enableAllDebugChannels();
else if (!DebugMan.enableDebugChannel(token))
warning(Common::convertFromU32String(_("Engine does not support debug level '%s'")).c_str(), token.c_str());
warning("Engine does not support debug level '%s'", token.c_str());
}
#ifdef USE_TRANSLATION