Please don't break special characters and do not add BOM.
[mediawiki.git] / languages / LanguageDz.php
blob581faf35b0ae6513b88c594fd99b935dd00d499e
1 <?php
2 /** Dzongkha (རྫོང་ཁ)
4 * @package MediaWiki
5 * @subpackage Language
7 * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
8 */
10 require_once( 'LanguageUtf8.php' );
12 class LanguageDz 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;