Set default charset to UTF-8 for libc.pot.

This commit is contained in:
Carlos O'Donell 2012-06-13 16:50:29 -07:00
parent 8e0933bb47
commit 771766df5a
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
* po/Makefile (libc.pot): Use UTF-8 charset.
2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #14210]

View File

@ -56,6 +56,7 @@ libc.pot: header.pot libc.pot.files
set `date -R`; disp="$$6"; \
sed -e 's/VERSION/$(version)/' \
-e "s/DATE/`date +'%Y-%m-%d %H:%M'$$disp`/" \
-e "s/CHARSET/UTF-8/" \
$< > $@.new
egrep -v '\.ksh$$' $(word 2,$^) > $(objdir)/tmp-libc.pot-files
cd ..; $(XGETTEXT) --keyword=_ --keyword=N_ \