Skip to content

Commit

Permalink
Don't include HTML tags for translations
Browse files Browse the repository at this point in the history
  • Loading branch information
pathmapper authored and nyalldawson committed Sep 6, 2021
1 parent 5c4ab41 commit c8e814a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/HelpEditionDialog.py
Expand Up @@ -95,14 +95,14 @@ def getHtml(self):
inputs += '<h3>' + param.description() + '</h3>\n'
inputs += '<p>' + self.getDescription(param.name()) + '</p>\n'
if inputs:
s += self.tr('<h2>Input parameters</h2>\n') + inputs
s += '<h2>' + self.tr('Input parameters') + '</h2>\n' + inputs
outputs = ""
for out in self.alg.outputDefinitions():
if self.getDescription(param.name()):
outputs += '<h3>' + out.description() + '</h3>\n'
outputs += '<p>' + self.getDescription(out.name()) + '</p>\n'
if outputs:
s += self.tr('<h2>Outputs</h2>\n') + outputs
s += '<h2>' + self.tr('Outputs') + '</h2>\n' + outputs
s += '<br>'
if self.getDescription(self.ALG_CREATOR):
s += '<p align=\"right\">' + self.tr('Algorithm author') + ': ' + self.getDescription(self.ALG_CREATOR) + '</p>'
Expand Down

0 comments on commit c8e814a

Please sign in to comment.