changeset 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 f7d545a866e8
children 12472a240398
files hgext/churn.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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: