舊文件

此處文件僅供參考,請自行考量時效性與適用程度,其他庫藏文件請參考文件頁面
我們亟需您的協助,進行共筆系統搬移、及文件整理工作,詳情請查閱參與我們

「MediaWiki 中文化/LanguageZh tw.php4」修訂間的差異

出自 MozTW Wiki

 
行 1: 行 1:
 
+
<pre><nowiki>
 
 
 
# some untranslated messages as of 1.4 beta1
 
# some untranslated messages as of 1.4 beta1
 
'1movedto2' => "$1移動到$2", //"$1 moved to $2",
 
'1movedto2' => "$1移動到$2", //"$1 moved to $2",
行 148: 行 147:
  
  
?>
+
?></nowiki></pre>

於 2005年7月18日 (一) 06:04 的修訂

# some untranslated messages as of 1.4 beta1
'1movedto2' => "$1移動到$2", //"$1 moved to $2",
'1movedto2_redir' => "$1重定向到$2", //"$1 moved to $2 over redirect",
'acct_creation_throttle_hit' => "對不起,您已經註冊了$1賬號。你不能再註冊了。", //"Sorry, you have already created $1 accounts. You can't make any more.",
'addgroup' => "增加新的組", //"Add Group",
'allarticles' => "所有條目", //"All articles",
'allmessages' => "系統界面", //"All system messages",
'allmessagesnotsupportedDB' => "系統界面功能處於關閉狀態 (wgUseDatabaseMessages)。", //"Special:AllMessages not supported because wgUseDatabaseMessages is off.",
'allmessagestext' => "這裡列出所有可定製的系統界面。", //"This is a list of all system messages available in the MediaWiki: namespace.",
'allinnamespace' => "所有 $1 名字空間的條目", //"All pages ($1 namespace)",
'allpagesnext' => "下一頁", //"Next",
'allpagesprev' => "上一頁", //"Previous",
'allpagessubmit' => "提交", //"Go",
'ancientpages' => "老條目", //"Oldest pages",
'and' => "和", //"and",
'anontalk' => "該IP的對話頁", //"Talk for this IP",
'anonymous' => "匿名用戶", //"Anonymous user(s) of 1.4",
'article' => "條目", //"Content page",
'autoblocker' => "你的IP和被封了的 \"$1\" 是一樣的。封鎖原因: \"$2\".",//"Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
'blocklogentry' => "封鎖 $1, $2",//"blocked \"$1\" with an expiry time of $2",
'blocklogpage' => "封鎖記錄", //"Block_log",
'categoriespagetext' => "以下列出所有的頁面分類。", //"The following categories exists in the wiki.",
'categoryarticlecount' => "該類頁面共有 $1 條目", //There are $1 articles in this category.",
'clearyourcache' => "'''注意:''' 保存設置後,要清掉瀏覽器的緩存才能生效:'''Mozilla:''' 點''刷新'' (或用快鍵''Ctrl-R''),'''IE / Opera:''' ''Ctrl-F5'', '''Safari:''' ''Cmd-R'', '''Konqueror''' ''Ctrl-R''。",//"'''Note:''' After saving, you have to clear your browser cache to see the changes: '''Mozilla:''' click ''Reload'' (or ''Ctrl-R''), '''IE / Opera:''' ''Ctrl-F5'', '''Safari:''' ''Cmd-R'', '''Konqueror''' ''Ctrl-R''.",
'edit' => "編輯", //"Edit",
'navigation' => "導航", //"Navigation",
'nstab-category' => "分類", //"Category",
'nstab-help' => "幫助",//"Help",
'nstab-image' => "圖像",//"Image",
'nstab-main' => "條目", //"Article",
'nstab-mediawiki' => "界面",//"Message",
'nstab-special' => "特殊",//"Special",
'nstab-template' => "模板", //"Template",
'nstab-user' => "用戶頁面", //"User page",
'nstab-wp' => "關於", //"About",
'portal' => "社區",//"Community portal",
'prefs-help-realname' => "*<strong>真實姓名</strong>(可選):用以對您的貢獻署名。<br />",
'prefs-help-email' => "*<strong>點子郵件</strong>(可選):讓他人通過網站在不知道您的電子郵件地址的情況下通過電子郵件與您聯絡,以及通過電子郵件取得遺忘的密碼。", /*"* <strong>Real name</strong> (optional): if you choose to provide it this will be used for giving you attribution for your work.<br />
* <strong>Email</strong> (optional): Enables people to contact you through the website without you having to reveal your
email address to them, and it can be used to send you a new password if you forget it.", */
'prefs-misc' => "雜項", //"Misc settings",
'prefs-personal' => "用戶數據",//"User data",
'prefs-rc' => "最近更新", //"Recent changes and stub display",
'showhideminor' => "$1 小修改 | $2 bots | $3 登錄用戶 | $4 檢查過的", //"$1 minor edits | $2 bots | $3 logged in users | $4 patrolled edits ",
'skin' => "面板", //"Skin",
'talk' => "討論",//"Discussion",
'timezonelegend' => "時區", //"Time zone",
'toolbox' => "工具",//"Toolbox",
'watch' => "監視",//"Watch",
'yourlanguage' => "界面語言", //"Your language"
'yourrealname' => "真實姓名*", //"Your real name"
'yourvariant' => "中文字體", //"language variant"

'personaltools' => "個人工具", //"personaltools""
'history_short' => "沿革",
"protect" => "封鎖",
"delete" => "刪除",
"move" => "移動",
"tog-nocache" => "停用頁面快取",
"specialpage" => "特殊頁面",
"defaultns" => "預設的搜尋範圍",
"default" => "預設",
"aboutsite" => "關於 {{SITENAME}}",
"disclaimers" => "免責聲明",
"tog-fancysig" => "使用原始簽名 (不產生自動連結)",
"qbsettingsnote" => '這些設定只會在 \'Standard\' 和 \'CologneBlue\' 面板生效',
"tog-previewonfirst" => "第一次編輯時顯示原文內容的預覽",
"copyright" => "本站所有內容允許以下方式利用: $1",
"loginprompt" => "您必須允許瀏覽器紀錄Cookie才能成功登入 Wikipedia 並順利進行操作",
);

class LanguageZh_tw extends LanguageZh_cn {
	function getBookstoreList () {
		global $wgBookstoreListZh_tw ;
		return $wgBookstoreListZh_tw ;
	}

	function getNamespaces() {
		global $wgNamespaceNamesZh_tw;
		return $wgNamespaceNamesZh_tw;
	}


	function getNsIndex( $text ) {
		global $wgNamespaceNamesZh_tw;

		foreach ( $wgNamespaceNamesZh_tw as $i => $n ) {
			if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
		}
		# Aliases
        if ( 0 == strcasecmp( "特殊", $text ) ) { return -1; }
        if ( 0 == strcasecmp( "", $text ) ) { return ; }
        if ( 0 == strcasecmp( "對話", $text ) ) { return 1; }
        if ( 0 == strcasecmp( "用戶", $text ) ) { return 2; }
        if ( 0 == strcasecmp( "用戶對話", $text ) ) { return 3; }
        if ( 0 == strcasecmp( "維基百科對話", $text ) ) { return 5; }
        if ( 0 == strcasecmp( "圖像", $text ) ) { return 6; }
        if ( 0 == strcasecmp( "圖像對話", $text ) ) { return 7; }
		return false;
	}

	function getQuickbarSettings() {
		global $wgQuickbarSettingsZh_tw;
		return $wgQuickbarSettingsZh_tw;
	}

	function getSkinNames() {
		global $wgSkinNamesZh_tw;
		return $wgSkinNamesZh_tw;
	}

	function getMathNames() {
		global $wgMathNamesZh_tw;
		return $wgMathNamesZh_tw;
	}

	function getValidSpecialPages()
	{
		global $wgValidSpecialPagesZh_tw;
		return $wgValidSpecialPagesZh_tw;
	}

	function getSysopSpecialPages()
	{
		global $wgSysopSpecialPagesZh_tw;
		return $wgSysopSpecialPagesZh_tw;
	}

	function getDeveloperSpecialPages()
	{
		global $wgDeveloperSpecialPagesZh_tw;
		return $wgDeveloperSpecialPagesZh_tw;

	}

	function getMessage( $key )
	{
		global $wgAllMessagesZh_tw;
		if(array_key_exists($key, $wgAllMessagesZh_tw))
			return $wgAllMessagesZh_tw[$key];
		else
			return parent::getMessage( $key );
	}

}


?>
個人工具