Patchwork [1,of,6,V5] cmdutil: add missing "i18n" comment about "trouble: " line

login
register
mail settings
Submitter Denis Laxalde
Date Jan. 6, 2017, 3:32 p.m.
Message ID <8cb7662ab0192840380a.1483716744@sh77.tls.logilab.fr>
Download mbox | patch
Permalink /patch/18117/
State Accepted
Headers show

Comments

Denis Laxalde - Jan. 6, 2017, 3:32 p.m.
# HG changeset patch
# User Denis Laxalde <denis.laxalde@logilab.fr>
# Date 1483702581 -3600
#      Fri Jan 06 12:36:21 2017 +0100
# Node ID 8cb7662ab0192840380a3ce8f521b9ff38a0bbb2
# Parent  13d94304c8daa1fea0551ffb39b2ca3da40e92d7
# EXP-Topic evolve-ui
cmdutil: add missing "i18n" comment about "trouble: " line

Follow-up on f05ede08dcf7 per late review.

Patch

diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -1257,6 +1257,7 @@  class changeset_printer(object):
                       label='log.date')
 
         if ctx.troubled():
+            # i18n: column positioning for "hg log"
             self.ui.write(_("trouble:     %s\n") % ', '.join(ctx.troubles()),
                           label='ui.note log.trouble')