diff options
Diffstat (limited to 'languages/classes/LanguageUk.php')
-rw-r--r-- | languages/classes/LanguageUk.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/languages/classes/LanguageUk.php b/languages/classes/LanguageUk.php index dbebb134..4b1dfde5 100644 --- a/languages/classes/LanguageUk.php +++ b/languages/classes/LanguageUk.php @@ -62,6 +62,8 @@ class LanguageUk extends Language { //if no number with word, then use $form[0] for singular and $form[1] for plural or zero if( count($forms) === 2 ) return $count == 1 ? $forms[0] : $forms[1]; + // FIXME: CLDR defines 4 plural forms. Form for decimals is missing/ + // See http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html#uk $forms = $this->preConvertPlural( $forms, 3 ); if ($count > 10 && floor(($count % 100) / 10) == 1) { |