From 19922c705ef609265cc439fb48faee28f289ee6d Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Wed, 5 Jul 2017 16:54:33 +0100 Subject: [PATCH] Fix invalid integer value when more than 1000 commits Closes #34711 --- app/views/projects/commits/_commits.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/commits/_commits.html.haml b/app/views/projects/commits/_commits.html.haml index cf8dffc8957..c764e35dd2a 100644 --- a/app/views/projects/commits/_commits.html.haml +++ b/app/views/projects/commits/_commits.html.haml @@ -12,4 +12,4 @@ - if hidden > 0 %li.alert.alert-warning - = n_('%d additional commit has been omitted to prevent performance issues.', '%d additional commits have been omitted to prevent performance issues.', hidden) % number_with_delimiter(hidden) + = n_('%s additional commit has been omitted to prevent performance issues.', '%s additional commits have been omitted to prevent performance issues.', hidden) % number_with_delimiter(hidden)