Index: trunk/extensions/Translate/TranslatePage.php |
— | — | @@ -193,10 +193,10 @@ |
194 | 194 | protected function settingsForm( $errors ) { |
195 | 195 | global $wgScript; |
196 | 196 | |
197 | | - //$task = $this->taskSelector(); |
198 | | - //$group = $this->groupSelector(); |
199 | | - //$language = $this->languageSelector(); |
200 | | - //$limit = $this->limitSelector(); |
| 197 | + $task = $this->taskSelector(); |
| 198 | + $group = $this->groupSelector(); |
| 199 | + $language = $this->languageSelector(); |
| 200 | + $limit = $this->limitSelector(); |
201 | 201 | $button = Xml::submitButton( wfMsg( TranslateUtils::MSG . 'submit' ) ); |
202 | 202 | |
203 | 203 | $options = array(); |
Index: trunk/extensions/Translate/ffs/OpenLayers.php |
— | — | @@ -159,7 +159,8 @@ |
160 | 160 | foreach ( $collection as $message ) { |
161 | 161 | $value = Xml::escapeJsString( $message->translation() ); |
162 | 162 | if( $this->keyquote ) { |
163 | | - $lines .= " '{$message->key()}': \"{$value}\",\n\n"; |
| 163 | + $key = Xml::escapeJsString( $message->key() ); |
| 164 | + $lines .= " '{$key}': \"{$value}\",\n\n"; |
164 | 165 | } else { |
165 | 166 | $lines .= " {$message->key()}: \"{$value}\",\n\n"; |
166 | 167 | } |