From 199ed3daf5d4baa129e6162758f279eb550a743b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 15 Mar 2020 17:26:11 +0530 Subject: [PATCH] String changes --- Changelog.yaml | 6 +++--- manual/simple_index.rst | 2 +- manual/sub_groups.rst | 10 +++++----- src/calibre/gui2/dialogs/saved_search_editor.py | 2 +- src/calibre/gui2/preferences/metadata_sources.ui | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Changelog.yaml b/Changelog.yaml index a73f1c5ed2..f1587abc14 100644 --- a/Changelog.yaml +++ b/Changelog.yaml @@ -1049,7 +1049,7 @@ - title: "Allow adding files to selected book records from the clipboard. To use copy a file from windows explorer, right click the Add books button and choose: Add files to selected books from clipboard" tickets: [1815419] - - title: "Tag browser: When right clicking on a saved search add a menu option to search using the raw search expression." + - title: "Tag browser: When right clicking on a Saved search add a menu option to search using the raw search expression." tickets: [1816274] - title: "Tag browser: Have pressing the Enter key find the next match." @@ -2209,7 +2209,7 @@ to appear as Unknown if metadata management was set to manual in calibre." - title: "Edit book: Pre-select existing cover image (if any) in add cover dialog" - - title: "Make the Manage saved searches dialog a little easier for new users." + - title: "Make the Manage Saved searches dialog a little easier for new users." tickets: [1733163] - title: "Add a tweak to control behavior of Enter on the book list" @@ -2226,7 +2226,7 @@ to appear as Unknown if metadata management was set to manual in calibre." - title: "Content server: Improve rendering of tags/categories with long words on small screens." tickets: [1734119] - - title: "Fix first added saved search not appearing in Tag browser until calibre restart." + - title: "Fix first added Saved search not appearing in Tag browser until calibre restart." tickets: [1733151] - title: "When checking added books for duplicates, also check on the language field. So books with the same title/authors but different languages are not considered duplicates." diff --git a/manual/simple_index.rst b/manual/simple_index.rst index bc1607d34d..60eec123d2 100644 --- a/manual/simple_index.rst +++ b/manual/simple_index.rst @@ -21,7 +21,7 @@ available `_. .. only:: online - **An e-book version of this user manual is available in** `EPUB format `_, `AZW3 (Kindle Fire) format `_ and `PDF format `_. + **An e-book version of this User Manual is available in** `EPUB format `_, `AZW3 (Kindle Fire) format `_ and `PDF format `_. .. rubric:: Sections diff --git a/manual/sub_groups.rst b/manual/sub_groups.rst index 086640e954..d318c37150 100644 --- a/manual/sub_groups.rst +++ b/manual/sub_groups.rst @@ -55,7 +55,7 @@ Setup By now, your question might be "How was all of this setup?" There are three steps: 1) create the custom column, 2) tell calibre that the new column is to be treated as a hierarchy, and 3) add genres. -You create the custom column in the usual way, using Preferences -> Add your own columns. This example uses "#genre" as the lookup name and "Genre" as the column heading. The column type is "Comma-separated text, like tags, shown in the Tag browser." +You create the custom column in the usual way, using Preferences -> Add your own columns. This example uses "#genre" as the lookup name and "Genre" as the column heading. The column type is "Comma-separated text, like tags, shown in the Tag browser." .. image:: images/sg_cc.jpg :align: center @@ -98,7 +98,7 @@ The Tag browser search mechanism knows if an item has children. If it does, clic Restrictions --------------- -If you search for a genre then create a saved search for it, you can use the 'restrict to' box to create a virtual library of books with that genre. This is useful if you want to do other searches within the genre or to manage/update metadata for books in the genre. Continuing our example, you can create a saved search named 'History.Japanese' by first clicking on the genre Japanese in the Tag browser to get a search into the search box, entering History.Japanese into the saved search box, then pushing the "save search" button (the green box with the white plus, on the right-hand side). +If you search for a genre then create a saved search for it, you can use the 'restrict to' box to create a Virtual library of books with that genre. This is useful if you want to do other searches within the genre or to manage/update metadata for books in the genre. Continuing our example, you can create a Saved search named 'History.Japanese' by first clicking on the genre Japanese in the Tag browser to get a search into the search box, entering History.Japanese into the saved search box, then pushing the "save search" button (the green box with the white plus, on the right-hand side). .. image:: images/sg_restrict.jpg :align: center @@ -110,11 +110,11 @@ After creating the saved search, you can use it as a restriction. Useful template functions ------------------------- - + You might want to use the genre information in a template, such as with save to disk or send to device. The question might then be "How do I get the outermost genre name or names?" A calibre template function, subitems, is provided to make doing this easier. - + For example, assume you want to add the outermost genre level to the save-to-disk template to make genre folders, as in "History/The Gathering Storm - Churchill, Winston". To do this, you must extract the first level of the hierarchy and add it to the front along with a slash to indicate that it should make a folder. The template below accomplishes this:: - + {#genre:subitems(0,1)||/}{title} - {authors} See :ref:`The template language ` for more information about templates and the :func:`subitems` function. diff --git a/src/calibre/gui2/dialogs/saved_search_editor.py b/src/calibre/gui2/dialogs/saved_search_editor.py index ec100c7f8f..1b51f8060c 100644 --- a/src/calibre/gui2/dialogs/saved_search_editor.py +++ b/src/calibre/gui2/dialogs/saved_search_editor.py @@ -94,7 +94,7 @@ class SavedSearchEditor(Dialog): def __init__(self, parent, initial_search=None): self.initial_search = initial_search Dialog.__init__( - self, _('Manage saved searches'), 'manage-saved-searches', parent) + self, _('Manage Saved searches'), 'manage-saved-searches', parent) def setup_ui(self): from calibre.gui2.ui import get_gui diff --git a/src/calibre/gui2/preferences/metadata_sources.ui b/src/calibre/gui2/preferences/metadata_sources.ui index 5165482c2a..3d93a19491 100644 --- a/src/calibre/gui2/preferences/metadata_sources.ui +++ b/src/calibre/gui2/preferences/metadata_sources.ui @@ -119,7 +119,7 @@ Restore your own subset of checked fields that you define using the 'Set as default' button - &Select default + Select &default