From: Petter Reinholdtsen Date: Thu, 28 Jul 2016 08:13:00 +0000 (+0200) Subject: Make sure POT file is flagged as UTF-8. X-Git-Url: https://pere.pagekite.me/gitweb/text-relativity-of-wrong-asimov.git/commitdiff_plain/b4dd66cd6ca87f6443ad2f02ed5c5b363baae2f5?hp=11b73b069db0404fba6ab71f0a29824ca3cc6b7c Make sure POT file is flagged as UTF-8. --- diff --git a/Makefile b/Makefile index 5fcc20f..79aef30 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ all: The_Relativity_of_Wrong.nb.txt The_Relativity_of_Wrong.pot: The_Relativity_of_Wrong.txt - po4a-gettextize -f text -m The_Relativity_of_Wrong.txt > $@.new && mv $@.new $@ + po4a-gettextize -f text -m The_Relativity_of_Wrong.txt \ + -M UTF-8 -L UTF-8 --package-name "Relativitiy of Wrong" \ + | sed 's/CHARSET/UTF-8/' > $@.new && mv $@.new $@ The_Relativity_of_Wrong.nb.po: The_Relativity_of_Wrong.pot po4a --no-translations --msgmerge-opt --no-location po4a.cfg