changeset 9241:d98cef25b5af

Merge with crew-stable
author Martin Geisler <mg@lazybytes.net>
date Fri, 24 Jul 2009 15:28:29 +0200
parents 65719472bfa2 (current diff) b6cb3af61582 (diff)
children 5ee916274ce0 16f4cfc69e4f
files doc/gendoc.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/doc/gendoc.py	Thu Jul 23 15:26:29 2009 -0500
+++ b/doc/gendoc.py	Fri Jul 24 15:28:29 2009 +0200
@@ -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")