mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Fix issue related to plural
Fix issue related to plural
This commit is contained in:
@@ -244,13 +244,15 @@ function JobList({ i18n, defaultParams, showTypeColumn = false }) {
|
|||||||
isJobRunning(item.status) ||
|
isJobRunning(item.status) ||
|
||||||
!item.summary_fields.user_capabilities.delete
|
!item.summary_fields.user_capabilities.delete
|
||||||
}
|
}
|
||||||
errorMessage={i18n.plural({
|
errorMessage={
|
||||||
value: cannotDeleteItems.length,
|
cannotDeleteItems.length === 1
|
||||||
one:
|
? i18n._(
|
||||||
'The selected job cannot be deleted due to insufficient permission or a running job status',
|
t`The selected job cannot be deleted due to insufficient permission or a running job status`
|
||||||
other:
|
)
|
||||||
'The selected jobs cannot be deleted due to insufficient permissions or a running job status',
|
: i18n._(
|
||||||
})}
|
t`The selected jobs cannot be deleted due to insufficient permissions or a running job status`
|
||||||
|
)
|
||||||
|
}
|
||||||
/>,
|
/>,
|
||||||
<JobListCancelButton
|
<JobListCancelButton
|
||||||
key="cancel"
|
key="cancel"
|
||||||
|
|||||||
Reference in New Issue
Block a user