Only require simple_po_parser
in rake task that needs it
That way we don't need to install it in production, since it's really not needed there.
This commit is contained in:
parent
a3af683045
commit
7199e882db
3 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,3 @@
|
|||
require 'simple_po_parser'
|
||||
|
||||
module Gitlab
|
||||
module I18n
|
||||
class PoLinter
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
require "gettext_i18n_rails/tasks"
|
||||
require 'simple_po_parser'
|
||||
|
||||
namespace :gettext do
|
||||
# Customize list of translatable files
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
require 'spec_helper'
|
||||
require 'simple_po_parser'
|
||||
|
||||
describe Gitlab::I18n::PoLinter do
|
||||
let(:linter) { described_class.new(po_path) }
|
||||
|
|
Loading…
Reference in a new issue