]> source.dussan.org Git - redmine.git/commitdiff
prevent i18n deprecated warning
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 7 Dec 2013 01:32:22 +0000 (01:32 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 7 Dec 2013 01:32:22 +0000 (01:32 +0000)
i18n 0.6.4 on Rails 3.2.16 changes behavior.
https://github.com/svenfuchs/i18n/commit/3b6e56e06fd70f6e4507996b017238505e66608c

git-svn-id: http://svn.redmine.org/redmine/trunk@12365 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/application.rb

index e18447fa469ffaae1258791387cee4252ee888ec..58d949a4817576e3e941030c24839deffb634505 100644 (file)
@@ -33,6 +33,8 @@ module RedmineApp
     # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
     # config.i18n.default_locale = :de
 
+    I18n.enforce_available_locales = false
+
     # Configure the default encoding used in templates for Ruby 1.9.
     config.encoding = "utf-8"