mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
comments in locales data have served their purpose [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
09e3156120
commit
9cb1d8e4d0
2 changed files with 0 additions and 6967 deletions
|
@ -354,30 +354,20 @@ def printlocaledata(frommap, key):
|
|||
return
|
||||
print(''' {
|
||||
%s, %s, %s,
|
||||
// week
|
||||
%s, %s, %s,
|
||||
// symbols
|
||||
%s, %s, %s, %s, %s, %s, %s, %s, %s,
|
||||
// quotation
|
||||
%s, %s, %s, %s,
|
||||
// endonym
|
||||
%s, %s,
|
||||
// list pattern
|
||||
%s, %s, %s, %s,
|
||||
// date/time format
|
||||
%s, %s, %s, %s,
|
||||
// am/pm
|
||||
%s, %s,
|
||||
// currency
|
||||
%s, %s, %s, %s, %s,
|
||||
// month names
|
||||
%s,
|
||||
%s,
|
||||
%s,
|
||||
%s,
|
||||
%s,
|
||||
%s,
|
||||
// day names
|
||||
%s,
|
||||
%s,
|
||||
%s,
|
||||
|
@ -1100,7 +1090,6 @@ for likelysubtag in root.findall('./likelySubtags/likelySubtag'):
|
|||
'tolanguage' : likelytolanguage,
|
||||
'toscript' : likelytoscript,
|
||||
'tocountry' : likelytocountry,
|
||||
'to': likelysubtagto,
|
||||
}
|
||||
print('''static const struct subtagAliasTblData {
|
||||
const QLocale::Language fromlanguage;
|
||||
|
@ -1114,16 +1103,12 @@ print('''static const struct subtagAliasTblData {
|
|||
for key in sorted(likelysubtagsmap):
|
||||
value = likelysubtagsmap[key]
|
||||
print(''' {
|
||||
// from %s
|
||||
%s, %s, %s,
|
||||
// to %s
|
||||
%s, %s, %s
|
||||
},''' % (
|
||||
key,
|
||||
value['fromlanguage'],
|
||||
value['fromscript'],
|
||||
value['fromcountry'],
|
||||
value['to'],
|
||||
value['tolanguage'],
|
||||
value['toscript'],
|
||||
value['tocountry'],
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue