Index: trunk/extensions/SNMPquery/SNMPquery.i18n.php |
— | — | @@ -0,0 +1,18 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalisation for SNMPquery extension |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$messages = array(); |
| 11 | + |
| 12 | +/** English |
| 13 | + * @author Rudy Rucker, Jr.' |
| 14 | + */ |
| 15 | +$messages['en'] = array( |
| 16 | + 'snmpquery-desc' => 'Add SNMPget and SNMPwalk functions and return the data into the wiki', |
| 17 | +); |
| 18 | + |
| 19 | + |
Property changes on: trunk/extensions/SNMPquery/SNMPquery.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 20 | + native |
Index: trunk/extensions/SNMPquery/SNMPquery.php |
— | — | @@ -21,13 +21,17 @@ |
22 | 22 | } |
23 | 23 | |
24 | 24 | $wgExtensionCredits['parserhook'][] = array( |
| 25 | + 'path' => __FILE__, |
25 | 26 | 'name' => 'SNMPquery', |
26 | 27 | 'author' => 'Rudy Rucker, Jr.', |
27 | 28 | 'url' => 'http://www.mediawiki.org/wiki/Extension:SNMPquery', |
28 | | - 'description' => 'Add SNMP queries to your wiki! Example: What is the uptime of your box?', |
29 | | - 'version' => '0.1', |
30 | | - ); |
| 29 | + 'descriptionmsg' => 'snmpquery-desc', |
| 30 | + 'version' => '0.1.1', |
| 31 | +); |
31 | 32 | |
| 33 | +$dir = dirname( __FILE__ ); |
| 34 | +$wgExtensionMessagesFiles['SNMPquery'] = $dir . '/SNMPquery.i18n.php'; |
| 35 | + |
32 | 36 | # Define a setup function |
33 | 37 | $wgHooks['ParserFirstCallInit'][] = 'SNMP_Setup'; |
34 | 38 | |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -1129,6 +1129,8 @@ |
1130 | 1130 | magicfile = SmoothGallery/SmoothGallery.i18n.magic.php |
1131 | 1131 | ignored = smoothgallery-pagetext |
1132 | 1132 | |
| 1133 | +SNMP query |
| 1134 | + |
1133 | 1135 | Social Profile - System Gifts |
1134 | 1136 | aliasfile = SocialProfile/SocialProfile.alias.php |
1135 | 1137 | id = ext-socialprofile-systemgifts |