Commit Graph

100508 Commits

Author SHA1 Message Date
aryanrawlani28
86b8c23f78 SCUMM: DIALOGS: Return U32 for queryResString. 2020-08-30 14:43:41 +02:00
aryanrawlani28
f72a98c799 GUI: Return Strings from createDefaultSaveDesc 2020-08-30 14:43:41 +02:00
aryanrawlani28
2eeb0cb859 GUI: Use U32Strings for MessageDialogWithURL. 2020-08-30 14:43:41 +02:00
aryanrawlani28
08e9eb3f18 SCI: Use Strings for SaveGameDescription
- Because Unicode input is not supported, resulting input strings are always ascii and no need to store as U32.
2020-08-30 14:43:41 +02:00
aryanrawlani28
8309b98e66 PARALLACTION: Create saveload dialogs & message dialogs with U32. 2020-08-30 14:43:41 +02:00
aryanrawlani28
71fb3b4dbb SCI: Use U32Strings when creating options widget. 2020-08-30 14:43:41 +02:00
aryanrawlani28
67daa0fa96 GUI: Add missing parameter in MessageDialog 2020-08-30 14:43:41 +02:00
aryanrawlani28
86055761e8 KYRA: Use U32Strings when EoBCoreEngine::initKeymaps adds keymap actions. 2020-08-30 14:43:41 +02:00
aryanrawlani28
2fa7703206 GLK: Use U32Strings properly for clipboards. 2020-08-30 14:43:41 +02:00
aryanrawlani28
a089fe47e7 BACKENDS: Display messages on OSD takes in U32Strings for modular backend. 2020-08-30 14:43:41 +02:00
aryanrawlani28
984e7fae99 BACKENDS: DIALOGS: Remove redundant code for GTK Dialogs.
- Dialogs take in const gchar *, so no need to convert to char* and then pass it along.
2020-08-30 14:43:41 +02:00
aryanrawlani28
455a05b059 BACKENDS: SDL: Remove redundant code when set text in clipboard. 2020-08-30 14:43:41 +02:00
aryanrawlani28
e00e453489 GUI: CREDITS: Regenerate credits.h file 2020-08-30 14:43:41 +02:00
aryanrawlani28
24151a6d31 DEVTOOLS: CREDITS: Update script to not write ascii descriptions when adding person. 2020-08-30 14:43:41 +02:00
aryanrawlani28
4cef06d7a8 BACKENDS: WIN32: Use calloc to allocate memory for UTF8ToUnicode wrapper. 2020-08-30 14:43:41 +02:00
aryanrawlani28
1612b6845a ENGINES: GUI: U32: Improve translation message usage 2020-08-30 14:43:41 +02:00
aryanrawlani28
5ab12afd2a JANITORIAL: Spacing issues in gui/about. 2020-08-30 14:43:41 +02:00
aryanrawlani28
df03b319fb SCUMM: GUI: U32: Use more translations 2020-08-30 14:43:41 +02:00
aryanrawlani28
219646378c SCUMM: GUI: U32: Remove redundant code
- Translations are removed from the md5 warning message because logMessage doesn't support unicode.
2020-08-30 14:43:41 +02:00
aryanrawlani28
c855f6259a GUI: U32: Fix incorrect code for redirecting constructors.
- The changes previously were creating a temporary object whose lifetime was limited to that line.
- Additionally, use Strings instead of const char* in MessageDialogs.
2020-08-30 14:43:41 +02:00
aryanrawlani28
277d7dc64c MOHAWK: I18N: Move new translation filename to root dir POTFILES of Mohawk 2020-08-30 14:43:41 +02:00
aryanrawlani28
579b370183 ILLUSIONS: Fix conversion to string 2020-08-30 14:43:41 +02:00
aryanrawlani28
44230b6c8a GUI: U32: Return a string from FileBrowserDialog::getResult 2020-08-30 14:43:41 +02:00
aryanrawlani28
a9a63ec931 DEVTOOLS: CREATE_TRANSLATIONS: Remove useless const return value for useUTF8 member function. 2020-08-30 14:43:41 +02:00
aryanrawlani28
29b6274e67 BACKENDS: CLIPBOARD: Improve usage for SDL & Android.
- Fix possible issue for setting text inside clipboard for SDL.
- Always return a decoded string when from UTF-8 in Android when fetch clipboard.
2020-08-30 14:43:41 +02:00
aryanrawlani28
d41d0e9b22 JANITORIAL: Fix formatting issues 2020-08-30 14:43:41 +02:00
Thierry Crozat
495921b100 DEVTOOLS: Increase buffer size for po parser to avoid stack overflow errors 2020-08-30 14:43:41 +02:00
aryanrawlani28
b709e2f40c GLK: SCOTT: Improve usage of translations when looking. 2020-08-30 14:43:41 +02:00
aryanrawlani28
d4a280ef29 BACKENDS: DIALOGS: GTK: Fix incorrect memory usage & replace unsafe code.
- Encoding::convert which was previously used needed to be freed by the caller.
- With the direct conversion to utf8 by .encode(), this doesn't need to happen anymore
2020-08-30 14:43:41 +02:00
aryanrawlani28
d2da98d3b0 GLK: More usage of translations
- Add helpers in Advsys, Comprehend & ZCode to match functionality provided for strings.
2020-08-30 14:43:41 +02:00
aryanrawlani28
dd31b45be3 GLK: SCOTT: Fix unsafe memory usage 2020-08-30 14:43:41 +02:00
aryanrawlani28
dfc53b60e3 3DS: Use U32Strings for options dialog. 2020-08-30 14:43:41 +02:00
aryanrawlani28
f295d642a1 DS: Use U32Strings for Options dialog. 2020-08-30 14:43:41 +02:00
aryanrawlani28
ad20df4b27 SYMBIAN: Properly return U32String when get action name. 2020-08-30 14:43:41 +02:00
aryanrawlani28
6b7c646ba4 WII: Use U32Strings for options dialog. 2020-08-30 14:43:41 +02:00
Thierry Crozat
58d13fb863 IPHONE: Fix compilation 2020-08-30 14:43:41 +02:00
Thierry Crozat
e3c1fece97 IOS7: Fix compilation 2020-08-30 14:43:41 +02:00
aryanrawlani28
840f08d537 GUI: U32: Code cleanup & misc fixes
- Fix a translation for scumm subtitle settings dialogs.
2020-08-30 14:43:41 +02:00
aryanrawlani28
edec55cf64 GLK: SCOTT: Add new helpers to use translated strings. 2020-08-30 14:43:41 +02:00
aryanrawlani28
e29e5f1156 GUI: TTS: Fix compilation
- While building options, TTS used some translations-dependant variables.
2020-08-30 14:43:41 +02:00
aryanrawlani28
87df975686 GUI: U32: Wrap string in U32 if not using translations. 2020-08-30 14:43:41 +02:00
aryanrawlani28
bc8ead4a7c AGOS: GUI: U32: Remove redundant code 2020-08-30 14:43:41 +02:00
aryanrawlani28
c87d0d6834 BACKENDS: NETWORKING: Remove unused toUtf8 helper
- All conversions are handled by Common:: helpers.
2020-08-30 14:43:41 +02:00
aryanrawlani28
8c5611c3ca GUI: U32: Fix unused u32format where translations are used.
- Misc: Remove incorrect space.
2020-08-30 14:43:41 +02:00
Thierry Crozat
1e8cb29a54 IOS7: Fix memory leak and compilation for copy to clipboard 2020-08-30 14:43:41 +02:00
Thierry Crozat
caa8a5d7bb MACOSX: Fix memory leak in copy to clipboard 2020-08-30 14:43:41 +02:00
aryanrawlani28
d48453693c GUI: U32: Use translated strings as arguments for formatting function usage. 2020-08-30 14:43:41 +02:00
aryanrawlani28
140eddf90a GUI: U32: Allow vformat to take in a pointer to a translated string
- Fix signed/unsigned comparision in U32String::contains(U32String)
2020-08-30 14:43:41 +02:00
aryanrawlani28
6fa5d7ee2f CRYOMNI3D: Assign char outside if condition to avoid ambiguity with new contains utility 2020-08-30 14:43:41 +02:00
aryanrawlani28
1d85a3d8e1 GUI: U32: Fix incorrect type for single char in U32::vformat 2020-08-30 14:43:41 +02:00