Add a note to the L&F / Book Details custom author url tooltip that the author is already URL-encoded.

This commit is contained in:
Charles Haley 2025-02-12 20:40:40 +00:00
parent 711edc6c7c
commit 2787b65310

View File

@ -66,7 +66,8 @@ class DefaultAuthorLink(QWidget):
u.setToolTip(_(
'Enter the URL to search. It should contain the string {0}'
'\nwhich will be replaced by the author name. For example,'
'\n{1}').format('{author}', 'https://en.wikipedia.org/w/index.php?search={author}'))
'\n{1}. Note: the author name is already URL-encoded.').format(
'{author}', 'https://en.wikipedia.org/w/index.php?search={author}'))
u.textChanged.connect(self.changed_signal)
u.setPlaceholderText(_('Enter the URL'))
ul.addWidget(u)