summaryrefslogtreecommitdiff
path: root/languages/classes/LanguageBh.php
blob: 46e4418c169d9e4f6821fc2420a28cbdd1b04de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
 * Bihari (भोजपुरी)
 *
 * @ingroup Language
 */
class LanguageBh extends Language {
	/**
	 * Use singular form for zero
	 *
	 * @param $count int
	 * @param $forms array
	 *
	 * @return string
	 */
	function convertPlural( $count, $forms ) {
		if ( !count( $forms ) ) { return ''; }
		$forms = $this->preConvertPlural( $forms, 2 );

		return ( $count <= 1 ) ? $forms[0] : $forms[1];
	}
}