i18n: mark strings for translation in churn extension
authorMartin Geisler <mg@daimi.au.dk>
Sun, 31 Aug 2008 16:12:02 +0200
changeset 6955 a9411e29773f
parent 6954 f7d545a866e8
child 6956 12472a240398
i18n: mark strings for translation in churn extension
hgext/churn.py
--- 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: