r102435 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102434‎ | r102435 | r102436 >
Date:20:09, 8 November 2011
Author:raymond
Status:resolved
Tags:
Comment:
Add i18n file
Modified paths:
  • /trunk/extensions/HeaderTabs/HeaderTabs.i18n.php (added) (history)
  • /trunk/extensions/HeaderTabs/HeaderTabs.php (modified) (history)

Diff [purge]

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 @@
2424 }
2525
2626 $wgExtensionCredits['parserhook'][] = array(
 27+ 'path' => __FILE__,
2728 'name' => 'Header Tabs',
28 - 'description' => 'Adds tabs to the page separating top-level sections.',
 29+ 'descriptionmsg' => 'headertabs-desc',
2930 'version' => '0.8.3',
3031 'author' => array( '[http://www.sergeychernyshev.com Sergey Chernyshev]', 'Yaron Koren' ),
3132 'url' => 'http://www.mediawiki.org/wiki/Extension:Header_Tabs'
3233 );
 34+// Translations
 35+$wgExtensionMessagesFiles['HeaderTabs'] = $dir . '/HeaderTabs.i18n.php';
3336
3437 $htUseHistory = true;
3538

Follow-up revisions

RevisionCommit summaryAuthorDate
r102437Fix eol-style:native (r102435)raymond20:15, 8 November 2011

Status & tagging log