mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f024af31b0
commit
5e28991c17
@ -43,8 +43,8 @@ sizes, adjust margins, etc. Every action performs only the minimum set of
|
||||
changes needed for the desired effect.</p>
|
||||
|
||||
<p>You should use this tool as the last step in your ebook creation process.</p>
|
||||
|
||||
<p>Note that polishing only works on files in the %s formats.</p>
|
||||
{0}
|
||||
<p>Note that polishing only works on files in the %s formats.</p>\
|
||||
''')%_(' or ').join('<b>%s</b>'%x for x in SUPPORTED),
|
||||
|
||||
'subset': _('''\
|
||||
@ -69,7 +69,7 @@ text might not be covered by the subset font.</p>
|
||||
'jacket': _('''\
|
||||
<p>Insert a "book jacket" page at the start of the book that contains
|
||||
all the book metadata such as title, tags, authors, series, comments,
|
||||
etc.</p>'''),
|
||||
etc. Any previous book jacket will be replaced.</p>'''),
|
||||
|
||||
'remove_jacket': _('''\
|
||||
<p>Remove a previous inserted book jacket page.</p>
|
||||
@ -85,7 +85,7 @@ when single quotes at the start of contractions are involved.</p>
|
||||
|
||||
def hfix(name, raw):
|
||||
if name == 'about':
|
||||
return raw
|
||||
return raw.format('')
|
||||
raw = raw.replace('\n\n', '__XX__')
|
||||
raw = raw.replace('\n', ' ')
|
||||
raw = raw.replace('__XX__', '\n')
|
||||
|
@ -37,7 +37,13 @@ class Polish(QDialog): # {{{
|
||||
self.setWindowTitle(title)
|
||||
|
||||
self.help_text = {
|
||||
'polish': _('<h3>About Polishing books</h3>%s')%HELP['about'],
|
||||
'polish': _('<h3>About Polishing books</h3>%s')%HELP['about'].format(
|
||||
_('''<p>If you have both EPUB and ORIGINAL_EPUB in your book,
|
||||
then polishing will run on ORIGINAL_EPUB (the same for other
|
||||
ORIGINAL_* formats). So if you
|
||||
want Polishing to not run on the ORIGINAL_* format, delete the
|
||||
ORIGINAL_* format before running it.</p>''')
|
||||
),
|
||||
|
||||
'subset':_('<h3>Subsetting fonts</h3>%s')%HELP['subset'],
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user