# HG changeset patch # User Martin Geisler # Date 2009-10-23 22:29:25 # Node ID 926eba48eac97a91a6ef33653da190ae7c9b039b # Parent 5d8125bbbbf4f4ef236751083d3948cd710406cf 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". diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -1604,7 +1604,7 @@ def help_(ui, name=None, with_version=Fa 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,