diff hgext/transplant.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 (2010-10-24)
parents f13acb96b2a7
children 3da456d0c885
line wrap: on
line diff
--- a/hgext/transplant.py
+++ b/hgext/transplant.py
@@ -625,3 +625,6 @@
          _('hg transplant [-s REPO] [-b BRANCH [-a]] [-p REV] '
            '[-m REV] [REV]...'))
 }
+
+# tell hggettext to extract docstrings from these functions:
+i18nfunctions = [revsettransplanted]