Browse Source

tde-l10n_split_desktop: Add --from-code=UTF-8 to xgettext call.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 2 years ago
parent
commit
2a89b776f8
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668
  1. 2
      conversions/tde-l10n/tde-l10n_split_desktop

2
conversions/tde-l10n/tde-l10n_split_desktop

@ -114,7 +114,7 @@ done
# extract strings
#xgettext --foreign-user -L Desktop -k -k"Name" -k"GenericName" -k"Comment" -k"Keywords" -k"Description" -k"ExtraNames" -k"X-TDE-Submenu" -o - "$D" | \
printf "%s" "${DX#|}" | tr "|" "\0" | xargs -r0 \
xgettext --foreign-user -Cc -ki18n -o - | \
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|" \
> "$TRANSLATIONS_DIR/$POT"

Loading…
Cancel
Save