comparison config/initializers/.svn/text-base/10-patches.rb.svn-base @ 37:94944d00e43c

* Update to SVN trunk rev 4411
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 19 Nov 2010 13:24:41 +0000
parents 513646585e45
children af80e5618e9b
comparison
equal deleted inserted replaced
22:40f7cfd4df19 37:94944d00e43c
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