Skip to content

Commit

Permalink
fix(i18n): desc of connect_timeout under each type connector
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon authored and 0721Betty committed Oct 10, 2024
1 parent 01e0a6f commit c6a3b5c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions packages/i18n/lib/enIntegrationDesc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
gcp_pubsub_producer: {
pipelining:
'A positive integer. Whether to send HTTP requests continuously, when set to 1, it means that after each HTTP request is sent, you need to wait for the server to return and then continue to send the next request.',
connect_timeout: 'The timeout when connecting to the HTTP server.',
connect_timeout: 'The timeout when connecting to the GCP server.',
service_account_json:
"JSON containing the GCP Service Account credentials to be used with PubSub.<br/>When a GCP Service Account is created (as described in https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount), you have the option of downloading the credentials in JSON form. That's the file needed.",
pubsub_topic: 'The GCP PubSub topic to publish messages to.',
Expand All @@ -110,7 +110,7 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
"JSON containing the GCP Service Account credentials to be used with PubSub.<br/>When a GCP Service Account is created (as described in https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount), you have the option of downloading the credentials in JSON form. That's the file needed.",
pull_max_messages:
'The maximum number of messages to retrieve from GCP PubSub in a single pull request.\n The actual number may be less than the specified value.',
connect_timeout: 'The timeout when connecting to the HTTP server.',
connect_timeout: 'The timeout when connecting to the GCP server.',
},
hstreamdb: {
url: 'HStreamDB Server URL. Using gRPC http server address.',
Expand Down Expand Up @@ -344,7 +344,7 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
iotdb_version: 'The version of the IoTDB system to connect to.',
enable_pipelining:
'A positive integer. Whether to send HTTP requests continuously, when set to 1, it means that after each HTTP request is sent, you need to wait for the server to return and then continue to send the next request.',
connect_timeout: 'The timeout when connecting to the HTTP server.',
connect_timeout: 'The timeout when connecting to the IoTDB server.',
timestamp:
"Supports the use of ${'{'}var{'}'} format as a placeholder, which should be in timestamp format. You can also use the following special characters to insert system time:<br/>- `now`: Current millisecond-level timestamp<br/>- `now_ms`: Current millisecond-level timestamp<br/>- `now_us`: Current microsecond-level timestamp<br/>- `now_ns`: Current nanosecond-level timestamp",
measurement: "Supports the use of ${'{'}var{'}'} format as a placeholder.",
Expand Down Expand Up @@ -508,7 +508,7 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
overwrite: 'Overwrites the document if it already exists, otherwise the write will fail.',
enable_pipelining:
'A positive integer. Whether to send HTTP requests continuously, when set to 1, it means that after each HTTP request is sent, you need to wait for the server to return and then continue to send the next request.',
connect_timeout: 'The timeout when connecting to the HTTP server.',
connect_timeout: 'The timeout when connecting to the ElasticSearch server.',
doc_as_upsert:
'Treat the update operation as an insert operation when the document to be updated does not exist, and insert the provided document as a new document.',
},
Expand Down
10 changes: 5 additions & 5 deletions packages/i18n/lib/zhIntegrationDesc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const zhIntegrationDesc: Record<string, Record<string, string>> = {
clickhouse: {
batch_value_separator:
"默认为逗号 ',',适用于 VALUES 格式。您也可以使用其他分隔符, 请参考 [INSERT INTO 语句](https://clickhouse.com/docs/zh/sql-reference/statements/insert-into)。",
connect_timeout: '连接 HTTP 服务器的超时时间。',
connect_timeout: '连接 Clickhouse 服务器的超时时间。',
url: '你想连接到的 Clickhouse 服务器的 HTTP URL(例如 http://myhostname:8123)。',
sql: "可以使用 ${'{'}field{'}'} 占位符来引用消息与客户端上下文中的变量,请确保对应字段存在且数据格式符合预期。此处不支持 [SQL 预处理](https://docs.emqx.com/zh/enterprise/v5.0/data-integration/data-bridges.html#sql-预处理)。",
},
Expand All @@ -83,7 +83,7 @@ export const zhIntegrationDesc: Record<string, Record<string, string>> = {
gcp_pubsub_producer: {
pipelining:
'正整数,设置最大可发送的异步 HTTP 请求数量。当设置为 1 时,表示每次发送完成 HTTP 请求后都需要等待服务器返回,再继续发送下一个请求。',
connect_timeout: '连接 HTTP 服务器的超时时间。',
connect_timeout: '连接 GCP 服务器的超时时间。',
service_account_json:
'包含将与 PubSub 一起使用的 GCP 服务账户凭证的 JSON。<br/>当创建 GCP 服务账户时(如 https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount ),可以选择下载 JSON 形式的凭证,然后在该配置项中使用。',
pubsub_topic: '要发布消息的 GCP PubSub 主题。',
Expand All @@ -101,7 +101,7 @@ export const zhIntegrationDesc: Record<string, Record<string, string>> = {
'包含将与 PubSub 一起使用的 GCP 服务账户凭证的 JSON。<br/>当创建 GCP 服务账户时(如 https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount ),可以选择下载 JSON 形式的凭证,然后在该配置项中使用。',
pull_max_messages:
'从 GCP PubSub 中在一个拉取请求里检索的最大消息数。\n实际数量可能小于指定的值。',
connect_timeout: '连接 HTTP 服务器的超时时间。',
connect_timeout: '连接 GCP 服务器的超时时间。',
},
hstreamdb: {
url: 'HStreamDB 服务器的 URL。使用 gRPC HTTP 服务器地址。',
Expand Down Expand Up @@ -312,7 +312,7 @@ export const zhIntegrationDesc: Record<string, Record<string, string>> = {
iotdb_version: '要连接的 IoTDB 系统的版本。',
enable_pipelining:
'一个正整数。是否连续发送 HTTP 请求,当设置为 1 时,这意味着每次发送 HTTP 请求后,您需要等待服务器返回,然后继续发送下一个请求。',
connect_timeout: '连接到 HTTP 服务器时的超时时间。',
connect_timeout: '连接到 IoTDB 服务器时的超时时间。',
timestamp:
"支持使用 ${'{'}var{'}'} 格式的占位符,要求是时间戳格式。也可以使用以下特殊字符插入系统时间:<br/>- `now`: 当前毫秒级时间戳<br/>- `now_ms`: 当前毫秒级时间戳<br/>- `now_us`: 当前微秒级时间戳<br/>- `now_ns`: 当前纳秒级时间戳",
measurement: "也称 Measurement,支持使用 ${'{'}var{'}'} 格式的占位符。",
Expand Down Expand Up @@ -457,7 +457,7 @@ export const zhIntegrationDesc: Record<string, Record<string, string>> = {
overwrite: '当文档已经存在时覆盖文档,否则文档将写入失败。',
enable_pipelining:
'一个正整数。是否连续发送 HTTP 请求,当设置为 1 时,这意味着每次发送 HTTP 请求后,您需要等待服务器返回,然后继续发送下一个请求。',
connect_timeout: '连接到 HTTP 服务器时的超时时间。',
connect_timeout: '连接到 ElasticSearch 服务器时的超时时间。',
doc_as_upsert:
'尝试更新的文档不存在时,将更新操作当作一个插入操作,并将提供的文档当作新文档插入。',
},
Expand Down

0 comments on commit c6a3b5c

Please sign in to comment.