docs: refine auth http i18n description

This commit is contained in:
JimMoen 2022-04-29 12:46:56 +08:00
parent c1dfd0aa36
commit 5f75f6e3be
3 changed files with 37 additions and 37 deletions

View File

@ -18,7 +18,7 @@ emqx_authn_http {
en: """HTTP request method.""" en: """HTTP request method."""
zh: """HTTP 请求方法。""" zh: """HTTP 请求方法。"""
} }
label: { label {
en: """Request Method""" en: """Request Method"""
zh: """请求方法""" zh: """请求方法"""
} }
@ -27,9 +27,9 @@ emqx_authn_http {
url { url {
desc { desc {
en: """URL of the HTTP server.""" en: """URL of the HTTP server."""
zh: """HTTP 服务器地址。""" zh: """认证 HTTP 服务器地址。"""
} }
label: { label {
en: """URL""" en: """URL"""
zh: """URL""" zh: """URL"""
} }
@ -37,23 +37,23 @@ emqx_authn_http {
headers { headers {
desc { desc {
en: """HTTP request headers.""" en: """List of HTTP Headers."""
zh: """HTTP request headers。""" zh: """HTTP Headers 列表"""
} }
label: { label {
en: """Request Headers""" en: """Headers"""
zh: """Request Headers""" zh: """请求头"""
} }
} }
headers_no_content_type { headers_no_content_type {
desc { desc {
en: """HTTP request headers (without <code>content-type</code>).""" en: """List of HTTP headers (without <code>content-type</code>)."""
zh: """HTTP request headers无 <code>content-type</code>。""" zh: """HTTP Headers 列表 (无 <code>content-type</code>) 。"""
} }
label: { label {
en: """Request Headers""" en: """headers_no_content_type"""
zh: """Request Headers""" zh: """请求头(无 content-type)"""
} }
} }
@ -62,7 +62,7 @@ emqx_authn_http {
en: """HTTP request body.""" en: """HTTP request body."""
zh: """HTTP request body。""" zh: """HTTP request body。"""
} }
label: { label {
en: """Request Body""" en: """Request Body"""
zh: """Request Body""" zh: """Request Body"""
} }
@ -73,7 +73,7 @@ emqx_authn_http {
en: """HTTP request timeout.""" en: """HTTP request timeout."""
zh: """HTTP 请求超时时长。""" zh: """HTTP 请求超时时长。"""
} }
label: { label {
en: """Request Timeout""" en: """Request Timeout"""
zh: """请求超时时间""" zh: """请求超时时间"""
} }

View File

@ -60,19 +60,19 @@ emqx_authz_api_schema {
headers { headers {
desc { desc {
en: """List of HTTP headers.""" en: """List of HTTP Headers."""
zh: """""" zh: """HTTP Headers 列表"""
} }
label { label {
en: """headers""" en: """Headers"""
zh: """请求头""" zh: """请求头"""
} }
} }
headers_no_content_type { headers_no_content_type {
desc { desc {
en: """List of HTTP headers (without `content_type`).""" en: """List of HTTP headers (without <code>content-type</code>)."""
zh: """""" zh: """HTTP Headers 列表(无 <code>content-type</code>"""
} }
label { label {
en: """headers_no_content_type""" en: """headers_no_content_type"""

View File

@ -122,7 +122,7 @@ and the new rules will override all rules from the old config file.
http_get { http_get {
desc { desc {
en: """Authorization using an external HTTP server (via GET requests).""" en: """Authorization using an external HTTP server (via GET requests)."""
zh: """使用外部 HTTP 服务器鉴权(GET 请求).""" zh: """使用外部 HTTP 服务器鉴权(GET 请求)"""
} }
label { label {
en: """http_get""" en: """http_get"""
@ -133,7 +133,7 @@ and the new rules will override all rules from the old config file.
http_post { http_post {
desc { desc {
en: """Authorization using an external HTTP server (via POST requests).""" en: """Authorization using an external HTTP server (via POST requests)."""
zh: """使用外部 HTTP 服务器鉴权(POST 请求).""" zh: """使用外部 HTTP 服务器鉴权(POST 请求)"""
} }
label { label {
en: """http_post""" en: """http_post"""
@ -155,29 +155,29 @@ and the new rules will override all rules from the old config file.
url { url {
desc { desc {
en: """URL of the auth server.""" en: """URL of the auth server."""
zh: """认证服务器 URL""" zh: """鉴权 HTTP 服务器地址。"""
} }
label { label {
en: """url""" en: """URL"""
zh: """url""" zh: """URL"""
} }
} }
headers { headers {
desc { desc {
en: """List of HTTP headers.""" en: """List of HTTP Headers."""
zh: """""" zh: """HTTP Headers 列表"""
} }
label { label {
en: """headers""" en: """Headers"""
zh: """请求头""" zh: """请求头"""
} }
} }
headers_no_content_type { headers_no_content_type {
desc { desc {
en: """List of HTTP headers (without `content_type`).""" en: """List of HTTP headers (without <code>content-type</code>)."""
zh: """""" zh: """HTTP Headers 列表 (无 <code>content-type</code>) 。"""
} }
label { label {
en: """headers_no_content_type""" en: """headers_no_content_type"""
@ -188,22 +188,22 @@ and the new rules will override all rules from the old config file.
body { body {
desc { desc {
en: """HTTP request body.""" en: """HTTP request body."""
zh: """HTTP 请求体""" zh: """HTTP request body。"""
} }
label { label {
en: """body""" en: """Request Body"""
zh: """请求体""" zh: """Request Body"""
} }
} }
request_timeout { request_timeout {
desc { desc {
en: """Request timeout.""" en: """HTTP request timeout."""
zh: """请求超时时间""" zh: """HTTP 请求超时时长。"""
} }
label { label {
en: """request_timeout""" en: """Request Timeout"""
zh: """请求超时""" zh: """请求超时时间"""
} }
} }