diff options
Diffstat (limited to 'languages/classes/LanguageBe.php')
-rw-r--r-- | languages/classes/LanguageBe.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/classes/LanguageBe.php b/languages/classes/LanguageBe.php index b86a5f30..0b147333 100644 --- a/languages/classes/LanguageBe.php +++ b/languages/classes/LanguageBe.php @@ -15,15 +15,15 @@ class LanguageBe extends Language { function convertPlural( $count, $forms ) { - if ( !count($forms) ) { return ''; } + if ( !count( $forms ) ) { return ''; } // FIXME: CLDR defines 4 plural forms instead of 3 // http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html $forms = $this->preConvertPlural( $forms, 3 ); - if ($count > 10 && floor(($count % 100) / 10) == 1) { + if ( $count > 10 && floor( ( $count % 100 ) / 10 ) == 1 ) { return $forms[2]; } else { - switch ($count % 10) { + switch ( $count % 10 ) { case 1: return $forms[0]; case 2: case 3: |