diff options
Diffstat (limited to 'languages/classes/LanguageSr_el.php')
-rw-r--r-- | languages/classes/LanguageSr_el.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/languages/classes/LanguageSr_el.php b/languages/classes/LanguageSr_el.php new file mode 100644 index 00000000..cba1b57e --- /dev/null +++ b/languages/classes/LanguageSr_el.php @@ -0,0 +1,28 @@ +<?php +/** + * @package MediaWiki + * @subpackage Language + */ + +#-------------------------------------------------------------------------- +# Internationalisation code +#-------------------------------------------------------------------------- + +class LanguageSr_el extends Language { + function convertPlural( $count, $wordform1, $wordform2, $wordform3) { + $count = str_replace ('.', '', $count); + if ($count > 10 && floor(($count % 100) / 10) == 1) { + return $wordform3; + } else { + switch ($count % 10) { + case 1: return $wordform1; + case 2: + case 3: + case 4: return $wordform2; + default: return $wordform3; + } + } + } + +} +?> |