Basic integrated audio/video support, with Ogg implementation.
[mediawiki.git] / languages / classes / LanguageAr.php
blob514ff028c62d45d8e7688871a47a640386616492
1 <?php
2 /** Arabic (العربية)
4 * @addtogroup Language
6 * @author Niklas Laxström
7 */
8 class LanguageAr extends Language {
10 function convertPlural( $count, $w1, $w2, $w3, $w4, $w5) {
11 $forms = array($w1, $w2, $w3, $w4, $w5);
12 if ( $count == 1 ) {
13 $index = 0;
14 } elseif( $count == 2 ) {
15 $index = 1;
16 } elseif( $count < 11 && $count > 2 ) {
17 $index = 2;
18 } elseif( $count % 100 == 0) {
19 $index = 3;
20 } else {
21 $index = 4;
23 return $forms[$index];