diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-07-28 11:52:48 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-07-28 11:52:48 +0200 |
commit | 222b01f5169f1c7e69762e0e8904c24f78f71882 (patch) | |
tree | 8e932e12546bb991357ec48eb1638d1770be7a35 /languages/classes/LanguageTl.php | |
parent | 00ab76a6b686e98a914afc1975812d2b1aaa7016 (diff) |
update to MediaWiki 1.16.0
Diffstat (limited to 'languages/classes/LanguageTl.php')
-rw-r--r-- | languages/classes/LanguageTl.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/languages/classes/LanguageTl.php b/languages/classes/LanguageTl.php new file mode 100644 index 00000000..23b6ad6f --- /dev/null +++ b/languages/classes/LanguageTl.php @@ -0,0 +1,16 @@ +<?php +/** + * + * @ingroup Language + */ +class LanguageTl extends Language { + /** + * Use singular form for zero + */ + function convertPlural( $count, $forms ) { + if ( !count($forms) ) { return ''; } + $forms = $this->preConvertPlural( $forms, 2 ); + + return ($count <= 1) ? $forms[0] : $forms[1]; + } +} |