summaryrefslogtreecommitdiff
path: root/languages/LanguageIt.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2008-12-15 18:02:47 +0100
committerPierre Schmitz <pierre@archlinux.de>2008-12-15 18:02:47 +0100
commit396b28f3d881f5debd888ba9bb9b47c2d478a76f (patch)
tree10d6e1a721ee4ef69def34a57f02d7eb3fc9e31e /languages/LanguageIt.php
parent0be4d3ccf6c4fe98a72704f9463ecdea2ee5e615 (diff)
update to Mediawiki 1.13.3; some cleanups
Diffstat (limited to 'languages/LanguageIt.php')
-rw-r--r--languages/LanguageIt.php84
1 files changed, 0 insertions, 84 deletions
diff --git a/languages/LanguageIt.php b/languages/LanguageIt.php
deleted file mode 100644
index b0554c15..00000000
--- a/languages/LanguageIt.php
+++ /dev/null
@@ -1,84 +0,0 @@
-<?php
-/** Italian (Italiano)
- *
- * @package MediaWiki
- * @subpackage Language
- */
-
-require_once( 'LanguageUtf8.php' );
-
-if (!$wgCachedMessageArrays) {
- require_once('MessagesIt.php');
-}
-
-class LanguageIt extends LanguageUtf8 {
- private $mMessagesIt, $mNamespaceNamesIt = null;
-
- private $mQuickbarSettingsIt = array(
- 'Nessuno', 'Fisso a sinistra', 'Fisso a destra', 'Fluttuante a sinistra'
- );
-
- function __construct() {
- parent::__construct();
-
- global $wgAllMessagesIt;
- $this->mMessagesIt =& $wgAllMessagesIt;
-
- global $wgMetaNamespace;
- $this->mNamespaceNamesIt = array(
- NS_MEDIA => 'Media',
- NS_SPECIAL => 'Speciale',
- NS_MAIN => '',
- NS_TALK => 'Discussione',
- NS_USER => 'Utente',
- NS_USER_TALK => 'Discussioni_utente',
- NS_PROJECT => $wgMetaNamespace,
- NS_PROJECT_TALK => 'Discussioni_' . $wgMetaNamespace,
- NS_IMAGE => 'Immagine',
- NS_IMAGE_TALK => 'Discussioni_immagine',
- NS_MEDIAWIKI => 'MediaWiki',
- NS_MEDIAWIKI_TALK => 'Discussioni_MediaWiki',
- NS_TEMPLATE => 'Template',
- NS_TEMPLATE_TALK => 'Discussioni_template',
- NS_HELP => 'Aiuto',
- NS_HELP_TALK => 'Discussioni_aiuto',
- NS_CATEGORY => 'Categoria',
- NS_CATEGORY_TALK => 'Discussioni_categoria'
- );
-
- }
-
- function getNamespaces() {
- return $this->mNamespaceNamesIt + parent::getNamespaces();
- }
-
- function getQuickbarSettings() {
- return $this->mQuickbarSettingsIt;
- }
-
- function getMessage( $key ) {
- if( isset( $this->mMessagesIt[$key] ) ) {
- return $this->mMessagesIt[$key];
- } else {
- return parent::getMessage( $key );
- }
- }
-
- function getAllMessages() {
- return $this->mMessagesIt;
- }
-
- function formatMonth( $month, $format ) {
- return $this->getMonthAbbreviation( $month );
- }
-
- /**
- * Italian numeric format is 201.511,17
- */
- function separatorTransformTable() {
- return array(',' => '.', '.' => ',' );
- }
-
-}
-
-?>