Skip to content

Commit

Permalink
Fix bad require
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHoste committed May 20, 2022
1 parent 78cc892 commit 35efaca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/translation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def require_gettext_dependencies
require 'gettext/tools'
require 'gettext/text_domain_manager'
require 'gettext/tools/xgettext'
require "gettext/tools/parser/erubi"
require "gettext/tools/parser/erubi" if Gem::Version.new(GetText::VERSION) >= Gem::Version.new('3.4.3')
end

def add_parser_for_erb_source_formats(new_erb_formats)
Expand Down

0 comments on commit 35efaca

Please sign in to comment.