changeset 10183:572dd10fa308

subrepo: mark string for translation and fix case
author Martin Geisler <mg@lazybytes.net>
date Fri, 01 Jan 2010 18:46:24 +0100
parents eb0665db0c5c
children fcc15ba18c03 fd6e9c7cd98c
files mercurial/subrepo.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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))