From 4a80859b927347c61e13e95fa003d6ea1fc338cd Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Thu, 5 May 2011 10:59:57 +0200 Subject: [PATCH] Fix ruby warning on deprecated i18n label --- .../actionpack/lib/action_view/locale/en.yml | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/vendor/rails/actionpack/lib/action_view/locale/en.yml b/sonar-server/src/main/webapp/WEB-INF/vendor/rails/actionpack/lib/action_view/locale/en.yml index 84d94fd7006..3f38fd18c33 100755 --- a/sonar-server/src/main/webapp/WEB-INF/vendor/rails/actionpack/lib/action_view/locale/en.yml +++ b/sonar-server/src/main/webapp/WEB-INF/vendor/rails/actionpack/lib/action_view/locale/en.yml @@ -63,37 +63,37 @@ half_a_minute: "half a minute" less_than_x_seconds: one: "less than 1 second" - other: "less than {{count}} seconds" + other: "less than %{count} seconds" x_seconds: one: "1 second" - other: "{{count}} seconds" + other: "%{count} seconds" less_than_x_minutes: one: "less than a minute" - other: "less than {{count}} minutes" + other: "less than %{count} minutes" x_minutes: one: "1 minute" - other: "{{count}} minutes" + other: "%{count} minutes" about_x_hours: one: "about 1 hour" - other: "about {{count}} hours" + other: "about %{count} hours" x_days: one: "1 day" - other: "{{count}} days" + other: "%{count} days" about_x_months: one: "about 1 month" - other: "about {{count}} months" + other: "about %{count} months" x_months: one: "1 month" - other: "{{count}} months" + other: "%{count} months" about_x_years: one: "about 1 year" - other: "about {{count}} years" + other: "about %{count} years" over_x_years: one: "over 1 year" - other: "over {{count}} years" + other: "over %{count} years" almost_x_years: one: "almost 1 year" - other: "almost {{count}} years" + other: "almost %{count} years" prompts: year: "Year" month: "Month" @@ -106,8 +106,8 @@ errors: template: header: - one: "1 error prohibited this {{model}} from being saved" - other: "{{count}} errors prohibited this {{model}} from being saved" + one: "1 error prohibited this %{model} from being saved" + other: "%{count} errors prohibited this %{model} from being saved" # The variable :count is also available body: "There were problems with the following fields:" -- 2.39.5