summaryrefslogtreecommitdiff
path: root/languages/classes/LanguageSr_el.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-06-22 11:28:20 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-06-22 11:28:20 +0200
commit9db190c7e736ec8d063187d4241b59feaf7dc2d1 (patch)
tree46d1a0dee7febef5c2d57a9f7b972be16a163b3d /languages/classes/LanguageSr_el.php
parent78677c7bbdcc9739f6c10c75935898a20e1acd9e (diff)
update to MediaWiki 1.17.0
Diffstat (limited to 'languages/classes/LanguageSr_el.php')
-rw-r--r--languages/classes/LanguageSr_el.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/languages/classes/LanguageSr_el.php b/languages/classes/LanguageSr_el.php
index 6ad55f4d..d43772af 100644
--- a/languages/classes/LanguageSr_el.php
+++ b/languages/classes/LanguageSr_el.php
@@ -1,17 +1,19 @@
<?php
/**
+ * Serbian (latin script)
+ *
* @ingroup Language
*/
class LanguageSr_el extends Language {
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) {
+ 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: