diff options
Diffstat (limited to 'languages/data')
-rw-r--r-- | languages/data/plurals-mediawiki.xml | 7 | ||||
-rw-r--r-- | languages/data/plurals.xml | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/languages/data/plurals-mediawiki.xml b/languages/data/plurals-mediawiki.xml index 07e157a3..70d45a3c 100644 --- a/languages/data/plurals-mediawiki.xml +++ b/languages/data/plurals-mediawiki.xml @@ -2,9 +2,16 @@ <!DOCTYPE supplementalData SYSTEM "../../common/dtd/ldmlSupplemental.dtd"> <supplementalData> <plurals> + <!-- + The "one" and "two" rules are copied directly from CLDR. + The "many" rule overrides CLDR, because CLDR seems to have a mistake: + it's sometimes needed for multiples of 10, but not for 10 itself. + When the CLDR is fixed, this should be removed. + --> <pluralRules locales="he"> <pluralRule count="one">n is 1</pluralRule> <pluralRule count="two">n is 2</pluralRule> + <pluralRule count="many">n is not 0 AND n is not 10 AND n mod 10 is 0</pluralRule> </pluralRules> <pluralRules locales="dsb hsb"> <pluralRule count="one">n mod 100 is 1</pluralRule> diff --git a/languages/data/plurals.xml b/languages/data/plurals.xml index d1a403dc..d5a1cfe2 100644 --- a/languages/data/plurals.xml +++ b/languages/data/plurals.xml @@ -5,7 +5,7 @@ <generation date="$Date: 2013-01-03 07:17:41 +0530 (Thu, 03 Jan 2013) $"/> <plurals> <!-- if locale is known to have no plurals, there are no rules --> - <pluralRules locales="az bm bo dz fa id ig ii hu ja jv ka kde kea km kn ko lo ms my sah ses sg th to tr vi wo yo zh"/> + <pluralRules locales="az bm bo dz fa id ig ii hu ja jv ka kde kea km kn ko lo ms my sah ses sg th to tr vi wo yo zh"/> <pluralRules locales="ar"> <pluralRule count="zero">n is 0</pluralRule> <pluralRule count="one">n is 1</pluralRule> |