diff options
author | Ruben Davila <rdavila84@gmail.com> | 2017-04-12 23:24:29 -0500 |
---|---|---|
committer | Ruben Davila <rdavila84@gmail.com> | 2017-04-12 23:24:29 -0500 |
commit | 020e12a6ae99e9b9dfaa3cfbd640ecdf31d7424d (patch) | |
tree | dc06b14f32467d630cae47efde990aa54222ded9 /config/initializers/fast_gettext.rb | |
parent | bd86796dd0edae7e5db2bfbb887d3196498ebd49 (diff) | |
download | gitlab-ce-020e12a6ae99e9b9dfaa3cfbd640ecdf31d7424d.tar.gz |
Add missing initializer for FastGettext
Diffstat (limited to 'config/initializers/fast_gettext.rb')
-rw-r--r-- | config/initializers/fast_gettext.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/fast_gettext.rb b/config/initializers/fast_gettext.rb new file mode 100644 index 00000000000..cfc3427b5ae --- /dev/null +++ b/config/initializers/fast_gettext.rb @@ -0,0 +1,3 @@ +FastGettext.add_text_domain 'gitlab', path: 'locale', type: :po +FastGettext.default_available_locales = ['en', 'es','de'] +FastGettext.default_text_domain = 'gitlab' |