Index: trunk/extensions/DynamicSidebar/DynamicSidebar.i18n.php |
— | — | @@ -0,0 +1,14 @@ |
| 2 | +<?php
|
| 3 | +/**
|
| 4 | + * Internationalisation file for DynamicSidebar extension.
|
| 5 | + *
|
| 6 | + * @file
|
| 7 | + * @ingroup Extensions
|
| 8 | + */
|
| 9 | +
|
| 10 | +$messages = array();
|
| 11 | +
|
| 12 | +$messages['en'] = array(
|
| 13 | + 'dynamicsidebar-desc' => 'Provides dynamic sidebars based on user pages, groups, and categories',
|
| 14 | +);
|
| 15 | +
|
Index: trunk/extensions/DynamicSidebar/DynamicSidebar.php |
— | — | @@ -42,10 +42,13 @@ |
43 | 43 | 'author' => 'Ryan Lane', |
44 | 44 | 'url' => 'http://www.mediawiki.org/wiki/Extension:DynamicSidebar', |
45 | 45 | 'description' => 'Provides dynamic sidebars based on user pages, groups, and categories.', |
46 | | - ); |
| 46 | + 'descriptionmsg' => 'dynamicsidebar-desc', |
| 47 | +); |
47 | 48 | |
48 | 49 | $wgExtensionFunctions[] = array( 'DynamicSidebar', 'setup' ); |
49 | 50 | $wgHooks['SkinBuildSidebar'][] = 'DynamicSidebar::modifySidebar'; |
50 | 51 | |
51 | 52 | $dir = dirname( __FILE__ ) . '/'; |
52 | 53 | $wgAutoloadClasses['DynamicSidebar'] = $dir . 'DynamicSidebar.body.php'; |
| 54 | +$wgExtensionMessagesFiles['DynamicSidebar'] = $dir . 'DynamicSidebar.i18n.php'; |
| 55 | + |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -329,6 +329,8 @@ |
330 | 330 | |
331 | 331 | Duplicator |
332 | 332 | |
| 333 | +Dynamic Sidebar |
| 334 | + |
333 | 335 | Edit Count |
334 | 336 | aliasfile = Editcount/SpecialEditcount.alias.php |
335 | 337 | file = Editcount/SpecialEditcount.i18n.php |