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): move some label from connector to action #26

Merged
merged 1 commit into from
Feb 27, 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
7 changes: 7 additions & 0 deletions packages/i18n/lib/enActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
payload_template: 'Payload Template',
},
pulsar: {
pulsar_topic: 'Pulsar Topic Name',
strategy: 'Partition Strategy',
retention_period: 'Retention Period',
compression: 'Compression',
sync_timeout: 'Sync Publish Timeout',
send_buffer: 'Socket Send Buffer Size',
per_partition_limit: 'Per-partition Buffer Limit',
message_key: 'Message Key',
message_value: 'Message Value',
},
Expand Down
11 changes: 0 additions & 11 deletions packages/i18n/lib/enConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,6 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
timeout: 'Connection Timeout',
},
pulsar: {
pulsar_topic: 'Pulsar Topic Name',
strategy: 'Partition Strategy',
compression: 'Compression',
sync_timeout: 'Sync Publish Timeout',
retention_period: 'Retention Period',
send_buffer: 'Socket Send Buffer Size',
max_batch_bytes: 'Max Batch Bytes',
mode: 'Buffer Mode',
per_partition_limit: 'Per-partition Buffer Limit',
segment_bytes: 'Segment File Bytes',
memory_overload_protection: 'Memory Overload Protection',
jwt: 'JWT',
authentication: 'Authentication',
},
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 @@ -142,6 +142,13 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
payload_template: '有效载荷模板',
},
pulsar: {
pulsar_topic: 'Pulsar 主题名称',
strategy: '分区选择策略',
retention_period: '消息保留时间',
compression: '压缩',
sync_timeout: '同步发布超时',
send_buffer: 'Socket 发送缓存大小',
per_partition_limit: '分区缓存上限',
message_key: '消息的 Key',
message_value: '消息的 Value',
},
Expand Down
11 changes: 0 additions & 11 deletions packages/i18n/lib/zhConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,6 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
timeout: '连接超时时间',
},
pulsar: {
pulsar_topic: 'Pulsar 主题名称',
strategy: '分区选择策略',
compression: '压缩',
sync_timeout: '同步发布超时',
retention_period: '消息保留时间',
send_buffer: 'Socket 发送缓存大小',
max_batch_bytes: '最大批量字节数',
mode: '缓存模式',
per_partition_limit: '分区缓存上限',
segment_bytes: '缓存文件大小',
memory_overload_protection: '内存过载保护',
jwt: 'JWT',
authentication: '认证',
},
Expand Down
Loading