diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-09-24 08:51:54 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-24 08:51:54 +0100 |
commit | 3f0b2ccb10aa58c5471c92b44633ae78e0386f68 (patch) | |
tree | 2f1200806a48b0bbbc4bc935bb0ff685c5b7e4ba /lib/gettext_setup.rb | |
parent | 84e8453b66b8cf2e9f428b0dab963415759e386b (diff) | |
parent | 7980e02c11bbb049d213c9ff9caa36f4edb82d54 (diff) |
Merge branch 'develop'use-with-alaveteli-0.15use-with-alaveteli-0.14
Diffstat (limited to 'lib/gettext_setup.rb')
-rw-r--r-- | lib/gettext_setup.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/gettext_setup.rb b/lib/gettext_setup.rb deleted file mode 100644 index 879bf57..0000000 --- a/lib/gettext_setup.rb +++ /dev/null @@ -1,13 +0,0 @@ -# Add a callback - to be executed before each request in development, -# and at startup in production - to plug in theme locale strings. -Rails.configuration.to_prepare do - repos = [ - FastGettext::TranslationRepository.build('app', :path=>File.join(File.dirname(__FILE__), '..', 'locale-theme'), :type => :po), - FastGettext::TranslationRepository.build('app', :path=>'locale', :type => :po) - ] - FastGettext.add_text_domain 'app', :type=>:chain, :chain=>repos - FastGettext.default_text_domain = 'app' -end - - - |