diff options
author | Robin Houston <robin@lenny.robin> | 2011-06-10 10:24:03 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-06-10 10:24:03 +0100 |
commit | 30b6614247917c66eddc5511647ab4f774229023 (patch) | |
tree | 7f792154db5a2ffdcae9d498b940a932170b6d14 | |
parent | 946decafe758716bb14d5cb71c26abb42bd9a899 (diff) |
It's a bit misleading to set FastGettext.default_available_locales in initializers/fast_gettext.rb, when it is overridded by environment.rb anyway (based on the value in config/general)
-rw-r--r-- | config/initializers/fast_gettext.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/config/initializers/fast_gettext.rb b/config/initializers/fast_gettext.rb index b01b129fa..026c4111c 100644 --- a/config/initializers/fast_gettext.rb +++ b/config/initializers/fast_gettext.rb @@ -1,3 +1,2 @@ FastGettext.add_text_domain 'app', :path => 'locale', :type => :po -FastGettext.default_available_locales = ['en','es'] #all you want to allow FastGettext.default_text_domain = 'app' |