Add i18n file

Spaces2Tabs

Change-Id: I8a3c4711f6933ea514d302d478b8015c4df753ec
This commit is contained in:
raymond 2012-08-22 08:51:01 +02:00
parent 2bf929e959
commit e5fd3977e2
2 changed files with 37 additions and 7 deletions

22
Tabber.i18n.php Normal file
View file

@ -0,0 +1,22 @@
<?php
/**
* Internationalisation for Tabber extension
*
* @file
* @ingroup Extensions
*/
$messages = array();
/** English
* @author Eric Fortin
*/
$messages['en'] = array(
'tabber-desc' => 'Allows to create tabs within a page',
);
/** Message documentation (Message documentation) */
$messages['qqq'] = array(
'tabber-desc' => '{{desc}}',
);

View file

@ -1,12 +1,20 @@
<?php
if ( !defined( 'MEDIAWIKI' ) ) {
die( 'This file is part of a MediaWiki extension and is not a valid entry point.' );
}
# Credits
$wgExtensionCredits['parserhook'][] = array(
'name'=>'Tabber',
'author'=>'Eric Fortin',
'url'=>'http://www.mediawiki.org/wiki/Extension:Tabber',
'description'=>'Create tabs that contain wiki compatible based data',
'version'=>'1.2'
'name' => 'Tabber',
'author' => 'Eric Fortin',
'url' => 'https://www.mediawiki.org/wiki/Extension:Tabber',
'descriptionmsg' => 'tabber-desc',
'version' => '1.2'
);
$dir = dirname(__FILE__) . '/';
# Internationalisation file
$wgExtensionMessagesFiles['Tabber'] = $dir . 'Tabber.i18n.php';
$wgExtensionFunctions[] = "wfTabber";