Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -162,23 +162,6 @@ |
163 | 163 | 'styles' => 'resources/ext.translate.css', |
164 | 164 | ) + $resourcePaths; |
165 | 165 | |
166 | | -$wgResourceModules['ext.translate.special.languagestats'] = array( |
167 | | - 'scripts' => 'resources/ext.translate.special.languagestats.js', |
168 | | - 'styles' => 'resources/ext.translate.special.languagestats.css', |
169 | | - 'messages' => array( 'translate-langstats-expandall', 'translate-langstats-collapseall', 'translate-langstats-expand', 'translate-langstats-collapse' ), |
170 | | -) + $resourcePaths; |
171 | | - |
172 | | -$wgResourceModules['ext.translate.quickedit'] = array( |
173 | | - 'scripts' => 'resources/ext.translate.quickedit.js', |
174 | | - 'styles' => 'resources/ext.translate.quickedit.css', |
175 | | - 'messages' => array( 'translate-js-nonext', 'translate-js-save-failed' ), |
176 | | - 'dependencies' => array( |
177 | | - 'jquery.form', |
178 | | - 'jquery.ui.dialog', |
179 | | - 'jquery.autoresize', |
180 | | - ), |
181 | | -) + $resourcePaths; |
182 | | - |
183 | 166 | $wgResourceModules['ext.translate.messagetable'] = array( |
184 | 167 | 'scripts' => 'resources/ext.translate.messagetable.js', |
185 | 168 | 'styles' => 'resources/ext.translate.messagetable.css', |
— | — | @@ -196,27 +179,21 @@ |
197 | 180 | ), |
198 | 181 | ) + $resourcePaths; |
199 | 182 | |
200 | | -$wgResourceModules['ext.translate.special.translate'] = array( |
201 | | - 'styles' => 'resources/ext.translate.special.translate.css', |
202 | | - 'scripts' => 'resources/ext.translate.special.translate.js', |
203 | | - 'position' => 'top', |
204 | | - 'messages' => array( |
205 | | - 'translate-workflow-set-do', |
206 | | - 'translate-workflow-set-doing', |
207 | | - 'translate-workflow-set-done', |
| 183 | +$wgResourceModules['ext.translate.quickedit'] = array( |
| 184 | + 'scripts' => 'resources/ext.translate.quickedit.js', |
| 185 | + 'styles' => 'resources/ext.translate.quickedit.css', |
| 186 | + 'messages' => array( 'translate-js-nonext', 'translate-js-save-failed' ), |
| 187 | + 'dependencies' => array( |
| 188 | + 'jquery.form', |
| 189 | + 'jquery.ui.dialog', |
| 190 | + 'jquery.autoresize', |
208 | 191 | ), |
209 | 192 | ) + $resourcePaths; |
210 | 193 | |
211 | | -$wgResourceModules['ext.translate.special.supportedlanguages'] = array( |
212 | | - 'styles' => 'resources/ext.translate.special.supportedlanguages.css', |
213 | | - 'position' => 'top', |
| 194 | +$wgResourceModules['ext.translate.selecttoinput'] = array( |
| 195 | + 'scripts' => 'resources/ext.translate.selecttoinput.js', |
214 | 196 | ) + $resourcePaths; |
215 | 197 | |
216 | | -$wgResourceModules['ext.translate.special.pagetranslation'] = array( |
217 | | - 'styles' => 'resources/ext.translate.special.pagetranslation.css', |
218 | | - 'position' => 'top', |
219 | | -) + $resourcePaths; |
220 | | - |
221 | 198 | $wgResourceModules['ext.translate.special.importtranslations'] = array( |
222 | 199 | 'scripts' => 'resources/ext.translate.special.importtranslations.js', |
223 | 200 | 'dependencies' => array( |
— | — | @@ -224,10 +201,33 @@ |
225 | 202 | ), |
226 | 203 | ) + $resourcePaths; |
227 | 204 | |
228 | | -$wgResourceModules['ext.translate.selecttoinput'] = array( |
229 | | - 'scripts' => 'resources/ext.translate.selecttoinput.js', |
| 205 | +$wgResourceModules['ext.translate.special.languagestats'] = array( |
| 206 | + 'scripts' => 'resources/ext.translate.special.languagestats.js', |
| 207 | + 'styles' => 'resources/ext.translate.special.languagestats.css', |
| 208 | + 'messages' => array( 'translate-langstats-expandall', 'translate-langstats-collapseall', 'translate-langstats-expand', 'translate-langstats-collapse' ), |
230 | 209 | ) + $resourcePaths; |
231 | 210 | |
| 211 | +$wgResourceModules['ext.translate.special.pagetranslation'] = array( |
| 212 | + 'styles' => 'resources/ext.translate.special.pagetranslation.css', |
| 213 | + 'position' => 'top', |
| 214 | +) + $resourcePaths; |
| 215 | + |
| 216 | +$wgResourceModules['ext.translate.special.supportedlanguages'] = array( |
| 217 | + 'styles' => 'resources/ext.translate.special.supportedlanguages.css', |
| 218 | + 'position' => 'top', |
| 219 | +) + $resourcePaths; |
| 220 | + |
| 221 | +$wgResourceModules['ext.translate.special.translate'] = array( |
| 222 | + 'styles' => 'resources/ext.translate.special.translate.css', |
| 223 | + 'scripts' => 'resources/ext.translate.special.translate.js', |
| 224 | + 'position' => 'top', |
| 225 | + 'messages' => array( |
| 226 | + 'translate-workflow-set-do', |
| 227 | + 'translate-workflow-set-doing', |
| 228 | + 'translate-workflow-set-done', |
| 229 | + ), |
| 230 | +) + $resourcePaths; |
| 231 | + |
232 | 232 | $wgResourceModules['jquery.autoresize'] = array( |
233 | 233 | 'scripts' => 'resources/jquery.autoresize.js', |
234 | 234 | ) + $resourcePaths; |