From 51f5991e35c8d5e384c6b642042132b7a2238d07 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 21 Jan 2024 17:21:05 +0000 Subject: Convert UTF-8 strings returned by gettext to native Perl strings. Sadly libintl-perl doesn't take care of this for us. Also remove the call to setlocale, which doesn't appear to be needed. --- po/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'po') diff --git a/po/Makefile b/po/Makefile index bc6abc5..5aeda3c 100644 --- a/po/Makefile +++ b/po/Makefile @@ -17,7 +17,7 @@ all: $(MOFILES) update: $(NAME).pot $(NAME).pot: $(PL_FILE) $(DT_FILE) - xgettext --language=perl --keyword=__ --add-comments=PO: --output tmp1.pot $(PL_FILE) + xgettext --language=perl --keyword=N --add-comments=PO: --output tmp1.pot $(PL_FILE) intltool-update --pot --gettext-package tmp2 msgcat --use-first tmp1.pot tmp2.pot > $@ @rm -r tmp*.pot -- cgit v1.2.1