Commit 4d23da68 authored by Marin Jankovski's avatar Marin Jankovski

Merge branch 'po-lint-require' into 'master'

Do not require the simple_po_parser in the gettext rake task when in a

Closes #37379

See merge request !14044
parents d316a8c0 f9dd41a7
require "gettext_i18n_rails/tasks"
require 'simple_po_parser'
namespace :gettext do
# Customize list of translatable files
......@@ -23,6 +22,8 @@ namespace :gettext do
desc 'Lint all po files in `locale/'
task lint: :environment do
require 'simple_po_parser'
FastGettext.silence_errors
files = Dir.glob(Rails.root.join('locale/*/gitlab.po'))
......
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