Index: trunk/phase3/languages/classes/LanguageKk.php |
— | — | @@ -245,7 +245,7 @@ |
246 | 246 | * It translates text into variant |
247 | 247 | */ |
248 | 248 | function translate( $text, $toVariant ) { |
249 | | - global $wgContLanguageCode; |
| 249 | + global $wgLanguageCode; |
250 | 250 | $text = parent::translate( $text, $toVariant ); |
251 | 251 | |
252 | 252 | $letters = ''; |
— | — | @@ -253,20 +253,20 @@ |
254 | 254 | case 'kk-cyrl': |
255 | 255 | case 'kk-kz': |
256 | 256 | $letters = KK_L_UC . KK_L_LC . 'ʺʹ#0123456789'; |
257 | | - $wgContLanguageCode = 'kk'; |
| 257 | + $wgLanguageCode = 'kk'; |
258 | 258 | break; |
259 | 259 | case 'kk-latn': |
260 | 260 | case 'kk-tr': |
261 | 261 | $letters = KK_C_UC . KK_C_LC . '№0123456789'; |
262 | | - $wgContLanguageCode = 'kk-Latn'; |
| 262 | + $wgLanguageCode = 'kk-Latn'; |
263 | 263 | break; |
264 | 264 | case 'kk-arab': |
265 | 265 | case 'kk-cn': |
266 | 266 | $letters = KK_C_UC . KK_C_LC . /*KK_L_UC.KK_L_LC.'ʺʹ'.*/',;\?%\*№0123456789'; |
267 | | - $wgContLanguageCode = 'kk-Arab'; |
| 267 | + $wgLanguageCode = 'kk-Arab'; |
268 | 268 | break; |
269 | 269 | default: |
270 | | - $wgContLanguageCode = 'kk'; |
| 270 | + $wgLanguageCode = 'kk'; |
271 | 271 | return $text; |
272 | 272 | } |
273 | 273 | // disable conversion variables like $1, $2... |