debian-mirror-gitlab/config/initializers/fast_gettext.rb
2017-08-17 22:00:37 +05:30

5 lines
258 B
Ruby

FastGettext.add_text_domain 'gitlab', path: File.join(Rails.root, 'locale'), type: :po
FastGettext.default_text_domain = 'gitlab'
FastGettext.default_available_locales = Gitlab::I18n.available_locales
I18n.available_locales = Gitlab::I18n.available_locales