mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'typos2' of https://github.com/luzpaz/calibre
This commit is contained in:
commit
283dff5177
@ -17,7 +17,7 @@ class HighCountryNews(BasicNewsRecipe):
|
||||
# Update language to fix how it appears in UI tree
|
||||
# Version 2.2
|
||||
# Update RSS feeds to hcn.org and keep the old feedburner feeds still in place
|
||||
# as there are some old articles available only at feedburner adress
|
||||
# as there are some old articles available only at feedburner address
|
||||
# 2019-07-04
|
||||
# Version 2.3
|
||||
# New Page design at HighCountryNews
|
||||
|
@ -59,7 +59,7 @@ class PrivateEyeRecipe(BasicNewsRecipe):
|
||||
def abs_url(self, url):
|
||||
return self.web_root + url if url.startswith('/') else url
|
||||
|
||||
# Create a correctly formated DICT entry for Calibre parse_index return
|
||||
# Create a correctly formatted DICT entry for Calibre parse_index return
|
||||
def article_entry(self, title, url, author=None):
|
||||
article = {
|
||||
'title': title,
|
||||
|
@ -221,7 +221,7 @@ class InputFormatPlugin(Plugin):
|
||||
by this plugin.
|
||||
:param log: A :class:`calibre.utils.logging.Log` object. All output
|
||||
should use this object.
|
||||
:param accelarators: A dictionary of various information that the input
|
||||
:param accelerators: A dictionary of various information that the input
|
||||
plugin can get easily that would speed up the
|
||||
subsequent stages of the conversion.
|
||||
|
||||
|
@ -130,7 +130,7 @@ class MarkdownHighlighter(QSyntaxHighlighter):
|
||||
cursor = QTextCursor(self.document())
|
||||
bf = cursor.blockFormat()
|
||||
|
||||
#Block quotes can contain all elements so process it first, internaly process recusively and return
|
||||
#Block quotes can contain all elements so process it first, internally process recursively and return
|
||||
if self.highlightBlockQuote(text, cursor, bf):
|
||||
return
|
||||
|
||||
|
@ -426,7 +426,7 @@ class CreateCustomColumn(QDialog):
|
||||
_('Choose whether or not the column heading is shown in the Book '
|
||||
'details panel and, if shown, where. Setting this to '
|
||||
"'Show heading to the side of the text' moves the information "
|
||||
"from dislayed with other comments to displayed with the "
|
||||
"from displayed with other comments to displayed with the "
|
||||
"non-comments columns.") + '</p>')
|
||||
self.comments_heading_position_label = add_row(_('Heading position:'), ct)
|
||||
|
||||
|
@ -1199,7 +1199,7 @@ def get_appdata():
|
||||
|
||||
def changelog_bullet_to_text(bullet):
|
||||
# It would be great if we could use any fancier formatting here, but the
|
||||
# only allowed inline formattings within the AppData description bullet
|
||||
# only allowed inline formatting within the AppData description bullet
|
||||
# points are emphasis (italics) and code (monospaced font)
|
||||
text = [bullet['title']]
|
||||
if 'author' in bullet:
|
||||
|
@ -73,7 +73,7 @@ class WorkerThread(threading.Thread):
|
||||
"""
|
||||
|
||||
def __init__(self, requestsQueue, resultsQueue, **kwds):
|
||||
"""Set up thread in daemonic mode and start it immediatedly.
|
||||
"""Set up thread in daemonic mode and start it immediately.
|
||||
|
||||
requestsQueue and resultQueue are instances of queue.Queue passed
|
||||
by the ThreadPool class when it creates a new worker thread.
|
||||
|
@ -515,7 +515,7 @@ class BasicNewsRecipe(Recipe):
|
||||
def image_url_processor(cls, baseurl, url):
|
||||
'''
|
||||
Perform some processing on image urls (perhaps removing size restrictions for
|
||||
dynamically generated images, etc.) and return the precessed URL. Return None
|
||||
dynamically generated images, etc.) and return the processed URL. Return None
|
||||
or an empty string to skip fetching the image.
|
||||
'''
|
||||
return url
|
||||
|
Loading…
x
Reference in New Issue
Block a user