X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=po%2FMakefile.am;h=e7318f77a2221fc7ec1c7e96acaab28263dea6bf;hp=53e65ae89aaaf40f09ce773c3146cf126aef3396;hb=dd5ad7eeb3e3cbde9eedc8c77c4a1fbbd7084f0f;hpb=ded9f8508f8d0723d84cc9f4bc7d234b69b829e0 diff --git a/po/Makefile.am b/po/Makefile.am index 53e65ae..e7318f7 100644 --- a/po/Makefile.am +++ b/po/Makefile.am @@ -6,6 +6,7 @@ LANGPO = $(LANGS:=.po) EXTRA_DIST = $(LANGPO) +if UPDATE_PO # the TRANSLATORS: allows putting translation comments before the to-be-translated line. enigma2-py.pot: $(top_srcdir)/*.py $(top_srcdir)/lib/python/*/*.py $(top_srcdir)/lib/python/Plugins/*/*/*.py $(XGETTEXT) -L Python --from-code=UTF-8 --add-comments="TRANSLATORS:" -d @PACKAGE_NAME@ -s -o $@ $^ @@ -22,6 +23,7 @@ enigma2.pot: enigma2-py.pot enigma2-xml.pot else \ $(MSGINIT) -l $@ -o $@ -i $< --no-translator; \ fi +endif .po.mo: $(MSGFMT) -o $@ $<