Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -579,8 +579,8 @@ |
580 | 580 | * (bug 2835) Back out fix for bug 2802, caused regressions in category sort |
581 | 581 | * (bug 2866) Revert experimental, non-cross-platform sortable table hack |
582 | 582 | * PHP 4.1.2 compatibility fix: define floatval() equivalent if missing |
| 583 | +* (bug 2901) Number format for Catalan |
583 | 584 | |
584 | | - |
585 | 585 | === Caveats === |
586 | 586 | |
587 | 587 | Some output, particularly involving user-supplied inline HTML, may not |
Index: trunk/phase3/languages/LanguageCa.php |
— | — | @@ -957,6 +957,11 @@ |
958 | 958 | return parent::getMessage( $key ); |
959 | 959 | } |
960 | 960 | } |
| 961 | + |
| 962 | + function formatNum( $number, $year = false ) { |
| 963 | + return $year ? $number : strtr($this->commafy($number), '.,', ',.' ); |
| 964 | + } |
| 965 | + |
961 | 966 | } |
962 | 967 | |
963 | 968 | ?> |