aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/locale/en.yml
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-04-30 18:40:24 +0200
committerJosé Valim <jose.valim@gmail.com>2010-05-01 12:54:52 +0200
commit13867a3f5f3e2248660a942956985a4eacacb283 (patch)
treebb6bc41d0f5bff725e379b712cb75751a9813a3f /actionpack/lib/action_view/locale/en.yml
parentefba1d4227514a6ce4880910a6531b0a6c3c75aa (diff)
downloadrails-13867a3f5f3e2248660a942956985a4eacacb283.tar.gz
rails-13867a3f5f3e2248660a942956985a4eacacb283.tar.bz2
rails-13867a3f5f3e2248660a942956985a4eacacb283.zip
Use %{} syntax in I18n (faster) instead of {{}}.
Diffstat (limited to 'actionpack/lib/action_view/locale/en.yml')
-rw-r--r--actionpack/lib/action_view/locale/en.yml28
1 files changed, 14 insertions, 14 deletions
diff --git a/actionpack/lib/action_view/locale/en.yml b/actionpack/lib/action_view/locale/en.yml
index 187e010e30..9004e52c5b 100644
--- a/actionpack/lib/action_view/locale/en.yml
+++ b/actionpack/lib/action_view/locale/en.yml
@@ -102,37 +102,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"
@@ -148,7 +148,7 @@
# Default translation keys for submit FormHelper
submit:
- create: 'Create {{model}}'
- update: 'Update {{model}}'
- submit: 'Save {{model}}'
+ create: 'Create %{model}'
+ update: 'Update %{model}'
+ submit: 'Save %{model}'