X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=po%2FRules-lyx;h=d49dfdff6e626fc7668a85b1f222319dfd2ba5c4;hb=38cbc44e48aeff64ef27e1d5c2750c28f69332b3;hp=23d4c061af98c19bf96dcc473a27c880f45bc1dd;hpb=f6d4bce12303a2f30ea129ee86e7f7d879668260;p=lyx.git diff --git a/po/Rules-lyx b/po/Rules-lyx index 23d4c061af..d49dfdff6e 100644 --- a/po/Rules-lyx +++ b/po/Rules-lyx @@ -16,7 +16,7 @@ ${srcdir}/POTFILES.in: $(POTFILE_IN_DEPS) sort | uniq ) > $@-t \ && mv $@-t $@ -l10n_pots: qt4_l10n.pot layouts_l10n.pot languages_l10n.pot latexfonts_l10n.pot encodings_l10n.pot ui_l10n.pot external_l10n.pot formats_l10n.pot +l10n_pots: qt4_l10n.pot layouts_l10n.pot languages_l10n.pot latexfonts_l10n.pot encodings_l10n.pot ui_l10n.pot external_l10n.pot formats_l10n.pot examples_templates_l10n.pot tabletemplates_l10n.pot cat $^ | msguniq -o $(DOMAIN).po rm $^ @@ -28,14 +28,15 @@ qt4_l10n.pot: $(top_srcdir)/src/frontends/qt4/ui/*.ui layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout \ $(top_srcdir)/lib/layouts/*.inc \ - $(top_srcdir)/lib/layouts/*.module + $(top_srcdir)/lib/layouts/*.module \ + $(top_srcdir)/lib/citeengines/*.citeengine $(LYX_POT) -o $@ -t layouts $^ # 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 $(top_srcdir)/lib/citeengines/*.citeengines - $(LYX_POT) -o $@ -t layouttranslations ${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 $(top_srcdir)/lib/citeengines/*.citeengine + $(LYX_POT) -o $@ -t layouttranslations ${top_srcdir}/lib/layouts/*.layout ${top_srcdir}/lib/layouts/*.inc ${top_srcdir}/lib/layouts/*.module $(top_srcdir)/lib/citeengines/*.citeengine languages_l10n.pot: $(top_srcdir)/lib/languages $(LYX_POT) -o $@ -t languages $^ @@ -49,12 +50,19 @@ encodings_l10n.pot: $(top_srcdir)/lib/encodings ui_l10n.pot: $(top_srcdir)/lib/ui/*.ui $(top_srcdir)/lib/ui/*.inc $(LYX_POT) -o $@ -t ui $^ -external_l10n.pot: $(top_srcdir)/lib/external_templates +external_l10n.pot: $(top_srcdir)/lib/xtemplates/*.xtemplate $(LYX_POT) -o $@ -t external $^ formats_l10n.pot: $(top_srcdir)/lib/configure.py $(LYX_POT) -o $@ -t formats $^ +examples_templates_l10n.pot: $(top_srcdir)/lib/examples/* \ + $(top_srcdir)/lib/templates/* + $(LYX_POT) -o $@ -t examples_templates $^ + +tabletemplates_l10n.pot: $(top_srcdir)/lib/tabletemplates/*.lyx + $(LYX_POT) -o $@ -t tabletemplates $^ + # LyX specific code to generate l10n statistics for the web site i18n.inc: $(POFILES) postats.py $(PYTHON) $(srcdir)/postats.py "$(VERSION)" $(POFILES) >$@