lib/gettext/tools.rb in fair-gettext-2.0.5 vs lib/gettext/tools.rb in fair-gettext-2.0.6

- old
+ new

@@ -97,17 +97,19 @@ Dir.glob(File.join(dir, "*.po")).each do |po_file| po_text = File.read(po_file) + po_text pofile = po_file unless po_file.include?("private") mo_file = mo_file_from_po_file(pofile,options) end - + $stderr.print %Q[#{pofile} -> #{mo_file} ... ] if options[:verbose] + en_tmp = dir + 'en_tmp.po' file = File.new(en_tmp, "w+") file << po_text FileUtils.mkdir_p(File.dirname(mo_file)) rmsgfmt(file, mo_file) File.delete(en_tmp) po_text = '' + $stderr.puts "Done." if options[:verbose] end end # At first, this creates the #{po_root}/#{domainname}.pot file using GetText.rgettext. # In the second step, this updates(merges) the #{po_root}/#{domainname}.pot and all of the \ No newline at end of file