Skip to content

Commit

Permalink
updated UI copy
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Jul 12, 2021
1 parent b2b57a2 commit b0f4db2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface Props {

const i18nTexts = {
buttonLabel: i18n.translate('xpack.reporting.listing.reports.ilmPolicyLinkText', {
defaultMessage: 'Edit ILM policy',
defaultMessage: 'Edit reporting ILM policy',
}),
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ import { useInternalApiClient } from '../../lib/reporting_api_client';

const i18nTexts = {
title: i18n.translate('xpack.reporting.listing.ilmPolicyCallout.migrationNeededTitle', {
defaultMessage: 'Migrate reporting indices',
defaultMessage: 'Apply new lifecycle policy for reports',
}),
description: (
<FormattedMessage
id="xpack.reporting.listing.ilmPolicyCallout.migrationNeededDescription"
defaultMessage="Reporting indices are not managed by the same ILM policy. This can lead to unexpected results for the lifecycle of reports stored in Elasticsearch indices. Reporting indices should all be managed by the {ilmPolicyName} policy."
defaultMessage="To ensure your reports are managed consistently, all reporting indices should use the {ilmPolicyName} policy."
values={{
ilmPolicyName: <EuiCode>{ILM_POLICY_NAME}</EuiCode>,
}}
Expand All @@ -33,7 +33,10 @@ const i18nTexts = {
buttonLabel: i18n.translate(
'xpack.reporting.listing.ilmPolicyCallout.migrateIndicesButtonLabel',
{
defaultMessage: 'Migrate indices',
defaultMessage: 'Apply {ilmPolicyName} policy',
values: {
ilmPolicyName: ILM_POLICY_NAME,
},
}
),
migrateErrorTitle: i18n.translate(
Expand All @@ -45,7 +48,7 @@ const i18nTexts = {
migrateSuccessTitle: i18n.translate(
'xpack.reporting.listing.ilmPolicyCallout.migrateIndicesSuccessTitle',
{
defaultMessage: 'Successfully migrated reporting indices',
defaultMessage: 'Reporting policy active for all reporting indices',
}
),
};
Expand Down

0 comments on commit b0f4db2

Please sign in to comment.