diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-07 20:23:22 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-07 20:23:22 +0200 |
commit | 2a89b776f8000866202aad2ea010f93872ca5076 (patch) | |
tree | bd6b56b749ac99338b4f9bb74ec8d93ab1dddb2b | |
parent | 6be262f2f455346fc87efb838cc7e9defe1af535 (diff) | |
download | scripts-2a89b776f8000866202aad2ea010f93872ca5076.tar.gz scripts-2a89b776f8000866202aad2ea010f93872ca5076.zip |
tde-l10n_split_desktop: Add --from-code=UTF-8 to xgettext call.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rwxr-xr-x | conversions/tde-l10n/tde-l10n_split_desktop | 2 |
1 files changed, 1 insertions, 1 deletions
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" |