diff options
| author | Edward Welbourne <[email protected]> | 2023-07-27 18:50:21 +0200 |
|---|---|---|
| committer | Edward Welbourne <[email protected]> | 2023-08-01 15:36:31 +0200 |
| commit | 5db5d3e4b1e4c3ba996f9cc6109d1d0309255aa3 (patch) | |
| tree | c5f27e563f4f9d49f95e8e794d5195078e2f5b89 | |
| parent | 8a762c6f0f1155d402fbc31f422fd4aa7fffaddd (diff) | |
Add new languages and a script for CLDR v43
Also add a comment to check the locales new additions enable do have
substantial data. Some of those added in the past are more or less
stubs, for all that they're officially present.
Task-number: QTBUG-111550
Change-Id: I04d46ee96303ecec56c056a0deff6a9457b863e9
Reviewed-by: Ievgenii Meshcheriakov <[email protected]>
Reviewed-by: Mate Barany <[email protected]>
| -rw-r--r-- | util/locale_database/enumdata.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/util/locale_database/enumdata.py b/util/locale_database/enumdata.py index 0c5c5dbd5ea..17279e6e26e 100644 --- a/util/locale_database/enumdata.py +++ b/util/locale_database/enumdata.py @@ -367,7 +367,15 @@ language_map = { 334: ("Toki Pona", "tok"), 335: ("Pijin", "pis"), 336: ("Obolo", "ann"), + # added in CLDR v43 + 337: ("Baluchi", "bal"), + 338: ("Ligurian", "lij"), + 339: ("Rohingya", "rhg"), + 340: ("Torwali", "trw"), } +# Don't add languages just because they exist; check CLDR does provide +# substantial data for locales using it; and check, once added, they +# don't show up in cldr2qlocalexmo.py's unused listing. language_aliases = { # Renamings prior to Qt 6.0 (CLDR v37): @@ -837,6 +845,8 @@ script_map = { 139: ("Vai", "Vaii"), 140: ("Varang Kshiti", "Wara"), 141: ("Yi", "Yiii"), + # Added at CLDR v43 + 142: ("Hanifi", "Rohg"), # Used for Rohingya } script_aliases = { |
