Skip to content
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

refactor(i18n): add label for HStream #21

Merged
merged 2 commits 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
10 changes: 9 additions & 1 deletion 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 Expand Up @@ -162,6 +169,7 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
s3: {
bucket: 'Bucket',
acl: 'ACL',
content: 'Content',
content: 'Object Content',
key: 'Object Key',
},
}
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
10 changes: 9 additions & 1 deletion 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 Expand Up @@ -162,6 +169,7 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
s3: {
bucket: '存储桶',
acl: 'ACL',
content: '内容',
content: '对象内容',
key: '对象键',
},
}
4 changes: 1 addition & 3 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 Expand Up @@ -187,6 +185,6 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
port: '端口',
ipv6_probe: 'IPv6 探针',
headers: '请求头',
request_timeout: 'HTTP 请求超时',
request_timeout: '请求超时',
},
}
Loading