Skip to content

refactor(i18n): update some label for HStream #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/i18n/lib/enActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,14 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
payload_template: 'Payload Template',
},
hstreamdb: {
stream: 'HStreamDB Stream Name',
partition_key: 'HStreamDB Partition Key',
stream: 'Stream',
partition_key: 'Partition Key',
grpc_flush_timeout: 'gRPC Flush Interval',
aggregation_pool_size: 'Aggregation Pool Size',
max_batches: 'Max Batches',
writer_pool_size: 'Writer Pool Size',
batch_interval: 'Max Batch Interval',
record_template: 'HStream Record Template',
record_template: 'Record Template',
},
kafka_consumer: {
payload_template: 'MQTT Payload Template',
Expand Down
4 changes: 2 additions & 2 deletions packages/i18n/lib/enConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
inflight_window: 'Inflight Window',
servers: 'Servers',
enable_pipelining: 'HTTP Pipelining',
url: 'Server URL',
},
kafka_producer: {
kerberos_principal: 'Kerberos Principal',
Expand Down Expand Up @@ -120,8 +121,7 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
pull_max_messages: 'Maximum Messages to Pull',
},
hstreamdb: {
url: 'HStreamDB Server URL',
grpc_timeout: 'HStreamDB gRPC Timeout',
grpc_timeout: 'gRPC Timeout',
},
kafka_consumer: {
bootstrap_hosts: 'Bootstrap Hosts',
Expand Down
8 changes: 4 additions & 4 deletions packages/i18n/lib/zhActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,14 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
payload_template: 'HTTP 请求消息体模板',
},
hstreamdb: {
stream: 'HStreamDB 流名称',
partition_key: 'HStreamDB 分区键',
stream: 'Stream',
partition_key: '分区键',
grpc_flush_timeout: 'gRPC 刷新间隔',
aggregation_pool_size: '聚合池大小',
aggregation_pool_size: 'Record 聚合池大小',
max_batches: '最大批次',
writer_pool_size: '写入池大小',
batch_interval: '最大批处理间隔',
record_template: 'HStream Record 模板',
record_template: 'Record 模板',
},
kafka_consumer: {
payload_template: 'MQTT Payload Template',
Expand Down
4 changes: 2 additions & 2 deletions packages/i18n/lib/zhConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
inflight_window: '请求飞行队列窗口',
servers: '服务器列表',
enable_pipelining: 'HTTP 流水线',
url: '服务器地址',
},
kafka_producer: {
kerberos_principal: 'Kerberos Principal',
Expand Down Expand Up @@ -120,8 +121,7 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
pull_max_messages: '拉取的最大消息数',
},
hstreamdb: {
url: 'HStreamDB 服务器 URL',
grpc_timeout: 'HStreamDB gRPC 超时',
grpc_timeout: 'gRPC 超时',
},
kafka_consumer: {
bootstrap_hosts: '主机列表',
Expand Down