From 91540d65039d890c1f0d72646eb2df79d914fab3 Mon Sep 17 00:00:00 2001 From: wanglz Date: Fri, 17 Nov 2023 14:42:29 +0800 Subject: [PATCH] make some changes --- inlong-dashboard/src/plugins/sinks/defaults/Elasticsearch.ts | 4 ++-- inlong-dashboard/src/ui/locales/cn.json | 4 ++-- inlong-dashboard/src/ui/locales/en.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/inlong-dashboard/src/plugins/sinks/defaults/Elasticsearch.ts b/inlong-dashboard/src/plugins/sinks/defaults/Elasticsearch.ts index bf9bff4f62b..876d6f08d82 100644 --- a/inlong-dashboard/src/plugins/sinks/defaults/Elasticsearch.ts +++ b/inlong-dashboard/src/plugins/sinks/defaults/Elasticsearch.ts @@ -127,7 +127,7 @@ const getFieldListColumns = sinkValues => { return [ ...sourceFields, { - title: `Elasticsearch ${i18n.t('meta.Sinks.ES.FieldName')}`, + title: i18n.t('meta.Sinks.ES.FieldName'), dataIndex: 'fieldName', rules: [ { required: true }, @@ -141,7 +141,7 @@ const getFieldListColumns = sinkValues => { }), }, { - title: `Elasticsearch ${i18n.t('meta.Sinks.ES.FieldType')}`, + title: i18n.t('meta.Sinks.ES.FieldType'), dataIndex: 'fieldType', initialValue: esTypes[0].value, type: 'select', diff --git a/inlong-dashboard/src/ui/locales/cn.json b/inlong-dashboard/src/ui/locales/cn.json index 9be8751daa1..c48d511e896 100644 --- a/inlong-dashboard/src/ui/locales/cn.json +++ b/inlong-dashboard/src/ui/locales/cn.json @@ -184,9 +184,9 @@ "meta.Sinks.ES.Cycle.Hour": "时", "meta.Sinks.ES.Cycle.Minute": "分", "meta.Sinks.ES.Index": "索引", - "meta.Sinks.ES.FieldName": "字段名", + "meta.Sinks.ES.FieldName": "Sink 字段名", "meta.Sinks.ES.FieldNameRule": "以英文字母开头,只能包含英文字母、数字、下划线", - "meta.Sinks.ES.FieldType": "字段类型", + "meta.Sinks.ES.FieldType": "Sink 字段类型", "meta.Sinks.ES.FieldDescription": "字段描述", "meta.Sinks.ES.DateFormat": "日期格式", "meta.Sinks.Kafka.Server": "服务器地址", diff --git a/inlong-dashboard/src/ui/locales/en.json b/inlong-dashboard/src/ui/locales/en.json index 6055081ba49..456fb4f61a5 100644 --- a/inlong-dashboard/src/ui/locales/en.json +++ b/inlong-dashboard/src/ui/locales/en.json @@ -184,9 +184,9 @@ "meta.Sinks.ES.Cycle.Hour": "Hour", "meta.Sinks.ES.Cycle.Minute": "Minute", "meta.Sinks.ES.Index": "Index", - "meta.Sinks.ES.FieldName": "field name", + "meta.Sinks.ES.FieldName": "Sink fields name", "meta.Sinks.ES.FieldNameRule": "At the beginning of English letters, only English letters, numbers, and underscores", - "meta.Sinks.ES.FieldType": "field type", + "meta.Sinks.ES.FieldType": "Sink fields type", "meta.Sinks.ES.FieldDescription": "Field description", "meta.Sinks.ES.DateFormat": "Date format", "meta.Sinks.Kafka.Server": "Server",