fix notice warning in some configs
[mediawiki.git] / languages / LanguageLo.php
blobff8b07b5d643ec9c3367cecb08c6da5b87dd3362
1 <?php
2 /** Lao (ພາສາລາວ)
4 * @package MediaWiki
5 * @subpackage Language
7 * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
8 */
10 require_once( 'LanguageUtf8.php' );
12 class LanguageLo extends LanguageUtf8 {
13 var $digitTransTable = array(
14 '0' => '໐',
15 '1' => '໑',
16 '2' => '໒',
17 '3' => '໓',
18 '4' => '໔',
19 '5' => '໕',
20 '6' => '໖',
21 '7' => '໗',
22 '8' => '໘',
23 '9' => '໙'
26 function formatNum( $number ) {
27 global $wgTranslateNumerals;
28 if( $wgTranslateNumerals ) {
29 return strtr( $number, $this->digitTransTable );
30 } else {
31 return $number;