Browse files

Make our dirty patch work with i18n 0.4.2. #6784

Contributed by Felix Schäfer
  • Loading branch information...
1 parent 30dc4fe commit 00ef3004120035095c9cd11aba65ebd648160fe6 @thegcat committed Nov 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/initializers/10-patches.rb
@@ -84,7 +84,7 @@ module AsynchronousMailer
module I18n
module Backend
module Base
- def warn_syntax_deprecation!
+ def warn_syntax_deprecation!(locale = nil, string = nil)
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 for more information."
@skip_syntax_deprecation = true

0 comments on commit 00ef300

Please sign in to comment.