chore: refine influxdb bridge/connector i18n
This commit is contained in:
parent
5f7dc431b4
commit
b01ae8ece6
|
@ -24,13 +24,8 @@ emqx_resource_schema {
|
|||
|
||||
start_timeout {
|
||||
desc {
|
||||
en: """
|
||||
If 'start_after_created' enabled, how long time do we wait for the
|
||||
resource get started, in milliseconds.
|
||||
"""
|
||||
zh: """
|
||||
如果选择了创建后立即启动资源,此选项用来设置等待资源启动的超时时间,单位毫秒。
|
||||
"""
|
||||
en: """If 'start_after_created' enabled, how long time do we wait for the resource get started, in milliseconds."""
|
||||
zh: """如果选择了创建后立即启动资源,此选项用来设置等待资源启动的超时时间,单位毫秒。"""
|
||||
}
|
||||
label {
|
||||
en: """Start Timeout"""
|
||||
|
@ -40,12 +35,8 @@ resource get started, in milliseconds.
|
|||
|
||||
auto_restart_interval {
|
||||
desc {
|
||||
en: """
|
||||
The auto restart interval after the resource is disconnected, in milliseconds.
|
||||
"""
|
||||
zh: """
|
||||
资源断开以后,自动重连的时间间隔,单位毫秒。
|
||||
"""
|
||||
en: """The auto restart interval after the resource is disconnected, in milliseconds."""
|
||||
zh: """资源断开以后,自动重连的时间间隔,单位毫秒。"""
|
||||
}
|
||||
label {
|
||||
en: """Auto Restart Interval"""
|
||||
|
@ -89,7 +80,7 @@ The auto restart interval after the resource is disconnected, in milliseconds.
|
|||
resume_interval {
|
||||
desc {
|
||||
en: """Resume time interval when resource down."""
|
||||
zh: """资源不可用时的重试时间"""
|
||||
zh: """资源不可用时的重试时间。"""
|
||||
}
|
||||
label {
|
||||
en: """Resume interval"""
|
||||
|
@ -100,7 +91,7 @@ The auto restart interval after the resource is disconnected, in milliseconds.
|
|||
async_inflight_window {
|
||||
desc {
|
||||
en: """Async query inflight window."""
|
||||
zh: """异步请求飞行队列窗口大小"""
|
||||
zh: """异步请求飞行队列窗口大小。"""
|
||||
}
|
||||
label {
|
||||
en: """Async inflight window"""
|
||||
|
@ -111,7 +102,7 @@ The auto restart interval after the resource is disconnected, in milliseconds.
|
|||
batch_size {
|
||||
desc {
|
||||
en: """Maximum batch count."""
|
||||
zh: """批量请求大小"""
|
||||
zh: """批量请求大小。"""
|
||||
}
|
||||
label {
|
||||
en: """Batch size"""
|
||||
|
|
|
@ -1,15 +1,13 @@
|
|||
emqx_ee_bridge_influxdb {
|
||||
local_topic {
|
||||
desc {
|
||||
en: """
|
||||
The MQTT topic filter to be forwarded to the InfluxDB. All MQTT 'PUBLISH' messages with the topic
|
||||
en: """The MQTT topic filter to be forwarded to the InfluxDB. All MQTT 'PUBLISH' messages with the topic
|
||||
matching the local_topic will be forwarded.</br>
|
||||
NOTE: if this bridge is used as the action of a rule (EMQX rule engine), and also local_topic is
|
||||
configured, then both the data got from the rule and the MQTT messages that match local_topic
|
||||
will be forwarded.
|
||||
"""
|
||||
zh: """
|
||||
发送到 'local_topic' 的消息都会转发到 InfluxDB。 </br>
|
||||
zh: """发送到 'local_topic' 的消息都会转发到 InfluxDB。 </br>
|
||||
注意:如果这个 Bridge 被用作规则(EMQX 规则引擎)的输出,同时也配置了 'local_topic' ,那么这两部分的消息都会被转发到 InfluxDB。
|
||||
"""
|
||||
}
|
||||
|
@ -20,20 +18,18 @@ will be forwarded.
|
|||
}
|
||||
write_syntax {
|
||||
desc {
|
||||
en: """
|
||||
Conf of InfluxDB line protocol to write data points. It is a text-based format that provides the measurement, tag set, field set, and timestamp of a data point, and placeholder supported.
|
||||
en: """Conf of InfluxDB line protocol to write data points. It is a text-based format that provides the measurement, tag set, field set, and timestamp of a data point, and placeholder supported.
|
||||
See also [InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) and
|
||||
[InfluxDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) </br>
|
||||
TLDR:
|
||||
TLDR:</br>
|
||||
```
|
||||
<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]
|
||||
```
|
||||
"""
|
||||
zh: """
|
||||
使用 InfluxDB API Line Protocol 写入 InfluxDB 的数据,支持占位符</br>
|
||||
zh: """使用 InfluxDB API Line Protocol 写入 InfluxDB 的数据,支持占位符</br>
|
||||
参考 [InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) 及
|
||||
[InfluxDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) </br>
|
||||
TLDR:
|
||||
TLDR: </br>
|
||||
```
|
||||
<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]
|
||||
```
|
||||
|
@ -46,8 +42,8 @@ TLDR:
|
|||
}
|
||||
config_enable {
|
||||
desc {
|
||||
en: """Enable or disable this bridge"""
|
||||
zh: """启用/禁用桥接"""
|
||||
en: """Enable or disable this bridge."""
|
||||
zh: """启用/禁用桥接。"""
|
||||
}
|
||||
label {
|
||||
en: "Enable Or Disable Bridge"
|
||||
|
@ -56,8 +52,8 @@ TLDR:
|
|||
}
|
||||
config_direction {
|
||||
desc {
|
||||
en: """The direction of this bridge, MUST be 'egress'"""
|
||||
zh: """桥接的方向,必须是 egress"""
|
||||
en: """The direction of this bridge, MUST be 'egress'."""
|
||||
zh: """桥接的方向,必须是 egress。"""
|
||||
}
|
||||
label {
|
||||
en: "Bridge Direction"
|
||||
|
@ -68,7 +64,7 @@ TLDR:
|
|||
desc_config {
|
||||
desc {
|
||||
en: """Configuration for an InfluxDB bridge."""
|
||||
zh: """InfluxDB 桥接配置"""
|
||||
zh: """InfluxDB 桥接配置。"""
|
||||
}
|
||||
label: {
|
||||
en: "InfluxDB Bridge Configuration"
|
||||
|
@ -78,8 +74,8 @@ TLDR:
|
|||
|
||||
desc_type {
|
||||
desc {
|
||||
en: """The Bridge Type"""
|
||||
zh: """Bridge 类型"""
|
||||
en: """The Bridge Type."""
|
||||
zh: """Bridge 类型。"""
|
||||
}
|
||||
label {
|
||||
en: "Bridge Type"
|
||||
|
|
|
@ -42,8 +42,8 @@ emqx_ee_connector_influxdb {
|
|||
}
|
||||
protocol {
|
||||
desc {
|
||||
en: """InfluxDB's protocol. UDP or HTTP API or HTTP API V2"""
|
||||
zh: """InfluxDB 协议。UDP 或 HTTP API 或 HTTP API V2"""
|
||||
en: """InfluxDB's protocol. UDP or HTTP API or HTTP API V2."""
|
||||
zh: """InfluxDB 协议。UDP 或 HTTP API 或 HTTP API V2。"""
|
||||
}
|
||||
label: {
|
||||
en: """Protocol"""
|
||||
|
@ -53,7 +53,7 @@ emqx_ee_connector_influxdb {
|
|||
influxdb_udp {
|
||||
desc {
|
||||
en: """InfluxDB's UDP protocol."""
|
||||
zh: """InfluxDB UDP 协议"""
|
||||
zh: """InfluxDB UDP 协议。"""
|
||||
}
|
||||
label: {
|
||||
en: """UDP Protocol"""
|
||||
|
@ -63,7 +63,7 @@ emqx_ee_connector_influxdb {
|
|||
influxdb_api_v1 {
|
||||
desc {
|
||||
en: """InfluxDB's protocol. Support InfluxDB v1.8 and before."""
|
||||
zh: """InfluxDB HTTP API 协议。支持 Influxdb v1.8 以及之前的版本"""
|
||||
zh: """InfluxDB HTTP API 协议。支持 Influxdb v1.8 以及之前的版本。"""
|
||||
}
|
||||
label: {
|
||||
en: """HTTP API Protocol"""
|
||||
|
@ -73,7 +73,7 @@ emqx_ee_connector_influxdb {
|
|||
influxdb_api_v2 {
|
||||
desc {
|
||||
en: """InfluxDB's protocol. Support InfluxDB v2.0 and after."""
|
||||
zh: """InfluxDB HTTP API V2 协议。支持 Influxdb v2.0 以及之后的版本"""
|
||||
zh: """InfluxDB HTTP API V2 协议。支持 Influxdb v2.0 以及之后的版本。"""
|
||||
}
|
||||
label: {
|
||||
en: """HTTP API V2 Protocol"""
|
||||
|
@ -113,7 +113,7 @@ emqx_ee_connector_influxdb {
|
|||
bucket {
|
||||
desc {
|
||||
en: "InfluxDB bucket name."
|
||||
zh: "InfluxDB bucket 名称"
|
||||
zh: "InfluxDB bucket 名称。"
|
||||
}
|
||||
label: {
|
||||
en: "Bucket"
|
||||
|
@ -152,8 +152,8 @@ emqx_ee_connector_influxdb {
|
|||
}
|
||||
pool_size {
|
||||
desc {
|
||||
en: """InfluxDB Pool Size"""
|
||||
zh: """InfluxDB 连接池大小"""
|
||||
en: """InfluxDB Pool Size. Default value is CPU threads."""
|
||||
zh: """InfluxDB 连接池大小,默认为 CPU 线程数。"""
|
||||
}
|
||||
label {
|
||||
en: """InfluxDB Pool Size"""
|
||||
|
|
Loading…
Reference in New Issue