summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qlocale_data_p.h
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-05-08 15:20:30 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2019-05-20 20:42:11 +0200
commitb7d8169f02c43f2726eae46e20b8ccb6e8b18ee4 (patch)
tree26261c13f50322e6d8b3716743835121d93ba23b /src/corelib/tools/qlocale_data_p.h
parent248b6756da0d31c58672c0e356c3ec16e9088234 (diff)
Suggest name, when available, for unknown codes
When parsing the CLDR data, we only handle language, script and territory (which we call country) codes if they are known to our enumdata.py tables. When reporting the rest as unknown, in the content of an actual locale definition (not the likely subtag data), check whether en.xml can resolve the code for us; if it can, report the full name it provides, as a hint to whoever's running the script that an update to enumdata.py may be in order. Change-Id: I9ca1d6922a91d45bc436f4b622e5557261897d7f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/corelib/tools/qlocale_data_p.h')
0 files changed, 0 insertions, 0 deletions