Fixed: Trunk not working with i18n gem 0.4.2 (#6784).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4389 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-11-09 19:44:37 +00:00
parent 44c9ad687f
commit 7482d2f5f4
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ ActionMailer::Base.send :include, AsynchronousMailer
module I18n module I18n
module Backend module Backend
module Base module Base
def warn_syntax_deprecation! def warn_syntax_deprecation!(*args)
return if @skip_syntax_deprecation return if @skip_syntax_deprecation
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." 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."
@skip_syntax_deprecation = true @skip_syntax_deprecation = true