qt5base-lts/util/locale_database
Edward Welbourne d853816307 Fix handling of Suzhou numbering system
This only arises when the system locale tells us to use its zero as
our zero digit, since no CLDR locale uses it by default. Adapt an
MS-specific QLocale::system() test to use Suzhou numbering, so as to
test this.

While updating the locale-restoration code to also restore the digits
being set in that test, add restore code for the long time format,
where previously only the short time format was restored. Add a
comment to make it less likely one of those shall be missed in future.

Fixes: QTBUG-85409
Change-Id: I343324bb563ee0e455dfe77d4825bf8c3082ca30
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-07-17 12:19:01 +02:00
..
testlocales Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
cldr2qlocalexml.py Remove unused imports 2020-07-10 02:36:54 +02:00
cldr2qtimezone.py Remove unused imports 2020-07-10 02:36:54 +02:00
cldr.py Merge remote-tracking branch 'origin/5.15' into dev 2020-04-08 20:11:39 +02:00
dateconverter.py Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
enumdata.py Update CLDR to v36 2019-10-25 11:44:48 +02:00
formattags.txt Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00
ldml.py Fix handling of Suzhou numbering system 2020-07-17 12:19:01 +02:00
localetools.py Add tools to localetools to facilitate source file recreation 2020-04-02 19:42:45 +01:00
qlocalexml2cpp.py Support digit-grouping correctly 2020-07-14 14:52:08 +02:00
qlocalexml.py Support digit-grouping correctly 2020-07-14 14:52:08 +02:00
README Rename util/locale_database/ to include the e that was missing 2019-05-20 20:42:10 +02:00

locale_database is used to generate qlocale data from CLDR.

CLDR is the Common Locale Data Repository, a database for localized
data (like date formats, country names etc).  It is provided by the
Unicode consortium.