# HG changeset patch # User Chris Cannam # Date 1389174009 0 # Node ID 2436fda71fa9c39dab93f7ed197ce62738172c0d # Parent 46a444fa87bc184b2af8b2f71498711011a14cd3 Avoid deprecation warning diff -r 46a444fa87bc -r 2436fda71fa9 config/application.rb --- a/config/application.rb Mon Jan 06 15:54:12 2014 +0000 +++ b/config/application.rb Wed Jan 08 09:40:09 2014 +0000 @@ -32,6 +32,10 @@ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. # config.time_zone = 'Central Time (US & Canada)' + # Avoid deprecation warning (may want to change this later if future + # Redmine updates are OK with it) + config.i18n.enforce_available_locales = false + # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.default_locale = :de