mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:string typos
This commit is contained in:
commit
7e256cd3dc
@ -353,7 +353,7 @@ class SetTime(Command):
|
|||||||
|
|
||||||
class ShortCommand(Command):
|
class ShortCommand(Command):
|
||||||
|
|
||||||
""" A L{Command} whoose data section is 4 bytes long """
|
""" A L{Command} whose data section is 4 bytes long """
|
||||||
|
|
||||||
SIZE = 20 #: Packet size in bytes
|
SIZE = 20 #: Packet size in bytes
|
||||||
# Usually carries additional information
|
# Usually carries additional information
|
||||||
@ -431,7 +431,7 @@ class UnlockDevice(Command):
|
|||||||
|
|
||||||
class LongCommand(Command):
|
class LongCommand(Command):
|
||||||
|
|
||||||
""" A L{Command} whoose data section is 16 bytes long """
|
""" A L{Command} whose data section is 16 bytes long """
|
||||||
|
|
||||||
SIZE = 32 #: Size in bytes of C{LongCommand} packets
|
SIZE = 32 #: Size in bytes of C{LongCommand} packets
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ def option_parser(usage, gui_mode=False):
|
|||||||
'''links. A value of 0 means thats links are not followed. '''
|
'''links. A value of 0 means thats links are not followed. '''
|
||||||
'''A negative value means that <a> tags are ignored.'''))
|
'''A negative value means that <a> tags are ignored.'''))
|
||||||
link.add_option('--link-exclude', dest='link_exclude', default='@',
|
link.add_option('--link-exclude', dest='link_exclude', default='@',
|
||||||
help=_('''A regular expression. <a> tags whoose href '''
|
help=_('''A regular expression. <a> tags whose href '''
|
||||||
'''matches will be ignored. Defaults to %default'''))
|
'''matches will be ignored. Defaults to %default'''))
|
||||||
link.add_option('--no-links-in-toc', action='store_true', default=False,
|
link.add_option('--no-links-in-toc', action='store_true', default=False,
|
||||||
dest='no_links_in_toc',
|
dest='no_links_in_toc',
|
||||||
@ -186,7 +186,7 @@ def option_parser(usage, gui_mode=False):
|
|||||||
'''turn performance of the LRF. Thus this option is ignored '''
|
'''turn performance of the LRF. Thus this option is ignored '''
|
||||||
'''if the current page has only a few elements.'''))
|
'''if the current page has only a few elements.'''))
|
||||||
chapter.add_option('--force-page-break-before-tag', dest='force_page_break',
|
chapter.add_option('--force-page-break-before-tag', dest='force_page_break',
|
||||||
default='$', help=_('Force a page break before tags whoose names match this regular expression.'))
|
default='$', help=_('Force a page break before tags whose names match this regular expression.'))
|
||||||
chapter.add_option('--force-page-break-before-attr', dest='force_page_break_attr',
|
chapter.add_option('--force-page-break-before-attr', dest='force_page_break_attr',
|
||||||
default='$,,$', help=_('Force a page break before an element having the specified attribute. The format for this option is tagname regexp,attribute name,attribute value regexp. For example to match all heading tags that have the attribute class="chapter" you would use "h\d,class,chapter". Default is %default'''))
|
default='$,,$', help=_('Force a page break before an element having the specified attribute. The format for this option is tagname regexp,attribute name,attribute value regexp. For example to match all heading tags that have the attribute class="chapter" you would use "h\d,class,chapter". Default is %default'''))
|
||||||
chapter.add_option('--add-chapters-to-toc', action='store_true',
|
chapter.add_option('--add-chapters-to-toc', action='store_true',
|
||||||
|
@ -105,7 +105,7 @@ key is the account key you generate after signing up for a free account from isb
|
|||||||
parser.add_option('-i', '--isbn', default=None, dest='isbn',
|
parser.add_option('-i', '--isbn', default=None, dest='isbn',
|
||||||
help=_('The ISBN ID of the book you want metadata for.'))
|
help=_('The ISBN ID of the book you want metadata for.'))
|
||||||
parser.add_option('-a', '--author', dest='author',
|
parser.add_option('-a', '--author', dest='author',
|
||||||
default=None, help=_('The author whoose book to search for.'))
|
default=None, help=_('The author whose book to search for.'))
|
||||||
parser.add_option('-t', '--title', dest='title',
|
parser.add_option('-t', '--title', dest='title',
|
||||||
default=None, help=_('The title of the book to search for.'))
|
default=None, help=_('The title of the book to search for.'))
|
||||||
parser.add_option('-p', '--publisher', default=None, dest='publisher',
|
parser.add_option('-p', '--publisher', default=None, dest='publisher',
|
||||||
|
@ -81,7 +81,7 @@ def compile_recipe(src):
|
|||||||
|
|
||||||
def get_builtin_recipe(title):
|
def get_builtin_recipe(title):
|
||||||
'''
|
'''
|
||||||
Return a builtin recipe/profile class whoose title == C{title} or None if no such
|
Return a builtin recipe/profile class whose title == C{title} or None if no such
|
||||||
recipe exists. Also returns a flag that is True iff the found recipe is really
|
recipe exists. Also returns a flag that is True iff the found recipe is really
|
||||||
an old-style Profile.
|
an old-style Profile.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user