r114006 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114005‎ | r114006 | r114007 >
Date:10:58, 16 March 2012
Author:nikerabbit
Status:ok
Tags:i18nreview 
Comment:
Update for cldr 21.0, unfortunately some rules were renumbered
Modified paths:
  • /trunk/extensions/Translate/data/plural-cldr.yaml (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/data/plural-cldr.yaml
@@ -1,27 +1,31 @@
2 -locales:
 2+locales:
33 af: Default
44 ak: One-zero
55 am: One-zero
66 ar: Arabic
 7+ asa: Default
78 az: Zero
8 - be: Rule J
 9+ be: Rule K
910 bem: Default
 11+ bez: Default
1012 bg: Default
1113 bh: One-zero
1214 bm: Zero
1315 bn: Default
1416 bo: Zero
15 - br: Rule S
 17+ br: Rule T
1618 brx: Default
17 - bs: Rule J
 19+ bs: Rule K
1820 ca: Default
19 - ccg: Default
 21+ cgg: Default
2022 chr: Default
21 - cs: Rule K
22 - cy: Rule P
 23+ cs: Rule L
 24+ cy: Rule Q
2325 da: Default
2426 de: Default
 27+ dv: Default
2528 dz: Zero
 29+ ee: Default
2630 el: Default
2731 en: Default
2832 eo: Default
@@ -36,15 +40,18 @@
3741 fr: Rule E
3842 fur: Default
3943 fy: Default
40 - ga: Has-dual
 44+ ga: Rule H
 45+ gd: Rule X
4146 gl: Default
4247 gsw: Default
4348 gu: Default
4449 guw: One-zero
 50+ gv: Rule W
4551 ha: Default
 52+ haw: Default
4653 he: Default
4754 hi: One-zero
48 - hr: Rule J
 55+ hr: Rule K
4956 hu: Zero
5057 id: Zero
5158 ig: Zero
@@ -52,155 +59,194 @@
5360 is: Default
5461 it: Default
5562 iu: Has-dual
56 - iw: Default
5763 ja: Zero
 64+ jmc: Default
5865 jv: Zero
5966 ka: Zero
6067 kab: Rule E
 68+ kaj: Default
 69+ kcg: Default
6170 kde: Zero
6271 kea: Zero
 72+ kk: Default
 73+ kl: Default
6374 km: Zero
6475 kn: Zero
6576 ko: Zero
 77+ ksb: Default
 78+ ksh: Rule U
6679 ku: Default
67 - lag: Rule Q
 80+ kw: Has-dual
 81+ lag: Rule R
6882 lb: Default
 83+ lg: Default
6984 ln: One-zero
7085 lo: Zero
71 - lt: Rule I
 86+ lt: Rule J
7287 lv: Rule F
7388 mas: Default
7489 mg: One-zero
75 - mk: Rule O
 90+ mk: Rule P
7691 ml: Default
7792 mn: Default
78 - mo: Rule H
 93+ mo: Rule I
7994 mr: Default
8095 ms: Zero
81 - mt: Rule N
 96+ mt: Rule O
8297 my: Zero
8398 nah: Default
 99+ naq: Has-dual
84100 nb: Default
 101+ nd: Default
85102 ne: Default
86103 nl: Default
87104 nn: Default
88105 "no": Default
 106+ nr: Default
89107 nso: One-zero
 108+ ny: Default
90109 nyn: Default
91110 om: Default
92111 or: Default
93112 pa: Default
94113 pap: Default
95 - pl: Rule L
 114+ pl: Rule M
96115 ps: Default
97116 pt: Default
98 - pt_PT: Default
99117 rm: Default
100 - ro: Rule H
101 - ru: Rule J
 118+ ro: Rule I
 119+ rof: Default
 120+ ru: Rule K
 121+ rwk: Default
102122 sah: Zero
103123 saq: Default
104124 se: Has-dual
 125+ seh: Default
105126 ses: Zero
106127 sg: Zero
107 - sh: Rule J
108 - shi: Rule R
109 - sk: Rule K
110 - sl: Rule M
 128+ sh: Rule K
 129+ shi: Rule S
 130+ sk: Rule L
 131+ sl: Rule N
111132 sma: Has-dual
112133 smi: Has-dual
113134 smj: Has-dual
114135 smn: Has-dual
115136 sms: Has-dual
 137+ sn: Default
116138 so: Default
117139 sq: Default
118 - sr: Rule J
 140+ sr: Rule K
 141+ ss: Default
119142 ssy: Default
 143+ st: Default
120144 sv: Default
121145 sw: Default
122146 syr: Default
123147 ta: Default
124148 te: Default
 149+ teo: Default
125150 th: Zero
126151 ti: One-zero
 152+ tig: Default
127153 tk: Default
128154 tl: One-zero
 155+ tn: Default
129156 to: Zero
130157 tr: Zero
131 - #tzm:
132 - uk: Rule J
 158+ ts: Default
 159+ tzm: Rule V
 160+ uk: Rule K
133161 ur: Default
 162+ ve: Default
134163 vi: Zero
 164+ vun: Default
135165 wa: One-zero
136166 wae: Default
137167 wo: Zero
 168+ xh: Default
138169 xog: Default
139170 yo: Zero
140171 zh: Zero
141172 zu: Default
142 -rulesets:
143 - Arabic:
 173+rulesets:
 174+ Arabic:
144175 few: n mod 100 in 3..10
145176 many: n mod 100 in 11..99
146177 one: n is 1
147178 two: n is 2
148179 zero: n is 0
149 - Default:
 180+ Default:
150181 one: n is 1
151 - Has-dual:
 182+ Has-dual:
152183 one: n is 1
153184 two: n is 2
154 - One-zero:
 185+ One-zero:
155186 one: n in 0..1
156 - Rule E:
 187+ Rule E:
157188 one: n within 0..2 and n is not 2
158 - Rule F:
 189+ Rule F:
159190 one: n mod 10 is 1 and n mod 100 is not 11
160191 zero: n is 0
161 - Rule H:
 192+ Rule H:
 193+ few: n in 3..6
 194+ many: n in 7..10
 195+ one: n is 1
 196+ two: n is 2
 197+ Rule I:
162198 few: n is 0 OR n is not 1 AND n mod 100 in 1..19
163199 one: n is 1
164 - Rule I:
 200+ Rule J:
165201 few: n mod 10 in 2..9 and n mod 100 not in 11..19
166202 one: n mod 10 is 1 and n mod 100 not in 11..19
167 - Rule J:
 203+ Rule K:
168204 few: n mod 10 in 2..4 and n mod 100 not in 12..14
169205 many: n mod 10 is 0 or n mod 10 in 5..9 or n mod 100 in 11..14
170206 one: n mod 10 is 1 and n mod 100 is not 11
171 - Rule K:
 207+ Rule L:
172208 few: n in 2..4
173209 one: n is 1
174 - Rule L:
 210+ Rule M:
175211 few: n mod 10 in 2..4 and n mod 100 not in 12..14
176212 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
177213 one: n is 1
178 - Rule M:
 214+ Rule N:
179215 few: n mod 100 in 3..4
180216 one: n mod 100 is 1
181217 two: n mod 100 is 2
182 - Rule N:
 218+ Rule O:
183219 few: n is 0 or n mod 100 in 2..10
184220 many: n mod 100 in 11..19
185221 one: n is 1
186 - Rule O:
 222+ Rule P:
187223 one: n mod 10 is 1 and n is not 11
188 - Rule P:
 224+ Rule Q:
189225 few: n is 3
190226 many: n is 6
191227 one: n is 1
192228 two: n is 2
193229 zero: n is 0
194 - Rule Q:
 230+ Rule R:
195231 one: n within 0..2 and n is not 0 and n is not 2
196232 zero: n is 0
197 - Rule R:
 233+ Rule S:
198234 few: n in 2..10
199235 one: n within 0..1
200 - Rule S:
201 - few: n is 3
202 - many: n is 6
 236+ Rule T:
 237+ few: n mod 10 in 3..4,9 and n mod 100 not in 10..19,70..79,90..99
 238+ many: n mod 1000000 is 0 and n is not 0
 239+ one: n mod 10 is 1 and n mod 100 not in 11,71,91
 240+ two: n mod 10 is 2 and n mod 100 not in 12,72,92
 241+ Rule U:
203242 one: n is 1
204 - two: n is 2
205243 zero: n is 0
 244+ Rule V:
 245+ one: n in 0..1 or n in 11..99
 246+ Rule W:
 247+ one: n mod 10 in 1..2 or n mod 20 is 0
 248+ Rule X:
 249+ few: n in 3..10,13..19
 250+ one: n in 1,11
 251+ two: n in 2,12
206252 Zero: []
207253

Status & tagging log