Index: trunk/extensions/RelationLinks/RelationLinks.i18n.php |
— | — | @@ -0,0 +1,27 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +/** |
| 5 | + * Messages file for the RelationLinks extension |
| 6 | + * |
| 7 | + * @addtogroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +/** |
| 11 | + * Get all extension messages |
| 12 | + * |
| 13 | + * @return array |
| 14 | + */ |
| 15 | +$messages = array(); |
| 16 | + |
| 17 | +$messages['qqq'] = array( |
| 18 | + 'relationlinks-desc' => 'Description for Special:Version', |
| 19 | +); |
| 20 | + |
| 21 | +$messages['en'] = array( |
| 22 | + 'relationlinks-desc' => 'Adds link rel to header, that can used for navigation and for SEO', |
| 23 | +); |
| 24 | + |
| 25 | +$messages['de'] = array( |
| 26 | + 'relationlinks-desc' => 'Fügt im Header versteckte Navigationslinks hinzu die für die Navigation und für die Suchmaschinenoptimierung genutzt werden', |
| 27 | +); |
| 28 | + |
Property changes on: trunk/extensions/RelationLinks/RelationLinks.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 29 | + native |
Index: trunk/extensions/RelationLinks/RelationLinks.php |
— | — | @@ -16,10 +16,15 @@ |
17 | 17 | 'name' => 'RelationLinks', |
18 | 18 | 'author' => '[http://www.dasch-tour.de DaSch]', |
19 | 19 | 'description' => 'Adds link rel to header, that can used for navigation and for SEO', |
| 20 | + 'descriptionmsg' => 'relationlinks-desc', |
20 | 21 | 'version' => '0.2.1', |
21 | 22 | 'url' => 'http://www.mediawiki.org/wiki/Extension:RelationLinks', |
22 | 23 | ); |
| 24 | +$dir = dirname( __FILE__ ) . '/'; |
23 | 25 | |
| 26 | +// Internationalization |
| 27 | +$wgExtensionMessagesFiles['RelationLinks'] = $dir . 'RelationLinks.i18n.php'; |
| 28 | + |
24 | 29 | $wgHooks['ParserBeforeTidy'][] = 'addRelationLinks'; |
25 | 30 | |
26 | 31 | function addRelationLinks( &$parser, &$text ) { |