X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2Fi18n%2Fzh-hans.json;h=573748dc0b135397a6bd1aad0a31cceee8e3f1e1;hb=7da0949b385c30468aed1b6cb8140dc25727a826;hp=037aff452651f93d9c702fcf301a504e0123e71d;hpb=f7429252f85c5835b291def55fc04b8196c1bb39;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/i18n/zh-hans.json b/includes/api/i18n/zh-hans.json index 037aff4526..573748dc0b 100644 --- a/includes/api/i18n/zh-hans.json +++ b/includes/api/i18n/zh-hans.json @@ -287,13 +287,14 @@ "apihelp-options-example-change": "更改skin和hideminor设置。", "apihelp-options-example-complex": "重置所有设置,然后设置skin和nickname。", "apihelp-paraminfo-description": "获得关于API模块的信息。", - "apihelp-paraminfo-param-modules": "模块名称(action和format参数值,或main)的列表。可通过+指定子模块。", + "apihelp-paraminfo-param-modules": "模块名称(action和format参数值,或main)的列表。可通过+指定子模块,或通过+*指定所有子模块,或通过+**指定所有递归子模块。", "apihelp-paraminfo-param-helpformat": "帮助字符串的格式。", "apihelp-paraminfo-param-querymodules": "查询模块名称(prop、meta或list参数值)的列表。使用$1modules=query+foo而不是$1querymodules=foo。", "apihelp-paraminfo-param-mainmodule": "获取有关主要(最高级)模块的信息。也可使用$1modules=main。", "apihelp-paraminfo-param-pagesetmodule": "获取有关页面设置模块(提供titles=和朋友)的信息。", "apihelp-paraminfo-param-formatmodules": "格式模块名称(format参数的值)的列表。也可使用$1modules。", "apihelp-paraminfo-example-1": "显示[[Special:ApiHelp/parse|action=parse]]、[[Special:ApiHelp/jsonfm|format=jsonfm]]、[[Special:ApiHelp/query+allpages|action=query&list=allpages]]和[[Special:ApiHelp/query+siteinfo|action=query&meta=siteinfo]]的信息。", + "apihelp-paraminfo-example-2": "显示[[Special:ApiHelp/query|action=query]]的所有子模块的信息。", "apihelp-parse-description": "解析内容并返回解析器输出。\n\n参见[[Special:ApiHelp/query|action=query]]的各种prop-module以从页面的当前版本获得信息。\n\n这里有几种方法可以指定解析的文本:\n# 指定一个页面或修订,使用$1page、$1pageid或$1oldid。\n# 明确指定内容,使用$1text、$1title和$1contentmodel。\n# 只指定一段摘要解析。$1prop应提供一个空值。", "apihelp-parse-param-title": "文本属于的页面标题。如果省略,$1contentmodel就必须被指定,且[[API]]将作为标题使用。", "apihelp-parse-param-text": "要解析的文本。使用$1title或$1contentmodel以控制内容模型。", @@ -563,9 +564,9 @@ "apihelp-query+authmanagerinfo-description": "检索有关当前身份验证状态的信息。", "apihelp-query+authmanagerinfo-param-securitysensitiveoperation": "测试用户当前的身份验证状态是否足够用于指定的安全敏感操作。", "apihelp-query+authmanagerinfo-param-requestsfor": "取得指定身份验证操作所需的有关身份验证请求的信息。", - "apihelp-query+filerepoinfo-example-login": "检索当开始登录时可能使用的请求。", - "apihelp-query+filerepoinfo-example-login-merged": "检索当开始登录时可能使用的请求,并合并表单字段。", - "apihelp-query+filerepoinfo-example-securitysensitiveoperation": "测试身份验证对操作foo是否足够。", + "apihelp-query+authmanagerinfo-example-login": "检索当开始登录时可能使用的请求。", + "apihelp-query+authmanagerinfo-example-login-merged": "检索当开始登录时可能使用的请求,并合并表单字段。", + "apihelp-query+authmanagerinfo-example-securitysensitiveoperation": "测试身份验证对操作foo是否足够。", "apihelp-query+backlinks-description": "查找所有链接至指定页面的页面。", "apihelp-query+backlinks-param-title": "要搜索的标题。不能与$1pageid一起使用。", "apihelp-query+backlinks-param-pageid": "要搜索的页面ID。不能与$1title一起使用。", @@ -1027,11 +1028,11 @@ "apihelp-query+search-paramvalue-prop-snippet": "Adds a parsed snippet of the page.", "apihelp-query+search-paramvalue-prop-titlesnippet": "Adds a parsed snippet of the page title.", "apihelp-query+search-paramvalue-prop-redirectsnippet": "添加被解析的重定向标题的片段。", - "apihelp-query+search-paramvalue-prop-redirecttitle": "Adds the title of the matching redirect.", + "apihelp-query+search-paramvalue-prop-redirecttitle": "添加匹配的重定向的标题。", "apihelp-query+search-paramvalue-prop-sectionsnippet": "Adds a parsed snippet of the matching section title.", "apihelp-query+search-paramvalue-prop-sectiontitle": "Adds the title of the matching section.", "apihelp-query+search-paramvalue-prop-categorysnippet": "Adds a parsed snippet of the matching category.", - "apihelp-query+search-paramvalue-prop-isfilematch": "Adds a boolean indicating if the search matched file content.", + "apihelp-query+search-paramvalue-prop-isfilematch": "添加布尔值,表明搜索是否匹配文件内容。", "apihelp-query+search-paramvalue-prop-score": "已弃用并已忽略。", "apihelp-query+search-paramvalue-prop-hasrelated": "已弃用并已忽略。", "apihelp-query+search-param-limit": "返回的总计页面数。", @@ -1040,7 +1041,7 @@ "apihelp-query+search-param-enablerewrites": "启用内部查询重写。一些搜索后端可以重写查询到它认为会给出更好结果的地方,例如纠正拼写错误。", "apihelp-query+search-example-simple": "搜索meaning。", "apihelp-query+search-example-text": "搜索文本meaning。", - "apihelp-query+search-example-generator": "获得有关搜索meaning返回页面的页面信息。", + "apihelp-query+search-example-generator": "获取有关搜索meaning返回页面的页面信息。", "apihelp-query+siteinfo-description": "返回有关网站的一般信息。", "apihelp-query+siteinfo-param-prop": "要获取的信息:", "apihelp-query+siteinfo-paramvalue-prop-general": "全部系统信息。", @@ -1380,13 +1381,13 @@ "api-help-param-deprecated": "已弃用。", "api-help-param-required": "这个参数是必须的。", "api-help-datatypes-header": "数据类型", - "api-help-datatypes": "一些在API请求中的参数类型需要更进一步解释:\n;boolean\n:布尔参数就像HTML复选框一样工作:如果指定参数,无论何值都被认为是真。如果要假值,则可完全忽略参数。\n;timestamp\n:时间戳可被指定为很多格式。推荐使用ISO 8601日期和时间标准。所有时间为UTC时间,包含的任何时区会被忽略。\n:* ISO 8601日期和时间,2001-01-15T14:56:00Z(标点和Z是可选项)\n:* 带小数秒(会被忽略)的ISO 8601日期和时间,2001-01-15T14:56:00.00001Z(破折号、括号和Z是可选的)\n:* MediaWiki格式,20010115145600\n:* 一般数字格式,2001-01-15 14:56:00(GMT、+##或-##的可选时区会被忽略)\n:* EXIF格式,2001:01:15 14:56:00\n:* RFC 2822格式(时区可能会被省略),Mon, 15 Jan 2001 14:56:00\n:* RFC 850格式(时区可能会被省略),Monday, 15-Jan-2001 14:56:00\n:* C ctime格式,Mon Jan 15 14:56:00 2001\n:* 秒数是从1970-01-01T00:00:00Z开始,作为1到13位数的整数(除了0)\n:* 字符串now", + "api-help-datatypes": "至MediaWiki的输入应为NFC标准化的UTF-8。MediaWiki可以尝试转换其他输入,但这可能导致一些操作失败(例如[[Special:ApiHelp/edit|edits]]与MD5校验)。\n\n一些在API请求中的参数类型需要更进一步解释:\n;boolean\n:布尔参数就像HTML复选框一样工作:如果指定参数,无论何值都被认为是真。如果要假值,则可完全忽略参数。\n;timestamp\n:时间戳可被指定为很多格式。推荐使用ISO 8601日期和时间标准。所有时间为UTC时间,包含的任何时区会被忽略。\n:* ISO 8601日期和时间,2001-01-15T14:56:00Z(标点和Z是可选项)\n:* 带小数秒(会被忽略)的ISO 8601日期和时间,2001-01-15T14:56:00.00001Z(破折号、括号和Z是可选的)\n:* MediaWiki格式,20010115145600\n:* 一般数字格式,2001-01-15 14:56:00(GMT、+##或-##的可选时区会被忽略)\n:* EXIF格式,2001:01:15 14:56:00\n:* RFC 2822格式(时区可能会被省略),Mon, 15 Jan 2001 14:56:00\n:* RFC 850格式(时区可能会被省略),Monday, 15-Jan-2001 14:56:00\n:* C ctime格式,Mon Jan 15 14:56:00 2001\n:* 秒数是从1970-01-01T00:00:00Z开始,作为1到13位数的整数(除了0)\n:* 字符串now\n;替代多值分隔符\n:使用多个值的参数通常会与管道符号分隔的值一起提交,例如param=value1|value2或param=value1%7Cvalue2。如果值必须包含管道符号,使用U+001F(单位分隔符)作为分隔符,''并''在值前加前缀U+001F,例如param=%1Fvalue1%1Fvalue2。", "api-help-param-type-limit": "类型:整数或max", "api-help-param-type-integer": "类型:{{PLURAL:$1|1=整数|2=整数列表}}", "api-help-param-type-boolean": "类型:布尔值([[Special:ApiHelp/main#main/datatypes|详细信息]])", "api-help-param-type-timestamp": "类型:{{PLURAL:$1|1=时间戳|2=时间戳列表}}([[Special:ApiHelp/main#main/datatypes|允许格式]])", "api-help-param-type-user": "类型:{{PLURAL:$1|1=用户名|2=用户名列表}}", - "api-help-param-list": "{{PLURAL:$1|1=以下值中的一个|2=值(以{{!}}分隔)}}:$2", + "api-help-param-list": "{{PLURAL:$1|1=以下值中的一个|2=值(以{{!}}或[[Special:ApiHelp/main#main/datatypes|替代物]]分隔)}}:$2", "api-help-param-list-can-be-empty": "{{PLURAL:$1|0=必须为空|可以为空,或$2}}", "api-help-param-limit": "不允许超过$1。", "api-help-param-limit2": "不允许超过$1个(对于机器人则是$2个)。", @@ -1394,7 +1395,7 @@ "api-help-param-integer-max": "{{PLURAL:$1|值}}必须不大于$3。", "api-help-param-integer-minmax": "{{PLURAL:$1|值}}必须介于$2和$3之间。", "api-help-param-upload": "必须被公布为使用multipart/form-data的一次文件上传。", - "api-help-param-multi-separate": "通过“|”隔开各值。", + "api-help-param-multi-separate": "通过|或[[Special:ApiHelp/main#main/datatypes|替代物]]隔开各值。", "api-help-param-multi-max": "值的最高数字是{{PLURAL:$1|$1}}(对于机器人则是{{PLURAL:$2|$2}})。", "api-help-param-default": "默认:$1", "api-help-param-default-empty": "默认:(空)", @@ -1410,10 +1411,12 @@ "api-help-permissions-granted-to": "{{PLURAL:$1|授予}}:$2", "api-help-right-apihighlimits": "在API查询中使用更高的上限(慢查询:$1;快查询:$2)。慢查询的限制也适用于多值参数。", "api-help-open-in-apisandbox": "[在沙盒中打开]", - "api-help-authmanager-general-usage": "使用此模块的一般程序是:\n# 通过amirequestsfor=$4取得来自[[Special:ApiHelp/query+authmanagerinfo|action=query&meta=authmanagerinfo]]的可用字段,和来自[[Special:ApiHelp/query+tokens|action=query&meta=tokens]]的$5令牌。\n# 向用户显示字段,并获得其提交内容。\n# 发送至此模块,提供$1returnurl及任何相关字段。\n# Check the status in the response.\n#* If you received PASS or FAIL, you're done. The operation either succeeded or it didn't.\n#* If you received UI, present the new fields to the user and obtain their submission. Then post to this module with $1continue and the relevant fields set, and repeat step 4.\n#* If you received REDIRECT, direct the user to the redirecttarget and wait for the return to $1returnurl. Then post to this module with $1continue and any fields passed to the return URL, and repeat step 4.\n#* If you received RESTART, that means the authentication worked but we don't have a linked user account. You might treat this as UI or as FAIL.", + "api-help-authmanager-general-usage": "使用此模块的一般程序是:\n# 通过amirequestsfor=$4取得来自[[Special:ApiHelp/query+authmanagerinfo|action=query&meta=authmanagerinfo]]的可用字段,和来自[[Special:ApiHelp/query+tokens|action=query&meta=tokens]]的$5令牌。\n# 向用户显示字段,并获得其提交内容。\n# 发送至此模块,提供$1returnurl及任何相关字段。\n# 在响应中检查status。\n#* 如果您收到了PASS或FAIL,您已经完成。The operation either succeeded or it didn't.\n#* 如果您收到了UI,present the new fields to the user and obtain their submission. Then post to this module with $1continue and the relevant fields set, and repeat step 4.\n#* 如果您收到了REDIRECT,direct the user to the redirecttarget and wait for the return to $1returnurl. Then post to this module with $1continue and any fields passed to the return URL, and repeat step 4.\n#* 如果您收到了RESTART,that means the authentication worked but we don't have a linked user account. You might treat this as UI or as FAIL.", "api-help-authmanagerhelper-request": "使用此身份验证请求,通过返回自[[Special:ApiHelp/query+authmanagerinfo|action=query&meta=authmanagerinfo]]的id与amirequestsfor=$1。", "api-help-authmanagerhelper-messageformat": "返回消息使用的格式。", "api-help-authmanagerhelper-mergerequestfields": "合并用于所有身份验证请求的字段信息至一个数组中。", + "api-help-authmanagerhelper-preservestate": "从之前失败的登录尝试中保持状态,如果可能。", + "api-help-authmanagerhelper-continue": "此请求是在早先的UI或REDIRECT响应之后的附加请求。必需此值或$1returnurl。", "api-help-authmanagerhelper-additional-params": "此模块允许额外参数,取决于可用的身份验证请求。使用[[Special:ApiHelp/query+authmanagerinfo|action=query&meta=authmanagerinfo]]与amirequestsfor=$1(或之前来自此模块的相应,如果可以)以决定可用请求及其使用的字段。", "api-credits-header": "制作人员", "api-credits": "API 开发人员:\n* Yuri Astrakhan(创建者,2006年9月~2007年9月的开发组领导)\n* Roan Kattouw(2007年9月~2009年的开发组领导)\n* Victor Vasiliev\n* Bryan Tong Minh\n* Sam Reed\n* Brad Jorsch(2013年至今的开发组领导)\n\n请将您的评论、建议和问题发送至mediawiki-api@lists.wikimedia.org,或提交错误请求至https://phabricator.wikimedia.org/。"