From 9b8dce3034985c2fc75cede2b40f544e77c60fc5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 3 Apr 2023 10:10:18 +0530 Subject: [PATCH] string changes --- Changelog.txt | 2 +- resources/default_tweaks.py | 4 ++-- src/calibre/gui2/custom_column_widgets.py | 2 +- src/calibre/gui2/metadata/basic_widgets.py | 2 +- src/calibre/gui2/metadata/single.py | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index 59c2fbda43..5a90e8bde1 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -2406,7 +2406,7 @@ Only works with output formats such as EPUB that support CSS transforms - Edit metadata dialog: Use only a single line for custom column date fields -- [1899341] Add an item to search for categories to the category editor context menu. +- [1899341] Add an item to search for categories to the Category editor context menu. - [1899316] Category editor: Add a right click menu to change case of the selected entries. diff --git a/resources/default_tweaks.py b/resources/default_tweaks.py index fa5ef4ea78..efacd73f0d 100644 --- a/resources/default_tweaks.py +++ b/resources/default_tweaks.py @@ -563,11 +563,11 @@ value_for_undefined_numbers_when_sorting = 0 allow_template_database_functions_in_composites = False -#: Change the programs that are run when opening files/URLS +#: Change the programs that are run when opening files/URLs # By default, calibre passes URLs to the operating system to open using # whatever default programs are configured there. Here you can override # that by specifying the program to use, per URL type. For local files, -# the type is "file" for web links it is "http*". For example: +# the type is "file" and for web links it is "http*". For example: # openers_by_scheme = { "http*": "firefox %u" } will make calibre run firefox # for https://whatever URLs. %u is replaced by the URL to be opened. The scheme # takes a glob pattern allowing a single entry to match multiple URL types. diff --git a/src/calibre/gui2/custom_column_widgets.py b/src/calibre/gui2/custom_column_widgets.py index 013dbebfc7..b328d7b6ee 100644 --- a/src/calibre/gui2/custom_column_widgets.py +++ b/src/calibre/gui2/custom_column_widgets.py @@ -483,7 +483,7 @@ class MultipleWidget(QWidget): if only_manage_items: self.editor_button.setToolTip(_('Open the {} Category editor').format(name)) else: - self.editor_button.setToolTip(_('Open the {} editor. If CTRL or SHIFT ' + self.editor_button.setToolTip(_('Open the {} editor. If Ctrl or Shift ' 'is pressed, open the {} Category editor').format(name, name)) self.editor_button.setIcon(QIcon.ic('chapters.png')) layout.addWidget(self.editor_button) diff --git a/src/calibre/gui2/metadata/basic_widgets.py b/src/calibre/gui2/metadata/basic_widgets.py index 4e07503655..77bfd4dc6f 100644 --- a/src/calibre/gui2/metadata/basic_widgets.py +++ b/src/calibre/gui2/metadata/basic_widgets.py @@ -1893,7 +1893,7 @@ class PublisherEdit(EditWithComplete, ToMetadataMixin): # {{{ def edit(self, db, id_): if self.changed: d = save_dialog(self, _('Publisher changed'), - _('You have changed the publisher. In order to use the category' + _('You have changed the publisher. In order to use the Category' ' editor, you must either discard or apply these ' 'changes. Apply changes?')) if d == QMessageBox.StandardButton.Cancel: diff --git a/src/calibre/gui2/metadata/single.py b/src/calibre/gui2/metadata/single.py index dd93d1ef30..85f41d0c0d 100644 --- a/src/calibre/gui2/metadata/single.py +++ b/src/calibre/gui2/metadata/single.py @@ -233,7 +233,7 @@ class MetadataSingleDialogBase(QDialog): self.tags = TagsEdit(self) self.tags_editor_button = QToolButton(self) - self.tags_editor_button.setToolTip(_('Open the Tag editor. If CTRL or SHIFT is pressed, open the Tags Category editor')) + self.tags_editor_button.setToolTip(_('Open the Tag editor. If Ctrl or Shift is pressed, open the Tags Category editor')) self.tags_editor_button.setIcon(QIcon.ic('chapters.png')) self.tags_editor_button.clicked.connect(self.tags_editor) self.tags.tag_editor_requested.connect(self.tags_editor)