aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
diff options
context:
space:
mode:
authorLawrence Pit <lawrence.pit@gmail.com>2010-05-03 16:44:32 +1000
committerJosé Valim <jose.valim@gmail.com>2010-05-03 13:37:32 +0200
commit9bd91b00b85c77bc294ae2a99beae203cc163227 (patch)
treeec5b8bc9d4d2053ebddfec174b9afa4e9c00239b /actionpack/test/template
parent8ae9b05fa0ca579ecabcd563e6ba75ea0f44f074 (diff)
downloadrails-9bd91b00b85c77bc294ae2a99beae203cc163227.tar.gz
rails-9bd91b00b85c77bc294ae2a99beae203cc163227.tar.bz2
rails-9bd91b00b85c77bc294ae2a99beae203cc163227.zip
Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax for I18n
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/test/template')
-rw-r--r--actionpack/test/template/form_helper_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb
index 47ac911540..2234fbece9 100644
--- a/actionpack/test/template/form_helper_test.rb
+++ b/actionpack/test/template/form_helper_test.rb
@@ -33,11 +33,11 @@ class FormHelperTest < ActionView::TestCase
I18n.backend.store_translations 'submit', {
:helpers => {
:submit => {
- :create => 'Create {{model}}',
- :update => 'Confirm {{model}} changes',
+ :create => 'Create %{model}',
+ :update => 'Confirm %{model} changes',
:submit => 'Save changes',
:another_post => {
- :update => 'Update your {{model}}'
+ :update => 'Update your %{model}'
}
}
}