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/LanguageSc.php | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 languages/LanguageSc.php (limited to 'languages/LanguageSc.php') diff --git a/languages/LanguageSc.php b/languages/LanguageSc.php new file mode 100644 index 00000000..8a7c9c01 --- /dev/null +++ b/languages/LanguageSc.php @@ -0,0 +1,55 @@ + 'Speciale', + NS_MAIN => '', + NS_TALK => 'Contièndha', + NS_USER => 'Utente', + NS_USER_TALK => 'Utente_discussioni', + NS_PROJECT => $wgMetaNamespace, + NS_PROJECT_TALK => $wgMetaNamespace . '_discussioni', + NS_IMAGE => 'Immàgini', + NS_IMAGE_TALK => 'Immàgini_contièndha' +) + $wgNamespaceNamesEn; + +/* private */ $wgQuickbarSettingsSc = array( + "Nessuno", "Fisso a sinistra", "Fisso a destra", "Fluttuante a sinistra" +); + +if (!$wgCachedMessageArrays) { + require_once('MessagesSc.php'); +} + +class LanguageSc extends LanguageUtf8 { + + function getNamespaces() { + global $wgNamespaceNamesSc; + return $wgNamespaceNamesSc; + } + + function getQuickbarSettings() { + global $wgQuickbarSettingsSc; + return $wgQuickbarSettingsSc; + } + + function formatMonth( $month, $format ) { + return $this->getMonthAbbreviation( $month ); + } + + function getMessage( $key ) { + global $wgAllMessagesSc; + if(array_key_exists($key, $wgAllMessagesSc)) + return $wgAllMessagesSc[$key]; + else + return parent::getMessage($key); + } + +} + +?> -- cgit v1.2.3-54-g00ecf