From a18a3d167683e1a8bf0f6ae19fa736e89bb2d25f Mon Sep 17 00:00:00 2001 From: Kinplemelon Date: Tue, 27 Feb 2024 14:29:18 +0800 Subject: [PATCH] refactor(i18n): move some label from connector to action --- packages/i18n/lib/enActionsLabel.ts | 7 +++++++ packages/i18n/lib/enConnectorsLabel.ts | 11 ----------- packages/i18n/lib/zhActionsLabel.ts | 7 +++++++ packages/i18n/lib/zhConnectorsLabel.ts | 11 ----------- 4 files changed, 14 insertions(+), 22 deletions(-) diff --git a/packages/i18n/lib/enActionsLabel.ts b/packages/i18n/lib/enActionsLabel.ts index 01706f3..77c3c9a 100644 --- a/packages/i18n/lib/enActionsLabel.ts +++ b/packages/i18n/lib/enActionsLabel.ts @@ -142,6 +142,13 @@ export const enActionsLabel: Record> = { 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', }, diff --git a/packages/i18n/lib/enConnectorsLabel.ts b/packages/i18n/lib/enConnectorsLabel.ts index c7a810e..abc79a6 100644 --- a/packages/i18n/lib/enConnectorsLabel.ts +++ b/packages/i18n/lib/enConnectorsLabel.ts @@ -152,17 +152,6 @@ export const enConnectorsLabel: Record> = { 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', }, diff --git a/packages/i18n/lib/zhActionsLabel.ts b/packages/i18n/lib/zhActionsLabel.ts index b57eccf..d27d60b 100644 --- a/packages/i18n/lib/zhActionsLabel.ts +++ b/packages/i18n/lib/zhActionsLabel.ts @@ -142,6 +142,13 @@ export const zhActionsLabel: Record> = { payload_template: '有效载荷模板', }, pulsar: { + pulsar_topic: 'Pulsar 主题名称', + strategy: '分区选择策略', + retention_period: '消息保留时间', + compression: '压缩', + sync_timeout: '同步发布超时', + send_buffer: 'Socket 发送缓存大小', + per_partition_limit: '分区缓存上限', message_key: '消息的 Key', message_value: '消息的 Value', }, diff --git a/packages/i18n/lib/zhConnectorsLabel.ts b/packages/i18n/lib/zhConnectorsLabel.ts index 72f11df..a0238f9 100644 --- a/packages/i18n/lib/zhConnectorsLabel.ts +++ b/packages/i18n/lib/zhConnectorsLabel.ts @@ -152,17 +152,6 @@ export const zhConnectorsLabel: Record> = { 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: '认证', },