Mercurial > hg > soundsoftware-site
comparison config/initializers/.svn/text-base/10-patches.rb.svn-base @ 119:8661b858af72
* Update to Redmine trunk rev 4705
author | Chris Cannam |
---|---|
date | Thu, 13 Jan 2011 14:12:06 +0000 |
parents | 94944d00e43c |
children | 051f544170fe |
comparison
equal
deleted
inserted
replaced
39:150ceac17a8d | 119:8661b858af72 |
---|---|
84 module I18n | 84 module I18n |
85 module Backend | 85 module Backend |
86 module Base | 86 module Base |
87 def warn_syntax_deprecation!(*args) | 87 def warn_syntax_deprecation!(*args) |
88 return if @skip_syntax_deprecation | 88 return if @skip_syntax_deprecation |
89 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." | 89 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." |
90 @skip_syntax_deprecation = true | 90 @skip_syntax_deprecation = true |
91 end | 91 end |
92 end | 92 end |
93 end | 93 end |
94 end | 94 end |
95 | |
96 module ActionController | |
97 module MimeResponds | |
98 class Responder | |
99 def api(&block) | |
100 any(:xml, :json, &block) | |
101 end | |
102 end | |
103 end | |
104 end |