build system: adjust Ukrainian translation files format

This commit is contained in:
Moritz Bunkus 2014-03-22 09:24:15 +01:00
parent 7add23631d
commit 2f97945b15
2 changed files with 2 additions and 2 deletions

View File

@ -374,7 +374,7 @@ EOT
task language => "po/mkvtoolnix.pot" do |t|
po = "po/#{language}.po"
tmp_file = "#{po}.new"
no_wrap = %{es eu it}.include?(language) ? "" : "--no-wrap"
no_wrap = %{es eu it uk}.include?(language) ? "" : "--no-wrap"
runq "MSGMERGE #{po}", "msgmerge -q -s #{no_wrap} #{po} po/mkvtoolnix.pot > #{tmp_file}", :allow_failure => true
exit_code = last_exit_code

View File

@ -179,7 +179,7 @@ def adjust_to_poedit_style(in_name, out_name, language)
state = :initial
previous_state = :initial
sources = []
one_source = !%w{es it}.include?(language)
one_source = !%w{es it uk}.include?(language)
lines.each do |line|
previous_state = state