Explain why po files are needed

lib/layouttranslations contains translations for all strings from layout files
that can appear in document output. These translations are read from .po files
by po/lyx_pot.py (using python polib), so up to date po files are needed.
This commit is contained in:
Georg Baum 2016-03-25 10:32:53 +01:00
parent 262ae8264a
commit e18f86a041

View File

@ -31,7 +31,8 @@ layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout \
$(top_srcdir)/lib/layouts/*.module $(top_srcdir)/lib/layouts/*.module
$(LYX_POT) -o $@ -t layouts $^ $(LYX_POT) -o $@ -t layouts $^
#FIXME: I am not sure what this does. Why read the po files in this case? # Read translatable strings from layouts and translations from the po files and
# create the layouttranslations file containing all LaTeX relevant translations
$(top_srcdir)/lib/layouttranslations: $(POFILES) $(top_srcdir)/lib/layouts/*.layout \ $(top_srcdir)/lib/layouttranslations: $(POFILES) $(top_srcdir)/lib/layouts/*.layout \
$(top_srcdir)/lib/layouts/*.inc $(top_srcdir)/lib/layouts/*.module $(top_srcdir)/lib/layouts/*.inc $(top_srcdir)/lib/layouts/*.module
$(LYX_POT) -o $@ -t layouttranslations ${top_srcdir}/lib/layouts/*.layout ${top_srcdir}/lib/layouts/*.inc ${top_srcdir}/lib/layouts/*.module $(LYX_POT) -o $@ -t layouttranslations ${top_srcdir}/lib/layouts/*.layout ${top_srcdir}/lib/layouts/*.inc ${top_srcdir}/lib/layouts/*.module