Commit graph

6 commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
aryanrawlani28
a9a63ec931 DEVTOOLS: CREATE_TRANSLATIONS: Remove useless const return value for useUTF8 member function. 2020-08-30 14:43:41 +02:00
aryanrawlani28
77937f3e2b GUI: U32: Remove more redundant code, and add UTF-8 check
Modifies the CREATE_TRANSLATIONS tool.

- Remove _charset for PoMessageEntryList
- Add useUTF8 bool variable and helper function
- Add UTF-8 checking for each po file. Error out if file is not coded in UTF-8.
2020-08-30 14:43:41 +02:00
Thierry Crozat
729264f116 I18N: Read language name preferably from custom 'X-Language-name' header
We have been abusing the 'Language' field to store the language name
that appears in the GUI for a translation. But this field is officially
supposed to store the language code, and most tools that edit po file
set it automatically. This has caused the language being changed by
mistake in the paste.

There is a provision for custom fields with a name starting with 'X-'
though. So Now, if defined, it will use the custom 'X-Language-name'
field, and fall back to 'Language' in case that custom field is not defined.
This should prevent the language being lost when not careful while
editing the translation.
2016-11-08 02:21:16 +00:00
Johannes Schickel
e96900aec3 DEVTOOLS: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Max Horn
6cf1de87ac DEVTOOLS: Renamed 'tools' directory to 'devtools' 2011-04-09 23:47:35 +02:00
Renamed from tools/create_translations/po_parser.h (Browse further)