X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=blobdiff_plain;f=includes%2Fapi%2Fi18n%2Fzh-hans.json;h=d20f4c49819ca3adb8f4f66565bc0102374b10bb;hb=23c8fdbe03c0e9182f0e2888502f7b2a58cc49a5;hp=34bb4c2c48be10bedf671d014648865b9925a6d9;hpb=d5334fe0362de2a8181cf8c47e02f009ec9bbcd1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/i18n/zh-hans.json b/includes/api/i18n/zh-hans.json index 34bb4c2c48..d20f4c4981 100644 --- a/includes/api/i18n/zh-hans.json +++ b/includes/api/i18n/zh-hans.json @@ -33,7 +33,7 @@ "apihelp-main-param-requestid": "任何在此提供的值将包含在响应中。可能可以用以区别请求。", "apihelp-main-param-servedby": "包含保存结果请求的主机名。", "apihelp-main-param-curtimestamp": "在结果中包括当前时间戳。", - "apihelp-main-param-origin": "当通过跨域名AJAX请求(CORS)访问API时,设置此作为起始域名。这必须包括在任何pre-flight请求中,并因此必须是请求的URI的一部分(而不是POST正文)。这必须匹配Origin中的一个起点:从头到底,因此它已经设置为像https://zh.wikipedia.org或https://meta.wikimedia.org的东西。如果此参数不匹配Origin页顶,就返回403错误响应。如果此参数匹配Origin页顶并且起点被白名单,将设置一个Access-Control-Allow-Origin开头。", + "apihelp-main-param-origin": "当通过跨域名AJAX请求(CORS)访问API时,设置此作为起始域名。这必须包括在任何pre-flight请求中,并因此必须是请求的URI的一部分(而不是POST正文)。\n\n对于已验证的请求,这必须正确匹配Origin标头中的原点之一,因此它已经设置为像https://zh.wikipedia.org或https://meta.wikimedia.org的东西。如果此参数不匹配Origin页顶,就返回403错误响应。如果此参数匹配Origin页顶并且起点被白名单,将设置Access-Control-Allow-Origin和Access-Control-Allow-Credentials开头。\n\n对于未验证的请求,会指定值*。这将导致Access-Control-Allow-Origin标头被设置,但Access-Control-Allow-Credentials将为false,且所有用户特定数据将受限制。", "apihelp-main-param-uselang": "用于消息翻译的语言。[[Special:ApiHelp/query+siteinfo|action=query&meta=siteinfo]]与siprop=languages可返回语言代码列表,或指定user以使用当前用户的语言设置,或指定content以使用此wiki的内容语言。", "apihelp-block-description": "封禁一位用户。", "apihelp-block-param-user": "您要封禁的用户、IP地址或IP地址段。", @@ -83,6 +83,8 @@ "apihelp-createaccount-param-language": "要为用户设置为默认值的语言代码(可选,默认为内容语言)。", "apihelp-createaccount-example-pass": "创建用户testuser和密码test123。", "apihelp-createaccount-example-mail": "创建用户testmailuser并电邮发送一个随机生成的密码。", + "apihelp-cspreport-description": "由浏览器使用以报告违反内容安全方针的内容。此模块应永不使用,除了在被CSP兼容的浏览器自动使用时。", + "apihelp-cspreport-param-reportonly": "标记作为来自监视方针的报告,而不是执行方针的报告", "apihelp-delete-description": "删除一个页面。", "apihelp-delete-param-title": "要删除的页面标题。不能与$1pageid一起使用。", "apihelp-delete-param-pageid": "要删除的页面的页面 ID。不能与$1title一起使用。", @@ -1406,7 +1408,7 @@ "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# Present the fields to the user, and obtain their submission.\n# Post to this module, supplying $1returnurl and any relevant fields.\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# 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-authmanagerhelper-request": "使用此身份验证请求,通过返回自[[Special:ApiHelp/query+authmanagerinfo|action=query&meta=authmanagerinfo]]的id与amirequestsfor=$1。", "api-help-authmanagerhelper-messageformat": "返回消息使用的格式。", "api-help-authmanagerhelper-mergerequestfields": "合并用于所有身份验证请求的字段信息至一个数组中。",