Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -363,6 +363,7 @@ |
364 | 364 | * Remove unused OutputPage::addCookie() |
365 | 365 | * Set cookies to secure mode based on use of HTTPS or $wgCookieSecure |
366 | 366 | * (bug 4392) Update of LanguageSr.php |
| 367 | +* (bug 4382) Frisian numeric format |
367 | 368 | |
368 | 369 | |
369 | 370 | === Caveats === |
Index: trunk/phase3/languages/LanguageFy.php |
— | — | @@ -941,6 +941,16 @@ |
942 | 942 | return $wgSkinNamesFy; |
943 | 943 | } |
944 | 944 | |
| 945 | + |
| 946 | + var $digitTransTable = array( |
| 947 | + ',' => '.', |
| 948 | + '.' => ',' |
| 949 | + ); |
| 950 | + |
| 951 | + function formatNum( $number, $year = false ) { |
| 952 | + return !$year ? strtr($this->commafy($number), $this->digitTransTable ) : $number; |
| 953 | + } |
| 954 | + |
945 | 955 | function getDateFormats() { |
946 | 956 | global $wgDateFormatsFy; |
947 | 957 | return $wgDateFormatsFy; |