string changes

This commit is contained in:
Kovid Goyal 2025-02-28 09:03:20 +05:30
parent 10b9da85ea
commit 5e4a850a68
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -366,11 +366,11 @@ class BookUploadsGroupBox(DeviceOptionsGroupBox):
tooltip=_(
'Enter a template to decide if an EPUB book is to be auto converted to KEPUB. '
'If the template returns false or no result, the book will not be '
'converted to KEPUB. For example to only kepubify books that have the tag "as_kepub", use the template: {0}'
' or to only convert books that do not have the tag as_epub, use the template: {1}'
'converted to KEPUB. For example to only kepubify books that have the tag "{0}", use the template: {1}'
' or to only convert books that do not have the tag "{2}", use the template: {3}'
'\n\nIf no template is specified conversion to KEPUB is controlled only by the setting above to use the Kobo viewer. '
'Note that the setting above must be enabled for the template to be checked.'
).format(r'{tags:str_in_list(\,,as_kepub,true,false)}', r'{tags:str_in_list(\,,as_epub,false,true)}')
).format('as_kepub', r'{tags:str_in_list(\,,as_kepub,true,false)}', 'as_epub', r'{tags:str_in_list(\,,as_epub,false,true)}')
)
la.setBuddy(self.kepubify_template_edit)