diff options
Diffstat (limited to 'languages/classes/LanguageLv.php')
-rw-r--r-- | languages/classes/LanguageLv.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/languages/classes/LanguageLv.php b/languages/classes/LanguageLv.php index 2c8d9f31..84974c37 100644 --- a/languages/classes/LanguageLv.php +++ b/languages/classes/LanguageLv.php @@ -23,6 +23,9 @@ class LanguageLv extends Language { */ function convertPlural( $count, $forms ) { if ( !count($forms) ) { return ''; } + + // FIXME: CLDR defines 3 plural forms instead of 2. Form for 0 is missing. + // http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html#lv $forms = $this->preConvertPlural( $forms, 2 ); return ( ( $count % 10 == 1 ) && ( $count % 100 != 11 ) ) ? $forms[0] : $forms[1]; |