# HG changeset patch # User FUJIWARA Katsunori # Date 1464195454 -32400 # Node ID a38c1808fbc6c76478fa52cae1c2adc8e6c0f938 # Parent 28dc0030228a9d034fdb8870d79532772a7473ab 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. diff -r 28dc0030228a -r a38c1808fbc6 mercurial/commands.py --- 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)