String changes

This commit is contained in:
Kovid Goyal 2020-05-23 07:35:25 +05:30
parent 9047057528
commit 59e6c349f0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
5 changed files with 7 additions and 7 deletions

View File

@ -140,7 +140,7 @@ calibre's plugin loading system defines a couple of built-in functions that allo
**get_resources(name_or_list_of_names)** **get_resources(name_or_list_of_names)**
This function should be called with a list of paths to files inside the ZIP file. For example to access the file icon.png in This function should be called with a list of paths to files inside the ZIP file. For example to access the file icon.png in
the directory images in the ZIP file, you would use: ``images/icon.png``. Always use a forward slash as the path separator, the directory images in the ZIP file, you would use: ``images/icon.png``. Always use a forward slash as the path separator,
even on windows. When you pass in a single name, the function will return the raw bytes of that file or None if the name even on Windows. When you pass in a single name, the function will return the raw bytes of that file or None if the name
was not found in the ZIP file. If you pass in more than one name then it returns a dict mapping the names to bytes. was not found in the ZIP file. If you pass in more than one name then it returns a dict mapping the names to bytes.
If a name is not found, it will not be present in the returned dict. If a name is not found, it will not be present in the returned dict.

View File

@ -946,7 +946,7 @@ If you want to backup the calibre configuration/plugins, you have to backup the
How do I use purchased EPUB books with calibre (or what do I do with .acsm files)? How do I use purchased EPUB books with calibre (or what do I do with .acsm files)?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Most purchased EPUB books have :doc:`DRM <drm>`. This prevents calibre from opening them. You can still use calibre to store and transfer them to your e-book reader. First, you must authorize your reader on a windows machine with Adobe Digital Editions. Once this is done, EPUB books transferred with calibre will work fine on your reader. When you purchase an epub book from a website, you will get an ".acsm" file. This file should be opened with Adobe Digital Editions, which will then download the actual ".epub" e-book. The e-book file will be stored in the folder "My Digital Editions", from where you can add it to calibre. Most purchased EPUB books have :doc:`DRM <drm>`. This prevents calibre from opening them. You can still use calibre to store and transfer them to your e-book reader. First, you must authorize your reader on a Windows machine with Adobe Digital Editions. Once this is done, EPUB books transferred with calibre will work fine on your reader. When you purchase an epub book from a website, you will get an ".acsm" file. This file should be opened with Adobe Digital Editions, which will then download the actual ".epub" e-book. The e-book file will be stored in the folder "My Digital Editions", from where you can add it to calibre.
I am getting a "Permission Denied" error? I am getting a "Permission Denied" error?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -273,7 +273,7 @@ class DevicePlugin(Plugin):
:param connected_device: The device that we are trying to open. It is :param connected_device: The device that we are trying to open. It is
a tuple of (vendor id, product id, bcd, manufacturer name, product a tuple of (vendor id, product id, bcd, manufacturer name, product
name, device serial number). However, some devices have no serial name, device serial number). However, some devices have no serial
number and on windows only the first three fields are present, the number and on Windows only the first three fields are present, the
rest are None. rest are None.
:param library_uuid: The UUID of the current calibre library. Can be :param library_uuid: The UUID of the current calibre library. Can be

View File

@ -86,17 +86,17 @@ class Device(DeviceConfig, DevicePlugin):
VENDOR_NAME = None VENDOR_NAME = None
#: String identifying the main memory of the device in the windows PnP id #: String identifying the main memory of the device in the Windows PnP id
#: strings #: strings
#: This can be None, string, list of strings or compiled regex #: This can be None, string, list of strings or compiled regex
WINDOWS_MAIN_MEM = None WINDOWS_MAIN_MEM = None
#: String identifying the first card of the device in the windows PnP id #: String identifying the first card of the device in the Windows PnP id
#: strings #: strings
#: This can be None, string, list of strings or compiled regex #: This can be None, string, list of strings or compiled regex
WINDOWS_CARD_A_MEM = None WINDOWS_CARD_A_MEM = None
#: String identifying the second card of the device in the windows PnP id #: String identifying the second card of the device in the Windows PnP id
#: strings #: strings
#: This can be None, string, list of strings or compiled regex #: This can be None, string, list of strings or compiled regex
WINDOWS_CARD_B_MEM = None WINDOWS_CARD_B_MEM = None

View File

@ -221,7 +221,7 @@
<item row="6" column="0"> <item row="6" column="0">
<widget class="QCheckBox" name="opt_disable_tray_notification"> <widget class="QCheckBox" name="opt_disable_tray_notification">
<property name="toolTip"> <property name="toolTip">
<string>Disable popup notifications when calibre completes jobs such a conversion, sending to device etc. The notifications are sent via the operating system notification facility, if available. Note that on windows, you have to enable the system tray icon for notifications to work.</string> <string>Disable popup notifications when calibre completes jobs such a conversion, sending to device etc. The notifications are sent via the operating system notification facility, if available. Note that on Windows, you have to enable the system tray icon for notifications to work.</string>
</property> </property>
<property name="text"> <property name="text">
<string>Disable n&amp;otifications on job completion</string> <string>Disable n&amp;otifications on job completion</string>