Index: trunk/extensions/Translate/groups/Nocc.php |
— | — | @@ -20,17 +20,17 @@ |
21 | 21 | public function setPath( $value ) { $this->fileDir = $value; } |
22 | 22 | |
23 | 23 | protected $codeMap = array( |
24 | | - 'fa' => 'farsi', |
25 | 24 | 'sr-el' => 'sr', |
26 | | - 'ko' => 'kr', |
27 | | - 'zh-hans' => 'zh-gb', |
28 | | - 'zh-hant' => 'zh-tw', |
29 | 25 | ); |
30 | 26 | |
31 | | -/* protected $optional = array( |
32 | | - 'key', |
33 | | - ); */ |
| 27 | + protected $optional = array( |
| 28 | + 'lang_locale', 'lang_dir', |
| 29 | + ); |
34 | 30 | |
| 31 | + protected $ignored = array( |
| 32 | + 'charset', |
| 33 | + ); |
| 34 | + |
35 | 35 | public $header = '<?php |
36 | 36 | /** |
37 | 37 | * Language configuration file for NOCC |