From 183851b06bd6c52f3cae5375f433da720d410447 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 11 Oct 2006 18:12:39 +0000 Subject: MediaWiki 1.7.1 wiederhergestellt --- languages/LanguageIt.php | 84 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 languages/LanguageIt.php (limited to 'languages/LanguageIt.php') diff --git a/languages/LanguageIt.php b/languages/LanguageIt.php new file mode 100644 index 00000000..b0554c15 --- /dev/null +++ b/languages/LanguageIt.php @@ -0,0 +1,84 @@ +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(',' => '.', '.' => ',' ); + } + +} + +?> -- cgit v1.2.2