Mercurial > hg
changeset 29722:14c3afcb1c26
extdiff: export __doc__ of saved command for translation
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 27 Jul 2016 21:42:24 +0900 |
parents | 479076db51be |
children | 91b2f2176395 |
files | hgext/extdiff.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/extdiff.py Wed Jul 27 21:40:42 2016 +0900 +++ b/hgext/extdiff.py Wed Jul 27 21:42:24 2016 +0900 @@ -385,3 +385,6 @@ cmdline += ' ' + args command(cmd, extdiffopts[:], _('hg %s [OPTION]... [FILE]...') % cmd, inferrepo=True)(savedcmd(path, cmdline)) + +# tell hggettext to extract docstrings from these functions: +i18nfunctions = [savedcmd]