Add footnotes to output translation file
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"Synopsis": "Synopsis",
|
"Synopsis": "Synopsis",
|
||||||
"Short Description": "Short Description",
|
"Short Description": "Short Description",
|
||||||
|
"Footnotes": "Footnotes",
|
||||||
"Comment": "Comment",
|
"Comment": "Comment",
|
||||||
"Notes": "Notes",
|
"Notes": "Notes",
|
||||||
"Tag": "Tag",
|
"Tag": "Tag",
|
||||||
|
|||||||
@@ -209,6 +209,7 @@ class ToMarkdown(Tokenizer):
|
|||||||
indent = "\n\n"+" "*len(marker)
|
indent = "\n\n"+" "*len(marker)
|
||||||
text = indent.join(self._formatText(t, f, tags) for t, f in content)
|
text = indent.join(self._formatText(t, f, tags) for t, f in content)
|
||||||
lines.append(f"{marker}{text}\n")
|
lines.append(f"{marker}{text}\n")
|
||||||
|
lines.append("\n")
|
||||||
|
|
||||||
result = "".join(lines)
|
result = "".join(lines)
|
||||||
self._result += result
|
self._result += result
|
||||||
|
|||||||
Reference in New Issue
Block a user