diff hgext/mq.py @ 11121:d061ef1d781c

mq: make use of output labeling for summary
author Eric Eisner <ede@mit.edu>
date Fri, 07 May 2010 16:51:45 -0400
parents 0bedcbcb3ae2
children 687c7d395f20
line wrap: on
line diff
--- a/hgext/mq.py	Fri May 07 23:31:49 2010 +0200
+++ b/hgext/mq.py	Fri May 07 16:51:45 2010 -0400
@@ -2668,9 +2668,9 @@
     m = []
     a, u = len(q.applied), len(q.unapplied(repo))
     if a:
-        m.append(_("%d applied") % a)
+        m.append(ui.label(_("%d applied"), 'qseries.applied') % a)
     if u:
-        m.append(_("%d unapplied") % u)
+        m.append(ui.label(_("%d unapplied"), 'qseries.unapplied') % u)
     if m:
         ui.write("mq:     %s\n" % ', '.join(m))
     else: