comparison 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
comparison
equal deleted inserted replaced
12822:f13acb96b2a7 12823:80deae3bc5ea
564 ('m', 'rename', '', _('rename a given bookmark'), _('NAME'))], 564 ('m', 'rename', '', _('rename a given bookmark'), _('NAME'))],
565 _('hg bookmarks [-f] [-d] [-m NAME] [-r REV] [NAME]')), 565 _('hg bookmarks [-f] [-d] [-m NAME] [-r REV] [NAME]')),
566 } 566 }
567 567
568 colortable = {'bookmarks.current': 'green'} 568 colortable = {'bookmarks.current': 'green'}
569
570 # tell hggettext to extract docstrings from these functions:
571 i18nfunctions = [bmrevset]