Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -728,6 +728,8 @@ |
729 | 729 | |
730 | 730 | Livelets |
731 | 731 | |
| 732 | +Local JQuery |
| 733 | + |
732 | 734 | Localisation Update |
733 | 735 | |
734 | 736 | Lockdown |
Index: trunk/extensions/LocalJQuery/LocalJQuery.php |
— | — | @@ -26,9 +26,12 @@ |
27 | 27 | 'name' => 'Local jQuery', |
28 | 28 | 'author' => array( 'Timo Tijhof' ), |
29 | 29 | 'url' => 'http://mediawiki.org/wiki/Extension:Local_jQuery', |
30 | | - 'description' => 'Load jQuery from [[MediaWiki:JQuery.js]] (with ResourceLoader)', |
| 30 | + 'descriptionmsg' => 'localjquery-desc', |
31 | 31 | ); |
32 | 32 | |
| 33 | +$dir = dirname(__FILE__); |
| 34 | +$wgExtensionMessagesFiles['LocalJQuery'] = $dir . '/LocalJQuery.i18n.php'; |
| 35 | + |
33 | 36 | // Create a wiki module for MediaWiki:JQuery.js |
34 | 37 | class JQueryWikiModule extends ResourceLoaderWikiModule { |
35 | 38 | protected function getPages( ResourceLoaderContext $context ) { |
Index: trunk/extensions/LocalJQuery/LocalJQuery.i18n.php |
— | — | @@ -0,0 +1,14 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalisation for Local jQuery |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$messages = array(); |
| 11 | + |
| 12 | +$messages['en'] = array( |
| 13 | + 'localjquery-desc' => 'Load jQuery from [[MediaWiki:JQuery.js]] (with ResourceLoader)', |
| 14 | +); |
| 15 | + |
Property changes on: trunk/extensions/LocalJQuery/LocalJQuery.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 16 | + native |