fix notice warning in some configs
[mediawiki.git] / languages / LanguageGu.php
blob3e1c93f61531665368c32d6b67c178f7df5e4f14
1 <?php
2 /**
3 * @package MediaWiki
4 * @subpackage Language
5 */
7 require_once( 'LanguageUtf8.php' );
9 class LanguageGu extends LanguageUtf8 {
10 var $digitTransTable = array(
11 '0' => '૦',
12 '1' => '૧',
13 '2' => '૨',
14 '3' => '૩',
15 '4' => '૪',
16 '5' => '૫',
17 '6' => '૬',
18 '7' => '૭',
19 '8' => '૮',
20 '9' => '૯'
23 function formatNum( $number ) {
24 global $wgTranslateNumerals;
25 if( $wgTranslateNumerals ) {
26 return strtr( $number, $this->digitTransTable );
27 } else {
28 return $number;