From 2a89b776f8000866202aad2ea010f93872ca5076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 7 Jun 2020 20:23:22 +0200 Subject: [PATCH] tde-l10n_split_desktop: Add --from-code=UTF-8 to xgettext call. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conversions/tde-l10n/tde-l10n_split_desktop b/conversions/tde-l10n/tde-l10n_split_desktop index 444a27b..5154d5d 100755 --- a/conversions/tde-l10n/tde-l10n_split_desktop +++ b/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"