Change copy references of 'deprecation issues' to 'deprecation warnings'. (#109963)

This commit is contained in:
CJ Cenizal 2021-08-24 17:03:01 -07:00 committed by GitHub
parent 276824ae5d
commit 7c79a81b25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View file

@ -148,7 +148,7 @@ describe('Deprecations table', () => {
expect(exists('noDeprecationsRow')).toBe(true);
expect(find('noDeprecationsRow').text()).toContain(
'No Elasticsearch deprecation issues found'
'No Elasticsearch deprecation warnings found'
);
});
});

View file

@ -45,7 +45,7 @@ const i18nTexts = {
noDeprecationsMessage: i18n.translate(
'xpack.upgradeAssistant.esDeprecations.table.noDeprecationsMessage',
{
defaultMessage: 'No Elasticsearch deprecation issues found',
defaultMessage: 'No Elasticsearch deprecation warnings found',
}
),
typeFilterLabel: i18n.translate('xpack.upgradeAssistant.esDeprecations.table.typeFilterLabel', {

View file

@ -18,7 +18,7 @@ const i18nTexts = {
}),
backupStepDescription: i18n.translate('xpack.upgradeAssistant.overview.backupStepDescription', {
defaultMessage: 'Back up your data before addressing any deprecation issues.',
defaultMessage: 'Back up your data before addressing any deprecation warnings.',
}),
};

View file

@ -74,7 +74,7 @@ describe('Status API', () => {
expect(resp.payload).toEqual({
readyForUpgrade: false,
details:
'You have 1 Elasticsearch deprecation issues and 1 Kibana deprecation issues that must be resolved before upgrading.',
'You have 1 Elasticsearch deprecation warnings and 1 Kibana deprecation warnings that must be resolved before upgrading.',
});
});
@ -97,7 +97,7 @@ describe('Status API', () => {
expect(resp.status).toEqual(200);
expect(resp.payload).toEqual({
readyForUpgrade: true,
details: 'All deprecation issues have been resolved.',
details: 'All deprecation warnings have been resolved.',
});
});

View file

@ -46,14 +46,14 @@ export function registerUpgradeStatusRoute({ router }: RouteDependencies) {
return i18n.translate(
'xpack.upgradeAssistant.status.allDeprecationsResolvedMessage',
{
defaultMessage: 'All deprecation issues have been resolved.',
defaultMessage: 'All deprecation warnings have been resolved.',
}
);
}
return i18n.translate('xpack.upgradeAssistant.status.deprecationsUnresolvedMessage', {
defaultMessage:
'You have {esTotalCriticalDeps} Elasticsearch deprecation issues and {kibanaTotalCriticalDeps} Kibana deprecation issues that must be resolved before upgrading.',
'You have {esTotalCriticalDeps} Elasticsearch deprecation warnings and {kibanaTotalCriticalDeps} Kibana deprecation warnings that must be resolved before upgrading.',
values: { esTotalCriticalDeps, kibanaTotalCriticalDeps },
});
};