mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
build system: adjust Ukrainian translation files format
This commit is contained in:
parent
7add23631d
commit
2f97945b15
2
Rakefile
2
Rakefile
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user