BigW Consortium Gitlab

Commit 7199e882 by Bob Van Landuyt

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.
parent a3af6830
require 'simple_po_parser'
module Gitlab
module I18n
class PoLinter
......
require "gettext_i18n_rails/tasks"
require 'simple_po_parser'
namespace :gettext do
# Customize list of translatable files
......
require 'spec_helper'
require 'simple_po_parser'
describe Gitlab::I18n::PoLinter do
let(:linter) { described_class.new(po_path) }
......
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