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
dac9782a45
commit
7d67de8217
@ -17,7 +17,7 @@ If you want *all* of your library cataloged, remove any search or filtering crit
|
||||
If you want only *some* of your library cataloged, you have two options:
|
||||
|
||||
* Create a multiple selection of the books you want cataloged. With more than one book selected in calibre's main window, only the selected books will be cataloged.
|
||||
* Use the Search field or the Tag Browser to filter the displayed books. Only the displayed books will be cataloged.
|
||||
* Use the Search field or the Tag browser to filter the displayed books. Only the displayed books will be cataloged.
|
||||
|
||||
To begin catalog generation, select the menu item :guilabel:`Convert books > Create a catalog of the books in your calibre library`. You may also add a :guilabel:`Create Catalog` button to a toolbar in :guilabel:`Preferences > Interface > Toolbars` for easier access to the Generate catalog dialog.
|
||||
|
||||
|
@ -622,7 +622,7 @@ author names. The first thing to understand is that books and authors are
|
||||
separate entities in calibre. A book can have more than one author, and an
|
||||
author can have more than one book. You can manage the authors of a book by the
|
||||
edit metadata dialog. You can manage individual authors by right clicking on
|
||||
the author in the Tag Browser on the left of the main calibre screen and
|
||||
the author in the Tag browser on the left of the main calibre screen and
|
||||
selecting :guilabel:`Manage authors`. Using this dialog you can change the name
|
||||
of an author and also how that name is sorted. This will automatically change
|
||||
the name of the author in all the books of that author. When a book has
|
||||
@ -631,13 +631,13 @@ multiple authors, separate their names using the & character.
|
||||
Now coming to author name sorting:
|
||||
|
||||
* When a new author is added to calibre (this happens whenever a book by a new author is added), calibre automatically computes a sort string for both the book and the author.
|
||||
* Authors in the Tag Browser are sorted by the sort value for the **authors**. Remember that this is different from the Author sort field for a book.
|
||||
* Authors in the Tag browser are sorted by the sort value for the **authors**. Remember that this is different from the Author sort field for a book.
|
||||
* By default, this sort algorithm assumes that the author name is in ``First name Last name`` format and generates a ``Last name, First name`` sort value.
|
||||
* You can change this algorithm by going to Preferences->Tweaks and setting the :guilabel:`author_sort_copy_method` tweak.
|
||||
* You can force calibre to recalculate the author sort values for every author by right clicking on any author and selecting :guilabel:`Manage authors`, then pushing the `Recalculate all author sort values` button. Do this after you have set the author_sort_copy_method tweak to what you want.
|
||||
* You can force calibre to recalculate the author sort values for all books by using the bulk metadata edit dialog (select all books and click edit metadata, check the `Automatically set author sort` checkbox, then press OK.)
|
||||
* When recalculating the author sort values for books, calibre uses the author sort values for each individual author. Therefore, ensure that the individual author sort values are correct before recalculating the books' author sort values.
|
||||
* You can control whether the Tag Browser display authors using their names or their sort values by setting the :guilabel:`categories_use_field_for_author_name` tweak in Preferences->Tweaks
|
||||
* You can control whether the Tag browser display authors using their names or their sort values by setting the :guilabel:`categories_use_field_for_author_name` tweak in Preferences->Tweaks
|
||||
|
||||
Note that you can set an individual author's sort value to whatever you want using :guilabel:`Manage authors`. This is useful when dealing with names that calibre will not get right, such as complex multi-part names like Miguel de Cervantes Saavedra or when dealing with Asian names like Sun Tzu.
|
||||
|
||||
|
@ -437,9 +437,9 @@ Identifiers (e.g., isbn, doi, lccn etc) also use an extended syntax. First, note
|
||||
Saving searches
|
||||
-----------------
|
||||
|
||||
calibre allows you to save a frequently used search under a special name and then reuse that search with a single click. To do this, create your search either by typing it in the search bar or using the Tag Browser. Then type the name you would like to give to the search in the Saved Searches box next to the search bar. Click the plus icon next to the saved searches box to save the search.
|
||||
calibre allows you to save a frequently used search under a special name and then reuse that search with a single click. To do this, create your search either by typing it in the search bar or using the Tag browser. Then type the name you would like to give to the search in the Saved Searches box next to the search bar. Click the plus icon next to the saved searches box to save the search.
|
||||
|
||||
Now you can access your saved search in the Tag Browser under "Searches". A single click will allow you to reuse any arbitrarily complex search easily, without needing to re-create it.
|
||||
Now you can access your saved search in the Tag browser under "Searches". A single click will allow you to reuse any arbitrarily complex search easily, without needing to re-create it.
|
||||
|
||||
Virtual libraries
|
||||
-------------------
|
||||
@ -481,23 +481,23 @@ will be interpreted to have the title: Foundation and Earth and author: Isaac As
|
||||
.. _book_details:
|
||||
|
||||
|
||||
Book Details
|
||||
Book details
|
||||
-------------
|
||||
.. image:: images/book_details.png
|
||||
:class: float-left-img
|
||||
|
||||
The Book Details display shows the cover and all the metadata for the currently
|
||||
The Book details display shows the cover and all the metadata for the currently
|
||||
selected book. It can be hidden via the button in the lower right corner of the
|
||||
main calibre window. The author names shown in the Book Details panel are
|
||||
main calibre window. The author names shown in the Book details panel are
|
||||
clickable, they will by default take you to the Wikipedia page for the author.
|
||||
This can be customized by right clicking on the author name and selecting
|
||||
Manage this author.
|
||||
|
||||
Similarly, if you download metadata for the book, the Book Details panel will
|
||||
Similarly, if you download metadata for the book, the Book details panel will
|
||||
automatically show you links pointing to the web pages for the book on amazon,
|
||||
worldcat, etc. from where the metadata was downloaded.
|
||||
|
||||
You can right click on individual ebook formats in the Book Details panel to
|
||||
You can right click on individual ebook formats in the Book details panel to
|
||||
delete them, compare them to their original versions, save them to disk, open
|
||||
them with an external program, etc.
|
||||
|
||||
@ -512,7 +512,7 @@ Double clicking the book details panel will open it up in a separate popup
|
||||
window.
|
||||
|
||||
Finally, you can customize exactly what information is displayed in the Book
|
||||
Details panel via :guilabel:`Preferences->Look & feel->Book Details`.
|
||||
Details panel via :guilabel:`Preferences->Look & feel->Book details`.
|
||||
|
||||
.. raw:: html epub
|
||||
|
||||
@ -520,18 +520,18 @@ Details panel via :guilabel:`Preferences->Look & feel->Book Details`.
|
||||
|
||||
.. _tag_browser:
|
||||
|
||||
Tag Browser
|
||||
Tag browser
|
||||
-------------
|
||||
.. image:: images/tag_browser.png
|
||||
:class: float-left-img
|
||||
|
||||
The Tag Browser allows you to easily browse your collection by Author/Tags/Series/etc. If you click on any item in the Tag Browser, for example the author name Isaac Asimov, then the list of books to the right is restricted to showing books by that author. You can click on category names as well. For example, clicking on "Series" will show you all books in any series.
|
||||
The Tag browser allows you to easily browse your collection by Author/Tags/Series/etc. If you click on any item in the Tag browser, for example the author name Isaac Asimov, then the list of books to the right is restricted to showing books by that author. You can click on category names as well. For example, clicking on "Series" will show you all books in any series.
|
||||
|
||||
The first click on an item will restrict the list of books to those that contain or match the item. Continuing the above example, clicking on Isaac Asimov will show books by that author. Clicking again on the item will change what is shown, depending on whether the item has children (see sub-categories and hierarchical items below). Continuing the Isaac Asimov example, clicking again on Isaac Asimov will restrict the list of books to those not by Isaac Asimov. A third click will remove the restriction, showing all books. If you hold down the Ctrl or Shift keys and click on multiple items, then restrictions based on multiple items are created. For example you could hold Ctrl and click on the tags History and Europe for finding books on European history. The Tag Browser works by constructing search expressions that are automatically entered into the Search bar. Looking at what the Tag Browser generates is a good way to learn how to construct basic search expressions.
|
||||
The first click on an item will restrict the list of books to those that contain or match the item. Continuing the above example, clicking on Isaac Asimov will show books by that author. Clicking again on the item will change what is shown, depending on whether the item has children (see sub-categories and hierarchical items below). Continuing the Isaac Asimov example, clicking again on Isaac Asimov will restrict the list of books to those not by Isaac Asimov. A third click will remove the restriction, showing all books. If you hold down the Ctrl or Shift keys and click on multiple items, then restrictions based on multiple items are created. For example you could hold Ctrl and click on the tags History and Europe for finding books on European history. The Tag browser works by constructing search expressions that are automatically entered into the Search bar. Looking at what the Tag browser generates is a good way to learn how to construct basic search expressions.
|
||||
|
||||
Items in the Tag browser have their icons partially colored. The amount of color depends on the average rating of the books in that category. So for example if the books by Isaac Asimov have an average of four stars, the icon for Isaac Asimov in the Tag Browser will be 4/5th colored. You can hover your mouse over the icon to see the average rating.
|
||||
Items in the Tag browser have their icons partially colored. The amount of color depends on the average rating of the books in that category. So for example if the books by Isaac Asimov have an average of four stars, the icon for Isaac Asimov in the Tag browser will be 4/5th colored. You can hover your mouse over the icon to see the average rating.
|
||||
|
||||
The outer-level items in the tag browser, such as Authors and Series, are called categories. You can create your own categories, called User Categories, which are useful for organizing items. For example, you can use the User Categories Editor (click :guilabel:`Alter Tag Browser->Manage authors, series, etc->Manage User Categories`) to create a user category called Favorite Authors, then put the items for your favorites into the category. User categories can have sub-categories. For example, the user category Favorites.Authors is a sub-category of Favorites. You might also have Favorites.Series, in which case there will be two sub-categories under Favorites. Sub-categories can be created by right-clicking on a user category, choosing "Add sub-category to ...", and entering the sub-category name; or by using the User Categories Editor by entering names like the Favorites example above.
|
||||
The outer-level items in the tag browser, such as Authors and Series, are called categories. You can create your own categories, called User Categories, which are useful for organizing items. For example, you can use the User Categories Editor (click :guilabel:`Alter Tag browser->Manage authors, series, etc->Manage User Categories`) to create a user category called Favorite Authors, then put the items for your favorites into the category. User categories can have sub-categories. For example, the user category Favorites.Authors is a sub-category of Favorites. You might also have Favorites.Series, in which case there will be two sub-categories under Favorites. Sub-categories can be created by right-clicking on a user category, choosing "Add sub-category to ...", and entering the sub-category name; or by using the User Categories Editor by entering names like the Favorites example above.
|
||||
|
||||
You can search user categories in the same way as built-in categories, by clicking on them. There are four different searches cycled through by clicking:
|
||||
1. "everything matching an item in the category" indicated by a single green plus sign.
|
||||
@ -543,17 +543,17 @@ It is also possible to create hierarchies inside some of the text categories suc
|
||||
|
||||
Hierarchical items (items with children) use the same four 'click-on' searches as user categories. Items that do not have children use two of the searches: "everything matching" and "everything not matching".
|
||||
|
||||
You can drag and drop items in the Tag browser onto user categories to add them to that category. If the source is a user category, holding the shift key while dragging will move the item to the new category. You can also drag and drop books from the book list onto items in the Tag Browser; dropping a book on an item causes that item to be automatically applied to the dropped books. For example, dragging a book onto Isaac Asimov will set the author of that book to Isaac Asimov. Dropping it onto the tag History will add the tag History to the book's tags.
|
||||
You can drag and drop items in the Tag browser onto user categories to add them to that category. If the source is a user category, holding the shift key while dragging will move the item to the new category. You can also drag and drop books from the book list onto items in the Tag browser; dropping a book on an item causes that item to be automatically applied to the dropped books. For example, dragging a book onto Isaac Asimov will set the author of that book to Isaac Asimov. Dropping it onto the tag History will add the tag History to the book's tags.
|
||||
|
||||
There is a search bar at the top of the Tag Browser that allows you to easily find any item in the Tag Browser. In addition, you can right click on any item and choose one of several operations. Some examples are to hide it, rename it, or open a "Manage x" dialog that allows you to manage items of that kind. For example, the "Manage Authors" dialog allows you to rename authors and control how their names are sorted.
|
||||
There is a search bar at the top of the Tag browser that allows you to easily find any item in the Tag browser. In addition, you can right click on any item and choose one of several operations. Some examples are to hide it, rename it, or open a "Manage x" dialog that allows you to manage items of that kind. For example, the "Manage Authors" dialog allows you to rename authors and control how their names are sorted.
|
||||
|
||||
You can control how items are sorted in the Tag browser via the :guilabel:`Alter Tag Browser` button at the bottom of the Tag Browser. You can choose to sort by name, average rating or popularity (popularity is the number of books with an item in your library; for example, the popularity of Isaac Asimov is the number of books in your library by Isaac Asimov).
|
||||
You can control how items are sorted in the Tag browser via the :guilabel:`Alter Tag browser` button at the bottom of the Tag browser. You can choose to sort by name, average rating or popularity (popularity is the number of books with an item in your library; for example, the popularity of Isaac Asimov is the number of books in your library by Isaac Asimov).
|
||||
|
||||
.. raw:: html epub
|
||||
|
||||
<div style="clear:both"></div>
|
||||
|
||||
Cover Grid
|
||||
Cover grid
|
||||
-----------
|
||||
|
||||
.. image:: images/cover_grid.png
|
||||
@ -567,7 +567,7 @@ the cover grid via :guilabel:`Preferences->Look & feel->Cover grid`. You can
|
||||
even have calibre display any specified field under the covers, such as title or
|
||||
authors or rating or a custom column of your own devising.
|
||||
|
||||
Cover Browser
|
||||
Cover browser
|
||||
---------------
|
||||
|
||||
.. image:: images/cover_browser.png
|
||||
@ -675,13 +675,13 @@ calibre has several keyboard shortcuts to save you time and mouse movement. Thes
|
||||
* - :kbd:`Alt+Shift+J`
|
||||
- Toggle jobs list
|
||||
* - :kbd:`Alt+Shift+B`
|
||||
- Toggle Cover Browser
|
||||
- Toggle Cover browser
|
||||
* - :kbd:`Alt+Shift+D`
|
||||
- Toggle Book Details panel
|
||||
- Toggle Book details panel
|
||||
* - :kbd:`Alt+Shift+T`
|
||||
- Toggle Tag Browser
|
||||
- Toggle Tag browser
|
||||
* - :kbd:`Alt+Shift+G`
|
||||
- Toggle Cover Grid
|
||||
- Toggle Cover grid
|
||||
* - :kbd:`Alt+A`
|
||||
- Show books by the same author as the current book
|
||||
* - :kbd:`Alt+T`
|
||||
|
@ -60,7 +60,7 @@ You create the custom column in the usual way, using Preferences -> Add your own
|
||||
.. image:: images/sg_cc.jpg
|
||||
:align: center
|
||||
|
||||
Then after restarting calibre, you must tell calibre that the column is to be treated as a hierarchy. Go to Preferences -> Look and Feel -> Tag Browser and enter the lookup name "#genre" into the "Categories with hierarchical items" box. Press Apply, and you are done with setting up.
|
||||
Then after restarting calibre, you must tell calibre that the column is to be treated as a hierarchy. Go to :guilabel:`Preferences -> Look and Feel -> Tag browser` and enter the lookup name "#genre" into the "Categories with hierarchical items" box. Press Apply, and you are done with setting up.
|
||||
|
||||
.. image:: images/sg_pref.png
|
||||
:align: center
|
||||
|
@ -15,8 +15,8 @@ separate libraries simultaneously in calibre.
|
||||
|
||||
A virtual library is different from a simple search. A search will only restrict
|
||||
the list of books shown in the book list. A virtual library does that, and in
|
||||
addition it also restricts the entries shown in the :guilabel:`Tag Browser` to
|
||||
the left. The Tag Browser will only show tags, authors, series, publishers, etc.
|
||||
addition it also restricts the entries shown in the :guilabel:`Tag browser` to
|
||||
the left. The Tag browser will only show tags, authors, series, publishers, etc.
|
||||
that come from the books in the virtual library. A virtual library thus behaves
|
||||
as though the actual library contains only the restricted set of books.
|
||||
|
||||
@ -47,7 +47,7 @@ You can switch back to the full library at any time by once again clicking the
|
||||
Virtual libraries are based on *searches*. You can use any search as the
|
||||
basis of a virtual library. The virtual library will contain only the
|
||||
books matched by that search. First, type in the search you want to use
|
||||
in the search bar or build a search using the :guilabel:`Tag Browser`.
|
||||
in the search bar or build a search using the :guilabel:`Tag browser`.
|
||||
When you are happy with the returned results, click the Virtual library
|
||||
button, choose :guilabel:`Create library` and enter a name for the new virtual
|
||||
library. The virtual library will then be created based on the search
|
||||
|
@ -83,7 +83,7 @@ author_name_copywords = ('Corporation', 'Company', 'Co.', 'Agency', 'Council',
|
||||
# Default: r'(?i),?\s+(and|with)\s+'
|
||||
authors_split_regex = r'(?i),?\s+(and|with)\s+'
|
||||
|
||||
#: Use author sort in Tag Browser
|
||||
#: Use author sort in Tag browser
|
||||
# Set which author field to display in the tags pane (the list of authors,
|
||||
# series, publishers etc on the left hand side). The choices are author and
|
||||
# author_sort. This tweak affects only what is displayed under the authors
|
||||
@ -98,7 +98,7 @@ authors_split_regex = r'(?i),?\s+(and|with)\s+'
|
||||
# categories_use_field_for_author_name = 'author_sort'
|
||||
categories_use_field_for_author_name = 'author'
|
||||
|
||||
#: Control partitioning of Tag Browser
|
||||
#: Control partitioning of Tag browser
|
||||
# When partitioning the tags browser, the format of the subcategory label is
|
||||
# controlled by a template: categories_collapsed_name_template if sorting by
|
||||
# name, categories_collapsed_rating_template if sorting by average rating, and
|
||||
|
@ -143,7 +143,7 @@ class LibraryWidget(Splitter): # {{{
|
||||
orientation = Qt.Horizontal if is_widescreen() else Qt.Vertical
|
||||
idx = 0 if orientation == Qt.Vertical else 1
|
||||
size = 300 if orientation == Qt.Vertical else 550
|
||||
Splitter.__init__(self, 'cover_browser_splitter', _('Cover Browser'),
|
||||
Splitter.__init__(self, 'cover_browser_splitter', _('Cover browser'),
|
||||
I('cover_flow.png'),
|
||||
orientation=orientation, parent=parent,
|
||||
connect_button=not config['separate_cover_flow'],
|
||||
@ -179,7 +179,7 @@ class Stack(QStackedWidget): # {{{
|
||||
parent.cb_splitter = LibraryWidget(parent)
|
||||
self.tb_widget = TagBrowserWidget(parent)
|
||||
parent.tb_splitter = Splitter('tag_browser_splitter',
|
||||
_('Tag Browser'), I('tags.png'),
|
||||
_('Tag browser'), I('tags.png'),
|
||||
parent=parent, side_index=0, initial_side_size=200,
|
||||
shortcut='Shift+Alt+T')
|
||||
parent.tb_splitter.state_changed.connect(
|
||||
@ -292,7 +292,7 @@ class GridViewButton(LayoutButton): # {{{
|
||||
|
||||
def __init__(self, gui):
|
||||
sc = 'Shift+Alt+G'
|
||||
LayoutButton.__init__(self, I('grid.png'), _('Cover Grid'), parent=gui, shortcut=sc)
|
||||
LayoutButton.__init__(self, I('grid.png'), _('Cover grid'), parent=gui, shortcut=sc)
|
||||
self.set_state_to_show()
|
||||
self.action_toggle = QAction(self.icon(), _('Toggle') + ' ' + self.label, self)
|
||||
gui.addAction(self.action_toggle)
|
||||
@ -474,7 +474,7 @@ class LayoutMixin(object): # {{{
|
||||
self.book_details = BookDetails(False, self)
|
||||
self.stack = Stack(self)
|
||||
self.bd_splitter = Splitter('book_details_splitter',
|
||||
_('Book Details'), I('book.png'),
|
||||
_('Book details'), I('book.png'),
|
||||
orientation=Qt.Vertical, parent=self, side_index=1,
|
||||
shortcut='Shift+Alt+D')
|
||||
self.bd_splitter.addWidget(self.stack)
|
||||
@ -485,7 +485,7 @@ class LayoutMixin(object): # {{{
|
||||
# }}}
|
||||
else: # wide {{{
|
||||
self.bd_splitter = Splitter('book_details_splitter',
|
||||
_('Book Details'), I('book.png'), initial_side_size=200,
|
||||
_('Book details'), I('book.png'), initial_side_size=200,
|
||||
orientation=Qt.Horizontal, parent=self, side_index=1,
|
||||
shortcut='Shift+Alt+D')
|
||||
self.stack = Stack(self)
|
||||
|
@ -335,7 +335,7 @@ class CreateCustomColumn(QDialog):
|
||||
):
|
||||
ct.addItem(text, k)
|
||||
ct.setToolTip(_('Choose how the data in this column is interpreted.\n'
|
||||
'This controls how the data is displayed in the Book Details panel\n'
|
||||
'This controls how the data is displayed in the Book details panel\n'
|
||||
'and how it is edited.'))
|
||||
self.comments_type_label = add_row(_('Interpret this column as:') + ' ', ct)
|
||||
|
||||
|
@ -250,7 +250,7 @@
|
||||
<normaloff>:/images/grid.png</normaloff>:/images/grid.png</iconset>
|
||||
</attribute>
|
||||
<attribute name="title">
|
||||
<string>Cover Grid</string>
|
||||
<string>Cover grid</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
@ -269,7 +269,7 @@
|
||||
<item row="0" column="0" colspan="2">
|
||||
<widget class="QLabel" name="label_19">
|
||||
<property name="text">
|
||||
<string>Control the cover grid view. You can enable this view by clicking the "Cover Grid" button in the bottom right corner of the main calibre window.</string>
|
||||
<string>Control the cover grid view. You can enable this view by clicking the "Cover grid" button in the bottom right corner of the main calibre window.</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
@ -665,7 +665,7 @@ A value of zero means calculate automatically.</string>
|
||||
<normaloff>:/images/book.png</normaloff>:/images/book.png</iconset>
|
||||
</attribute>
|
||||
<attribute name="title">
|
||||
<string>Book Details</string>
|
||||
<string>Book details</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_12">
|
||||
<item row="3" column="1">
|
||||
@ -823,7 +823,7 @@ Manage Authors. You can use the values {author} and
|
||||
<normaloff>:/images/tags.png</normaloff>:/images/tags.png</iconset>
|
||||
</attribute>
|
||||
<attribute name="title">
|
||||
<string>Tag Browser</string>
|
||||
<string>Tag browser</string>
|
||||
</attribute>
|
||||
<layout class="QFormLayout" name="formLayout">
|
||||
<property name="fieldGrowthPolicy">
|
||||
@ -842,7 +842,7 @@ Manage Authors. You can use the values {author} and
|
||||
<item row="2" column="1">
|
||||
<widget class="QSpinBox" name="opt_tags_browser_collapse_at">
|
||||
<property name="toolTip">
|
||||
<string>If a Tag Browser category has more than this number of items, it is divided
|
||||
<string>If a Tag browser category has more than this number of items, it is divided
|
||||
up into subcategories. If the partition method is set to disable, this value is ignored.</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
@ -908,7 +908,7 @@ then the tags will be displayed each on their own line.</string>
|
||||
<item row="8" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="opt_tag_browser_old_look">
|
||||
<property name="text">
|
||||
<string>Use &alternating row colors in the Tag Browser</string>
|
||||
<string>Use &alternating row colors in the Tag browser</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -959,12 +959,12 @@ if you never want subcategories</string>
|
||||
<item row="7" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="opt_tag_browser_show_counts">
|
||||
<property name="toolTip">
|
||||
<string>Show counts for items in the Tag Browser. Such as the number of books
|
||||
<string>Show counts for items in the Tag browser. Such as the number of books
|
||||
by each author, the number of authors, etc. If you turn it off, you can still
|
||||
see the counts by hovering your mouse over any item.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Show &counts in the Tag Browser</string>
|
||||
<string>Show &counts in the Tag browser</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -976,7 +976,7 @@ see the counts by hovering your mouse over any item.</string>
|
||||
<normaloff>:/images/cover_flow.png</normaloff>:/images/cover_flow.png</iconset>
|
||||
</attribute>
|
||||
<attribute name="title">
|
||||
<string>Cover Browser</string>
|
||||
<string>Cover browser</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_11">
|
||||
<item row="5" column="1">
|
||||
|
@ -49,7 +49,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
"<p>Note: Search terms are forced to lower case; <code>MySearch</code> "
|
||||
"and <code>mysearch</code> are the same term."
|
||||
"<p>You can have your grouped search term show up as user categories in "
|
||||
" the Tag Browser. Just add the grouped search term names to the Make user "
|
||||
" the Tag browser. Just add the grouped search term names to the Make user "
|
||||
"categories from box. You can add multiple terms separated by commas. "
|
||||
"The new user category will be automatically "
|
||||
"populated with all the items in the categories included in the grouped "
|
||||
|
@ -146,7 +146,7 @@ class CreateVirtualLibrary(QDialog): # {{{
|
||||
|
||||
<p>Using <i>virtual libraries</i> you can restrict calibre to only show
|
||||
you books that match a search. When a virtual library is in effect, calibre
|
||||
behaves as though the library contains only the matched books. The Tag Browser
|
||||
behaves as though the library contains only the matched books. The Tag browser
|
||||
display only the tags/authors/series/etc. that belong to the matched books and any searches
|
||||
you do will only search within the books in the virtual library. This
|
||||
is a good way to partition your large library into smaller and easier to work with subsets.</p>
|
||||
|
@ -362,7 +362,7 @@ class TagsModel(QAbstractItemModel): # {{{
|
||||
|
||||
def rebuild_node_tree(self, state_map={}):
|
||||
if self._build_in_progress:
|
||||
print ('Tag Browser build already in progress')
|
||||
print ('Tag browser build already in progress')
|
||||
traceback.print_stack()
|
||||
return
|
||||
# traceback.print_stack()
|
||||
|
@ -372,7 +372,7 @@ class TagBrowserWidget(QWidget): # {{{
|
||||
parent.addAction(ac)
|
||||
parent.keyboard.register_shortcut('tag browser find box',
|
||||
_('Find item'), default_keys=(),
|
||||
action=ac, group=_('Tag Browser'))
|
||||
action=ac, group=_('Tag browser'))
|
||||
ac.triggered.connect(self.set_focus_to_find_box)
|
||||
|
||||
self.search_button = QToolButton()
|
||||
@ -383,7 +383,7 @@ class TagBrowserWidget(QWidget): # {{{
|
||||
parent.addAction(ac)
|
||||
parent.keyboard.register_shortcut('tag browser find button',
|
||||
_('Find button'), default_keys=(),
|
||||
action=ac, group=_('Tag Browser'))
|
||||
action=ac, group=_('Tag browser'))
|
||||
ac.triggered.connect(self.search_button.click)
|
||||
|
||||
self.expand_button = QToolButton()
|
||||
@ -397,7 +397,7 @@ class TagBrowserWidget(QWidget): # {{{
|
||||
parent.addAction(ac)
|
||||
parent.keyboard.register_shortcut('tag browser collapse all',
|
||||
_('Collapse all'), default_keys=(),
|
||||
action=ac, group=_('Tag Browser'))
|
||||
action=ac, group=_('Tag browser'))
|
||||
ac.triggered.connect(self.expand_button.clicked)
|
||||
|
||||
self.current_find_position = None
|
||||
@ -430,7 +430,7 @@ class TagBrowserWidget(QWidget): # {{{
|
||||
type=Qt.QueuedConnection)
|
||||
|
||||
parent.alter_tb = l = QPushButton(parent)
|
||||
l.setText(_('Alter Tag Browser'))
|
||||
l.setText(_('Alter Tag browser'))
|
||||
l.setIcon(QIcon(I('tags.png')))
|
||||
l.m = QMenu()
|
||||
l.setMenu(l.m)
|
||||
@ -439,7 +439,7 @@ class TagBrowserWidget(QWidget): # {{{
|
||||
parent.addAction(ac)
|
||||
parent.keyboard.register_shortcut('tag browser alter',
|
||||
_('Alter tag browser'), default_keys=(),
|
||||
action=ac, group=_('Tag Browser'))
|
||||
action=ac, group=_('Tag browser'))
|
||||
ac.triggered.connect(l.showMenu)
|
||||
|
||||
sb = l.m.addAction(_('Sort by'))
|
||||
@ -456,7 +456,7 @@ class TagBrowserWidget(QWidget): # {{{
|
||||
if i == 0:
|
||||
a.setChecked(True)
|
||||
sb.setToolTip(
|
||||
_('Set the sort order for entries in the Tag Browser'))
|
||||
_('Set the sort order for entries in the Tag browser'))
|
||||
sb.setStatusTip(sb.toolTip())
|
||||
|
||||
ma = l.m.addAction(_('Search type when selecting multiple items'))
|
||||
@ -472,7 +472,7 @@ class TagBrowserWidget(QWidget): # {{{
|
||||
if i == 0:
|
||||
a.setChecked(True)
|
||||
ma.setToolTip(
|
||||
_('When selecting multiple entries in the Tag Browser '
|
||||
_('When selecting multiple entries in the Tag browser '
|
||||
'match any or all of them'))
|
||||
ma.setStatusTip(ma.toolTip())
|
||||
|
||||
@ -486,7 +486,7 @@ class TagBrowserWidget(QWidget): # {{{
|
||||
parent.addAction(ac)
|
||||
parent.keyboard.register_shortcut('tag browser toggle item',
|
||||
_("'Click' found item"), default_keys=(),
|
||||
action=ac, group=_('Tag Browser'))
|
||||
action=ac, group=_('Tag browser'))
|
||||
ac.triggered.connect(self.toggle_item)
|
||||
|
||||
# self.leak_test_timer = QTimer(self)
|
||||
|
@ -418,7 +418,7 @@ def get_prefs():
|
||||
'name': 'sort_tags_by',
|
||||
'text': _('Sort tags by'),
|
||||
'choices': [('name', _('Name')), ('popularity', _('Popularity (number of books)')), ('rating', _('Average rating'))],
|
||||
'tooltip': _('Change how the tags/authors/etc. are sorted in the Tag Browser'),
|
||||
'tooltip': _('Change how the tags/authors/etc. are sorted in the "Tag browser"'),
|
||||
},
|
||||
|
||||
{
|
||||
@ -437,7 +437,7 @@ def get_prefs():
|
||||
'text':_('Collapse when more items than'),
|
||||
'min': 5, 'max':10000, 'step':5,
|
||||
'from_storage':int, 'to_storage':int,
|
||||
'tooltip': _('If a Tag Browser category has more than this number of items, it is divided'
|
||||
'tooltip': _('If a "Tag browser" category has more than this number of items, it is divided'
|
||||
' up into subcategories. If the partition method is set to disable, this value is ignored.'),
|
||||
},
|
||||
|
||||
@ -466,7 +466,7 @@ def get_prefs():
|
||||
]
|
||||
|
||||
def tb_config_panel_handler():
|
||||
return prefs_panel_handler(_('Configure Tag Browser'), get_prefs)
|
||||
return prefs_panel_handler(_('Configure Tag browser'), get_prefs)
|
||||
# }}}
|
||||
|
||||
|
||||
@ -476,6 +476,6 @@ def init(container_id):
|
||||
return
|
||||
container = document.getElementById(container_id)
|
||||
create_top_bar(container, title=_('Search for books'), action=back, icon='close')
|
||||
add_button(container, icon='cogs', action=show_panel.bind(None, 'book_list^search^prefs'), tooltip=_('Configure Tag Browser'))
|
||||
add_button(container, icon='cogs', action=show_panel.bind(None, 'book_list^search^prefs'), tooltip=_('Configure Tag browser'))
|
||||
container.appendChild(E.div(class_=CLASS_NAME))
|
||||
create_search_panel(container.lastChild)
|
||||
|
Loading…
x
Reference in New Issue
Block a user