From 358032ea59355f4b594cacfce67030aebd1d0fa9 Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Fri, 12 Mar 2004 13:54:14 +0000 Subject: updated pot file (now built with the translatable entries from desktop files) --- po/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'po/Makefile') diff --git a/po/Makefile b/po/Makefile index 1a2fb664..48147641 100644 --- a/po/Makefile +++ b/po/Makefile @@ -34,7 +34,12 @@ clean: msgfmt -o $@ $< $(PGOAL).pot: $(PL_FILES) - perl_checker -q --generate-pot $(PGOAL).pot $(PL_FILES) + intltool-update --gettext-package desktopstuff --pot + perl_checker -q --generate-pot $(PGOAL)_tmp.pot $(PL_FILES) + # OLD_PO_FILE_OUTPUT=1 is needed to ignore non-ascii strings + # at least as long as msgcat can't read utf-8 files + OLD_PO_FILE_OUTPUT=1 msgcat --use-first $(PGOAL)_tmp.pot desktopstuff.pot > $@ + rm -f desktopstuff.pot $(PGOAL)_tmp.pot merge: $(PGOAL).pot @for n in $(POFILES); do \ -- cgit v1.2.1