[#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
This commit is contained in:
parent
9c2089c585
commit
0c458be040
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue