Skip to content

Commit 4597063

Browse files
Kinplemelonysfscream
authored andcommitted
feat(i18n): add labels for clickhouse etc.
1 parent 1aff01a commit 4597063

File tree

4 files changed

+275
-5
lines changed

4 files changed

+275
-5
lines changed

packages/i18n/lib/enActionsLabel.ts

+34-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
99
request_ttl: 'Request TTL',
1010
inflight_window: 'Inflight Window',
1111
max_buffer_bytes: 'Max Buffer Queue Size',
12-
sql: 'SQL',
12+
sql: 'SQL Template',
1313
batch_size: 'Batch Size',
1414
topic: 'Kafka Topic',
1515
key: 'Message Key',
@@ -30,6 +30,7 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
3030
segment_bytes: 'Segment File Bytes',
3131
memory_overload_protection: 'Memory Overload Protection',
3232
sync_query_timeout: 'Synchronous Query Timeout',
33+
template: 'Message Template',
3334
},
3435
kafka_producer: {
3536
timestamp: 'Message Timestamp',
@@ -69,7 +70,6 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
6970
syskeeper_forwarder: {
7071
target_topic: 'Topic',
7172
target_qos: 'QoS',
72-
template: '"Message Template',
7373
},
7474
redis: {
7575
command_template: 'Redis Command Template',
@@ -106,4 +106,36 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
106106
overwrite: 'Overwrite Document',
107107
doc_as_upsert: 'Enable Upsert',
108108
},
109+
cassandra: {
110+
cql: 'CQL Template',
111+
},
112+
opents: {
113+
timestamp: 'Timestamp',
114+
metric: 'Metric',
115+
tags: 'Tags',
116+
value: 'Value',
117+
data: 'Write Data',
118+
},
119+
gcp_pubsub_consumer: {
120+
payload_template: 'Payload Template',
121+
},
122+
hstreamdb: {
123+
record_template: 'HStream Record Template',
124+
},
125+
kafka_consumer: {
126+
payload_template: 'MQTT Payload Template',
127+
},
128+
rabbitmq: {
129+
payload_template: 'Payload Template',
130+
},
131+
pulsar: {
132+
message_key: 'Message Key',
133+
message_value: 'Message Value',
134+
},
135+
kinesis: {
136+
payload_template: 'Payload template',
137+
},
138+
greptimedb: {
139+
write_syntax: 'Write Syntax',
140+
},
109141
}

packages/i18n/lib/enConnectorsLabel.ts

+103
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,107 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
9494
retry_interval: 'Message Retry Interval',
9595
max_inflight: 'Max Inflight',
9696
},
97+
cassandra: {
98+
keyspace: 'Keyspace',
99+
},
100+
opents: {
101+
summary: 'Summary',
102+
details: 'Details',
103+
},
104+
clickhouse: {
105+
batch_value_separator: 'Batch Value Separator',
106+
connect_timeout: 'Clickhouse Timeout',
107+
url: 'Server URL',
108+
},
109+
dynamo: {
110+
url: 'DynamoDB Endpoint',
111+
table: 'Table ',
112+
aws_access_key_id: 'AWS Access Key ID',
113+
aws_secret_access_key: 'AWS Secret Access Key',
114+
},
115+
gcp_pubsub_consumer: {
116+
consumer_pubsub_topic: 'GCP PubSub Topic',
117+
consumer_mqtt_topic: 'MQTT Topic',
118+
consumer_qos: 'QoS',
119+
pipelining: 'HTTP Pipelining',
120+
service_account_json: 'GCP Service Account Credentials',
121+
topic_mapping: 'Topic Mapping',
122+
pull_max_messages: 'Maximum Messages to Pull',
123+
connect_timeout: 'Connect Timeout',
124+
},
125+
hstreamdb: {
126+
url: 'HStreamDB Server URL',
127+
stream: 'HStreamDB Stream Name',
128+
partition_key: 'HStreamDB Partition Key',
129+
grpc_timeout: 'HStreamDB gRPC Timeout',
130+
},
131+
kafka_consumer: {
132+
bootstrap_hosts: 'Bootstrap Hosts',
133+
consumer_key_encoding_mode: 'Key Encoding Mode',
134+
consumer_value_encoding_mode: 'Value Encoding Mode',
135+
consumer_topic_mapping: 'Topic Mapping',
136+
consumer_offset_reset_policy: 'Offset Reset Policy',
137+
consumer_mqtt_topic: 'MQTT Topic',
138+
min_metadata_refresh_interval: 'Min Metadata Refresh Interval',
139+
metadata_request_timeout: 'Metadata Request Timeout',
140+
connect_timeout: 'Connect Timeout',
141+
consumer_max_batch_bytes: 'Fetch Bytes',
142+
consumer_offset_commit_interval_seconds: 'Offset Commit Interval',
143+
topic: 'Kafka Topic',
144+
mqtt_topic: 'MQTT Topic',
145+
qos: 'QoS',
146+
},
147+
rocketmq: {
148+
access_key: 'AccessKey',
149+
secret_key: 'SecretKey',
150+
security_token: 'Security Token',
151+
topic: 'RocketMQ Topic',
152+
refresh_interval: 'Topic Route Refresh Interval',
153+
send_buffer: 'Send Buffer Size',
154+
sync_timeout: 'Sync Timeout',
155+
},
156+
sqlserver: {
157+
driver: 'SQL Server Driver Name',
158+
},
159+
oracle: {
160+
sid: 'Oracle Database SID',
161+
service_name: 'Oracle Database Service Name',
162+
},
163+
rabbitmq: {
164+
port: 'Port',
165+
exchange: 'Exchange',
166+
routing_key: 'Routing Key',
167+
virtual_host: 'Virtual Host',
168+
heartbeat: 'Heartbeat',
169+
delivery_mode: 'Message Delivery Mode',
170+
wait_for_publish_confirmations: 'Wait for Publish Confirmations',
171+
publish_confirmation_timeout: 'Publish Confirmation Timeout',
172+
timeout: 'Connection Timeout',
173+
},
174+
pulsar: {
175+
pulsar_topic: 'Pulsar Topic Name',
176+
strategy: 'Partition Strategy',
177+
compression: 'Compression',
178+
sync_timeout: 'Sync Publish Timeout',
179+
retention_period: 'Retention Period',
180+
send_buffer: 'Socket Send Buffer Size',
181+
max_batch_bytes: 'Max Batch Bytes',
182+
connect_timeout: 'Connect Timeout',
183+
buffer_mode: 'Buffer Mode',
184+
buffer_per_partition_limit: 'Per-partition Buffer Limit',
185+
buffer_segment_bytes: 'Segment File Bytes',
186+
buffer_memory_overload_protection: 'Memory Overload Protection',
187+
authentication_jwt: 'JWT',
188+
},
189+
kinesis: {
190+
aws_access_key_id: 'AWS Access Key ID',
191+
aws_secret_access_key: 'AWS Secret Access Key',
192+
endpoint: 'Amazon Kinesis Endpoint',
193+
stream_name: 'Amazon Kinesis Stream',
194+
partition_key: 'Partition key',
195+
},
196+
greptimedb: {
197+
dbname: 'Database',
198+
precision: 'Time Precision',
199+
},
97200
}

packages/i18n/lib/zhActionsLabel.ts

+34-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
99
request_ttl: '请求超期',
1010
inflight_window: '请求飞行队列窗口',
1111
max_buffer_bytes: '缓存队列最大长度',
12-
sql: 'SQL',
12+
sql: 'SQL 模板',
1313
batch_size: '最大批量请求大小',
1414
topic: 'Kafka 主题名称',
1515
key: '消息的键',
@@ -30,6 +30,7 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
3030
segment_bytes: '缓存文件大小',
3131
memory_overload_protection: '内存过载保护',
3232
sync_query_timeout: '同步查询超时时间',
33+
template: '消息模板',
3334
},
3435
kafka_producer: {
3536
timestamp: '消息的时间戳',
@@ -69,7 +70,6 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
6970
syskeeper_forwarder: {
7071
target_topic: '主题',
7172
target_qos: 'QoS',
72-
template: '消息模板',
7373
},
7474
redis: {
7575
command_template: 'Redis 命令模板',
@@ -106,4 +106,36 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
106106
overwrite: '是否覆盖文档',
107107
doc_as_upsert: '启用更新插入',
108108
},
109+
cassandra: {
110+
cql: 'CQL 模板',
111+
},
112+
opents: {
113+
timestamp: '时间戳',
114+
metric: '度量',
115+
tags: '标签',
116+
value: '值',
117+
data: '写入数据',
118+
},
119+
gcp_pubsub_consumer: {
120+
payload_template: 'HTTP 请求消息体模板',
121+
},
122+
hstreamdb: {
123+
record_template: 'HStream Record 模板',
124+
},
125+
kafka_consumer: {
126+
payload_template: 'MQTT Payload Template',
127+
},
128+
rabbitmq: {
129+
payload_template: '有效载荷模板',
130+
},
131+
pulsar: {
132+
message_key: '消息的 Key',
133+
message_value: '消息的 Value',
134+
},
135+
kinesis: {
136+
payload_template: '载荷模板',
137+
},
138+
greptimedb: {
139+
write_syntax: '写语法',
140+
},
109141
}

packages/i18n/lib/zhConnectorsLabel.ts

+104-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
2626
},
2727
kafka_producer: {
2828
kerberos_principal: 'Kerberos Principal',
29-
kerberos_keytab_file: 'Kerberos keytab 文件',
29+
kerberos_keytab_file: 'Kerberos Keytab 文件',
3030
mechanism: '认证方法',
3131
authentication: '认证',
3232
},
@@ -94,4 +94,107 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
9494
retry_interval: '消息重发间隔',
9595
max_inflight: '飞行窗口',
9696
},
97+
cassandra: {
98+
keyspace: 'Keyspace',
99+
},
100+
opents: {
101+
summary: '摘要信息',
102+
details: '详细信息',
103+
},
104+
clickhouse: {
105+
batch_value_separator: '分隔符',
106+
connect_timeout: '连接超时',
107+
url: '服务器 URL',
108+
},
109+
dynamo: {
110+
url: 'DynamoDB 地址',
111+
table: '表',
112+
aws_access_key_id: '连接访问 ID',
113+
aws_secret_access_key: '连接访问密钥',
114+
},
115+
gcp_pubsub_consumer: {
116+
consumer_pubsub_topic: 'GCP PubSub 主题',
117+
consumer_mqtt_topic: 'MQTT 主题',
118+
consumer_qos: 'QoS',
119+
pipelining: 'HTTP 流水线',
120+
service_account_json: 'GCP 服务账户凭证',
121+
topic_mapping: '主题映射',
122+
pull_max_messages: '拉取的最大消息数',
123+
connect_timeout: '连接超时',
124+
},
125+
hstreamdb: {
126+
url: 'HStreamDB 服务器 URL',
127+
stream: 'HStreamDB 流名称',
128+
partition_key: 'HStreamDB 分区键',
129+
grpc_timeout: 'HStreamDB gRPC 超时',
130+
},
131+
kafka_consumer: {
132+
bootstrap_hosts: '主机列表',
133+
consumer_key_encoding_mode: 'Key 编码模式',
134+
consumer_value_encoding_mode: 'Value 编码模式',
135+
consumer_topic_mapping: '主题映射关系',
136+
consumer_offset_reset_policy: '偏移重置策略',
137+
consumer_mqtt_topic: 'MQTT 主题',
138+
min_metadata_refresh_interval: '元数据刷新最小间隔',
139+
metadata_request_timeout: '元数据请求超时',
140+
connect_timeout: '连接超时',
141+
consumer_max_batch_bytes: '拉取字节数',
142+
consumer_offset_commit_interval_seconds: '偏移提交间隔',
143+
topic: 'Kafka 主题名称',
144+
mqtt_topic: 'MQTT 主题',
145+
qos: 'QoS',
146+
},
147+
rocketmq: {
148+
access_key: 'AccessKey',
149+
secret_key: 'SecretKey',
150+
security_token: '安全令牌',
151+
topic: 'RocketMQ 主题',
152+
refresh_interval: '主题路由更新间隔',
153+
send_buffer: '发送消息的缓冲区大小',
154+
sync_timeout: '同步调用超时时间',
155+
},
156+
sqlserver: {
157+
driver: 'SQL Server Driver 名称',
158+
},
159+
oracle: {
160+
sid: 'Oracle Database SID',
161+
service_name: 'Oracle 数据库服务名称',
162+
},
163+
rabbitmq: {
164+
port: '端口',
165+
exchange: '交换机',
166+
routing_key: '路由键',
167+
virtual_host: '虚拟主机',
168+
heartbeat: '心跳',
169+
delivery_mode: '消息传递模式',
170+
wait_for_publish_confirmations: '等待发布确认',
171+
publish_confirmation_timeout: '发布确认超时时间',
172+
timeout: '连接超时时间',
173+
},
174+
pulsar: {
175+
pulsar_topic: 'Pulsar 主题名称',
176+
strategy: '分区选择策略',
177+
compression: '压缩',
178+
sync_timeout: '同步发布超时',
179+
retention_period: '保留期',
180+
send_buffer: 'Socket 发送缓存大小',
181+
max_batch_bytes: '最大批量字节数',
182+
connect_timeout: '连接超时',
183+
buffer_mode: '缓存模式',
184+
buffer_per_partition_limit: 'Pulsar 分区缓存上限',
185+
buffer_segment_bytes: '缓存文件大小',
186+
buffer_memory_overload_protection: '内存过载保护',
187+
authentication_jwt: 'JWT',
188+
},
189+
kinesis: {
190+
aws_access_key_id: 'AWS 访问密钥 ID',
191+
aws_secret_access_key: 'AWS 秘密访问密钥',
192+
endpoint: 'Amazon Kinesis 端点',
193+
stream_name: 'Amazon Kinesis 流',
194+
partition_key: '分区键',
195+
},
196+
greptimedb: {
197+
dbname: '数据库',
198+
precision: '时间精度',
199+
},
97200
}

0 commit comments

Comments
 (0)