This commit is contained in:
Kovid Goyal 2022-07-07 13:00:16 +05:30
parent e19c7ea10f
commit 199967af6b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -647,7 +647,8 @@ class ResultDetails(QWidget):
html.append('<hr>') html.append('<hr>')
for fmt in formats: for fmt in formats:
fmt = fmt.upper() fmt = fmt.upper()
tt = _('Open the book, in the {fmt} format.\nWhen using the calibre viewer, it will attempt to scroll\nto this search result automatically.' tt = _('Open the book, in the {fmt} format.\nWhen using the calibre E-book viewer, it will attempt to scroll\n'
'to this search result automatically.'
).format(fmt=fmt) ).format(fmt=fmt)
html.append(f'<a title="{tt}" href="book:///{self.current_book_id}/{i}/{fmt}">{fmt}</a>\xa0 ') html.append(f'<a title="{tt}" href="book:///{self.current_book_id}/{i}/{fmt}">{fmt}</a>\xa0 ')
html.append(f'<p>{text}</p>') html.append(f'<p>{text}</p>')