<?php
+/**
+ * @package MediaWiki
+ * @subpackage Language
+ */
require_once( "LanguageUtf8.php" );
# NOTE: To turn off "Current Events" in the sidebar,
) + $wgNamespaceNamesEn;
/* private */ $wgQuickbarSettingsZh_cn = array(
- "无", /* "None" */
+ "无", /* "None" */
"左侧固定", /* "Fixed left" */
"右侧固定", /* "Fixed right" */
"左侧漂移" /* "Floating left" */
'davinci' => "DaVinci",
'mono' => "Mono",
'monobook' => "MonoBook",
- "myskin" => "MySkin"
+ 'myskin' => "MySkin"
);
-
-
-/* private */ $wgBookstoreListZh_cn = array(
- "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
- "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
- "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
- "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
-);
+/* private */ $wgUserTogglesZh_cn = array(
+ 'nolangconversion',
+) + $wgUserTogglesEn;
# All special pages have to be listed here: a description of ""
'special_version_postfix' => '',
# User Toggles
-"tog-hover" => "滑过Wiki链接时显示注释", /* "Show hoverbox over wiki links",*/
"tog-underline" => "下划链接", /* "Underline links", */
/* "Format broken links <a href=\"\" class=\"new\">like this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).", */
"tog-highlightbroken" => "毁坏链接格式<a href=\"\" class=\"new\">像这样</a> (或者像这个<a href=\"\" class=\"internal\">?</a>)",
"tog-editondblclick" => "双击页面编辑(JavaScript)",
"tog-editsection"=>"允许通过点击[编辑]链接编辑段落",
"tog-editsectiononrightclick"=>"允许右击标题编辑段落(JavaScript)",
-"tog-showtoc"=>"显示目录<br>(针对一页超过3个标题的文章)",
+"tog-showtoc"=>"显示目录<br />(针对一页超过3个标题的文章)",
"tog-rememberpassword" => "下次登陆记住密码", /* "Remember password across sessions", */
"tog-editwidth" => "编辑栏位宽度", /* "Edit box has full width", */
"tog-editondblclick" => "双击编辑页面(Javascript)", /* "Edit pages on double click (JavaScript)", */
"tog-watchdefault" => "监视新的以及更改过的文章", /* "Watch new and modified articles", */
"tog-minordefault" => "细微编辑为默认设置", /* "Mark all edits minor by default", */
"tog-previewontop" => "在编辑框上方显示预览", /* "Show preview before edit box and not after it" */
-
# Dates
'sunday' => "星期日",
"yourpasswordagain" => "再次输入密码",
"newusersonly" => "(仅限新用户)",
"remembermypassword" => "下次登录记住密码。",
-"loginproblem" => "<b>登录有问题。</b><br>再试一次!",
-"alreadyloggedin" => "<font color=red><b>用户$1,您已经登录了!</b></font><br>\n",
+"loginproblem" => "<b>登录有问题。</b><br />再试一次!",
+"alreadyloggedin" => "<font color=red><b>用户$1,您已经登录了!</b></font><br />\n",
"login" => "登录",
"userlogin" => "用户登录",
"showpreview" => "显示预览",
"blockedtitle" => "用户被封",
"blockedtext" => "您的用户名或IP地址已被$1封。
-理由是:<br>'''$2'''<p>您可以与$1向其他任何[[Wikipedia:管理员|管理员]]询问。",
+理由是:<br />'''$2'''<p>您可以与$1向其他任何[[Wikipedia:管理员|管理员]]询问。",
"whitelistedittitle" => "登录后才可编辑",
"whitelistedittext" => "您必须先[[Special:Userlogin|登录]]才可编辑页面。",
"whitelistreadtitle" => "登录后才可阅读",
"yourdiff" => "差别",
"copyrightwarning" => "请注意对Wikipedia的任何贡献都将被认为是在GNU自由文档协议证书下发布。
(细节请见$1).
-如果您不希望您的文字被任意修改和再散布,请不要提交。<br>
+如果您不希望您的文字被任意修改和再散布,请不要提交。<br />
您同时也向我们保证你所提交的内容是你自己所作,或得自一个不受版权保护或相似自由的来源。
<strong>不要在未获授权的情况下发表!</strong>",
"nonefound" => "<strong>注意:</strong>失败的搜索往往是由于试图搜索诸如“的”或“和”之类的常见字所引起。",
"powersearch" => "搜索",
"powersearchtext" => "
-搜索名字空间:<br>$1<br>$2列出重定向页面;搜索$3 $9",
+搜索名字空间:<br />$1<br />$2列出重定向页面;搜索$3 $9",
"searchdisabled" => "<p>Wikipedia内部搜索功能由于高峰时段服务器超载而停止使用。
您可以暂时通过
<input type=text name=\"q\" size=31 maxlength=255 value=\"$1\">
<input type=submit name=\"sa\" value=\"Google搜索\">
<input type=hidden name=\"cof\" value=\"LW:135;L:http://zh.wikipedia.org/upload/wiki.png;LH:133;AH:left;S:http://www.wikiped<font face=arial,sans-serif size=-1>
-<input type=hidden name=\"domains\" value=\"zh.wikipedia.org\"><br>
+<input type=hidden name=\"domains\" value=\"zh.wikipedia.org\"><br />
<input type=radio name=\"sitesearch\" value=\"\"> 搜索WWW
-<input type=radio name=\"sitesearch\" value=\"zh.wikipedia.org\" checked> 搜索zh.wikipedia.org </font><br>
+<input type=radio name=\"sitesearch\" value=\"zh.wikipedia.org\" checked> 搜索zh.wikipedia.org </font><br />
</td></tr></table></form>
<!-- Search Google -->\n",
"rcnote" => "下面是最近<strong>$2</strong>天内最新的<strong>$1</strong>次改动。",
"rcnotefrom" => "下面是自<b>$2</b>(最多显示<b>$1</b>)。",
"rclistfrom" => "显示自$1以来的新更改",
-# "rclinks" => "显示最后$2小时/$3天内的$1此修改",
-"rclinks" => "显示最近 $2 天内最新的 $1 次改动。",
+"rclinks" => "显示最近 $2 天内最新的 $1 次改动。<br />$3",
"rchide" => "以$4形式;$1个小修改;$2个二级名字空间;$3个多重修改",
"diff" => "差异",
"hist" => "历史",
以及其他任何您知道的关于改图像的信息。",
"uploadwarning" => "上载警告",
"savefile" => "保存文件",
-"uploadedimage" => "已上载\"$1\"",
+"uploadedimage" => "已上载\"[[$1]]\"",
# Image list
#
"ilshowmatch" => "显示所有匹对的图像",
"ilsubmit" => "搜索",
"showlast" => "显示按$2排列的最后$1幅图像。",
-"all" => "全部",
"byname" => "名字",
"bydate" => "日期",
"bysize" => "大小",
"deleteimgcompletely" => "删",
"imghistlegend" => "egend: (现) = 目前的图像,(删) = 删除旧版本,
(复) = 恢复到旧版本。
-<br><i>点击日期查看当天上载的图像</i>.",
+<br /><i>点击日期查看当天上载的图像</i>.",
"imagelinks" => "图像链接",
"linkstoimage" => "以下页面连接到本图像:",
"maintenancebacklink" => "返回维护页",
"disambiguations" => "消含糊页",
"disambiguationspage" => "Wikipedia:Links_to_disambiguating_pages",
-"disambiguationstext" => "以下的条目都有到消含糊页的链接,但它们应该是链到适当的题目。<br>一个页面会被视为消含糊页如果它是链自$1.<br>由其它他名字空间来的链接<i>不会</i>在这儿被列出来。",
+"disambiguationstext" => "以下的条目都有到消含糊页的链接,但它们应该是链到适当的题目。<br />一个页面会被视为消含糊页如果它是链自$1.<br />由其它他名字空间来的链接<i>不会</i>在这儿被列出来。",
"doubleredirects" => "双重重定向",
"doubleredirectstext" => "<b>请注意:</b> 这列表可能包括不正确的反应。
-这通常表示在那页面第一个#REDIRECT之下还有文字。<br>\n
+这通常表示在那页面第一个#REDIRECT之下还有文字。<br />\n
每一行都包含到第一跟第二个重定向页的链接,以及第二个重定向页的第一行文字,
通常显示的都会是\“真正\” 的目标页面,也就是第一个重定向页应该指向的条目。",
"brokenredirects" => "损坏的重定向页",
"confirmdeletetext" => "您即将从数据库中永远删除一个页面或图像以及其历史。
请确定您要进行此项操作,并且了解其后果,同时您的行为符合[[Wikipedia:守则与指导]]。
",
-"confirmcheck" => "是的,我确定要删除。",
"actioncomplete" => "操作完成",
"deletedtext" => "“$1”已经被删除。
最近删除的纪录请参见$2。",
"noblockreason" => "您必须说明查封的具体理由。",
"blockipsuccesssub" => "查封成功",
"blockipsuccesstext" => "IP地址“$1”已经被查封。
-<br>参看[[Special:被封IP地址列表|被封IP地址列表]]以复审查封。",
+<br />参看[[Special:被封IP地址列表|被封IP地址列表]]以复审查封。",
"unblockip" => "解除禁封IP地址",
"unblockiptext" => "用下面的表单来恢复先前被禁封的IP地址的书写权。",
"ipusubmit" => "解除禁封",
"unlockdbsuccesssub" => "数据库开放",
"lockdbsuccesstext" => "Wikipedia数据库已经上锁。
-<br>请记住在维护完成后重新开放数据库。",
+<br />请记住在维护完成后重新开放数据库。",
"unlockdbsuccesstext" => "Wikipedia数据库重新开放。",
# SQL query
'mw_math_source' => "显示为TeX代码(使用文字浏览器时)", /* "Leave it as TeX (for text browsers)" */
'mw_math_modern' => "推荐为新版浏览器使用", /* "Recommended for modern browsers" */
+# 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-userdata' => "*<strong>真实姓名</strong>(可选):用以对您的贡献署名。<br />*<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"
+
+# short names for language variants used for language conversion links.
+# to disable showing a particular link, set it to 'disable', e.g.
+# 'variantname-zh-sg' => 'disable',
+'variantname-zh-cn' => '大陆简体',
+'variantname-zh-tw' => '台湾繁体',
+'variantname-zh-hk' => '香港繁体',
+'variantname-zh-sg' => '新加坡简体',
+'variantname-zh' => '不转换',
+
);
class LanguageZh_cn extends LanguageUtf8 {
- function getDefaultUserOptions () {
- $opt = Language::getDefaultUserOptions();
- return $opt;
- }
-
- function getBookstoreList () {
- global $wgBookstoreListZh_cn ;
- return $wgBookstoreListZh_cn ;
+ function getUserToggles() {
+ global $wgUserTogglesZh_cn;
+ return $wgUserTogglesZh_cn;
}
function getNamespaces() {