Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
13697:eaee75036725 | 13698:f30ce5983896 |
---|---|
360 | 360 |
361 def extsetup(ui): | 361 def extsetup(ui): |
362 templatekw.keywords['svnrev'] = kwsvnrev | 362 templatekw.keywords['svnrev'] = kwsvnrev |
363 templatekw.keywords['svnpath'] = kwsvnpath | 363 templatekw.keywords['svnpath'] = kwsvnpath |
364 templatekw.keywords['svnuuid'] = kwsvnuuid | 364 templatekw.keywords['svnuuid'] = kwsvnuuid |
365 | |
366 # tell hggettext to extract docstrings from these functions: | |
367 i18nfunctions = [kwsvnrev, kwsvnpath, kwsvnuuid] |