mercurial/hgweb/webcommands.py
branchstable
changeset 16469 dd68c972d089
parent 16448 e6b45e9a75dc
child 16719 e7bf09acd410
child 16722 7bf48bc7de23
--- a/mercurial/hgweb/webcommands.py	Thu Apr 19 23:36:42 2012 +0200
+++ b/mercurial/hgweb/webcommands.py	Thu Apr 19 20:54:56 2012 +0900
@@ -806,7 +806,7 @@
 def _getdoc(e):
     doc = e[0].__doc__
     if doc:
-        doc = doc.split('\n')[0]
+        doc = _(doc).split('\n')[0]
     else:
         doc = _('(no help text available)')
     return doc