Skip to content

Commit

Permalink
update wording in confirm modal
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Aug 13, 2020
1 parent 9c1e1fd commit 61308c2
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export const StopButtonModal: FC<ForceStopAction> = ({
<EuiOverlayMask>
<EuiConfirmModal
title={i18n.translate('xpack.ml.dataframe.analyticsList.forceStopModalTitle', {
defaultMessage: 'Force stop {analyticsId}',
values: { analyticsId: item.config.id },
defaultMessage: 'Force this job to stop?',
})}
onCancel={closeModal}
onConfirm={forceStopAndCloseModal}
Expand All @@ -36,7 +35,7 @@ export const StopButtonModal: FC<ForceStopAction> = ({
confirmButtonText={i18n.translate(
'xpack.ml.dataframe.analyticsList.forceStopModalStartButton',
{
defaultMessage: 'Stop',
defaultMessage: 'Force stop',
}
)}
defaultFocusedButton={EUI_MODAL_CONFIRM_BUTTON}
Expand All @@ -45,7 +44,7 @@ export const StopButtonModal: FC<ForceStopAction> = ({
<p>
<FormattedMessage
id="xpack.ml.dataframe.analyticsList.forceStopModalBody"
defaultMessage="The analytics job is in the failed state, do you want to force stop {analyticsId}?"
defaultMessage="{analyticsId} is in a failed state. You must stop the job and fix the failure."
values={{ analyticsId: item.config.id }}
/>
</p>
Expand Down

0 comments on commit 61308c2

Please sign in to comment.