hgext/convert/darcs.py
branchstable
changeset 10939 9f6731b03906
parent 10938 02d6149a480b
child 11134 33010ff1fd6f
--- a/hgext/convert/darcs.py	Sun Apr 18 15:47:49 2010 +0200
+++ b/hgext/convert/darcs.py	Sun Apr 18 15:47:49 2010 +0200
@@ -34,10 +34,10 @@
         # check for _darcs, ElementTree, _darcs/inventory so that we can
         # easily skip test-convert-darcs if ElementTree is not around
         if not os.path.exists(os.path.join(path, '_darcs', 'inventories')):
-            raise NoRepo("%s does not look like a darcs repository" % path)
+            raise NoRepo(_("%s does not look like a darcs repository") % path)
 
         if not os.path.exists(os.path.join(path, '_darcs')):
-            raise NoRepo("%s does not look like a darcs repository" % path)
+            raise NoRepo(_("%s does not look like a darcs repository") % path)
 
         checktool('darcs')
         version = self.run0('--version').splitlines()[0].strip()