Add a couple of comments from my WC
[lhc/web/wiklou.git] / languages / classes / LanguageLn.php
1 <?php
2 /**
3 * Lingala (Lingála)
4 *
5 * @ingroup Language
6 */
7 class LanguageLn extends Language {
8 /**
9 * Use singular form for zero
10 * http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html#ln
11
12 */
13 function convertPlural( $count, $forms ) {
14 if ( !count( $forms ) ) { return ''; }
15 $forms = $this->preConvertPlural( $forms, 2 );
16
17 return ( $count <= 1 ) ? $forms[0] : $forms[1];
18 }
19 }