Index: trunk/extensions/SidebarDonateBox/SidebarDonateBox.i18n.php |
— | — | @@ -0,0 +1,14 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalisation file for the SidebarDonateBox extension |
| 5 | + * @addtogroup Extensions |
| 6 | + */ |
| 7 | + |
| 8 | +$messages = array(); |
| 9 | + |
| 10 | +/** English |
| 11 | + * @author Tisane |
| 12 | + */ |
| 13 | +$messages['en'] = array( |
| 14 | + 'sidebardonatebox-desc' => 'Adds a custom donate box to the sidebar' |
| 15 | +); |
Property changes on: trunk/extensions/SidebarDonateBox/SidebarDonateBox.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 16 | + native |
Index: trunk/extensions/SidebarDonateBox/SidebarDonateBox.php |
— | — | @@ -25,12 +25,16 @@ |
26 | 26 | if ( !defined( 'MEDIAWIKI' ) ) die( "This is an extension to the MediaWiki package and cannot be run standalone." ); |
27 | 27 | |
28 | 28 | $wgExtensionCredits['parserhook'][] = array ( |
| 29 | + 'path' => __FILE__, |
29 | 30 | 'name' => 'SidebarDonateBox', |
30 | 31 | 'url' => 'http://mediawiki.org/wiki/Extension:SidebarDonateBox', |
31 | 32 | 'version' => '1.1a', |
32 | 33 | 'author' => "[http://mediawiki.org/wiki/User:Dantman Daniel Friesen]", |
33 | | - 'description' => "Adds a custom donate box to the sidebar" |
| 34 | + 'descriptionmsg' => 'sidebardonatebox-desc', |
34 | 35 | ); |
| 36 | +// Internationalization file |
| 37 | +$dir = dirname( __FILE__ ) . '/'; |
| 38 | +$wgExtensionMessagesFiles['SidebarDonateBox'] = $dir . 'SidebarDonateBox.i18n.php'; |
35 | 39 | |
36 | 40 | $wgHooks['SkinBuildSidebar'][] = 'efSidebarDonateBox'; |
37 | 41 | |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -1009,6 +1009,8 @@ |
1010 | 1010 | Show Processlist |
1011 | 1011 | aliasfile = ShowProcesslist/ShowProcesslist.alias.php |
1012 | 1012 | |
| 1013 | +Sidebar Donate Box |
| 1014 | + |
1013 | 1015 | Sign Document |
1014 | 1016 | aliasfile = SignDocument/SignDocument.alias.php |
1015 | 1017 | descmsg = signature-desc |