Skip to content

Commit

Permalink
refactor(i18n): add label for HStream
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon authored and ysfscream committed Feb 21, 2024
1 parent b88f627 commit 018eaf9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
7 changes: 7 additions & 0 deletions packages/i18n/lib/enActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,13 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
payload_template: 'Payload Template',
},
hstreamdb: {
stream: 'HStreamDB Stream Name',
partition_key: 'HStreamDB 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',
},
kafka_consumer: {
Expand Down
2 changes: 0 additions & 2 deletions packages/i18n/lib/enConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
},
hstreamdb: {
url: 'HStreamDB Server URL',
stream: 'HStreamDB Stream Name',
partition_key: 'HStreamDB Partition Key',
grpc_timeout: 'HStreamDB gRPC Timeout',
},
kafka_consumer: {
Expand Down
7 changes: 7 additions & 0 deletions packages/i18n/lib/zhActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,13 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
payload_template: 'HTTP 请求消息体模板',
},
hstreamdb: {
stream: 'HStreamDB 流名称',
partition_key: 'HStreamDB 分区键',
grpc_flush_timeout: 'gRPC 刷新间隔',
aggregation_pool_size: '聚合池大小',
max_batches: '最大批次',
writer_pool_size: '写入池大小',
batch_interval: '最大批处理间隔',
record_template: 'HStream Record 模板',
},
kafka_consumer: {
Expand Down
2 changes: 0 additions & 2 deletions packages/i18n/lib/zhConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
},
hstreamdb: {
url: 'HStreamDB 服务器 URL',
stream: 'HStreamDB 流名称',
partition_key: 'HStreamDB 分区键',
grpc_timeout: 'HStreamDB gRPC 超时',
},
kafka_consumer: {
Expand Down

0 comments on commit 018eaf9

Please sign in to comment.