diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2015-03-23 14:00:07 +0400 |
---|---|---|
committer | Konstantin Ritt <ritt.ks@gmail.com> | 2015-03-27 16:40:16 +0000 |
commit | d8a0b97f609164ac9f67b4a34d6a42d3c4e42b8c (patch) | |
tree | ba6578da9f6621aed923bdeb416c3cc82f746542 /util/local_database/cldr2qlocalexml.py | |
parent | 7946b83ace5dd5e58702580d48ecc26fda08e572 (diff) |
Update CLDR to v27
+ A bunch of fixes in the locale data
+ New scripts from Unicode 7.0
+ New locales
- Some locales disappeared (aa_DJ, aa_ER, st_LS, ss_SZ, swc_CD, tn_BW)
- Some locales lost their contents (i.e. en_Dsrt_US)
[ChangeLog][QtCore] QLocale data updated to CLDR v.27
Change-Id: Iba8c7884f8087e577cbb25a8fc106dd7bd3ebb5d
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'util/local_database/cldr2qlocalexml.py')
-rwxr-xr-x | util/local_database/cldr2qlocalexml.py | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/util/local_database/cldr2qlocalexml.py b/util/local_database/cldr2qlocalexml.py index 697a2b6f71..400b7a51f8 100755 --- a/util/local_database/cldr2qlocalexml.py +++ b/util/local_database/cldr2qlocalexml.py @@ -803,42 +803,42 @@ for key in locale_keys: print " <minus>" + fixOrdStrMinus(l['minus']) + "</minus>" print " <plus>" + fixOrdStrPlus(l['plus']) + "</plus>" print " <exp>" + fixOrdStrExp(l['exp']) + "</exp>" - print " <quotationStart>" + l['quotationStart'].encode('utf-8') + "</quotationStart>" - print " <quotationEnd>" + l['quotationEnd'].encode('utf-8') + "</quotationEnd>" - print " <alternateQuotationStart>" + l['alternateQuotationStart'].encode('utf-8') + "</alternateQuotationStart>" - print " <alternateQuotationEnd>" + l['alternateQuotationEnd'].encode('utf-8') + "</alternateQuotationEnd>" - print " <listPatternPartStart>" + l['listPatternPartStart'].encode('utf-8') + "</listPatternPartStart>" - print " <listPatternPartMiddle>" + l['listPatternPartMiddle'].encode('utf-8') + "</listPatternPartMiddle>" - print " <listPatternPartEnd>" + l['listPatternPartEnd'].encode('utf-8') + "</listPatternPartEnd>" - print " <listPatternPartTwo>" + l['listPatternPartTwo'].encode('utf-8') + "</listPatternPartTwo>" - print " <am>" + l['am'].encode('utf-8') + "</am>" - print " <pm>" + l['pm'].encode('utf-8') + "</pm>" - print " <firstDayOfWeek>" + l['firstDayOfWeek'].encode('utf-8') + "</firstDayOfWeek>" - print " <weekendStart>" + l['weekendStart'].encode('utf-8') + "</weekendStart>" - print " <weekendEnd>" + l['weekendEnd'].encode('utf-8') + "</weekendEnd>" - print " <longDateFormat>" + l['longDateFormat'].encode('utf-8') + "</longDateFormat>" - print " <shortDateFormat>" + l['shortDateFormat'].encode('utf-8') + "</shortDateFormat>" - print " <longTimeFormat>" + l['longTimeFormat'].encode('utf-8') + "</longTimeFormat>" - print " <shortTimeFormat>" + l['shortTimeFormat'].encode('utf-8') + "</shortTimeFormat>" - print " <standaloneLongMonths>" + l['standaloneLongMonths'].encode('utf-8') + "</standaloneLongMonths>" - print " <standaloneShortMonths>"+ l['standaloneShortMonths'].encode('utf-8') + "</standaloneShortMonths>" - print " <standaloneNarrowMonths>"+ l['standaloneNarrowMonths'].encode('utf-8') + "</standaloneNarrowMonths>" - print " <longMonths>" + l['longMonths'].encode('utf-8') + "</longMonths>" - print " <shortMonths>" + l['shortMonths'].encode('utf-8') + "</shortMonths>" - print " <narrowMonths>" + l['narrowMonths'].encode('utf-8') + "</narrowMonths>" - print " <longDays>" + l['longDays'].encode('utf-8') + "</longDays>" - print " <shortDays>" + l['shortDays'].encode('utf-8') + "</shortDays>" - print " <narrowDays>" + l['narrowDays'].encode('utf-8') + "</narrowDays>" - print " <standaloneLongDays>" + l['standaloneLongDays'].encode('utf-8') + "</standaloneLongDays>" - print " <standaloneShortDays>" + l['standaloneShortDays'].encode('utf-8') + "</standaloneShortDays>" - print " <standaloneNarrowDays>" + l['standaloneNarrowDays'].encode('utf-8') + "</standaloneNarrowDays>" - print " <currencyIsoCode>" + l['currencyIsoCode'].encode('utf-8') + "</currencyIsoCode>" - print " <currencySymbol>" + l['currencySymbol'].encode('utf-8') + "</currencySymbol>" - print " <currencyDisplayName>" + l['currencyDisplayName'].encode('utf-8') + "</currencyDisplayName>" + print " <quotationStart>" + escape(l['quotationStart']).encode('utf-8') + "</quotationStart>" + print " <quotationEnd>" + escape(l['quotationEnd']).encode('utf-8') + "</quotationEnd>" + print " <alternateQuotationStart>" + escape(l['alternateQuotationStart']).encode('utf-8') + "</alternateQuotationStart>" + print " <alternateQuotationEnd>" + escape(l['alternateQuotationEnd']).encode('utf-8') + "</alternateQuotationEnd>" + print " <listPatternPartStart>" + escape(l['listPatternPartStart']).encode('utf-8') + "</listPatternPartStart>" + print " <listPatternPartMiddle>" + escape(l['listPatternPartMiddle']).encode('utf-8') + "</listPatternPartMiddle>" + print " <listPatternPartEnd>" + escape(l['listPatternPartEnd']).encode('utf-8') + "</listPatternPartEnd>" + print " <listPatternPartTwo>" + escape(l['listPatternPartTwo']).encode('utf-8') + "</listPatternPartTwo>" + print " <am>" + escape(l['am']).encode('utf-8') + "</am>" + print " <pm>" + escape(l['pm']).encode('utf-8') + "</pm>" + print " <firstDayOfWeek>" + escape(l['firstDayOfWeek']).encode('utf-8') + "</firstDayOfWeek>" + print " <weekendStart>" + escape(l['weekendStart']).encode('utf-8') + "</weekendStart>" + print " <weekendEnd>" + escape(l['weekendEnd']).encode('utf-8') + "</weekendEnd>" + print " <longDateFormat>" + escape(l['longDateFormat']).encode('utf-8') + "</longDateFormat>" + print " <shortDateFormat>" + escape(l['shortDateFormat']).encode('utf-8') + "</shortDateFormat>" + print " <longTimeFormat>" + escape(l['longTimeFormat']).encode('utf-8') + "</longTimeFormat>" + print " <shortTimeFormat>" + escape(l['shortTimeFormat']).encode('utf-8') + "</shortTimeFormat>" + print " <standaloneLongMonths>" + escape(l['standaloneLongMonths']).encode('utf-8') + "</standaloneLongMonths>" + print " <standaloneShortMonths>"+ escape(l['standaloneShortMonths']).encode('utf-8') + "</standaloneShortMonths>" + print " <standaloneNarrowMonths>"+ escape(l['standaloneNarrowMonths']).encode('utf-8') + "</standaloneNarrowMonths>" + print " <longMonths>" + escape(l['longMonths']).encode('utf-8') + "</longMonths>" + print " <shortMonths>" + escape(l['shortMonths']).encode('utf-8') + "</shortMonths>" + print " <narrowMonths>" + escape(l['narrowMonths']).encode('utf-8') + "</narrowMonths>" + print " <longDays>" + escape(l['longDays']).encode('utf-8') + "</longDays>" + print " <shortDays>" + escape(l['shortDays']).encode('utf-8') + "</shortDays>" + print " <narrowDays>" + escape(l['narrowDays']).encode('utf-8') + "</narrowDays>" + print " <standaloneLongDays>" + escape(l['standaloneLongDays']).encode('utf-8') + "</standaloneLongDays>" + print " <standaloneShortDays>" + escape(l['standaloneShortDays']).encode('utf-8') + "</standaloneShortDays>" + print " <standaloneNarrowDays>" + escape(l['standaloneNarrowDays']).encode('utf-8') + "</standaloneNarrowDays>" + print " <currencyIsoCode>" + escape(l['currencyIsoCode']).encode('utf-8') + "</currencyIsoCode>" + print " <currencySymbol>" + escape(l['currencySymbol']).encode('utf-8') + "</currencySymbol>" + print " <currencyDisplayName>" + escape(l['currencyDisplayName']).encode('utf-8') + "</currencyDisplayName>" print " <currencyDigits>" + str(l['currencyDigits']) + "</currencyDigits>" print " <currencyRounding>" + str(l['currencyRounding']) + "</currencyRounding>" - print " <currencyFormat>" + l['currencyFormat'].encode('utf-8') + "</currencyFormat>" - print " <currencyNegativeFormat>" + l['currencyNegativeFormat'].encode('utf-8') + "</currencyNegativeFormat>" + print " <currencyFormat>" + escape(l['currencyFormat']).encode('utf-8') + "</currencyFormat>" + print " <currencyNegativeFormat>" + escape(l['currencyNegativeFormat']).encode('utf-8') + "</currencyNegativeFormat>" print " </locale>" print " </localeList>" print "</localeDatabase>" |