diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-07-20 09:54:27 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-08-31 15:10:04 +0300 |
commit | 1eb30cfb758d9fa576f1164fe7c5f520867ce378 (patch) | |
tree | 42dddbc8492d8848955a31d8638610be50964727 /config/initializers | |
parent | b6646e778d43a9b6ba768a8799830095cfcff635 (diff) |
Ignore fuzzy translations
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/fast_gettext.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/initializers/fast_gettext.rb b/config/initializers/fast_gettext.rb index eb589ecdb52..fd0167aa476 100644 --- a/config/initializers/fast_gettext.rb +++ b/config/initializers/fast_gettext.rb @@ -1,4 +1,7 @@ -FastGettext.add_text_domain 'gitlab', path: File.join(Rails.root, 'locale'), type: :po +FastGettext.add_text_domain 'gitlab', + path: File.join(Rails.root, 'locale'), + type: :po, + ignore_fuzzy: true FastGettext.default_text_domain = 'gitlab' FastGettext.default_available_locales = Gitlab::I18n.available_locales FastGettext.default_locale = :en |