mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-04 14:54:02 +00:00
Translate script function documentation bits
This commit is contained in:
committed by
Philipp Wolfer
parent
edc6bbf72b
commit
655e7faca1
@@ -173,14 +173,14 @@ class FunctionRegistryItem:
|
||||
|
||||
def markdowndoc(self):
|
||||
if self.documentation is not None:
|
||||
ret = self.documentation
|
||||
ret = _(self.documentation)
|
||||
else:
|
||||
ret = ''
|
||||
return self._preprocess(ret)
|
||||
|
||||
def htmldoc(self):
|
||||
if self.documentation is not None and markdown is not None:
|
||||
ret = markdown(self.documentation)
|
||||
ret = markdown(_(self.documentation))
|
||||
else:
|
||||
ret = ''
|
||||
return self._preprocess(ret)
|
||||
|
||||
Reference in New Issue
Block a user