mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
SavedObjects management: change index patterns labels to data views (#125356)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
48e8a84c8c
commit
ff5a4dce9d
7 changed files with 19 additions and 29 deletions
|
@ -62,11 +62,11 @@ exports[`NotFoundErrors component renders correctly for index-pattern type 1`] =
|
|||
>
|
||||
<div>
|
||||
<FormattedMessage
|
||||
defaultMessage="The index pattern associated with this object no longer exists."
|
||||
defaultMessage="The data view associated with this object no longer exists."
|
||||
id="savedObjectsManagement.view.indexPatternDoesNotExistErrorMessage"
|
||||
values={Object {}}
|
||||
>
|
||||
The index pattern associated with this object no longer exists.
|
||||
The data view associated with this object no longer exists.
|
||||
</FormattedMessage>
|
||||
</div>
|
||||
<div>
|
||||
|
@ -199,11 +199,11 @@ exports[`NotFoundErrors component renders correctly for index-pattern-field type
|
|||
>
|
||||
<div>
|
||||
<FormattedMessage
|
||||
defaultMessage="A field associated with this object no longer exists in the index pattern."
|
||||
defaultMessage="A field associated with this object no longer exists in the data view."
|
||||
id="savedObjectsManagement.view.fieldDoesNotExistErrorMessage"
|
||||
values={Object {}}
|
||||
>
|
||||
A field associated with this object no longer exists in the index pattern.
|
||||
A field associated with this object no longer exists in the data view.
|
||||
</FormattedMessage>
|
||||
</div>
|
||||
<div>
|
||||
|
|
|
@ -34,7 +34,7 @@ describe('NotFoundErrors component', () => {
|
|||
const callOut = mounted.find('EuiCallOut');
|
||||
expect(callOut).toMatchSnapshot();
|
||||
expect(mounted.text()).toMatchInlineSnapshot(
|
||||
`"There is a problem with this saved objectThe index pattern associated with this object no longer exists.If you know what this error means, you can use the Saved objects APIs(opens in a new tab or window) to fix it — otherwise click the delete button above."`
|
||||
`"There is a problem with this saved objectThe data view associated with this object no longer exists.If you know what this error means, you can use the Saved objects APIs(opens in a new tab or window) to fix it — otherwise click the delete button above."`
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -43,7 +43,7 @@ describe('NotFoundErrors component', () => {
|
|||
const callOut = mounted.find('EuiCallOut');
|
||||
expect(callOut).toMatchSnapshot();
|
||||
expect(mounted.text()).toMatchInlineSnapshot(
|
||||
`"There is a problem with this saved objectA field associated with this object no longer exists in the index pattern.If you know what this error means, you can use the Saved objects APIs(opens in a new tab or window) to fix it — otherwise click the delete button above."`
|
||||
`"There is a problem with this saved objectA field associated with this object no longer exists in the data view.If you know what this error means, you can use the Saved objects APIs(opens in a new tab or window) to fix it — otherwise click the delete button above."`
|
||||
);
|
||||
});
|
||||
|
||||
|
|
|
@ -38,14 +38,14 @@ export const NotFoundErrors = ({ type, docLinks }: NotFoundErrors) => {
|
|||
return (
|
||||
<FormattedMessage
|
||||
id="savedObjectsManagement.view.indexPatternDoesNotExistErrorMessage"
|
||||
defaultMessage="The index pattern associated with this object no longer exists."
|
||||
defaultMessage="The data view associated with this object no longer exists."
|
||||
/>
|
||||
);
|
||||
case 'index-pattern-field':
|
||||
return (
|
||||
<FormattedMessage
|
||||
id="savedObjectsManagement.view.fieldDoesNotExistErrorMessage"
|
||||
defaultMessage="A field associated with this object no longer exists in the index pattern."
|
||||
defaultMessage="A field associated with this object no longer exists in the data view."
|
||||
/>
|
||||
);
|
||||
default:
|
||||
|
|
|
@ -32,7 +32,7 @@ exports[`Flyout conflicts should allow conflict resolution 1`] = `
|
|||
iconType="help"
|
||||
title={
|
||||
<FormattedMessage
|
||||
defaultMessage="Index Pattern Conflicts"
|
||||
defaultMessage="Data Views Conflicts"
|
||||
id="savedObjectsManagement.objectsTable.flyout.indexPatternConflictsTitle"
|
||||
values={Object {}}
|
||||
/>
|
||||
|
@ -40,7 +40,7 @@ exports[`Flyout conflicts should allow conflict resolution 1`] = `
|
|||
>
|
||||
<p>
|
||||
<FormattedMessage
|
||||
defaultMessage="The following saved objects use index patterns that do not exist. Please select the index patterns you'd like re-associated with them. You can {indexPatternLink} if necessary."
|
||||
defaultMessage="The following saved objects use data views that do not exist. Please select the data views you'd like re-associated with them. You can {indexPatternLink} if necessary."
|
||||
id="savedObjectsManagement.objectsTable.flyout.indexPatternConflictsDescription"
|
||||
values={
|
||||
Object {
|
||||
|
@ -48,7 +48,7 @@ exports[`Flyout conflicts should allow conflict resolution 1`] = `
|
|||
href=""
|
||||
>
|
||||
<FormattedMessage
|
||||
defaultMessage="create a new index pattern"
|
||||
defaultMessage="create a new data view"
|
||||
id="savedObjectsManagement.objectsTable.flyout.indexPatternConflictsCalloutLinkText"
|
||||
values={Object {}}
|
||||
/>
|
||||
|
@ -63,7 +63,7 @@ exports[`Flyout conflicts should allow conflict resolution 1`] = `
|
|||
columns={
|
||||
Array [
|
||||
Object {
|
||||
"description": "ID of the index pattern",
|
||||
"description": "ID of the data view",
|
||||
"field": "existingIndexPatternId",
|
||||
"name": "ID",
|
||||
"sortable": true,
|
||||
|
@ -82,7 +82,7 @@ exports[`Flyout conflicts should allow conflict resolution 1`] = `
|
|||
},
|
||||
Object {
|
||||
"field": "existingIndexPatternId",
|
||||
"name": "New index pattern",
|
||||
"name": "New data view",
|
||||
"render": [Function],
|
||||
},
|
||||
]
|
||||
|
|
|
@ -287,7 +287,7 @@ export class Flyout extends Component<FlyoutProps, FlyoutState> {
|
|||
),
|
||||
description: i18n.translate(
|
||||
'savedObjectsManagement.objectsTable.flyout.renderConflicts.columnIdDescription',
|
||||
{ defaultMessage: 'ID of the index pattern' }
|
||||
{ defaultMessage: 'ID of the data view' }
|
||||
),
|
||||
sortable: true,
|
||||
},
|
||||
|
@ -329,7 +329,7 @@ export class Flyout extends Component<FlyoutProps, FlyoutState> {
|
|||
field: 'existingIndexPatternId',
|
||||
name: i18n.translate(
|
||||
'savedObjectsManagement.objectsTable.flyout.renderConflicts.columnNewIndexPatternName',
|
||||
{ defaultMessage: 'New index pattern' }
|
||||
{ defaultMessage: 'New data view' }
|
||||
),
|
||||
render: (id: string) => {
|
||||
const options = [
|
||||
|
@ -573,7 +573,7 @@ export class Flyout extends Component<FlyoutProps, FlyoutState> {
|
|||
title={
|
||||
<FormattedMessage
|
||||
id="savedObjectsManagement.objectsTable.flyout.indexPatternConflictsTitle"
|
||||
defaultMessage="Index Pattern Conflicts"
|
||||
defaultMessage="Data Views Conflicts"
|
||||
/>
|
||||
}
|
||||
color="warning"
|
||||
|
@ -582,15 +582,15 @@ export class Flyout extends Component<FlyoutProps, FlyoutState> {
|
|||
<p>
|
||||
<FormattedMessage
|
||||
id="savedObjectsManagement.objectsTable.flyout.indexPatternConflictsDescription"
|
||||
defaultMessage="The following saved objects use index patterns that do not exist.
|
||||
Please select the index patterns you'd like re-associated with
|
||||
defaultMessage="The following saved objects use data views that do not exist.
|
||||
Please select the data views you'd like re-associated with
|
||||
them. You can {indexPatternLink} if necessary."
|
||||
values={{
|
||||
indexPatternLink: (
|
||||
<EuiLink href={this.props.newIndexPatternUrl}>
|
||||
<FormattedMessage
|
||||
id="savedObjectsManagement.objectsTable.flyout.indexPatternConflictsCalloutLinkText"
|
||||
defaultMessage="create a new index pattern"
|
||||
defaultMessage="create a new data view"
|
||||
/>
|
||||
</EuiLink>
|
||||
),
|
||||
|
|
|
@ -4662,14 +4662,9 @@
|
|||
"savedObjectsManagement.objectsTable.flyout.importSavedObjectTitle": "保存されたオブジェクトのインポート",
|
||||
"savedObjectsManagement.objectsTable.flyout.importSuccessful.confirmAllChangesButtonLabel": "すべての変更を確定",
|
||||
"savedObjectsManagement.objectsTable.flyout.importSuccessful.confirmButtonLabel": "完了",
|
||||
"savedObjectsManagement.objectsTable.flyout.indexPatternConflictsCalloutLinkText": "新規インデックスパターンを作成",
|
||||
"savedObjectsManagement.objectsTable.flyout.indexPatternConflictsDescription": "次の保存されたオブジェクトは、存在しないインデックスパターンを使用しています。関連付け直す別のインデックスパターンを選択してください。必要に応じて、{indexPatternLink}できます。",
|
||||
"savedObjectsManagement.objectsTable.flyout.indexPatternConflictsTitle": "インデックスパターンの矛盾",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnCountDescription": "影響されるオブジェクトの数です",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnCountName": "カウント",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnIdDescription": "インデックスパターンのIDです",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnIdName": "ID",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnNewIndexPatternName": "新規インデックスパターン",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnSampleOfAffectedObjectsDescription": "影響されるオブジェクトのサンプル",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnSampleOfAffectedObjectsName": "影響されるオブジェクトのサンプル",
|
||||
"savedObjectsManagement.objectsTable.flyout.selectFileToImportFormRowLabel": "インポートするファイルを選択してください",
|
||||
|
|
|
@ -4459,14 +4459,9 @@
|
|||
"savedObjectsManagement.objectsTable.flyout.importSavedObjectTitle": "导入已保存对象",
|
||||
"savedObjectsManagement.objectsTable.flyout.importSuccessful.confirmAllChangesButtonLabel": "确认所有更改",
|
||||
"savedObjectsManagement.objectsTable.flyout.importSuccessful.confirmButtonLabel": "完成",
|
||||
"savedObjectsManagement.objectsTable.flyout.indexPatternConflictsCalloutLinkText": "创建新的索引模式",
|
||||
"savedObjectsManagement.objectsTable.flyout.indexPatternConflictsDescription": "以下已保存对象使用不存在的索引模式。请选择要重新关联的索引模式。必要时可以{indexPatternLink}。",
|
||||
"savedObjectsManagement.objectsTable.flyout.indexPatternConflictsTitle": "索引模式冲突",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnCountDescription": "受影响对象数目",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnCountName": "计数",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnIdDescription": "索引模式的 ID",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnIdName": "ID",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnNewIndexPatternName": "新建索引模式",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnSampleOfAffectedObjectsDescription": "受影响对象样例",
|
||||
"savedObjectsManagement.objectsTable.flyout.renderConflicts.columnSampleOfAffectedObjectsName": "受影响对象样例",
|
||||
"savedObjectsManagement.objectsTable.flyout.selectFileToImportFormRowLabel": "选择要导入的文件",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue