[ML] Changing wording of awaiting ML nodes messages (#167306)

Updates the text for the info callouts which are displayed when anomaly
detection jobs are waiting for a node.

@szabosteve would you mind having a review of the text?

**Jobs list**

![image](2f5e9293-7834-483f-9898-e797150963f8)



**Creating a new job**

![image](dcf594e4-67a1-4b96-95d7-bc832b77b1af)

Fixes https://github.com/elastic/kibana/issues/165472

---------

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
This commit is contained in:
James Gowdy 2023-09-27 18:45:18 +01:00 committed by GitHub
parent b2271a9fd7
commit 55a86ba120
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ export const JobsAwaitingNodeWarning: FC<Props> = ({ jobCount }) => {
<div>
<FormattedMessage
id="xpack.ml.jobsAwaitingNodeWarning.noMLNodesAvailableDescription"
defaultMessage="There {jobCount, plural, one {is} other {are}} {jobCount, plural, one {# job} other {# jobs}} waiting for machine learning nodes to start."
defaultMessage="{jobCount, plural, one {# job} other {# jobs}} will start after autoscaling has increased ML capacity. This may take several minutes."
values={{
jobCount,
}}

View file

@ -38,7 +38,7 @@ export const NewJobAwaitingNodeWarning: FC<Props> = () => {
<div>
<FormattedMessage
id="xpack.ml.newJobAwaitingNodeWarning.noMLNodesAvailableDescription"
defaultMessage="There are currently no nodes that can run the job, therefore it will remain in OPENING state until an appropriate node becomes available."
defaultMessage="There are currently no nodes that can run the job, therefore it will remain in OPENING state until autoscaling increases ML capacity. This may take several minutes."
/>
</div>
</EuiCallOut>

View file

@ -107,7 +107,7 @@ const MLJobsAwaitingNodeWarning: FC<Props> = ({ jobIds }) => {
<div>
<FormattedMessage
id="xpack.ml.jobsAwaitingNodeWarningShared.noMLNodesAvailableDescription"
defaultMessage="There {jobCount, plural, one {is} other {are}} {jobCount, plural, one {# job} other {# jobs}} waiting for machine learning nodes to start."
defaultMessage="{jobCount, plural, one {# job} other {# jobs}} will start after autoscaling has increased ML capacity. This may take several minutes."
values={{
jobCount: unassignedJobCount,
}}