Mercurial > public > mercurial-scm > hg
diff mercurial/revset.py @ 12823:80deae3bc5ea stable
hggettext: handle i18nfunctions declaration for docstrings translations
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 24 Oct 2010 12:52:37 +0200 |
parents | 165079e564f0 |
children | d01c21002e82 |
line wrap: on
line diff
--- a/mercurial/revset.py Sat Oct 23 19:22:42 2010 +0200 +++ b/mercurial/revset.py Sun Oct 24 12:52:37 2010 +0200 @@ -791,3 +791,6 @@ predicates = '\n'.join(predicates) doc = doc.replace('.. predicatesmarker', predicates) return doc + +# tell hggettext to extract docstrings from these functions: +i18nfunctions = symbols.values()