commands: search for translated version of "DEPRECATED"
The option description is already translated at this point, so we must
search for a translation of "DEPRECATED".
--- a/mercurial/commands.py Fri Oct 23 23:10:05 2009 +0200
+++ b/mercurial/commands.py Sat Oct 24 00:29:25 2009 +0200
@@ -1604,7 +1604,7 @@
for title, options in option_lists:
opt_output.append(("\n%s" % title, None))
for shortopt, longopt, default, desc in options:
- if "DEPRECATED" in desc and not ui.verbose: continue
+ if _("DEPRECATED") in desc and not ui.verbose: continue
opt_output.append(("%2s%s" % (shortopt and "-%s" % shortopt,
longopt and " --%s" % longopt),
"%s%s" % (desc,