diff hgext/bookmarks.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 765c98f068d3
line wrap: on
line diff
--- a/hgext/bookmarks.py	Sat Oct 23 19:22:42 2010 +0200
+++ b/hgext/bookmarks.py	Sun Oct 24 12:52:37 2010 +0200
@@ -566,3 +566,6 @@
 }
 
 colortable = {'bookmarks.current': 'green'}
+
+# tell hggettext to extract docstrings from these functions:
+i18nfunctions = [bmrevset]