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
0c65e5a332
commit
8d3402d0a4
@ -497,7 +497,7 @@ class Source(Plugin):
|
|||||||
|
|
||||||
def get_book_urls(self, identifiers):
|
def get_book_urls(self, identifiers):
|
||||||
'''
|
'''
|
||||||
Override this method if you would like to return multiple urls for this book.
|
Override this method if you would like to return multiple URLs for this book.
|
||||||
Return a list of 3-tuples. By default this method simply calls :func:`get_book_url`.
|
Return a list of 3-tuples. By default this method simply calls :func:`get_book_url`.
|
||||||
'''
|
'''
|
||||||
data = self.get_book_url(identifiers)
|
data = self.get_book_url(identifiers)
|
||||||
|
@ -680,7 +680,7 @@ class EditorWidget(QTextEdit, LineEditECM): # {{{
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
error_dialog(self, _('Invalid URL'),
|
error_dialog(self, _('Invalid URL'),
|
||||||
_('The url %r is invalid') % link, show=True)
|
_('The URL %r is invalid') % link, show=True)
|
||||||
|
|
||||||
def ask_link(self):
|
def ask_link(self):
|
||||||
|
|
||||||
|
@ -335,7 +335,7 @@ class BasicNewsRecipe(Recipe):
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
#: By default, calibre will use a default image for the masthead (Kindle only).
|
#: By default, calibre will use a default image for the masthead (Kindle only).
|
||||||
#: Override this in your recipe to provide a url to use as a masthead.
|
#: Override this in your recipe to provide a URL to use as a masthead.
|
||||||
masthead_url = None
|
masthead_url = None
|
||||||
|
|
||||||
#: By default, the cover image returned by get_cover_url() will be used as
|
#: By default, the cover image returned by get_cover_url() will be used as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user