changeset 12030:927d63be166b stable

context: mark string for translation
author Martin Geisler <mg@lazybytes.net>
date Wed, 25 Aug 2010 13:29:46 +0200
parents 84a09639d9f1
children 77bbeafd7519 9617803b1acb
files mercurial/context.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):