docs: fix more zh translation desc

This commit is contained in:
Zaiming (Stone) Shi 2022-10-27 08:39:58 +02:00
parent a314950be9
commit bb6c3ed4ae
2 changed files with 15 additions and 15 deletions

View File

@ -2,7 +2,7 @@ emqx_authz_api_cache {
authorization_cache_delete { authorization_cache_delete {
desc { desc {
en: """Clean all authorization cache in the cluster.""" en: """Clean all authorization cache in the cluster."""
zh: """清除集群中所有授权数据缓存""" zh: """清除集群中所有授权数据缓存"""
} }
} }
} }

View File

@ -1,8 +1,8 @@
emqx_authz_api_schema { emqx_authz_api_schema {
enable { enable {
desc { desc {
en: """Set to <code>true</code> or <code>false</code> to disable this ACL provider""" en: """Set to <code>true</code> or <code>false</code> to disable this ACL provider."""
zh: """设为 <code>true</code> 或 <code>false</code> 以启用或禁用此访问控制数据源""" zh: """设为 <code>true</code> 或 <code>false</code> 以启用或禁用此访问控制数据源"""
} }
label { label {
en: """enable""" en: """enable"""
@ -13,7 +13,7 @@ emqx_authz_api_schema {
type { type {
desc { desc {
en: """Backend type.""" en: """Backend type."""
zh: """数据后端类型""" zh: """数据后端类型"""
} }
label { label {
en: """type""" en: """type"""
@ -26,7 +26,7 @@ emqx_authz_api_schema {
rules { rules {
desc { desc {
en: """Authorization static file rules.""" en: """Authorization static file rules."""
zh: """静态授权文件规则""" zh: """静态授权文件规则"""
} }
label { label {
en: """rules""" en: """rules"""
@ -39,7 +39,7 @@ emqx_authz_api_schema {
method { method {
desc { desc {
en: """HTTP method.""" en: """HTTP method."""
zh: """HTTP 请求方法""" zh: """HTTP 请求方法"""
} }
label { label {
en: """method""" en: """method"""
@ -50,7 +50,7 @@ emqx_authz_api_schema {
url { url {
desc { desc {
en: """URL of the auth server.""" en: """URL of the auth server."""
zh: """认证服务器 URL""" zh: """认证服务器 URL"""
} }
label { label {
en: """url""" en: """url"""
@ -72,7 +72,7 @@ emqx_authz_api_schema {
headers_no_content_type { headers_no_content_type {
desc { desc {
en: """List of HTTP headers (without <code>content-type</code>).""" en: """List of HTTP headers (without <code>content-type</code>)."""
zh: """HTTP Headers 列表(无 <code>content-type</code>""" zh: """HTTP Headers 列表(无 <code>content-type</code>"""
} }
label { label {
en: """headers_no_content_type""" en: """headers_no_content_type"""
@ -83,7 +83,7 @@ emqx_authz_api_schema {
body { body {
desc { desc {
en: """HTTP request body.""" en: """HTTP request body."""
zh: """HTTP 请求体""" zh: """HTTP 请求体"""
} }
label { label {
en: """body""" en: """body"""
@ -94,7 +94,7 @@ emqx_authz_api_schema {
request_timeout { request_timeout {
desc { desc {
en: """Request timeout.""" en: """Request timeout."""
zh: """请求超时时间""" zh: """请求超时时间"""
} }
label { label {
en: """request_timeout""" en: """request_timeout"""
@ -111,7 +111,7 @@ emqx_authz_api_schema {
collection { collection {
desc { desc {
en: """`MongoDB` collection containing the authorization data.""" en: """`MongoDB` collection containing the authorization data."""
zh: """`MongoDB` 授权数据集""" zh: """`MongoDB` 授权数据集"""
} }
label { label {
en: """collection""" en: """collection"""
@ -153,7 +153,7 @@ Filter supports the following placeholders:
cmd { cmd {
desc { desc {
en: """Database query used to retrieve authorization data.""" en: """Database query used to retrieve authorization data."""
zh: """访问控制数据查询命令""" zh: """访问控制数据查询命令"""
} }
label { label {
en: """cmd""" en: """cmd"""
@ -166,7 +166,7 @@ Filter supports the following placeholders:
query { query {
desc { desc {
en: """Database query used to retrieve authorization data.""" en: """Database query used to retrieve authorization data."""
zh: """访问控制数据查询语句""" zh: """访问控制数据查询语句"""
} }
label { label {
en: """query""" en: """query"""
@ -178,8 +178,8 @@ Filter supports the following placeholders:
position { position {
desc { desc {
en: """Where to place the source""" en: """Where to place the source."""
zh: """认证数据源位置""" zh: """认证数据源位置"""
} }
label { label {
en: """position""" en: """position"""