Skip to content

Commit 99b9ad6

Browse files
Kinplemelonysfscream
authored andcommitted
refactor(i18n): move some label to common and add new label for confluent
1 parent 0b80ee3 commit 99b9ad6

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

packages/i18n/lib/en/connectorsLabel.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
4646
allow_auto_topic_creation: 'Allow Auto Topic Creation',
4747
bucket: 'Bucket',
4848
org: 'Organization',
49-
},
50-
kafka_producer: {
51-
kerberos_principal: 'Kerberos Principal',
52-
kerberos_keytab_file: 'Kerberos Keytab File',
5349
mechanism: 'Mechanism',
5450
grant_type: 'OAuth Grant Type',
5551
endpoint_uri: 'OAuth Token Endpoint URI',
@@ -58,6 +54,10 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
5854
scope: 'OAuth Request Scope',
5955
extensions: 'SASL Extensions',
6056
},
57+
kafka_producer: {
58+
kerberos_principal: 'Kerberos Principal',
59+
kerberos_keytab_file: 'Kerberos Keytab File',
60+
},
6161
http: {
6262
url: 'URL',
6363
headers: 'Headers',
@@ -221,4 +221,8 @@ export const enConnectorsLabel: Record<string, Record<string, string>> = {
221221
s3tables_arn: 'S3Tables ARN',
222222
s_3_client_transport_options_request_timeout: 'Single Request Timeout',
223223
},
224+
confluent_producer: {
225+
logical_cluster: 'Logical Cluster ID',
226+
identity_pool_id: 'Identity Pool ID',
227+
},
224228
}

packages/i18n/lib/zh/connectorsLabel.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
4646
allow_auto_topic_creation: '允许自动创建主题',
4747
bucket: 'Bucket',
4848
org: '组织',
49-
},
50-
kafka_producer: {
51-
kerberos_principal: 'Kerberos Principal',
52-
kerberos_keytab_file: 'Kerberos Keytab 文件',
5349
mechanism: '认证方法',
5450
grant_type: 'OAuth 授权类型',
5551
endpoint_uri: 'OAuth Token 端点 URI',
@@ -58,6 +54,10 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
5854
scope: 'OAuth 请求范围',
5955
extensions: 'SASL 扩展',
6056
},
57+
kafka_producer: {
58+
kerberos_principal: 'Kerberos Principal',
59+
kerberos_keytab_file: 'Kerberos Keytab 文件',
60+
},
6161
http: {
6262
url: 'URL',
6363
headers: '请求头',
@@ -221,4 +221,8 @@ export const zhConnectorsLabel: Record<string, Record<string, string>> = {
221221
s3tables_arn: 'S3Tables 资源名称(ARN)',
222222
s_3_client_transport_options_request_timeout: '单次请求超时时间',
223223
},
224+
confluent_producer: {
225+
logical_cluster: '逻辑集群 ID',
226+
identity_pool_id: '身份池 ID',
227+
},
224228
}

0 commit comments

Comments
 (0)