# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2014-10-17 08:20+0530\n" "PO-Revision-Date: 2014-10-17 02:53+0000\n" "Last-Translator: Kovid Goyal \n" "Language-Team: Slovenian (Slovenia) (http://www.transifex.com/projects/p/calibre/language/sl_SI/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sl_SI\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" # 9c4ea81481df45679d23e1cad0c1b1ca #: ../../home/kovid/work/calibre/manual/plugins.rst:4 msgid "API Documentation for plugins" msgstr "" # 72287c27a20649788f971e678ed418f1 #: ../../home/kovid/work/calibre/manual/plugins.rst:9 msgid "" "Defines various abstract base classes that can be subclassed to create " "powerful plugins. The useful classes are:" msgstr "" # bcd5b25df93e41bd98686479d3625982 #: ../../home/kovid/work/calibre/manual/plugins.rst:19 msgid "Plugin" msgstr "" # a62e7d940d2d4c60b986e3724a133f02 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:1 msgid "A calibre plugin. Useful members include:" msgstr "" # b188ccda7d8448e59d35745bd2a2af9c #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:4 msgid "``self.plugin_path``: Stores path to the zip file that contains" msgstr "" # 3eb6b8cd96e94e3a970653edf847fac6 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:4 msgid "this plugin or None if it is a builtin plugin" msgstr "" # 99835c02f6804aeaa8d3e9e473096b6f #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:7 msgid "``self.site_customization``: Stores a customization string entered" msgstr "" # d2b98c9660df43c6b47088673a976f70 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:7 msgid "by the user." msgstr "" # 30b84908cd0a4fd4b8b724ba6408cc37 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:9 msgid "Methods that should be overridden in sub classes:" msgstr "" # 5ba02142930349a799e8d7ffc274ccd1 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:11 msgid ":meth:`initialize`" msgstr "" # 439c260103554a2b8b77c4c4b26d5177 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:12 msgid ":meth:`customization_help`" msgstr "" # 93a3b29463c54c8c89f27e64679b6822 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:14 msgid "Useful methods:" msgstr "" # c42131e426484c6381c0da16adb54c4b #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:16 msgid ":meth:`temporary_file`" msgstr "" # 40efad199d97480b9d163ff235cac0c2 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:17 msgid ":meth:`__enter__`" msgstr "" # e082930fe5af4a23be05592de5db85ab #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin:18 msgid ":meth:`load_resources`" msgstr "" # d1299ce8c2f64230b01a6ab55142e193 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.supported_platforms:1 msgid "" "List of platforms this plugin works on For example: ``['windows', 'osx', " "'linux']``" msgstr "" # 883a31e5f46d4d8a83fa58313626b34f #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.name:1 msgid "" "The name of this plugin. You must set it something other than Trivial Plugin" " for it to work." msgstr "" # a4207cb5801049748f217520044c7127 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.version:1 msgid "The version of this plugin as a 3-tuple (major, minor, revision)" msgstr "" # a62fc64e0f684e0e8692026f288e6af1 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.description:1 msgid "A short string describing what this plugin does" msgstr "" # c03c747214934f9286f3f512ad803be6 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.author:1 msgid "The author of this plugin" msgstr "" # 8d2dba690c7c41388f405574639c6475 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.priority:1 msgid "" "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 highest possible priority is ``sys.maxint``. Default priority is " "1." msgstr "" # e6ed6a2c6c9549e6b1e8b305f5b7dd04 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.minimum_calibre_version:1 msgid "The earliest version of calibre this plugin requires" msgstr "" # 8b20834da7734848ad098a1d1ae7ed0f #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.can_be_disabled:1 msgid "" "If False, the user will not be able to disable this plugin. Use with care." msgstr "" # 4e7caabc199c4b4288b951407d480ed7 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.type:1 msgid "The type of this plugin. Used for categorizing plugins in the GUI" msgstr "" # 80cb5ac1ddde415b9381772c16dad06a #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.initialize:1 msgid "" "Called once when calibre plugins are initialized. Plugins are re-initialized" " every time a new plugin is added." msgstr "" # e492b7259a6e4a09a46c54832f6ea076 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.initialize:4 msgid "" "Perform any plugin specific initialization here, such as extracting " "resources from the plugin zip file. The path to the zip file is available as" " ``self.plugin_path``." msgstr "" # d5dbc94cc4674252bda13d26d8ff84e4 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.initialize:8 msgid "" "Note that ``self.site_customization`` is **not** available at this point." msgstr "" # b280f5f14e314696b4fdc5a89c6bf147 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.config_widget:1 msgid "" "Implement this method and :meth:`save_settings` in your plugin to use a " "custom configuration dialog, rather then relying on the simple string based " "default customization." msgstr "" # 38fed1a4cb884987967d11e92f3f690c #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.config_widget:5 msgid "" "This method, if implemented, must return a QWidget. The widget can have an " "optional method validate() that takes no arguments and is called immediately" " after the user clicks OK. Changes are applied if and only if the method " "returns True." msgstr "" # 752b46d1a7c5432ea6656e0b552a360c #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.config_widget:10 msgid "" "If for some reason you cannot perform the configuration at this time, return" " a tuple of two strings (message, details), these will be displayed as a " "warning dialog to the user and the process will be aborted." msgstr "" # 8b0236f94f0143fcbe326569b9de8e08 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.save_settings:1 msgid "Save the settings specified by the user with config_widget." msgstr "" # e41284b0dcd34b7bbe138f3c1942bbb0 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.save_settings:3 msgid "The widget returned by :meth:`config_widget`." msgstr "" # 253ab07657144a29b3d6255a93791e29 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.do_user_config:1 msgid "" "This method shows a configuration dialog for this plugin. It returns True if" " the user clicks OK, False otherwise. The changes are automatically applied." msgstr "" # 866fcdfee758455eb6a8ab81ee11865b # a01e503394e44c7bad9a35ec6df5327a #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.load_resources:1 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.load_resources:1 msgid "" "If this plugin comes in a ZIP file (user added plugin), this method will " "allow you to load resources from the ZIP file." msgstr "" # 0419f6389dbb4159985d26118f351db4 # c053ad0e9cc7475480fd52cac22a803d #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.load_resources:4 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.load_resources:4 msgid "For example to load an image::" msgstr "" # ce8c9891bdb54d048bd729a393919792 # 2b381af1c58045a7838102bfd23e29f8 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.load_resources:10 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.load_resources:10 msgid "List of paths to resources in the zip file using / as separator" msgstr "" # 54b81c91d525454faac9a7243b9eefa5 # 74e3a7b78eff4bdeb35f9d12ab6e564a #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.load_resources:12 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.load_resources:12 msgid "" "A dictionary of the form ``{name : file_contents}``. Any names that were not" " found in the zip file will not be present in the dictionary." msgstr "" # 4d1a750ceff34d7b90b509a2303087e9 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.customization_help:1 msgid "" "Return a string giving help on how to customize this plugin. By default " "raise a :class:`NotImplementedError`, which indicates that the plugin does " "not require customization." msgstr "" # e11b2eb1f2b74291bf9f15595fd0671a #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.customization_help:5 msgid "" "If you re-implement this method in your subclass, the user will be asked to " "enter a string as customization for this plugin. The customization string " "will be available as ``self.site_customization``." msgstr "" # d1bfad720cf449568221c0fd58845d65 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.customization_help:10 msgid "" "Site customization could be anything, for example, the path to a needed " "binary on the user's computer." msgstr "" # da802e97acd34d43aedfe7974d90145c #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.customization_help:13 msgid "If True return HTML help, otherwise return plain text help." msgstr "" # 95c88017cbc14c169b55e3ef07fd0dbc #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.temporary_file:1 msgid "" "Return a file-like object that is a temporary file on the file system. This " "file will remain available even after being closed and will only be removed " "on interpreter shutdown. Use the ``name`` member of the returned object to " "access the full path to the created temporary file." msgstr "" # b4758b1268f149c0b7441574290aa092 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.temporary_file:6 msgid "The suffix that the temporary file will have." msgstr "" # 0ee852718bfe4408bb0fb011d3192bea #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.Plugin.cli_main:1 msgid "" "This method is the main entry point for your plugins command line interface." " It is called when the user does: calibre-debug -r \"Plugin Name\". Any " "arguments passed are present in the args variable." msgstr "" # c926066dfd61431eaa1c685ba1bd21c2 #: ../../home/kovid/work/calibre/manual/plugins.rst:28 msgid "FileTypePlugin" msgstr "" # 084d862287ab43fca9df37581a981310 # 0609e62b1aa1475182ac68037c3922e3 # 8cab6723786a47f8a0cc361780364420 # 861eae84d4fd4970b3837a7f2d6385a9 # 5b70f570ca174e3a9560fb3983869e38 # b3155fb256ec458ead9d6dcd511a8a73 # 0d48f690b1fd4dd78ef4ba9088485c2f # ef87892b57d8448baad960095087d529 # 0dd0b033f44142e59bfdd27f2a8ef535 # 3415d8f691604a50a3e4211050425dce # 4ea7b85eb2f343e6a56cba21e2ba62fb #: ../../home/kovid/work/calibre/manual/:1 #: ../../home/kovid/work/calibre/manual/:1 #: ../../home/kovid/work/calibre/manual/:1 #: ../../home/kovid/work/calibre/manual/:1 #: ../../home/kovid/work/calibre/manual/:1 #: ../../home/kovid/work/calibre/manual/:1 #: ../../home/kovid/work/calibre/manual/:1 #: ../../home/kovid/work/calibre/manual/:1 #: ../../home/kovid/work/calibre/manual/:1 #: ../../home/kovid/work/calibre/manual/:1 #: ../../home/kovid/work/calibre/manual/:1 msgid "Bases: :class:`calibre.customize.Plugin`" msgstr "" # 908381dcd03843b3ae8851e6eaa8ec49 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin:1 msgid "A plugin that is associated with a particular set of file types." msgstr "" # 08de53f569dc4681bfed021939435346 # 924c6ed39b454a77808a997b71454c81 # c8c42ebffcc24e5c8e759940b98873ae #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.file_types:1 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataReaderPlugin.file_types:1 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataWriterPlugin.file_types:1 msgid "" "Set of file types for which this plugin should be run For example: " "``set(['lit', 'mobi', 'prc'])``" msgstr "" # 4563e1c8b41c4ea99c0f7b245944ca6a #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.on_import:1 msgid "If True, this plugin is run when books are added to the database" msgstr "" # 511d45ee8a5a47b99765f247341d7046 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.on_postimport:1 msgid "If True, this plugin is run after books are added to the database" msgstr "" # c0af415409de44e4aff4344c2b2a2ba6 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.on_preprocess:1 msgid "If True, this plugin is run just before a conversion" msgstr "" # d0fb62f579c0432fa6dbe518d91ab5d1 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.on_postprocess:1 msgid "" "If True, this plugin is run after conversion on the final file produced by " "the conversion output plugin." msgstr "" # ea63d8b652c843c6b09b816036994942 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.run:1 msgid "" "Run the plugin. Must be implemented in subclasses. It should perform " "whatever modifications are required on the ebook and return the absolute " "path to the modified ebook. If no modifications are needed, it should return" " the path to the original ebook. If an error is encountered it should raise " "an Exception. The default implementation simply return the path to the " "original ebook." msgstr "" # d51383070c084ec487e0d673fb9f5cdd #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.run:9 msgid "" "The modified ebook file should be created with the :meth:`temporary_file` " "method." msgstr "" # 36072fa92adc48c69c8a45a1771bba3d #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.run:12 msgid "Absolute path to the ebook." msgstr "" # 1a499dab1a1d45c7b71567c9a9f5e298 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.run:14 msgid "Absolute path to the modified ebook." msgstr "" # 385dd7778aa344b29e16efb17cd02807 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postimport:1 msgid "" "Called post import, i.e., after the book file has been added to the " "database." msgstr "" # 7369339bcfa544ffb71ad1724f6d3481 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postimport:3 msgid "Database id of the added book." msgstr "" # 5ceadcdb29be4611805c2401d47f55c9 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.FileTypePlugin.postimport:4 msgid "The file type of the book that was added. :param db: Library database." msgstr "" # ac19c0bc726b48a2abebd809629259f1 #: ../../home/kovid/work/calibre/manual/plugins.rst:39 msgid "Metadata plugins" msgstr "" # 73ff79e483644e669a5f4748e4f05498 # b0119b7f091a49c2a59105be96363393 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataReaderPlugin:1 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataWriterPlugin:1 msgid "A plugin that implements reading metadata from a set of file types." msgstr "" # 9880432ad6b04692b3b5ceb3169b7495 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataReaderPlugin.get_metadata:1 msgid "" "Return metadata for the file represented by stream (a file like object that " "supports reading). Raise an exception when there is an error with the input " "data. :param type: The type of file. Guaranteed to be one of the entries in " ":attr:`file_types`. :return: A " ":class:`calibre.ebooks.metadata.book.Metadata` object" msgstr "" # 01f8b6bc82174c99beaffd8e9775da08 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.MetadataWriterPlugin.set_metadata:1 msgid "" "Set metadata for the file represented by stream (a file like object that " "supports reading). Raise an exception when there is an error with the input " "data. :param type: The type of file. Guaranteed to be one of the entries in " ":attr:`file_types`. :param mi: A " ":class:`calibre.ebooks.metadata.book.Metadata` object" msgstr "" # 0c130d9bfc3040f9be89f92a9306b810 #: ../../home/kovid/work/calibre/manual/plugins.rst:54 msgid "Catalog plugins" msgstr "" # 79dd5a0e687a423cbe411136cbc7b69c #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin:1 msgid "A plugin that implements a catalog generator." msgstr "" # fc7ca1a4463c40eca5ddc0d9fad5b90e #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.file_types:1 msgid "" "Output file type for which this plugin should be run For example: 'epub' or " "'xml'" msgstr "" # ccab92f1bdb345e9923c38c831b9a3e4 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.cli_options:1 msgid "" "CLI parser options specific to this plugin, declared as namedtuple Option::" msgstr "" # c1317fba96d9449d957f4ec0527e7727 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.initialize:1 msgid "" "If plugin is not a built-in, copy the plugin's .ui and .py files from the " "zip file to $TMPDIR. Tab will be dynamically generated and added to the " "Catalog Options dialog in calibre.gui2.dialogs.catalog.py:Catalog" msgstr "" # 12ab0f306b224088927b596c55da72c4 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.run:1 msgid "" "Run the plugin. Must be implemented in subclasses. It should generate the " "catalog in the format specified in file_types, returning the absolute path " "to the generated catalog file. If an error is encountered it should raise an" " Exception." msgstr "" # 1d93f581338c4787b33be9eb863c3439 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.run:7 msgid "" "The generated catalog file should be created with the :meth:`temporary_file`" " method." msgstr "" # 635b588989ae4f06815fcab2238f88a1 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.run:10 msgid "Absolute path to the generated catalog file." msgstr "" # 2715fff799cc4135b7d01af58b076c1c #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.run:11 msgid "A dictionary of keyword arguments" msgstr "" # 6701ae76b28a49d0b7c061200282eb2c #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.CatalogPlugin.run:12 msgid "A LibraryDatabase2 object" msgstr "" # 12e436d03dda45c3802ff2d7f098bd0d #: ../../home/kovid/work/calibre/manual/plugins.rst:64 msgid "Metadata download plugins" msgstr "" # 1916d6bb8eda4338aa491696feaf6dc9 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.capabilities:1 msgid "" "Set of capabilities supported by this plugin. Useful capabilities are: " "'identify', 'cover'" msgstr "" # 3bc74747daec435db8dd68cf14f240b5 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.touched_fields:1 msgid "" "List of metadata fields that can potentially be download by this plugin " "during the identify phase" msgstr "" # 9847adaa1fcd4f2db8e617d9af9f1171 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.has_html_comments:1 msgid "Set this to True if your plugin returns HTML formatted comments" msgstr "" # ba81d0be43bd4198a959193b2eb99c9b #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of #: calibre.ebooks.metadata.sources.base.Source.supports_gzip_transfer_encoding:1 msgid "" "Setting this to True means that the browser object will add Accept-Encoding:" " gzip to all requests. This can speedup downloads but make sure that the " "source actually supports gzip transfer encoding correctly first" msgstr "" # 271e6d2fad6246009d18aab40ac94e18 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of #: calibre.ebooks.metadata.sources.base.Source.cached_cover_url_is_reliable:1 msgid "" "Cached cover URLs can sometimes be unreliable (i.e. the download could fail " "or the returned image could be bogus. If that is often the case with this " "source set to False" msgstr "" # ffef5ae9177c46e7ac841b13a4e10506 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.options:1 msgid "" "A list of :class:`Option` objects. They will be used to automatically " "construct the configuration widget for this plugin" msgstr "" # b01972d36b3a488fb23f99a4ee572884 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.config_help_message:1 msgid "" "A string that is displayed at the top of the config widget for this plugin" msgstr "" # e627c74d8e2640ef8b3cde1af26b75f5 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.can_get_multiple_covers:1 msgid "If True this source can return multiple covers for a given query" msgstr "" # 9662f4db69d648b28e19cf7add30a287 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.auto_trim_covers:1 msgid "" "If set to True covers downloaded by this plugin are automatically trimmed." msgstr "" # 2d646a51cb7440de9a28cc691a14f813 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.is_configured:1 msgid "" "Return False if your plugin needs to be configured before it can be used. " "For example, it might need a username/password/API key." msgstr "" # 24d72a8c1bb343789263b87e197820ba #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_author_tokens:1 msgid "" "Take a list of authors and return a list of tokens useful for an AND search " "query. This function tries to return tokens in first name middle names last " "name order, by assuming that if a comma is in the author name, the name is " "in lastname, other names form." msgstr "" # 523420c1c797461faf1e3298107ef556 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_title_tokens:1 msgid "" "Take a title and return a list of tokens useful for an AND search query. " "Excludes connectives(optionally) and punctuation." msgstr "" # fa39485850f04c3ba14bb285911807f1 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.split_jobs:1 msgid "Split a list of jobs into at most num groups, as evenly as possible" msgstr "" # 7057284d6ee2469a999544735fc5c8a7 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.test_fields:1 msgid "" "Return the first field from self.touched_fields that is null on the mi " "object" msgstr "" # 31c4fc68fe9a46e587e4db3285731365 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.clean_downloaded_metadata:1 msgid "" "Call this method in your plugin's identify method to normalize metadata " "before putting the Metadata object into result_queue. You can of course, use" " a custom algorithm suited to your metadata source." msgstr "" # 572c8d7c69214b038f7efcc3644e7035 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_book_url:1 msgid "" "Return a 3-tuple or None. The 3-tuple is of the form: (identifier_type, " "identifier_value, URL). The URL is the URL for the book identified by " "identifiers at this source. identifier_type, identifier_value specify the " "identifier corresponding to the URL. This URL must be browseable to by a " "human using a browser. It is meant to provide a clickable link for the user " "to easily visit the books page at this source. If no URL is found, return " "None. This method must be quick, and consistent, so only implement it if it " "is possible to construct the URL from a known scheme given identifiers." msgstr "" # f9b188355e104adea1ae0029589bdf06 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_book_url_name:1 msgid "Return a human readable name from the return value of get_book_url()." msgstr "" # 3edf986033224cbeb9a7ba260261d0c8 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_cached_cover_url:1 msgid "" "Return cached cover URL for the book identified by the identifiers dict or " "None if no such URL exists." msgstr "" # 2d65cbefc1c94ac8baf8c08ff3ac0bd6 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.get_cached_cover_url:4 msgid "" "Note that this method must only return validated URLs, i.e. not URLS that " "could result in a generic cover image or a not found error." msgstr "" # 8d585ff302534b3396f63488c800e78a #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:1 msgid "" "Return a function that is used to generate a key that can sort Metadata " "objects by their relevance given a search query (title, authors, " "identifiers)." msgstr "" # 2cf86fc119b54c30822b11e072069e3f #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:5 msgid "These keys are used to sort the results of a call to :meth:`identify`." msgstr "" # e6c26a394a2d4d96af8f0c85e520ceb8 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:7 msgid "" "For details on the default algorithm see " ":class:`InternalMetadataCompareKeyGen`. Re-implement this function in your " "plugin if the default algorithm is not suitable." msgstr "" # 9ce7020af765410f9b1ff82f62b54887 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:1 msgid "Identify a book by its title/author/isbn/etc." msgstr "" # ec91d3df5d5f466fbe5fd0d6098611fc #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:3 msgid "" "If identifiers(s) are specified and no match is found and this metadata " "source does not store all related identifiers (for example, all ISBNs of a " "book), this method should retry with just the title and author (assuming " "they were specified)." msgstr "" # 8c9dd4ee8cff4952a22c9526e00aeab1 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:8 msgid "" "If this metadata source also provides covers, the URL to the cover should be" " cached so that a subsequent call to the get covers API with the same " "ISBN/special identifier does not need to get the cover URL again. Use the " "caching API for this." msgstr "" # 8af735aba7144c73b43e3d025bf259fc #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:13 msgid "" "Every Metadata object put into result_queue by this method must have a " "`source_relevance` attribute that is an integer indicating the order in " "which the results were returned by the metadata source for this query. This " "integer will be used by :meth:`compare_identify_results`. If the order is " "unimportant, set it to zero for every result." msgstr "" # 5c511e5aa54e43cabe5ca32351e02a73 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:19 msgid "" "Make sure that any cover/isbn mapping information is cached before the " "Metadata object is put into result_queue." msgstr "" # daafe4aa21e4448a80d0fd00b22e63c3 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:22 msgid "A log object, use it to output debugging information/errors" msgstr "" # bc1708b7d40145278f35daaa26c03d90 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:23 msgid "" "A result Queue, results should be put into it. Each result is a Metadata " "object" msgstr "" # 6013a4c7841b4259983a6ef540f3c9da #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:25 msgid "" "If abort.is_set() returns True, abort further processing and return as soon " "as possible" msgstr "" # b90aaba5fe6548ba8468d7fd203cd181 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:27 msgid "The title of the book, can be None" msgstr "" # 605858b320664d198800bb67c40bd927 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:28 msgid "A list of authors of the book, can be None" msgstr "" # baf17810f9ba495e85774ef52f7254ee #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:29 msgid "A dictionary of other identifiers, most commonly {'isbn':'1234...'}" msgstr "" # 591fff96b9564600b2d2fc1f168de7c6 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:31 msgid "" "Timeout in seconds, no network request should hang for longer than timeout." msgstr "" # 55a1453573dc4607b95ee067d316b0c3 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.identify:33 msgid "" "None if no errors occurred, otherwise a unicode representation of the error " "suitable for showing to the user" msgstr "" # 3ab98703cfaf4a63805899160151c35e #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.download_cover:1 msgid "" "Download a cover and put it into result_queue. The parameters all have the " "same meaning as for :meth:`identify`. Put (self, cover_data) into " "result_queue." msgstr "" # 64b97a3025274837bcd955a4ec3f614b #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.download_cover:5 msgid "" "This method should use cached cover URLs for efficiency whenever possible. " "When cached data is not present, most plugins simply call identify and use " "its results." msgstr "" # c5f876d21a4a4f84a82726360427ab37 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.Source.download_cover:9 msgid "" "If the parameter get_best_cover is True and this plugin can get multiple " "covers, it should only get the \"best\" one." msgstr "" # dc64d91dffa94507ad9dd79e7ba8c359 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:1 msgid "" "Generate a sort key for comparison of the relevance of Metadata objects, " "given a search query. This is used only to compare results from the same " "metadata source, not across different sources." msgstr "" # d9fc689b4fdd4a5b95c150614713f135 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:5 msgid "" "The sort key ensures that an ascending order sort is a sort by order of " "decreasing relevance." msgstr "" # 4d8180c71f874eb7bd5faa070f1a825e #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:8 msgid "The algorithm is:" msgstr "" # 2c589c4aa00247889d189291f6bb5f5e #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:10 msgid "Prefer results that have the same ISBN as specified in the query" msgstr "" # 7206ef1d491a48b1bf8530197362dc8b #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:11 msgid "Prefer results with a cached cover URL" msgstr "" # 9f5fd952e87343cb82a0108552c873ff #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:12 msgid "Prefer results with all available fields filled in" msgstr "" # ff5402c5653c42759e33f2ef0f8814cf #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:13 msgid "Prefer results that are an exact title match to the query" msgstr "" # c33afe23683547969b2c52505604e075 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:14 msgid "Prefer results with longer comments (greater than 10% longer)" msgstr "" # d9c099a85aed4304bdf22b20da586345 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:15 msgid "" "Use the relevance of the result as reported by the metadata source's search" msgstr "" # 0ee86f8d841a45ffa4f7f7a188de9946 #: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring #: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:16 msgid "engine" msgstr "" # 50712067815b420f8d1c12c3cec7b64d #: ../../home/kovid/work/calibre/manual/plugins.rst:76 msgid "Conversion plugins" msgstr "" # 1fbace5f77cb4dc499f4b1f19e463c6c #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin:1 msgid "" "InputFormatPlugins are responsible for converting a document into " "HTML+OPF+CSS+etc. The results of the conversion *must* be encoded in UTF-8. " "The main action happens in :meth:`convert`." msgstr "" # bfb62b99a26b43e4b9f960e43956fe2b #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.file_types:1 msgid "" "Set of file types for which this plugin should be run For example: " "``set(['azw', 'mobi', 'prc'])``" msgstr "" # 1e18ddba065041d5844d80603f3bdd4a #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.is_image_collection:1 msgid "" "If True, this input plugin generates a collection of images, one per HTML " "file. This can be set dynamically, in the convert method if the input files " "can be both image collections and non-image collections. If you set this to " "True, you must implement the get_images() method that returns a list of " "images." msgstr "" # e4dad7aba82d492c8e905d57dc8ec27e #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.core_usage:1 msgid "" "Number of CPU cores used by this plugin A value of -1 means that it uses all" " available cores" msgstr "" # bc2df543243e4a7f95eda554e82ab0de #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.for_viewer:1 msgid "" "If set to True, the input plugin will perform special processing to make its" " output suitable for viewing" msgstr "" # c71f4357c20b49b3a38fed334e92888b #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.output_encoding:1 msgid "" "The encoding that this input plugin creates files in. A value of None means " "that the encoding is undefined and must be detected individually" msgstr "" # 888d3ca7594e40dab0eb7004cc647ab5 # ae6d6880c4a5472ea3096716fe8d04c9 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.common_options:1 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.common_options:1 msgid "" "Options shared by all Input format plugins. Do not override in sub-classes. " "Use :attr:`options` instead. Every option must be an instance of " ":class:`OptionRecommendation`." msgstr "" # ecc62765a8d2408398ab2f72a15f0596 # 34e783d5c8e34beeb8c98a76a76f7544 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.options:1 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.options:1 msgid "" "Options to customize the behavior of this plugin. Every option must be an " "instance of :class:`OptionRecommendation`." msgstr "" # 248bf7c623ba46d6b6331a5cff490d9e # da4db8b93f0b439391c712466bca51bf #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.recommendations:1 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.recommendations:1 msgid "" "A set of 3-tuples of the form (option_name, recommended_value, " "recommendation_level)" msgstr "" # 780e9a55994d43fa8eeba8f7352958d0 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.get_images:1 msgid "" "Return a list of absolute paths to the images, if this input plugin " "represents an image collection. The list of images is in the same order as " "the spine and the TOC." msgstr "" # 1e2d33e61932493bb487949ab5d8cd6a #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.convert:1 msgid "" "This method must be implemented in sub-classes. It must return the path to " "the created OPF file or an :class:`OEBBook` instance. All output should be " "contained in the current directory. If this plugin creates files outside the" " current directory they must be deleted/marked for deletion before this " "method returns." msgstr "" # 9098eef33f6343a087de6c6558715d07 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.convert:8 msgid "A file like object that contains the input file." msgstr "" # 050e581453e14cf3965f38684225e4c4 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.convert:9 msgid "" "Options to customize the conversion process. Guaranteed to have attributes " "corresponding to all the options declared by this plugin. In addition, it " "will have a verbose attribute that takes integral values from zero upwards. " "Higher numbers mean be more verbose. Another useful attribute is " "``input_profile`` that is an instance of " ":class:`calibre.customize.profiles.InputProfile`." msgstr "" # 9a75071659ac4dca99082d9057f533f0 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.convert:17 msgid "" "The extension (without the .) of the input file. It is guaranteed to be one " "of the `file_types` supported by this plugin." msgstr "" # 7b0c87d354ac4deaa3ab53bf77fd5423 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.convert:20 msgid "" "A :class:`calibre.utils.logging.Log` object. All output should use this " "object." msgstr "" # fcc7d1791a554a38a1506d04e5a9e2ec #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.convert:22 msgid "" "A dictionary of various information that the input plugin can get easily " "that would speed up the subsequent stages of the conversion." msgstr "" # d1210178eecb4ce99ddf81c4f63ec8ae #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.postprocess_book:1 msgid "" "Called to allow the input plugin to perform postprocessing after the book " "has been parsed." msgstr "" # 678dd46f927149b895fcbe9b1aeba401 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.InputFormatPlugin.specialize:1 msgid "" "Called to allow the input plugin to specialize the parsed book for a " "particular output format. Called after postprocess_book and before any " "transforms are performed on the parsed book." msgstr "" # 3a9effe2de144b4c96d9d0387d542333 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of #: calibre.customize.conversion.InputFormatPlugin.gui_configuration_widget:1 msgid "" "Called to create the widget used for configuring this plugin in the calibre " "GUI. The widget must be an instance of the PluginWidget class. See the " "builting input plugins for examples." msgstr "" # 8aa8d2df9bf0451290b48b871026793f #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin:1 msgid "" "OutputFormatPlugins are responsible for converting an OEB document " "(OPF+HTML) into an output ebook." msgstr "" # 426e8cd2a39f407d87a0d0f6f50979cd #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin:4 msgid "" "The OEB document can be assumed to be encoded in UTF-8. The main action " "happens in :meth:`convert`." msgstr "" # e904d17955cd4f6793d02252042e1099 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.file_type:1 msgid "" "The file type (extension without leading period) that this plugin outputs" msgstr "" # 6b39e2dce40a4a999d7b0e388cd9b629 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.convert:1 msgid "" "Render the contents of `oeb_book` (which is an instance of " ":class:`calibre.ebooks.oeb.OEBBook` to the file specified by output." msgstr "" # 683d0de146e94eb3bd8fd94557ab2980 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.convert:4 msgid "" "Either a file like object or a string. If it is a string it is the path to a" " directory that may or may not exist. The output plugin should write its " "output into that directory. If it is a file like object, the output plugin " "should write its output into the file." msgstr "" # 3dc508cc8dd7491a9f1f5a6cca97b8d0 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.convert:8 msgid "" "The input plugin that was used at the beginning of the conversion pipeline." msgstr "" # f6cff173c73f441ebd20d4b004df85bc #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.convert:10 msgid "" "Conversion options. Guaranteed to have attributes corresponding to the " "OptionRecommendations of this plugin." msgstr "" # 201c07205db747c3b53b4d1c381df45e #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of calibre.customize.conversion.OutputFormatPlugin.convert:12 msgid "The logger. Print debug/info messages etc. using this." msgstr "" # cbab30fbe7b1466d8fed204eea316e27 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of #: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:1 msgid "" "Can be used to make changes to the css during the CSS flattening process." msgstr "" # 610122f02d48433b9b249f45385fe26c #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of #: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:4 msgid "The item (HTML file) being processed" msgstr "" # 2f2d6c0705f349fd9b1aa868abde8230 #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of #: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:5 msgid "" "A Stylizer object containing the flattened styles for item. You can get the " "style for any element by stylizer.style(element)." msgstr "" # e897831d86ca4868a0bb6844e51e6d8b #: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring #: of #: calibre.customize.conversion.OutputFormatPlugin.gui_configuration_widget:1 msgid "" "Called to create the widget used for configuring this plugin in the calibre " "GUI. The widget must be an instance of the PluginWidget class. See the " "builtin output plugins for examples." msgstr "" # 7da618c61d114d56ad0098468d792496 #: ../../home/kovid/work/calibre/manual/plugins.rst:91 msgid "Device Drivers" msgstr "" # c3dcc8e057fe4a07bdc3d14432cb1820 #: ../../home/kovid/work/calibre/manual/plugins.rst:95 msgid "" "The base class for all device drivers is :class:`DevicePlugin`. However, if " "your device exposes itself as a USBMS drive to the operating system, you " "should use the USBMS class instead as it implements all the logic needed to " "support these kinds of devices." msgstr "" # e136bcb025b04bffacf9c0bee7bc7ede #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin:1 msgid "" "Defines the interface that should be implemented by backends that " "communicate with an ebook reader." msgstr "" # b3f381c0c8b5408c9959fd03e2cd80c8 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.FORMATS:1 msgid "Ordered list of supported formats" msgstr "" # 027795ec94f0405ea63ec587e46f2b9a #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.VENDOR_ID:1 msgid "" "VENDOR_ID can be either an integer, a list of integers or a dictionary If it" " is a dictionary, it must be a dictionary of dictionaries, of the form::" msgstr "" # c5717d846b974f7fb9a1ae83c17ab643 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.PRODUCT_ID:1 msgid "An integer or a list of integers" msgstr "" # 9780e022bee14c189a960446e985cb06 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.BCD:1 msgid "" "BCD can be either None to not distinguish between devices based on BCD, or " "it can be a list of the BCD numbers of all devices supported by this driver." msgstr "" # af93de78eee946fabd749e05182d72e2 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.THUMBNAIL_HEIGHT:1 msgid "Height for thumbnails on the device" msgstr "" # 308600246e2b4b9b8b061df073e53876 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.THUMBNAIL_COMPRESSION_QUALITY:1 msgid "" "Width for thumbnails on the device. Setting this will force thumbnails to " "this size, not preserving aspect ratio. If it is not set, then the aspect " "ratio will be preserved and the thumbnail will be no higher than " "THUMBNAIL_HEIGHT Compression quality for thumbnails. Set this closer to 100 " "to have better quality thumbnails with fewer compression artifacts. Of " "course, the thumbnails get larger as well." msgstr "" # 366087e20e3a4947aefc251a424e1682 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.WANTS_UPDATED_THUMBNAILS:1 msgid "" "Set this to True if the device supports updating cover thumbnails during " "sync_booklists. Setting it to true will ask device.py to refresh the cover " "thumbnails during book matching" msgstr "" # 59f4c7fa7b9e47d6831fd60424d9e688 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.CAN_SET_METADATA:1 msgid "Whether the metadata on books can be set via the GUI." msgstr "" # 8d19e96a1a7143078811a4934b86e534 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.CAN_DO_DEVICE_DB_PLUGBOARD:1 msgid "Whether the device can handle device_db metadata plugboards" msgstr "" # ae7e1bf9a8384fe4b69efdc8d9ea53e6 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.path_sep:1 msgid "Path separator for paths to books on device" msgstr "" # 2848320abbbd4685b268ee5c31f4d3ca #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.icon:1 msgid "Icon for this device" msgstr "" # 686f3c5e179d4af79325888adf4a53e7 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.OPEN_FEEDBACK_MESSAGE:1 msgid "" "GUI displays this as a message if not None. Useful if opening can take a " "long time" msgstr "" # c0160c99de0d442891f1edb19dbbb419 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.VIRTUAL_BOOK_EXTENSIONS:1 msgid "" "Set of extensions that are \"virtual books\" on the device and therefore " "cannot be viewed/saved/added to library For example: ``frozenset(['kobo'])``" msgstr "" # 24138ab9cc8b426a90e164dc8049d1f1 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.NUKE_COMMENTS:1 msgid "" "Whether to nuke comments in the copy of the book sent to the device. If not " "None this should be short string that the comments will be replaced by." msgstr "" # d98e17560e9b4839a77e41622be7cb1e #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.MANAGES_DEVICE_PRESENCE:1 msgid "" "If True indicates that this driver completely manages device detection, " "ejecting and so forth. If you set this to True, you *must* implement the " "detect_managed_devices and debug_managed_device_detection methods. A driver " "with this set to true is responsible for detection of devices, managing a " "blacklist of devices, a list of ejected devices and so forth. calibre will " "periodically call the detect_managed_devices() method and is it returns a " "detected device, calibre will call open(). open() will be called every time " "a device is returned even is previous calls to open() failed, therefore the " "driver must maintain its own blacklist of failed devices. Similarly, when " "ejecting, calibre will call eject() and then assuming the next call to " "detect_managed_devices() returns None, it will call post_yank_cleanup()." msgstr "" # 85ab3c01669c4bfbb078f7ef520b3da4 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.SLOW_DRIVEINFO:1 msgid "" "If set the True, calibre will call the :meth:`get_driveinfo()` method after " "the books lists have been loaded to get the driveinfo." msgstr "" # 92cce7dd93664cb197a0d9b0f7800cb9 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.ASK_TO_ALLOW_CONNECT:1 msgid "" "If set to True, calibre will ask the user if they want to manage the device " "with calibre, the first time it is detected. If you set this to True you " "must implement :meth:`get_device_uid()` and " ":meth:`ignore_connected_device()` and :meth:`get_user_blacklisted_devices` " "and :meth:`set_user_blacklisted_devices`" msgstr "" # c02723d96954480c9399ea1fed41793f #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.user_feedback_after_callback:1 msgid "" "Set this to a dictionary of the form {'title':title, 'msg':msg, " "'det_msg':detailed_msg} to have calibre popup a message to the user after " "some callbacks are run (currently only upload_books). Be careful to not spam" " the user with too many messages. This variable is checked after *every* " "callback, so only set it when you really need to." msgstr "" # d9c908308c8b477f9ee95b1e0749410e #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.is_usb_connected:1 msgid "" "Return True, device_info if a device handled by this plugin is currently " "connected." msgstr "" # 096a7f1e615f4563acc3cfca8f343f90 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.is_usb_connected:3 msgid "List of devices currently connected" msgstr "" # 103ddf2bbb6147a99d2da465e4e7d004 # 3e0b4e38b7fd42a4a1dbd15c401e9dd0 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.detect_managed_devices:1 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:1 msgid "Called only if MANAGES_DEVICE_PRESENCE is True." msgstr "" # e16341e7f199468bb131bc8f8e75f9a0 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.detect_managed_devices:3 msgid "" "Scan for devices that this driver can handle. Should return a device object " "if a device is found. This object will be passed to the open() method as the" " connected_device. If no device is found, return None. The returned object " "can be anything, calibre does not use it, it is only passed to open()." msgstr "" # 32b493c9abe646e9be7fccdd480403d9 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.detect_managed_devices:9 msgid "" "This method is called periodically by the GUI, so make sure it is not too " "resource intensive. Use a cache to avoid repeatedly scanning the system." msgstr "" # c2719544b5a047e58286728fde0e2edf #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.detect_managed_devices:13 msgid "Set of USB devices found on the system." msgstr "" # b09633671f1f40519dcd17242859f1cf #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.detect_managed_devices:15 msgid "" "If True and the driver uses a cache to prevent repeated scanning, the cache " "must be flushed." msgstr "" # c927402a076d4c14b6dedc3622850de8 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:3 msgid "" "Should write information about the devices detected on the system to output," " which is a file like object." msgstr "" # fe293032adf846e4a90e619e6f52bdd0 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:6 msgid "" "Should return True if a device was detected and successfully opened, " "otherwise False." msgstr "" # e18e1ba5c31643c1afa9c776289e55e0 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.reset:1 msgid "The key to unlock the device" msgstr "" # af7ad6e7eed64d8ebf0fac6e878fc245 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.reset:2 msgid "If true the packet stream to/from the device is logged" msgstr "" # ae5e7dec2b25491e8c5f840effbd50b9 # 1602941972fe4ce59ad806e8148488d8 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.reset:3 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_progress_reporter:3 msgid "" "Function that is called with a % progress (number between 0 and 100) for " "various tasks If it is called with -1 that means that the task does not have" " any progress information" msgstr "" # bfd66b876fbc4709ab317d2dd4c8e4ec #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.reset:7 msgid "Device information from the device scanner" msgstr "" # b701fe1bf5214467b87d503bf51e9411 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.can_handle_windows:1 msgid "" "Optional method to perform further checks on a device to see if this driver " "is capable of handling it. If it is not it should return False. This method " "is only called after the vendor, product ids and the bcd have matched, so it" " can do some relatively time intensive checks. The default implementation " "returns True. This method is called only on windows. See also " ":meth:`can_handle`." msgstr "" # bd38f4bbbb78495fb79767ce6ec4e62d #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.can_handle_windows:8 msgid "" "On windows a device ID string. On Unix a tuple of ``(vendor_id, product_id, " "bcd)``." msgstr "" # 949aa5380f9a4eaf90633bde229a4a10 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.can_handle:1 msgid "Unix version of :meth:`can_handle_windows`" msgstr "" # 9f8a360cfe394a988624d878dae28440 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.can_handle:3 msgid "Is a tuple of (vid, pid, bcd, manufacturer, product, serial number)" msgstr "" # 039123d6cbcf4dee8ca8f236f8b7187d #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.open:1 msgid "" "Perform any device specific initialization. Called after the device is " "detected but before any other functions that communicate with the device. " "For example: For devices that present themselves as USB Mass storage " "devices, this method would be responsible for mounting the device or if the " "device has been automounted, for finding out where it has been mounted. The " "method :meth:`calibre.devices.usbms.device.Device.open` has an " "implementation of this function that should serve as a good example for USB " "Mass storage devices." msgstr "" # 121c7b6e5cfa43dc93e1cc6c5e3cc24d #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.open:11 msgid "" "This method can raise an OpenFeedback exception to display a message to the " "user." msgstr "" # 7bf0e5ab04374c91b2ab67f5feac3a93 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.open:14 msgid "" "The device that we are trying to open. It is a tuple of (vendor id, product " "id, bcd, manufacturer name, product name, device serial number). However, " "some devices have no serial number and on windows only the first three " "fields are present, the rest are None." msgstr "" # f461b84265504838b37fb42b8a705a4f #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.open:20 msgid "" "The UUID of the current calibre library. Can be None if there is no library " "(for example when used from the command line)." msgstr "" # 7f726f0887264c699468b327f4c5bf02 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.eject:1 msgid "" "Un-mount / eject the device from the OS. This does not check if there are " "pending GUI jobs that need to communicate with the device." msgstr "" # 48a7e25e4a854bad84b99af6e321a15c #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.eject:4 msgid "" "NOTE: That this method may not be called on the same thread as the rest of " "the device methods." msgstr "" # c4be1959ee534733a447b95b0eb665ca #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.post_yank_cleanup:1 msgid "Called if the user yanks the device without ejecting it first." msgstr "" # 2cd687b006d6466a92e990d791c79079 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_progress_reporter:1 msgid "Set a function to report progress information." msgstr "" # 11f15f421a1e4bce9f1879f354888d56 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_device_information:1 msgid "Ask device for device information. See L{DeviceInfoQuery}." msgstr "" # 0fedb97c1c3e46d8891a1df15a7e0768 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_device_information:3 msgid "" "(device name, device version, software version on device, mime type) The " "tuple can optionally have a fifth element, which is a drive information " "dictionary. See usbms.driver for an example." msgstr "" # 2248cb0cc6404681a0b90090c9607c62 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_driveinfo:1 msgid "" "Return the driveinfo dictionary. Usually called from " "get_device_information(), but if loading the driveinfo is slow for this " "driver, then it should set SLOW_DRIVEINFO. In this case, this method will be" " called by calibre after the book lists have been loaded. Note that it is " "not called on the device thread, so the driver should cache the drive info " "in the books() method and this function should return the cached data." msgstr "" # 9cc838176ac84036abb1116c5f32148e #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.card_prefix:1 msgid "" "Return a 2 element list of the prefix to paths on the cards. If no card is " "present None is set for the card's prefix. E.G. ('/place', '/place2') (None," " 'place2') ('place', None) (None, None)" msgstr "" # f8e4846ad693401587fb8dcf9f7b303e #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.total_space:4 msgid "Get total space available on the mountpoints:" msgstr "" # 9584a050710046dc9224ffc849f87194 # f3ed3a7c61cb4d46bfa34bc25f5f4066 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.total_space:2 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.free_space:2 msgid "Main memory" msgstr "" # 804c70d0485945939c825912cdb109aa #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.total_space:3 msgid "Memory Card A" msgstr "" # 558886b2fcd143d3a938ef091180d390 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.total_space:4 msgid "Memory Card B" msgstr "" # d53fbde484fa4773a2dc21f5556c077e #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.total_space:6 msgid "" "A 3 element list with total space in bytes of (1, 2, 3). If a particular " "device doesn't have any of these locations it should return 0." msgstr "" # 675f6c0cb7b4402fa67348efc012273b #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.free_space:4 msgid "Get free space available on the mountpoints:" msgstr "" # 4d5a225e5ab340a693e02d320dd18e3f #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.free_space:3 msgid "Card A" msgstr "" # 705619e5eebc4740aa2e63ef3852abce #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.free_space:4 msgid "Card B" msgstr "" # 976a82846ba545b6a2b4f86afd04da77 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.free_space:6 msgid "" "A 3 element list with free space in bytes of (1, 2, 3). If a particular " "device doesn't have any of these locations it should return -1." msgstr "" # 093cf800ee9e462b818f1e0c2851ec98 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.books:1 msgid "Return a list of ebooks on the device." msgstr "" # 2af19d4348b248beaddcddf5a30c4c6c #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.books:3 msgid "" "If 'carda' or 'cardb' return a list of ebooks on the specific storage card, " "otherwise return list of ebooks in main memory of device. If a card is " "specified and no books are on the card return empty list." msgstr "" # db588162fa9d4e2090d9bf797f04681f #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.books:8 msgid "A BookList." msgstr "" # 873ddace812d48b582de4fac9a687533 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.upload_books:1 msgid "" "Upload a list of books to the device. If a file already exists on the " "device, it should be replaced. This method should raise a " ":class:`FreeSpaceError` if there is not enough free space on the device. The" " text of the FreeSpaceError must contain the word \"card\" if ``on_card`` is" " not None otherwise it must contain the word \"memory\"." msgstr "" # c7eeeebd4cc84d97b78ea53d344b1f2a #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.upload_books:7 msgid "A list of paths" msgstr "" # db34ed0e831a4e888d43a2560295cae3 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.upload_books:8 msgid "" "A list of file names that the books should have once uploaded to the device." " len(names) == len(files)" msgstr "" # ba204e8ec0b147919c8c6e27b8941da4 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.upload_books:10 msgid "" "If not None, it is a list of :class:`Metadata` objects. The idea is to use " "the metadata to determine where on the device to put the book. len(metadata)" " == len(files). Apart from the regular cover (path to cover), there may also" " be a thumbnail attribute, which should be used in preference. The thumbnail" " attribute is of the form (width, height, cover_data as jpeg)." msgstr "" # fb7e205b775c4e2581019a0580c30e79 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.upload_books:17 msgid "" "A list of 3-element tuples. The list is meant to be passed to " ":meth:`add_books_to_metadata`." msgstr "" # 73bc20b43d9f479eb649cc87a3f1410f #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.add_books_to_metadata:1 msgid "" "Add locations to the booklists. This function must not communicate with the " "device." msgstr "" # 4decb5dabe314bb6b2eda6aacd64582f #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.add_books_to_metadata:4 msgid "Result of a call to L{upload_books}" msgstr "" # 7a399096b1c84b1fa1859f94f56b98a0 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.add_books_to_metadata:5 msgid "List of :class:`Metadata` objects, same as for :meth:`upload_books`." msgstr "" # 122413ee68a748668426ddd20de50144 # 0ac8097e19384a7694b568db05172653 # abe5aeecdd634284b24cb8c195ee7060 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.add_books_to_metadata:7 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:5 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.sync_booklists:3 msgid "" "A tuple containing the result of calls to (:meth:`books(oncard=None)`, " ":meth:`books(oncard='carda')`, :meth`books(oncard='cardb')`)." msgstr "" # 19a79703f6b64be0b2373569ff5ff774 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.delete_books:1 msgid "Delete books at paths on device." msgstr "" # 4167e1601c4c4a3cba0a1e8e3b50cc45 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:1 msgid "" "Remove books from the metadata list. This function must not communicate with" " the device." msgstr "" # d369836db61041d9925da269059d9715 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:4 msgid "paths to books on the device." msgstr "" # e635fc2008d4403a8776bcc72627b6db #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.sync_booklists:1 msgid "Update metadata on device." msgstr "" # ab1340adba1b41988cf5474679fb2a15 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_file:1 msgid "Read the file at ``path`` on the device and write it to outfile." msgstr "" # e2c213f499614c5fb7d964646e1c5afa #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_file:3 msgid "file object like ``sys.stdout`` or the result of an :func:`open` call." msgstr "" # a8c998d6e68c4be5a9690b3eba76581a #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.config_widget:1 msgid "" "Should return a QWidget. The QWidget contains the settings for the device " "interface" msgstr "" # 594d12aab6354bfb9a2bff93cbc54a2f #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.save_settings:1 msgid "" "Should save settings to disk. Takes the widget created in " ":meth:`config_widget` and saves all settings to disk." msgstr "" # e6f6bd73b731406fabd25762fc2cec6c #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.settings:1 msgid "" "Should return an opts object. The opts object should have at least one " "attribute `format_map` which is an ordered list of formats for the device." msgstr "" # 6f4250c8588f48989688cb5407e16011 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_plugboards:1 msgid "" "provide the driver the current set of plugboards and a function to select a " "specific plugboard. This method is called immediately before add_books and " "sync_booklists." msgstr "" # 3426d9e0fdf34bd8b2360424fe66eba6 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_plugboards:6 msgid "pb_func is a callable with the following signature::" msgstr "" # 84026aefc6f442d79df9c7256732d2ad #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_plugboards:6 msgid "def pb_func(device_name, format, plugboards)" msgstr "" # 222c833c1db140a79b37b31be1d3c63d #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_plugboards:8 msgid "" "You give it the current device name (either the class name or " "DEVICE_PLUGBOARD_NAME), the format you are interested in (a 'real' format or" " 'device_db'), and the plugboards (you were given those by set_plugboards, " "the same place you got this method)." msgstr "" # 4ecb4cdc826b4af8964231fc0e43f799 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_plugboards:13 msgid "None or a single plugboard instance." msgstr "" # d3f40e2df8ee4ad08c6a6b84e6ca1735 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_driveinfo_name:1 msgid "" "Set the device name in the driveinfo file to 'name'. This setting will " "persist until the file is re-created or the name is changed again." msgstr "" # d5a75ccf5fab46d0a52c027314283f57 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_driveinfo_name:4 msgid "" "Non-disk devices should implement this method based on the location codes " "returned by the get_device_information() method." msgstr "" # 974edfb2f7fb4a2dac2e49352054293d #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.prepare_addable_books:1 msgid "" "Given a list of paths, returns another list of paths. These paths point to " "addable versions of the books." msgstr "" # 466e61e8707c4cbc9465a6326bb1d27e #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.prepare_addable_books:4 msgid "" "If there is an error preparing a book, then instead of a path, the position " "in the returned list for that book should be a three tuple: (original_path, " "the exception instance, traceback)" msgstr "" # f7895ac56aaf47ba930db7249ce7978e #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.startup:1 msgid "" "Called when calibre is is starting the device. Do any initialization " "required. Note that multiple instances of the class can be instantiated, and" " thus __init__ can be called multiple times, but only one instance will have" " this method called. This method is called on the device thread, not the GUI" " thread." msgstr "" # 995f18a0e3e3471381f2d42a0e4e106e #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.shutdown:1 msgid "" "Called when calibre is shutting down, either for good or in preparation to " "restart. Do any cleanup required. This method is called on the device " "thread, not the GUI thread." msgstr "" # 409c9ddfd8824e1883b7ee3d2f8df3e1 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_device_uid:1 msgid "" "Must return a unique id for the currently connected device (this is called " "immediately after a successful call to open()). You must implement this " "method if you set ASK_TO_ALLOW_CONNECT = True" msgstr "" # ac840ffa2746488e91a0d94bbf2fbf07 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.ignore_connected_device:1 msgid "" "Should ignore the device identified by uid (the result of a call to " "get_device_uid()) in the future. You must implement this method if you set " "ASK_TO_ALLOW_CONNECT = True. Note that this function is called immediately " "after open(), so if open() caches some state, the driver should reset that " "state." msgstr "" # 5992ef3bf56549c6afb8ce1e984316bf #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_user_blacklisted_devices:1 msgid "" "Return map of device uid to friendly name for all devices that the user has " "asked to be ignored." msgstr "" # 74dbb201c78d4b9bb801d2692f33b773 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_user_blacklisted_devices:1 msgid "Set the list of device uids that should be ignored by this driver." msgstr "" # 00717caf43e841099ef5e2b13921a786 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.specialize_global_preferences:1 msgid "" "Implement this method if your device wants to override a particular " "preference. You must ensure that all call sites that want a preference that " "can be overridden use device_prefs['something'] instead of " "prefs['something']. Your method should call " "device_prefs.set_overrides(pref=val, pref=val, ...). Currently used for: " "metadata management (prefs['manage_device_metadata'])" msgstr "" # 84ead9aa8ff54464b6f9429054a3bb57 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_library_info:1 msgid "" "Implement this method if you want information about the current calibre " "library. This method is called at startup and when the calibre library " "changes while connected." msgstr "" # 20cbf9ef90cb4f99bbd12a11b058324b #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.is_dynamically_controllable:1 msgid "" "Called by the device manager when starting plugins. If this method returns a" " string, then a) it supports the device manager's dynamic control interface," " and b) that name is to be used when talking to the plugin." msgstr "" # 673bc3afef534c4983e352862c5d1eb1 # 3c52a5165b7c4ab2bb22a3ba44492bf1 # f3906b11fb5a4a6087f15845660cf2d5 # bfbb211a66fc45748ec1b3e53586ca0d # 13572af414804a1c959f1877662cc077 # a6d577e2db204e90969822f2a95315ae #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.is_dynamically_controllable:5 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.start_plugin:5 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.stop_plugin:6 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_option:5 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_option:4 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.is_running:3 msgid "" "This method can be called on the GUI thread. A driver that implements this " "method must be thread safe." msgstr "" # c3194b0591cd4cbf92e18d325a8f99bc #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.start_plugin:1 msgid "" "This method is called to start the plugin. The plugin should begin to accept" " device connections however it does that. If the plugin is already accepting" " connections, then do nothing." msgstr "" # 7711ba9a6c8747ccb865916653d76569 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.stop_plugin:1 msgid "" "This method is called to stop the plugin. The plugin should no longer accept" " connections, and should cleanup behind itself. It is likely that this " "method should call shutdown. If the plugin is already not accepting " "connections, then do nothing." msgstr "" # 59ece3421158499dbe672b31e4d95302 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.get_option:1 msgid "" "Return the value of the option indicated by opt_string. This method can be " "called when the plugin is not started. Return None if the option does not " "exist." msgstr "" # eb437cd8e77f4c1e9201c34bf03f0d3d #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.set_option:1 msgid "" "Set the value of the option indicated by opt_string. This method can be " "called when the plugin is not started." msgstr "" # 61eeae2369fb4dc8b7fc7af514b31e58 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.is_running:1 msgid "Return True if the plugin is started, otherwise false" msgstr "" # 4bd208e707d8491eb248d45627e68bf9 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.synchronize_with_db:1 msgid "" "Called during book matching when a book on the device is matched with a book" " in calibre's db. The method is responsible for syncronizing data from the " "device to calibre's db (if needed)." msgstr "" # f6b782182841407d92466dbefffda424 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.synchronize_with_db:5 msgid "" "The method must return a two-value tuple. The first value is a set of " "calibre book ids changed if calibre's database was changed or None if the " "database was not changed. If the first value is an empty set then the " "metadata for the book on the device is updated with calibre's metadata and " "given back to the device, but no GUI refresh of that book is done. This is " "useful when the calire data is correct but must be sent to the device." msgstr "" # 9977c52f0d5649e492d53773ba27dd23 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.synchronize_with_db:13 msgid "" "The second value is itself a 2-value tuple. The first value in the tuple " "specifies whether a book format should be sent to the device. The intent is " "to permit verifying that the book on the device is the same as the book in " "calibre. This value must be None if no book is to be sent, otherwise return " "the base file name on the device (a string like foobar.epub). Be sure to " "include the extension in the name. The device subsystem will construct a " "send_books job for all books with not- None returned values. Note: other " "than to later retrieve the extension, the name is ignored in cases where the" " device uses a template to generate the file name, which most do. The second" " value in the returned tuple indicated whether the format is future-dated. " "Return True if it is, otherwise return False. Calibre will display a dialog " "to the user listing all future dated books." msgstr "" # 098871455de04ae889df21bbaac3e9a7 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.synchronize_with_db:27 msgid "" "Extremely important: this method is called on the GUI thread. It must be " "threadsafe with respect to the device manager's thread." msgstr "" # 8d2779fb913240489537686847e724b3 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.DevicePlugin.synchronize_with_db:30 msgid "" "book_id: the calibre id for the book in the database. book_metadata: the " "Metadata object for the book coming from the device. first_call: True if " "this is the first call during a sync, False otherwise" msgstr "" # af2dbb62cf134ae3be4455f4f081c631 #: ../../home/kovid/work/calibre/manual/:1 msgid "Bases: :class:`list`" msgstr "" # 27896fa5992447779aa0487825541d50 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:1 msgid "A list of books. Each Book object must have the fields" msgstr "" # 219f6d1b28fc4a6b90c5389dca620380 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:3 msgid "title" msgstr "" # 062833fdf93f4ba2b6005988a64207b3 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:4 msgid "authors" msgstr "" # 333d098c46dc47ad9aef22e2c3f8fe45 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:5 msgid "size (file size of the book)" msgstr "" # fbeb52e996ed4d0eb776af495f14ceb5 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:6 msgid "datetime (a UTC time tuple)" msgstr "" # 0d6303b599a54389ae53ae568cd81bec #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:7 msgid "path (path on the device to the book)" msgstr "" # 811ff2b52d1e415dab80acda97350009 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:8 msgid "" "thumbnail (can be None) thumbnail is either a str/bytes object with the " "image data or it should have an attribute image_path that stores an absolute" " (platform native) path to the image" msgstr "" # eaf9d1314fa042419353fef856b97e6d #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList:11 msgid "tags (a list of strings, can be empty)." msgstr "" # 9e110f1c6d0a4a0aa71da30e479324e1 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList.supports_collections:1 msgid "Return True if the device supports collections for this book list." msgstr "" # 3f690742de9544f68097fda5741f25e1 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList.add_book:1 msgid "" "Add the book to the booklist. Intent is to maintain any device-internal " "metadata. Return True if booklists must be sync'ed" msgstr "" # 6153e15999f04dafaca24a7f000a703e #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList.remove_book:1 msgid "" "Remove a book from the booklist. Correct any device metadata at the same " "time" msgstr "" # d2e30339a88e4dfb9ee5ba06e7bf9742 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList.get_collections:1 msgid "" "Return a dictionary of collections created from collection_attributes. Each " "entry in the dictionary is of the form collection name:[list of books]" msgstr "" # a9cbfc2fd24e460da0f1790c74624c19 #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList.get_collections:5 msgid "" "The list of books is sorted by book title, except for collections created " "from series, in which case series_index is used." msgstr "" # 176286875c4c4e96bf8f6fc4aad00bbd #: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of #: calibre.devices.interface.BookList.get_collections:8 msgid "A list of attributes of the Book object" msgstr "" # f3c5f398d465439fbe5b86149b7a33b1 #: ../../home/kovid/work/calibre/manual/plugins.rst:109 msgid "USB Mass Storage based devices" msgstr "" # 90b3623cf9df4a19b64716a420d53901 #: ../../home/kovid/work/calibre/manual/plugins.rst:111 msgid "" "The base class for such devices is " ":class:`calibre.devices.usbms.driver.USBMS`. This class in turn inherits " "some of its functionality from its bases, documented below. A typical basic " "USBMS based driver looks like this:" msgstr "" # 793a36ea81f648918e3e9371c0773785 #: ../../home/kovid/work/calibre/manual/:1 msgid "" "Bases: :class:`calibre.devices.usbms.deviceconfig.DeviceConfig`, " ":class:`calibre.devices.interface.DevicePlugin`" msgstr "" # 963727530f914484a072e902b564ee6b #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device:1 msgid "" "This class provides logic common to all drivers for devices that export " "themselves as USB Mass Storage devices. Provides implementations for " "mounting/ejecting of USBMS devices on all platforms." msgstr "" # af889c5e03f54b089777220c01584def #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.WINDOWS_MAIN_MEM:1 msgid "" "String identifying the main memory of the device in the windows PnP id " "strings This can be None, string, list of strings or compiled regex" msgstr "" # d0434b843de4453cbf29e5d26ec9a8f5 #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.WINDOWS_CARD_A_MEM:1 msgid "" "String identifying the first card of the device in the windows PnP id " "strings This can be None, string, list of strings or compiled regex" msgstr "" # 38a3f7010b944da7bc064dd902e2215d #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.WINDOWS_CARD_B_MEM:1 msgid "" "String identifying the second card of the device in the windows PnP id " "strings This can be None, string, list of strings or compiled regex" msgstr "" # e57c1d8c7bc04207a36996b71fa049ea #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.OSX_MAIN_MEM_VOL_PAT:1 msgid "" "Used by the new driver detection to disambiguate main memory from storage " "cards. Should be a regular expression that matches the main memory mount " "point assigned by OS X" msgstr "" # 434f8c19838a4ebcb7f3c5ed3caadb9f #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.MAX_PATH_LEN:1 msgid "The maximum length of paths created on the device" msgstr "" # faf19aa2c55f4355a43875373cc55377 #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.NEWS_IN_FOLDER:1 msgid "Put news in its own folder" msgstr "" # 314ea48aabec44168cbfd2644f79c152 #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.windows_sort_drives:1 msgid "" "Called to disambiguate main memory and storage card for devices that do not " "distinguish between them on the basis of `WINDOWS_CARD_NAME`. For e.g.: The " "EB600" msgstr "" # 379b1e5b573d4590976f5f7766c97f1d #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.sanitize_callback:1 msgid "" "Callback to allow individual device drivers to override the path " "sanitization used by :meth:`create_upload_path`." msgstr "" # c810e20d9a114a81b26ae2e3e864a339 #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.filename_callback:1 msgid "" "Callback to allow drivers to change the default file name set by " ":meth:`create_upload_path`." msgstr "" # 301e5542cd944fb99b73ada05bb27f0c #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.sanitize_path_components:1 msgid "" "Perform any device specific sanitization on the path components for files to" " be uploaded to the device" msgstr "" # dadd3c2d44a044ec9a3f317c8e9bb395 #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.get_annotations:1 msgid "Resolve path_map to annotation_map of files found on the device" msgstr "" # d49d731c26cc47faa1f57336c5d556ac #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring #: of calibre.devices.usbms.device.Device.add_annotation_to_library:1 msgid "Add an annotation to the calibre library" msgstr "" # 8dc8fb1fceb34eae8f86a9ff69d7e827 #: ../../home/kovid/work/calibre/manual/:1 msgid "" "Bases: :class:`calibre.devices.usbms.cli.CLI`, " ":class:`calibre.devices.usbms.device.Device`" msgstr "" # cd7055d2f37f442ba73b23bf92191ef8 #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS:1 msgid "" "The base class for all USBMS devices. Implements the logic for " "sending/getting/updating metadata/caching metadata/etc." msgstr "" # 4928843f45ef466e8d2f967ebaef308d #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_cover:1 msgid "Upload book cover to the device. Default implementation does nothing." msgstr "" # bf9087a79e314164a2381eaefcc63652 #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_cover:3 msgid "The full path to the directory where the associated book is located." msgstr "" # 1515a041552848b282a8cfc116522316 #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_cover:4 msgid "The name of the book file without the extension." msgstr "" # 172007ce70ba478ca1b7a28c9ec9e30a #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_cover:5 msgid "metadata belonging to the book. Use metadata.thumbnail for cover" msgstr "" # d63fc42664554048b00b97086363afa5 #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.upload_cover:7 msgid "The full path to the ebook file" msgstr "" # 444d6b2577874546bbb9375fcbfa343b #: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring #: of calibre.devices.usbms.driver.USBMS.normalize_path:1 msgid "Return path with platform native path separators" msgstr "" # 830a319b31224671a9045a32605e2c52 #: ../../home/kovid/work/calibre/manual/plugins.rst:157 msgid "User Interface Actions" msgstr "" # e23f5a683c1c41ab83909465d0e6e2fd #: ../../home/kovid/work/calibre/manual/plugins.rst:159 msgid "" "If you are adding your own plugin in a zip file, you should subclass both " "InterfaceActionBase and InterfaceAction. The :meth:`load_actual_plugin` " "method of you InterfaceActionBase subclass must return an instantiated " "object of your InterfaceBase subclass." msgstr "" # 4e4e5de2308f4bd3b56bc120b9cb1a5c #: ../../home/kovid/work/calibre/manual/:1 msgid "Bases: :class:`PyQt5.QtCore.QObject`" msgstr "" # 3825de717c494b7482d77fe46f2ae48a #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:1 msgid "" "A plugin representing an \"action\" that can be taken in the graphical user " "interface. All the items in the toolbar and context menus are implemented by" " these plugins." msgstr "" # a74623c9ca014faaa876ea1fdf8a2357 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:5 msgid "" "Note that this class is the base class for these plugins, however, to " "integrate the plugin with calibre's plugin system, you have to make a " "wrapper class that references the actual plugin. See the " ":mod:`calibre.customize.builtins` module for examples." msgstr "" # 732177f506b34472aea305ad963c3d0e #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:10 msgid "" "If two :class:`InterfaceAction` objects have the same name, the one with " "higher priority takes precedence." msgstr "" # d236aa3db46a4c8dba49de7d5eb0c216 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:13 msgid "" "Sub-classes should implement the :meth:`genesis`, :meth:`library_changed`, " ":meth:`location_selected` :meth:`shutting_down` and " ":meth:`initialization_complete` methods." msgstr "" # f97326be460841caaaef85575a92ef23 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:17 msgid "" "Once initialized, this plugin has access to the main calibre GUI via the " ":attr:`gui` member. You can access other plugins by name, for example::" msgstr "" # e0cbfb055b384cbd9187bac05b4680da #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:22 msgid "" "To access the actual plugin, use the :attr:`interface_action_base_plugin` " "attribute, this attribute only becomes available after the plugin has been " "initialized. Useful if you want to use methods from the plugin class like " "do_user_config()." msgstr "" # e9a8ab3b32b44249b3de9f6fcb1fccbd #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction:27 msgid "" "The QAction specified by :attr:`action_spec` is automatically create and " "made available as ``self.qaction``." msgstr "" # 54d46002504a4dcd9939f42c0207c5c0 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.name:1 msgid "" "The plugin name. If two plugins with the same name are present, the one with" " higher priority takes precedence." msgstr "" # 1f4dcf311d5741f6ae937b34fc819c8d #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.priority:1 msgid "" "The plugin priority. If two plugins with the same name are present, the one " "with higher priority takes precedence." msgstr "" # 495b2a6ae7dc4f488f5bee0f67cb2a44 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.popup_type:1 msgid "The menu popup type for when this plugin is added to a toolbar" msgstr "" # e7594e14e02f4cd990a8f4a76b6e1b36 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.auto_repeat:1 msgid "" "Whether this action should be auto repeated when its shortcut key is held " "down." msgstr "" # 847f1cc4b8cd48d899acd54c4aa6aae5 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.action_spec:1 msgid "" "Of the form: (text, icon_path, tooltip, keyboard shortcut) icon, tooltip and" " keyboard shortcut can be None shortcut must be a string, None or tuple of " "shortcuts. If None, a keyboard shortcut corresponding to the action is not " "registered. If you pass an empty tuple, then the shortcut is registered with" " no default key binding." msgstr "" # 47e50b115e6c49448191bc5b0eac489d #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.action_add_menu:1 msgid "If True, a menu is automatically created and added to self.qaction" msgstr "" # 76bc88e87c7743a7ba379613606f2b1c #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.action_menu_clone_qaction:1 msgid "" "If True, a clone of self.qaction is added to the menu of self.qaction If you" " want the text of this action to be different from that of self.qaction, set" " this variable to the new text" msgstr "" # a69e7ea8fb734280b071a3befc4193f2 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.dont_add_to:1 msgid "" "Set of locations to which this action must not be added. See " ":attr:`all_locations` for a list of possible locations" msgstr "" # 58ca835e7a9642b38ffdeb7bb444e16d #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.dont_remove_from:1 msgid "" "Set of locations from which this action must not be removed. See " ":attr:`all_locations` for a list of possible locations" msgstr "" # 1ab379b033364a9aaf1c1a868945a832 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.action_type:1 msgid "" "Type of action 'current' means acts on the current view 'global' means an " "action that does not act on the current view, but rather on calibre as a " "whole" msgstr "" # 05164ed53d1e433a9be74bd5ce6ef54a #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.accepts_drops:1 msgid "" "If True, then this InterfaceAction will have the opportunity to interact " "with drag and drop events. See the methods, :meth:`accept_enter_event`, " ":meth`:accept_drag_move_event`, :meth:`drop_event` for details." msgstr "" # afcffea72357458eaf27f34047787bd8 # a774dd73f3cf41128757f7f7db03ac0a #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.accept_enter_event:1 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.accept_drag_move_event:1 msgid "" "This method should return True iff this interface action is capable of " "handling the drag event. Do not call accept/ignore on the event, that will " "be taken care of by the calibre UI." msgstr "" # 37fd9c870aa24194aa754f8be5a1643a #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.drop_event:1 msgid "" "This method should perform some useful action and return True iff this " "interface action is capable of handling the drop event. Do not call " "accept/ignore on the event, that will be taken care of by the calibre UI. " "You should not perform blocking/long operations in this function. Instead " "emit a signal or use QTimer.singleShot and return quickly. See the builtin " "actions for examples." msgstr "" # bd9fa7a8c3154e758935337d453486ca #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:1 msgid "" "Convenience method to easily add actions to a QMenu. Returns the created " "QAction, This action has one extra attribute calibre_shortcut_unique_name " "which if not None refers to the unique name under which this action is " "registered with the keyboard manager." msgstr "" # aae3fb1ab6e24de790462a1c73972e14 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:6 msgid "The QMenu the newly created action will be added to" msgstr "" # 3ba1cb2aad0447b98c4bc174280cb7a1 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:7 msgid "" "A unique name for this action, this must be globally unique, so make it as " "descriptive as possible. If in doubt add a uuid to it." msgstr "" # 7ed60df1439e4975bde7e9e7dd037f19 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:10 msgid "The text of the action." msgstr "" # 91f2abaee80642989df1fd8b2f2efe96 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:11 msgid "" "Either a QIcon or a file name. The file name is passed to the I() builtin, " "so you do not need to pass the full path to the images directory." msgstr "" # ce77c17984f14924b4bca8f3952f0475 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:14 msgid "" "A string, a list of strings, None or False. If False, no keyboard shortcut " "is registered for this action. If None, a keyboard shortcut with no default " "keybinding is registered. String and list of strings register a shortcut " "with default keybinding as specified." msgstr "" # 84e9c7a9267942d4bcb75615f307da3b #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:18 msgid "A description for this action. Used to set tooltips." msgstr "" # 7bd499ef26d649a289667d3dd9717b1c #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:20 msgid "" "A callable which is connected to the triggered signal of the created action." msgstr "" # 4a7ccb1d4d214cb39cc59a3a7c9d5495 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.create_menu_action:22 msgid "" "The test displayed to the user when customizing the keyboard shortcuts for " "this action. By default it is set to the value of ``text``." msgstr "" # 9a3c4cd58ff64abebfe0831d3134fe45 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.genesis:1 msgid "" "Setup this plugin. Only called once during initialization. self.gui is " "available. The action specified by :attr:`action_spec` is available as " "``self.qaction``." msgstr "" # f97dd9e71c4a4f7f9f91b4e74d8200d7 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.location_selected:1 msgid "" "Called whenever the book list being displayed in calibre changes. Currently " "values for loc are: ``library, main, card and cardb``." msgstr "" # 3d2ea6b827ce48fa93d19de74e75549c #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.location_selected:4 msgid "" "This method should enable/disable this action and its sub actions as " "appropriate for the location." msgstr "" # 09abcc1d500040db9479c8a4b38c1360 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.library_changed:1 msgid "Called whenever the current library is changed." msgstr "" # 17f0d871689f441198caaccbf5366e9d #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.library_changed:3 msgid "The LibraryDatabase corresponding to the current library." msgstr "" # 05e1f4201e9e480b85ca84dcf106b11d #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.gui_layout_complete:1 msgid "" "Called once per action when the layout of the main GUI is completed. If your" " action needs to make changes to the layout, they should be done here, " "rather than in :meth:`initialization_complete`." msgstr "" # 22732cf21ec74738bc0badd85dd69ea2 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.initialization_complete:1 msgid "" "Called once per action when the initialization of the main GUI is completed." msgstr "" # 3558831b774147cfbb31739de04ad534 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.shutting_down:1 msgid "" "Called once per plugin when the main GUI is in the process of shutting down." " Release any used resources, but try not to block the shutdown for long " "periods of time." msgstr "" # 0b190e2834264fd493d157f596b37d46 #: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring #: of calibre.gui2.actions.InterfaceAction.shutting_down:5 msgid "" "False to halt the shutdown. You are responsible for telling the user why the" " shutdown was halted." msgstr "" # 7129b416c4ef4980a465232e9f09db1f #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.InterfaceActionBase.load_actual_plugin:1 msgid "This method must return the actual interface action plugin object." msgstr "" # 7ad6963e224f436ba376334f5c6875c1 #: ../../home/kovid/work/calibre/manual/plugins.rst:174 msgid "Preferences Plugins" msgstr "" # ea6bf19e0b844fd090943fe26822ced0 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin:1 msgid "A plugin representing a widget displayed in the Preferences dialog." msgstr "" # c2f0a6685b704810a7ed8ab3b244c8cf #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin:3 msgid "" "This plugin has only one important method :meth:`create_widget`. The various" " fields of the plugin control how it is categorized in the UI." msgstr "" # 668252b7913345ccaa182e2be6a07f75 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.config_widget:1 msgid "" "Import path to module that contains a class named ConfigWidget which " "implements the ConfigWidgetInterface. Used by :meth:`create_widget`." msgstr "" # e1ff2c7f0652400fb03477e18946d3b8 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.category_order:1 msgid "" "Where in the list of categories the :attr:`category` of this plugin should " "be." msgstr "" # 5a32633c67b647e4889188d09f37f33e #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.name_order:1 msgid "" "Where in the list of names in a category, the :attr:`gui_name` of this " "plugin should be" msgstr "" # 23df146e76c14dfda3ec1ef399a50dfb #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.category:1 msgid "The category this plugin should be in" msgstr "" # e438d8a137b24cdbab08126c8b528d98 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.gui_category:1 msgid "The category name displayed to the user for this plugin" msgstr "" # 7dad1ab2c9374074b482273de35351ca #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.gui_name:1 msgid "The name displayed to the user for this plugin" msgstr "" # 1664abcfe06e44b7ab5e238e679e0d87 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.icon:1 msgid "The icon for this plugin, should be an absolute path" msgstr "" # b82c1c5a41d84af8a87875312424fa58 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.description:1 msgid "The description used for tooltips and the like" msgstr "" # 3dee73255adc4c3793a44004bb69ef05 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.create_widget:1 msgid "" "Create and return the actual Qt widget used for setting this group of " "preferences. The widget must implement the " ":class:`calibre.gui2.preferences.ConfigWidgetInterface`." msgstr "" # 3fda171e8eb94c6ead0c57fa9f351ded #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.PreferencesPlugin.create_widget:5 msgid "" "The default implementation uses :attr:`config_widget` to instantiate the " "widget." msgstr "" # 1846e76aadc84e9097ac6a11716e4506 #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface:1 msgid "" "This class defines the interface that all widgets displayed in the " "Preferences dialog must implement. See :class:`ConfigWidgetBase` for a base " "class that implements this interface and defines various convenience methods" " as well." msgstr "" # 8e5aabad3d7545588c244e962f24cfe8 #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.changed_signal:1 msgid "" "This signal must be emitted whenever the user changes a value in this widget" msgstr "" # 7410492b62a14f53bfa1b6d79aa8881f #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of #: calibre.gui2.preferences.ConfigWidgetInterface.supports_restoring_to_defaults:1 msgid "Set to True iff the :meth:`restore_to_defaults` method is implemented." msgstr "" # 3952626ffb184613b43d32ed1c12fa96 #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.restore_defaults_desc:1 msgid "The tooltip for the Restore to defaults button" msgstr "" # 542aa95e74f944f380c9852f7e88fdc1 #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.restart_critical:1 msgid "" "If True the Preferences dialog will not allow the user to set any more " "preferences. Only has effect if :meth:`commit` returns True." msgstr "" # 58e800d7b8b84326a81f4485afcae61b #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.genesis:1 msgid "" "Called once before the widget is displayed, should perform any necessary " "setup." msgstr "" # 40fb79c75d4e4670a6c64b735ecb0d7b #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.genesis:4 msgid "The main calibre graphical user interface" msgstr "" # 753305881a194eaebe0b0048856d1e4f #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.initialize:1 msgid "" "Should set all config values to their initial values (the values stored in " "the config files)." msgstr "" # 0bfd53dea6f448abb060386d1cb0c5cb #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.restore_defaults:1 msgid "Should set all config values to their defaults." msgstr "" # 7ca50fab91dd4e53b0271b29d5b05488 #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.commit:1 msgid "" "Save any changed settings. Return True if the changes require a restart, " "False otherwise. Raise an :class:`AbortCommit` exception to indicate that an" " error occurred. You are responsible for giving the user feedback about what" " the error is and how to correct it." msgstr "" # 0ca07060c50648989f64752515002f51 #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetInterface.refresh_gui:1 msgid "" "Called once after this widget is committed. Responsible for causing the gui " "to reread any changed settings. Note that by default the GUI re-initializes " "various elements anyway, so most widgets won't need to use this method." msgstr "" # f5b05ec2605342e39d5c7b732f2be161 #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase:1 msgid "" "Base class that contains code to easily add standard config widgets like " "checkboxes, combo boxes, text fields and so on. See the :meth:`register` " "method." msgstr "" # 0f88943820a141e4905a37311813f991 #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase:5 msgid "" "This class automatically handles change notification, resetting to default, " "translation between gui objects and config objects, etc. for registered " "settings." msgstr "" # 6e7ed224d91a42dd8856ddc33acea8b6 #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase:9 msgid "" "If your config widget inherits from this class but includes setting that are" " not registered, you should override the :class:`ConfigWidgetInterface` " "methods and call the base class methods inside the overrides." msgstr "" # 5c4bdf7ae8304bc9b0184c06326e2885 #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.register:1 msgid "Register a setting." msgstr "" # ccae638bfd804bf8a12b489918cbc15d #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.register:3 msgid "The setting name" msgstr "" # 24b595e9b70244a49e9d49c43df5e22b #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.register:4 msgid "The config object that reads/writes the setting" msgstr "" # 1b1be5ee458f4c7785a32d350feecb14 #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.register:5 msgid "" "The name of the GUI object that presents an interface to change the setting." " By default it is assumed to be ``'opt_' + name``." msgstr "" # cb2aaa863e4e4856a4b7f43e64c6bb7d #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.register:8 msgid "" "If this setting is a multiple choice (combobox) based setting, the list of " "choices. The list is a list of two element tuples of the form: ``[(gui name," " value), ...]``" msgstr "" # e120d66206e541ea93b61b3b89cd0aec #: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring #: of calibre.gui2.preferences.ConfigWidgetBase.register:11 msgid "" "The class responsible for managing this setting. The default class handles " "almost all cases, so this param is rarely used." msgstr "" # e28430bd06714181baf9ad4011d43e67 #: ../../home/kovid/work/calibre/manual/plugins.rst:190 msgid "Viewer plugins" msgstr "" # aa50c7b775b54389b1be90d2e98bd3e7 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.ViewerPlugin.type:1 msgid "These plugins are used to add functionality to the calibre viewer." msgstr "" # 3e6dce714ed5456baf1f228d78cf4def #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.ViewerPlugin.load_fonts:1 msgid "" "This method is called once at viewer startup. It should load any fonts it " "wants to make available. For example::" msgstr "" # e4d4c767526141b299703f0149e8fca6 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.ViewerPlugin.load_javascript:1 msgid "" "This method is called every time a new HTML document is loaded in the " "viewer. Use it to load javascript libraries into the viewer. For example::" msgstr "" # ca6f89bf60344197800b320f6111df88 #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.ViewerPlugin.run_javascript:1 msgid "" "This method is called every time a document has finished loading. Use it in " "the same way as load_javascript()." msgstr "" # f1ec413a671141ada1f29f319b5cf84c #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.ViewerPlugin.customize_ui:1 msgid "" "This method is called once when the viewer is created. Use it to make any " "customizations you want to the viewer's user interface. For example, you can" " modify the toolbars via ui.tool_bar and ui.tool_bar2." msgstr "" # fc2d36cfd1814a5e8de9841c497e49fa #: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of #: calibre.customize.ViewerPlugin.customize_context_menu:1 msgid "" "This method is called every time the context (right-click) menu is shown. " "You can use it to customize the context menu. ``event`` is the context menu " "event and hit_test_result is the QWebHitTestResult for this event in the " "currently loaded document." msgstr ""