diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2024-01-21 17:21:05 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2024-01-21 19:50:43 +0000 |
commit | 51f5991e35c8d5e384c6b642042132b7a2238d07 (patch) | |
tree | 7f1a059d9faef3bc154d0cdde8def34d0b2cbb2c /po | |
parent | 238402069f07fc90d274b291fa8df967ae74c620 (diff) | |
download | qarepo-51f5991e35c8d5e384c6b642042132b7a2238d07.tar qarepo-51f5991e35c8d5e384c6b642042132b7a2238d07.tar.gz qarepo-51f5991e35c8d5e384c6b642042132b7a2238d07.tar.bz2 qarepo-51f5991e35c8d5e384c6b642042132b7a2238d07.tar.xz qarepo-51f5991e35c8d5e384c6b642042132b7a2238d07.zip |
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.
Diffstat (limited to 'po')
-rw-r--r-- | po/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |