aboutsummaryrefslogtreecommitdiffstats
path: root/languages/data
diff options
context:
space:
mode:
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>2024-09-07 14:25:28 -0400
committerAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>2024-09-07 15:08:41 -0400
commitd7b68f9e74b0a76367ad0805fac167ed226bd56c (patch)
treed9052c400d5a5b191f91c835dfdaf1fe002094cd /languages/data
parente659256efebe478fab1ce5d16b67faa2cccdf5d6 (diff)
downloadmediawikicore-d7b68f9e74b0a76367ad0805fac167ed226bd56c.tar.gz
mediawikicore-d7b68f9e74b0a76367ad0805fac167ed226bd56c.zip
Add plural rules for Interslavic
Bug: T369453 Change-Id: I824105682a49a23cfc7260d10467604b27a85e9b
Diffstat (limited to 'languages/data')
-rw-r--r--languages/data/plurals-mediawiki.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/languages/data/plurals-mediawiki.xml b/languages/data/plurals-mediawiki.xml
index 5589edc0b050..65db0710bed5 100644
--- a/languages/data/plurals-mediawiki.xml
+++ b/languages/data/plurals-mediawiki.xml
@@ -41,7 +41,12 @@
<pluralRule count="few">i = 0 or i = 2..6 or i = 1 and t != 0 @integer 0, 2~6 @decimal 0.0, 1.1, 2.0, 3.0, 4.0, 5.0, 6.0, 0.00, 2.00, 3.00, 4.00, 5.00, 6.00, …</pluralRule>
<pluralRule count="other"> @integer 7~19, 100, 1000, 10000, 1000000, … @decimal 7.0~9.9, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, …</pluralRule>
</pluralRules>
- <pluralRules locales="sr-el sr-ec">
+ <!--
+ sr-el and sr-ec are custom codes used in MediaWiki, and they are identical to sr,
+ which is present in the standard CLDR.
+ isv-latn use identical rules, and aren't present in CLDR. See task T369453.
+ -->
+ <pluralRules locales="isv-latn sr-el sr-ec">
<pluralRule count="one">v = 0 and i % 10 = 1 and i % 100 != 11 or f % 10 = 1 and f % 100 != 11 @integer 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, … @decimal 0.1, 1.1, 2.1, 3.1, 4.1, 5.1, 6.1, 7.1, 10.1, 100.1, 1000.1, …</pluralRule>
<pluralRule count="few">v = 0 and i % 10 = 2..4 and i % 100 != 12..14 or f % 10 = 2..4 and f % 100 != 12..14 @integer 2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, … @decimal 0.2~0.4, 1.2~1.4, 2.2~2.4, 3.2~3.4, 4.2~4.4, 5.2, 10.2, 100.2, 1000.2, …</pluralRule>
<pluralRule count="other"> @integer 0, 5~19, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0, 0.5~1.0, 1.5~2.0, 2.5~2.7, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, …</pluralRule>