diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-07-02 11:35:43 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-07-02 13:20:27 +0200 |
commit | 1e7863e36b7aab7a3d18b10824da280fe22110fd (patch) | |
tree | 37cb19d1b2526f5de421537d6fe680c1f50a76d7 | |
parent | 6e2a854b1b28054d32b8d9c91c122f29a9487c99 (diff) | |
download | sonarqube-1e7863e36b7aab7a3d18b10824da280fe22110fd.tar.gz sonarqube-1e7863e36b7aab7a3d18b10824da280fe22110fd.zip |
SONAR-3615 Avoid using pluralize function for I18N
-rw-r--r-- | plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties | 1 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/filters/_list.html.erb | 2 |
2 files changed, 2 insertions, 1 deletions
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 @@ <tr> <td colspan="<%= filter.columns.size + 1 -%>"> <div id="filter-pages-<%= update_id -%>"> - <span id="results_count"><%= pluralize(@filter_context.size, message('result').downcase) %></span> + <span id="results_count"><%= message('x_results', :params => [@filter_context.size]) -%></span> <% if @filter_context.page_count>1 |