mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
262ae8264a
commit
e18f86a041
@ -31,7 +31,8 @@ layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout \
|
||||
$(top_srcdir)/lib/layouts/*.module
|
||||
$(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/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
|
||||
|
Loading…
Reference in New Issue
Block a user