Index: branches/RL2/extensions/Gadgets/Gadgets.i18n.php |
— | — | @@ -97,9 +97,9 @@ |
98 | 98 | 'gadgetmanager-comment-create' => 'Created definition of Gadget [[Special:Gadgets/$1|$1]]', |
99 | 99 | |
100 | 100 | # Validation error messages |
101 | | - 'gadget-validate-invalidjson' => 'The gadget definition page contents are not a valid JSON object.', |
102 | | - 'gadget-validate-notset' => 'The property $1 is not set.', |
103 | | - 'gadget-validate-wrongtype' => 'The property $1 must be of type $2 instead of $3.', |
| 101 | + 'gadgets-validate-invalidjson' => 'The gadget definition page contents are not a valid JSON object.', |
| 102 | + 'gadgets-validate-notset' => 'The property $1 is not set.', |
| 103 | + 'gadgets-validate-wrongtype' => 'The property $1 must be of type $2 instead of $3.', |
104 | 104 | |
105 | 105 | # Permissions |
106 | 106 | 'gadgets-cant-create' => 'You do not have the right to create new Gadgets.', |
— | — | @@ -177,8 +177,8 @@ |
178 | 178 | 'gadgetmanager-comment-create' => 'Edit summary used when creating gadget definition pages through AJAX on [[Special:Gadgets]].', |
179 | 179 | |
180 | 180 | # Validation error messages |
181 | | - 'gadget-validate-notset' => '$1 is the name of the property, e.g. settings.rights .', |
182 | | - 'gadget-validate-wrongtype' => '* $1 is the name of the property, e.g. settings.rights or module.messages[3]. |
| 181 | + 'gadgets-validate-notset' => '$1 is the name of the property, e.g. settings.rights .', |
| 182 | + 'gadgets-validate-wrongtype' => '* $1 is the name of the property, e.g. settings.rights or module.messages[3]. |
183 | 183 | * $2 is the type that this property is expected to have |
184 | 184 | * $3 is the type it actually had', |
185 | 185 | |
Index: branches/RL2/extensions/Gadgets/modules/ext.gadgets.gadgetmanager.js |
— | — | @@ -545,6 +545,7 @@ |
546 | 546 | meta: 'allmessages', |
547 | 547 | amprefix: data.term, |
548 | 548 | amnocontent: true, |
| 549 | + amincludelocal: true, |
549 | 550 | amlang: mw.config.get( 'wgContentLanguage' ) |
550 | 551 | }, function( json ) { |
551 | 552 | if ( json && json.query && json.query.allmessages ) { |