Index: trunk/phase3/languages/classes/LanguageKaa.php |
— | — | @@ -19,15 +19,33 @@ |
20 | 20 | /* Full code of function convertGrammar() is in development. Updates coming soon. */ |
21 | 21 | return $word; |
22 | 22 | } |
23 | | - |
| 23 | + /* |
| 24 | + * It fixes issue with ucfirst for transforming 'i' to 'İ' |
| 25 | + * |
| 26 | + */ |
24 | 27 | function ucfirst ( $string ) { |
25 | 28 | if ( $string[0] == 'i' ) { |
26 | | - return 'İ' . substr( $string, 1 ); |
| 29 | + $string = 'İ' . substr( $string, 1 ); |
27 | 30 | } else { |
28 | | - return parent::ucfirst( $string ); |
| 31 | + $string = parent::ucfirst( $string ); |
29 | 32 | } |
| 33 | + return $string; |
| 34 | + |
30 | 35 | } |
31 | 36 | |
| 37 | + /* |
| 38 | + * It fixes issue with lcfirst for transforming 'I' to 'ı' |
| 39 | + * |
| 40 | + */ |
| 41 | + function lcfirst ( $string ) { |
| 42 | + if ( $string[0] == 'I' ) { |
| 43 | + $string = 'ı' . substr( $string, 1 ); |
| 44 | + } else { |
| 45 | + $string = parent::lcfirst( $string ); |
| 46 | + } |
| 47 | + return $string; |
| 48 | + } |
| 49 | + |
32 | 50 | /** |
33 | 51 | * Avoid grouping whole numbers between 0 to 9999 |
34 | 52 | */ |
— | — | @@ -39,4 +57,4 @@ |
40 | 58 | } |
41 | 59 | } |
42 | 60 | |
43 | | -} |
\ No newline at end of file |
| 61 | +} |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -307,8 +307,9 @@ |
308 | 308 | for better compatibility and keeping the links shorter. Avoids problem |
309 | 309 | with corrupt links in Gmail on IE 6. |
310 | 310 | * (bug 14273) Fix for HTTP Accept header parsing with spaces as from Konqueror |
| 311 | +* (bug 14312) Update LanguageKaa.php for handling transform issues with i to İ |
| 312 | + and I to ı |
311 | 313 | |
312 | | - |
313 | 314 | === API changes in 1.13 === |
314 | 315 | |
315 | 316 | * Fixing main page display in meta=siteinfo |