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
9df692b071
commit
8cc4943673
@ -319,7 +319,7 @@ remove all non-breaking-space entities, or may include false positive matches re
|
|||||||
If this option is configured then calibre will replace scene break markers it finds with the replacement text specified by the
|
If this option is configured then calibre will replace scene break markers it finds with the replacement text specified by the
|
||||||
user. Please note that some ornamental characters may not be supported across all reading devices.
|
user. Please note that some ornamental characters may not be supported across all reading devices.
|
||||||
|
|
||||||
In general you should avoid using html tags, calibre will discard any tags and use pre-defined markup. <hr />
|
In general you should avoid using HTML tags, calibre will discard any tags and use pre-defined markup. <hr />
|
||||||
tags, i.e. horizontal rules, and <img> tags are exceptions. Horizontal rules can optionally be specified with styles, if you
|
tags, i.e. horizontal rules, and <img> tags are exceptions. Horizontal rules can optionally be specified with styles, if you
|
||||||
choose to add your own style be sure to include the 'width' setting, otherwise the style information will be discarded. Image
|
choose to add your own style be sure to include the 'width' setting, otherwise the style information will be discarded. Image
|
||||||
tags can used, but calibre does not provide the ability to add the image during conversion, this must be done after the fact using
|
tags can used, but calibre does not provide the ability to add the image during conversion, this must be done after the fact using
|
||||||
@ -690,7 +690,7 @@ TXT input supports a number of options to differentiate how paragraphs are detec
|
|||||||
|
|
||||||
:guilabel:`Formatting style: Heuristic`
|
:guilabel:`Formatting style: Heuristic`
|
||||||
Analyzes the document for common chapter headings, scene breaks, and italicized words and applies the
|
Analyzes the document for common chapter headings, scene breaks, and italicized words and applies the
|
||||||
appropriate html markup during conversion.
|
appropriate HTML markup during conversion.
|
||||||
|
|
||||||
:guilabel:`Formatting style: Markdown`
|
:guilabel:`Formatting style: Markdown`
|
||||||
calibre also supports running TXT input though a transformation preprocessor known as markdown. Markdown
|
calibre also supports running TXT input though a transformation preprocessor known as markdown. Markdown
|
||||||
@ -700,7 +700,7 @@ TXT input supports a number of options to differentiate how paragraphs are detec
|
|||||||
You can learn more about the markdown syntax at `daringfireball <https://daringfireball.net/projects/markdown/syntax>`_.
|
You can learn more about the markdown syntax at `daringfireball <https://daringfireball.net/projects/markdown/syntax>`_.
|
||||||
|
|
||||||
:guilabel:`Formatting style: None`
|
:guilabel:`Formatting style: None`
|
||||||
Applies no special formatting to the text, the document is converted to html with no other changes.
|
Applies no special formatting to the text, the document is converted to HTML with no other changes.
|
||||||
|
|
||||||
.. _pdfconversion:
|
.. _pdfconversion:
|
||||||
|
|
||||||
|
@ -177,7 +177,7 @@ Adding new images/fonts/etc. or creating new blank files
|
|||||||
|
|
||||||
You can add a new image, font, stylesheet, etc. from your computer into the
|
You can add a new image, font, stylesheet, etc. from your computer into the
|
||||||
book by clicking :guilabel:`File->New file`. This lets you either import a file
|
book by clicking :guilabel:`File->New file`. This lets you either import a file
|
||||||
by clicking the :guilabel:`Import resource file` button or create a new blank html file
|
by clicking the :guilabel:`Import resource file` button or create a new blank HTML file
|
||||||
or stylesheet by simply entering the file name into the box for the new file.
|
or stylesheet by simply entering the file name into the box for the new file.
|
||||||
|
|
||||||
You can also import multiple files into the book at once using File->Import
|
You can also import multiple files into the book at once using File->Import
|
||||||
|
@ -101,7 +101,7 @@ class KOBO(USBMS):
|
|||||||
_('The Kobo supports several collections including ')+ 'Read, Closed, Im_Reading. ' +
|
_('The Kobo supports several collections including ')+ 'Read, Closed, Im_Reading. ' +
|
||||||
_('Create tags for automatic management'),
|
_('Create tags for automatic management'),
|
||||||
_('Upload covers for books (newer readers)') +
|
_('Upload covers for books (newer readers)') +
|
||||||
':::'+_('Normally, the KOBO readers get the cover image from the'
|
':::'+_('Normally, the Kobo readers get the cover image from the'
|
||||||
' e-book file itself. With this option, calibre will send a '
|
' e-book file itself. With this option, calibre will send a '
|
||||||
'separate cover image to the reader, useful if you '
|
'separate cover image to the reader, useful if you '
|
||||||
'have modified the cover.'),
|
'have modified the cover.'),
|
||||||
|
@ -67,12 +67,12 @@ class PRS505(USBMS):
|
|||||||
|
|
||||||
EXTRA_CUSTOMIZATION_MESSAGE = [
|
EXTRA_CUSTOMIZATION_MESSAGE = [
|
||||||
_('Comma separated list of metadata fields '
|
_('Comma separated list of metadata fields '
|
||||||
'to turn into collections on the device. Possibilities include: ')+
|
'to turn into collections on the device. Possibilities include: '
|
||||||
'series, tags, authors' +
|
'%(coll)s. Two special collections are available: '
|
||||||
_('. Two special collections are available: %(abt)s:%(abtv)s and %(aba)s:%(abav)s. Add '
|
'%(abt)s:%(abtv)s and %(aba)s:%(abav)s. Add '
|
||||||
'these values to the list to enable them. The collections will be '
|
'these values to the list to enable them. The collections will be '
|
||||||
'given the name provided after the ":" character.')%dict(
|
'given the name provided after the ":" character.')%dict(
|
||||||
abt='abt', abtv=ALL_BY_TITLE, aba='aba', abav=ALL_BY_AUTHOR),
|
abt='abt', abtv=ALL_BY_TITLE, aba='aba', abav=ALL_BY_AUTHOR, coll='series, tags, authors'),
|
||||||
_('Upload separate cover thumbnails for books (newer readers)') + ':::'+
|
_('Upload separate cover thumbnails for books (newer readers)') + ':::'+
|
||||||
_('Normally, the SONY readers get the cover image from the'
|
_('Normally, the SONY readers get the cover image from the'
|
||||||
' e-book file itself. With this option, calibre will send a '
|
' e-book file itself. With this option, calibre will send a '
|
||||||
|
@ -127,4 +127,3 @@ class WEXLER(TECLAST_K3):
|
|||||||
|
|
||||||
VENDOR_NAME = 'WEXLER'
|
VENDOR_NAME = 'WEXLER'
|
||||||
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = 'T7001'
|
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = 'T7001'
|
||||||
|
|
||||||
|
@ -26,10 +26,10 @@ class HTMLOutput(OutputFormatPlugin):
|
|||||||
help=_('CSS file used for the output instead of the default file')),
|
help=_('CSS file used for the output instead of the default file')),
|
||||||
|
|
||||||
OptionRecommendation(name='template_html_index',
|
OptionRecommendation(name='template_html_index',
|
||||||
help=_('Template used for generation of the html index file instead of the default file')),
|
help=_('Template used for generation of the HTML index file instead of the default file')),
|
||||||
|
|
||||||
OptionRecommendation(name='template_html',
|
OptionRecommendation(name='template_html',
|
||||||
help=_('Template used for the generation of the html contents of the book instead of the default file')),
|
help=_('Template used for the generation of the HTML contents of the book instead of the default file')),
|
||||||
|
|
||||||
OptionRecommendation(name='extract_to',
|
OptionRecommendation(name='extract_to',
|
||||||
help=_('Extract the contents of the generated ZIP file to the '
|
help=_('Extract the contents of the generated ZIP file to the '
|
||||||
|
@ -40,8 +40,8 @@ class HTMLZOutput(OutputFormatPlugin):
|
|||||||
)),
|
)),
|
||||||
OptionRecommendation(name='htmlz_title_filename',
|
OptionRecommendation(name='htmlz_title_filename',
|
||||||
recommended_value=False, level=OptionRecommendation.LOW,
|
recommended_value=False, level=OptionRecommendation.LOW,
|
||||||
help=_('If set this option causes the file name of the html file'
|
help=_('If set this option causes the file name of the HTML file'
|
||||||
' inside the htmlz archive to be based on the book title.')
|
' inside the HTMLZ archive to be based on the book title.')
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@ -234,10 +234,10 @@ class FontFamilyDialog(QDialog):
|
|||||||
self.search.returnPressed.connect(self.find)
|
self.search.returnPressed.connect(self.find)
|
||||||
self.nb = QToolButton(self)
|
self.nb = QToolButton(self)
|
||||||
self.nb.setIcon(QIcon(I('arrow-down.png')))
|
self.nb.setIcon(QIcon(I('arrow-down.png')))
|
||||||
self.nb.setToolTip(_('Find Next'))
|
self.nb.setToolTip(_('Find next'))
|
||||||
self.pb = QToolButton(self)
|
self.pb = QToolButton(self)
|
||||||
self.pb.setIcon(QIcon(I('arrow-up.png')))
|
self.pb.setIcon(QIcon(I('arrow-up.png')))
|
||||||
self.pb.setToolTip(_('Find Previous'))
|
self.pb.setToolTip(_('Find previous'))
|
||||||
self.nb.clicked.connect(self.find_next)
|
self.nb.clicked.connect(self.find_next)
|
||||||
self.pb.clicked.connect(self.find_previous)
|
self.pb.clicked.connect(self.find_previous)
|
||||||
|
|
||||||
|
@ -80,11 +80,11 @@ class MetadataSingleDialogBase(QDialog):
|
|||||||
self.button_box = bb = QDialogButtonBox(self)
|
self.button_box = bb = QDialogButtonBox(self)
|
||||||
self.button_box.accepted.connect(self.accept)
|
self.button_box.accepted.connect(self.accept)
|
||||||
self.button_box.rejected.connect(self.reject)
|
self.button_box.rejected.connect(self.reject)
|
||||||
self.next_button = QPushButton(QIcon(I('forward.png')), _('Next'),
|
self.next_button = QPushButton(QIcon(I('forward.png')), _('&Next'),
|
||||||
self)
|
self)
|
||||||
self.next_button.setShortcut(QKeySequence('Alt+Right'))
|
self.next_button.setShortcut(QKeySequence('Alt+Right'))
|
||||||
self.next_button.clicked.connect(self.next_clicked)
|
self.next_button.clicked.connect(self.next_clicked)
|
||||||
self.prev_button = QPushButton(QIcon(I('back.png')), _('Previous'),
|
self.prev_button = QPushButton(QIcon(I('back.png')), _('&Previous'),
|
||||||
self)
|
self)
|
||||||
self.prev_button.setShortcut(QKeySequence('Alt+Left'))
|
self.prev_button.setShortcut(QKeySequence('Alt+Left'))
|
||||||
|
|
||||||
|
@ -553,7 +553,7 @@ A value of zero means calculate automatically.</string>
|
|||||||
<item row="3" column="1">
|
<item row="3" column="1">
|
||||||
<widget class="QPushButton" name="cover_grid_open_cache">
|
<widget class="QPushButton" name="cover_grid_open_cache">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Open cache directory</string>
|
<string>&Open cache directory</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -613,14 +613,14 @@ A value of zero means calculate automatically.</string>
|
|||||||
<item row="2" column="0" colspan="2">
|
<item row="2" column="0" colspan="2">
|
||||||
<widget class="QLabel" name="label_18">
|
<widget class="QLabel" name="label_18">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Maximum amount of disk space to use for caching thumbnails: </string>
|
<string>Maximum amount of &disk space to use for caching thumbnails: </string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="0">
|
<item row="3" column="0">
|
||||||
<widget class="QPushButton" name="cover_grid_empty_cache">
|
<widget class="QPushButton" name="cover_grid_empty_cache">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Empty disk cache</string>
|
<string>&Empty disk cache</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user