This commit is contained in:
Kovid Goyal 2016-12-27 09:03:41 +05:30
parent 6ceb84e701
commit 0cc55a1346

View File

@ -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