Mercurial > hg
diff hgext/convert/__init__.py @ 13698:f30ce5983896
i18n: register new template keywords for translation
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 19 Mar 2011 19:50:55 +0100 |
parents | ad02eba55459 |
children | c2a75faf3b49 |
line wrap: on
line diff
--- a/hgext/convert/__init__.py Sat Mar 19 01:34:49 2011 -0500 +++ b/hgext/convert/__init__.py Sat Mar 19 19:50:55 2011 +0100 @@ -362,3 +362,6 @@ templatekw.keywords['svnrev'] = kwsvnrev templatekw.keywords['svnpath'] = kwsvnpath templatekw.keywords['svnuuid'] = kwsvnuuid + +# tell hggettext to extract docstrings from these functions: +i18nfunctions = [kwsvnrev, kwsvnpath, kwsvnuuid]