build system: multiple sources in one line in Swedish translation file

This commit is contained in:
Moritz Bunkus 2015-03-24 13:14:55 +01:00
parent 0f140866b0
commit 8b22523e55
2 changed files with 2 additions and 1 deletions

View File

@ -91,6 +91,7 @@ def setup_globals
}
$unwrapped_po = %{ca es eu it nl uk pl sr tr}
$po_multiple_sources = %{sv}
cflags_common = "-Wall -Wno-comment -Wfatal-errors #{c(:WLOGICAL_OP)} #{c(:WNO_MISMATCHED_TAGS)} #{c(:WNO_SELF_ASSIGN)} #{c(:QUNUSED_ARGUMENTS)}"
cflags_common += " #{c(:OPTIMIZATION_CFLAGS)} -D_FILE_OFFSET_BITS=64 #{c(:MATROSKA_CFLAGS)} #{c(:EBML_CFLAGS)} #{c(:EXTRA_CFLAGS)} #{c(:DEBUG_CFLAGS)} #{c(:PROFILING_CFLAGS)} #{c(:USER_CPPFLAGS)}"

View File

@ -180,7 +180,7 @@ def adjust_to_poedit_style(in_name, out_name, language)
previous_state = :initial
previous_line = nil
sources = []
one_source = !$unwrapped_po.include?(language)
one_source = !$unwrapped_po.include?(language) && !$po_multiple_sources.include?(language)
lines.each do |line|
previous_state = state