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
5a085c8a92
commit
4016b690d3
@ -1,6 +1,6 @@
|
||||
.. _catalog_tut:
|
||||
|
||||
Creating AZW3 • EPUB • MOBI Catalogs
|
||||
Creating AZW3 • EPUB • MOBI catalogs
|
||||
=====================================
|
||||
|
||||
calibre's Create catalog feature enables you to create a catalog of your library in a variety of formats. This help file describes cataloging options when generating a catalog in AZW3, EPUB and MOBI formats.
|
||||
|
@ -79,7 +79,7 @@ The four sub-directories are:
|
||||
========== =============
|
||||
|
||||
If you want to edit the input document a little before having calibre convert it, the best thing to
|
||||
do is edit the files in the :file:`input` sub-directory, then ZIP it up, and use the ZIP file as the
|
||||
do is edit the files in the :file:`input` sub-directory, then zip it up, and use the ZIP file as the
|
||||
input format for subsequent conversions. To do this use the :guilabel:`Edit meta information` dialog
|
||||
to add the ZIP file as a format for the book and then, in the top left corner of the conversion dialog,
|
||||
select ZIP as the input format.
|
||||
@ -442,7 +442,7 @@ generate a Table of Contents in the converted e-book, based on the actual conten
|
||||
This will launch the ToC Editor tool after the conversion. It allows you to
|
||||
create entries in the Table of Contents by simply clicking the place in the
|
||||
book where you want the entry to point. You can also use the ToC Editor by
|
||||
itself, without doing a conversion. Go to :guilabel:`Preferences->Toolbars`
|
||||
itself, without doing a conversion. Go to :guilabel:`Preferences->Interface->Toolbars`
|
||||
and add the :guilabel:`ToC Editor` to the main toolbar. Then just select the book you
|
||||
want to edit and click the :guilabel:`ToC Editor` button.
|
||||
|
||||
@ -622,7 +622,7 @@ the latest version of calibre as support for ``.docx`` files is very new).
|
||||
download it and convert it to EPUB or AZW3 to see what calibre can do.
|
||||
|
||||
calibre will automatically generate a Table of Contents based on headings if you mark
|
||||
your headings with the ``Heading 1``, ``Heading 2``, etc. styles in Word. Open
|
||||
your headings with the ``Heading 1``, ``Heading 2``, etc. styles in Microsoft Word. Open
|
||||
the output e-book in the calibre E-book viewer and click the :guilabel:`Table of Contents` button
|
||||
to view the generated Table of Contents.
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
Writing your own plugins to extend calibre's functionality
|
||||
====================================================================
|
||||
|
||||
calibre has a very modular design. Almost all functionality in calibre comes in the form of plugins. Plugins are used for conversion, for downloading news (though these are called recipes), for various components of the user interface, to connect to different devices, to process files when adding them to calibre and so on. You can get a complete list of all the built-in plugins in calibre by going to :guilabel:`Preferences->Plugins`.
|
||||
calibre has a very modular design. Almost all functionality in calibre comes in the form of plugins. Plugins are used for conversion, for downloading news (though these are called recipes), for various components of the user interface, to connect to different devices, to process files when adding them to calibre and so on. You can get a complete list of all the built-in plugins in calibre by going to :guilabel:`Preferences->Advanced->Plugins`.
|
||||
|
||||
Here, we will teach you how to create your own plugins to add new features to calibre.
|
||||
|
||||
@ -63,7 +63,7 @@ The first thing to note is that this ZIP file has a lot more files in it, explai
|
||||
|
||||
**plugin-import-name-interface_demo.txt**
|
||||
An empty text file used to enable the multi-file plugin magic. This file must be present in all plugins that use
|
||||
more than one .py file. It should be empty and its filename must be of the form: plugin-import-name-**some_name**.txt
|
||||
more than one .py file. It should be empty and its filename must be of the form: ``plugin-import-name-**some_name**.txt``.
|
||||
The presence of this file allows you to import code from the .py files present inside the ZIP file, using a statement like::
|
||||
|
||||
from calibre_plugins.some_name.some_module import some_object
|
||||
@ -71,7 +71,7 @@ The first thing to note is that this ZIP file has a lot more files in it, explai
|
||||
The prefix ``calibre_plugins`` must always be present. ``some_name`` comes from the filename of the empty text file.
|
||||
``some_module`` refers to :file:`some_module.py` file inside the ZIP file. Note that this importing is just as
|
||||
powerful as regular Python imports. You can create packages and subpackages of .py modules inside the ZIP file,
|
||||
just like you would normally (by defining __init__.py in each sub-directory), and everything should Just Work.
|
||||
just like you would normally (by defining __init__.py in each sub-directory), and everything should "just work".
|
||||
|
||||
The name you use for ``some_name`` enters a global namespace shared by all plugins, **so make it as unique as possible**.
|
||||
But remember that it must be a valid Python identifier (only alphabets, numbers and the underscore).
|
||||
@ -278,7 +278,7 @@ typical User Interface plugin you would call it at the top of ``ui.py`` but not
|
||||
``__init__.py``.
|
||||
|
||||
You can test the translations of your plugins by changing the user interface
|
||||
language in calibre under :guilabel:`Preferences->Look & feel` or by running calibre like
|
||||
language in calibre under :guilabel:`Preferences->Interface->Look & feel` or by running calibre like
|
||||
this::
|
||||
|
||||
CALIBRE_OVERRIDE_LANG=de calibre
|
||||
|
@ -55,9 +55,8 @@ Overriding icons, templates, et cetera
|
||||
|
||||
.. note::
|
||||
calibre has direct support for icon themes, there are several icon themes
|
||||
available for calibre, that you can use by going to :guilabel:`Preferences->Look &
|
||||
Feel->Change Icon theme`. The icon themes use the same mechanism as
|
||||
described below for overriding static resources.
|
||||
available for calibre, that you can use by going to :guilabel:`Preferences->Interface->Look & Feel->Change Icon theme`.
|
||||
The icon themes use the same mechanism as described below for overriding static resources.
|
||||
|
||||
calibre allows you to override the static resources, like icons, javascript and
|
||||
templates for the metadata jacket, catalogs, etc. with customized versions that
|
||||
@ -103,7 +102,7 @@ make your theme available via calibre's builtin icon theme system.
|
||||
Customizing calibre with plugins
|
||||
--------------------------------
|
||||
|
||||
calibre has a very modular design. Almost all functionality in calibre comes in the form of plugins. Plugins are used for conversion, for downloading news (though these are called recipes), for various components of the user interface, to connect to different devices, to process files when adding them to calibre and so on. You can get a complete list of all the built-in plugins in calibre by going to :guilabel:`Preferences->Plugins`.
|
||||
calibre has a very modular design. Almost all functionality in calibre comes in the form of plugins. Plugins are used for conversion, for downloading news (though these are called recipes), for various components of the user interface, to connect to different devices, to process files when adding them to calibre and so on. You can get a complete list of all the built-in plugins in calibre by going to :guilabel:`Preferences->Advanced->Plugins`.
|
||||
|
||||
You can write your own plugins to customize and extend the behavior of calibre. The plugin architecture in calibre is very simple, see the tutorial :ref:`pluginstutorial`.
|
||||
|
||||
|
@ -79,11 +79,11 @@ The covers for my MOBI files have stopped showing up in Kindle for PC/Kindle for
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
This is caused by a bug in the Amazon software. You can work around it by going
|
||||
to :guilabel:`Preferences->Output Options->MOBI output` and setting the "Enable sharing
|
||||
of book content" option. If you are reconverting a previously converted book,
|
||||
you will also have to enable the option in the conversion dialog for that
|
||||
individual book (as per book conversion settings are saved and take
|
||||
precedence).
|
||||
to :guilabel:`Preferences->Conversion->Output Options->MOBI output` and setting
|
||||
the :guilabel:`Enable sharing of book content` option. If you are reconverting
|
||||
a previously converted book, you will also have to enable the option in the
|
||||
conversion dialog for that individual book (as per book conversion settings are
|
||||
saved and take precedence).
|
||||
|
||||
Note that doing this will mean that the generated MOBI will show up under
|
||||
personal documents instead of Books on the Kindle Fire and Amazon whispersync
|
||||
@ -134,7 +134,7 @@ conversion dialog to control how the Table of Contents is generated.
|
||||
C.html and D.html, but B.html also links to D.html, then the files will be
|
||||
in the order A.html, B.html, D.html, C.html. If instead you want the order
|
||||
to be A.html, B.html, C.html, D.html then you must tell calibre to add your
|
||||
files in *breadth first* order. Do this by going to Preferences->Plugins
|
||||
files in *breadth first* order. Do this by going to :guilabel:`Preferences->Advanced->Plugins`
|
||||
and customizing the HTML to ZIP plugin.
|
||||
|
||||
The EPUB I produced with calibre is not valid?
|
||||
@ -242,7 +242,7 @@ of which books are members are shown on the device view.
|
||||
|
||||
When you send a book to the reader, calibre will add the book to collections based on the metadata for that book. By
|
||||
default, collections are created from tags and series. You can control what metadata is used by going to
|
||||
:guilabel:`Preferences->Plugins->Device Interface plugins` and customizing the SONY device interface plugin. If you remove all
|
||||
:guilabel:`Preferences->Advanced->Plugins->Device Interface plugins` and customizing the SONY device interface plugin. If you remove all
|
||||
values, calibre will not add the book to any collection.
|
||||
|
||||
Collection management is largely controlled by the 'Metadata management' option found at
|
||||
@ -329,7 +329,7 @@ over the net. First perform the following steps in calibre
|
||||
selecting them and clicking the :guilabel:`Convert` button.
|
||||
* Turn on the Content server by clicking the :guilabel:`Connect/share` button
|
||||
and leave calibre running. You can also tell calibre to automatically start the
|
||||
Content server via :guilabel:`Preferences->Sharing over the net`.
|
||||
Content server via :guilabel:`Preferences->Sharing->Sharing over the net`.
|
||||
|
||||
There are many apps for your iDevice that can connect to the calibre Content
|
||||
server.
|
||||
@ -469,7 +469,7 @@ Can I access my calibre books using the web browser in my Kindle or other readin
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
calibre has a *Content server* that exports the books in calibre as a web page. You can turn it on under
|
||||
:guilabel:`Preferences->Sharing over the net`. Then just point the web browser on your device to the computer running
|
||||
:guilabel:`Preferences->Sharing->Sharing over the net`. Then just point the web browser on your device to the computer running
|
||||
the Content server and you will be able to browse your book collection. For example, if the computer running
|
||||
the server has IP address 63.45.128.5, in the browser, you would type::
|
||||
|
||||
@ -493,7 +493,7 @@ The most common problem is if you are sending email directly (without a mail rel
|
||||
that does not come from a well known relay. The most robust way to setup email sending in calibre is to do the following:
|
||||
|
||||
* Create a free GMX account at `GMX <https://www.gmx.com>`_.
|
||||
* Goto :guilabel:`Preferences->Sharing by Email` in calibre and click the :guilabel:`Use GMX` button and fill in the information asked for.
|
||||
* Goto :guilabel:`Preferences->Sharing->Sharing by Email` in calibre and click the :guilabel:`Use GMX` button and fill in the information asked for.
|
||||
* Log into your GMX account on the website and enable SMTP sending (`Settings->POP3 & IMAP->Send and receive emails via external program`)
|
||||
* calibre will then be able to use GMX to send the mail.
|
||||
* If you are sending to your Kindle, remember to update the email preferences
|
||||
@ -510,7 +510,7 @@ antivirus program.
|
||||
amounts of email. So, when using these services to send mail calibre automatically
|
||||
restricts itself to sending one book every five minutes. If you don't mind
|
||||
risking your account being blocked you can reduce this wait interval by going
|
||||
to Preferences->Tweaks in calibre.
|
||||
to :guilabel:`Preferences->Advanced->Tweaks` in calibre.
|
||||
|
||||
.. note::
|
||||
Google recently deliberately broke their email sending protocol (SMTP) support in
|
||||
@ -634,11 +634,11 @@ 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.
|
||||
* 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 change this algorithm by going to :guilabel:`Preferences->Advanced->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 :guilabel:`Preferences->Advanced->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.
|
||||
|
||||
|
@ -120,9 +120,12 @@ View
|
||||
.. |vi| image:: images/view.png
|
||||
:class: float-right-img
|
||||
|
||||
|vi| The :guilabel:`View` action displays the book in an e-book viewer program. calibre has a built-in viewer for many e-book formats.
|
||||
For other formats it uses the default operating system application. You can configure which formats should open with the internal viewer via
|
||||
Preferences->Behavior. If a book has more than one format, you can view a particular format by doing a right-click on the button.
|
||||
|vi| The :guilabel:`View` action displays the book in an e-book viewer program.
|
||||
calibre has a built-in viewer for many e-book formats. For other formats it
|
||||
uses the default operating system application. You can configure which formats
|
||||
should open with the internal viewer via
|
||||
:guilabel:`Preferences->Interface->Behavior`. If a book has more than one
|
||||
format, you can view a particular format by doing a right-click on the button.
|
||||
|
||||
|
||||
.. _send_to_device:
|
||||
@ -221,9 +224,9 @@ Save to disk
|
||||
|
||||
For 1. and 2., all available formats, as well as metadata, are stored to disk for each selected book. Metadata is stored in an OPF file. Saved books can be re-imported to the library without any loss of information by using the :ref:`Add books <add_books>` action.
|
||||
|
||||
3. **Save only *<your preferred>* format to disk**: Saves the selected books to disk in the directory structure as shown in (1.) but only in your preferred e-book format. You can set your preferred format in :guilabel:`Preferences->Behaviour->Preferred output format`
|
||||
3. **Save only *<your preferred>* format to disk**: Saves the selected books to disk in the directory structure as shown in (1.) but only in your preferred e-book format. You can set your preferred format in :guilabel:`Preferences->Interface->Behaviour->Preferred output format`
|
||||
|
||||
4. **Save only *<your preferred>* format to disk in a single directory**: Saves the selected books to disk in a single directory but only in your preferred e-book format. You can set your preferred format in :guilabel:`Preferences->Behaviour->Preferred output format`
|
||||
4. **Save only *<your preferred>* format to disk in a single directory**: Saves the selected books to disk in a single directory but only in your preferred e-book format. You can set your preferred format in :guilabel:`Preferences->Interface->Behaviour->Preferred output format`
|
||||
|
||||
5. **Save single format to disk...**: Saves the selected books to disk in the directory structure as shown in (1.) but only in the format you select from the pop-out list.
|
||||
|
||||
@ -457,7 +460,7 @@ Guessing metadata from file names
|
||||
|
||||
Normally, calibre reads metadata from inside the book file. However, it can
|
||||
be configured to read metadata from the file name instead, via
|
||||
:guilabel:`Preferences->Adding Books->Read metadata from file contents`.
|
||||
:guilabel:`Preferences->Import/export->Adding Books->Read metadata from file contents`.
|
||||
|
||||
You can also control how metadata is read from the filename using regular
|
||||
expressions (see :doc:`regexp`). In the :guilabel:`Adding Books` section of
|
||||
@ -512,7 +515,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->Interface->Look & feel->Book details`.
|
||||
|
||||
.. raw:: html epub
|
||||
|
||||
@ -539,7 +542,7 @@ You can search user categories in the same way as built-in categories, by clicki
|
||||
3. "everything not matching an item in the category" shown by a single red minus sign.
|
||||
4. "everything not matching an item in the category or its sub-categories" shown by two red minus signs.
|
||||
|
||||
It is also possible to create hierarchies inside some of the text categories such as tags, series, and custom columns. These hierarchies show with the small triangle, permitting the sub-items to be hidden. To use hierarchies of items in a category, you must first go to :guilabel:`Preferences->Look & feel` and enter the category name(s) into the "Categories with hierarchical items" box. Once this is done, items in that category that contain periods will be shown using the small triangle. For example, assume you create a custom column called "Genre" and indicate that it contains hierarchical items. Once done, items such as Mystery.Thriller and Mystery.English will display as Mystery with the small triangle next to it. Clicking on the triangle will show Thriller and English as sub-items. See :ref:`Managing subgroups of books, for example "genre" <subgroups-tutorial>` for more information.
|
||||
It is also possible to create hierarchies inside some of the text categories such as tags, series, and custom columns. These hierarchies show with the small triangle, permitting the sub-items to be hidden. To use hierarchies of items in a category, you must first go to :guilabel:`Preferences->Interface->Look & feel` and enter the category name(s) into the "Categories with hierarchical items" box. Once this is done, items in that category that contain periods will be shown using the small triangle. For example, assume you create a custom column called "Genre" and indicate that it contains hierarchical items. Once done, items such as Mystery.Thriller and Mystery.English will display as Mystery with the small triangle next to it. Clicking on the triangle will show Thriller and English as sub-items. See :ref:`Managing subgroups of books, for example "genre" <subgroups-tutorial>` for more information.
|
||||
|
||||
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".
|
||||
|
||||
@ -559,13 +562,14 @@ Cover grid
|
||||
.. image:: images/cover_grid.png
|
||||
:align: center
|
||||
|
||||
You can have calibre display a grid of book covers instead of a list of books, if
|
||||
you prefer to browse your collection by covers instead. The :guilabel:`Cover
|
||||
grid` is activated by clicking the grid button in the bottom right corner of
|
||||
the main calibre window. You can customize the cover sizes and the background of
|
||||
the :guilabel:`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.
|
||||
You can have calibre display a grid of book covers instead of a list of books,
|
||||
if you prefer to browse your collection by covers instead. The
|
||||
:guilabel:`Cover grid` is activated by clicking the grid button in the bottom right corner of
|
||||
the main calibre window. You can customize the cover sizes and the background
|
||||
of the :guilabel:`Cover grid` via
|
||||
:guilabel:`Preferences->Interface->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
|
||||
---------------
|
||||
@ -575,7 +579,7 @@ Cover browser
|
||||
|
||||
In addition to the :guilabel:`Cover grid` described above, you can also have calibre display
|
||||
covers in the single row. This is activated via a button in the lower right
|
||||
corner of the main window. In :guilabel:`Preferences->Look & feel->Cover
|
||||
corner of the main window. In :guilabel:`Preferences->Interface->Look & feel->Cover
|
||||
browser` you can change the number of covers displayed, and even have the
|
||||
:guilabel:`Cover browser` display itself in a separate popup window.
|
||||
|
||||
@ -665,7 +669,7 @@ calibre has several keyboard shortcuts to save you time and mouse movement. Thes
|
||||
* - :kbd:`P`
|
||||
- Polish books
|
||||
* - :kbd:`S`
|
||||
- Save to Disk
|
||||
- Save to disk
|
||||
* - :kbd:`T`
|
||||
- Edit book
|
||||
* - :kbd:`V`
|
||||
|
@ -82,10 +82,10 @@ You can edit a previously created virtual library or remove it, by clicking the
|
||||
|
||||
You can tell calibre that you always want to apply a particular virtual library
|
||||
when the current library is opened, by going to
|
||||
:guilabel:`Preferences->Behavior`.
|
||||
:guilabel:`Preferences->Interface->Behavior`.
|
||||
|
||||
If you use the calibre Content server, you can have it share a virtual library
|
||||
instead of the full library by going to :guilabel:`Preferences->Sharing over the net`.
|
||||
instead of the full library by going to :guilabel:`Preferences->Sharing->Sharing over the net`.
|
||||
|
||||
You can quickly use the current search as a temporary virtual library by
|
||||
clicking the :guilabel:`Virtual library` button and choosing the
|
||||
|
@ -62,8 +62,8 @@ class Plugin(object): # {{{
|
||||
author = _('Unknown')
|
||||
|
||||
#: When more than one plugin exists for a filetype,
|
||||
#: the plugins are run in order of decreasing priority
|
||||
#: i.e. plugins with higher priority will be run first.
|
||||
#: the plugins are run in order of decreasing priority.
|
||||
#: Plugins with higher priority will be run first.
|
||||
#: The highest possible priority is ``sys.maxint``.
|
||||
#: Default priority is 1.
|
||||
priority = 1
|
||||
|
@ -1325,7 +1325,7 @@ class Tweaks(PreferencesPlugin):
|
||||
class Keyboard(PreferencesPlugin):
|
||||
name = 'Keyboard'
|
||||
icon = I('keyboard-prefs.png')
|
||||
gui_name = _('Keyboard')
|
||||
gui_name = _('Shortcuts')
|
||||
category = 'Advanced'
|
||||
gui_category = _('Advanced')
|
||||
category_order = 5
|
||||
|
@ -759,7 +759,7 @@ def option_parser():
|
||||
help=_('Add a plugin by specifying the path to the ZIP file containing it.'))
|
||||
parser.add_option('-b', '--build-plugin', default=None,
|
||||
help=_('For plugin developers: Path to the directory where you are'
|
||||
' developing the plugin. This command will automatically ZIP '
|
||||
' developing the plugin. This command will automatically zip '
|
||||
'up the plugin and update it in calibre.'))
|
||||
parser.add_option('-r', '--remove-plugin', default=None,
|
||||
help=_('Remove a custom plugin by name. Has no effect on builtin plugins'))
|
||||
|
@ -369,7 +369,7 @@ class AdvancedGroupBox(DeviceOptionsGroupBox):
|
||||
self.support_newer_firmware_checkbox = create_checkbox(
|
||||
_("Attempt to support newer firmware"),
|
||||
_('Kobo routinely updates the firmware and the '
|
||||
'database version. With this option Calibre will attempt '
|
||||
'database version. With this option calibre will attempt '
|
||||
'to perform full read-write functionality - Here be Dragons!! '
|
||||
'Enable only if you are comfortable with restoring your kobo '
|
||||
'to factory defaults and testing software. '
|
||||
|
@ -41,8 +41,8 @@ def archive_type(stream):
|
||||
class ArchiveExtract(FileTypePlugin):
|
||||
name = 'Archive Extract'
|
||||
author = 'Kovid Goyal'
|
||||
description = _('Extract common e-book formats from archives '
|
||||
'(ZIP/RAR) files. Also try to autodetect if they are actually '
|
||||
description = _('Extract common e-book formats from archive files '
|
||||
'(ZIP/RAR). Also try to autodetect if they are actually '
|
||||
'CBZ/CBR files.')
|
||||
file_types = set(['zip', 'rar'])
|
||||
supported_platforms = ['windows', 'osx', 'linux']
|
||||
|
@ -508,7 +508,7 @@ class CopyToLibraryAction(InterfaceAction):
|
||||
if delete_after:
|
||||
msg += ' ' + _('No books were deleted from this library.')
|
||||
msg += ' ' + _('The best way to resume this operation is to re-copy all the books with the option to'
|
||||
' "Check for duplicates when Copying to Library" in Preferences->Adding books turned on.')
|
||||
' "Check for duplicates when copying to library" in Preferences->Import/Export->Adding books turned on.')
|
||||
warning_dialog(self.gui, _('Canceled'), msg, show=True)
|
||||
return
|
||||
|
||||
@ -531,7 +531,7 @@ class CopyToLibraryAction(InterfaceAction):
|
||||
'records in the target library. Click "Show '
|
||||
'details" to see which ones. This behavior is '
|
||||
'controlled by the Automerge option in '
|
||||
'Preferences->Adding books.'), det_msg=books,
|
||||
'Preferences->Import/Export->Adding books.'), det_msg=books,
|
||||
show=True)
|
||||
if delete_after and self.worker.processed:
|
||||
v = self.gui.library_view
|
||||
|
@ -27,7 +27,7 @@ class PreferencesAction(InterfaceAction):
|
||||
cm = partial(self.create_menu_action, pm)
|
||||
if isosx:
|
||||
pm.addAction(QIcon(I('config.png')), _('Preferences'), self.do_config)
|
||||
cm('welcome wizard', _('Run welcome wizard'),
|
||||
cm('welcome wizard', _('Run welcome &wizard'),
|
||||
icon='wizard.png', triggered=self.gui.run_wizard)
|
||||
cm('plugin updater', _('Get plugins to enhance calibre'),
|
||||
icon='plugins/plugin_updater.png', triggered=self.get_plugins)
|
||||
@ -71,4 +71,3 @@ class PreferencesAction(InterfaceAction):
|
||||
|
||||
def debug_restart(self, *args):
|
||||
self.gui.quit(restart=True, debug_on_restart=True)
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
</property>
|
||||
<widget class="QWidget" name="tab_3">
|
||||
<attribute name="title">
|
||||
<string>The Add &Process</string>
|
||||
<string>The adding &process</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<item row="1" column="1" colspan="2">
|
||||
@ -161,7 +161,7 @@ Title match ignores leading indefinite articles ("the", "a",
|
||||
<item row="3" column="0" colspan="3">
|
||||
<widget class="QCheckBox" name="opt_check_for_dupes_on_ctl">
|
||||
<property name="text">
|
||||
<string>When using the "Copy to Library" action check for &duplicates with the same title and author</string>
|
||||
<string>When using the "Copy to library" action check for &duplicates with the same title and author</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -196,7 +196,7 @@ Title match ignores leading indefinite articles ("the", "a",
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_4">
|
||||
<attribute name="title">
|
||||
<string>&Automatic Adding</string>
|
||||
<string>&Automatic adding</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<item row="5" column="0">
|
||||
|
@ -281,7 +281,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
self.commit_icon_theme = None
|
||||
self.icon_theme_button.clicked.connect(self.choose_icon_theme)
|
||||
r('gui_layout', config, restart_required=True, choices=[(_('Wide'), 'wide'), (_('Narrow'), 'narrow')])
|
||||
r('ui_style', gprefs, restart_required=True, choices=[(_('System default'), 'system'), (_('Calibre style'),
|
||||
r('ui_style', gprefs, restart_required=True, choices=[(_('System default'), 'system'), (_('calibre style'),
|
||||
'calibre')])
|
||||
r('book_list_tooltips', gprefs)
|
||||
r('row_numbers_in_book_list', gprefs)
|
||||
|
@ -25,7 +25,7 @@
|
||||
<normaloff>:/images/lt.png</normaloff>:/images/lt.png</iconset>
|
||||
</attribute>
|
||||
<attribute name="title">
|
||||
<string>Main interface</string>
|
||||
<string>&Main interface</string>
|
||||
</attribute>
|
||||
<layout class="QGridLayout" name="gridLayout_9">
|
||||
<item row="9" column="0">
|
||||
@ -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>
|
||||
@ -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">
|
||||
@ -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">
|
||||
|
@ -238,7 +238,7 @@ class Preferences(QDialog):
|
||||
self.bb.button(self.bb.Discard).clicked.connect(self.reject)
|
||||
self.bb.button(self.bb.RestoreDefaults).setIcon(QIcon(I('clear_left.png')))
|
||||
self.bb.button(self.bb.RestoreDefaults).clicked.connect(self.restore_defaults)
|
||||
self.wizard_button = self.bb.addButton(_('Run welcome wizard'), self.bb.ActionRole)
|
||||
self.wizard_button = self.bb.addButton(_('Run welcome &wizard'), self.bb.ActionRole)
|
||||
self.wizard_button.setIcon(QIcon(I('wizard.png')))
|
||||
self.wizard_button.clicked.connect(self.run_wizard, type=Qt.QueuedConnection)
|
||||
self.wizard_button.setAutoDefault(False)
|
||||
@ -319,7 +319,7 @@ class Preferences(QDialog):
|
||||
self.bb.button(self.bb.RestoreDefaults).setToolTip(
|
||||
self.showing_widget.restore_defaults_desc if self.showing_widget.supports_restoring_to_defaults else
|
||||
(_('Restoring to defaults not supported for') + ' ' + plugin.gui_name))
|
||||
self.bb.button(self.bb.RestoreDefaults).setText(_('Restore defaults'))
|
||||
self.bb.button(self.bb.RestoreDefaults).setText(_('Restore &defaults'))
|
||||
self.showing_widget.changed_signal.connect(self.changed_signal)
|
||||
|
||||
def changed_signal(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user