Skip to content
Snippets Groups Projects
Commit d80819f6 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

templater: tell hggettext to collect help of template functions

parent ea24cf92
No related branches found
No related tags found
No related merge requests found
......@@ -118,6 +118,7 @@
hgext/*.py hgext/*/__init__.py \
mercurial/fileset.py mercurial/revset.py \
mercurial/templatefilters.py mercurial/templatekw.py \
mercurial/templater.py \
mercurial/filemerge.py \
$(DOCFILES) > i18n/hg.pot.tmp
# All strings marked for translation in Mercurial contain
......
......@@ -793,3 +793,6 @@
return style, mapfile
raise RuntimeError("No hgweb templates found in %r" % paths)
# tell hggettext to extract docstrings from these functions:
i18nfunctions = funcs.values()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment