forked from openlp/openlp
corrected placeholder tags in explanation
This commit is contained in:
parent
eadabee85e
commit
21d1311914
@ -159,9 +159,10 @@ class SongsTab(SettingsTab):
|
||||
.format(ph=translate('SongsPlugin.SongsTab', 'Placeholder'),
|
||||
desc=translate('SongsPlugin.SongsTab', 'Description'))
|
||||
for placeholder in placeholders:
|
||||
placeholder_info += '<tr><td>{{{pl}}}</td><td>{des}{opt}</td></tr>\n'\
|
||||
placeholder_info += '<tr><td>{{{{{pl}}}}}</td><td>{des}{opt}</td></tr>\n'\
|
||||
.format(pl=placeholder[0], des=placeholder[1],
|
||||
opt=(' ¹' if placeholder[2] else '') + (' ²' if placeholder[3] else ''))
|
||||
opt=(' ¹' if placeholder[2] else '') +
|
||||
(' ²' if placeholder[3] else ''))
|
||||
placeholder_info += '</table>'
|
||||
placeholder_info += '\n<br/>¹ {}'.format(translate('SongsPlugin.SongsTab', 'can be empty'))
|
||||
placeholder_info += '\n<br/>² {}:<pre>{{#first}} <i>True</i> {}<br/>{{entry}} {}<br/>' \
|
||||
|
Loading…
Reference in New Issue
Block a user