Index: trunk/phase3/languages/messages/MessagesKm.php |
— | — | @@ -29,6 +29,10 @@ |
30 | 30 | '9' => '៩', # ៩ |
31 | 31 | ); |
32 | 32 | |
| 33 | +$separatorTransformTable = array( |
| 34 | + '.' => ',' |
| 35 | +); |
| 36 | + |
33 | 37 | $datePreferences = array( |
34 | 38 | 'default', |
35 | 39 | 'km', |
Index: trunk/phase3/languages/classes/LanguageKm.php |
— | — | @@ -0,0 +1,17 @@ |
| 2 | +<?php |
| 3 | +/** Khmer (ភាសាខ្មែរ) |
| 4 | + * |
| 5 | + * @ingroup Language |
| 6 | + * |
| 7 | + * @author Niklas Laxström |
| 8 | + */ |
| 9 | +class LanguageKm extends Language { |
| 10 | + function commafy($_) { |
| 11 | + /* NO-op for Khmer. Cannot use |
| 12 | + * $separatorTransformTable = array( ',' => '' ) |
| 13 | + * That would break when parsing and doing strstr '' => 'foo'; |
| 14 | + */ |
| 15 | + return $_; |
| 16 | + } |
| 17 | + |
| 18 | +} |
Property changes on: trunk/phase3/languages/classes/LanguageKm.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 19 | + native |