Change .doc extension to .txt so people stop asking why we have Word documents. WE...
[lhc/web/wiklou.git] / languages / LanguageBe.php
index af1dbdf..f9e9e73 100644 (file)
@@ -1,12 +1,15 @@
 <?php
-# Belarusian (Беларуская мова)
-# File by Ævar Arnfjörð Bjarmason and translations by 
-# be:EugeneZelenko, be:Monk (and others)
-#
-# This file is dual-licensed under GFDL and GPL.
-#
-# See: http://bugzilla.wikimedia.org/show_bug.cgi?id=1638
-#      http://be.wikipedia.org/wiki/Talk:LanguageBe.php
+/** Belarusian (Беларуская мова)
+  *
+  * @package MediaWiki
+  * @subpackage Language
+  *
+  * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com>
+  * @bug 1638
+  * @link http://be.wikipedia.org/wiki/Talk:LanguageBe.php
+  * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
+  * @license http://www.gnu.org/copyleft/fdl.html GNU Free Documentation License
+  */
 
 require_once('LanguageUtf8.php');
 
@@ -453,5 +456,10 @@ class LanguageBe extends LanguageUtf8 {
                        return parent::getMessage( $key );
                }
        }
+       
+       function formatNum( $number ) {
+               global $wgTranslateNumerals;
+               return $wgTranslateNumerals ? strtr($number, '.,', ',.' ) : $number;
+       }
 }
 ?>