hgext/convert/__init__.py
changeset 6999 f1546aa94362
parent 6976 b072266a83d1
child 7053 209ef5f3534c
--- a/hgext/convert/__init__.py	Sat Sep 06 17:04:01 2008 +0200
+++ b/hgext/convert/__init__.py	Sat Sep 06 17:43:59 2008 +0200
@@ -8,6 +8,7 @@
 
 import convcmd
 from mercurial import commands
+from mercurial.i18n import _
 
 # Commands definition was moved elsewhere to ease demandload job.
 
@@ -181,14 +182,14 @@
 cmdtable = {
     "convert":
         (convert,
-         [('A', 'authors', '', 'username mapping filename'),
-          ('d', 'dest-type', '', 'destination repository type'),
-          ('', 'filemap', '', 'remap file names using contents of file'),
-          ('r', 'rev', '', 'import up to target revision REV'),
-          ('s', 'source-type', '', 'source repository type'),
-          ('', 'splicemap', '', 'splice synthesized history into place'),
-          ('', 'datesort', None, 'try to sort changesets by date')],
-         'hg convert [OPTION]... SOURCE [DEST [REVMAP]]'),
+         [('A', 'authors', '', _('username mapping filename')),
+          ('d', 'dest-type', '', _('destination repository type')),
+          ('', 'filemap', '', _('remap file names using contents of file')),
+          ('r', 'rev', '', _('import up to target revision REV')),
+          ('s', 'source-type', '', _('source repository type')),
+          ('', 'splicemap', '', _('splice synthesized history into place')),
+          ('', 'datesort', None, _('try to sort changesets by date'))],
+         _('hg convert [OPTION]... SOURCE [DEST [REVMAP]]')),
     "debugsvnlog":
         (debugsvnlog,
          [],