[ML] Fixes error in job select button text from localization changes (#28167)

This commit is contained in:
Pete Harverson 2019-01-09 11:05:08 +00:00 committed by GitHub
parent f05e8b6bd0
commit 4a9a69a5b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,7 +158,7 @@ export function JobSelectServiceProvider($rootScope, globalState, i18n) {
txt = splitJobId(jobs[0]).job;
if (jobs.length > 1) {
txt = i18n('xpack.ml.jobSelect.jobDescription', {
defaultMessage: '{jobId} and {jobsAmount} {jobsAmount, plural, zero {# other} one {# other} other {# others}}',
defaultMessage: '{jobId} and {jobsAmount, plural, zero {# other} one {# other} other {# others}}',
values: {
jobId: splitJobId(jobs[0]).job,
jobsAmount: jobs.length - 1,