소스 검색

fix: improve documentation description

EMQ-YangM 3 년 전
부모
커밋
255e7dd210
2개의 변경된 파일7개의 추가작업 그리고 6개의 파일을 삭제
  1. 3 3
      apps/emqx_connector/i18n/emqx_connector_mongo.conf
  2. 4 3
      apps/emqx_connector/i18n/emqx_connector_redis.conf

+ 3 - 3
apps/emqx_connector/i18n/emqx_connector_mongo.conf

@@ -72,9 +72,9 @@ A host entry has the following form: `Host[:Port]`.<br/>
 The MongoDB default port 27017 is used if `[:Port]` is not specified.
 The MongoDB default port 27017 is used if `[:Port]` is not specified.
 """
 """
           zh: """
           zh: """
-集群要连接的节点列表。 节点之间用逗号分隔,如:`Node[,Node].<br/>`
-对于每个节点,应为:将要连接的 IPv4 或 IPv6 地址或主机名。<br/>
-主机条目具有以下形式:`Host[:Port]`。<br/>
+集群要连接的节点列表。 节点之间用逗号分隔,如:`Node[,Node].<br/>`
+每个节点的配置为:将要连接的 IPv4 或 IPv6 地址或主机名。<br/>
+主机具有以下形式:`Host[:Port]`。<br/>
 如果未指定 `[:Port]`,则使用 MongoDB 默认端口 27017。
 如果未指定 `[:Port]`,则使用 MongoDB 默认端口 27017。
 """
 """
         }
         }

+ 4 - 3
apps/emqx_connector/i18n/emqx_connector_redis.conf

@@ -72,9 +72,10 @@ A host entry has the following form: `Host[:Port]`.<br/>
 The MongoDB default port 27017 is used if `[:Port]` is not specified.
 The MongoDB default port 27017 is used if `[:Port]` is not specified.
 """
 """
           zh: """
           zh: """
-集群要连接的节点列表。 节点之间用逗号分隔,如:`Node[,Node].<br/>`
-对于每个节点,应为:将要连接的 IPv4 或 IPv6 地址或主机名。<br/>
-主机条目具有以下形式:`Host[:Port]`。<br/>
+
+集群将要连接的节点列表。 节点之间用逗号分隔,如:`Node[,Node].<br/>`
+每个节点的配置为:将要连接的 IPv4 或 IPv6 地址或主机名。<br/>
+主机名具有以下形式:`Host[:Port]`。<br/>
 如果未指定 `[:Port]`,则使用 Redis 默认端口 6379。
 如果未指定 `[:Port]`,则使用 Redis 默认端口 6379。
 """
 """
         }
         }