summaryrefslogtreecommitdiffstats
path: root/util/local_database/cldr2qlocalexml.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a typo in variable name in qlocale data generator.Denis Dzyubenko2010-05-251-1/+1
| | | | Reviewed-by: trustme
* Added default countries for Mongolian and Nepali.Denis Dzyubenko2010-05-191-0/+8
| | | | | Task-number: QTBUG-9370 Reviewed-by: trustme
* Convert date/time format to something that Qt understandsDenis Dzyubenko2010-04-161-4/+5
| | | | | | | | | | The date/time format in QLocale originate from unicode CLDR which has more format patterns that Qt understands, so when generating date for QLocale we remove unsupported patterns and convert some other to something that Qt understands. Task-number: QTBUG-9500 Reviewed-by: Thiago
* Improved CLDR parser.Denis Dzyubenko2010-03-221-10/+26
| | | | | | | | | Added support for "defaultNumberingSystem" element to get the right numeric information (decimal point, group separator, zero digit etc). Also fixed xpaths to the AM/PM text for CLDR 1.8.0 Reviewed-by: trustme
* Fixed reading draft data from CLDR.Denis Dzyubenko2010-03-221-7/+14
| | | | | | | | | | | | When draft resolution is specified we should accept it and all values "above" it. For example if we are searching for a group separator with a "contributed" resolution, we should also accept data that is "approved". In theory we should only accept data with "contributed" or "approved" resolutions and should not trust other resolutions. However in order not to introduce data regressions to QLocale we will only handle drafts for new data. Reviewed-by: Frans Englich
* Improved the cldr parser for QLocale.Denis Dzyubenko2010-03-221-138/+148
| | | | | | | | | | I believe now we parse the CLDR properly. If a data is not present in a file, we remove the last part of the filename and try again. And we should do the same if a file is an alias to some other file. For example az_AZ.xml is an alias to az_Latn_AZ.xml which itself falls back to az_Latn.xml and then to az.xml Reviewed-by: Frans Englich
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Add license headers to python codeJason McDonald2009-09-041-1/+41
| | | | Reviewed-by: Trust Me
* Long live Qt 4.5!Lars Knoll2009-03-231-0/+459