mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
[SNBOutput] Change wording for the unused page content on each page before the first bookmark appeared in TOC.
This commit is contained in:
parent
dafa2c9034
commit
63bb69d4ec
@ -141,10 +141,10 @@ class SNBOutput(OutputFormatPlugin):
|
|||||||
else:
|
else:
|
||||||
outputFiles[item[0]] = []
|
outputFiles[item[0]] = []
|
||||||
if not "" in outputFiles[item[0]]:
|
if not "" in outputFiles[item[0]]:
|
||||||
outputFiles[item[0]].append(("", _("Chapter Start")))
|
outputFiles[item[0]].append(("", tocitem.title + _(" (Preface)")))
|
||||||
ch = etree.SubElement(tocBody, "chapter")
|
ch = etree.SubElement(tocBody, "chapter")
|
||||||
ch.set("src", ProcessFileName(item[0]) + ".snbc")
|
ch.set("src", ProcessFileName(item[0]) + ".snbc")
|
||||||
ch.text = _("Chapter Start")
|
ch.text = tocitem.title + _(" (Preface)")
|
||||||
outputFiles[item[0]].append((item[1], tocitem.title))
|
outputFiles[item[0]].append((item[1], tocitem.title))
|
||||||
else:
|
else:
|
||||||
if tocitem.href in outputFiles:
|
if tocitem.href in outputFiles:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user