fix(i18n): rm double quotes in i18n confs, add missing translation
This commit is contained in:
parent
52552c432c
commit
1fab779db8
|
@ -618,7 +618,7 @@ mqtt 下所有的配置作为全局的默认值存在,它可以被 <code>zone<
|
||||||
|
|
||||||
mqtt_max_clientid_len {
|
mqtt_max_clientid_len {
|
||||||
desc {
|
desc {
|
||||||
en: """"Maximum allowed length of MQTT clientId."""
|
en: """Maximum allowed length of MQTT clientId."""
|
||||||
zh: """允许的最大 MQTT Client ID 长度"""
|
zh: """允许的最大 MQTT Client ID 长度"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -824,7 +824,7 @@ Only works for the TLS connection."""
|
||||||
|
|
||||||
broker {
|
broker {
|
||||||
desc {
|
desc {
|
||||||
en: """"Message broker options."""
|
en: """Message broker options."""
|
||||||
zh: """Broker 相关配置项。"""
|
zh: """Broker 相关配置项。"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,18 +20,35 @@ NOTE:
|
||||||
The source elements are identified by their 'type'.
|
The source elements are identified by their 'type'.
|
||||||
It is NOT allowed to configure two or more sources of the same type.
|
It is NOT allowed to configure two or more sources of the same type.
|
||||||
"""
|
"""
|
||||||
zh: """"""
|
zh: """
|
||||||
|
鉴权数据源.<br>
|
||||||
|
鉴权(ACL)数据源的列表.
|
||||||
|
它被设计为一个数组,而不是一个散列映射,
|
||||||
|
所以可以作为链式访问控制.<br>
|
||||||
|
|
||||||
|
当授权一个 'publish' 或 'subscribe' 行为时,
|
||||||
|
该配置列表中的所有数据源将按顺序进行检查。
|
||||||
|
如果在某个客户端未找到时(使用 ClientID 或 Username),
|
||||||
|
将会移动到下一个数据源. 直至得到 'allow' 或 'deny' 的结果.<br>
|
||||||
|
|
||||||
|
如果在任何数据源中都未找到对应的客户端信息,
|
||||||
|
配置的默认行为 ('authorization.no_match') 将生效.<br>
|
||||||
|
|
||||||
|
注意:
|
||||||
|
数据源使用 'type' 进行标识.
|
||||||
|
使用同一类型的数据源多于一次不被允许.
|
||||||
|
"""
|
||||||
}
|
}
|
||||||
label {
|
label {
|
||||||
en: """sources"""
|
en: """sources"""
|
||||||
zh: """"""
|
zh: """数据源"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
authorization {
|
authorization {
|
||||||
desc {
|
desc {
|
||||||
en: """Configuration related to the client authorization."""
|
en: """Configuration related to the client authorization."""
|
||||||
zh: """"""
|
zh: """客户端授权相关配置"""
|
||||||
}
|
}
|
||||||
label {
|
label {
|
||||||
en: """authorization"""
|
en: """authorization"""
|
||||||
|
|
|
@ -17,7 +17,7 @@ but use the same port."""
|
||||||
}
|
}
|
||||||
sample_interval {
|
sample_interval {
|
||||||
desc {
|
desc {
|
||||||
en: """How often to update metrics displayed in the dashboard.<br/>"
|
en: """How often to update metrics displayed in the dashboard.<br/>
|
||||||
Note: `sample_interval` should be a divisor of 60."""
|
Note: `sample_interval` should be a divisor of 60."""
|
||||||
zh: """更新仪表板中显示的指标的时间间隔。"""
|
zh: """更新仪表板中显示的指标的时间间隔。"""
|
||||||
}
|
}
|
||||||
|
@ -154,7 +154,7 @@ Note: `sample_interval` should be a divisor of 60."""
|
||||||
}
|
}
|
||||||
default_password {
|
default_password {
|
||||||
desc {
|
desc {
|
||||||
en: """The initial default password for dashboard 'admin' user.<br>"
|
en: """The initial default password for dashboard 'admin' user.<br>
|
||||||
For safety, it should be changed as soon as possible."""
|
For safety, it should be changed as soon as possible."""
|
||||||
zh: """默认的仪表板用户密码<br>
|
zh: """默认的仪表板用户密码<br>
|
||||||
为了安全,应该尽快修改密码。"""
|
为了安全,应该尽快修改密码。"""
|
||||||
|
|
|
@ -16,7 +16,7 @@ emqx_coap_api {
|
||||||
|
|
||||||
method {
|
method {
|
||||||
desc {
|
desc {
|
||||||
en: """"Request method type"""
|
en: """Request method type"""
|
||||||
zh: """请求 Method 类型"""
|
zh: """请求 Method 类型"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ emqx_coap_api {
|
||||||
|
|
||||||
content_type {
|
content_type {
|
||||||
desc {
|
desc {
|
||||||
en: """"Payload type" """
|
en: """Payload type"""
|
||||||
zh: """Payload 类型"""
|
zh: """Payload 类型"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -220,7 +220,7 @@ For example, after receiving an update message from a client, any messages withi
|
||||||
|
|
||||||
lwm2m_update_msg_publish_condition {
|
lwm2m_update_msg_publish_condition {
|
||||||
desc {
|
desc {
|
||||||
en: """"Policy for publishing UPDATE event message.
|
en: """Policy for publishing UPDATE event message.
|
||||||
- always: send update events as long as the UPDATE request is received.
|
- always: send update events as long as the UPDATE request is received.
|
||||||
- contains_object_list: send update events only if the UPDATE request carries any Object List
|
- contains_object_list: send update events only if the UPDATE request carries any Object List
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue