Skip to content
Snippets Groups Projects
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
parents 62f856a3 61d0ac55
No related branches found
No related tags found
No related merge requests found
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
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment