63afcf8ffc9327e42f8cf6d50490760534d89ac8
[lhc/web/wiklou.git] / languages / LanguageOr.php
1 <?php
2 /** Oriya (ଓଡ଼ିଆ)
3 *
4 * @package MediaWiki
5 * @subpackage Language
6 */
7
8 require_once( 'LanguageUtf8.php' );
9
10 class LanguageOr extends LanguageUtf8 {
11 var $digitTransTable = array(
12 '0' => '୦',
13 '1' => '୧',
14 '2' => '୨',
15 '3' => '୩',
16 '4' => '୪',
17 '5' => '୫',
18 '6' => '୬',
19 '7' => '୭',
20 '8' => '୮',
21 '9' => '୯',
22 );
23
24 function formatNum( $number ) {
25 global $wgTranslateNumerals;
26 if( $wgTranslateNumerals ) {
27 return strtr( $number, $this->digitTransTable );
28 } else {
29 return $number;
30 }
31 }
32 }
33
34 ?>