Fix #3151: Wrong usage of {{SITENAME}} in language files.
[lhc/web/wiklou.git] / languages / LanguageZh_cn.php
index 6b2a29b..eedeef1 100644 (file)
@@ -234,7 +234,7 @@ require_once( "LanguageUtf8.php" );
 "lastmodified" => "最后更改$1.",
 "viewcount"            => "本页面已经被浏览$1次。",
 "gnunote" => "所有文本在<a class=internal href='/wiki/GNU_FDL'>GNU自由文档协议证书 </a>下发布",
-"printsubtitle" => "(来自 http://zh.wikipedia.org)",
+"printsubtitle" => "(来自 {{SERVER}})",
 "protectedpage" => "被保护页",
 "administrators" => "Wikipedia:管理员",
 "sysoptitle"   => "需要管理员权限",
@@ -690,8 +690,6 @@ alt=\"Google\" align=\"middle\"></a>
 "listusers"            => "用户列表",
 "specialpages" => "特殊页面",
 "spheading"            => "特殊页面",
-"sysopspheading" => "管理员特殊页面",
-"developerspheading" => "发展者特殊页面",
 "protectpage"  => "保护页面",
 "recentchangeslinked" => "链出更改",
 "rclsub"               => "(从 \"$1\"链出的页面)",
@@ -755,7 +753,7 @@ Wikipedia与这些公司并没有任何商业关系,因此本表不应该
         "watchdetails" => "($1个页面(不含对话页)被监视;
         总共$2个页面被编辑;
         $3...
-        <a href='$4'>显示并编辑完整列表</a>.)",
+        [$4 显示并编辑完整列表].)",
         "watchmethod-recent" => "检查被监视页面的最近编辑",
         "watchmethod-list" => "checking watched pages for recent edits",
         "removechecked" => "将被选页面从监视列表中移除",
@@ -850,7 +848,7 @@ Wikipedia与这些公司并没有任何商业关系,因此本表不应该
 "ipusubmit"            => "解除禁封",
 "ipusuccess"   => "IP地址“$1”已经被解除禁封",
 "ipblocklist"  => "被封IP地址列表",
-"blocklistline"        => "$1,$2禁封$3",
+"blocklistline"        => "$1,$2禁封$3 ($4)",
 "blocklink"            => "禁封",
 "unblocklink"  => "解除禁封",
 "contribslink" => "贡献",
@@ -969,7 +967,8 @@ Wikipedia与这些公司并没有任何商业关系,因此本表不应该
 '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 />
+'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",
@@ -1008,10 +1007,6 @@ class LanguageZh_cn extends LanguageUtf8 {
                return $wgNamespaceNamesZh_cn;
        }
 
-       function getNsText( $index ) {
-               global $wgNamespaceNamesZh_cn;
-               return $wgNamespaceNamesZh_cn[$index];
-       }
 
        function getNsIndex( $text ) {
                global $wgNamespaceNamesZh_cn;