[Search] Add used index pattern name to the search agg error field (#82604)

This commit is contained in:
Matthias Wilhelm 2020-11-05 08:22:08 +01:00 committed by GitHub
parent ed47da8e87
commit abc6abc95f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View file

@ -90,10 +90,11 @@ export class FieldParamType extends BaseParamType {
'data.search.aggs.paramTypes.field.invalidSavedFieldParameterErrorMessage',
{
defaultMessage:
'Saved field "{fieldParameter}" is invalid for use with the "{aggType}" aggregation. Please select a new field.',
'Saved field "{fieldParameter}" of index pattern "{indexPatternTitle}" is invalid for use with the "{aggType}" aggregation. Please select a new field.',
values: {
fieldParameter: fieldName,
aggType: aggConfig?.type?.title,
indexPatternTitle: aggConfig.getIndexPattern().title,
},
}
)

View file

@ -1279,7 +1279,6 @@
"data.search.aggs.metrics.uniqueCountTitle": "ユニークカウント",
"data.search.aggs.otherBucket.labelForMissingValuesLabel": "欠測値のラベル",
"data.search.aggs.otherBucket.labelForOtherBucketLabel": "他のバケットのラベル",
"data.search.aggs.paramTypes.field.invalidSavedFieldParameterErrorMessage": "「{aggType}」アグリゲーションで使用するには、保存されたフィールド「{fieldParameter}」が無効です。新しいフィールドを選択してください。",
"data.search.aggs.paramTypes.field.requiredFieldParameterErrorMessage": "{fieldParameter} は必須パラメーターです",
"data.search.aggs.percentageOfLabel": "{label} の割合",
"data.search.aggs.string.customLabel": "カスタムラベル",

View file

@ -1280,7 +1280,6 @@
"data.search.aggs.metrics.uniqueCountTitle": "唯一计数",
"data.search.aggs.otherBucket.labelForMissingValuesLabel": "缺失值的标签",
"data.search.aggs.otherBucket.labelForOtherBucketLabel": "其他存储桶的标签",
"data.search.aggs.paramTypes.field.invalidSavedFieldParameterErrorMessage": "已保存的字段“{fieldParameter}”无效,无法用于“{aggType}”聚合。请选择新字段。",
"data.search.aggs.paramTypes.field.requiredFieldParameterErrorMessage": "{fieldParameter} 是必需字段",
"data.search.aggs.percentageOfLabel": "{label} 的百分比",
"data.search.aggs.string.customLabel": "定制标签",