Mercurial > hg-stable
changeset 9636:926eba48eac9
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".
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sat, 24 Oct 2009 00:29:25 +0200 |
parents | 5d8125bbbbf4 |
children | 64425c5a9257 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,