##// END OF EJS Templates
commands: enable 'hg help' translation of extensions
Tobias Bell -
r8007:a4defdc4 default
parent child Browse files
Show More
@@ -1425,7 +1425,7 b' def help_(ui, name=None, with_version=Fa'
1425 maxlength = 0
1425 maxlength = 0
1426 exthelps = []
1426 exthelps = []
1427 for ename, ext in exts:
1427 for ename, ext in exts:
1428 doc = (ext.__doc__ or _('(no help text available)'))
1428 doc = (gettext(ext.__doc__) or _('(no help text available)'))
1429 ename = ename.split('.')[-1]
1429 ename = ename.split('.')[-1]
1430 maxlength = max(len(ename), maxlength)
1430 maxlength = max(len(ename), maxlength)
1431 exthelps.append((ename, doc.splitlines(0)[0].strip()))
1431 exthelps.append((ename, doc.splitlines(0)[0].strip()))
General Comments 0
You need to be logged in to leave comments. Login now