diff options
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/convertfilters.py | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/helpers/convertfilters.py b/helpers/convertfilters.py index 85b8df7344..209a78c1dc 100644 --- a/helpers/convertfilters.py +++ b/helpers/convertfilters.py @@ -69,34 +69,37 @@ for module in modules: output += f' <table id="{rdm("tbl")}">\n' output += ' <tablerow>\n' output += ' <tablecell>\n' - output += f' <paragraph role="tablehead" id="hd_111{module[:-4]}"><embedvar href="text/shared/guide/convertfilters.xhp#filtername" markup="ignore"/>' + output += f' <paragraph role="tablehead" localize="false" id="hd_111{module[:-4]}"><embedvar href="text/shared/guide/convertfilters.xhp#filtername" markup="ignore"/>' output += '</paragraph>\n' output += ' </tablecell>\n' output += ' <tablecell>\n' - output += f' <paragraph role="tablehead" id="hd_222{module[:-4]}"><embedvar href="text/shared/guide/convertfilters.xhp#mediatype" markup="ignore"/>' + output += f' <paragraph role="tablehead" localize="false" id="hd_222{module[:-4]}"><embedvar href="text/shared/guide/convertfilters.xhp#mediatype" markup="ignore"/>' output += '</paragraph>\n' output += ' </tablecell>\n' output += ' <tablecell>\n' - output += f' <paragraph role="tablehead" id="hd_333{module[:-4]}"><embedvar href="text/shared/guide/convertfilters.xhp#fileextensions" markup="ignore"/>' + output += f' <paragraph role="tablehead" localize="false" id="hd_333{module[:-4]}"><embedvar href="text/shared/guide/convertfilters.xhp#fileextensions" markup="ignore"/>' output += '</paragraph>\n' output += ' </tablecell>\n' output += ' </tablerow>\n' - + count = 0 for item in st: output += ' <tablerow>\n' output += ' <tablecell>\n' - output += f' <paragraph role="paragraph" id="{rdm("par")}" localize="false">' + output += f' <paragraph role="paragraph" id="{"par_" + module[:-4] + str(count)}">' output += f'{item[0]}' + count +=1 output += '</paragraph>\n' output += ' </tablecell>\n' output += ' <tablecell>\n' - output += f' <paragraph role="paragraph" id="{rdm("par")}" localize="false">' + output += f' <paragraph role="paragraph" id="{"par_" + module[:-4] + str(count)}">' output += f'{item[1]}' + count +=1 output += '</paragraph>\n' output += ' </tablecell>\n' output += ' <tablecell>\n' - output += f' <paragraph role="paragraph" id="{rdm("par")}" localize="false">' + output += f' <paragraph role="paragraph" id="{"par_" + module[:-4] + str(count)}" localize="false">' output += f'{item[2]}' + count +=1 output += '</paragraph>\n' output += ' </tablecell>\n' output += ' </tablerow>\n' |