diff options
Diffstat (limited to 'po/Makefile')
-rw-r--r-- | po/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
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 \ |