summaryrefslogtreecommitdiff
path: root/languages/classes/LanguageNso.php
blob: 9ff89039d8ff60589a68e756e094828c5fc18f94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
 * Northern Sotho (Sesotho sa Leboa)
 *
 * @ingroup Language
 */
class LanguageNso 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];
	}
}