Skip to content

Commit ae76a14

Browse files
0721BettyKinplemelon
authored andcommitted
refactor(i18n): format i18n
1 parent ef66a69 commit ae76a14

File tree

2 files changed

+41
-41
lines changed

2 files changed

+41
-41
lines changed

packages/i18n/lib/enIntegrationDesc.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
6969
},
7070
dynamo: {
7171
template:
72-
"Template, the default value is empty. When this value is empty the whole message will be stored in the database.<br>The template can be any valid json with placeholders and make sure all keys for table are here, example:<br> `{'{'}\"id\" : \"${'{'}id{'}'}\", \"clientid\" : \"${'{'}clientid{'}'}\", \"data\" : \"${'{'}payload.data{'}'}\"{'}'}`",
72+
"Template, the default value is empty. When this value is empty the whole message will be stored in the database.<br/>The template can be any valid JSON with placeholders and make sure all keys for table are here, example:<br/> `{'{'}\"id\" : \"${'{'}id{'}'}\", \"clientid\" : \"${'{'}clientid{'}'}\", \"data\" : \"${'{'}payload.data{'}'}\"{'}'}`",
7373
url: 'The url of DynamoDB endpoint.',
7474
table: 'DynamoDB Table.',
7575
aws_access_key_id: 'Access Key ID for connecting to DynamoDB.',
@@ -110,13 +110,13 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
110110
'The size of the writer pool. A larger pool may increase parallelization and concurrent write operations, potentially boosting throughput. Trade-offs include greater memory consumption and possible resource contention.',
111111
batch_interval: 'Maximum interval that is allowed between two successive (batch) request.',
112112
record_template:
113-
'The HStream record template to be forwarded to the HStreamDB. Placeholders supported.<br />NOTE: When you use `raw record` template (which means the data is not a valid JSON), you should use `read` or `subscription` in HStream to get the data.',
113+
'The HStream record template to be forwarded to the HStreamDB. Placeholders supported.<br/>NOTE: When you use `raw record` template (which means the data is not a valid JSON), you should use `read` or `subscription` in HStream to get the data.',
114114
parameters_batch_size:
115115
'Maximum number of insert data clauses that can be sent in a single request.',
116116
},
117117
influxdb: {
118118
server:
119-
'The IPv4 or IPv6 address or the hostname to connect to.</br><br/>A host entry has the following form: `Host[:Port]`.</br><br/>The InfluxDB default port 8086 is used if `[:Port]` is not specified.',
119+
'The IPv4 or IPv6 address or the hostname to connect to.<br/><br/>A host entry has the following form: `Host[:Port]`.<br/><br/>The InfluxDB default port 8086 is used if `[:Port]` is not specified.',
120120
token: 'InfluxDB token.',
121121
org: 'Organization name of InfluxDB.',
122122
bucket: 'InfluxDB bucket name.',
@@ -304,7 +304,7 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
304304
refresh_interval: 'RocketMQ Topic Route Refresh Interval.',
305305
send_buffer: 'The socket send buffer size of the RocketMQ driver client.',
306306
template:
307-
"Template, the default value is empty. When this value is empty the whole message will be stored in the RocketMQ.<br>The template can be any valid string with placeholders, example:<br>- ${'{'}id{'}'}, ${'{'}username{'}'}, ${'{'}clientid{'}'}, ${'{'}timestamp{'}'}<br>- {'{'}\"id\" : ${'{'}id{'}'}, \"username\" : ${'{'}username{'}'}{'}'}",
307+
"Template, the default value is empty. When this value is empty the whole message will be stored in the RocketMQ.<br/>The template can be any valid string with placeholders, example:<br/>- ${'{'}id{'}'}, ${'{'}username{'}'}, ${'{'}clientid{'}'}, ${'{'}timestamp{'}'}<br/>- {'{'}\"id\" : ${'{'}id{'}'}, \"username\" : ${'{'}username{'}'}{'}'}",
308308
sync_timeout: 'Timeout of RocketMQ driver synchronous call.',
309309
},
310310
tdengine: {
@@ -326,7 +326,7 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
326326
'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.',
327327
connect_timeout: 'The timeout when connecting to the HTTP server.',
328328
timestamp:
329-
"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",
329+
"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",
330330
measurement: "Supports the use of ${'{'}var{'}'} format as a placeholder.",
331331
data_type: "Data Type, supports the use of ${'{'}var{'}'} format as a placeholder.",
332332
value: "The value to be inserted, supports the use of ${'{'}var{'}'} format as a placeholder.",
@@ -462,7 +462,7 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
462462
dbname: 'GreptimeDB database.',
463463
precision: 'GreptimeDB time precision.',
464464
write_syntax:
465-
"Conf of GreptimeDB gRPC protocol to write data points. Write syntax is a text-based format that provides the measurement, tag set, field set, and timestamp of a data point, and placeholder supported, which is the same as InfluxDB line protocol.\nSee also [InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) and\n[InfluxDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) </br>\nTLDR:</br>\n```\n<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]\n```\nPlease note that a placeholder for an integer value must be annotated with a suffix `i`. For example `${'{'}payload.int_value{'}'}i`.",
465+
"Conf of GreptimeDB gRPC protocol to write data points. Write syntax is a text-based format that provides the measurement, tag set, field set, and timestamp of a data point, and placeholder supported, which is the same as InfluxDB line protocol.\nSee also [InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) and\n[InfluxDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/) <br/>\nTLDR:<br/>\n```\n<measurement>[,<tag_key>=<tag_value>[,<tag_key>=<tag_value>]] <field_key>=<field_value>[,<field_key>=<field_value>] [<timestamp>]\n```\nPlease note that a placeholder for an integer value must be annotated with a suffix `i`. For example `${'{'}payload.int_value{'}'}i`.",
466466
},
467467
syskeeper_proxy: {
468468
listen: 'The listening address for this Syskeeper proxy server',
@@ -472,7 +472,7 @@ export const enIntegrationDesc: Record<string, Record<string, string>> = {
472472
syskeeper_forwarder: {
473473
server: 'The address of the Syskeeper proxy server',
474474
ack_mode:
475-
'Specify whether the proxy server should reply with an acknowledgement for the message forwarding, can be:<br>- need_ack <br>- no_ack <br>',
475+
'Specify whether the proxy server should reply with an acknowledgement for the message forwarding, can be:<br/>- need_ack <br/>- no_ack <br/>',
476476
ack_timeout: 'The maximum time to wait for an acknowledgement from the proxy server',
477477
target_topic: 'The topic for the forwarded message',
478478
target_qos: 'The QoS for the forwarded message, left blank for the original topic',

0 commit comments

Comments
 (0)