Mercurial > hg > soundsoftware-site
comparison config/initializers/.svn/text-base/10-patches.rb.svn-base @ 41:7f0e922c8982 luisf
merged with new version from trunk
author | luisf |
---|---|
date | Fri, 19 Nov 2010 14:45:28 +0000 |
parents | 94944d00e43c |
children | af80e5618e9b |
comparison
equal
deleted
inserted
replaced
35:67e8aef29de9 | 41:7f0e922c8982 |
---|---|
76 end | 76 end |
77 end | 77 end |
78 end | 78 end |
79 | 79 |
80 ActionMailer::Base.send :include, AsynchronousMailer | 80 ActionMailer::Base.send :include, AsynchronousMailer |
81 | |
82 # TODO: Hack to support i18n 4.x on Rails 2.3.5. Remove post 2.3.6. | |
83 # See http://www.redmine.org/issues/6428 and http://www.redmine.org/issues/5608 | |
84 module I18n | |
85 module Backend | |
86 module Base | |
87 def warn_syntax_deprecation!(*args) | |
88 return if @skip_syntax_deprecation | |
89 warn "The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead.\nDowngrade your i18n gem to 0.3.7 (everything above must be deinstalled) to remove this warning, see http://www.redmine.org/issues/5608 for more information." | |
90 @skip_syntax_deprecation = true | |
91 end | |
92 end | |
93 end | |
94 end |