Project

General

Profile

« Previous | Next » 

Revision d9498f54

Added by Thomas McKay over 7 years ago

fixes #16428 - set domain FastGettext

+ Initialize FastGettext properly when called under Thread.new()
+ Changed pot/po files from _ to -

View differences:

lib/hammer_cli_csv/i18n.rb
end
def domain_name
'hammer_cli_csv'
'hammer-cli-csv'
end
end
......
end
HammerCLI::I18n.add_domain(HammerCLICsv::I18n::LocaleDomain.new)
FastGettext.add_text_domain('hammer-cli-csv',
:path => File.expand_path("../../../locale", __FILE__),
:type => :po,
:ignore_fuzzy => true,
:report_warning => false
)
FastGettext.default_text_domain = 'hammer-cli-csv'

Also available in: Unified diff