changeset 29244:a38c1808fbc6

grep: make a message translatable This message has been overlooked by check-code, because it starts with non-alphabet character (' '). This is also a part of preparation for making "missing _() in ui message" detection of check-code more exact.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Thu, 26 May 2016 01:57:34 +0900
parents 28dc0030228a
children 9d0d1242cd48
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Thu May 26 01:57:34 2016 +0900
+++ b/mercurial/commands.py	Thu May 26 01:57:34 2016 +0900
@@ -4410,7 +4410,7 @@
             if not opts.get('files_with_matches'):
                 ui.write(sep, label='grep.sep')
                 if not opts.get('text') and binary():
-                    ui.write(" Binary file matches")
+                    ui.write(_(" Binary file matches"))
                 else:
                     for s, label in l:
                         ui.write(s, label=label)