diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-08-25 09:04:50 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-08-31 21:13:00 +0200 |
commit | 0fa0ed7d854761c5f055e421464adb0ff3522411 (patch) | |
tree | bb6c42fd67bfb6ab3cfbcb156bf7ce675c308a78 /lib/tasks | |
parent | 49b38194775a6f0043a0f7f2d01932fcdea69810 (diff) | |
download | gitlab-ce-0fa0ed7d854761c5f055e421464adb0ff3522411.tar.gz |
Move `PoLinter` into `Gitlab::I18n`
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gettext.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/gettext.rake b/lib/tasks/gettext.rake index b75da6bf2fc..e1491f29b5e 100644 --- a/lib/tasks/gettext.rake +++ b/lib/tasks/gettext.rake @@ -28,11 +28,11 @@ namespace :gettext do linters = files.map do |file| locale = File.basename(File.dirname(file)) - Gitlab::PoLinter.new(file, locale) + Gitlab::I18n::PoLinter.new(file, locale) end pot_file = Rails.root.join('locale/gitlab.pot') - linters.unshift(Gitlab::PoLinter.new(pot_file)) + linters.unshift(Gitlab::I18n::PoLinter.new(pot_file)) failed_linters = linters.select { |linter| linter.errors.any? } |