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
parents f13acb96b2a7
children 3da456d0c885
line wrap: on
line diff
--- a/hgext/transplant.py	Sat Oct 23 19:22:42 2010 +0200
+++ b/hgext/transplant.py	Sun Oct 24 12:52:37 2010 +0200
@@ -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]