From 21a047dd568fc179c752579f0ca96e1adb3895fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 8 Jul 2021 17:20:17 +0200 Subject: [PATCH] tde-l10n_split_desktop: Process the created template using msguniq to finalize the line breaks in the location comments. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- conversions/tde-l10n/tde-l10n_split_desktop | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conversions/tde-l10n/tde-l10n_split_desktop b/conversions/tde-l10n/tde-l10n_split_desktop index aaba8f4..a6dc553 100755 --- a/conversions/tde-l10n/tde-l10n_split_desktop +++ b/conversions/tde-l10n/tde-l10n_split_desktop @@ -116,7 +116,8 @@ done printf "%s" "${DX#|}" | tr "|" "\0" | xargs -r0 \ xgettext --foreign-user --from-code=UTF-8 -Cc -ki18n -o - | \ sed "s|\.tde_l10n||g" | \ -sed "s|Content-Type: text/plain; charset=CHARSET|Content-Type: text/plain; charset=UTF-8|" \ +sed "s|Content-Type: text/plain; charset=CHARSET|Content-Type: text/plain; charset=UTF-8|" | \ +msguniq -o - \ > "$TRANSLATIONS_DIR/$POT" POT_HEADER=$(sed -n "1,/^$/p" "$TRANSLATIONS_DIR/$POT")