Skip to content

Commit

Permalink
refactor(i18n): add some label for TDengine
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon authored and ysfscream committed Feb 5, 2024
1 parent d25ed01 commit 256f534
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/i18n/lib/enActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,7 @@ export const enActionsLabel: Record<string, Record<string, string>> = {
write_syntax: 'Write Syntax',
precision: 'Time Precision',
},
tdengine: {
database: 'Database Name',
}
}
5 changes: 4 additions & 1 deletion packages/i18n/lib/zhActionsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
kafka_consumer: {
payload_template: 'MQTT Payload Template',
},
rabbitmq_: {
rabbitmq: {
exchange: '交换机',
routing_key: '路由键',
delivery_mode: '消息传递模式',
Expand All @@ -147,4 +147,7 @@ export const zhActionsLabel: Record<string, Record<string, string>> = {
write_syntax: '写语法',
precision: '时间精度',
},
tdengine: {
database: '数据库名字',
}
}
2 changes: 1 addition & 1 deletion packages/i18n/lib/zhConnectorsLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
sid: 'Oracle Database SID',
service_name: 'Oracle 数据库服务名称',
},
rabbitmq_: {
rabbitmq: {
port: '端口',
virtual_host: '虚拟主机',
heartbeat: '心跳',
Expand Down

0 comments on commit 256f534

Please sign in to comment.