# HG changeset patch # User Martin Geisler # Date 2008-08-31 14:12:02 # Node ID a9411e29773fd52bd78858d395c6c02c450a8615 # Parent f7d545a866e80735d5c0fe6fed7ea92f40820e21 i18n: mark strings for translation in churn extension diff --git a/hgext/churn.py b/hgext/churn.py --- a/hgext/churn.py +++ b/hgext/churn.py @@ -58,14 +58,14 @@ def countrevs(ui, repo, amap, revs, prog 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: