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/LanguageSq.php | 112 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 languages/LanguageSq.php (limited to 'languages/LanguageSq.php') diff --git a/languages/LanguageSq.php b/languages/LanguageSq.php new file mode 100644 index 00000000..3ec5734f --- /dev/null +++ b/languages/LanguageSq.php @@ -0,0 +1,112 @@ + "Standarte", + 'nostalgia' => "Nostalgjike", + 'cologneblue' => "Kolonjë Blu" + ); + + private $mDateFormatsSq = array( + MW_DATE_DEFAULT => 'No preference', + MW_DATE_DMY => '16:12, 15 January 2001', + MW_DATE_ISO => '2001-01-15 16:12:34' + ); + + function __construct() { + parent::__construct(); + + global $wgAllMessagesSq; + $this->mMessagesSq =& $wgAllMessagesSq; + + global $wgMetaNamespace; + $this->mNamespaceNamesSq = array( + NS_MEDIA => "Media", + NS_SPECIAL => "Speciale", + NS_MAIN => "", + NS_TALK => "Diskutim", + NS_USER => "Përdoruesi", + NS_USER_TALK => "Përdoruesi_diskutim", + NS_PROJECT => $wgMetaNamespace, + NS_PROJECT_TALK => $wgMetaNamespace . "_diskutim", + NS_IMAGE => "Figura", + NS_IMAGE_TALK => "Figura_diskutim", + NS_MEDIAWIKI => "MediaWiki", + NS_MEDIAWIKI_TALK => "MediaWiki_diskutim", + NS_TEMPLATE => "Stampa", + NS_TEMPLATE_TALK => "Stampa_diskutim", + NS_HELP => 'Ndihmë', + NS_HELP_TALK => 'Ndihmë_diskutim' + ); + } + + function getNamespaces() { + return $this->mNamespaceNamesSq + parent::getNamespaces(); + } + + function getQuickbarSettings() { + return $this->mQuickbarSettingsSq; + } + + function getSkinNames() { + return $this->mSkinNamesSq + parent::getSkinNames(); + } + + function getDateFormats() { + return $this->mDateFormatsSq; + } + + function getMessage( $key ) { + if( isset( $this->mMessagesSq[$key] ) ) { + return $this->mMessagesSq[$key]; + } else { + return parent::getMessage( $key ); + } + } + + function getAllMessages() { + return $this->mMessagesSq; + } + + function getNsIndex( $text ) { + foreach ( $this->mNamespaceNamesSq as $i => $n ) { + if ( 0 == strcasecmp( $n, $text ) ) { return $i; } + } + # Compatbility with alt names: + if( 0 == strcasecmp( "Perdoruesi", $text ) ) return NS_USER; + if( 0 == strcasecmp( "Perdoruesi_diskutim", $text ) ) return NS_USER_TALK; + return false; + } + + function timeDateSeparator( $format ) { + return ' '; + } + + + function timeBeforeDate( $format ) { + return false; + } + + function separatorTransformTable() { + return array(',' => '.', '.' => ',' ); + } + +} +?> -- cgit v1.2.3-54-g00ecf