Index: trunk/extensions/HeaderTabs/HeaderTabs.i18n.php |
— | — | @@ -0,0 +1,15 @@ |
| 2 | +<?php
|
| 3 | +/**
|
| 4 | + * Internationalisation for Header Tabs extension
|
| 5 | + *
|
| 6 | + * @file
|
| 7 | + * @ingroup Extensions
|
| 8 | + */
|
| 9 | +
|
| 10 | +$messages = array();
|
| 11 | +
|
| 12 | +/** English */
|
| 13 | +$messages['en'] = array(
|
| 14 | + 'headertabs-desc' => 'Adds tabs to the page separating top-level sections',
|
| 15 | +);
|
| 16 | +
|
Index: trunk/extensions/HeaderTabs/HeaderTabs.php |
— | — | @@ -23,12 +23,15 @@ |
24 | 24 | } |
25 | 25 | |
26 | 26 | $wgExtensionCredits['parserhook'][] = array( |
| 27 | + 'path' => __FILE__, |
27 | 28 | 'name' => 'Header Tabs', |
28 | | - 'description' => 'Adds tabs to the page separating top-level sections.', |
| 29 | + 'descriptionmsg' => 'headertabs-desc', |
29 | 30 | 'version' => '0.8.3', |
30 | 31 | 'author' => array( '[http://www.sergeychernyshev.com Sergey Chernyshev]', 'Yaron Koren' ), |
31 | 32 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Header_Tabs' |
32 | 33 | ); |
| 34 | +// Translations |
| 35 | +$wgExtensionMessagesFiles['HeaderTabs'] = $dir . '/HeaderTabs.i18n.php'; |
33 | 36 | |
34 | 37 | $htUseHistory = true; |
35 | 38 | |