Change copy references of 'deprecation issues' to 'deprecation warnings'. (#109963)
This commit is contained in:
parent
276824ae5d
commit
7c79a81b25
|
@ -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'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', {
|
||||
|
|
|
@ -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.',
|
||||
}),
|
||||
};
|
||||
|
||||
|
|
|
@ -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.',
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -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 },
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue