diff options
Diffstat (limited to 'languages/classes/LanguageSr_ec.php')
-rw-r--r-- | languages/classes/LanguageSr_ec.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/languages/classes/LanguageSr_ec.php b/languages/classes/LanguageSr_ec.php index 352e2930..cb9e8191 100644 --- a/languages/classes/LanguageSr_ec.php +++ b/languages/classes/LanguageSr_ec.php @@ -34,17 +34,19 @@ class LanguageSr_ec extends Language { * @return string */ function convertPlural( $count, $forms ) { - if ( !count( $forms ) ) { return ''; } + if ( !count( $forms ) ) { + return ''; + } $forms = $this->preConvertPlural( $forms, 3 ); if ( $count > 10 && floor( ( $count % 100 ) / 10 ) == 1 ) { return $forms[2]; } else { switch ( $count % 10 ) { - case 1: return $forms[0]; + case 1: return $forms[0]; case 2: case 3: - case 4: return $forms[1]; + case 4: return $forms[1]; default: return $forms[2]; } } |