From: Simon Brandhof Date: Mon, 2 Jul 2012 09:35:43 +0000 (+0200) Subject: SONAR-3615 Avoid using pluralize function for I18N X-Git-Tag: 3.2~276 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1e7863e36b7aab7a3d18b10824da280fe22110fd;p=sonarqube.git SONAR-3615 Avoid using pluralize function for I18N --- 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