Index: trunk/phase3/languages/LanguageZh.php |
— | — | @@ -1,1072 +1,174 @@ |
2 | 2 | <?php |
3 | 3 | require_once( "LanguageUtf8.php" ); |
| 4 | +require_once( "LanguageZh_cn.php"); |
| 5 | +require_once( "LanguageZh_tw.php"); |
| 6 | +require_once( "ZhConversion.php"); |
4 | 7 | |
5 | | -# NOTE: To turn off "Current Events" in the sidebar, |
6 | | -# set "currentevents" => "-" |
| 8 | +/* class that handles both Traditional and Simplified Chinese |
| 9 | + right now it only distinguish zh_cn and zh_tw (actuall, zh_cn and |
| 10 | + non-zh_cn), will add support for zh_sg, zh_hk, etc, later. |
| 11 | +*/ |
| 12 | +class LanguageZh extends LanguageUtf8 { |
| 13 | + |
| 14 | + var $mZhLang=false, $mZhLanguageCode=false; |
7 | 15 | |
8 | | -# The names of the namespaces can be set here, but the numbers |
9 | | -# are magical, so don't change or move them! The Namespace class |
10 | | -# encapsulates some of the magic-ness. |
11 | | -# |
12 | | -/* private */ $wgNamespaceNamesZh = array( |
13 | | - NS_MEDIA => "Media", |
14 | | - NS_SPECIAL => "Special", |
15 | | - NS_MAIN => "", |
16 | | - NS_TALK => "Talk", |
17 | | - NS_USER => "User", |
18 | | - NS_USER_TALK => "User_talk", |
19 | | - NS_WIKIPEDIA => $wgMetaNamespace, |
20 | | - NS_WIKIPEDIA_TALK => $wgMetaNamespace . "_talk", |
21 | | - NS_IMAGE => "Image", |
22 | | - NS_IMAGE_TALK => "Image_talk", |
23 | | - NS_MEDIAWIKI => "MediaWiki", |
24 | | - NS_MEDIAWIKI_TALK => "MediaWiki_talk", |
25 | | - NS_TEMPLATE => "Template", |
26 | | - NS_TEMPLATE_TALK => "Template_talk", |
27 | | - NS_HELP => "Help", |
28 | | - NS_HELP_TALK => "Help_talk", |
29 | | - NS_CATEGORY => "Category", |
30 | | - NS_CATEGORY_TALK => "Category_talk" |
| 16 | + function LanguageZh() { |
| 17 | + $this->mZhLanguageCode = $this->getPreferredLanguage(); |
| 18 | + if($this->mZhLanguageCode == "cn") { |
| 19 | + $this->mZhLang = new LanguageZh_cn(); |
| 20 | + } |
| 21 | + else { |
| 22 | + $this->mZhLang = new LanguageZh_tw(); |
| 23 | + } |
| 24 | + } |
31 | 25 | |
32 | | -) + $wgNamespaceNamesEn; |
| 26 | + /* |
| 27 | + get preferred language variants. eventually this will check the |
| 28 | + user's preference setting as well, once the language option in |
| 29 | + the setting pages is finalized. |
| 30 | + */ |
| 31 | + function getPreferredLanguage() { |
| 32 | + if($this->mZhLanguageCode) |
| 33 | + return $this->mZhLanguageCode; |
| 34 | + |
| 35 | + $this->mZhLanguageCode="cn"; |
| 36 | + $value = $_SERVER["HTTP_ACCEPT_LANGUAGE"]; |
| 37 | + $zh = explode("zh-", $value); |
| 38 | + array_shift($zh); |
| 39 | + $l = array_shift($zh); |
| 40 | + if($l != NULL) { |
| 41 | + $this->mZhLanguageCode = substr($l,0,2); |
| 42 | + } |
| 43 | + |
| 44 | + return $this->mZhLanguageCode; |
| 45 | + } |
| 46 | + |
| 47 | + |
| 48 | + /* the Simplified/Traditional conversion stuff */ |
33 | 49 | |
34 | | -/* private */ $wgQuickbarSettingsZh = array( |
35 | | - "无", /* "None" */ |
36 | | - "左侧固定", /* "Fixed left" */ |
37 | | - "右侧固定", /* "Fixed right" */ |
38 | | - "左侧漂移" /* "Floating left" */ |
39 | | -); |
| 50 | + function simp2trad($text) { |
| 51 | + global $wgZhSimp2Trad; |
| 52 | + return strtr($text, $wgZhSimp2Trad); |
| 53 | + } |
40 | 54 | |
41 | | -/* private */ $wgSkinNamesZh = array( |
42 | | - 'standard' => "标准", |
43 | | - 'nostalgia' => "怀旧", |
44 | | - 'cologneblue' => "科隆香水蓝", |
45 | | - 'smarty' => "Paddington", |
46 | | - 'montparnasse' => "Montparnasse", |
47 | | - 'davinci' => "DaVinci", |
48 | | - 'mono' => "Mono", |
49 | | - 'monobook' => "MonoBook", |
50 | | - "myskin" => "MySkin" |
51 | | -); |
| 55 | + function trad2simp($text) { |
| 56 | + global $wgZhTrad2Simp; |
| 57 | + return strtr($text, $wgZhTrad2Simp); |
| 58 | + } |
| 59 | + |
| 60 | + function convert($text) { |
| 61 | + |
| 62 | + // no conversion if redirecting |
| 63 | + if(substr($text,0,9) == "#REDIRECT") { |
| 64 | + return "Debug: is a redirect, no conversion<br>".$text; |
| 65 | + } |
| 66 | + // determine the preferred language from the request header |
| 67 | + $tolang = $this->getPreferredLanguage(); |
| 68 | + $debug = "Debug: Detected language preference: ".$tolang."<br>\n"; |
| 69 | + |
| 70 | + $ltext = explode("-{", $text); |
| 71 | + $lfirst = array_shift($ltext); |
| 72 | + |
| 73 | + if($tolang == "cn") { |
| 74 | + $text = $this->trad2simp($lfirst); |
| 75 | + } |
| 76 | + else { |
| 77 | + $text = $this->simp2trad($lfirst); |
| 78 | + } |
| 79 | + |
| 80 | + foreach ($ltext as $i => $txt) { |
| 81 | + $a = explode("}-", $txt); |
| 82 | + $b = explode("zh-", $a{0}); |
| 83 | + if($b{1}==NULL) { |
| 84 | + $text = $text.$b{0}; |
| 85 | + } |
| 86 | + else { |
| 87 | + foreach ($b as $j => $lang) { |
| 88 | + if(substr($lang,0,2) == $tolang) { |
| 89 | + $text = $text.substr($lang, 2); |
| 90 | + break; |
| 91 | + } |
| 92 | + } |
| 93 | + } |
| 94 | + if($tolang == "cn") { |
| 95 | + $text = $text.$this->trad2simp($a{1}); |
| 96 | + } |
| 97 | + else { |
| 98 | + $text = $text.$this->simp2trad($a{1}); |
| 99 | + } |
| 100 | + } |
| 101 | + return $debug.$text; |
| 102 | + } |
| 103 | + |
52 | 104 | |
53 | 105 | |
54 | 106 | |
55 | | -/* private */ $wgBookstoreListZh = array( |
56 | | - "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN", |
57 | | - "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1", |
58 | | - "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1", |
59 | | - "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1" |
60 | | -); |
| 107 | + /* these just calls the method of the corresponding class */ |
| 108 | + |
| 109 | + function getDefaultUserOptions () { |
| 110 | + return $this->mZhLang->getDefaultUserOptions(); |
| 111 | + } |
61 | 112 | |
62 | | - |
63 | | -# All special pages have to be listed here: a description of "" |
64 | | -# will make them not show up on the "Special Pages" page, which |
65 | | -# is the right thing for some of them (such as the "targeted" ones). |
66 | | -# |
67 | | -/* private */ $wgValidSpecialPagesZh = array( |
68 | | - "Userlogin" => "", |
69 | | - "Userlogout" => "", |
70 | | - "Preferences" => "参数设置", |
71 | | -/*"Set my user preferences", */ |
72 | | - "Watchlist" => "监视列表", |
73 | | -/* "My watchlist", */ |
74 | | - "Recentchanges" => "最近更新", |
75 | | -/* "Recently updated pages", */ |
76 | | - "Upload" => "上载", |
77 | | -/* "Upload image files", */ |
78 | | - "Imagelist" => "图像列表", |
79 | | -/* "Image list", */ |
80 | | - "Listusers" => "注册用户", |
81 | | -/* "Registered users", */ |
82 | | - "Statistics" => "站点统计", |
83 | | -/* "Site statistics", */ |
84 | | - "Randompage" => "随机页面", |
85 | | -/* "Random article", */ |
86 | | - |
87 | | - "Lonelypages" => "孤立页面", |
88 | | -/* "Orphaned articles",*/ |
89 | | - "Unusedimages" => "孤立图像", |
90 | | -/* "Orphaned images", */ |
91 | | - "Popularpages" => "热点条目", |
92 | | -/* "Popular articles", */ |
93 | | - "Wantedpages" => "待撰页面", |
94 | | -/* "Most wanted articles", */ |
95 | | - "Shortpages" => "短条目", |
96 | | - "Longpages" => "长条目", |
97 | | - "Newpages" => "新建条目", |
98 | | -# "Intl" => "跨语言链接", # this page not done yet! |
99 | | - "Ancientpages" => "Oldest pages", |
100 | | - "Allpages" => "所有条目", |
101 | | - |
102 | | - "Ipblocklist" => "被封IP地址", |
103 | | - "Maintenance" => "维护页", |
104 | | - "Specialpages" => "", |
105 | | - "Contributions" => "", |
106 | | - "Emailuser" => "", |
107 | | - "Whatlinkshere" => "", |
108 | | - "Recentchangeslinked" => "", |
109 | | - "Movepage" => "", |
110 | | - "Booksources" => "站外书源", |
111 | | -# "Categories" => "页面分类" |
112 | | - "Export" => "XML export", |
113 | | - "Version" => "Version", |
114 | | -); |
115 | | - |
116 | | -/* private */ $wgSysopSpecialPagesZh = array( |
117 | | - "Blockip" => "查封一个IP地址", |
118 | | - "Asksql" => "查询数据库", |
119 | | - "Undelete" => "恢复被删页面" |
120 | | -); |
121 | | - |
122 | | -/* private */ $wgDeveloperSpecialPagesZh = array( |
123 | | - "Lockdb" => "设置数据库只读", |
124 | | - "Unlockdb" => "恢复数据库修改权限", |
125 | | -); |
126 | | - |
127 | | -/* private */ $wgAllMessagesZh = array( |
128 | | -'special_version_prefix' => '', |
129 | | -'special_version_postfix' => '', |
130 | | -# User Toggles |
131 | | - |
132 | | -"tog-hover" => "滑过Wiki链接时显示注释", /* "Show hoverbox over wiki links",*/ |
133 | | -"tog-underline" => "下划链接", /* "Underline links", */ |
134 | | -/* "Format broken links <a href=\"\" class=\"new\">like this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).", */ |
135 | | -"tog-highlightbroken" => "毁坏链接格式<a href=\"\" class=\"new\">像这样</a> (或者像这个<a href=\"\" class=\"internal\">?</a>)", |
136 | | -"tog-justify" => "段落对齐", /* "Justify paragraphs", */ |
137 | | -"tog-hideminor" => "最近更改中隐藏细微修改", /* "Hide minor edits in recent changes", */ |
138 | | -"tog-usenewrc" => "最近更改增强(只适用部分浏览器)", /* "Enhanced recent changes (not for all browsers)", */ |
139 | | -"tog-numberheadings" => "标题自动编号", |
140 | | -"tog-showtoolbar" => "Show edit toolbar", /* "Auto-number headings", */ |
141 | | -"tog-editondblclick" => "双击页面编辑(JavaScript)", |
142 | | -"tog-editsection"=>"允许通过点击[编辑]链接编辑段落", |
143 | | -"tog-editsectiononrightclick"=>"允许右击标题编辑段落(JavaScript)", |
144 | | -"tog-showtoc"=>"显示目录<br>(针对一页超过3个标题的文章)", |
145 | | -"tog-rememberpassword" => "下次登陆记住密码", /* "Remember password across sessions", */ |
146 | | -"tog-editwidth" => "编辑栏位宽度", /* "Edit box has full width", */ |
147 | | -"tog-editondblclick" => "双击编辑页面(Javascript)", /* "Edit pages on double click (JavaScript)", */ |
148 | | -"tog-watchdefault" => "监视新的以及更改过的文章", /* "Watch new and modified articles", */ |
149 | | -"tog-minordefault" => "细微编辑为默认设置", /* "Mark all edits minor by default", */ |
150 | | -"tog-previewontop" => "在编辑框上方显示预览", /* "Show preview before edit box and not after it" */ |
151 | | - |
152 | | -# Dates |
153 | | - |
154 | | -'sunday' => "星期日", |
155 | | -'monday' => "星期一", |
156 | | -'tuesday' => "星期二", |
157 | | -'wednesday' => "星期三", |
158 | | -'thursday' => "星期四", |
159 | | -'friday' => "星期五", |
160 | | -'saturday' => "星期六", |
161 | | -'january' => "1月", |
162 | | -'february' => "2月", |
163 | | -'march' => "3月", |
164 | | -'april' => "4月", |
165 | | -'may_long' => "5月", |
166 | | -'june' => "6月", |
167 | | -'july' => "7月", |
168 | | -'august' => "8月", |
169 | | -'september' => "9月", |
170 | | -'october' => "10月", |
171 | | -'november' => "11月", |
172 | | -'december' => "12月", |
173 | | -'jan' => "1月", |
174 | | -'feb' => "2月", |
175 | | -'mar' => "3月", |
176 | | -'apr' => "4月", |
177 | | -'may' => "5月", |
178 | | -'jun' => "6月", |
179 | | -'jul' => "7月", |
180 | | -'aug' => "8月", |
181 | | -'sep' => "9月", |
182 | | -'oct' => "10月", |
183 | | -'nov' => "11月", |
184 | | -'dec' => "12月", |
185 | | - |
186 | | -# Bits of text used by many pages: |
187 | | -# |
188 | | -"categories" => "页面分类", |
189 | | - "category" => "分类", |
190 | | - "category_header" => "类别”$1“中的条目", |
191 | | - "subcategories" => "附分类", |
192 | | -"linktrail" => "/^([a-z]+)(.*)\$/sD", |
193 | | -"mainpage" => "首页", |
194 | | -"about" => "关于", |
195 | | -"aboutsite" => "关于Wikipedia", |
196 | | -"aboutpage" => "Wikipedia:关于", |
197 | | -"help" => "帮助", |
198 | | -"helppage" => "Wikipedia:帮助", |
199 | | -"wikititlesuffix" => "Wikipedia", |
200 | | -"bugreports" => "错误报告", |
201 | | -"bugreportspage" => "Wikipedia:错误报告", |
202 | | -"faq" => "常见问题解答", |
203 | | -"faqpage" => "Wikipedia:常见问题解答", |
204 | | -"edithelp" => "编辑帮助", |
205 | | -"edithelppage" => "Wikipedia:如何编辑页面", |
206 | | -"cancel" => "取消", |
207 | | -"qbfind" => "寻找", |
208 | | -"qbbrowse" => "浏览", |
209 | | -"qbedit" => "编辑", |
210 | | -"qbpageoptions" => "页面选项", |
211 | | -"qbpageinfo" => "页面信息", |
212 | | -"qbmyoptions" => "我的选项", |
213 | | -"mypage" => "我的页面", |
214 | | -"mytalk" => "我的对话页", |
215 | | -"currentevents" => "新闻动态", |
216 | | -"errorpagetitle" => "错误", |
217 | | -"returnto" => "返回到$1.", |
218 | | -"tagline" => "Wikipedia,自由的百科全书", |
219 | | -"whatlinkshere" => "链入页面", |
220 | | -"help" => "帮助", |
221 | | -"search" => "搜索", |
222 | | -"go" => "进入", |
223 | | -"history" => "较早版本", |
224 | | -"printableversion" => "可打印版", |
225 | | -"editthispage" => "编辑本页", |
226 | | -"deletethispage" => "删除本页", |
227 | | -"protectthispage" => "保护本页", |
228 | | -"unprotectthispage" => "解除保护", |
229 | | -"newpage" => "新页面", |
230 | | -"talkpage" => "讨论本页", |
231 | | - "postcomment" => "发表评论", |
232 | | -"articlepage" => "查看文章", |
233 | | -"subjectpage" => "查看主题", # For compatibility |
234 | | -"userpage" => "查看用户页", |
235 | | -"wikipediapage" => "查看meta页", |
236 | | -"imagepage" => "查看图像页面", |
237 | | -"viewtalkpage" => "查看讨论", |
238 | | -"otherlanguages" => "其它语言", |
239 | | -"redirectedfrom" => "(重定向自$1)", |
240 | | -"lastmodified" => "最后更改$1.", |
241 | | -"viewcount" => "本页面已经被浏览$1次。", |
242 | | -"gnunote" => "所有文本在<a class=internal href='/wiki/GNU_FDL'>GNU自由文档协议证书 </a>下发布", |
243 | | -"printsubtitle" => "(来自 http://zh.wikipedia.org)", |
244 | | -"protectedpage" => "被保护页", |
245 | | -"administrators" => "Wikipedia:管理员", |
246 | | -"sysoptitle" => "需要管理员权限", |
247 | | -"sysoptext" => "您刚才的请求只有拥有管理员权限的用户才可使用。 |
248 | | -参见$1。", |
249 | | -"developertitle" => "需要发展者权限", |
250 | | -"developertext" => "您刚才的请求只有拥有发展者权限的用户才可使用。 |
251 | | -参见$1。", |
252 | | -"nbytes" => "$1字节", |
253 | | -"go" => "进入", |
254 | | -"ok" => "OK", |
255 | | -"sitetitle" => "Wikipedia", |
256 | | -"sitesubtitle" => "自由的百科全书", |
257 | | -"retrievedfrom" => "取自\"$1\"", |
258 | | -"newmessages" => "您有$1。", |
259 | | -"newmessageslink" => "新信息", |
260 | | - "editsection"=>"编辑", |
261 | | - "toc" => "目录", |
262 | | -"showtoc" => "显示", |
263 | | - "hidetoc" => "隐藏", |
264 | | - |
265 | | -# Main script and global functions |
266 | | -# |
267 | | -"nosuchaction" => "没有这个命令", |
268 | | -"nosuchactiontext" => "URL请求的命令无法被 Wikipedia 软件识别。", |
269 | | -"nosuchspecialpage" => "没有这个特殊页。", |
270 | | - |
271 | | -"nospecialpagetext" => "您请求的页面无法被 Wikipedia 软件识别。", |
272 | | - |
273 | | -# General errors |
274 | | -# |
275 | | -"error" => "错误", |
276 | | -"databaseerror" => "数据库错误", |
277 | | -"dberrortext" => "数据库指令语法错误。 |
278 | | -这可能是由于非法搜索指令所引起的(见 $5), |
279 | | -也可能是由于软件自身的错误所引起。 |
280 | | -最后一次数据库指令是: |
281 | | -<blockquote><tt>$1</tt></blockquote> |
282 | | -来自于函数 \"<tt>$2</tt>\"。 |
283 | | -MySQL返回错误 \"<tt>$3: $4</tt>\"。", |
284 | | -"noconnect" => "无法在 $1上连接数据库", |
285 | | -"nodb" => "无法选择数据库 $1", |
286 | | -"readonly" => "数据库禁止访问", |
287 | | -"enterlockreason" => "请输入禁止访问原因, 包括估计重新开放的时间", |
288 | | -"readonlytext" => "Wikipedia数据库目前禁止输入新内容及更改, |
289 | | -这很可能是由于数据库正在维修,之后即可恢复。 |
290 | | -管理员有如下解释: |
291 | | -<p>$1", |
292 | | -"missingarticle" => "数据库找不到文字\"$1\"。 |
293 | | - |
294 | | -<p>通常这是由于修订历史页上过时的链接到已经被删除的页面所导致的。 |
295 | | - |
296 | | -<p>如果情况不是这样,您可能找到了软件内的一个臭虫。 |
297 | | -请记录下URL地址,并向管理员报告。", |
298 | | -"internalerror" => "内部错误", |
299 | | -"filecopyerror" => "无法复制文件\"$1\"到\"$2\"。", |
300 | | -"filerenameerror" => "无法重命名文件\"$1\" 到\"$2\"。", |
301 | | -"filedeleteerror" => "无法删除文件 \"$1\"。", |
302 | | -"filenotfound" => "找不到文件 \"$1\"。", |
303 | | -"unexpected" => "不正常值: \"$1\"=\"$2\"。", |
304 | | -"formerror" => "错误:无法提交表单", |
305 | | -"badarticleerror" => "无法在本页上进行此项操作。", |
306 | | -"cannotdelete" => "无法删除选定的页面或图像(它可能已经被其他人删除了)。", |
307 | | -"badtitle" => "错误的标题", |
308 | | -"badtitletext" => "所请求页面的标题是无效的、不存在,跨语言或跨wiki链接的标题错误。", |
309 | | -"perfdisabled" => "抱歉!由于此项操作有可能造成数据库瘫痪,目前暂时无法使用。", |
310 | | -"perfdisabledsub" => "这里是自$1的复制版本:", |
311 | | - |
312 | | -# 登录与登出 |
313 | | -# |
314 | | -"logouttitle" => "用户退出", |
315 | | -"logouttext" => "您现在已经退出。 |
316 | | -您可以继续以匿名方式使用Wikipeida,或再次以相同或不同用户身份登录。\n", |
317 | | - |
318 | | -"welcomecreation" => "<h2>欢迎,$1!</h2><p>您的帐号已经建立,不要忘记设置Wikipedia个人参数。", |
319 | | - |
320 | | -"loginpagetitle" => "用户登录", |
321 | | -"yourname" => "您的用户名", |
322 | | -"yourpassword" => "您的密码", |
323 | | -"yourpasswordagain" => "再次输入密码", |
324 | | -"newusersonly" => "(仅限新用户)", |
325 | | -"remembermypassword" => "下次登录记住密码。", |
326 | | -"loginproblem" => "<b>登录有问题。</b><br>再试一次!", |
327 | | -"alreadyloggedin" => "<font color=red><b>用户$1,您已经登录了!</b></font><br>\n", |
328 | | - |
329 | | -"login" => "登录", |
330 | | -"userlogin" => "用户登录", |
331 | | -"logout" => "退出", |
332 | | -"userlogout" => "用户退出", |
333 | | -"createaccount" => "创建新帐号", |
334 | | - "createaccountmail" => "通过eMail", |
335 | | -"badretype" => "你所输入的密码并不相同。", |
336 | | -"userexists" => "您所输入的用户名已有人使用。请另选一个。", |
337 | | -"youremail" => "您的电子邮件*", |
338 | | -"yournick" => "绰号(签名时用)", |
339 | | -"emailforlost" => "* 输入一个电邮地址并不是必须的。但是这将允许他人在您未告知的情况下通过电子邮件与您联系,如果您忘了密码的话电邮地址也会有帮助。", |
340 | | -"loginerror" => "登录错误", |
341 | | -"noname" => "你没有输入一个有效的用户名。", |
342 | | -"loginsuccesstitle" => "登录成功", |
343 | | -"loginsuccess" => "你现在以 \"$1\"的身份登录Wikipedia。", |
344 | | -"nosuchuser" => "找不到用户 \"$1\"。 |
345 | | -检查您的拼写,或者用下面的表格建立一个新帐号。", |
346 | | -"wrongpassword" => "您输入的密码错误,请再试一次。", |
347 | | -"mailmypassword" => "将新密码寄给我", |
348 | | -"passwordremindertitle" => "Wikipedia密码提醒", |
349 | | -"passwordremindertext" => "有人(可能是您,来自IP地址$1)要求我们将新的Wikipedia登录密码寄给你。 |
350 | | -用户 \"$2\" 的密码现在是 \"$3\"。 |
351 | | -请立即登录并更改密码。", |
352 | | -"noemail" => "用户\"$1\"没有登记电子邮件地址。", |
353 | | -"passwordsent" => "用户\"$1\"的新密码已经寄往所登记的电子邮件地址。 |
354 | | -请在收到后再登录。", |
355 | | - |
356 | | -# 编辑 |
357 | | -# |
358 | | -"summary" => "简述", |
359 | | -"subject" => "主题", |
360 | | -"minoredit" => "这是一个小修改", |
361 | | -"watchthis" => "监视本页", |
362 | | -"savearticle" => "保存本页", |
363 | | -"preview" => "预览", |
364 | | -"showpreview" => "显示预览", |
365 | | -"blockedtitle" => "用户被封", |
366 | | -"blockedtext" => "您的用户名或IP地址已被$1封。 |
367 | | -理由是:<br>'''$2'''<p>您可以与$1向其他任何[[Wikipedia:管理员|管理员]]询问。", |
368 | | - "whitelistedittitle" => "登录后才可编辑", |
369 | | - "whitelistedittext" => "您必须先[[Special:Userlogin|登录]]才可编辑页面。", |
370 | | - "whitelistreadtitle" => "登录后才可阅读", |
371 | | - "whitelistreadtext" => "您必须先[[Special:Userlogin|登录]]才可阅读页面。", |
372 | | - "whitelistacctitle" => "您被禁止建立帐号", |
373 | | - "whitelistacctext" => "在本Wiki中建立帐号您必须先[[Special:Userlogin|登录]]并拥有相关权限。", |
374 | | - "accmailtitle" => "密码寄出", |
375 | | - "accmailtext" => "'$1'的密码已经寄到$2。", |
376 | | -"newarticle" => "(新)", |
377 | | -"newarticletext" => |
378 | | -"您从一个链接进入了一个并不存在的页面。 |
379 | | -要创建该页面,请在下面的编辑框中输入内容(详情参见Wikipedia:帮助|帮助页面]])。 |
380 | | -如果您不小心来到本页面,直接点击您浏览器中的“返回”按钮。", |
381 | | - |
382 | | -"anontalkpagetext" => "---- ''这是一个还未建立帐号的匿名用户的对话页。我们因此只能用[[IP地址]]来与他/她联络。该IP地址可能由几名用户共享。如果您是一名匿名用户并认为本页上的评语与您无关,请[[Special:Userlogin|创建新帐号或登录]]以避免在未来于其他匿名用户混淆。''", |
383 | | -"noarticletext" => "(本页目前没有内容)", |
384 | | -"updated" => "(已更新)", |
385 | | -"note" => "<strong>注意:</strong> ", |
386 | | -"previewnote" => "请记住这只是预览,内容还未保存!", |
387 | | -"previewconflict" => "这个预览显示了上面文字编辑区中的内容。它将在你选择保存后出现。", |
388 | | -"editing" => "正在编辑$1", |
389 | | - "sectionedit" => " (段落)", |
390 | | - "commentedit" => " (评论)", |
391 | | -"editconflict" => "编辑冲突:$1", |
392 | | -"explainconflict" => "有人在你开始编辑后更改了页面。 |
393 | | -上面的文字框内显示的是目前本页的内容。 |
394 | | -你所做的修改显示在下面的文字框中。 |
395 | | -你应当将你所做的修改加入现有的内容中。 |
396 | | -<b>只有</b>在上面文字框中的内容会在你点击\"保存页面\"后被保存。\n<p>", |
397 | | -"yourtext" => "您的文字", |
398 | | -"storedversion" => "已保存版本", |
399 | | -"editingold" => "<strong>警告:你正在编辑的是本页的旧版本。 |
400 | | -如果你保存它的话,在本版本之后的任何修改都会丢失。</strong>\n", |
401 | | -"yourdiff" => "差别", |
402 | | -"copyrightwarning" => "请注意对Wikipedia的任何贡献都将被认为是在GNU自由文档协议证书下发布。 |
403 | | -(细节请见$1). |
404 | | -如果您不希望您的文字被任意修改和再散布,请不要提交。<br> |
405 | | -您同时也向我们保证你所提交的内容是你自己所作,或得自一个不受版权保护或相似自由的来源。 |
406 | | -<strong>不要在未获授权的情况下发表!</strong>", |
407 | | - |
408 | | -"longpagewarning" => "警告:本页长度达$1KB;一些浏览器将无法编辑长过32KB的文章。请考虑将本文切割成几个小段落。", |
409 | | - |
410 | | -"readonlywarning" => "警告:数据库被锁以进行维护,所以您目前将无法保存您的修改。您或许希望先将本断文字复制并保存到文本文件,然后等一会儿再修改。", |
411 | | -"protectedpagewarning" => "警告:本页已经被保护,只有拥有管理员权限的用户才可修改。请确认您遵守 |
412 | | -<a href='/wiki/Wikipedia:Protected_page_guidelines'>保护页面守则</a>.", |
413 | | - |
414 | | -# History pages |
415 | | -# |
416 | | -"revhistory" => "修订历史", |
417 | | -"nohistory" => "没有本页的修订记录。", |
418 | | -"revnotfound" => "没有找到修订记录", |
419 | | -"revnotfoundtext" => "您请求的更早版本的修订记录没有找到。 |
420 | | -请检查您请求本页面用的 URL 是否正确。\n", |
421 | | -"loadhist" => "载入页面修订历史", |
422 | | -"currentrev" => "当前修订版本", |
423 | | -"revisionasof" => "$1的修订版本", |
424 | | -"cur" => "当前", |
425 | | -"next" => "后继", |
426 | | -"last" => "先前", |
427 | | -"orig" => "初始", |
428 | | -"histlegend" => "说明:(当前)指与当前修订版本比较;(先前)指与前一个修订版本比较,小 指细微修改。", |
429 | | - |
430 | | -# Diffs |
431 | | -# |
432 | | -"difference" => "(修订版本间差异)", |
433 | | -"loadingrev" => "载入修订版本比较", |
434 | | -"lineno" => "第 $1 行:", |
435 | | -"editcurrent" => "编辑本页的当前修订版本", |
436 | | - |
437 | | -# Search results |
438 | | -# |
439 | | -"searchresults" => "搜索结果", |
440 | | -"searchresulttext" => "有关搜索{{SITENAME}}的更多详情,参见[[Project:搜索|搜索{{SITENAME}}]]。", |
441 | | -"searchquery" => "查询\"$1\"", |
442 | | -"badquery" => "搜索查询不正确", |
443 | | -"badquerytext" => "我们无法处理您的查询。 |
444 | | -这可能是由于您试图搜索一个短于3个字母的外文单词, |
445 | | -或者您错误地输入了搜索项,例如\"汽车和和火车\"。 |
446 | | -请再尝试一个新的搜索项。", |
447 | | -"matchtotals" => "搜索项\"$1\"与$2条文章的题目相符,和$3条文章相符。", |
448 | | - |
449 | | -"nogomatch" => "没有文章与搜索项完全匹配,请尝试完整文字搜索。", |
450 | | -"titlematches" => "文章题目相符", |
451 | | -"notitlematches" => "没有找到匹配文章题目", |
452 | | -"textmatches" => "文章内容相符", |
453 | | -"notextmatches" => "没有文章内容匹配", |
454 | | - |
455 | | -"prevn" => "先前$1", |
456 | | -"nextn" => "之后$1", |
457 | | -"viewprevnext" => "查看 ($1) ($2) ($3).", |
458 | | -"showingresults" => "下面显示<b>$1</b>条结果,从第<b>$2</b>条开始", |
459 | | -"nonefound" => "<strong>注意:</strong>失败的搜索往往是由于试图搜索诸如“的”或“和”之类的常见字所引起。", |
460 | | -"powersearch" => "搜索", |
461 | | -"powersearchtext" => " |
462 | | -搜索名字空间:<br>$1<br>$2列出重定向页面;搜索$3 $9", |
463 | | - |
464 | | -"searchdisabled" => "<p>Wikipedia内部搜索功能由于高峰时段服务器超载而停止使用。 |
465 | | -您可以暂时通过 |
466 | | -<a href=\"http://google.com/\">google</a>搜索Wikipedia。 |
467 | | -谢谢您的耐心。 |
468 | | -<!-- Search Google --> |
469 | | -<form id=\"google\" method=\"get\" action=\"http://www.google.com/custom\"> |
470 | | -<table bgcolor=\"#FFFFFF\" cellspacing=0 border=0> |
471 | | -<tr valign=top><td> |
472 | | -<a href=\"http://www.google.com/search\"> |
473 | | -<img src=\"http://www.google.com/logos/Logo_40wht.gif\" border=0 |
474 | | -alt=\"Google\" align=\"middle\"></a> |
475 | | -</td> |
476 | | -<td> |
477 | | -<input type=text name=\"q\" size=31 maxlength=255 value=\"$1\"> |
478 | | -<input type=submit name=\"sa\" value=\"Google搜索\"> |
479 | | -<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> |
480 | | -<input type=hidden name=\"domains\" value=\"zh.wikipedia.org\"><br> |
481 | | -<input type=radio name=\"sitesearch\" value=\"\"> 搜索WWW |
482 | | -<input type=radio name=\"sitesearch\" value=\"zh.wikipedia.org\" checked> 搜索zh.wikipedia.org </font><br> |
483 | | -</td></tr></table></form> |
484 | | -<!-- Search Google -->\n", |
485 | | - |
486 | | -# Preferences page |
487 | | -# |
488 | | -"preferences" => "参数设置", |
489 | | -"prefsnologin" => "还未登录", |
490 | | -"prefsnologintext" => "您必须先<a href=\"" . |
491 | | - wfLocalUrl( "Special:Userlogin" ) . "\">登录</a>才能设置个人参数。", |
492 | | -"prefslogintext" => "你已经以\"$1\"的身份登录。 |
493 | | -你的内部ID是$2。", |
494 | | -"prefsreset" => "参数重新设置。", |
495 | | -"qbsettings" => "快速导航条设置", |
496 | | -"changepassword" => "更改密码", |
497 | | -"skin" => "Skin", |
498 | | -"math" => "数学显示", |
499 | | -"math_failure" => "无法解析", |
500 | | -"math_unknown_error" => "未知错误", |
501 | | -"math_unknown_function" => "未知函数", |
502 | | -"math_lexing_error" => "句法错误", |
503 | | -"math_syntax_error" => "语法错误", |
504 | | -"saveprefs" => "保存参数设置", |
505 | | -"resetprefs" => "重设参数", |
506 | | -"oldpassword" => "旧密码", |
507 | | -"newpassword" => "新密码", |
508 | | -"retypenew" => "重复新密码", |
509 | | -"textboxsize" => "文字框尺寸", |
510 | | -"rows" => "行", |
511 | | -"columns" => "列", |
512 | | -"searchresultshead" => "搜索结果设定", |
513 | | -"resultsperpage" => "每页显示链接数", |
514 | | -"contextlines" => "每链接行数", |
515 | | -"contextchars" => "每行字数", |
516 | | -"stubthreshold" => "stub显示基本限制", |
517 | | -"recentchangescount" => "最近更改页行数", |
518 | | -"savedprefs" => "您的个人参数设置已经保存。", |
519 | | -"timezonetext" => "输入当地时间与服务器时间(UTC)的时差。", |
520 | | -"localtime" => "当地时间", |
521 | | -"timezoneoffset" => "差", |
522 | | -"emailflag" => "禁止其他用户发e-mail给我", |
523 | | - |
524 | | -# Recent changes |
525 | | -# |
526 | | -"changes" => "更改", |
527 | | -"recentchanges" => "最近更改", |
528 | | -"recentchangestext" => "本页跟踪Wikipedia内最新的更改。 |
529 | | -[[Wikipedia:欢迎,新来者|欢迎,新来者]]! |
530 | | -请参见这些页面:[[wikipedia:常见问题解答|Wikipedia常见问题解答]]、 |
531 | | -[[Wikipedia:守则与指导|Wikipedia守则]] |
532 | | -(特别是[[wikipedia:命名常规|命名常规]]、 |
533 | | -[[wikipedia:中性的观点|中立观点]]) |
534 | | -和[[wikipedia:最常见失礼行为|最常见失礼行为]]。 |
535 | | - |
536 | | -如果您希望 Wikipedia 成功,那么请您不要增加受其它[[wikipedia:版权信息|版权]] |
537 | | -限制的材料,这一点将非常重要。相关的法律责任会伤害本项工程,所以请不要这样做。 |
538 | | -此外请参见 |
539 | | -[http://meta.wikipedia.org/wiki/Special:Recentchanges 最近的 meta 讨论]。", |
540 | | - |
541 | | -"rcloaderr" => "载入最近更改", |
542 | | -"rcnote" => "下面是最近<strong>$2</strong>天内最新的<strong>$1</strong>次改动。", |
543 | | -"rcnotefrom" => "下面是自<b>$2</b>(最多显示<b>$1</b>)。", |
544 | | -"rclistfrom" => "显示自$1以来的新更改", |
545 | | -# "rclinks" => "显示最后$2小时/$3天内的$1此修改", |
546 | | -"rclinks" => "显示最近 $2 天内最新的 $1 次改动。", |
547 | | -"rchide" => "以$4形式;$1个小修改;$2个二级名字空间;$3个多重修改", |
548 | | -"diff" => "差异", |
549 | | -"hist" => "历史", |
550 | | -"hide" => "隐藏", |
551 | | -"show" => "显示", |
552 | | -"tableform" => "表格", |
553 | | -"listform" => "列表", |
554 | | -"nchanges" => "$1个更改", |
555 | | -"minoreditletter" => "小", |
556 | | -"newpageletter" => "新", |
557 | | - |
558 | | -# Upload |
559 | | -# |
560 | | -"upload" => "上载文件", |
561 | | -"uploadbtn" => "上载文件", |
562 | | -"uploadlink" => "上载图像", |
563 | | -"reupload" => "重新上载", |
564 | | -"reuploaddesc" => "返回上载表单。", |
565 | | -"uploadnologin" => "未登录", |
566 | | -"uploadnologintext" => "您必须先<a href=\"" . |
567 | | - wfLocalUrl( "Special:Userlogin" ) . "\">登录</a> |
568 | | -才能上载文件。", |
569 | | -"uploadfile" => "上载文件", |
570 | | -"uploaderror" => "上载错误", |
571 | | -"uploadtext" => "'''停止!'''在您上载之前,请先阅读并遵守Wikipedia |
572 | | -[[Project:Image use policy|图像使用守则]]。 |
573 | | - |
574 | | -如果您要查看或搜索之前上载的图像, |
575 | | -请到[[Special:Imagelist|已上载图像列表]]. |
576 | | -所有上载与删除行为都被记录在 |
577 | | -[[Project:上载纪录|上载纪录]]内。 |
578 | | - |
579 | | -使用下面的表单来上载用在条目内新的图像文件。 |
580 | | -在绝大多数浏览器内,你会看到一个\"浏览...\"按钮,点击它后就会跳出一个打开文件对话框。 |
581 | | -选择一个文件后文件名将出现在按钮旁边的文字框中。 |
582 | | -您也必须点击旁边的复选框确认您所上载的文件并没有违反相关版权法律。 |
583 | | -点击\"上载\" 按钮完成上载程序。 |
584 | | -如果您使用的是较慢的网络连接的话那么这个上载过程会需要一些时间。 |
585 | | - |
586 | | -我们建议照相图片使用JPEG格式,绘图及其他图标图像使用PNG格式,音像则使用OGG格式。 |
587 | | -请使用具有描述性的语言来命名您的文件以避免混乱。 |
588 | | -要在文章中加入图像,使用以下形式的连接: |
589 | | -'''<nowiki>[[图像:file.jpg]]</nowiki>'''或者 |
590 | | -'''<nowiki>[[图像:file.png|解释文字]]</nowiki>''' |
591 | | -或'''<nowiki>[[media:file.ogg]]</nowiki>'''来连接音像文件。 |
592 | | - |
593 | | -请注意在Wikipedia页面中,其他人可能会为了百科全书的利益而编辑或删除您的上载文件, |
594 | | -而如果您滥用上载系统,您则有可能被禁止使用上载功能。", |
595 | | -"uploadlog" => "上载纪录", |
596 | | -"uploadlogpage" => "上载纪录", |
597 | | -"uploadlogpagetext" => "以下是最近上载的文件的一览表。 |
598 | | -所有显示的时间都是服务器时间(UTC)。 |
599 | | -<ul> |
600 | | -</ul> |
601 | | -", |
602 | | -"filename" => "文件名", |
603 | | -"filedesc" => "简述", |
604 | | -"affirmation" => "我保证本文件的版权持有人同意将其在$1条款下发布。", |
605 | | -"copyrightpage" => "Wikipedia:版权信息", |
606 | | -"copyrightpagename" => "Wikipedia版权", |
607 | | -"uploadedfiles" => "已上载文件", |
608 | | -"noaffirmation" => "您必须保证您上载的文件并没有侵犯版权。", |
609 | | -"ignorewarning" => "忽略警告并保存文件。", |
610 | | -"minlength" => "图像名字必须至少有三个字母。", |
611 | | -"badfilename" => "图像名已被改为\"$1\"。", |
612 | | -"badfiletype" => "\".$1\"不是所推荐的图像文件格式。", |
613 | | -"largefile" => "我们建议图像大小不超过100kb。", |
614 | | -"successfulupload" => "上载成功", |
615 | | -"fileuploaded" => "文件\"$1\"上载成功。 |
616 | | -请根据连接($2)到图像描述页添加有关文件信息,例如它的来源,在何时由谁创造, |
617 | | -以及其他任何您知道的关于改图像的信息。", |
618 | | -"uploadwarning" => "上载警告", |
619 | | -"savefile" => "保存文件", |
620 | | -"uploadedimage" => "已上载\"$1\"", |
621 | | - |
622 | | -# Image list |
623 | | -# |
624 | | -"imagelist" => "图像列表", |
625 | | -"imagelisttext" => "以下是按$2排列的$1幅图像列表。", |
626 | | -"getimagelist" => "正在获取图像列表", |
627 | | -"ilshowmatch" => "显示所有匹对的图像", |
628 | | -"ilsubmit" => "搜索", |
629 | | -"showlast" => "显示按$2排列的最后$1幅图像。", |
630 | | -"all" => "全部", |
631 | | -"byname" => "名字", |
632 | | -"bydate" => "日期", |
633 | | -"bysize" => "大小", |
634 | | -"imgdelete" => "删", |
635 | | -"imgdesc" => "述", |
636 | | -"imglegend" => "说明:(述) = 显示/编辑图像描述页。", |
637 | | -"imghistory" => "图像历史", |
638 | | -"revertimg" => "复", |
639 | | -"deleteimg" => "删", |
640 | | -"deleteimgcompletely" => "删", |
641 | | -"imghistlegend" => "egend: (现) = 目前的图像,(删) = 删除旧版本, |
642 | | -(复) = 恢复到旧版本。 |
643 | | -<br><i>点击日期查看当天上载的图像</i>.", |
644 | | -"imagelinks" => "图像链接", |
645 | | - |
646 | | -"linkstoimage" => "以下页面连接到本图像:", |
647 | | -"nolinkstoimage" => "没有页面连接到本图像。", |
648 | | - |
649 | | -# Statistics |
650 | | -# |
651 | | -"statistics" => "统计", |
652 | | -"sitestats" => "站点统计", |
653 | | -"userstats" => "用户统计", |
654 | | -"sitestatstext" => "数据库中共有 <b>$1</b> 页页面; |
655 | | -其中包括对话页、关于 Wikipedia 的页面、最少量的\"stub\"页、重定向的页面, |
656 | | -以及未达到条目质量的页面;除此之外还有 <b>$2</b> 页可能是合乎标准的条目。 |
657 | | -<p>从系统软件升级以来,全站点共有页面浏览 <b>$3</b> 次, |
658 | | -页面编辑 <b>$4</b> 次,每页平均编辑 <b>$5</b> 次, |
659 | | -各次编辑后页面的每个版本平均浏览 <b>$6</b> 次。", |
660 | | - |
661 | | -# Maintenance Page |
662 | | -# |
663 | | -"maintenance" => "维护页", |
664 | | -"maintnancepagetext" => "这页面提供了几个帮助Wikipedia日常维护的工具。 |
665 | | -但其中几个会对我们的数据库造成压力, |
666 | | -所以请您不要在每修理好几个项目后就按重新载入 ;-)", |
667 | | -"maintenancebacklink" => "返回维护页", |
668 | | -"disambiguations" => "消含糊页", |
669 | | -"disambiguationspage" => "Wikipedia:Links_to_disambiguating_pages", |
670 | | -"disambiguationstext" => "以下的条目都有到消含糊页的链接,但它们应该是链到适当的题目。<br>一个页面会被视为消含糊页如果它是链自$1.<br>由其它他名字空间来的链接<i>不会</i>在这儿被列出来。", |
671 | | -"doubleredirects" => "双重重定向", |
672 | | -"doubleredirectstext" => "<b>请注意:</b> 这列表可能包括不正确的反应。 |
673 | | -这通常表示在那页面第一个#REDIRECT之下还有文字。<br>\n |
674 | | -每一行都包含到第一跟第二个重定向页的链接,以及第二个重定向页的第一行文字, |
675 | | -通常显示的都会是\“真正\” 的目标页面,也就是第一个重定向页应该指向的条目。", |
676 | | -"brokenredirects" => "损坏的重定向页", |
677 | | -"brokenredirectstext" => "以下的重定向页指向的是不存在的条目。", |
678 | | -"selflinks" => "有自我链接的页面", |
679 | | -"selflinkstext" => "以下的页面都错误地包含了连到自己的链接。", |
680 | | -"mispeelings" => "拼写错误的页面", |
681 | | -"mispeelingstext" => "以下页面包含了一些常见的拼写错误(见$1)。正确的拼法已经给出。", |
682 | | -"mispeelingspage" => "常见拼写错误列表", |
683 | | -"missinglanguagelinks" => "无语言链接", |
684 | | -"missinglanguagelinksbutton" => "寻找没有该语言的页面", |
685 | | -"missinglanguagelinkstext" => "这些条目<i>没有</i>链接到$1。 |
686 | | -重定向页与副页<b>并没有</b>包括在内。", |
687 | | - |
688 | | - |
689 | | -# Miscellaneous special pages |
690 | | -# |
691 | | -"orphans" => "孤立条目", |
692 | | -"lonelypages" => "孤立页面", |
693 | | -"unusedimages" => "未使用图像", |
694 | | -"popularpages" => "热点条目", |
695 | | -"nviews" => "$1次浏览", |
696 | | -"wantedpages" => "待撰页面", |
697 | | -"nlinks" => "$1个链接", |
698 | | -"allpages" => "所有页面", |
699 | | -"randompage" => "随机页面", |
700 | | -"shortpages" => "短条目", |
701 | | -"longpages" => "长条目", |
702 | | -"listusers" => "用户列表", |
703 | | -"specialpages" => "特殊页面", |
704 | | -"spheading" => "特殊页面", |
705 | | -"sysopspheading" => "管理员特殊页面", |
706 | | -"developerspheading" => "发展者特殊页面", |
707 | | -"protectpage" => "保护页面", |
708 | | -"recentchangeslinked" => "链出更改", |
709 | | -"rclsub" => "(从 \"$1\"链出的页面)", |
710 | | -"debug" => "除错", |
711 | | -"newpages" => "新页面", |
712 | | -"intl" => "跨语言链接", |
713 | | -"movethispage" => "移动本页", |
714 | | -"unusedimagestext" => "<p>请注意其他网站(例如其他语言版本的Wikipedia) |
715 | | -有可能直接链接本图像,所以这里列出的图像有可能依然被使用。", |
716 | | -"booksources" => "战外书源", |
717 | | -"booksourcetext" => "以下是链接到销售书籍的网站列表, |
718 | | -因此有可能拥有您所寻找的图书的进一步资料。 |
719 | | -Wikipedia与这些公司并没有任何商业关系,因此本表不应该 |
720 | | -被看作是一种背书。", |
721 | | -"alphaindexline" => "$1 到 $2", |
722 | | - |
723 | | -# Email this user |
724 | | -# |
725 | | -"mailnologin" => "无电邮地址", |
726 | | -"mailnologintext" => "您必须先<a href=\"" . |
727 | | - wfLocalUrl( "Special:Userlogin" ) . "\">登录</a> |
728 | | -并在<a href=\"" . |
729 | | - wfLocalUrl( "Special:Preferences" ) . "\">参数设置</a> |
730 | | -中有一个有效的e-mail地址才可以电邮其他用户。", |
731 | | -"emailuser" => "E-mail该用户", |
732 | | -"emailpage" => "E-mail用户", |
733 | | -"emailpagetext" => "如果该用户已经在他或她的参数设置页中输入了有效的e-mail地址,以下的表格将寄一个信息给该用户。您在您参数设置中所输入的e-mail地址将出现在邮件“发件人”一栏中,这样该用户就可以回复您。", |
734 | | -"noemailtitle" => "无e-mail地址", |
735 | | -"noemailtext" => "该用户还没有指定一个有效的e-mail地址, |
736 | | -或者选择不接受来自其他用户的e-mail。", |
737 | | - |
738 | | -"emailfrom" => "发件人", |
739 | | -"emailto" => "收件人", |
740 | | -"emailsubject" => "主题", |
741 | | -"emailmessage" => "信息", |
742 | | -"emailsend" => "发送", |
743 | | -"emailsent" => "E-mail已发送", |
744 | | -"emailsenttext" => "您的e-mail已经发出。", |
745 | | - |
746 | | -# Watchlist |
747 | | -# |
748 | | -"watchlist" => "监视列表", |
749 | | -"watchlistsub" => "(用户\"$1\")", |
750 | | -"nowatchlist" => "您的监视列表为空。", |
751 | | -"watchnologin" => "未登录", |
752 | | -"watchnologintext" => "您必须先<a href=\"" . |
753 | | - wfLocalUrl( "Special:Userlogin" ) . "\">登录</a> |
754 | | -才能更改您的监视列表", |
755 | | -"addedwatch" => "加入到监视列表", |
756 | | -"addedwatchtext" => "本页(“$1”)已经被加入到您的<a href=\"" . |
757 | | - wfLocalUrl( "Special:Watchlist" ) . "\">监视列表</a>中。 |
758 | | -未来有关它或它的对话页的任何修改将会在本页中列出, |
759 | | -而且还会在<a href=\"" . |
760 | | - wfLocalUrl( "Special:Recentchanges" ) . "\">最近更改列表</a>中 |
761 | | -以<b>粗体</b>形式列出。</p> |
762 | | - |
763 | | -<p>如果您之后想将该页面从监视列表中删除,点击导航条中的“停止监视”链接。", |
764 | | -"removedwatch" => "停止监视", |
765 | | -"removedwatchtext" => "页面“$1”已经从您的监视页面中移除。", |
766 | | -"watchthispage" => "监视本页", |
767 | | -"unwatchthispage" => "停止监视", |
768 | | -"notanarticle" => "不是条目", |
769 | | - "watchnochange" => "在显示的时间段内您所监视的页面没有更改。", |
770 | | - "watchdetails" => "($1个页面(不含对话页)被监视; |
771 | | - 总共$2个页面被编辑; |
772 | | - $3... |
773 | | - <a href='$4'>显示并编辑完整列表</a>.)", |
774 | | - "watchmethod-recent" => "检查被监视页面的最近编辑", |
775 | | - "watchmethod-list" => "checking watched pages for recent edits", |
776 | | - "removechecked" => "将被选页面从监视列表中移除", |
777 | | - "watchlistcontains" => "您的监视列表包含$1个页面。", |
778 | | - "watcheditlist" => "这里是您所监视的页面的列表。要移除某一页面,只要选择该页面然后点击”移除页面“按钮。", |
779 | | - "removingchecked" => "移除页面...", |
780 | | - "couldntremove" => "无法移除'$1'...", |
781 | | - "iteminvalidname" => "页面'$1'错误,无效命名...", |
782 | | - "wlnote" => "以下是最近<b>$2</b>小时内的最后$1次修改。", |
783 | | - |
784 | | -# Delete/protect/revert |
785 | | -# |
786 | | -"deletepage" => "删除页面", |
787 | | -"confirm" => "确认", |
788 | | -"confirmdelete" => "确认删除", |
789 | | -"deletesub" => "(正在删除“$1”)", |
790 | | -"confirmdeletetext" => "您即将从数据库中永远删除一个页面或图像以及其历史。 |
791 | | -请确定您要进行此项操作,并且了解其后果,同时您的行为符合[[Wikipedia:守则与指导]]。 |
792 | | -", |
793 | | -"confirmcheck" => "是的,我确定要删除。", |
794 | | -"actioncomplete" => "操作完成", |
795 | | -"deletedtext" => "“$1”已经被删除。 |
796 | | -最近删除的纪录请参见$2。", |
797 | | -"deletedarticle" => "已删除“$1”", |
798 | | - |
799 | | -"dellogpage" => "删除纪录", |
800 | | -"dellogpagetext" => "以下是最近删除的纪录列表。 |
801 | | -所有的时间都是使用服务器时间(UTC)。 |
802 | | -<ul> |
803 | | -</ul> |
804 | | -", |
805 | | -"deletionlog" => "删除纪录", |
806 | | -"reverted" => "恢复到早期版本", |
807 | | -"deletecomment" => "删除理由", |
808 | | -"imagereverted" => "恢复到早期版本操作完成。", |
809 | | -"rollback" => "Roll back", |
810 | | -"rollbacklink" => "rollback", |
811 | | -"cantrollback" => "无法恢复编辑;最后的巩县者是本文的唯一作者。", |
812 | | -"revertpage" => "恢复到$1的最后一次编辑", |
813 | | - |
814 | | -# Undelete |
815 | | -"undelete" => "恢复被删页面", |
816 | | -"undeletepage" => "浏览及恢复被删页面", |
817 | | -"undeletepagetext" => "以下页面已经被删除,但依然在档案中并可以被恢复。 |
818 | | -档案库可能被定时清理。", |
819 | | -"undeletearticle" => "恢复被删文章", |
820 | | -"undeleterevisions" => "$1版本存档", |
821 | | -"undeletehistory" => "如果您恢复了该页面,所有版本都会被恢复到修订历史中。 |
822 | | -如果本页删除后有一个同名的新页面建立, |
823 | | -被恢复的版本将会称为较新的历史,而新页面的当前版本将无法被自动复原。", |
824 | | -"undeleterevision" => "删除$1时的版本", |
825 | | -"undeletebtn" => "恢复!", |
826 | | -"undeletedarticle" => "已经恢复“$1”", |
827 | | -"undeletedtext" => "[[$1]]已经被成功复原。 |
828 | | -有关Wikipedia最近的删除与复原,参见[[Wikipedia:删除纪录]]", |
829 | | - |
830 | | -# Contributions |
831 | | -# |
832 | | -"contributions" => "用户贡献", |
833 | | -"mycontris" => "我的贡献", |
834 | | -"contribsub" => "为$1", |
835 | | -"nocontribs" => "没有找到符合特征的更改。", |
836 | | -"ucnote" => "以下是该用户最近<b><$2/b>天内的最后<b>$1</b>次修改。", |
837 | | -"uclinks" => "参看最后$1次修改;参看最后$2天。", |
838 | | -"uctop" => " (顶)" , |
839 | | - |
840 | | -# What links here |
841 | | -# |
842 | | -"whatlinkshere" => "链入页面", |
843 | | -"notargettitle" => "无目标", |
844 | | -"notargettext" => "您还没有指定一个目标页面或用户以进行此项操作。", |
845 | | -"linklistsub" => "(链接列表)", |
846 | | -"linkshere" => "以下页面链接到这里:", |
847 | | -"nolinkshere" => "没有页面链接到这里。", |
848 | | -"isredirect" => "重定向页", |
849 | | - |
850 | | -# Block/unblock IP |
851 | | -# |
852 | | -"blockip" => "查封IP地址", |
853 | | -"blockiptext" => "用下面的表单来禁止来自某一特定IP地址的修改权限。 |
854 | | -只有在为防止破坏,及符合[[Wikipedia:守则与指导]]的情况下才可采取此行动。 |
855 | | -请在下面输入一个具体的理由(例如引述一个被破坏的页面)。", |
856 | | -"ipaddress" => "IP地址", |
857 | | -"ipbreason" => "原因", |
858 | | -"ipbsubmit" => "查封该地址", |
859 | | -"badipaddress" => "IP地址不正确。", |
860 | | -"noblockreason" => "您必须说明查封的具体理由。", |
861 | | -"blockipsuccesssub" => "查封成功", |
862 | | -"blockipsuccesstext" => "IP地址“$1”已经被查封。 |
863 | | -<br>参看[[Special:被封IP地址列表|被封IP地址列表]]以复审查封。", |
864 | | -"unblockip" => "解除禁封IP地址", |
865 | | -"unblockiptext" => "用下面的表单来恢复先前被禁封的IP地址的书写权。", |
866 | | -"ipusubmit" => "解除禁封", |
867 | | -"ipusuccess" => "IP地址“$1”已经被解除禁封", |
868 | | -"ipblocklist" => "被封IP地址列表", |
869 | | -"blocklistline" => "$1,$2禁封$3", |
870 | | -"blocklink" => "禁封", |
871 | | -"unblocklink" => "解除禁封", |
872 | | -"contribslink" => "贡献", |
873 | | - |
874 | | -# Developer tools |
875 | | -# |
876 | | -"lockdb" => "禁止更改数据库", |
877 | | -"unlockdb" => "开放更改数据库", |
878 | | -"lockdbtext" => "锁住数据库将禁止所有用户进行编辑页面、更改参数、编辑监视列表以及其他需要更改数据库的操作。 |
879 | | -请确认您的决定,并且保证您在维护工作结束后会重新开放数据库。", |
880 | | -"unlockdbtext" => "开放数据库将会恢复所有用户进行编辑页面、修改参数、编辑监视列表以及其他需要更改数据库的操作。 |
881 | | -请确认您的决定。", |
882 | | -"lockconfirm" => "是的,我确实想要封锁数据库。", |
883 | | -"unlockconfirm" => "是的,我确实想要开放数据库。", |
884 | | -"lockbtn" => "数据库上锁", |
885 | | -"unlockbtn" => "开放数据库", |
886 | | -"locknoconfirm" => "您并没有勾选确认按钮。", |
887 | | -"lockdbsuccesssub" => "数据库成功上锁", |
888 | | - |
889 | | -"unlockdbsuccesssub" => "数据库开放", |
890 | | -"lockdbsuccesstext" => "Wikipedia数据库已经上锁。 |
891 | | -<br>请记住在维护完成后重新开放数据库。", |
892 | | -"unlockdbsuccesstext" => "Wikipedia数据库重新开放。", |
893 | | - |
894 | | -# SQL query |
895 | | -# |
896 | | -"asksql" => "SQL查询", |
897 | | -"asksqltext" => "用下面的表单对Wikipedia数据库进行直接查询。 |
898 | | -使用单引号('像这样') 来分割字串符。 |
899 | | -这样做有可能增加服务器的负担,所以请慎用本功能。", |
900 | | -"sqlquery" => "输入查询", |
901 | | -"querybtn" => "提交查询", |
902 | | -"selectonly" => "除了“SELECT”以外的所有查询都只限Wikipedia发展者使用。", |
903 | | -"querysuccessful" => "查询成功", |
904 | | - |
905 | | -# Move page |
906 | | -# |
907 | | -"movepage" => "移动页面", |
908 | | -"movepagetext" => "用下面的表单来重命名一个页面,并将其修订历史同时移动到新页面。 |
909 | | -老的页面将成为新页面的重定向页。 |
910 | | -链接到老页面的链接并不会自动更改; |
911 | | -请[[Special:Maintenance|检查]]双重或损坏重定向链接。 |
912 | | -您应当负责确定所有链接依然会链到指定的页面。 |
913 | | - |
914 | | -注意如果新页面已经有内容的话,页面将'''不会'''被移动, |
915 | | -除非新页面无内容或是重定向页,而且没有修订历史。 |
916 | | -这意味着您再必要时可以在移动到新页面后再移回老的页面, |
917 | | -同时您也无法覆盖现有页面。 |
918 | | - |
919 | | -<b>警告!</b> |
920 | | -对一个经常被访问的页面而言这可能是一个重大与唐突的更改; |
921 | | -请在行动前先了结其所可能带来的后果。", |
922 | | -"movepagetalktext" => "有关的对话页(如果有的话)将被自动与该页面一起移动,'''除非''': |
923 | | -*您将页面移动到不同的名字空间(namespaces); |
924 | | -*新页面已经有一个包含内容的对话页,或者 |
925 | | -*您不勾选下面的复选框。 |
926 | | - |
927 | | -在这些情况下,您在必要时必须手工移动或合并页面。", |
928 | | -"movearticle" => "移动页面", |
929 | | -"movenologin" => "未登录", |
930 | | -"movenologintext" => "您必须是一名登记用户并且<a href=\"" . |
931 | | - wfLocalUrl( "Special:Userlogin" ) . "\">登录</a> |
932 | | -后才可移动一个页面。", |
933 | | -"newtitle" => "新标题", |
934 | | -"movepagebtn" => "移动页面", |
935 | | -"pagemovedsub" => "移动成功", |
936 | | -"pagemovedtext" => "页面“[[$1]]”已经移动到“[[$2]]”。", |
937 | | -"articleexists" => "该名字的页面已经存在,或者您选择的名字无效。请再选一个名字。", |
938 | | -"talkexists" => "页面本身移动成功, |
939 | | -但是由于新标题下已经有对话页存在,所以对话页无法移动。请手工合并两个页面。", |
940 | | -"movedto" => "移动到", |
941 | | -"movetalk" => "如果可能的话,请同时移动对话页。", |
942 | | -"talkpagemoved" => "相应的对话页也已经移动。", |
943 | | -"talkpagenotmoved" => "相应的对话页<strong>没有</strong>被移动。", |
944 | | - |
945 | | -# Math |
946 | | - |
947 | | -'mw_math_png' => "永远使用PNG图像", /* "Always render PNG" */ |
948 | | -'mw_math_simple' => "如果是简单的公式使用HTML,否则使用PNG图像", /* "HTML if very simple or else PNG" */ |
949 | | -'mw_math_html' => "如果可以用HTML,否则用PNG图像", /* "HTML if possible or else PNG" */ |
950 | | -'mw_math_source' => "显示为TeX代码(使用文字浏览器时)", /* "Leave it as TeX (for text browsers)" */ |
951 | | -'mw_math_modern' => "推荐为新版浏览器使用", /* "Recommended for modern browsers" */ |
952 | | - |
953 | | -); |
954 | | - |
955 | | -class LanguageZh extends LanguageUtf8 { |
956 | | - |
957 | | - function getDefaultUserOptions () { |
958 | | - $opt = Language::getDefaultUserOptions(); |
959 | | - return $opt; |
960 | | - } |
961 | | - |
962 | 113 | function getBookstoreList () { |
963 | | - global $wgBookstoreListZh ; |
964 | | - return $wgBookstoreListZh ; |
| 114 | + return $this->mZhLang->getBookstoreList() ; |
965 | 115 | } |
966 | 116 | |
967 | 117 | function getNamespaces() { |
968 | | - global $wgNamespaceNamesZh; |
969 | | - return $wgNamespaceNamesZh; |
| 118 | + return $this->mZhLang->getNamespaces(); |
970 | 119 | } |
971 | 120 | |
972 | 121 | function getNsText( $index ) { |
973 | | - global $wgNamespaceNamesZh; |
974 | | - return $wgNamespaceNamesZh[$index]; |
| 122 | + return $this->mZhLang->getNsText($index); |
975 | 123 | } |
976 | 124 | |
977 | 125 | function getNsIndex( $text ) { |
978 | | - global $wgNamespaceNamesZh; |
979 | | - |
980 | | - foreach ( $wgNamespaceNamesZh as $i => $n ) { |
981 | | - if ( 0 == strcasecmp( $n, $text ) ) { return $i; } |
982 | | - } |
983 | | - # Aliases |
984 | | - if ( 0 == strcasecmp( "特殊", $text ) ) { return -1; } |
985 | | - if ( 0 == strcasecmp( "", $text ) ) { return ; } |
986 | | - if ( 0 == strcasecmp( "对话", $text ) ) { return 1; } |
987 | | - if ( 0 == strcasecmp( "用户", $text ) ) { return 2; } |
988 | | - if ( 0 == strcasecmp( "用户对话", $text ) ) { return 3; } |
989 | | - if ( 0 == strcasecmp( "Wikipedia_对话", $text ) ) { return 5; } |
990 | | - if ( 0 == strcasecmp( "图像", $text ) ) { return 6; } |
991 | | - if ( 0 == strcasecmp( "图像对话", $text ) ) { return 7; } |
992 | | - return false; |
| 126 | + return $this->mZhLang->getNsIndex($text); |
993 | 127 | } |
994 | 128 | |
995 | 129 | function getQuickbarSettings() { |
996 | | - global $wgQuickbarSettingsZh; |
997 | | - return $wgQuickbarSettingsZh; |
| 130 | + return $this->mZhLang->getQuickbarSettings(); |
998 | 131 | } |
999 | 132 | |
1000 | 133 | function getSkinNames() { |
1001 | | - global $wgSkinNamesZh; |
1002 | | - return $wgSkinNamesZh; |
| 134 | + return $this->mZhLang->getSkinNames(); |
1003 | 135 | } |
1004 | 136 | |
1005 | | -# The date and time functions can be tweaked if need be |
1006 | | - |
1007 | | - # inherit userAdjust() |
1008 | | - |
1009 | 137 | function date( $ts, $adj = false ) |
1010 | 138 | { |
1011 | | - if ( $adj ) { $ts = $this->userAdjust( $ts ); } |
1012 | | - |
1013 | | - $d = substr( $ts, 0, 4 ) . "年" . |
1014 | | - $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . |
1015 | | - (0 + substr( $ts, 6, 2 )) . "日"; |
1016 | | - return $d; |
| 139 | + return $this->mZhLang->date($ts,$adj); |
1017 | 140 | } |
1018 | 141 | |
1019 | 142 | function timeanddate( $ts, $adj = false ) |
1020 | 143 | { |
1021 | | - return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj ); |
| 144 | + return $this->mZhLang->timeanddate($ts, $adj); |
1022 | 145 | } |
1023 | 146 | |
1024 | 147 | function getValidSpecialPages() |
1025 | 148 | { |
1026 | | - global $wgValidSpecialPagesZh; |
1027 | | - return $wgValidSpecialPagesZh; |
| 149 | + return $this->mZhLang->getValidSpecialPages(); |
1028 | 150 | } |
1029 | 151 | |
1030 | 152 | function getSysopSpecialPages() |
1031 | 153 | { |
1032 | | - global $wgSysopSpecialPagesZh; |
1033 | | - return $wgSysopSpecialPagesZh; |
| 154 | + return $this->mZhLang->getSysopSpecialPages(); |
1034 | 155 | } |
1035 | 156 | |
1036 | 157 | function getDeveloperSpecialPages() |
1037 | 158 | { |
1038 | | - global $wgDeveloperSpecialPagesZh; |
1039 | | - return $wgDeveloperSpecialPagesZh; |
| 159 | + return $this->mZhLang->getDeveloperSpecialPages(); |
1040 | 160 | |
1041 | 161 | } |
1042 | 162 | |
1043 | 163 | function getMessage( $key ) |
1044 | 164 | { |
1045 | | - global $wgAllMessagesZh; |
1046 | | - if( isset( $wgAllMessagesZh[$key] ) ) |
1047 | | - return $wgAllMessagesZh[$key]; |
1048 | | - else |
1049 | | - return Language::getMessage( $key ); |
| 165 | + return $this->mZhLang->getMessage($key); |
1050 | 166 | } |
1051 | 167 | |
1052 | | - # inherit default iconv(), ucfirst(), checkTitleEncoding() |
1053 | | - |
1054 | 168 | function stripForSearch( $string ) { |
1055 | | - # MySQL fulltext index doesn't grok utf-8, so we |
1056 | | - # need to fold cases and convert to hex |
1057 | | - # we also separate characters as "words" |
1058 | | - if( function_exists( 'mb_strtolower' ) ) { |
1059 | | - return preg_replace( |
1060 | | - "/([\\xc0-\\xff][\\x80-\\xbf]*)/e", |
1061 | | - "' U8' . bin2hex( \"$1\" )", |
1062 | | - mb_strtolower( $string ) ); |
1063 | | - } else { |
1064 | | - global $wikiLowerChars; |
1065 | | - return preg_replace( |
1066 | | - "/([\\xc0-\\xff][\\x80-\\xbf]*)/e", |
1067 | | - "' U8' . bin2hex( strtr( \"\$1\", \$wikiLowerChars ) )", |
1068 | | - $string ); |
1069 | | - } |
| 169 | + return $this->mZhLang->stripForSearch($string); |
1070 | 170 | } |
| 171 | + |
| 172 | + |
1071 | 173 | } |
1072 | 174 | |
1073 | 175 | |
Index: trunk/phase3/languages/LanguageZh_cn.php |
— | — | @@ -0,0 +1,1073 @@ |
| 2 | +<?php |
| 3 | +require_once( "LanguageUtf8.php" ); |
| 4 | + |
| 5 | +# NOTE: To turn off "Current Events" in the sidebar, |
| 6 | +# set "currentevents" => "-" |
| 7 | + |
| 8 | +# The names of the namespaces can be set here, but the numbers |
| 9 | +# are magical, so don't change or move them! The Namespace class |
| 10 | +# encapsulates some of the magic-ness. |
| 11 | +# |
| 12 | +/* private */ $wgNamespaceNamesZh_cn = array( |
| 13 | + NS_MEDIA => "Media", |
| 14 | + NS_SPECIAL => "Special", |
| 15 | + NS_MAIN => "", |
| 16 | + NS_TALK => "Talk", |
| 17 | + NS_USER => "User", |
| 18 | + NS_USER_TALK => "User_talk", |
| 19 | + NS_WIKIPEDIA => $wgMetaNamespace, |
| 20 | + NS_WIKIPEDIA_TALK => $wgMetaNamespace . "_talk", |
| 21 | + NS_IMAGE => "Image", |
| 22 | + NS_IMAGE_TALK => "Image_talk", |
| 23 | + NS_MEDIAWIKI => "MediaWiki", |
| 24 | + NS_MEDIAWIKI_TALK => "MediaWiki_talk", |
| 25 | + NS_TEMPLATE => "Template", |
| 26 | + NS_TEMPLATE_TALK => "Template_talk", |
| 27 | + NS_HELP => "Help", |
| 28 | + NS_HELP_TALK => "Help_talk", |
| 29 | + NS_CATEGORY => "Category", |
| 30 | + NS_CATEGORY_TALK => "Category_talk" |
| 31 | + |
| 32 | +) + $wgNamespaceNamesEn; |
| 33 | + |
| 34 | +/* private */ $wgQuickbarSettingsZh_cn = array( |
| 35 | + "无", /* "None" */ |
| 36 | + "左侧固定", /* "Fixed left" */ |
| 37 | + "右侧固定", /* "Fixed right" */ |
| 38 | + "左侧漂移" /* "Floating left" */ |
| 39 | +); |
| 40 | + |
| 41 | +/* private */ $wgSkinNamesZh_cn = array( |
| 42 | + 'standard' => "标准", |
| 43 | + 'nostalgia' => "怀旧", |
| 44 | + 'cologneblue' => "科隆香水蓝", |
| 45 | + 'smarty' => "Paddington", |
| 46 | + 'montparnasse' => "Montparnasse", |
| 47 | + 'davinci' => "DaVinci", |
| 48 | + 'mono' => "Mono", |
| 49 | + 'monobook' => "MonoBook", |
| 50 | + "myskin" => "MySkin" |
| 51 | +); |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | +/* private */ $wgBookstoreListZh_cn = array( |
| 56 | + "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN", |
| 57 | + "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1", |
| 58 | + "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1", |
| 59 | + "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1" |
| 60 | +); |
| 61 | + |
| 62 | + |
| 63 | +# All special pages have to be listed here: a description of "" |
| 64 | +# will make them not show up on the "Special Pages" page, which |
| 65 | +# is the right thing for some of them (such as the "targeted" ones). |
| 66 | +# |
| 67 | +/* private */ $wgValidSpecialPagesZh_cn = array( |
| 68 | + "Userlogin" => "", |
| 69 | + "Userlogout" => "", |
| 70 | + "Preferences" => "参数设置", |
| 71 | +/*"Set my user preferences", */ |
| 72 | + "Watchlist" => "监视列表", |
| 73 | +/* "My watchlist", */ |
| 74 | + "Recentchanges" => "最近更新", |
| 75 | +/* "Recently updated pages", */ |
| 76 | + "Upload" => "上载", |
| 77 | +/* "Upload image files", */ |
| 78 | + "Imagelist" => "图像列表", |
| 79 | +/* "Image list", */ |
| 80 | + "Listusers" => "注册用户", |
| 81 | +/* "Registered users", */ |
| 82 | + "Statistics" => "站点统计", |
| 83 | +/* "Site statistics", */ |
| 84 | + "Randompage" => "随机页面", |
| 85 | +/* "Random article", */ |
| 86 | + |
| 87 | + "Lonelypages" => "孤立页面", |
| 88 | +/* "Orphaned articles",*/ |
| 89 | + "Unusedimages" => "孤立图像", |
| 90 | +/* "Orphaned images", */ |
| 91 | + "Popularpages" => "热点条目", |
| 92 | +/* "Popular articles", */ |
| 93 | + "Wantedpages" => "待撰页面", |
| 94 | +/* "Most wanted articles", */ |
| 95 | + "Shortpages" => "短条目", |
| 96 | + "Longpages" => "长条目", |
| 97 | + "Newpages" => "新建条目", |
| 98 | +# "Intl" => "跨语言链接", # this page not done yet! |
| 99 | + "Ancientpages" => "Oldest pages", |
| 100 | + "Allpages" => "所有条目", |
| 101 | + |
| 102 | + "Ipblocklist" => "被封IP地址", |
| 103 | + "Maintenance" => "维护页", |
| 104 | + "Specialpages" => "", |
| 105 | + "Contributions" => "", |
| 106 | + "Emailuser" => "", |
| 107 | + "Whatlinkshere" => "", |
| 108 | + "Recentchangeslinked" => "", |
| 109 | + "Movepage" => "", |
| 110 | + "Booksources" => "站外书源", |
| 111 | +# "Categories" => "页面分类" |
| 112 | + "Export" => "XML export", |
| 113 | + "Version" => "Version", |
| 114 | +); |
| 115 | + |
| 116 | +/* private */ $wgSysopSpecialPagesZh_cn = array( |
| 117 | + "Blockip" => "查封一个IP地址", |
| 118 | + "Asksql" => "查询数据库", |
| 119 | + "Undelete" => "恢复被删页面" |
| 120 | +); |
| 121 | + |
| 122 | +/* private */ $wgDeveloperSpecialPagesZh_cn = array( |
| 123 | + "Lockdb" => "设置数据库只读", |
| 124 | + "Unlockdb" => "恢复数据库修改权限", |
| 125 | +); |
| 126 | + |
| 127 | +/* private */ $wgAllMessagesZh_cn = array( |
| 128 | +'special_version_prefix' => '', |
| 129 | +'special_version_postfix' => '', |
| 130 | +# User Toggles |
| 131 | + |
| 132 | +"tog-hover" => "滑过Wiki链接时显示注释", /* "Show hoverbox over wiki links",*/ |
| 133 | +"tog-underline" => "下划链接", /* "Underline links", */ |
| 134 | +/* "Format broken links <a href=\"\" class=\"new\">like this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).", */ |
| 135 | +"tog-highlightbroken" => "毁坏链接格式<a href=\"\" class=\"new\">像这样</a> (或者像这个<a href=\"\" class=\"internal\">?</a>)", |
| 136 | +"tog-justify" => "段落对齐", /* "Justify paragraphs", */ |
| 137 | +"tog-hideminor" => "最近更改中隐藏细微修改", /* "Hide minor edits in recent changes", */ |
| 138 | +"tog-usenewrc" => "最近更改增强(只适用部分浏览器)", /* "Enhanced recent changes (not for all browsers)", */ |
| 139 | +"tog-numberheadings" => "标题自动编号", |
| 140 | +"tog-showtoolbar" => "Show edit toolbar", /* "Auto-number headings", */ |
| 141 | +"tog-editondblclick" => "双击页面编辑(JavaScript)", |
| 142 | +"tog-editsection"=>"允许通过点击[编辑]链接编辑段落", |
| 143 | +"tog-editsectiononrightclick"=>"允许右击标题编辑段落(JavaScript)", |
| 144 | +"tog-showtoc"=>"显示目录<br>(针对一页超过3个标题的文章)", |
| 145 | +"tog-rememberpassword" => "下次登陆记住密码", /* "Remember password across sessions", */ |
| 146 | +"tog-editwidth" => "编辑栏位宽度", /* "Edit box has full width", */ |
| 147 | +"tog-editondblclick" => "双击编辑页面(Javascript)", /* "Edit pages on double click (JavaScript)", */ |
| 148 | +"tog-watchdefault" => "监视新的以及更改过的文章", /* "Watch new and modified articles", */ |
| 149 | +"tog-minordefault" => "细微编辑为默认设置", /* "Mark all edits minor by default", */ |
| 150 | +"tog-previewontop" => "在编辑框上方显示预览", /* "Show preview before edit box and not after it" */ |
| 151 | + |
| 152 | +# Dates |
| 153 | + |
| 154 | +'sunday' => "星期日", |
| 155 | +'monday' => "星期一", |
| 156 | +'tuesday' => "星期二", |
| 157 | +'wednesday' => "星期三", |
| 158 | +'thursday' => "星期四", |
| 159 | +'friday' => "星期五", |
| 160 | +'saturday' => "星期六", |
| 161 | +'january' => "1月", |
| 162 | +'february' => "2月", |
| 163 | +'march' => "3月", |
| 164 | +'april' => "4月", |
| 165 | +'may_long' => "5月", |
| 166 | +'june' => "6月", |
| 167 | +'july' => "7月", |
| 168 | +'august' => "8月", |
| 169 | +'september' => "9月", |
| 170 | +'october' => "10月", |
| 171 | +'november' => "11月", |
| 172 | +'december' => "12月", |
| 173 | +'jan' => "1月", |
| 174 | +'feb' => "2月", |
| 175 | +'mar' => "3月", |
| 176 | +'apr' => "4月", |
| 177 | +'may' => "5月", |
| 178 | +'jun' => "6月", |
| 179 | +'jul' => "7月", |
| 180 | +'aug' => "8月", |
| 181 | +'sep' => "9月", |
| 182 | +'oct' => "10月", |
| 183 | +'nov' => "11月", |
| 184 | +'dec' => "12月", |
| 185 | + |
| 186 | +# Bits of text used by many pages: |
| 187 | +# |
| 188 | +"categories" => "页面分类", |
| 189 | + "category" => "分类", |
| 190 | + "category_header" => "类别”$1“中的条目", |
| 191 | + "subcategories" => "附分类", |
| 192 | +"linktrail" => "/^([a-z]+)(.*)\$/sD", |
| 193 | +"mainpage" => "首页", |
| 194 | +"about" => "关于", |
| 195 | +"aboutsite" => "关于Wikipedia", |
| 196 | +"aboutpage" => "Wikipedia:关于", |
| 197 | +"help" => "帮助", |
| 198 | +"helppage" => "Wikipedia:帮助", |
| 199 | +"wikititlesuffix" => "Wikipedia", |
| 200 | +"bugreports" => "错误报告", |
| 201 | +"bugreportspage" => "Wikipedia:错误报告", |
| 202 | +"faq" => "常见问题解答", |
| 203 | +"faqpage" => "Wikipedia:常见问题解答", |
| 204 | +"edithelp" => "编辑帮助", |
| 205 | +"edithelppage" => "Wikipedia:如何编辑页面", |
| 206 | +"cancel" => "取消", |
| 207 | +"qbfind" => "寻找", |
| 208 | +"qbbrowse" => "浏览", |
| 209 | +"qbedit" => "编辑", |
| 210 | +"qbpageoptions" => "页面选项", |
| 211 | +"qbpageinfo" => "页面信息", |
| 212 | +"qbmyoptions" => "我的选项", |
| 213 | +"mypage" => "我的页面", |
| 214 | +"mytalk" => "我的对话页", |
| 215 | +"currentevents" => "新闻动态", |
| 216 | +"errorpagetitle" => "错误", |
| 217 | +"returnto" => "返回到$1.", |
| 218 | +"tagline" => "Wikipedia,自由的百科全书", |
| 219 | +"whatlinkshere" => "链入页面", |
| 220 | +"help" => "帮助", |
| 221 | +"search" => "搜索", |
| 222 | +"go" => "进入", |
| 223 | +"history" => "较早版本", |
| 224 | +"printableversion" => "可打印版", |
| 225 | +"editthispage" => "编辑本页", |
| 226 | +"deletethispage" => "删除本页", |
| 227 | +"protectthispage" => "保护本页", |
| 228 | +"unprotectthispage" => "解除保护", |
| 229 | +"newpage" => "新页面", |
| 230 | +"talkpage" => "讨论本页", |
| 231 | + "postcomment" => "发表评论", |
| 232 | +"articlepage" => "查看文章", |
| 233 | +"subjectpage" => "查看主题", # For compatibility |
| 234 | +"userpage" => "查看用户页", |
| 235 | +"wikipediapage" => "查看meta页", |
| 236 | +"imagepage" => "查看图像页面", |
| 237 | +"viewtalkpage" => "查看讨论", |
| 238 | +"otherlanguages" => "其它语言", |
| 239 | +"redirectedfrom" => "(重定向自$1)", |
| 240 | +"lastmodified" => "最后更改$1.", |
| 241 | +"viewcount" => "本页面已经被浏览$1次。", |
| 242 | +"gnunote" => "所有文本在<a class=internal href='/wiki/GNU_FDL'>GNU自由文档协议证书 </a>下发布", |
| 243 | +"printsubtitle" => "(来自 http://zh.wikipedia.org)", |
| 244 | +"protectedpage" => "被保护页", |
| 245 | +"administrators" => "Wikipedia:管理员", |
| 246 | +"sysoptitle" => "需要管理员权限", |
| 247 | +"sysoptext" => "您刚才的请求只有拥有管理员权限的用户才可使用。 |
| 248 | +参见$1。", |
| 249 | +"developertitle" => "需要发展者权限", |
| 250 | +"developertext" => "您刚才的请求只有拥有发展者权限的用户才可使用。 |
| 251 | +参见$1。", |
| 252 | +"nbytes" => "$1字节", |
| 253 | +"go" => "进入", |
| 254 | +"ok" => "OK", |
| 255 | +"sitetitle" => "Wikipedia", |
| 256 | +"sitesubtitle" => "自由的百科全书", |
| 257 | +"retrievedfrom" => "取自\"$1\"", |
| 258 | +"newmessages" => "您有$1。", |
| 259 | +"newmessageslink" => "新信息", |
| 260 | + "editsection"=>"编辑", |
| 261 | + "toc" => "目录", |
| 262 | +"showtoc" => "显示", |
| 263 | + "hidetoc" => "隐藏", |
| 264 | + |
| 265 | +# Main script and global functions |
| 266 | +# |
| 267 | +"nosuchaction" => "没有这个命令", |
| 268 | +"nosuchactiontext" => "URL请求的命令无法被 Wikipedia 软件识别。", |
| 269 | +"nosuchspecialpage" => "没有这个特殊页。", |
| 270 | + |
| 271 | +"nospecialpagetext" => "您请求的页面无法被 Wikipedia 软件识别。", |
| 272 | + |
| 273 | +# General errors |
| 274 | +# |
| 275 | +"error" => "错误", |
| 276 | +"databaseerror" => "数据库错误", |
| 277 | +"dberrortext" => "数据库指令语法错误。 |
| 278 | +这可能是由于非法搜索指令所引起的(见 $5), |
| 279 | +也可能是由于软件自身的错误所引起。 |
| 280 | +最后一次数据库指令是: |
| 281 | +<blockquote><tt>$1</tt></blockquote> |
| 282 | +来自于函数 \"<tt>$2</tt>\"。 |
| 283 | +MySQL返回错误 \"<tt>$3: $4</tt>\"。", |
| 284 | +"noconnect" => "无法在 $1上连接数据库", |
| 285 | +"nodb" => "无法选择数据库 $1", |
| 286 | +"readonly" => "数据库禁止访问", |
| 287 | +"enterlockreason" => "请输入禁止访问原因, 包括估计重新开放的时间", |
| 288 | +"readonlytext" => "Wikipedia数据库目前禁止输入新内容及更改, |
| 289 | +这很可能是由于数据库正在维修,之后即可恢复。 |
| 290 | +管理员有如下解释: |
| 291 | +<p>$1", |
| 292 | +"missingarticle" => "数据库找不到文字\"$1\"。 |
| 293 | + |
| 294 | +<p>通常这是由于修订历史页上过时的链接到已经被删除的页面所导致的。 |
| 295 | + |
| 296 | +<p>如果情况不是这样,您可能找到了软件内的一个臭虫。 |
| 297 | +请记录下URL地址,并向管理员报告。", |
| 298 | +"internalerror" => "内部错误", |
| 299 | +"filecopyerror" => "无法复制文件\"$1\"到\"$2\"。", |
| 300 | +"filerenameerror" => "无法重命名文件\"$1\" 到\"$2\"。", |
| 301 | +"filedeleteerror" => "无法删除文件 \"$1\"。", |
| 302 | +"filenotfound" => "找不到文件 \"$1\"。", |
| 303 | +"unexpected" => "不正常值: \"$1\"=\"$2\"。", |
| 304 | +"formerror" => "错误:无法提交表单", |
| 305 | +"badarticleerror" => "无法在本页上进行此项操作。", |
| 306 | +"cannotdelete" => "无法删除选定的页面或图像(它可能已经被其他人删除了)。", |
| 307 | +"badtitle" => "错误的标题", |
| 308 | +"badtitletext" => "所请求页面的标题是无效的、不存在,跨语言或跨wiki链接的标题错误。", |
| 309 | +"perfdisabled" => "抱歉!由于此项操作有可能造成数据库瘫痪,目前暂时无法使用。", |
| 310 | +"perfdisabledsub" => "这里是自$1的复制版本:", |
| 311 | + |
| 312 | +# 登录与登出 |
| 313 | +# |
| 314 | +"logouttitle" => "用户退出", |
| 315 | +"logouttext" => "您现在已经退出。 |
| 316 | +您可以继续以匿名方式使用Wikipeida,或再次以相同或不同用户身份登录。\n", |
| 317 | + |
| 318 | +"welcomecreation" => "<h2>欢迎,$1!</h2><p>您的帐号已经建立,不要忘记设置Wikipedia个人参数。", |
| 319 | + |
| 320 | +"loginpagetitle" => "用户登录", |
| 321 | +"yourname" => "您的用户名", |
| 322 | +"yourpassword" => "您的密码", |
| 323 | +"yourpasswordagain" => "再次输入密码", |
| 324 | +"newusersonly" => "(仅限新用户)", |
| 325 | +"remembermypassword" => "下次登录记住密码。", |
| 326 | +"loginproblem" => "<b>登录有问题。</b><br>再试一次!", |
| 327 | +"alreadyloggedin" => "<font color=red><b>用户$1,您已经登录了!</b></font><br>\n", |
| 328 | + |
| 329 | +"login" => "登录", |
| 330 | +"userlogin" => "用户登录", |
| 331 | +"logout" => "退出", |
| 332 | +"userlogout" => "用户退出", |
| 333 | +"createaccount" => "创建新帐号", |
| 334 | + "createaccountmail" => "通过eMail", |
| 335 | +"badretype" => "你所输入的密码并不相同。", |
| 336 | +"userexists" => "您所输入的用户名已有人使用。请另选一个。", |
| 337 | +"youremail" => "您的电子邮件*", |
| 338 | +"yournick" => "绰号(签名时用)", |
| 339 | +"emailforlost" => "* 输入一个电邮地址并不是必须的。但是这将允许他人在您未告知的情况下通过电子邮件与您联系,如果您忘了密码的话电邮地址也会有帮助。", |
| 340 | +"loginerror" => "登录错误", |
| 341 | +"noname" => "你没有输入一个有效的用户名。", |
| 342 | +"loginsuccesstitle" => "登录成功", |
| 343 | +"loginsuccess" => "你现在以 \"$1\"的身份登录Wikipedia。", |
| 344 | +"nosuchuser" => "找不到用户 \"$1\"。 |
| 345 | +检查您的拼写,或者用下面的表格建立一个新帐号。", |
| 346 | +"wrongpassword" => "您输入的密码错误,请再试一次。", |
| 347 | +"mailmypassword" => "将新密码寄给我", |
| 348 | +"passwordremindertitle" => "Wikipedia密码提醒", |
| 349 | +"passwordremindertext" => "有人(可能是您,来自IP地址$1)要求我们将新的Wikipedia登录密码寄给你。 |
| 350 | +用户 \"$2\" 的密码现在是 \"$3\"。 |
| 351 | +请立即登录并更改密码。", |
| 352 | +"noemail" => "用户\"$1\"没有登记电子邮件地址。", |
| 353 | +"passwordsent" => "用户\"$1\"的新密码已经寄往所登记的电子邮件地址。 |
| 354 | +请在收到后再登录。", |
| 355 | + |
| 356 | +# 编辑 |
| 357 | +# |
| 358 | +"summary" => "简述", |
| 359 | +"subject" => "主题", |
| 360 | +"minoredit" => "这是一个小修改", |
| 361 | +"watchthis" => "监视本页", |
| 362 | +"savearticle" => "保存本页", |
| 363 | +"preview" => "预览", |
| 364 | +"showpreview" => "显示预览", |
| 365 | +"blockedtitle" => "用户被封", |
| 366 | +"blockedtext" => "您的用户名或IP地址已被$1封。 |
| 367 | +理由是:<br>'''$2'''<p>您可以与$1向其他任何[[Wikipedia:管理员|管理员]]询问。", |
| 368 | + "whitelistedittitle" => "登录后才可编辑", |
| 369 | + "whitelistedittext" => "您必须先[[Special:Userlogin|登录]]才可编辑页面。", |
| 370 | + "whitelistreadtitle" => "登录后才可阅读", |
| 371 | + "whitelistreadtext" => "您必须先[[Special:Userlogin|登录]]才可阅读页面。", |
| 372 | + "whitelistacctitle" => "您被禁止建立帐号", |
| 373 | + "whitelistacctext" => "在本Wiki中建立帐号您必须先[[Special:Userlogin|登录]]并拥有相关权限。", |
| 374 | + "accmailtitle" => "密码寄出", |
| 375 | + "accmailtext" => "'$1'的密码已经寄到$2。", |
| 376 | +"newarticle" => "(新)", |
| 377 | +"newarticletext" => |
| 378 | +"您从一个链接进入了一个并不存在的页面。 |
| 379 | +要创建该页面,请在下面的编辑框中输入内容(详情参见Wikipedia:帮助|帮助页面]])。 |
| 380 | +如果您不小心来到本页面,直接点击您浏览器中的“返回”按钮。", |
| 381 | + |
| 382 | +"anontalkpagetext" => "---- ''这是一个还未建立帐号的匿名用户的对话页。我们因此只能用[[IP地址]]来与他/她联络。该IP地址可能由几名用户共享。如果您是一名匿名用户并认为本页上的评语与您无关,请[[Special:Userlogin|创建新帐号或登录]]以避免在未来于其他匿名用户混淆。''", |
| 383 | +"noarticletext" => "(本页目前没有内容)", |
| 384 | +"updated" => "(已更新)", |
| 385 | +"note" => "<strong>注意:</strong> ", |
| 386 | +"previewnote" => "请记住这只是预览,内容还未保存!", |
| 387 | +"previewconflict" => "这个预览显示了上面文字编辑区中的内容。它将在你选择保存后出现。", |
| 388 | +"editing" => "正在编辑$1", |
| 389 | + "sectionedit" => " (段落)", |
| 390 | + "commentedit" => " (评论)", |
| 391 | +"editconflict" => "编辑冲突:$1", |
| 392 | +"explainconflict" => "有人在你开始编辑后更改了页面。 |
| 393 | +上面的文字框内显示的是目前本页的内容。 |
| 394 | +你所做的修改显示在下面的文字框中。 |
| 395 | +你应当将你所做的修改加入现有的内容中。 |
| 396 | +<b>只有</b>在上面文字框中的内容会在你点击\"保存页面\"后被保存。\n<p>", |
| 397 | +"yourtext" => "您的文字", |
| 398 | +"storedversion" => "已保存版本", |
| 399 | +"editingold" => "<strong>警告:你正在编辑的是本页的旧版本。 |
| 400 | +如果你保存它的话,在本版本之后的任何修改都会丢失。</strong>\n", |
| 401 | +"yourdiff" => "差别", |
| 402 | +"copyrightwarning" => "请注意对Wikipedia的任何贡献都将被认为是在GNU自由文档协议证书下发布。 |
| 403 | +(细节请见$1). |
| 404 | +如果您不希望您的文字被任意修改和再散布,请不要提交。<br> |
| 405 | +您同时也向我们保证你所提交的内容是你自己所作,或得自一个不受版权保护或相似自由的来源。 |
| 406 | +<strong>不要在未获授权的情况下发表!</strong>", |
| 407 | + |
| 408 | +"longpagewarning" => "警告:本页长度达$1KB;一些浏览器将无法编辑长过32KB的文章。请考虑将本文切割成几个小段落。", |
| 409 | + |
| 410 | +"readonlywarning" => "警告:数据库被锁以进行维护,所以您目前将无法保存您的修改。您或许希望先将本断文字复制并保存到文本文件,然后等一会儿再修改。", |
| 411 | +"protectedpagewarning" => "警告:本页已经被保护,只有拥有管理员权限的用户才可修改。请确认您遵守 |
| 412 | +<a href='/wiki/Wikipedia:Protected_page_guidelines'>保护页面守则</a>.", |
| 413 | + |
| 414 | +# History pages |
| 415 | +# |
| 416 | +"revhistory" => "修订历史", |
| 417 | +"nohistory" => "没有本页的修订记录。", |
| 418 | +"revnotfound" => "没有找到修订记录", |
| 419 | +"revnotfoundtext" => "您请求的更早版本的修订记录没有找到。 |
| 420 | +请检查您请求本页面用的 URL 是否正确。\n", |
| 421 | +"loadhist" => "载入页面修订历史", |
| 422 | +"currentrev" => "当前修订版本", |
| 423 | +"revisionasof" => "$1的修订版本", |
| 424 | +"cur" => "当前", |
| 425 | +"next" => "后继", |
| 426 | +"last" => "先前", |
| 427 | +"orig" => "初始", |
| 428 | +"histlegend" => "说明:(当前)指与当前修订版本比较;(先前)指与前一个修订版本比较,小 指细微修改。", |
| 429 | + |
| 430 | +# Diffs |
| 431 | +# |
| 432 | +"difference" => "(修订版本间差异)", |
| 433 | +"loadingrev" => "载入修订版本比较", |
| 434 | +"lineno" => "第 $1 行:", |
| 435 | +"editcurrent" => "编辑本页的当前修订版本", |
| 436 | + |
| 437 | +# Search results |
| 438 | +# |
| 439 | +"searchresults" => "搜索结果", |
| 440 | +"searchresulttext" => "有关搜索{{SITENAME}}的更多详情,参见[[Project:搜索|搜索{{SITENAME}}]]。", |
| 441 | +"searchquery" => "查询\"$1\"", |
| 442 | +"badquery" => "搜索查询不正确", |
| 443 | +"badquerytext" => "我们无法处理您的查询。 |
| 444 | +这可能是由于您试图搜索一个短于3个字母的外文单词, |
| 445 | +或者您错误地输入了搜索项,例如\"汽车和和火车\"。 |
| 446 | +请再尝试一个新的搜索项。", |
| 447 | +"matchtotals" => "搜索项\"$1\"与$2条文章的题目相符,和$3条文章相符。", |
| 448 | + |
| 449 | +"nogomatch" => "没有文章与搜索项完全匹配,请尝试完整文字搜索。", |
| 450 | +"titlematches" => "文章题目相符", |
| 451 | +"notitlematches" => "没有找到匹配文章题目", |
| 452 | +"textmatches" => "文章内容相符", |
| 453 | +"notextmatches" => "没有文章内容匹配", |
| 454 | + |
| 455 | +"prevn" => "先前$1", |
| 456 | +"nextn" => "之后$1", |
| 457 | +"viewprevnext" => "查看 ($1) ($2) ($3).", |
| 458 | +"showingresults" => "下面显示<b>$1</b>条结果,从第<b>$2</b>条开始", |
| 459 | +"nonefound" => "<strong>注意:</strong>失败的搜索往往是由于试图搜索诸如“的”或“和”之类的常见字所引起。", |
| 460 | +"powersearch" => "搜索", |
| 461 | +"powersearchtext" => " |
| 462 | +搜索名字空间:<br>$1<br>$2列出重定向页面;搜索$3 $9", |
| 463 | + |
| 464 | +"searchdisabled" => "<p>Wikipedia内部搜索功能由于高峰时段服务器超载而停止使用。 |
| 465 | +您可以暂时通过 |
| 466 | +<a href=\"http://google.com/\">google</a>搜索Wikipedia。 |
| 467 | +谢谢您的耐心。 |
| 468 | +<!-- Search Google --> |
| 469 | +<form id=\"google\" method=\"get\" action=\"http://www.google.com/custom\"> |
| 470 | +<table bgcolor=\"#FFFFFF\" cellspacing=0 border=0> |
| 471 | +<tr valign=top><td> |
| 472 | +<a href=\"http://www.google.com/search\"> |
| 473 | +<img src=\"http://www.google.com/logos/Logo_40wht.gif\" border=0 |
| 474 | +alt=\"Google\" align=\"middle\"></a> |
| 475 | +</td> |
| 476 | +<td> |
| 477 | +<input type=text name=\"q\" size=31 maxlength=255 value=\"$1\"> |
| 478 | +<input type=submit name=\"sa\" value=\"Google搜索\"> |
| 479 | +<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> |
| 480 | +<input type=hidden name=\"domains\" value=\"zh.wikipedia.org\"><br> |
| 481 | +<input type=radio name=\"sitesearch\" value=\"\"> 搜索WWW |
| 482 | +<input type=radio name=\"sitesearch\" value=\"zh.wikipedia.org\" checked> 搜索zh.wikipedia.org </font><br> |
| 483 | +</td></tr></table></form> |
| 484 | +<!-- Search Google -->\n", |
| 485 | + |
| 486 | +# Preferences page |
| 487 | +# |
| 488 | +"preferences" => "参数设置", |
| 489 | +"prefsnologin" => "还未登录", |
| 490 | +"prefsnologintext" => "您必须先<a href=\"" . |
| 491 | + wfLocalUrl( "Special:Userlogin" ) . "\">登录</a>才能设置个人参数。", |
| 492 | +"prefslogintext" => "你已经以\"$1\"的身份登录。 |
| 493 | +你的内部ID是$2。", |
| 494 | +"prefsreset" => "参数重新设置。", |
| 495 | +"qbsettings" => "快速导航条设置", |
| 496 | +"changepassword" => "更改密码", |
| 497 | +"skin" => "Skin", |
| 498 | +"math" => "数学显示", |
| 499 | +"math_failure" => "无法解析", |
| 500 | +"math_unknown_error" => "未知错误", |
| 501 | +"math_unknown_function" => "未知函数", |
| 502 | +"math_lexing_error" => "句法错误", |
| 503 | +"math_syntax_error" => "语法错误", |
| 504 | +"saveprefs" => "保存参数设置", |
| 505 | +"resetprefs" => "重设参数", |
| 506 | +"oldpassword" => "旧密码", |
| 507 | +"newpassword" => "新密码", |
| 508 | +"retypenew" => "重复新密码", |
| 509 | +"textboxsize" => "文字框尺寸", |
| 510 | +"rows" => "行", |
| 511 | +"columns" => "列", |
| 512 | +"searchresultshead" => "搜索结果设定", |
| 513 | +"resultsperpage" => "每页显示链接数", |
| 514 | +"contextlines" => "每链接行数", |
| 515 | +"contextchars" => "每行字数", |
| 516 | +"stubthreshold" => "stub显示基本限制", |
| 517 | +"recentchangescount" => "最近更改页行数", |
| 518 | +"savedprefs" => "您的个人参数设置已经保存。", |
| 519 | +"timezonetext" => "输入当地时间与服务器时间(UTC)的时差。", |
| 520 | +"localtime" => "当地时间", |
| 521 | +"timezoneoffset" => "差", |
| 522 | +"emailflag" => "禁止其他用户发e-mail给我", |
| 523 | + |
| 524 | +# Recent changes |
| 525 | +# |
| 526 | +"changes" => "更改", |
| 527 | +"recentchanges" => "最近更改", |
| 528 | +"recentchangestext" => "本页跟踪Wikipedia内最新的更改。 |
| 529 | +[[Wikipedia:欢迎,新来者|欢迎,新来者]]! |
| 530 | +请参见这些页面:[[wikipedia:常见问题解答|Wikipedia常见问题解答]]、 |
| 531 | +[[Wikipedia:守则与指导|Wikipedia守则]] |
| 532 | +(特别是[[wikipedia:命名常规|命名常规]]、 |
| 533 | +[[wikipedia:中性的观点|中立观点]]) |
| 534 | +和[[wikipedia:最常见失礼行为|最常见失礼行为]]。 |
| 535 | + |
| 536 | +如果您希望 Wikipedia 成功,那么请您不要增加受其它[[wikipedia:版权信息|版权]] |
| 537 | +限制的材料,这一点将非常重要。相关的法律责任会伤害本项工程,所以请不要这样做。 |
| 538 | +此外请参见 |
| 539 | +[http://meta.wikipedia.org/wiki/Special:Recentchanges 最近的 meta 讨论]。", |
| 540 | + |
| 541 | +"rcloaderr" => "载入最近更改", |
| 542 | +"rcnote" => "下面是最近<strong>$2</strong>天内最新的<strong>$1</strong>次改动。", |
| 543 | +"rcnotefrom" => "下面是自<b>$2</b>(最多显示<b>$1</b>)。", |
| 544 | +"rclistfrom" => "显示自$1以来的新更改", |
| 545 | +# "rclinks" => "显示最后$2小时/$3天内的$1此修改", |
| 546 | +"rclinks" => "显示最近 $2 天内最新的 $1 次改动。", |
| 547 | +"rchide" => "以$4形式;$1个小修改;$2个二级名字空间;$3个多重修改", |
| 548 | +"diff" => "差异", |
| 549 | +"hist" => "历史", |
| 550 | +"hide" => "隐藏", |
| 551 | +"show" => "显示", |
| 552 | +"tableform" => "表格", |
| 553 | +"listform" => "列表", |
| 554 | +"nchanges" => "$1个更改", |
| 555 | +"minoreditletter" => "小", |
| 556 | +"newpageletter" => "新", |
| 557 | + |
| 558 | +# Upload |
| 559 | +# |
| 560 | +"upload" => "上载文件", |
| 561 | +"uploadbtn" => "上载文件", |
| 562 | +"uploadlink" => "上载图像", |
| 563 | +"reupload" => "重新上载", |
| 564 | +"reuploaddesc" => "返回上载表单。", |
| 565 | +"uploadnologin" => "未登录", |
| 566 | +"uploadnologintext" => "您必须先<a href=\"" . |
| 567 | + wfLocalUrl( "Special:Userlogin" ) . "\">登录</a> |
| 568 | +才能上载文件。", |
| 569 | +"uploadfile" => "上载文件", |
| 570 | +"uploaderror" => "上载错误", |
| 571 | +"uploadtext" => "'''停止!'''在您上载之前,请先阅读并遵守Wikipedia |
| 572 | +[[Project:Image use policy|图像使用守则]]。 |
| 573 | + |
| 574 | +如果您要查看或搜索之前上载的图像, |
| 575 | +请到[[Special:Imagelist|已上载图像列表]]. |
| 576 | +所有上载与删除行为都被记录在 |
| 577 | +[[Project:上载纪录|上载纪录]]内。 |
| 578 | + |
| 579 | +使用下面的表单来上载用在条目内新的图像文件。 |
| 580 | +在绝大多数浏览器内,你会看到一个\"浏览...\"按钮,点击它后就会跳出一个打开文件对话框。 |
| 581 | +选择一个文件后文件名将出现在按钮旁边的文字框中。 |
| 582 | +您也必须点击旁边的复选框确认您所上载的文件并没有违反相关版权法律。 |
| 583 | +点击\"上载\" 按钮完成上载程序。 |
| 584 | +如果您使用的是较慢的网络连接的话那么这个上载过程会需要一些时间。 |
| 585 | + |
| 586 | +我们建议照相图片使用JPEG格式,绘图及其他图标图像使用PNG格式,音像则使用OGG格式。 |
| 587 | +请使用具有描述性的语言来命名您的文件以避免混乱。 |
| 588 | +要在文章中加入图像,使用以下形式的连接: |
| 589 | +'''<nowiki>[[图像:file.jpg]]</nowiki>'''或者 |
| 590 | +'''<nowiki>[[图像:file.png|解释文字]]</nowiki>''' |
| 591 | +或'''<nowiki>[[media:file.ogg]]</nowiki>'''来连接音像文件。 |
| 592 | + |
| 593 | +请注意在Wikipedia页面中,其他人可能会为了百科全书的利益而编辑或删除您的上载文件, |
| 594 | +而如果您滥用上载系统,您则有可能被禁止使用上载功能。", |
| 595 | +"uploadlog" => "上载纪录", |
| 596 | +"uploadlogpage" => "上载纪录", |
| 597 | +"uploadlogpagetext" => "以下是最近上载的文件的一览表。 |
| 598 | +所有显示的时间都是服务器时间(UTC)。 |
| 599 | +<ul> |
| 600 | +</ul> |
| 601 | +", |
| 602 | +"filename" => "文件名", |
| 603 | +"filedesc" => "简述", |
| 604 | +"affirmation" => "我保证本文件的版权持有人同意将其在$1条款下发布。", |
| 605 | +"copyrightpage" => "Wikipedia:版权信息", |
| 606 | +"copyrightpagename" => "Wikipedia版权", |
| 607 | +"uploadedfiles" => "已上载文件", |
| 608 | +"noaffirmation" => "您必须保证您上载的文件并没有侵犯版权。", |
| 609 | +"ignorewarning" => "忽略警告并保存文件。", |
| 610 | +"minlength" => "图像名字必须至少有三个字母。", |
| 611 | +"badfilename" => "图像名已被改为\"$1\"。", |
| 612 | +"badfiletype" => "\".$1\"不是所推荐的图像文件格式。", |
| 613 | +"largefile" => "我们建议图像大小不超过100kb。", |
| 614 | +"successfulupload" => "上载成功", |
| 615 | +"fileuploaded" => "文件\"$1\"上载成功。 |
| 616 | +请根据连接($2)到图像描述页添加有关文件信息,例如它的来源,在何时由谁创造, |
| 617 | +以及其他任何您知道的关于改图像的信息。", |
| 618 | +"uploadwarning" => "上载警告", |
| 619 | +"savefile" => "保存文件", |
| 620 | +"uploadedimage" => "已上载\"$1\"", |
| 621 | + |
| 622 | +# Image list |
| 623 | +# |
| 624 | +"imagelist" => "图像列表", |
| 625 | +"imagelisttext" => "以下是按$2排列的$1幅图像列表。", |
| 626 | +"getimagelist" => "正在获取图像列表", |
| 627 | +"ilshowmatch" => "显示所有匹对的图像", |
| 628 | +"ilsubmit" => "搜索", |
| 629 | +"showlast" => "显示按$2排列的最后$1幅图像。", |
| 630 | +"all" => "全部", |
| 631 | +"byname" => "名字", |
| 632 | +"bydate" => "日期", |
| 633 | +"bysize" => "大小", |
| 634 | +"imgdelete" => "删", |
| 635 | +"imgdesc" => "述", |
| 636 | +"imglegend" => "说明:(述) = 显示/编辑图像描述页。", |
| 637 | +"imghistory" => "图像历史", |
| 638 | +"revertimg" => "复", |
| 639 | +"deleteimg" => "删", |
| 640 | +"deleteimgcompletely" => "删", |
| 641 | +"imghistlegend" => "egend: (现) = 目前的图像,(删) = 删除旧版本, |
| 642 | +(复) = 恢复到旧版本。 |
| 643 | +<br><i>点击日期查看当天上载的图像</i>.", |
| 644 | +"imagelinks" => "图像链接", |
| 645 | + |
| 646 | +"linkstoimage" => "以下页面连接到本图像:", |
| 647 | +"nolinkstoimage" => "没有页面连接到本图像。", |
| 648 | + |
| 649 | +# Statistics |
| 650 | +# |
| 651 | +"statistics" => "统计", |
| 652 | +"sitestats" => "站点统计", |
| 653 | +"userstats" => "用户统计", |
| 654 | +"sitestatstext" => "数据库中共有 <b>$1</b> 页页面; |
| 655 | +其中包括对话页、关于 Wikipedia 的页面、最少量的\"stub\"页、重定向的页面, |
| 656 | +以及未达到条目质量的页面;除此之外还有 <b>$2</b> 页可能是合乎标准的条目。 |
| 657 | +<p>从系统软件升级以来,全站点共有页面浏览 <b>$3</b> 次, |
| 658 | +页面编辑 <b>$4</b> 次,每页平均编辑 <b>$5</b> 次, |
| 659 | +各次编辑后页面的每个版本平均浏览 <b>$6</b> 次。", |
| 660 | + |
| 661 | +# Maintenance Page |
| 662 | +# |
| 663 | +"maintenance" => "维护页", |
| 664 | +"maintnancepagetext" => "这页面提供了几个帮助Wikipedia日常维护的工具。 |
| 665 | +但其中几个会对我们的数据库造成压力, |
| 666 | +所以请您不要在每修理好几个项目后就按重新载入 ;-)", |
| 667 | +"maintenancebacklink" => "返回维护页", |
| 668 | +"disambiguations" => "消含糊页", |
| 669 | +"disambiguationspage" => "Wikipedia:Links_to_disambiguating_pages", |
| 670 | +"disambiguationstext" => "以下的条目都有到消含糊页的链接,但它们应该是链到适当的题目。<br>一个页面会被视为消含糊页如果它是链自$1.<br>由其它他名字空间来的链接<i>不会</i>在这儿被列出来。", |
| 671 | +"doubleredirects" => "双重重定向", |
| 672 | +"doubleredirectstext" => "<b>请注意:</b> 这列表可能包括不正确的反应。 |
| 673 | +这通常表示在那页面第一个#REDIRECT之下还有文字。<br>\n |
| 674 | +每一行都包含到第一跟第二个重定向页的链接,以及第二个重定向页的第一行文字, |
| 675 | +通常显示的都会是\“真正\” 的目标页面,也就是第一个重定向页应该指向的条目。", |
| 676 | +"brokenredirects" => "损坏的重定向页", |
| 677 | +"brokenredirectstext" => "以下的重定向页指向的是不存在的条目。", |
| 678 | +"selflinks" => "有自我链接的页面", |
| 679 | +"selflinkstext" => "以下的页面都错误地包含了连到自己的链接。", |
| 680 | +"mispeelings" => "拼写错误的页面", |
| 681 | +"mispeelingstext" => "以下页面包含了一些常见的拼写错误(见$1)。正确的拼法已经给出。", |
| 682 | +"mispeelingspage" => "常见拼写错误列表", |
| 683 | +"missinglanguagelinks" => "无语言链接", |
| 684 | +"missinglanguagelinksbutton" => "寻找没有该语言的页面", |
| 685 | +"missinglanguagelinkstext" => "这些条目<i>没有</i>链接到$1。 |
| 686 | +重定向页与副页<b>并没有</b>包括在内。", |
| 687 | + |
| 688 | + |
| 689 | +# Miscellaneous special pages |
| 690 | +# |
| 691 | +"orphans" => "孤立条目", |
| 692 | +"lonelypages" => "孤立页面", |
| 693 | +"unusedimages" => "未使用图像", |
| 694 | +"popularpages" => "热点条目", |
| 695 | +"nviews" => "$1次浏览", |
| 696 | +"wantedpages" => "待撰页面", |
| 697 | +"nlinks" => "$1个链接", |
| 698 | +"allpages" => "所有页面", |
| 699 | +"randompage" => "随机页面", |
| 700 | +"shortpages" => "短条目", |
| 701 | +"longpages" => "长条目", |
| 702 | +"listusers" => "用户列表", |
| 703 | +"specialpages" => "特殊页面", |
| 704 | +"spheading" => "特殊页面", |
| 705 | +"sysopspheading" => "管理员特殊页面", |
| 706 | +"developerspheading" => "发展者特殊页面", |
| 707 | +"protectpage" => "保护页面", |
| 708 | +"recentchangeslinked" => "链出更改", |
| 709 | +"rclsub" => "(从 \"$1\"链出的页面)", |
| 710 | +"debug" => "除错", |
| 711 | +"newpages" => "新页面", |
| 712 | +"intl" => "跨语言链接", |
| 713 | +"movethispage" => "移动本页", |
| 714 | +"unusedimagestext" => "<p>请注意其他网站(例如其他语言版本的Wikipedia) |
| 715 | +有可能直接链接本图像,所以这里列出的图像有可能依然被使用。", |
| 716 | +"booksources" => "战外书源", |
| 717 | +"booksourcetext" => "以下是链接到销售书籍的网站列表, |
| 718 | +因此有可能拥有您所寻找的图书的进一步资料。 |
| 719 | +Wikipedia与这些公司并没有任何商业关系,因此本表不应该 |
| 720 | +被看作是一种背书。", |
| 721 | +"alphaindexline" => "$1 到 $2", |
| 722 | + |
| 723 | +# Email this user |
| 724 | +# |
| 725 | +"mailnologin" => "无电邮地址", |
| 726 | +"mailnologintext" => "您必须先<a href=\"" . |
| 727 | + wfLocalUrl( "Special:Userlogin" ) . "\">登录</a> |
| 728 | +并在<a href=\"" . |
| 729 | + wfLocalUrl( "Special:Preferences" ) . "\">参数设置</a> |
| 730 | +中有一个有效的e-mail地址才可以电邮其他用户。", |
| 731 | +"emailuser" => "E-mail该用户", |
| 732 | +"emailpage" => "E-mail用户", |
| 733 | +"emailpagetext" => "如果该用户已经在他或她的参数设置页中输入了有效的e-mail地址,以下的表格将寄一个信息给该用户。您在您参数设置中所输入的e-mail地址将出现在邮件“发件人”一栏中,这样该用户就可以回复您。", |
| 734 | +"noemailtitle" => "无e-mail地址", |
| 735 | +"noemailtext" => "该用户还没有指定一个有效的e-mail地址, |
| 736 | +或者选择不接受来自其他用户的e-mail。", |
| 737 | + |
| 738 | +"emailfrom" => "发件人", |
| 739 | +"emailto" => "收件人", |
| 740 | +"emailsubject" => "主题", |
| 741 | +"emailmessage" => "信息", |
| 742 | +"emailsend" => "发送", |
| 743 | +"emailsent" => "E-mail已发送", |
| 744 | +"emailsenttext" => "您的e-mail已经发出。", |
| 745 | + |
| 746 | +# Watchlist |
| 747 | +# |
| 748 | +"watchlist" => "监视列表", |
| 749 | +"watchlistsub" => "(用户\"$1\")", |
| 750 | +"nowatchlist" => "您的监视列表为空。", |
| 751 | +"watchnologin" => "未登录", |
| 752 | +"watchnologintext" => "您必须先<a href=\"" . |
| 753 | + wfLocalUrl( "Special:Userlogin" ) . "\">登录</a> |
| 754 | +才能更改您的监视列表", |
| 755 | +"addedwatch" => "加入到监视列表", |
| 756 | +"addedwatchtext" => "本页(“$1”)已经被加入到您的<a href=\"" . |
| 757 | + wfLocalUrl( "Special:Watchlist" ) . "\">监视列表</a>中。 |
| 758 | +未来有关它或它的对话页的任何修改将会在本页中列出, |
| 759 | +而且还会在<a href=\"" . |
| 760 | + wfLocalUrl( "Special:Recentchanges" ) . "\">最近更改列表</a>中 |
| 761 | +以<b>粗体</b>形式列出。</p> |
| 762 | + |
| 763 | +<p>如果您之后想将该页面从监视列表中删除,点击导航条中的“停止监视”链接。", |
| 764 | +"removedwatch" => "停止监视", |
| 765 | +"removedwatchtext" => "页面“$1”已经从您的监视页面中移除。", |
| 766 | +"watchthispage" => "监视本页", |
| 767 | +"unwatchthispage" => "停止监视", |
| 768 | +"notanarticle" => "不是条目", |
| 769 | + "watchnochange" => "在显示的时间段内您所监视的页面没有更改。", |
| 770 | + "watchdetails" => "($1个页面(不含对话页)被监视; |
| 771 | + 总共$2个页面被编辑; |
| 772 | + $3... |
| 773 | + <a href='$4'>显示并编辑完整列表</a>.)", |
| 774 | + "watchmethod-recent" => "检查被监视页面的最近编辑", |
| 775 | + "watchmethod-list" => "checking watched pages for recent edits", |
| 776 | + "removechecked" => "将被选页面从监视列表中移除", |
| 777 | + "watchlistcontains" => "您的监视列表包含$1个页面。", |
| 778 | + "watcheditlist" => "这里是您所监视的页面的列表。要移除某一页面,只要选择该页面然后点击”移除页面“按钮。", |
| 779 | + "removingchecked" => "移除页面...", |
| 780 | + "couldntremove" => "无法移除'$1'...", |
| 781 | + "iteminvalidname" => "页面'$1'错误,无效命名...", |
| 782 | + "wlnote" => "以下是最近<b>$2</b>小时内的最后$1次修改。", |
| 783 | + |
| 784 | +# Delete/protect/revert |
| 785 | +# |
| 786 | +"deletepage" => "删除页面", |
| 787 | +"confirm" => "确认", |
| 788 | +"confirmdelete" => "确认删除", |
| 789 | +"deletesub" => "(正在删除“$1”)", |
| 790 | +"confirmdeletetext" => "您即将从数据库中永远删除一个页面或图像以及其历史。 |
| 791 | +请确定您要进行此项操作,并且了解其后果,同时您的行为符合[[Wikipedia:守则与指导]]。 |
| 792 | +", |
| 793 | +"confirmcheck" => "是的,我确定要删除。", |
| 794 | +"actioncomplete" => "操作完成", |
| 795 | +"deletedtext" => "“$1”已经被删除。 |
| 796 | +最近删除的纪录请参见$2。", |
| 797 | +"deletedarticle" => "已删除“$1”", |
| 798 | + |
| 799 | +"dellogpage" => "删除纪录", |
| 800 | +"dellogpagetext" => "以下是最近删除的纪录列表。 |
| 801 | +所有的时间都是使用服务器时间(UTC)。 |
| 802 | +<ul> |
| 803 | +</ul> |
| 804 | +", |
| 805 | +"deletionlog" => "删除纪录", |
| 806 | +"reverted" => "恢复到早期版本", |
| 807 | +"deletecomment" => "删除理由", |
| 808 | +"imagereverted" => "恢复到早期版本操作完成。", |
| 809 | +"rollback" => "Roll back", |
| 810 | +"rollbacklink" => "rollback", |
| 811 | +"cantrollback" => "无法恢复编辑;最后的巩县者是本文的唯一作者。", |
| 812 | +"revertpage" => "恢复到$1的最后一次编辑", |
| 813 | + |
| 814 | +# Undelete |
| 815 | +"undelete" => "恢复被删页面", |
| 816 | +"undeletepage" => "浏览及恢复被删页面", |
| 817 | +"undeletepagetext" => "以下页面已经被删除,但依然在档案中并可以被恢复。 |
| 818 | +档案库可能被定时清理。", |
| 819 | +"undeletearticle" => "恢复被删文章", |
| 820 | +"undeleterevisions" => "$1版本存档", |
| 821 | +"undeletehistory" => "如果您恢复了该页面,所有版本都会被恢复到修订历史中。 |
| 822 | +如果本页删除后有一个同名的新页面建立, |
| 823 | +被恢复的版本将会称为较新的历史,而新页面的当前版本将无法被自动复原。", |
| 824 | +"undeleterevision" => "删除$1时的版本", |
| 825 | +"undeletebtn" => "恢复!", |
| 826 | +"undeletedarticle" => "已经恢复“$1”", |
| 827 | +"undeletedtext" => "[[$1]]已经被成功复原。 |
| 828 | +有关Wikipedia最近的删除与复原,参见[[Wikipedia:删除纪录]]", |
| 829 | + |
| 830 | +# Contributions |
| 831 | +# |
| 832 | +"contributions" => "用户贡献", |
| 833 | +"mycontris" => "我的贡献", |
| 834 | +"contribsub" => "为$1", |
| 835 | +"nocontribs" => "没有找到符合特征的更改。", |
| 836 | +"ucnote" => "以下是该用户最近<b><$2/b>天内的最后<b>$1</b>次修改。", |
| 837 | +"uclinks" => "参看最后$1次修改;参看最后$2天。", |
| 838 | +"uctop" => " (顶)" , |
| 839 | + |
| 840 | +# What links here |
| 841 | +# |
| 842 | +"whatlinkshere" => "链入页面", |
| 843 | +"notargettitle" => "无目标", |
| 844 | +"notargettext" => "您还没有指定一个目标页面或用户以进行此项操作。", |
| 845 | +"linklistsub" => "(链接列表)", |
| 846 | +"linkshere" => "以下页面链接到这里:", |
| 847 | +"nolinkshere" => "没有页面链接到这里。", |
| 848 | +"isredirect" => "重定向页", |
| 849 | + |
| 850 | +# Block/unblock IP |
| 851 | +# |
| 852 | +"blockip" => "查封IP地址", |
| 853 | +"blockiptext" => "用下面的表单来禁止来自某一特定IP地址的修改权限。 |
| 854 | +只有在为防止破坏,及符合[[Wikipedia:守则与指导]]的情况下才可采取此行动。 |
| 855 | +请在下面输入一个具体的理由(例如引述一个被破坏的页面)。", |
| 856 | +"ipaddress" => "IP地址", |
| 857 | +"ipbreason" => "原因", |
| 858 | +"ipbsubmit" => "查封该地址", |
| 859 | +"badipaddress" => "IP地址不正确。", |
| 860 | +"noblockreason" => "您必须说明查封的具体理由。", |
| 861 | +"blockipsuccesssub" => "查封成功", |
| 862 | +"blockipsuccesstext" => "IP地址“$1”已经被查封。 |
| 863 | +<br>参看[[Special:被封IP地址列表|被封IP地址列表]]以复审查封。", |
| 864 | +"unblockip" => "解除禁封IP地址", |
| 865 | +"unblockiptext" => "用下面的表单来恢复先前被禁封的IP地址的书写权。", |
| 866 | +"ipusubmit" => "解除禁封", |
| 867 | +"ipusuccess" => "IP地址“$1”已经被解除禁封", |
| 868 | +"ipblocklist" => "被封IP地址列表", |
| 869 | +"blocklistline" => "$1,$2禁封$3", |
| 870 | +"blocklink" => "禁封", |
| 871 | +"unblocklink" => "解除禁封", |
| 872 | +"contribslink" => "贡献", |
| 873 | + |
| 874 | +# Developer tools |
| 875 | +# |
| 876 | +"lockdb" => "禁止更改数据库", |
| 877 | +"unlockdb" => "开放更改数据库", |
| 878 | +"lockdbtext" => "锁住数据库将禁止所有用户进行编辑页面、更改参数、编辑监视列表以及其他需要更改数据库的操作。 |
| 879 | +请确认您的决定,并且保证您在维护工作结束后会重新开放数据库。", |
| 880 | +"unlockdbtext" => "开放数据库将会恢复所有用户进行编辑页面、修改参数、编辑监视列表以及其他需要更改数据库的操作。 |
| 881 | +请确认您的决定。", |
| 882 | +"lockconfirm" => "是的,我确实想要封锁数据库。", |
| 883 | +"unlockconfirm" => "是的,我确实想要开放数据库。", |
| 884 | +"lockbtn" => "数据库上锁", |
| 885 | +"unlockbtn" => "开放数据库", |
| 886 | +"locknoconfirm" => "您并没有勾选确认按钮。", |
| 887 | +"lockdbsuccesssub" => "数据库成功上锁", |
| 888 | + |
| 889 | +"unlockdbsuccesssub" => "数据库开放", |
| 890 | +"lockdbsuccesstext" => "Wikipedia数据库已经上锁。 |
| 891 | +<br>请记住在维护完成后重新开放数据库。", |
| 892 | +"unlockdbsuccesstext" => "Wikipedia数据库重新开放。", |
| 893 | + |
| 894 | +# SQL query |
| 895 | +# |
| 896 | +"asksql" => "SQL查询", |
| 897 | +"asksqltext" => "用下面的表单对Wikipedia数据库进行直接查询。 |
| 898 | +使用单引号('像这样') 来分割字串符。 |
| 899 | +这样做有可能增加服务器的负担,所以请慎用本功能。", |
| 900 | +"sqlquery" => "输入查询", |
| 901 | +"querybtn" => "提交查询", |
| 902 | +"selectonly" => "除了“SELECT”以外的所有查询都只限Wikipedia发展者使用。", |
| 903 | +"querysuccessful" => "查询成功", |
| 904 | + |
| 905 | +# Move page |
| 906 | +# |
| 907 | +"movepage" => "移动页面", |
| 908 | +"movepagetext" => "用下面的表单来重命名一个页面,并将其修订历史同时移动到新页面。 |
| 909 | +老的页面将成为新页面的重定向页。 |
| 910 | +链接到老页面的链接并不会自动更改; |
| 911 | +请[[Special:Maintenance|检查]]双重或损坏重定向链接。 |
| 912 | +您应当负责确定所有链接依然会链到指定的页面。 |
| 913 | + |
| 914 | +注意如果新页面已经有内容的话,页面将'''不会'''被移动, |
| 915 | +除非新页面无内容或是重定向页,而且没有修订历史。 |
| 916 | +这意味着您再必要时可以在移动到新页面后再移回老的页面, |
| 917 | +同时您也无法覆盖现有页面。 |
| 918 | + |
| 919 | +<b>警告!</b> |
| 920 | +对一个经常被访问的页面而言这可能是一个重大与唐突的更改; |
| 921 | +请在行动前先了结其所可能带来的后果。", |
| 922 | +"movepagetalktext" => "有关的对话页(如果有的话)将被自动与该页面一起移动,'''除非''': |
| 923 | +*您将页面移动到不同的名字空间(namespaces); |
| 924 | +*新页面已经有一个包含内容的对话页,或者 |
| 925 | +*您不勾选下面的复选框。 |
| 926 | + |
| 927 | +在这些情况下,您在必要时必须手工移动或合并页面。", |
| 928 | +"movearticle" => "移动页面", |
| 929 | +"movenologin" => "未登录", |
| 930 | +"movenologintext" => "您必须是一名登记用户并且<a href=\"" . |
| 931 | + wfLocalUrl( "Special:Userlogin" ) . "\">登录</a> |
| 932 | +后才可移动一个页面。", |
| 933 | +"newtitle" => "新标题", |
| 934 | +"movepagebtn" => "移动页面", |
| 935 | +"pagemovedsub" => "移动成功", |
| 936 | +"pagemovedtext" => "页面“[[$1]]”已经移动到“[[$2]]”。", |
| 937 | +"articleexists" => "该名字的页面已经存在,或者您选择的名字无效。请再选一个名字。", |
| 938 | +"talkexists" => "页面本身移动成功, |
| 939 | +但是由于新标题下已经有对话页存在,所以对话页无法移动。请手工合并两个页面。", |
| 940 | +"movedto" => "移动到", |
| 941 | +"movetalk" => "如果可能的话,请同时移动对话页。", |
| 942 | +"talkpagemoved" => "相应的对话页也已经移动。", |
| 943 | +"talkpagenotmoved" => "相应的对话页<strong>没有</strong>被移动。", |
| 944 | + |
| 945 | +# Math |
| 946 | + |
| 947 | +'mw_math_png' => "永远使用PNG图像", /* "Always render PNG" */ |
| 948 | +'mw_math_simple' => "如果是简单的公式使用HTML,否则使用PNG图像", /* "HTML if very simple or else PNG" */ |
| 949 | +'mw_math_html' => "如果可以用HTML,否则用PNG图像", /* "HTML if possible or else PNG" */ |
| 950 | +'mw_math_source' => "显示为TeX代码(使用文字浏览器时)", /* "Leave it as TeX (for text browsers)" */ |
| 951 | +'mw_math_modern' => "推荐为新版浏览器使用", /* "Recommended for modern browsers" */ |
| 952 | + |
| 953 | +); |
| 954 | + |
| 955 | +class LanguageZh_cn extends LanguageUtf8 { |
| 956 | + |
| 957 | + function getDefaultUserOptions () { |
| 958 | + $opt = Language::getDefaultUserOptions(); |
| 959 | + return $opt; |
| 960 | + } |
| 961 | + |
| 962 | + function getBookstoreList () { |
| 963 | + global $wgBookstoreListZh_cn ; |
| 964 | + return $wgBookstoreListZh_cn ; |
| 965 | + } |
| 966 | + |
| 967 | + function getNamespaces() { |
| 968 | + global $wgNamespaceNamesZh_cn; |
| 969 | + return $wgNamespaceNamesZh_cn; |
| 970 | + } |
| 971 | + |
| 972 | + function getNsText( $index ) { |
| 973 | + global $wgNamespaceNamesZh_cn; |
| 974 | + return $wgNamespaceNamesZh_cn[$index]; |
| 975 | + } |
| 976 | + |
| 977 | + function getNsIndex( $text ) { |
| 978 | + global $wgNamespaceNamesZh_cn; |
| 979 | + |
| 980 | + foreach ( $wgNamespaceNamesZh_cn as $i => $n ) { |
| 981 | + if ( 0 == strcasecmp( $n, $text ) ) { return $i; } |
| 982 | + } |
| 983 | + # Aliases |
| 984 | + if ( 0 == strcasecmp( "特殊", $text ) ) { return -1; } |
| 985 | + if ( 0 == strcasecmp( "", $text ) ) { return ; } |
| 986 | + if ( 0 == strcasecmp( "对话", $text ) ) { return 1; } |
| 987 | + if ( 0 == strcasecmp( "用户", $text ) ) { return 2; } |
| 988 | + if ( 0 == strcasecmp( "用户对话", $text ) ) { return 3; } |
| 989 | + if ( 0 == strcasecmp( "Wikipedia_对话", $text ) ) { return 5; } |
| 990 | + if ( 0 == strcasecmp( "图像", $text ) ) { return 6; } |
| 991 | + if ( 0 == strcasecmp( "图像对话", $text ) ) { return 7; } |
| 992 | + return false; |
| 993 | + } |
| 994 | + |
| 995 | + function getQuickbarSettings() { |
| 996 | + global $wgQuickbarSettingsZh_cn; |
| 997 | + return $wgQuickbarSettingsZh_cn; |
| 998 | + } |
| 999 | + |
| 1000 | + function getSkinNames() { |
| 1001 | + global $wgSkinNamesZh_cn; |
| 1002 | + return $wgSkinNamesZh_cn; |
| 1003 | + } |
| 1004 | + |
| 1005 | +# The date and time functions can be tweaked if need be |
| 1006 | + |
| 1007 | + # inherit userAdjust() |
| 1008 | + |
| 1009 | + function date( $ts, $adj = false ) |
| 1010 | + { |
| 1011 | + if ( $adj ) { $ts = $this->userAdjust( $ts ); } |
| 1012 | + |
| 1013 | + $d = substr( $ts, 0, 4 ) . "年" . |
| 1014 | + $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . |
| 1015 | + (0 + substr( $ts, 6, 2 )) . "日"; |
| 1016 | + return $d; |
| 1017 | + } |
| 1018 | + |
| 1019 | + function timeanddate( $ts, $adj = false ) |
| 1020 | + { |
| 1021 | + return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj ); |
| 1022 | + } |
| 1023 | + |
| 1024 | + function getValidSpecialPages() |
| 1025 | + { |
| 1026 | + global $wgValidSpecialPagesZh_cn; |
| 1027 | + return $wgValidSpecialPagesZh_cn; |
| 1028 | + } |
| 1029 | + |
| 1030 | + function getSysopSpecialPages() |
| 1031 | + { |
| 1032 | + global $wgSysopSpecialPagesZh_cn; |
| 1033 | + return $wgSysopSpecialPagesZh_cn; |
| 1034 | + } |
| 1035 | + |
| 1036 | + function getDeveloperSpecialPages() |
| 1037 | + { |
| 1038 | + global $wgDeveloperSpecialPagesZh_cn; |
| 1039 | + return $wgDeveloperSpecialPagesZh_cn; |
| 1040 | + |
| 1041 | + } |
| 1042 | + |
| 1043 | + function getMessage( $key ) |
| 1044 | + { |
| 1045 | + global $wgAllMessagesZh_cn; |
| 1046 | + if( isset( $wgAllMessagesZh_cn[$key] ) ) |
| 1047 | + return $wgAllMessagesZh_cn[$key]; |
| 1048 | + else |
| 1049 | + return Language::getMessage( $key ); |
| 1050 | + } |
| 1051 | + |
| 1052 | + # inherit default iconv(), ucfirst(), checkTitleEncoding() |
| 1053 | + |
| 1054 | + function stripForSearch( $string ) { |
| 1055 | + # MySQL fulltext index doesn't grok utf-8, so we |
| 1056 | + # need to fold cases and convert to hex |
| 1057 | + # we also separate characters as "words" |
| 1058 | + if( function_exists( 'mb_strtolower' ) ) { |
| 1059 | + return preg_replace( |
| 1060 | + "/([\\xc0-\\xff][\\x80-\\xbf]*)/e", |
| 1061 | + "' U8' . bin2hex( \"$1\" )", |
| 1062 | + mb_strtolower( $string ) ); |
| 1063 | + } else { |
| 1064 | + global $wikiLowerChars; |
| 1065 | + return preg_replace( |
| 1066 | + "/([\\xc0-\\xff][\\x80-\\xbf]*)/e", |
| 1067 | + "' U8' . bin2hex( strtr( \"\$1\", \$wikiLowerChars ) )", |
| 1068 | + $string ); |
| 1069 | + } |
| 1070 | + } |
| 1071 | +} |
| 1072 | + |
| 1073 | + |
| 1074 | +?> |
Property changes on: trunk/phase3/languages/LanguageZh_cn.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 1075 | + native |
Added: svn:keywords |
2 | 1076 | + Author Date Id Revision |