Replace more relative require to lib from config
This commit is contained in:
parent
f6c5ca7d1e
commit
fde6479d6e
1 changed files with 3 additions and 2 deletions
|
@ -31,7 +31,8 @@ Debian specific patch to adapt to debian policy mandated paths
|
|||
# frozen_string_literal: true
|
||||
|
||||
-require_relative '../../lib/gitlab/i18n'
|
||||
+require_relative '/usr/share/gitlab/lib/gitlab/i18n'
|
||||
require_relative '../../lib/gitlab/i18n/pluralization'
|
||||
-require_relative '../../lib/gitlab/i18n/pluralization'
|
||||
+require '/usr/share/gitlab/lib/gitlab/i18n'
|
||||
+require '/usr/share/gitlab/lib/gitlab/i18n/pluralization'
|
||||
|
||||
Gitlab::I18n.setup(domain: 'gitlab', default_locale: :en)
|
||||
|
|
Loading…
Reference in a new issue