diff hgext/churn.py @ 6955:a9411e29773f

i18n: mark strings for translation in churn extension
author Martin Geisler <mg@daimi.au.dk>
date Sun, 31 Aug 2008 16:12:02 +0200
parents b114a8c7998f
children 5f201f711932
line wrap: on
line diff
--- a/hgext/churn.py	Sun Aug 31 16:12:02 2008 +0200
+++ b/hgext/churn.py	Sun Aug 31 16:12:02 2008 +0200
@@ -58,14 +58,14 @@
         user = util.email(ctx2.user())
         user = amap.get(user, user) # remap
         stats[user] = stats.get(user, 0) + lines
-        ui.debug("rev %d: %d lines by %s\n" % (rev, lines, user))
+        ui.debug(_("rev %d: %d lines by %s\n") % (rev, lines, user))
 
         if progress:
             count += 1
             newpct = int(100.0 * count / max(len(revs), 1))
             if pct < newpct:
                 pct = newpct
-                ui.write("\rGenerating stats: %d%%" % pct)
+                ui.write(_("\rGenerating stats: %d%%") % pct)
                 sys.stdout.flush()
 
     if progress: