Add missing whitespace to modelPlotCardinality + cardinalityNotValid messages (#33599) (#33612)

This commit is contained in:
Melissa Alvarez 2019-03-20 17:05:41 -04:00 committed by GitHub
parent 25f4a3d88d
commit 45dc104d3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -814,10 +814,10 @@ module.controller('MlNewJob',
$scope.ui.cardinalityValidator.message = i18n(
'xpack.ml.newJob.advanced.recommendationForUsingModelPlotWithCardinalityDescription',
{
defaultMessage: 'Creating model plots is resource intensive and not recommended' +
'where the cardinality of the selected fields is greater than 100. Estimated cardinality' +
'for this job is {highCardinality}.' +
'If you enable model plot with this configuration' +
defaultMessage: 'Creating model plots is resource intensive and not recommended ' +
'where the cardinality of the selected fields is greater than 100. Estimated cardinality ' +
'for this job is {highCardinality}. ' +
'If you enable model plot with this configuration ' +
'we recommend you select a dedicated results index on the Job Details tab.',
values: { highCardinality: validationResult.highCardinality }
}
@ -831,9 +831,10 @@ module.controller('MlNewJob',
$scope.ui.cardinalityValidator.message = i18n(
'xpack.ml.newJob.advanced.cardinalityNotValidErrorMessage',
{
defaultMessage: 'An error occurred validating the configuration' +
'for running the job with model plot enabled.' +
'Creating model plots can be resource intensive and not recommended where the cardinality of the selected fields is high.' +
defaultMessage: 'An error occurred validating the configuration ' +
'for running the job with model plot enabled. ' +
'Creating model plots can be resource intensive and not recommended ' +
'where the cardinality of the selected fields is high. ' +
'You may want to select a dedicated results index on the Job Details tab.'
}
);