languageel.php
来自「php 开发的内容管理系统」· PHP 代码 · 共 96 行
PHP
96 行
<?php/** Greek (螘位位畏谓喂魏维) * * Translation by Pasok Internet Volunteers * http://forum.pasok.gr * version 1.0 (initial release) * *The project for the translation of MediaWiki into Greek *was undertaken by a group of ICT volunteers working under *the auspices of the Greek political party PASOK. * *The idea behind this effort was to provide an extensible, *easy-to-use and non-intimidating tool for content development *and project management, to be used throughout the administrative *and political structure of PASOK by staff, volunteers, party members *and elected officials (all of whom possess varying degrees of ICT skills). * *The PASOK ICT team and the volunteers who worked on this project are *now returning the translated interface to the Open-Source Community *with over 98% of the messages translated into user-friendly Greek. * *We hope that it will be used as a tool by other civil society organizations *in Greece, and that it will enhance the collective creation and the dissemination *of knowledge - an essential component of the democratic process. * * @package MediaWiki * @subpackage Language */require_once( 'LanguageUtf8.php' );if (!$wgCachedMessageArrays) { require_once('MessagesEl.php');}class LanguageEl extends LanguageUtf8 { private $mMessagesEl, $mNamespaceNamesEl = null; function __construct() { parent::__construct(); global $wgAllMessagesEl; $this->mMessagesEl =& $wgAllMessagesEl; global $wgMetaNamespace; $this->mNamespaceNamesEl = array( NS_MEDIA => '螠苇蟽慰谓', NS_SPECIAL => '螘喂未喂魏蠈', NS_MAIN => '', NS_TALK => '危蠀味萎蟿畏蟽畏', NS_USER => '围蟻萎蟽蟿畏蟼', NS_USER_TALK => '危蠀味萎蟿畏蟽畏_蠂蟻萎蟽蟿畏', NS_PROJECT => $wgMetaNamespace, NS_PROJECT_TALK => $wgMetaNamespace . '_蟽蠀味萎蟿畏蟽畏', NS_IMAGE => '螘喂魏蠈谓伪', NS_IMAGE_TALK => '危蠀味萎蟿畏蟽畏_蔚喂魏蠈谓伪蟼', NS_MEDIAWIKI => 'MediaWiki', NS_MEDIAWIKI_TALK => 'MediaWiki_talk', NS_TEMPLATE => '螤蟻蠈蟿蠀蟺慰', NS_TEMPLATE_TALK => '危蠀味萎蟿畏蟽畏_蟺蟻慰蟿蠉蟺慰蠀', NS_HELP => '螔慰萎胃蔚喂伪', NS_HELP_TALK => '危蠀味萎蟿畏蟽畏_尾慰萎胃蔚喂伪蟼', NS_CATEGORY => '螝伪蟿畏纬慰蟻委伪', NS_CATEGORY_TALK => '危蠀味萎蟿畏蟽畏_魏伪蟿畏纬慰蟻委伪蟼', ); } function getNamespaces() { return $this->mNamespaceNamesEl + parent::getNamespaces(); } function getMessage( $key ) { if( isset( $this->mMessagesEl[$key] ) ) { return $this->mMessagesEl[$key]; } else { return parent::getMessage( $key ); } } function getAllMessages() { return $this->mMessagesEl; } function fallback8bitEncoding() { return 'iso-8859-7'; } function separatorTransformTable() { return array(',' => '.', '.' => ',' ); }}?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?