mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
94909a30da
commit
770fd08aae
@ -57,10 +57,10 @@ def copy_all(web_view):
|
|||||||
|
|
||||||
|
|
||||||
def create_search_internet_menu(callback, author=None):
|
def create_search_internet_menu(callback, author=None):
|
||||||
m = QMenu(
|
m = QMenu((
|
||||||
_('Search the internet for the author {}…').format(author)
|
_('Search the internet for the author {}').format(author)
|
||||||
if author is not None else
|
if author is not None else
|
||||||
_('Search the internet for this book…')
|
_('Search the internet for this book')) + '…'
|
||||||
)
|
)
|
||||||
items = all_book_searches() if author is None else all_author_searches()
|
items = all_book_searches() if author is None else all_author_searches()
|
||||||
for k in sorted(items, key=lambda k: name_for(k).lower()):
|
for k in sorted(items, key=lambda k: name_for(k).lower()):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user