subrepo: mark string for translation and fix case
authorMartin Geisler <mg@lazybytes.net>
Fri, 01 Jan 2010 18:46:24 +0100
changeset 10183 572dd10fa308
parent 10182 eb0665db0c5c
child 10187 fcc15ba18c03
child 10188 fd6e9c7cd98c
subrepo: mark string for translation and fix case
mercurial/subrepo.py
--- a/mercurial/subrepo.py	Fri Jan 01 15:30:21 2010 +0100
+++ b/mercurial/subrepo.py	Fri Jan 01 18:46:24 2010 +0100
@@ -309,8 +309,8 @@
 
     def remove(self):
         if self.dirty():
-            self._repo.ui.warn('Not removing repo %s because'
-                               'it has changes.\n' % self._path)
+            self._repo.ui.warn(_('not removing repo %s because'
+                                 'it has changes.\n' % self._path))
             return
         self._repo.ui.note('removing subrepo %s\n' % self._path)
         shutil.rmtree(self._ctx.repo.join(self._path))