aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-07-05 13:31:01 +0100
committerChristopher Baines <mail@cbaines.net>2018-07-05 13:31:01 +0100
commite4e26a24c5df2095b25194ab9f05e37fdbb355c5 (patch)
tree9e2adf657ffec7e66d6d9d22f891e7016c0b0837
parent190b6dff14fceec92e3a5f35252988d6ef7bce14 (diff)
downloadgovuk-mini-environment-admin-e4e26a24c5df2095b25194ab9f05e37fdbb355c5.tar
govuk-mini-environment-admin-e4e26a24c5df2095b25194ab9f05e37fdbb355c5.tar.gz
Fix pluralising failures
-rw-r--r--app/views/shared/_jobs.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_jobs.html.erb b/app/views/shared/_jobs.html.erb
index e74410e..f2439c1 100644
--- a/app/views/shared/_jobs.html.erb
+++ b/app/views/shared/_jobs.html.erb
@@ -56,7 +56,7 @@
</span>
<% else %>
<% if job['error_count'] != 0 %>
- <%= job['error_count'] %> failures,
+ <%= pluralize(job['error_count'], 'failure') %>,
<% end %>
<% if job_state %>
running for