r95183 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95182‎ | r95183 | r95184 >
Date:23:57, 21 August 2011
Author:siebrand
Status:resolved (Comments)
Tags:
Comment:
Modified paths:
  • /trunk/extensions/Translate/data/plural-gettext.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/data/plural-gettext.txt
@@ -1,3 +1,4 @@
 2+ach nplurals=2; plural=(n > 1);
23 af nplurals=2; plural=(n != 1);
34 ak nplurals=2; plural=(n > 1);
45 am nplurals=2; plural=(n > 1);
@@ -3,4 +4,5 @@
45 ar nplurals=6; plural=(n == 0) ? 0 : ( (n == 1) ? 1 : ( (n == 2) ? 2 : ( (n%100 >= 3 && n%100 <= 10) ? 3 : ( (n%100 >= 11 && n%100 <= 99) ? 4 : 5 ) ) ) );
56 arn nplurals=2; plural=(n > 1);
 7+ast nplurals=2; plural=(n != 1);
68 ay nplurals=1; plural=0;
79 az nplurals=2; plural=(n != 1);
@@ -12,6 +14,7 @@
1315 br nplurals=2; plural=(n > 1);
1416 bs nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= 2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );
1517 ca nplurals=2; plural=(n != 1);
 18+cgg nplurals=1; plural=0;
1619 cs nplurals=3; plural=(n == 1) ? 0 : ( (n >= 2 && n <= 4) ? 1 : 2 );
1720 csb nplurals=3; plural=(n == 1) ? 0 : ( (n%10 >= 2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );
1821 cy nplurals=6; plural=(n == 0) ? 0 : ( (n == 1) ? 1 : ( (n == 2) ? 2 : ( (n == 3) ? 3 : ( (n == 6) ? 4 : 5 ) ) ) );
@@ -33,6 +36,7 @@
3437 fur nplurals=2; plural=(n != 1);
3538 fy nplurals=2; plural=(n != 1);
3639 ga nplurals=5; plural=(n == 1) ? 0 : ( (n == 2) ? 1 : ( (n < 7) ? 2 : ( (n < 11) ? 3 : 4 ) ) );
 40+gd nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3;
3741 gl nplurals=2; plural=(n != 1);
3842 gu nplurals=2; plural=(n != 1);
3943 gun nplurals=2; plural=(n > 1);
@@ -42,12 +46,15 @@
4347 hr nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= 2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );
4448 hu nplurals=2; plural=(n != 1);
4549 hy nplurals=2; plural=(n != 1);
 50+ia nplurals=2; plural=(n != 1);
4651 id nplurals=1; plural=0;
4752 is nplurals=2; plural=(n != 1);
4853 it nplurals=2; plural=(n != 1);
4954 ja nplurals=1; plural=0;
 55+jbo nplurals=1; plural=0;
5056 jv nplurals=2; plural=(n != 0);
5157 ka nplurals=1; plural=0;
 58+kk nplurals=1; plural=0;
5259 km nplurals=1; plural=0;
5360 kn nplurals=2; plural=(n != 1);
5461 ko nplurals=1; plural=0;
@@ -59,11 +66,14 @@
6067 lo nplurals=1; plural=0;
6168 lt nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= 2 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );
6269 lv nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n != 0) ? 1 : 2 );
 70+mai nplurals=2; plural=(n != 1);
 71+mfe nplurals=2; plural=(n > 1);
6372 mg nplurals=2; plural=(n > 1);
6473 mi nplurals=2; plural=(n > 1);
6574 mk nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;
6675 ml nplurals=2; plural=(n != 1);
6776 mn nplurals=2; plural=(n != 1);
 77+mnk nplurals=3; plural=(n==0 ? 0 : n==1 ? 1 : 2;
6878 mr nplurals=2; plural=(n != 1);
6979 ms nplurals=1; plural=0;
7080 mt nplurals=4; plural=(n == 1) ? 0 : ( (n == 0 || (n%100 > 1 && n%100 < 11)) ? 1 : ( (n%100 > 10 && n%100 < 20) ? 2 : 3 ) );
@@ -75,6 +85,7 @@
7686 nn nplurals=2; plural=(n != 1);
7787 no nplurals=2; plural=(n != 1);
7888 nso nplurals=2; plural=(n > 1);
 89+oc nplurals=2; plural=(n > 1);
7990 or nplurals=2; plural=(n != 1);
8091 pa nplurals=2; plural=(n != 1);
8192 pap nplurals=2; plural=(n != 1);
@@ -83,9 +94,11 @@
8495 ps nplurals=2; plural=(n != 1);
8596 pt nplurals=2; plural=(n != 1);
8697 pt-br nplurals=2; plural=(n > 1);
 98+rm nplurals=2; plural=(n!=1);
8799 ro nplurals=3; plural=(n == 1) ? 0 : ( (n == 0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2 );
88100 ru nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= 2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );
89101 sco nplurals=2; plural=(n != 1);
 102+si nplurals=2; plural=(n != 1);
90103 sk nplurals=3; plural=(n == 1) ? 0 : ( (n >= 2 && n <= 4) ? 1 : 2 );
91104 sl nplurals=4; plural=(n%100 == 1) ? 0 : ( (n%100 == 2) ? 1 : ( (n%100 == 3 || n%100 == 4) ? 2 : 3 ) );
92105 so nplurals=2; plural=(n != 1);
@@ -93,6 +106,7 @@
94107 sr nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= 2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );
95108 su nplurals=1; plural=0;
96109 sv nplurals=2; plural=(n != 1);
 110+sw nplurals=2; plural=(n != 1);
97111 ta nplurals=2; plural=(n != 1);
98112 te nplurals=2; plural=(n != 1);
99113 tg nplurals=2; plural=(n != 1);
@@ -100,11 +114,15 @@
101115 ti nplurals=2; plural=(n > 1);
102116 tk nplurals=2; plural=(n != 1);
103117 tr nplurals=1; plural=0;
 118+tt nplurals=1; plural=0;
 119+ug nplurals=1; plural=0;
104120 uk nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= 2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );
105121 ur nplurals=2; plural=(n != 1);
106122 uz nplurals=1; plural=0;
107123 vi nplurals=1; plural=0;
108124 wa nplurals=2; plural=(n > 1);
 125+wo nplurals=1; plural=0;
 126+yo nplurals=2; plural=(n != 1);
109127 zh nplurals=1; plural=0;
110128 zh-hans nplurals=1; plural=0;
111129 zh-hant nplurals=1; plural=0;

Follow-up revisions

RevisionCommit summaryAuthorDate
r95188Followup r95183 - partial stylizenikerabbit06:56, 22 August 2011
r95195Followup r95183 add missing bracketreedy12:31, 22 August 2011

Comments

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

Did you only add missing ones or did you also check if some of the existing ones are different?

#Comment by Siebrand (talk | contribs)   06:47, 22 August 2011

Kind of did a half ass job here. The former for gettext, somewhat of the former for cldr.

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

Is it me or is there a missing round bracket here :

+mnk nplurals=3; plural=(n==0 ? 0 : n==1 ? 1 : 2;

Status & tagging log