aboutsummaryrefslogtreecommitdiffstats
path: root/lib/gettext_setup.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gettext_setup.rb')
-rw-r--r--lib/gettext_setup.rb13
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
-
-
-