[PATCH] Makefile: extract docstrings from templatefilters and templatekw
Alexander Sauta
demosito at gmail.com
Thu Jun 30 17:20:08 UTC 2011
Gettext strings from those files are not included in hg.pot with make
update-pot, but they are needed in hg help templating.
diff -r 5c046e4b9652 Makefile
--- a/Makefile Wed Jun 29 19:04:03 2011 +0400
+++ b/Makefile Thu Jun 30 21:17:00 2011 +0400
@@ -92,6 +92,7 @@
i18n/hg.pot: $(PYFILES) $(DOCFILES)
$(PYTHON) i18n/hggettext mercurial/commands.py \
hgext/*.py hgext/*/__init__.py mercurial/fileset.py
mercurial/revset.py \
+ mercurial/templatefilters.py mercurial/templatekw.py \
$(DOCFILES) > i18n/hg.pot
# All strings marked for translation in Mercurial contain
# ASCII characters only. But some files contain string
More information about the Mercurial-devel
mailing list