From 1e7863e36b7aab7a3d18b10824da280fe22110fd Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 2 Jul 2012 11:35:43 +0200 Subject: [PATCH] SONAR-3615 Avoid using pluralize function for I18N --- .../src/main/resources/org/sonar/l10n/core.properties | 1 + .../src/main/webapp/WEB-INF/app/views/filters/_list.html.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties index 73c224d5077..fb9a261cbb9 100644 --- a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -97,6 +97,7 @@ rename=Rename reset_verb=Reset result=Result results=Results +x_results={0} results review=Review reviews=Reviews review_verb=Review diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_list.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_list.html.erb index 6293514a26b..f99baebe77a 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_list.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/filters/_list.html.erb @@ -36,7 +36,7 @@
- <%= pluralize(@filter_context.size, message('result').downcase) %> + <%= message('x_results', :params => [@filter_context.size]) -%> <% if @filter_context.page_count>1 -- 2.39.5