diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-09 19:44:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-09 19:44:37 +0000 |
commit | 7482d2f5f42086c67d2688b5e978514fd02f6981 (patch) | |
tree | 102c926a3a2d3a7b57e6b19dae42b428286a8ef4 | |
parent | 44c9ad687fa608e7a4eaac1ef571598e1130feac (diff) | |
download | redmine-7482d2f5f42086c67d2688b5e978514fd02f6981.tar.gz redmine-7482d2f5f42086c67d2688b5e978514fd02f6981.zip |
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
-rw-r--r-- | config/initializers/10-patches.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb index 4753dae3d..096ea0cd1 100644 --- a/config/initializers/10-patches.rb +++ b/config/initializers/10-patches.rb @@ -84,7 +84,7 @@ ActionMailer::Base.send :include, AsynchronousMailer module I18n module Backend module Base - def warn_syntax_deprecation! + def warn_syntax_deprecation!(*args) 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." @skip_syntax_deprecation = true |