Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] updated UI copy (#105184) #105418

Merged
merged 1 commit into from
Jul 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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