update/add some serbian translations
[vuplus_dvbapp-plugin] / autotimer / po / Makefile.am
index 79ea450..63df022 100644 (file)
@@ -13,7 +13,7 @@ GETTEXT=xgettext
 #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)
 
@@ -32,6 +32,9 @@ merge:
 # 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