mq: make use of output labeling for summary
authorEric Eisner <ede@mit.edu>
Fri, 07 May 2010 16:51:45 -0400
changeset 11121 d061ef1d781c
parent 11120 0bedcbcb3ae2
child 11122 2114e44b08f6
mq: make use of output labeling for summary
hgext/mq.py
--- 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: