Welcome to mirror list, hosted at ThFree Co, Russian Federation.

001_fast_gettext.rb « initializers_before_autoloader « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ede38450582c898be2a4d1f9ea9264020f5e047e (plain)
1
2
3
4
5
6
7
8
# 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