mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
6ceb84e701
commit
0cc55a1346
@ -109,7 +109,7 @@ class TweakEpubAction(InterfaceAction):
|
|||||||
if not tweakable_fmts:
|
if not tweakable_fmts:
|
||||||
return error_dialog(self.gui, _('Cannot Edit Book'),
|
return error_dialog(self.gui, _('Cannot Edit Book'),
|
||||||
_('The book must be in the %s formats to edit.'
|
_('The book must be in the %s formats to edit.'
|
||||||
'\n\nFirst convert the book to one of these formats.') % (_(' or '.join(SUPPORTED))),
|
'\n\nFirst convert the book to one of these formats.') % (_(' or ').join(SUPPORTED)),
|
||||||
show=True)
|
show=True)
|
||||||
from calibre.gui2.tweak_book import tprefs
|
from calibre.gui2.tweak_book import tprefs
|
||||||
tprefs.refresh() # In case they were changed in a Tweak Book process
|
tprefs.refresh() # In case they were changed in a Tweak Book process
|
||||||
|
Loading…
x
Reference in New Issue
Block a user