Commit 20aa33efef8d14e54b4e8a41dca9b233df959996

Authored by Antonio Terceiro
1 parent 46dafe22

Silence warning about deprecated interpolation for Rails < 3.0.0

This was only fixed on Feb 14th 2011:

https://rails.lighthouseapp.com/projects/8994/tickets/4525-favor-in-all-code-instead-of-deprecated-as-interpolation-syntax-for-i18n
Showing 1 changed file with 9 additions and 0 deletions   Show diff stats
vendor/plugins/i18n_deprecation/init.rb 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +require 'i18n/version'
  2 +
  3 +if I18n::VERSION > '0.3.7' && Rails::VERSION::STRING < '3.0.0'
  4 + module I18n::Backend::Base
  5 + def warn_syntax_deprecation!
  6 + # nothing
  7 + end
  8 + end
  9 +end
... ...