From e4e26a24c5df2095b25194ab9f05e37fdbb355c5 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 5 Jul 2018 13:31:01 +0100 Subject: Fix pluralising failures --- app/views/shared/_jobs.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ <% else %> <% if job['error_count'] != 0 %> - <%= job['error_count'] %> failures, + <%= pluralize(job['error_count'], 'failure') %>, <% end %> <% if job_state %> running for -- cgit v1.2.3