diff options
author | Ruben Davila <rdavila84@gmail.com> | 2017-04-20 07:19:24 +0300 |
---|---|---|
committer | Ruben Davila <rdavila84@gmail.com> | 2017-04-20 07:19:24 +0300 |
commit | 1de135bc0408a871e3bfa8b0ba5aa81a7936bd01 (patch) | |
tree | 433d3abbe19a48c5d67371ee8bc847fbcd3bf87e /config | |
parent | 302e855f52b5d914e64bf6fbcc7e6544904c4e77 (diff) |
Fix Rubocop complains plus some small refactor
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/fast_gettext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/fast_gettext.rb b/config/initializers/fast_gettext.rb index cfc3427b5ae..54b0049033b 100644 --- a/config/initializers/fast_gettext.rb +++ b/config/initializers/fast_gettext.rb @@ -1,3 +1,3 @@ FastGettext.add_text_domain 'gitlab', path: 'locale', type: :po -FastGettext.default_available_locales = ['en', 'es','de'] +FastGettext.default_available_locales = Gitlab::I18n::AVAILABLE_LANGUAGES.keys FastGettext.default_text_domain = 'gitlab' |