From 8ef1ef8edee30204c94823bfd44cfdde4e29b53e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 16 Mar 2021 17:16:12 +0530 Subject: [PATCH] string changes --- manual/conversion.rst | 14 +++++++++----- manual/plugins.rst | 2 +- src/calibre/gui2/dialogs/plugin_updater.py | 2 +- src/calibre/gui2/preferences/plugins.py | 2 +- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/manual/conversion.rst b/manual/conversion.rst index 83ecd88a27..aa2c75b5d4 100644 --- a/manual/conversion.rst +++ b/manual/conversion.rst @@ -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. :guilabel:`Delete blank lines between paragraphs` - This option will cause calibre to analyze blank lines included within the document. If every paragraph is interleaved - with a blank line, then calibre will remove all those blank paragraphs. Sequences of multiple blank lines will be - considered scene breaks and retained as a single paragraph. This option differs from the 'Remove Paragraph Spacing' - option under '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 'Insert blank line' option. + This option will cause calibre to analyze blank lines included within the + document. If every paragraph is interleaved with a blank line, then + calibre will remove all those blank paragraphs. Sequences of multiple + blank lines will be considered scene breaks and retained as a single + 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` With this option calibre will attempt to detect common scene-break markers and ensure that they are center aligned. diff --git a/manual/plugins.rst b/manual/plugins.rst index 8e1459ce98..35e5c8594a 100644 --- a/manual/plugins.rst +++ b/manual/plugins.rst @@ -153,7 +153,7 @@ from its bases, documented below. A typical basic USBMS based driver looks like :members: :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 diff --git a/src/calibre/gui2/dialogs/plugin_updater.py b/src/calibre/gui2/dialogs/plugin_updater.py index 9f6ea864c7..522cc77d58 100644 --- a/src/calibre/gui2/dialogs/plugin_updater.py +++ b/src/calibre/gui2/dialogs/plugin_updater.py @@ -717,7 +717,7 @@ class PluginUpdaterDialog(SizePersistedDialog): self.gui.status_bar.showMessage(_('Plugin installed: %s') % display_plugin.name) d = info_dialog(self.gui, _('Success'), _('Plugin {0} successfully installed under ' - ' {1} plugins. You may have to restart calibre ' + '{1}. You may have to restart calibre ' 'for the plugin to take effect.').format(plugin.name, plugin.type), show_copy_button=False) b = d.bb.addButton(_('&Restart calibre now'), QDialogButtonBox.ButtonRole.AcceptRole) diff --git a/src/calibre/gui2/preferences/plugins.py b/src/calibre/gui2/preferences/plugins.py index 75746fe2ad..c3dc31b40c 100644 --- a/src/calibre/gui2/preferences/plugins.py +++ b/src/calibre/gui2/preferences/plugins.py @@ -324,7 +324,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form): self.check_for_add_to_toolbars(plugin, previously_installed=plugin.name in installed_plugins) info_dialog(self, _('Success'), _('Plugin {0} successfully installed under ' - '{1} plugins. You may have to restart calibre ' + '{1}. You may have to restart calibre ' 'for the plugin to take effect.').format(plugin.name, plugin.type), show=True, show_copy_button=False) idx = self._plugin_model.plugin_to_index_by_properties(plugin)