Index: trunk/extensions/SideBarMenu/SideBarMenu.i18n.php |
— | — | @@ -1,25 +1,32 @@ |
2 | 2 | <?php |
3 | | -$messages = array(); |
4 | | - |
5 | | -/** Message documentation (Message documentation) |
| 3 | +/** |
| 4 | + * Internationalisation file for extension SideBarMenu |
6 | 5 | * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
7 | 8 | */ |
8 | | -$messages['qqq'] = array( |
9 | | - 'sidebarmenu-extension-description' => '{{desc}}', |
10 | | - 'sidebarmenu-parser-input-error' => '$1 is the error message returned', |
11 | | - 'sidebarmenu-parser-syntax-error' => '$1 is the line which failed to be parsed', |
12 | | - 'sidebarmenu-js-init-error' => 'General error message', |
13 | | - 'sidebarmenu-parser-menuitem-expanded-null' => 'parser.menuitem.expanded is a configuration property' |
14 | | -); |
15 | 9 | |
| 10 | +$messages = array(); |
| 11 | + |
16 | 12 | /** English |
17 | 13 | * @author Kim Eik |
18 | 14 | */ |
19 | 15 | $messages['en'] = array( |
20 | | - 'sidebarmenu-extension-description' => 'A simple sidebar menu parser which creates collapsable/expandable menus and sub-menus.', |
| 16 | + 'sidebarmenu-desc' => 'A simple sidebar menu parser which creates collapsable/expandable menus and sub-menus', |
21 | 17 | 'sidebarmenu-parser-input-error' => 'Parser returned with error: $1', |
22 | 18 | 'sidebarmenu-parser-syntax-error' => 'Could not parse "$1", make sure the syntax is correct.', |
23 | 19 | 'sidebarmenu-js-init-error' => 'Failed loading JavaScript resources.', |
24 | | - 'sidebarmenu-parser-menuitem-expanded-null' => '\'parser.menuitem.expanded\' should be true or false, instead it\'s null.' |
| 20 | + 'sidebarmenu-parser-menuitem-expanded-null' => '"parser.menuitem.expanded" should be true or false, instead it is null.' |
25 | 21 | ); |
26 | 22 | |
| 23 | +/** Message documentation (Message documentation) |
| 24 | + * @author Kim Eik |
| 25 | + */ |
| 26 | +$messages['qqq'] = array( |
| 27 | + 'sidebarmenu-desc' => '{{desc}}', |
| 28 | + 'sidebarmenu-parser-input-error' => '$1 is the error message returned', |
| 29 | + 'sidebarmenu-parser-syntax-error' => '$1 is the line which failed to be parsed', |
| 30 | + 'sidebarmenu-js-init-error' => 'General error message', |
| 31 | + 'sidebarmenu-parser-menuitem-expanded-null' => 'parser.menuitem.expanded is a configuration property' |
| 32 | +); |
| 33 | + |
Index: trunk/extensions/SideBarMenu/SideBarMenu.php |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | 'version' => 0.1, |
25 | 25 | 'author' => 'Kim Eik', |
26 | 26 | 'url' => 'https://www.mediawiki.org/wiki/Extension:SideBarMenu', |
27 | | - 'descriptionmsg' => 'sidebarmenu-extension.description' |
| 27 | + 'descriptionmsg' => 'sidebarmenu-desc' |
28 | 28 | ); |
29 | 29 | |
30 | 30 | |