mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
String changes
This commit is contained in:
parent
baea16dde4
commit
c69f2851f3
@ -32,7 +32,7 @@ BOOK_SEARCHES = {
|
|||||||
|
|
||||||
NAMES = {
|
NAMES = {
|
||||||
'goodreads': _('Goodreads'),
|
'goodreads': _('Goodreads'),
|
||||||
'google': _('Google books'),
|
'google': _('Google Books'),
|
||||||
'wikipedia': _('Wikipedia'),
|
'wikipedia': _('Wikipedia'),
|
||||||
'gws': _('Google web search'),
|
'gws': _('Google web search'),
|
||||||
'amzn': _('Amazon'),
|
'amzn': _('Amazon'),
|
||||||
|
@ -749,13 +749,13 @@ def search_internet(container_id):
|
|||||||
for name, url in [
|
for name, url in [
|
||||||
(_('Goodreads'), 'https://www.goodreads.com/book/author/{author}'),
|
(_('Goodreads'), 'https://www.goodreads.com/book/author/{author}'),
|
||||||
(_('Wikipedia'), 'https://en.wikipedia.org/w/index.php?search={author}'),
|
(_('Wikipedia'), 'https://en.wikipedia.org/w/index.php?search={author}'),
|
||||||
(_('Google books'), 'https://www.google.com/search?tbm=bks&q=inauthor:%22{author}%22'),
|
(_('Google Books'), 'https://www.google.com/search?tbm=bks&q=inauthor:%22{author}%22'),
|
||||||
]:
|
]:
|
||||||
author_links.appendChild(E.li(link_for(name, url)))
|
author_links.appendChild(E.li(link_for(name, url)))
|
||||||
|
|
||||||
for name, url in [
|
for name, url in [
|
||||||
(_('Goodreads'), 'https://www.goodreads.com/search?q={author}+{title}&search%5Bsource%5D=goodreads&search_type=books&tab=books'),
|
(_('Goodreads'), 'https://www.goodreads.com/search?q={author}+{title}&search%5Bsource%5D=goodreads&search_type=books&tab=books'),
|
||||||
(_('Google books'), 'https://www.google.com/search?tbm=bks&q=inauthor:%22{author}%22+intitle:%22{title}%22'),
|
(_('Google Books'), 'https://www.google.com/search?tbm=bks&q=inauthor:%22{author}%22+intitle:%22{title}%22'),
|
||||||
(_('Amazon'), 'https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dstripbooks&field-keywords={author}+{title}'),
|
(_('Amazon'), 'https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dstripbooks&field-keywords={author}+{title}'),
|
||||||
]:
|
]:
|
||||||
book_links.appendChild(E.li(link_for(name, url)))
|
book_links.appendChild(E.li(link_for(name, url)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user