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.
--- 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)