Skip to content

Commit

Permalink
make some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bluewang committed Nov 17, 2023
1 parent d538ac9 commit 91540d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions inlong-dashboard/src/plugins/sinks/defaults/Elasticsearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand All @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions inlong-dashboard/src/ui/locales/cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "服务器地址",
Expand Down
4 changes: 2 additions & 2 deletions inlong-dashboard/src/ui/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 91540d6

Please sign in to comment.