context: mark string for translation stable
authorMartin Geisler <mg@lazybytes.net>
Wed, 25 Aug 2010 13:29:46 +0200
branchstable
changeset 12030 927d63be166b
parent 12029 84a09639d9f1
child 12031 77bbeafd7519
child 12038 9617803b1acb
context: mark string for translation
mercurial/context.py
--- a/mercurial/context.py	Thu Jul 01 16:30:41 2010 +0200
+++ b/mercurial/context.py	Wed Aug 25 13:29:46 2010 +0200
@@ -198,7 +198,7 @@
             if match(fn):
                 yield fn
         for fn in sorted(fset):
-            if match.bad(fn, 'No such file in rev ' + str(self)) and match(fn):
+            if match.bad(fn, _('No such file in rev %s') % self) and match(fn):
                 yield fn
 
     def sub(self, path):