#MSGFMT = ./msgfmt.py
MSGFMT = msgfmt
-LANGS := de it nl tr
+LANGS := de es fy it nl tr sr
LANGPO := $(foreach LANG, $(LANGS),$(LANG).po)
LANGMO := $(foreach LANG, $(LANGS),$(LANG).mo)
# the TRANSLATORS: allows putting translation comments before the to-be-translated line.
$(DOMAIN).pot:
$(GETTEXT) -L python --add-comments="TRANSLATORS:" -d $(DOMAIN) -s -o $(DOMAIN).pot ../src/*.py
+
+ ../../xml2po.py ../src/ >> $(DOMAIN).pot
+
msguniq -o $(DOMAIN)uniq.pot $(DOMAIN).pot
$(RM) $(DOMAIN).pot
mv $(DOMAIN)uniq.pot $(DOMAIN).pot