mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Book polishing: Add an option to upgrade EPUB 2 to EPUB 3
This commit is contained in:
parent
bff950e52d
commit
ff952ad851
@ -69,6 +69,7 @@ class Polish(QDialog): # {{{
|
||||
'remove_jacket':_('<h3>Remove book jacket</h3>%s')%HELP['remove_jacket'],
|
||||
'remove_unused_css':_('<h3>Remove unused CSS rules</h3>%s')%HELP['remove_unused_css'],
|
||||
'compress_images': _('<h3>Losslessly compress images</h3>%s') % HELP['compress_images'],
|
||||
'upgrade_book': _('<h3>Upgrade book internals</h3>%s') % HELP['upgrade_book'],
|
||||
}
|
||||
|
||||
self.l = l = QGridLayout()
|
||||
@ -88,6 +89,7 @@ class Polish(QDialog): # {{{
|
||||
('remove_jacket', _('&Remove a previously inserted book jacket')),
|
||||
('remove_unused_css', _('Remove &unused CSS rules from the book')),
|
||||
('compress_images', _('Losslessly &compress images')),
|
||||
('upgrade_book', _('&Upgrade book internals')),
|
||||
])
|
||||
prefs = gprefs.get('polishing_settings', {})
|
||||
for name, text in self.all_actions.iteritems():
|
||||
|
Loading…
x
Reference in New Issue
Block a user