Browse Source

tde-l10n_split_desktop: Process the created template using msguniq

to finalize the line breaks in the location comments.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 1 year ago
parent
commit
21a047dd56
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668
  1. 3
      conversions/tde-l10n/tde-l10n_split_desktop

3
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")

Loading…
Cancel
Save