languageca.php
来自「php 开发的内容管理系统」· PHP 代码 · 共 104 行
PHP
104 行
<?php/** Catalan (Catal脿) * * @package MediaWiki * @subpackage Language */require_once( 'LanguageUtf8.php' );if (!$wgCachedMessageArrays) { require_once('MessagesCa.php');}class LanguageCa extends LanguageUtf8 { private $mMessagesCa, $mNamespaceNamesCa = null; private $mQuickbarSettingsCa = array( "Cap", "Fixa a la dreta", "Fixa a l'esquerra", "Surant a l'esquerra" ); private $mSkinNamesCa = array( 'standard' => "Est脿ndard", 'nostalgia' => "Nost脿lgia", 'cologneblue' => "Col貌nia blava", ); private $mBookstoreListCa = array( 'Cat脿leg Col路lectiu de les Universitats de Catalunya' => 'http://ccuc.cbuc.es/cgi-bin/vtls.web.gateway?searchtype=control+numcard&searcharg=$1', 'Totselsllibres.com' => 'http://www.totselsllibres.com/tel/publi/busquedaAvanzadaLibros.do?ISBN=$1', ); function __construct() { parent::__construct(); global $wgAllMessagesCa; $this->mMessagesCa =& $wgAllMessagesCa; global $wgMetaNamespace; $this->mNamespaceNamesCa = array( NS_MEDIA => 'Media', NS_SPECIAL => 'Especial', NS_MAIN => '', NS_TALK => 'Discussi贸', NS_USER => 'Usuari', NS_USER_TALK => 'Usuari_Discussi贸', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => $wgMetaNamespace.'_Discussi贸', NS_IMAGE => 'Imatge', NS_IMAGE_TALK => 'Imatge_Discussi贸', NS_MEDIAWIKI => 'MediaWiki', NS_MEDIAWIKI_TALK => 'MediaWiki_Discussi贸', NS_TEMPLATE => 'Plantilla', NS_TEMPLATE_TALK => 'Plantilla_Discussi贸', NS_HELP => 'Ajuda', NS_HELP_TALK => 'Ajuda_Discussi贸', NS_CATEGORY => 'Categoria', NS_CATEGORY_TALK => 'Categoria_Discussi贸' ); } function getNamespaces() { return $this->mNamespaceNamesCa + parent::getNamespaces(); } function getQuickbarSettings() { return $this->mQuickbarSettingsCa; } function getSkinNames() { return $this->mSkinNamesCa + parent::getSkinNames(); } function getBookstoreList () { return $this->mBookstoreListCa + parent::getBookstoreList(); } function getMessage( $key ) { if( isset( $this->mMessagesCa[$key] ) ) { return $this->mMessagesCa[$key]; } else { return parent::getMessage( $key ); } } function getAllMessages() { return $this->mMessagesCa; } function formatMonth( $month, $format ) { return $this->getMonthAbbreviation( $month ); } function separatorTransformTable() { return array(',' => '.', '.' => ',' ); } function linkTrail() { return '/^([a-z脿猫茅铆貌贸煤莽路茂眉\']+)(.*)$/sDu'; }}?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?