i18n, mq: mark command line options for translation
authorMartin Geisler <mg@daimi.au.dk>
Sat, 06 Sep 2008 17:44:03 +0200
changeset 7002 07c8396fa001
parent 7001 9a32b8a6868e
child 7003 2365c6d4c330
i18n, mq: mark command line options for translation
hgext/mq.py
--- a/hgext/mq.py	Sat Sep 06 17:44:02 2008 +0200
+++ b/hgext/mq.py	Sat Sep 06 17:44:03 2008 +0200
@@ -2370,15 +2370,15 @@
     'qheader': (header, [], _('hg qheader [PATCH]')),
     "^qimport":
         (qimport,
-         [('e', 'existing', None, 'import file in patch dir'),
-          ('n', 'name', '', 'patch file name'),
-          ('f', 'force', None, 'overwrite existing files'),
-          ('r', 'rev', [], 'place existing revisions under mq control'),
+         [('e', 'existing', None, _('import file in patch dir')),
+          ('n', 'name', '', _('patch file name')),
+          ('f', 'force', None, _('overwrite existing files')),
+          ('r', 'rev', [], _('place existing revisions under mq control')),
           ('g', 'git', None, _('use git extended diff format'))],
          _('hg qimport [-e] [-n NAME] [-f] [-g] [-r REV]... FILE...')),
     "^qinit":
         (init,
-         [('c', 'create-repo', None, 'create queue repository')],
+         [('c', 'create-repo', None, _('create queue repository'))],
          _('hg qinit [-c]')),
     "qnew":
         (new,