Index: trunk/extensions/UsabilityInitiative/UserDailyContribs/UserDailyContribs.i18n.php |
— | — | @@ -0,0 +1,24 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalisation for Usability Initiative User Daily Contribs extension |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$messages = array(); |
| 11 | + |
| 12 | +/** English |
| 13 | + * @author Nimish Gautam |
| 14 | + */ |
| 15 | +$messages['en'] = array( |
| 16 | + 'userdailycontribs-desc' => 'User daily contributions for the click tracking extension', |
| 17 | +); |
| 18 | + |
| 19 | +/** Message documentation (Message documentation) |
| 20 | + * @author Raimond Spekking |
| 21 | + */ |
| 22 | +$messages['qqq'] = array( |
| 23 | + 'userdailycontribs-desc' => '{{desc}}', |
| 24 | +); |
| 25 | + |
Property changes on: trunk/extensions/UsabilityInitiative/UserDailyContribs/UserDailyContribs.i18n.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 26 | + native |
Index: trunk/extensions/UsabilityInitiative/UserDailyContribs/UserDailyContribs.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | | - * Usability Initiative User Daily Contribtions (for Click Tracking) extension |
| 4 | + * Usability Initiative User Daily Contributions (for Click Tracking) extension |
5 | 5 | * |
6 | 6 | * @file |
7 | 7 | * @ingroup Extensions |
— | — | @@ -24,11 +24,10 @@ |
25 | 25 | 'name' => 'User Daily Contributions', |
26 | 26 | 'author' => 'Nimish Gautam', |
27 | 27 | 'version' => '0.1.1', |
28 | | - 'url' => 'http://www.mediawiki.org/wiki/Extension:UsabilityInitiative' |
| 28 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:UsabilityInitiative', |
| 29 | + 'descriptionmsg' => 'userdailycontribs-desc', |
29 | 30 | ); |
30 | 31 | |
31 | | - |
32 | | - |
33 | 32 | // Includes parent extension |
34 | 33 | require_once( dirname( dirname( __FILE__ ) ) . "/UsabilityInitiative.php" ); |
35 | 34 | |
— | — | @@ -36,6 +35,9 @@ |
37 | 36 | $dir = dirname( __FILE__ ) . '/'; |
38 | 37 | $wgAutoloadClasses['UserDailyContribsHooks'] = $dir . 'UserDailyContribs.hooks.php'; |
39 | 38 | |
| 39 | +// Adds Internationalized Messages |
| 40 | +$wgExtensionMessagesFiles['UserDailyContribs'] = $dir . 'UserDailyContribs.i18n.php'; |
| 41 | + |
40 | 42 | // Hooked functions |
41 | 43 | $wgHooks['LoadExtensionSchemaUpdates'][] = 'UserDailyContribsHooks::schema'; |
42 | 44 | $wgHooks['ArticleSaveComplete'][] = 'UserDailyContribsHooks::storeNewContrib'; |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -1181,6 +1181,11 @@ |
1182 | 1182 | file = UsabilityInitiative/SimpleSearch/SimpleSearch.i18n.php |
1183 | 1183 | descmsg = simplesearch-desc |
1184 | 1184 | |
| 1185 | +Usability Initiative - User Daily Contribs |
| 1186 | +file = UsabilityInitiative/UserDailyContribs/UserDailyContribs.i18n.php |
| 1187 | +id = ext-ui-userdailycontribs |
| 1188 | +descmsg = userdailycontribs-desc |
| 1189 | + |
1185 | 1190 | Usage Statistics |
1186 | 1191 | file = UsageStatistics/SpecialUserStats.i18n.php |
1187 | 1192 | aliasfile = UsageStatistics/SpecialUserStats.alias.php |
Index: trunk/extensions/Translate/groups/MediaWikiExtensions.php |
— | — | @@ -478,6 +478,7 @@ |
479 | 479 | 'ext-ui-prefstats', |
480 | 480 | 'ext-ui-simplesearch', |
481 | 481 | 'ext-ui-usabilityinitiative', |
| 482 | + 'ext-ui-userdailycontribs', |
482 | 483 | 'ext-uploadblacklist', |
483 | 484 | 'ext-wikihiero', |
484 | 485 | 'ext-wikimediamessages', |
— | — | @@ -719,6 +720,7 @@ |
720 | 721 | 'ext-ui-optinlink', |
721 | 722 | 'ext-ui-prefstats', |
722 | 723 | 'ext-ui-simplesearch', |
| 724 | + 'ext-ui-userdailycontribs', |
723 | 725 | ); |
724 | 726 | |
725 | 727 | protected function init() { |