From 0c458be0405a0c040729415e2db68d5b4eb0eabb Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Sat, 19 Mar 2011 13:21:39 -0700 Subject: [PATCH] [#283] Update the i18n deprecation message * Use Rails' Deprecation logger instead of the standard logger * Update the url to a message in the forum about the change --- config/initializers/10-patches.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb index 25b20523..ac53bf4a 100644 --- a/config/initializers/10-patches.rb +++ b/config/initializers/10-patches.rb @@ -86,7 +86,7 @@ module I18n module Base def warn_syntax_deprecation!(*args) return if @skip_syntax_deprecation - warn "The {{key}} interpolation syntax in I18n messages is deprecated and will be removed in Redmine 1.2. Please use %{key} instead, see http://www.redmine.org/issues/7013 for more information." + ActiveSupport::Deprecation.warn "The {{key}} interpolation syntax in I18n messages is deprecated and will be removed in ChiliProject 2.0 Redmine 1.2. Please use %{key} instead. See the notice at https://www.chiliproject.org/boards/2/topics/243 for more information." @skip_syntax_deprecation = true end end