diff hgext/convert/bzr.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/bzr.py	Sun Apr 18 15:47:49 2010 +0200
+++ b/hgext/convert/bzr.py	Sun Apr 18 15:47:49 2010 +0200
@@ -37,13 +37,14 @@
         super(bzr_source, self).__init__(ui, path, rev=rev)
 
         if not os.path.exists(os.path.join(path, '.bzr')):
-            raise NoRepo('%s does not look like a Bazaar repository' % path)
+            raise NoRepo(_('%s does not look like a Bazaar repository')
+                         % path)
 
         try:
             # access bzrlib stuff
             branch
         except NameError:
-            raise NoRepo('Bazaar modules could not be loaded')
+            raise NoRepo(_('Bazaar modules could not be loaded'))
 
         path = os.path.abspath(path)
         self._checkrepotype(path)