##// END OF EJS Templates
templater: tell hggettext to collect help of template functions
Yuya Nishihara -
r24601:d80819f6 default
parent child Browse files
Show More
@@ -118,6 +118,7 b' i18n/hg.pot: $(PYFILES) $(DOCFILES) i18n'
118 hgext/*.py hgext/*/__init__.py \
118 hgext/*.py hgext/*/__init__.py \
119 mercurial/fileset.py mercurial/revset.py \
119 mercurial/fileset.py mercurial/revset.py \
120 mercurial/templatefilters.py mercurial/templatekw.py \
120 mercurial/templatefilters.py mercurial/templatekw.py \
121 mercurial/templater.py \
121 mercurial/filemerge.py \
122 mercurial/filemerge.py \
122 $(DOCFILES) > i18n/hg.pot.tmp
123 $(DOCFILES) > i18n/hg.pot.tmp
123 # All strings marked for translation in Mercurial contain
124 # All strings marked for translation in Mercurial contain
@@ -793,3 +793,6 b' def stylemap(styles, paths=None):'
793 return style, mapfile
793 return style, mapfile
794
794
795 raise RuntimeError("No hgweb templates found in %r" % paths)
795 raise RuntimeError("No hgweb templates found in %r" % paths)
796
797 # tell hggettext to extract docstrings from these functions:
798 i18nfunctions = funcs.values()
General Comments 0
You need to be logged in to leave comments. Login now