7 * @author Niklas Laxström
10 class LanguageMt
extends Language
{
17 function convertPlural( $count, $forms ) {
18 if ( !count( $forms ) ) { return ''; }
20 $forms = $this->preConvertPlural( $forms, 4 );
22 if ( $count === 1 ) $index = 0;
23 elseif ( $count === 0 ||
( $count %
100 > 1 && $count %
100 < 11 ) ) $index = 1;
24 elseif ( $count %
100 > 10 && $count %
100 < 20 ) $index = 2;
26 return $forms[$index];