Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Translation Team/Language Setup
(view source)
Revision as of 20:00, 24 February 2010
179 bytes added
,
20:00, 24 February 2010
m
moved
Walter is a wanker 14/Language Setup
to
Translation Team/Language Setup
over redirect: revert
Line 41:
Line 41:
Another common plural equation is:
Another common plural equation is:
−
plural=(n > 1)
+
:
plural=(n > 1)
Line 48:
Line 48:
Arabic:
Arabic:
−
nplurals=6
+
:
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;
+
:
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;
+
::''note that this is more complex than necessary as ''"&& n%100<=99"'' could be omitted without effect (this is due to conversion from CLDR format which uses "in 11..99")''
Russian:
Russian:
−
nplurals=3
+
:
nplurals=3
−
plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10< =4 && (n%100<10 or n%100>=20) ? 1 : 2)
+
:
plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10< =4 && (n%100<10 or n%100>=20) ? 1 : 2)
== Special Characters ==
== Special Characters ==
Cjl
Bureaucrats
,
Check users
,
Administrators
1,157
edits