diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index af6cdd1d672a1..b7c486f8f85c5 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -23917,7 +23917,6 @@ "xpack.upgradeAssistant.checkupTab.changeFiltersShowMoreLabel": "より多く表示させるにはフィルターを変更します。", "xpack.upgradeAssistant.checkupTab.confirmationModal.removeButtonLabel": "削除", "xpack.upgradeAssistant.checkupTab.controls.filterBar.criticalButtonLabel": "致命的", - "xpack.upgradeAssistant.checkupTab.controls.filterBar.warningButtonLabel": "警告", "xpack.upgradeAssistant.checkupTab.controls.groupByBar.byIndexLabel": "インデックス別", "xpack.upgradeAssistant.checkupTab.controls.groupByBar.byIssueLabel": "問題別", "xpack.upgradeAssistant.checkupTab.deprecations.criticalActionTooltip": "アップグレード前にこの問題を解決してください。", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index c8376b72daef1..8827382a0ae84 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -24288,7 +24288,6 @@ "xpack.upgradeAssistant.checkupTab.changeFiltersShowMoreLabel": "更改筛选以显示更多内容。", "xpack.upgradeAssistant.checkupTab.confirmationModal.removeButtonLabel": "移除", "xpack.upgradeAssistant.checkupTab.controls.filterBar.criticalButtonLabel": "紧急", - "xpack.upgradeAssistant.checkupTab.controls.filterBar.warningButtonLabel": "警告", "xpack.upgradeAssistant.checkupTab.controls.groupByBar.byIndexLabel": "按索引", "xpack.upgradeAssistant.checkupTab.controls.groupByBar.byIssueLabel": "按问题", "xpack.upgradeAssistant.checkupTab.deprecations.criticalActionTooltip": "请解决此问题后再升级。", diff --git a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana.test.ts b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana.test.ts index fef0fedf4cce6..867440ae0d911 100644 --- a/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana.test.ts +++ b/x-pack/plugins/upgrade_assistant/__jest__/client_integration/kibana.test.ts @@ -79,7 +79,7 @@ describe('Kibana deprecations', () => { let modal = document.body.querySelector('[data-test-subj="stepsModal"]'); expect(modal).not.toBe(null); - expect(modal!.textContent).toContain(`Fix '${deprecation.domainId}'`); + expect(modal!.textContent).toContain(`Resolve deprecation in '${deprecation.domainId}'`); const steps: NodeListOf | null = modal!.querySelectorAll( '[data-test-subj="fixDeprecationSteps"] .euiStep' @@ -127,7 +127,7 @@ describe('Kibana deprecations', () => { let modal = document.body.querySelector('[data-test-subj="resolveModal"]'); expect(modal).not.toBe(null); - expect(modal!.textContent).toContain(`Resolve '${deprecation.domainId}'`); + expect(modal!.textContent).toContain(`Resolve deprecation in '${deprecation.domainId}'`); const confirmButton: HTMLButtonElement | null = modal!.querySelector( '[data-test-subj="confirmModalConfirmButton"]' diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx index bb8a7366beb4e..a9608109728ba 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx @@ -33,7 +33,8 @@ const i18nTexts = { defaultMessage: 'Kibana', }), pageDescription: i18n.translate('xpack.upgradeAssistant.kibanaDeprecations.pageDescription', { - defaultMessage: 'Some Kibana issues may require your attention. Resolve them before upgrading.', + defaultMessage: + 'Review the issues listed here and make the necessary changes before upgrading. Critical issues must be resolved before you upgrade.', }), docLinkText: i18n.translate('xpack.upgradeAssistant.kibanaDeprecations.docLinkText', { defaultMessage: 'Documentation', diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/resolve_deprecation_modal.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/resolve_deprecation_modal.tsx index dd78c3513f973..f94512fac5630 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/resolve_deprecation_modal.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/resolve_deprecation_modal.tsx @@ -23,7 +23,7 @@ const i18nTexts = { i18n.translate( 'xpack.upgradeAssistant.kibanaDeprecations.resolveConfirmationModal.modalTitle', { - defaultMessage: "Resolve '{domainId}'?", + defaultMessage: "Resolve deprecation in '{domainId}'?", values: { domainId, }, diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/steps_modal.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/steps_modal.tsx index 7646fcba6ad3c..98027d4f46aac 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/steps_modal.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/steps_modal.tsx @@ -11,7 +11,6 @@ import { i18n } from '@kbn/i18n'; import { EuiText, EuiSteps, - EuiSpacer, EuiButton, EuiModal, EuiModalBody, @@ -38,7 +37,7 @@ interface Props { const i18nTexts = { getModalTitle: (domainId: string) => i18n.translate('xpack.upgradeAssistant.kibanaDeprecations.stepsModal.modalTitle', { - defaultMessage: "Fix '{domainId}'", + defaultMessage: "Resolve deprecation in '{domainId}'", values: { domainId, }, @@ -50,12 +49,6 @@ const i18nTexts = { step, }, }), - modalDescription: i18n.translate( - 'xpack.upgradeAssistant.kibanaDeprecations.stepsModal.modalDescription', - { - defaultMessage: 'Follow the steps below to address this deprecation.', - } - ), docLinkLabel: i18n.translate( 'xpack.upgradeAssistant.kibanaDeprecations.stepsModal.docLinkLabel', { @@ -84,28 +77,20 @@ export const StepsModal: FunctionComponent = ({ closeModal, modalContent - <> - -

{i18nTexts.modalDescription}

-
- - - - { - return { - title: i18nTexts.getStepTitle(index + 1), - children: ( - -

{step}

-
- ), - }; - })} - /> - + { + return { + title: i18nTexts.getStepTitle(index + 1), + children: ( + +

{step}

+
+ ), + }; + })} + />
diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/health.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/shared/health.tsx index 362b2af684e27..9bf35668ac88a 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/shared/health.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/shared/health.tsx @@ -16,10 +16,10 @@ import { COLOR_MAP, REVERSE_LEVEL_MAP } from '../constants'; const LocalizedLevels: { [level: string]: string } = { warning: i18n.translate('xpack.upgradeAssistant.checkupTab.deprecations.warningLabel', { - defaultMessage: 'warning', + defaultMessage: 'Warning', }), critical: i18n.translate('xpack.upgradeAssistant.checkupTab.deprecations.criticalLabel', { - defaultMessage: 'critical', + defaultMessage: 'Critical', }), }; diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/__snapshots__/group_by_filter.test.tsx.snap b/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/__snapshots__/group_by_filter.test.tsx.snap index 64def47db1350..5a8619e1e687b 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/__snapshots__/group_by_filter.test.tsx.snap +++ b/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/__snapshots__/group_by_filter.test.tsx.snap @@ -10,14 +10,14 @@ exports[`GroupByFilter renders 1`] = ` key="message" onClick={[Function]} > - by issue + By issue - by index + By index diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/__snapshots__/level_filter.test.tsx.snap b/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/__snapshots__/level_filter.test.tsx.snap index 4865c5fa8eb55..551e212f23dd7 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/__snapshots__/level_filter.test.tsx.snap +++ b/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/__snapshots__/level_filter.test.tsx.snap @@ -12,7 +12,7 @@ exports[`DeprecationLevelFilter renders 1`] = ` numFilters={1} onClick={[Function]} > - critical + Critical diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/group_by_filter.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/group_by_filter.tsx index d6a3cab9ba160..c37ae47793b95 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/group_by_filter.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/group_by_filter.tsx @@ -14,10 +14,10 @@ import { GroupByOption } from '../../types'; const LocalizedOptions: { [option: string]: string } = { message: i18n.translate('xpack.upgradeAssistant.checkupTab.controls.groupByBar.byIssueLabel', { - defaultMessage: 'by issue', + defaultMessage: 'By issue', }), index: i18n.translate('xpack.upgradeAssistant.checkupTab.controls.groupByBar.byIndexLabel', { - defaultMessage: 'by index', + defaultMessage: 'By index', }), }; diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/level_filter.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/level_filter.tsx index 108087e2ae992..59bfaa595b0a6 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/level_filter.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/shared/search_bar/level_filter.tsx @@ -13,15 +13,9 @@ import { i18n } from '@kbn/i18n'; import { LevelFilterOption } from '../../types'; const LocalizedOptions: { [option: string]: string } = { - warning: i18n.translate( - 'xpack.upgradeAssistant.checkupTab.controls.filterBar.warningButtonLabel', - { - defaultMessage: 'warning', - } - ), critical: i18n.translate( 'xpack.upgradeAssistant.checkupTab.controls.filterBar.criticalButtonLabel', - { defaultMessage: 'critical' } + { defaultMessage: 'Critical' } ), }; interface DeprecationLevelProps {