debian-mirror-gitlab/config/initializers_before_autoloader/001_fast_gettext.rb
2020-04-08 18:37:08 +05:30

8 lines
298 B
Ruby

# frozen_string_literal: true
FastGettext.add_text_domain 'gitlab',
path: File.join(Rails.root, 'locale'),
type: :po,
ignore_fuzzy: true
FastGettext.default_text_domain = 'gitlab'
FastGettext.default_locale = :en