lib/pdk/cli/exec_group.rb in pdk-1.11.1 vs lib/pdk/cli/exec_group.rb in pdk-1.12.0

- old
+ new

@@ -25,10 +25,10 @@ def parallel? @options[:parallel].nil? ? true : @options[:parallel] end def register(&block) - raise PDK::CLI::FatalError, 'No block registered' unless block_given? + raise PDK::CLI::FatalError, _('No block registered') unless block_given? @threads_or_procs << if parallel? Thread.new do GettextSetup.initialize(File.absolute_path('../../../locales', File.dirname(__FILE__))) GettextSetup.negotiate_locale!(GettextSetup.candidate_locales)