Commit 6ce1df41 authored by Stan Hu's avatar Stan Hu
Browse files

Merge branch 'use-absolute-path-for-gettext-config' into 'master'

Use an absolute path for locale path in FastGettext config

See merge request !11141
FastGettext.add_text_domain 'gitlab', path: 'locale', type: :po
FastGettext.add_text_domain 'gitlab', path: File.join(Rails.root, 'locale'), type: :po
FastGettext.default_text_domain = 'gitlab'
FastGettext.default_available_locales = Gitlab::I18n.available_locales
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment