r95184 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95183‎ | r95184 | r95185 >
Date:00:11, 22 August 2011
Author:siebrand
Status:ok (Comments)
Tags:
Comment:
Modified paths:
  • /trunk/extensions/Translate/data/plural-cldr.yaml (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/data/plural-cldr.yaml
@@ -1,4 +1,4 @@
2 -locales:
 2+locales:
33 af: Default
44 ak: One-zero
55 am: One-zero
@@ -15,6 +15,7 @@
1616 brx: Default
1717 bs: Rule J
1818 ca: Default
 19+ ccg: Default
1920 chr: Default
2021 cs: Rule K
2122 cy: Rule P
@@ -47,8 +48,10 @@
4849 hu: Zero
4950 id: Zero
5051 ig: Zero
 52+ ii: Zero
5153 is: Default
5254 it: Default
 55+ iu: Has-dual
5356 iw: Default
5457 ja: Zero
5558 jv: Zero
@@ -63,8 +66,10 @@
6467 lag: Rule Q
6568 lb: Default
6669 ln: One-zero
 70+ lo: Zero
6771 lt: Rule I
6872 lv: Rule F
 73+ mas: Default
6974 mg: One-zero
7075 mk: Rule O
7176 ml: Default
@@ -81,6 +86,7 @@
8287 nn: Default
8388 "no": Default
8489 nso: One-zero
 90+ nyn: Default
8591 om: Default
8692 or: Default
8793 pa: Default
@@ -92,6 +98,8 @@
9399 rm: Default
94100 ro: Rule H
95101 ru: Rule J
 102+ sah: Zero
 103+ saq: Default
96104 se: Has-dual
97105 ses: Zero
98106 sg: Zero
@@ -107,8 +115,10 @@
108116 so: Default
109117 sq: Default
110118 sr: Rule J
 119+ ssy: Default
111120 sv: Default
112121 sw: Default
 122+ syr: Default
113123 ta: Default
114124 te: Default
115125 th: Zero
@@ -117,73 +127,76 @@
118128 tl: One-zero
119129 to: Zero
120130 tr: Zero
 131+ #tzm:
121132 uk: Rule J
122133 ur: Default
123134 vi: Zero
124135 wa: One-zero
 136+ wae: Default
125137 wo: Zero
 138+ xog: Default
126139 yo: Zero
127140 zh: Zero
128141 zu: Default
129 -rulesets:
130 - Arabic:
 142+rulesets:
 143+ Arabic:
131144 few: n mod 100 in 3..10
132145 many: n mod 100 in 11..99
133146 one: n is 1
134147 two: n is 2
135148 zero: n is 0
136 - Default:
 149+ Default:
137150 one: n is 1
138 - Has-dual:
 151+ Has-dual:
139152 one: n is 1
140153 two: n is 2
141 - One-zero:
 154+ One-zero:
142155 one: n in 0..1
143 - Rule E:
 156+ Rule E:
144157 one: n within 0..2 and n is not 2
145 - Rule F:
 158+ Rule F:
146159 one: n mod 10 is 1 and n mod 100 is not 11
147160 zero: n is 0
148 - Rule H:
 161+ Rule H:
149162 few: n is 0 OR n is not 1 AND n mod 100 in 1..19
150163 one: n is 1
151 - Rule I:
 164+ Rule I:
152165 few: n mod 10 in 2..9 and n mod 100 not in 11..19
153166 one: n mod 10 is 1 and n mod 100 not in 11..19
154 - Rule J:
 167+ Rule J:
155168 few: n mod 10 in 2..4 and n mod 100 not in 12..14
156169 many: n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14
157170 one: n mod 10 is 1 and n mod 100 is not 11
158 - Rule K:
 171+ Rule K:
159172 few: n in 2..4
160173 one: n is 1
161 - Rule L:
 174+ Rule L:
162175 few: n mod 10 in 2..4 and n mod 100 not in 12..14
163176 many: n is not 1 and n mod 10 in 0..1 or n mod 10 in 5..9 or n mod 100 in 12..14
164177 one: n is 1
165 - Rule M:
 178+ Rule M:
166179 few: n mod 100 in 3..4
167180 one: n mod 100 is 1
168181 two: n mod 100 is 2
169 - Rule N:
 182+ Rule N:
170183 few: n is 0 or n mod 100 in 2..10
171184 many: n mod 100 in 11..19
172185 one: n is 1
173 - Rule O:
 186+ Rule O:
174187 one: n mod 10 is 1 and n is not 11
175 - Rule P:
 188+ Rule P:
176189 few: n is 3
177190 many: n is 6
178191 one: n is 1
179192 two: n is 2
180193 zero: n is 0
181 - Rule Q:
 194+ Rule Q:
182195 one: n within 0..2 and n is not 0 and n is not 2
183196 zero: n is 0
184 - Rule R:
 197+ Rule R:
185198 few: n in 2..10
186199 one: n within 0..1
187 - Rule S:
 200+ Rule S:
188201 few: n is 3
189202 many: n is 6
190203 one: n is 1

Comments

#Comment by Nikerabbit (talk | contribs)   06:58, 22 August 2011

Was this produced by the script?

+  #tzm:
#Comment by Siebrand (talk | contribs)   08:22, 22 August 2011

Ehr. Is there a script? My update was done manually.

#Comment by Nikerabbit (talk | contribs)   08:31, 22 August 2011

Yes there is: cldr-plural-to-yaml.php

Status & tagging log