From 697b3ecf2da84089637e4bb27d41f5dffa98b6f6 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Tue, 6 Dec 2022 09:25:49 -0300 Subject: [PATCH] docs: improve descriptions Co-authored-by: Zaiming (Stone) Shi --- apps/emqx/test/emqx_common_test_helpers.erl | 2 +- .../i18n/emqx_ee_bridge_gcp_pubsub.conf | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/emqx/test/emqx_common_test_helpers.erl b/apps/emqx/test/emqx_common_test_helpers.erl index 56b7c836a..de6abe7c7 100644 --- a/apps/emqx/test/emqx_common_test_helpers.erl +++ b/apps/emqx/test/emqx_common_test_helpers.erl @@ -165,7 +165,7 @@ boot_modules(Mods) -> -spec start_apps(Apps :: apps()) -> ok. start_apps(Apps) -> - %% to avoid keeping the `db_hostname' that is set then loading + %% to avoid keeping the `db_hostname' that is set when loading %% `system_monitor' application in `emqx_machine', and then it %% crashing when trying to connect. %% FIXME: add an `enable' option to sysmon_top and use that to diff --git a/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_gcp_pubsub.conf b/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_gcp_pubsub.conf index f82581680..3b3fccaf2 100644 --- a/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_gcp_pubsub.conf +++ b/lib-ee/emqx_ee_bridge/i18n/emqx_ee_bridge_gcp_pubsub.conf @@ -34,7 +34,7 @@ emqx_ee_bridge_gcp_pubsub { connect_timeout { desc { en: "The timeout when connecting to the HTTP server." - zh: "连接HTTP服务器的超时时间。" + zh: "连接 HTTP 服务器的超时时间。" } label: { en: "Connect Timeout" @@ -71,7 +71,7 @@ emqx_ee_bridge_gcp_pubsub { } label: { en: "HTTP Pipelineing" - zh: "HTTP 管道" + zh: "HTTP 流水线" } } @@ -93,7 +93,7 @@ emqx_ee_bridge_gcp_pubsub { } label: { en: "Payload template" - zh: "有效载荷模板" + zh: "HTTP 请求消息体模板" } } @@ -104,18 +104,18 @@ emqx_ee_bridge_gcp_pubsub { } label: { en: "GCP PubSub Topic" - zh: "GCP公共子课题" + zh: "GCP PubSub 主题" } } service_account_json { desc { en: "JSON containing the GCP Service Account credentials to be used with PubSub." - zh: "包含将与PubSub一起使用的GCP服务账户凭证的JSON。" + zh: "包含将与 PubSub 一起使用的 GCP 服务账户凭证的 JSON。" } label: { en: "GCP Service Account JSON" - zh: "GCP服务账户JSON" + zh: "GCP 服务账户 JSON" } }