commit e18f86a04197a0d6cf9b5950bd592f485b86e520
Author: Georg Baum <[email protected]>
Date:   Fri Mar 25 10:32:53 2016 +0100

    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.

diff --git a/po/Rules-lyx b/po/Rules-lyx
index 01883c4..f71dc6f 100644
--- a/po/Rules-lyx
+++ b/po/Rules-lyx
@@ -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

Reply via email to