Index: trunk/phase3/languages/classes/LanguageUk.php |
— | — | @@ -58,6 +58,10 @@ |
59 | 59 | |
60 | 60 | function convertPlural( $count, $forms ) { |
61 | 61 | if ( !count($forms) ) { return ''; } |
| 62 | + |
| 63 | + //if no number with word, then use $form[0] for singular and $form[1] for plural or zero |
| 64 | + if( count($forms) === 2 ) return $count == 1 ? $forms[0] : $forms[1]; |
| 65 | + |
62 | 66 | $forms = $this->preConvertPlural( $forms, 3 ); |
63 | 67 | |
64 | 68 | if ($count > 10 && floor(($count % 100) / 10) == 1) { |