diff hgext/convert/darcs.py @ 10939:9f6731b03906 stable

convert: mark strings for translation
author Martin Geisler <mg@lazybytes.net>
date Sun, 18 Apr 2010 15:47:49 +0200
parents 02d6149a480b
children 33010ff1fd6f
line wrap: on
line diff
--- 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()