Skip to content

Commit

Permalink
refactor(i18n): move some text from connector to action
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon committed Feb 2, 2024
1 parent 2e6a824 commit 396eecc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
5 changes: 5 additions & 0 deletions packages/i18n/lib/enActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
payload_template: 'MQTT Payload Template',
},
rabbitmq: {
exchange: 'Exchange',
routing_key: 'Routing Key',
delivery_mode: 'Message Delivery Mode',
wait_for_publish_confirmations: 'Wait for Publish Confirmations',
publish_confirmation_timeout: 'Publish Confirmation Timeout',
payload_template: 'Payload Template',
},
pulsar: {
Expand Down
5 changes: 0 additions & 5 deletions packages/i18n/lib/enConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,8 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
},
rabbitmq: {
port: 'Port',
exchange: 'Exchange',
routing_key: 'Routing Key',
virtual_host: 'Virtual Host',
heartbeat: 'Heartbeat',
delivery_mode: 'Message Delivery Mode',
wait_for_publish_confirmations: 'Wait for Publish Confirmations',
publish_confirmation_timeout: 'Publish Confirmation Timeout',
timeout: 'Connection Timeout',
},
pulsar: {
Expand Down
7 changes: 6 additions & 1 deletion packages/i18n/lib/zhActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,12 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
kafka_consumer: {
payload_template: 'MQTT Payload Template',
},
rabbitmq: {
rabbitmq_: {
exchange: '交换机',
routing_key: '路由键',
delivery_mode: '消息传递模式',
wait_for_publish_confirmations: '等待发布确认',
publish_confirmation_timeout: '发布确认超时时间',
payload_template: '有效载荷模板',
},
pulsar: {
Expand Down
7 changes: 1 addition & 6 deletions packages/i18n/lib/zhConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,10 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
sid: 'Oracle Database SID',
service_name: 'Oracle 数据库服务名称',
},
rabbitmq: {
rabbitmq_: {
port: '端口',
exchange: '交换机',
routing_key: '路由键',
virtual_host: '虚拟主机',
heartbeat: '心跳',
delivery_mode: '消息传递模式',
wait_for_publish_confirmations: '等待发布确认',
publish_confirmation_timeout: '发布确认超时时间',
timeout: '连接超时时间',
},
pulsar: {
Expand Down

0 comments on commit 396eecc

Please sign in to comment.