Mercurial > hg-stable
changeset 9247:5ee916274ce0
Merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 27 Jul 2009 18:38:03 -0500 |
parents | 26fa0e31011d (current diff) d98cef25b5af (diff) |
children | ac02b43bc08a |
files | |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/gendoc.py Sun Jul 26 18:02:06 2009 +0200 +++ b/doc/gendoc.py Mon Jul 27 18:38:03 2009 -0500 @@ -5,7 +5,7 @@ sys.path.append(os.path.join('..', 'mercurial', 'pure')) from mercurial import demandimport; demandimport.enable() from mercurial.commands import table, globalopts -from mercurial.i18n import gettext, _ +from mercurial.i18n import _ from mercurial.help import helptable def get_desc(docstr): @@ -102,11 +102,9 @@ # print topics for names, section, doc in helptable: - underlined(gettext(section).upper()) + underlined(section.upper()) if callable(doc): doc = doc() - else: - doc = gettext(doc) ui.write(doc) ui.write("\n")