string changes

This commit is contained in:
Kovid Goyal 2021-03-16 17:16:12 +05:30
parent f2d92d2060
commit 8ef1ef8ede
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
4 changed files with 12 additions and 8 deletions

View File

@ -325,11 +325,15 @@ remove all non-breaking-space entities, or may include false positive matches re
will re-number the heading tags to prevent splitting. will re-number the heading tags to prevent splitting.
:guilabel:`Delete blank lines between paragraphs` :guilabel:`Delete blank lines between paragraphs`
This option will cause calibre to analyze blank lines included within the document. If every paragraph is interleaved This option will cause calibre to analyze blank lines included within the
with a blank line, then calibre will remove all those blank paragraphs. Sequences of multiple blank lines will be document. If every paragraph is interleaved with a blank line, then
considered scene breaks and retained as a single paragraph. This option differs from the 'Remove Paragraph Spacing' calibre will remove all those blank paragraphs. Sequences of multiple
option under 'Look and Feel' in that it actually modifies the HTML content, while the other option modifies the document blank lines will be considered scene breaks and retained as a single
styles. This option can also remove paragraphs which were inserted using calibre's 'Insert blank line' option. paragraph. This option differs from the :guilabel:`Remove paragraph
spacing` option under :guilabel:`Look and Feel` in that it actually
modifies the HTML content, while the other option modifies the document
styles. This option can also remove paragraphs which were inserted using
calibre's :guilabel:`Insert blank line` option.
:guilabel:`Ensure scene breaks are consistently formatted` :guilabel:`Ensure scene breaks are consistently formatted`
With this option calibre will attempt to detect common scene-break markers and ensure that they are center aligned. With this option calibre will attempt to detect common scene-break markers and ensure that they are center aligned.

View File

@ -153,7 +153,7 @@ from its bases, documented below. A typical basic USBMS based driver looks like
:members: :members:
:member-order: bysource :member-order: bysource
User Interface Actions User Interface actions
-------------------------- --------------------------
If you are adding your own plugin in a ZIP file, you should subclass both InterfaceActionBase and InterfaceAction. The If you are adding your own plugin in a ZIP file, you should subclass both InterfaceActionBase and InterfaceAction. The

View File

@ -717,7 +717,7 @@ class PluginUpdaterDialog(SizePersistedDialog):
self.gui.status_bar.showMessage(_('Plugin installed: %s') % display_plugin.name) self.gui.status_bar.showMessage(_('Plugin installed: %s') % display_plugin.name)
d = info_dialog(self.gui, _('Success'), d = info_dialog(self.gui, _('Success'),
_('Plugin <b>{0}</b> successfully installed under <b>' _('Plugin <b>{0}</b> successfully installed under <b>'
' {1} plugins</b>. You may have to restart calibre ' '{1}</b>. You may have to restart calibre '
'for the plugin to take effect.').format(plugin.name, plugin.type), 'for the plugin to take effect.').format(plugin.name, plugin.type),
show_copy_button=False) show_copy_button=False)
b = d.bb.addButton(_('&Restart calibre now'), QDialogButtonBox.ButtonRole.AcceptRole) b = d.bb.addButton(_('&Restart calibre now'), QDialogButtonBox.ButtonRole.AcceptRole)

View File

@ -324,7 +324,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
self.check_for_add_to_toolbars(plugin, previously_installed=plugin.name in installed_plugins) self.check_for_add_to_toolbars(plugin, previously_installed=plugin.name in installed_plugins)
info_dialog(self, _('Success'), info_dialog(self, _('Success'),
_('Plugin <b>{0}</b> successfully installed under <b>' _('Plugin <b>{0}</b> successfully installed under <b>'
'{1} plugins</b>. You may have to restart calibre ' '{1}</b>. You may have to restart calibre '
'for the plugin to take effect.').format(plugin.name, plugin.type), 'for the plugin to take effect.').format(plugin.name, plugin.type),
show=True, show_copy_button=False) show=True, show_copy_button=False)
idx = self._plugin_model.plugin_to_index_by_properties(plugin) idx = self._plugin_model.plugin_to_index_by_properties(plugin)