From 68a5f5d7430994f6003e2c5bb60618ea6fde87d6 Mon Sep 17 00:00:00 2001 From: dmiller Date: Tue, 31 Jan 2023 23:06:27 +0000 Subject: [PATCH] Fix encoding for zenmap i18n/l10n --- zenmap/share/zenmap/locale/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zenmap/share/zenmap/locale/Makefile b/zenmap/share/zenmap/locale/Makefile index 43b5a715c..d957c6397 100644 --- a/zenmap/share/zenmap/locale/Makefile +++ b/zenmap/share/zenmap/locale/Makefile @@ -20,9 +20,9 @@ all: update-pot: (echo $(SOURCEFILES); cd $(TOPDIR) && find $(SOURCEDIRS) -name '*.py') \ - | $(XGETTEXT) -D $(TOPDIR) --language=python --msgid-bugs-address=$(MSGID_BUGS_ADDRESS) -f - -o $(TMP_POT) + | $(XGETTEXT) -D $(TOPDIR) --from-code=utf-8 --language=python --msgid-bugs-address=$(MSGID_BUGS_ADDRESS) -f - -o $(TMP_POT) ./xgettext-profile_editor.py -D $(TOPDIR) $(PROFILE_EDITOR_XML) >> $(TMP_POT) - msguniq $(TMP_POT) | msgmerge -U --backup=none $(ZENMAP_POT) - + msguniq --to-code=utf-8 $(TMP_POT) | msgmerge -U --backup=none $(ZENMAP_POT) - rm -f $(TMP_POT) update-mo: $(addsuffix /LC_MESSAGES/zenmap.mo,$(LINGUAS))