Update toc_edit.py

string change
This commit is contained in:
chocolatechipcats 2024-08-17 05:46:18 -03:00 committed by GitHub
parent 592f250644
commit 5562c2a621
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,7 +95,7 @@ class ToCEditAction(InterfaceActionWithLibraryDrop):
if not ans: if not ans:
error_dialog(self.gui, _('Cannot edit ToC'), error_dialog(self.gui, _('Cannot edit ToC'),
_('Editing Table of Contents is only supported for books in the %s' _('Editing Table of Contents is only supported for books in the %s'
' formats. Convert to one of those formats before polishing.') ' formats. Convert to one of those formats before editing.')
%_(' or ').join(sorted(supported)), show=True) %_(' or ').join(sorted(supported)), show=True)
ans = OrderedDict(ans) ans = OrderedDict(ans)
if len(ans) > 5: if len(ans) > 5: