From 020e12a6ae99e9b9dfaa3cfbd640ecdf31d7424d Mon Sep 17 00:00:00 2001 From: Ruben Davila Date: Wed, 12 Apr 2017 23:24:29 -0500 Subject: [PATCH] Add missing initializer for FastGettext --- config/initializers/fast_gettext.rb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 config/initializers/fast_gettext.rb 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'