From: Ævar Arnfjörð Bjarmason Date: Tue, 5 Jul 2005 23:01:51 +0000 (+0000) Subject: * Defined formatNum() X-Git-Tag: 1.5.0beta3~38 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=2418ed30e50d0957d4a83d1935b7cff3652a9097;p=lhc%2Fweb%2Fwiklou.git * Defined formatNum() * Removed the definition of getDefaultUserOptions() --- diff --git a/languages/LanguageNl.php b/languages/LanguageNl.php index cea539c3a0..d643962b29 100644 --- a/languages/LanguageNl.php +++ b/languages/LanguageNl.php @@ -848,12 +848,6 @@ te zijn om een pagina te verplaatsen.", class LanguageNl extends LanguageUtf8 { - function getDefaultUserOptions () { - $opt = Language::getDefaultUserOptions(); - $opt["date"]=2; - return $opt; - } - function getNamespaces() { global $wgNamespaceNamesNl; return $wgNamespaceNamesNl; @@ -906,10 +900,10 @@ class LanguageNl extends LanguageUtf8 { return parent::getMessage( $key ); } } - - # Inherit iconv(), ucfirst(), stripForSearch(), recodeForEdit(), recodeInput() - # since they are same as English/Latin1 - + + function formatNum( $number, $year = false ) { + return $year ? $number : strtr( $this->commafy( $number ), '.,', ',.' ); + } } ?>