| 1 |
# SOME DESCRIPTIVE TITLE. |
| 2 |
# Copyright (C) Kovid Goyal |
| 3 |
# This file is distributed under the same license as the calibre package. |
| 4 |
# |
| 5 |
# Translators: |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: calibre\n" |
| 9 |
"Report-Msgid-Bugs-To: \n" |
| 10 |
"POT-Creation-Date: 2014-10-17 08:20+0530\n" |
| 11 |
"PO-Revision-Date: 2014-10-17 02:53+0000\n" |
| 12 |
"Last-Translator: Kovid Goyal <[email protected]>\n" |
| 13 |
"Language-Team: Slovenian (Slovenia) (http://www.transifex.com/projects/p/calibre/language/sl_SI/)\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Language: sl_SI\n" |
| 18 |
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" |
| 19 |
|
| 20 |
# 9c4ea81481df45679d23e1cad0c1b1ca |
| 21 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:4 |
| 22 |
msgid "API Documentation for plugins" |
| 23 |
msgstr "" |
| 24 |
|
| 25 |
# 72287c27a20649788f971e678ed418f1 |
| 26 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:9 |
| 27 |
msgid "" |
| 28 |
"Defines various abstract base classes that can be subclassed to create " |
| 29 |
"powerful plugins. The useful classes are:" |
| 30 |
msgstr "" |
| 31 |
|
| 32 |
# bcd5b25df93e41bd98686479d3625982 |
| 33 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:19 |
| 34 |
msgid "Plugin" |
| 35 |
msgstr "" |
| 36 |
|
| 37 |
# a62e7d940d2d4c60b986e3724a133f02 |
| 38 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 39 |
#: calibre.customize.Plugin:1 |
| 40 |
msgid "A calibre plugin. Useful members include:" |
| 41 |
msgstr "" |
| 42 |
|
| 43 |
# b188ccda7d8448e59d35745bd2a2af9c |
| 44 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 45 |
#: calibre.customize.Plugin:4 |
| 46 |
msgid "``self.plugin_path``: Stores path to the zip file that contains" |
| 47 |
msgstr "" |
| 48 |
|
| 49 |
# 3eb6b8cd96e94e3a970653edf847fac6 |
| 50 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 51 |
#: calibre.customize.Plugin:4 |
| 52 |
msgid "this plugin or None if it is a builtin plugin" |
| 53 |
msgstr "" |
| 54 |
|
| 55 |
# 99835c02f6804aeaa8d3e9e473096b6f |
| 56 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 57 |
#: calibre.customize.Plugin:7 |
| 58 |
msgid "``self.site_customization``: Stores a customization string entered" |
| 59 |
msgstr "" |
| 60 |
|
| 61 |
# d2b98c9660df43c6b47088673a976f70 |
| 62 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 63 |
#: calibre.customize.Plugin:7 |
| 64 |
msgid "by the user." |
| 65 |
msgstr "" |
| 66 |
|
| 67 |
# 30b84908cd0a4fd4b8b724ba6408cc37 |
| 68 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 69 |
#: calibre.customize.Plugin:9 |
| 70 |
msgid "Methods that should be overridden in sub classes:" |
| 71 |
msgstr "" |
| 72 |
|
| 73 |
# 5ba02142930349a799e8d7ffc274ccd1 |
| 74 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 75 |
#: calibre.customize.Plugin:11 |
| 76 |
msgid ":meth:`initialize`" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
# 439c260103554a2b8b77c4c4b26d5177 |
| 80 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 81 |
#: calibre.customize.Plugin:12 |
| 82 |
msgid ":meth:`customization_help`" |
| 83 |
msgstr "" |
| 84 |
|
| 85 |
# 93a3b29463c54c8c89f27e64679b6822 |
| 86 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 87 |
#: calibre.customize.Plugin:14 |
| 88 |
msgid "Useful methods:" |
| 89 |
msgstr "" |
| 90 |
|
| 91 |
# c42131e426484c6381c0da16adb54c4b |
| 92 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 93 |
#: calibre.customize.Plugin:16 |
| 94 |
msgid ":meth:`temporary_file`" |
| 95 |
msgstr "" |
| 96 |
|
| 97 |
# 40efad199d97480b9d163ff235cac0c2 |
| 98 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 99 |
#: calibre.customize.Plugin:17 |
| 100 |
msgid ":meth:`__enter__`" |
| 101 |
msgstr "" |
| 102 |
|
| 103 |
# e082930fe5af4a23be05592de5db85ab |
| 104 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 105 |
#: calibre.customize.Plugin:18 |
| 106 |
msgid ":meth:`load_resources`" |
| 107 |
msgstr "" |
| 108 |
|
| 109 |
# d1299ce8c2f64230b01a6ab55142e193 |
| 110 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 111 |
#: calibre.customize.Plugin.supported_platforms:1 |
| 112 |
msgid "" |
| 113 |
"List of platforms this plugin works on For example: ``['windows', 'osx', " |
| 114 |
"'linux']``" |
| 115 |
msgstr "" |
| 116 |
|
| 117 |
# 883a31e5f46d4d8a83fa58313626b34f |
| 118 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 119 |
#: calibre.customize.Plugin.name:1 |
| 120 |
msgid "" |
| 121 |
"The name of this plugin. You must set it something other than Trivial Plugin" |
| 122 |
" for it to work." |
| 123 |
msgstr "" |
| 124 |
|
| 125 |
# a4207cb5801049748f217520044c7127 |
| 126 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 127 |
#: calibre.customize.Plugin.version:1 |
| 128 |
msgid "The version of this plugin as a 3-tuple (major, minor, revision)" |
| 129 |
msgstr "" |
| 130 |
|
| 131 |
# a62fc64e0f684e0e8692026f288e6af1 |
| 132 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 133 |
#: calibre.customize.Plugin.description:1 |
| 134 |
msgid "A short string describing what this plugin does" |
| 135 |
msgstr "" |
| 136 |
|
| 137 |
# c03c747214934f9286f3f512ad803be6 |
| 138 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 139 |
#: calibre.customize.Plugin.author:1 |
| 140 |
msgid "The author of this plugin" |
| 141 |
msgstr "" |
| 142 |
|
| 143 |
# 8d2dba690c7c41388f405574639c6475 |
| 144 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 145 |
#: calibre.customize.Plugin.priority:1 |
| 146 |
msgid "" |
| 147 |
"When more than one plugin exists for a filetype, the plugins are run in " |
| 148 |
"order of decreasing priority i.e. plugins with higher priority will be run " |
| 149 |
"first. The highest possible priority is ``sys.maxint``. Default priority is " |
| 150 |
"1." |
| 151 |
msgstr "" |
| 152 |
|
| 153 |
# e6ed6a2c6c9549e6b1e8b305f5b7dd04 |
| 154 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 155 |
#: calibre.customize.Plugin.minimum_calibre_version:1 |
| 156 |
msgid "The earliest version of calibre this plugin requires" |
| 157 |
msgstr "" |
| 158 |
|
| 159 |
# 8b20834da7734848ad098a1d1ae7ed0f |
| 160 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 161 |
#: calibre.customize.Plugin.can_be_disabled:1 |
| 162 |
msgid "" |
| 163 |
"If False, the user will not be able to disable this plugin. Use with care." |
| 164 |
msgstr "" |
| 165 |
|
| 166 |
# 4e7caabc199c4b4288b951407d480ed7 |
| 167 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 168 |
#: calibre.customize.Plugin.type:1 |
| 169 |
msgid "The type of this plugin. Used for categorizing plugins in the GUI" |
| 170 |
msgstr "" |
| 171 |
|
| 172 |
# 80cb5ac1ddde415b9381772c16dad06a |
| 173 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 174 |
#: calibre.customize.Plugin.initialize:1 |
| 175 |
msgid "" |
| 176 |
"Called once when calibre plugins are initialized. Plugins are re-initialized" |
| 177 |
" every time a new plugin is added." |
| 178 |
msgstr "" |
| 179 |
|
| 180 |
# e492b7259a6e4a09a46c54832f6ea076 |
| 181 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 182 |
#: calibre.customize.Plugin.initialize:4 |
| 183 |
msgid "" |
| 184 |
"Perform any plugin specific initialization here, such as extracting " |
| 185 |
"resources from the plugin zip file. The path to the zip file is available as" |
| 186 |
" ``self.plugin_path``." |
| 187 |
msgstr "" |
| 188 |
|
| 189 |
# d5dbc94cc4674252bda13d26d8ff84e4 |
| 190 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 191 |
#: calibre.customize.Plugin.initialize:8 |
| 192 |
msgid "" |
| 193 |
"Note that ``self.site_customization`` is **not** available at this point." |
| 194 |
msgstr "" |
| 195 |
|
| 196 |
# b280f5f14e314696b4fdc5a89c6bf147 |
| 197 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 198 |
#: calibre.customize.Plugin.config_widget:1 |
| 199 |
msgid "" |
| 200 |
"Implement this method and :meth:`save_settings` in your plugin to use a " |
| 201 |
"custom configuration dialog, rather then relying on the simple string based " |
| 202 |
"default customization." |
| 203 |
msgstr "" |
| 204 |
|
| 205 |
# 38fed1a4cb884987967d11e92f3f690c |
| 206 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 207 |
#: calibre.customize.Plugin.config_widget:5 |
| 208 |
msgid "" |
| 209 |
"This method, if implemented, must return a QWidget. The widget can have an " |
| 210 |
"optional method validate() that takes no arguments and is called immediately" |
| 211 |
" after the user clicks OK. Changes are applied if and only if the method " |
| 212 |
"returns True." |
| 213 |
msgstr "" |
| 214 |
|
| 215 |
# 752b46d1a7c5432ea6656e0b552a360c |
| 216 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 217 |
#: calibre.customize.Plugin.config_widget:10 |
| 218 |
msgid "" |
| 219 |
"If for some reason you cannot perform the configuration at this time, return" |
| 220 |
" a tuple of two strings (message, details), these will be displayed as a " |
| 221 |
"warning dialog to the user and the process will be aborted." |
| 222 |
msgstr "" |
| 223 |
|
| 224 |
# 8b0236f94f0143fcbe326569b9de8e08 |
| 225 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 226 |
#: calibre.customize.Plugin.save_settings:1 |
| 227 |
msgid "Save the settings specified by the user with config_widget." |
| 228 |
msgstr "" |
| 229 |
|
| 230 |
# e41284b0dcd34b7bbe138f3c1942bbb0 |
| 231 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 232 |
#: calibre.customize.Plugin.save_settings:3 |
| 233 |
msgid "The widget returned by :meth:`config_widget`." |
| 234 |
msgstr "" |
| 235 |
|
| 236 |
# 253ab07657144a29b3d6255a93791e29 |
| 237 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 238 |
#: calibre.customize.Plugin.do_user_config:1 |
| 239 |
msgid "" |
| 240 |
"This method shows a configuration dialog for this plugin. It returns True if" |
| 241 |
" the user clicks OK, False otherwise. The changes are automatically applied." |
| 242 |
msgstr "" |
| 243 |
|
| 244 |
# 866fcdfee758455eb6a8ab81ee11865b |
| 245 |
# a01e503394e44c7bad9a35ec6df5327a |
| 246 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 247 |
#: calibre.customize.Plugin.load_resources:1 |
| 248 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 249 |
#: of calibre.gui2.actions.InterfaceAction.load_resources:1 |
| 250 |
msgid "" |
| 251 |
"If this plugin comes in a ZIP file (user added plugin), this method will " |
| 252 |
"allow you to load resources from the ZIP file." |
| 253 |
msgstr "" |
| 254 |
|
| 255 |
# 0419f6389dbb4159985d26118f351db4 |
| 256 |
# c053ad0e9cc7475480fd52cac22a803d |
| 257 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 258 |
#: calibre.customize.Plugin.load_resources:4 |
| 259 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 260 |
#: of calibre.gui2.actions.InterfaceAction.load_resources:4 |
| 261 |
msgid "For example to load an image::" |
| 262 |
msgstr "" |
| 263 |
|
| 264 |
# ce8c9891bdb54d048bd729a393919792 |
| 265 |
# 2b381af1c58045a7838102bfd23e29f8 |
| 266 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 267 |
#: calibre.customize.Plugin.load_resources:10 |
| 268 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 269 |
#: of calibre.gui2.actions.InterfaceAction.load_resources:10 |
| 270 |
msgid "List of paths to resources in the zip file using / as separator" |
| 271 |
msgstr "" |
| 272 |
|
| 273 |
# 54b81c91d525454faac9a7243b9eefa5 |
| 274 |
# 74e3a7b78eff4bdeb35f9d12ab6e564a |
| 275 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 276 |
#: calibre.customize.Plugin.load_resources:12 |
| 277 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 278 |
#: of calibre.gui2.actions.InterfaceAction.load_resources:12 |
| 279 |
msgid "" |
| 280 |
"A dictionary of the form ``{name : file_contents}``. Any names that were not" |
| 281 |
" found in the zip file will not be present in the dictionary." |
| 282 |
msgstr "" |
| 283 |
|
| 284 |
# 4d1a750ceff34d7b90b509a2303087e9 |
| 285 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 286 |
#: calibre.customize.Plugin.customization_help:1 |
| 287 |
msgid "" |
| 288 |
"Return a string giving help on how to customize this plugin. By default " |
| 289 |
"raise a :class:`NotImplementedError`, which indicates that the plugin does " |
| 290 |
"not require customization." |
| 291 |
msgstr "" |
| 292 |
|
| 293 |
# e11b2eb1f2b74291bf9f15595fd0671a |
| 294 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 295 |
#: calibre.customize.Plugin.customization_help:5 |
| 296 |
msgid "" |
| 297 |
"If you re-implement this method in your subclass, the user will be asked to " |
| 298 |
"enter a string as customization for this plugin. The customization string " |
| 299 |
"will be available as ``self.site_customization``." |
| 300 |
msgstr "" |
| 301 |
|
| 302 |
# d1bfad720cf449568221c0fd58845d65 |
| 303 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 304 |
#: calibre.customize.Plugin.customization_help:10 |
| 305 |
msgid "" |
| 306 |
"Site customization could be anything, for example, the path to a needed " |
| 307 |
"binary on the user's computer." |
| 308 |
msgstr "" |
| 309 |
|
| 310 |
# da802e97acd34d43aedfe7974d90145c |
| 311 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 312 |
#: calibre.customize.Plugin.customization_help:13 |
| 313 |
msgid "If True return HTML help, otherwise return plain text help." |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
# 95c88017cbc14c169b55e3ef07fd0dbc |
| 317 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 318 |
#: calibre.customize.Plugin.temporary_file:1 |
| 319 |
msgid "" |
| 320 |
"Return a file-like object that is a temporary file on the file system. This " |
| 321 |
"file will remain available even after being closed and will only be removed " |
| 322 |
"on interpreter shutdown. Use the ``name`` member of the returned object to " |
| 323 |
"access the full path to the created temporary file." |
| 324 |
msgstr "" |
| 325 |
|
| 326 |
# b4758b1268f149c0b7441574290aa092 |
| 327 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 328 |
#: calibre.customize.Plugin.temporary_file:6 |
| 329 |
msgid "The suffix that the temporary file will have." |
| 330 |
msgstr "" |
| 331 |
|
| 332 |
# 0ee852718bfe4408bb0fb011d3192bea |
| 333 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 334 |
#: calibre.customize.Plugin.cli_main:1 |
| 335 |
msgid "" |
| 336 |
"This method is the main entry point for your plugins command line interface." |
| 337 |
" It is called when the user does: calibre-debug -r \"Plugin Name\". Any " |
| 338 |
"arguments passed are present in the args variable." |
| 339 |
msgstr "" |
| 340 |
|
| 341 |
# c926066dfd61431eaa1c685ba1bd21c2 |
| 342 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:28 |
| 343 |
msgid "FileTypePlugin" |
| 344 |
msgstr "" |
| 345 |
|
| 346 |
# 084d862287ab43fca9df37581a981310 |
| 347 |
# 0609e62b1aa1475182ac68037c3922e3 |
| 348 |
# 8cab6723786a47f8a0cc361780364420 |
| 349 |
# 861eae84d4fd4970b3837a7f2d6385a9 |
| 350 |
# 5b70f570ca174e3a9560fb3983869e38 |
| 351 |
# b3155fb256ec458ead9d6dcd511a8a73 |
| 352 |
# 0d48f690b1fd4dd78ef4ba9088485c2f |
| 353 |
# ef87892b57d8448baad960095087d529 |
| 354 |
# 0dd0b033f44142e59bfdd27f2a8ef535 |
| 355 |
# 3415d8f691604a50a3e4211050425dce |
| 356 |
# 4ea7b85eb2f343e6a56cba21e2ba62fb |
| 357 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 358 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 359 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 360 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 361 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 362 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 363 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 364 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 365 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 366 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 367 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 368 |
msgid "Bases: :class:`calibre.customize.Plugin`" |
| 369 |
msgstr "" |
| 370 |
|
| 371 |
# 908381dcd03843b3ae8851e6eaa8ec49 |
| 372 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 373 |
#: calibre.customize.FileTypePlugin:1 |
| 374 |
msgid "A plugin that is associated with a particular set of file types." |
| 375 |
msgstr "" |
| 376 |
|
| 377 |
# 08de53f569dc4681bfed021939435346 |
| 378 |
# 924c6ed39b454a77808a997b71454c81 |
| 379 |
# c8c42ebffcc24e5c8e759940b98873ae |
| 380 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 381 |
#: calibre.customize.FileTypePlugin.file_types:1 |
| 382 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 383 |
#: calibre.customize.MetadataReaderPlugin.file_types:1 |
| 384 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 385 |
#: calibre.customize.MetadataWriterPlugin.file_types:1 |
| 386 |
msgid "" |
| 387 |
"Set of file types for which this plugin should be run For example: " |
| 388 |
"``set(['lit', 'mobi', 'prc'])``" |
| 389 |
msgstr "" |
| 390 |
|
| 391 |
# 4563e1c8b41c4ea99c0f7b245944ca6a |
| 392 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 393 |
#: calibre.customize.FileTypePlugin.on_import:1 |
| 394 |
msgid "If True, this plugin is run when books are added to the database" |
| 395 |
msgstr "" |
| 396 |
|
| 397 |
# 511d45ee8a5a47b99765f247341d7046 |
| 398 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 399 |
#: calibre.customize.FileTypePlugin.on_postimport:1 |
| 400 |
msgid "If True, this plugin is run after books are added to the database" |
| 401 |
msgstr "" |
| 402 |
|
| 403 |
# c0af415409de44e4aff4344c2b2a2ba6 |
| 404 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 405 |
#: calibre.customize.FileTypePlugin.on_preprocess:1 |
| 406 |
msgid "If True, this plugin is run just before a conversion" |
| 407 |
msgstr "" |
| 408 |
|
| 409 |
# d0fb62f579c0432fa6dbe518d91ab5d1 |
| 410 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 411 |
#: calibre.customize.FileTypePlugin.on_postprocess:1 |
| 412 |
msgid "" |
| 413 |
"If True, this plugin is run after conversion on the final file produced by " |
| 414 |
"the conversion output plugin." |
| 415 |
msgstr "" |
| 416 |
|
| 417 |
# ea63d8b652c843c6b09b816036994942 |
| 418 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 419 |
#: calibre.customize.FileTypePlugin.run:1 |
| 420 |
msgid "" |
| 421 |
"Run the plugin. Must be implemented in subclasses. It should perform " |
| 422 |
"whatever modifications are required on the ebook and return the absolute " |
| 423 |
"path to the modified ebook. If no modifications are needed, it should return" |
| 424 |
" the path to the original ebook. If an error is encountered it should raise " |
| 425 |
"an Exception. The default implementation simply return the path to the " |
| 426 |
"original ebook." |
| 427 |
msgstr "" |
| 428 |
|
| 429 |
# d51383070c084ec487e0d673fb9f5cdd |
| 430 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 431 |
#: calibre.customize.FileTypePlugin.run:9 |
| 432 |
msgid "" |
| 433 |
"The modified ebook file should be created with the :meth:`temporary_file` " |
| 434 |
"method." |
| 435 |
msgstr "" |
| 436 |
|
| 437 |
# 36072fa92adc48c69c8a45a1771bba3d |
| 438 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 439 |
#: calibre.customize.FileTypePlugin.run:12 |
| 440 |
msgid "Absolute path to the ebook." |
| 441 |
msgstr "" |
| 442 |
|
| 443 |
# 1a499dab1a1d45c7b71567c9a9f5e298 |
| 444 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 445 |
#: calibre.customize.FileTypePlugin.run:14 |
| 446 |
msgid "Absolute path to the modified ebook." |
| 447 |
msgstr "" |
| 448 |
|
| 449 |
# 385dd7778aa344b29e16efb17cd02807 |
| 450 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 451 |
#: calibre.customize.FileTypePlugin.postimport:1 |
| 452 |
msgid "" |
| 453 |
"Called post import, i.e., after the book file has been added to the " |
| 454 |
"database." |
| 455 |
msgstr "" |
| 456 |
|
| 457 |
# 7369339bcfa544ffb71ad1724f6d3481 |
| 458 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 459 |
#: calibre.customize.FileTypePlugin.postimport:3 |
| 460 |
msgid "Database id of the added book." |
| 461 |
msgstr "" |
| 462 |
|
| 463 |
# 5ceadcdb29be4611805c2401d47f55c9 |
| 464 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 465 |
#: calibre.customize.FileTypePlugin.postimport:4 |
| 466 |
msgid "The file type of the book that was added. :param db: Library database." |
| 467 |
msgstr "" |
| 468 |
|
| 469 |
# ac19c0bc726b48a2abebd809629259f1 |
| 470 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:39 |
| 471 |
msgid "Metadata plugins" |
| 472 |
msgstr "" |
| 473 |
|
| 474 |
# 73ff79e483644e669a5f4748e4f05498 |
| 475 |
# b0119b7f091a49c2a59105be96363393 |
| 476 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 477 |
#: calibre.customize.MetadataReaderPlugin:1 |
| 478 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 479 |
#: calibre.customize.MetadataWriterPlugin:1 |
| 480 |
msgid "A plugin that implements reading metadata from a set of file types." |
| 481 |
msgstr "" |
| 482 |
|
| 483 |
# 9880432ad6b04692b3b5ceb3169b7495 |
| 484 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 485 |
#: calibre.customize.MetadataReaderPlugin.get_metadata:1 |
| 486 |
msgid "" |
| 487 |
"Return metadata for the file represented by stream (a file like object that " |
| 488 |
"supports reading). Raise an exception when there is an error with the input " |
| 489 |
"data. :param type: The type of file. Guaranteed to be one of the entries in " |
| 490 |
":attr:`file_types`. :return: A " |
| 491 |
":class:`calibre.ebooks.metadata.book.Metadata` object" |
| 492 |
msgstr "" |
| 493 |
|
| 494 |
# 01f8b6bc82174c99beaffd8e9775da08 |
| 495 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 496 |
#: calibre.customize.MetadataWriterPlugin.set_metadata:1 |
| 497 |
msgid "" |
| 498 |
"Set metadata for the file represented by stream (a file like object that " |
| 499 |
"supports reading). Raise an exception when there is an error with the input " |
| 500 |
"data. :param type: The type of file. Guaranteed to be one of the entries in " |
| 501 |
":attr:`file_types`. :param mi: A " |
| 502 |
":class:`calibre.ebooks.metadata.book.Metadata` object" |
| 503 |
msgstr "" |
| 504 |
|
| 505 |
# 0c130d9bfc3040f9be89f92a9306b810 |
| 506 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:54 |
| 507 |
msgid "Catalog plugins" |
| 508 |
msgstr "" |
| 509 |
|
| 510 |
# 79dd5a0e687a423cbe411136cbc7b69c |
| 511 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 512 |
#: calibre.customize.CatalogPlugin:1 |
| 513 |
msgid "A plugin that implements a catalog generator." |
| 514 |
msgstr "" |
| 515 |
|
| 516 |
# fc7ca1a4463c40eca5ddc0d9fad5b90e |
| 517 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 518 |
#: calibre.customize.CatalogPlugin.file_types:1 |
| 519 |
msgid "" |
| 520 |
"Output file type for which this plugin should be run For example: 'epub' or " |
| 521 |
"'xml'" |
| 522 |
msgstr "" |
| 523 |
|
| 524 |
# ccab92f1bdb345e9923c38c831b9a3e4 |
| 525 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 526 |
#: calibre.customize.CatalogPlugin.cli_options:1 |
| 527 |
msgid "" |
| 528 |
"CLI parser options specific to this plugin, declared as namedtuple Option::" |
| 529 |
msgstr "" |
| 530 |
|
| 531 |
# c1317fba96d9449d957f4ec0527e7727 |
| 532 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 533 |
#: calibre.customize.CatalogPlugin.initialize:1 |
| 534 |
msgid "" |
| 535 |
"If plugin is not a built-in, copy the plugin's .ui and .py files from the " |
| 536 |
"zip file to $TMPDIR. Tab will be dynamically generated and added to the " |
| 537 |
"Catalog Options dialog in calibre.gui2.dialogs.catalog.py:Catalog" |
| 538 |
msgstr "" |
| 539 |
|
| 540 |
# 12ab0f306b224088927b596c55da72c4 |
| 541 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 542 |
#: calibre.customize.CatalogPlugin.run:1 |
| 543 |
msgid "" |
| 544 |
"Run the plugin. Must be implemented in subclasses. It should generate the " |
| 545 |
"catalog in the format specified in file_types, returning the absolute path " |
| 546 |
"to the generated catalog file. If an error is encountered it should raise an" |
| 547 |
" Exception." |
| 548 |
msgstr "" |
| 549 |
|
| 550 |
# 1d93f581338c4787b33be9eb863c3439 |
| 551 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 552 |
#: calibre.customize.CatalogPlugin.run:7 |
| 553 |
msgid "" |
| 554 |
"The generated catalog file should be created with the :meth:`temporary_file`" |
| 555 |
" method." |
| 556 |
msgstr "" |
| 557 |
|
| 558 |
# 635b588989ae4f06815fcab2238f88a1 |
| 559 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 560 |
#: calibre.customize.CatalogPlugin.run:10 |
| 561 |
msgid "Absolute path to the generated catalog file." |
| 562 |
msgstr "" |
| 563 |
|
| 564 |
# 2715fff799cc4135b7d01af58b076c1c |
| 565 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 566 |
#: calibre.customize.CatalogPlugin.run:11 |
| 567 |
msgid "A dictionary of keyword arguments" |
| 568 |
msgstr "" |
| 569 |
|
| 570 |
# 6701ae76b28a49d0b7c061200282eb2c |
| 571 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 572 |
#: calibre.customize.CatalogPlugin.run:12 |
| 573 |
msgid "A LibraryDatabase2 object" |
| 574 |
msgstr "" |
| 575 |
|
| 576 |
# 12e436d03dda45c3802ff2d7f098bd0d |
| 577 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:64 |
| 578 |
msgid "Metadata download plugins" |
| 579 |
msgstr "" |
| 580 |
|
| 581 |
# 1916d6bb8eda4338aa491696feaf6dc9 |
| 582 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 583 |
#: of calibre.ebooks.metadata.sources.base.Source.capabilities:1 |
| 584 |
msgid "" |
| 585 |
"Set of capabilities supported by this plugin. Useful capabilities are: " |
| 586 |
"'identify', 'cover'" |
| 587 |
msgstr "" |
| 588 |
|
| 589 |
# 3bc74747daec435db8dd68cf14f240b5 |
| 590 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 591 |
#: of calibre.ebooks.metadata.sources.base.Source.touched_fields:1 |
| 592 |
msgid "" |
| 593 |
"List of metadata fields that can potentially be download by this plugin " |
| 594 |
"during the identify phase" |
| 595 |
msgstr "" |
| 596 |
|
| 597 |
# 9847adaa1fcd4f2db8e617d9af9f1171 |
| 598 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 599 |
#: of calibre.ebooks.metadata.sources.base.Source.has_html_comments:1 |
| 600 |
msgid "Set this to True if your plugin returns HTML formatted comments" |
| 601 |
msgstr "" |
| 602 |
|
| 603 |
# ba81d0be43bd4198a959193b2eb99c9b |
| 604 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 605 |
#: of |
| 606 |
#: calibre.ebooks.metadata.sources.base.Source.supports_gzip_transfer_encoding:1 |
| 607 |
msgid "" |
| 608 |
"Setting this to True means that the browser object will add Accept-Encoding:" |
| 609 |
" gzip to all requests. This can speedup downloads but make sure that the " |
| 610 |
"source actually supports gzip transfer encoding correctly first" |
| 611 |
msgstr "" |
| 612 |
|
| 613 |
# 271e6d2fad6246009d18aab40ac94e18 |
| 614 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 615 |
#: of |
| 616 |
#: calibre.ebooks.metadata.sources.base.Source.cached_cover_url_is_reliable:1 |
| 617 |
msgid "" |
| 618 |
"Cached cover URLs can sometimes be unreliable (i.e. the download could fail " |
| 619 |
"or the returned image could be bogus. If that is often the case with this " |
| 620 |
"source set to False" |
| 621 |
msgstr "" |
| 622 |
|
| 623 |
# ffef5ae9177c46e7ac841b13a4e10506 |
| 624 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 625 |
#: of calibre.ebooks.metadata.sources.base.Source.options:1 |
| 626 |
msgid "" |
| 627 |
"A list of :class:`Option` objects. They will be used to automatically " |
| 628 |
"construct the configuration widget for this plugin" |
| 629 |
msgstr "" |
| 630 |
|
| 631 |
# b01972d36b3a488fb23f99a4ee572884 |
| 632 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 633 |
#: of calibre.ebooks.metadata.sources.base.Source.config_help_message:1 |
| 634 |
msgid "" |
| 635 |
"A string that is displayed at the top of the config widget for this plugin" |
| 636 |
msgstr "" |
| 637 |
|
| 638 |
# e627c74d8e2640ef8b3cde1af26b75f5 |
| 639 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 640 |
#: of calibre.ebooks.metadata.sources.base.Source.can_get_multiple_covers:1 |
| 641 |
msgid "If True this source can return multiple covers for a given query" |
| 642 |
msgstr "" |
| 643 |
|
| 644 |
# 9662f4db69d648b28e19cf7add30a287 |
| 645 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 646 |
#: of calibre.ebooks.metadata.sources.base.Source.auto_trim_covers:1 |
| 647 |
msgid "" |
| 648 |
"If set to True covers downloaded by this plugin are automatically trimmed." |
| 649 |
msgstr "" |
| 650 |
|
| 651 |
# 2d646a51cb7440de9a28cc691a14f813 |
| 652 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 653 |
#: of calibre.ebooks.metadata.sources.base.Source.is_configured:1 |
| 654 |
msgid "" |
| 655 |
"Return False if your plugin needs to be configured before it can be used. " |
| 656 |
"For example, it might need a username/password/API key." |
| 657 |
msgstr "" |
| 658 |
|
| 659 |
# 24d72a8c1bb343789263b87e197820ba |
| 660 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 661 |
#: of calibre.ebooks.metadata.sources.base.Source.get_author_tokens:1 |
| 662 |
msgid "" |
| 663 |
"Take a list of authors and return a list of tokens useful for an AND search " |
| 664 |
"query. This function tries to return tokens in first name middle names last " |
| 665 |
"name order, by assuming that if a comma is in the author name, the name is " |
| 666 |
"in lastname, other names form." |
| 667 |
msgstr "" |
| 668 |
|
| 669 |
# 523420c1c797461faf1e3298107ef556 |
| 670 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 671 |
#: of calibre.ebooks.metadata.sources.base.Source.get_title_tokens:1 |
| 672 |
msgid "" |
| 673 |
"Take a title and return a list of tokens useful for an AND search query. " |
| 674 |
"Excludes connectives(optionally) and punctuation." |
| 675 |
msgstr "" |
| 676 |
|
| 677 |
# fa39485850f04c3ba14bb285911807f1 |
| 678 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 679 |
#: of calibre.ebooks.metadata.sources.base.Source.split_jobs:1 |
| 680 |
msgid "Split a list of jobs into at most num groups, as evenly as possible" |
| 681 |
msgstr "" |
| 682 |
|
| 683 |
# 7057284d6ee2469a999544735fc5c8a7 |
| 684 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 685 |
#: of calibre.ebooks.metadata.sources.base.Source.test_fields:1 |
| 686 |
msgid "" |
| 687 |
"Return the first field from self.touched_fields that is null on the mi " |
| 688 |
"object" |
| 689 |
msgstr "" |
| 690 |
|
| 691 |
# 31c4fc68fe9a46e587e4db3285731365 |
| 692 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 693 |
#: of calibre.ebooks.metadata.sources.base.Source.clean_downloaded_metadata:1 |
| 694 |
msgid "" |
| 695 |
"Call this method in your plugin's identify method to normalize metadata " |
| 696 |
"before putting the Metadata object into result_queue. You can of course, use" |
| 697 |
" a custom algorithm suited to your metadata source." |
| 698 |
msgstr "" |
| 699 |
|
| 700 |
# 572c8d7c69214b038f7efcc3644e7035 |
| 701 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 702 |
#: of calibre.ebooks.metadata.sources.base.Source.get_book_url:1 |
| 703 |
msgid "" |
| 704 |
"Return a 3-tuple or None. The 3-tuple is of the form: (identifier_type, " |
| 705 |
"identifier_value, URL). The URL is the URL for the book identified by " |
| 706 |
"identifiers at this source. identifier_type, identifier_value specify the " |
| 707 |
"identifier corresponding to the URL. This URL must be browseable to by a " |
| 708 |
"human using a browser. It is meant to provide a clickable link for the user " |
| 709 |
"to easily visit the books page at this source. If no URL is found, return " |
| 710 |
"None. This method must be quick, and consistent, so only implement it if it " |
| 711 |
"is possible to construct the URL from a known scheme given identifiers." |
| 712 |
msgstr "" |
| 713 |
|
| 714 |
# f9b188355e104adea1ae0029589bdf06 |
| 715 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 716 |
#: of calibre.ebooks.metadata.sources.base.Source.get_book_url_name:1 |
| 717 |
msgid "Return a human readable name from the return value of get_book_url()." |
| 718 |
msgstr "" |
| 719 |
|
| 720 |
# 3edf986033224cbeb9a7ba260261d0c8 |
| 721 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 722 |
#: of calibre.ebooks.metadata.sources.base.Source.get_cached_cover_url:1 |
| 723 |
msgid "" |
| 724 |
"Return cached cover URL for the book identified by the identifiers dict or " |
| 725 |
"None if no such URL exists." |
| 726 |
msgstr "" |
| 727 |
|
| 728 |
# 2d65cbefc1c94ac8baf8c08ff3ac0bd6 |
| 729 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 730 |
#: of calibre.ebooks.metadata.sources.base.Source.get_cached_cover_url:4 |
| 731 |
msgid "" |
| 732 |
"Note that this method must only return validated URLs, i.e. not URLS that " |
| 733 |
"could result in a generic cover image or a not found error." |
| 734 |
msgstr "" |
| 735 |
|
| 736 |
# 8d585ff302534b3396f63488c800e78a |
| 737 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 738 |
#: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:1 |
| 739 |
msgid "" |
| 740 |
"Return a function that is used to generate a key that can sort Metadata " |
| 741 |
"objects by their relevance given a search query (title, authors, " |
| 742 |
"identifiers)." |
| 743 |
msgstr "" |
| 744 |
|
| 745 |
# 2cf86fc119b54c30822b11e072069e3f |
| 746 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 747 |
#: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:5 |
| 748 |
msgid "These keys are used to sort the results of a call to :meth:`identify`." |
| 749 |
msgstr "" |
| 750 |
|
| 751 |
# e6c26a394a2d4d96af8f0c85e520ceb8 |
| 752 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 753 |
#: of calibre.ebooks.metadata.sources.base.Source.identify_results_keygen:7 |
| 754 |
msgid "" |
| 755 |
"For details on the default algorithm see " |
| 756 |
":class:`InternalMetadataCompareKeyGen`. Re-implement this function in your " |
| 757 |
"plugin if the default algorithm is not suitable." |
| 758 |
msgstr "" |
| 759 |
|
| 760 |
# 9ce7020af765410f9b1ff82f62b54887 |
| 761 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 762 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:1 |
| 763 |
msgid "Identify a book by its title/author/isbn/etc." |
| 764 |
msgstr "" |
| 765 |
|
| 766 |
# ec91d3df5d5f466fbe5fd0d6098611fc |
| 767 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 768 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:3 |
| 769 |
msgid "" |
| 770 |
"If identifiers(s) are specified and no match is found and this metadata " |
| 771 |
"source does not store all related identifiers (for example, all ISBNs of a " |
| 772 |
"book), this method should retry with just the title and author (assuming " |
| 773 |
"they were specified)." |
| 774 |
msgstr "" |
| 775 |
|
| 776 |
# 8c9dd4ee8cff4952a22c9526e00aeab1 |
| 777 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 778 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:8 |
| 779 |
msgid "" |
| 780 |
"If this metadata source also provides covers, the URL to the cover should be" |
| 781 |
" cached so that a subsequent call to the get covers API with the same " |
| 782 |
"ISBN/special identifier does not need to get the cover URL again. Use the " |
| 783 |
"caching API for this." |
| 784 |
msgstr "" |
| 785 |
|
| 786 |
# 8af735aba7144c73b43e3d025bf259fc |
| 787 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 788 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:13 |
| 789 |
msgid "" |
| 790 |
"Every Metadata object put into result_queue by this method must have a " |
| 791 |
"`source_relevance` attribute that is an integer indicating the order in " |
| 792 |
"which the results were returned by the metadata source for this query. This " |
| 793 |
"integer will be used by :meth:`compare_identify_results`. If the order is " |
| 794 |
"unimportant, set it to zero for every result." |
| 795 |
msgstr "" |
| 796 |
|
| 797 |
# 5c511e5aa54e43cabe5ca32351e02a73 |
| 798 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 799 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:19 |
| 800 |
msgid "" |
| 801 |
"Make sure that any cover/isbn mapping information is cached before the " |
| 802 |
"Metadata object is put into result_queue." |
| 803 |
msgstr "" |
| 804 |
|
| 805 |
# daafe4aa21e4448a80d0fd00b22e63c3 |
| 806 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 807 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:22 |
| 808 |
msgid "A log object, use it to output debugging information/errors" |
| 809 |
msgstr "" |
| 810 |
|
| 811 |
# bc1708b7d40145278f35daaa26c03d90 |
| 812 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 813 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:23 |
| 814 |
msgid "" |
| 815 |
"A result Queue, results should be put into it. Each result is a Metadata " |
| 816 |
"object" |
| 817 |
msgstr "" |
| 818 |
|
| 819 |
# 6013a4c7841b4259983a6ef540f3c9da |
| 820 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 821 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:25 |
| 822 |
msgid "" |
| 823 |
"If abort.is_set() returns True, abort further processing and return as soon " |
| 824 |
"as possible" |
| 825 |
msgstr "" |
| 826 |
|
| 827 |
# b90aaba5fe6548ba8468d7fd203cd181 |
| 828 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 829 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:27 |
| 830 |
msgid "The title of the book, can be None" |
| 831 |
msgstr "" |
| 832 |
|
| 833 |
# 605858b320664d198800bb67c40bd927 |
| 834 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 835 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:28 |
| 836 |
msgid "A list of authors of the book, can be None" |
| 837 |
msgstr "" |
| 838 |
|
| 839 |
# baf17810f9ba495e85774ef52f7254ee |
| 840 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 841 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:29 |
| 842 |
msgid "A dictionary of other identifiers, most commonly {'isbn':'1234...'}" |
| 843 |
msgstr "" |
| 844 |
|
| 845 |
# 591fff96b9564600b2d2fc1f168de7c6 |
| 846 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 847 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:31 |
| 848 |
msgid "" |
| 849 |
"Timeout in seconds, no network request should hang for longer than timeout." |
| 850 |
msgstr "" |
| 851 |
|
| 852 |
# 55a1453573dc4607b95ee067d316b0c3 |
| 853 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 854 |
#: of calibre.ebooks.metadata.sources.base.Source.identify:33 |
| 855 |
msgid "" |
| 856 |
"None if no errors occurred, otherwise a unicode representation of the error " |
| 857 |
"suitable for showing to the user" |
| 858 |
msgstr "" |
| 859 |
|
| 860 |
# 3ab98703cfaf4a63805899160151c35e |
| 861 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 862 |
#: of calibre.ebooks.metadata.sources.base.Source.download_cover:1 |
| 863 |
msgid "" |
| 864 |
"Download a cover and put it into result_queue. The parameters all have the " |
| 865 |
"same meaning as for :meth:`identify`. Put (self, cover_data) into " |
| 866 |
"result_queue." |
| 867 |
msgstr "" |
| 868 |
|
| 869 |
# 64b97a3025274837bcd955a4ec3f614b |
| 870 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 871 |
#: of calibre.ebooks.metadata.sources.base.Source.download_cover:5 |
| 872 |
msgid "" |
| 873 |
"This method should use cached cover URLs for efficiency whenever possible. " |
| 874 |
"When cached data is not present, most plugins simply call identify and use " |
| 875 |
"its results." |
| 876 |
msgstr "" |
| 877 |
|
| 878 |
# c5f876d21a4a4f84a82726360427ab37 |
| 879 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 880 |
#: of calibre.ebooks.metadata.sources.base.Source.download_cover:9 |
| 881 |
msgid "" |
| 882 |
"If the parameter get_best_cover is True and this plugin can get multiple " |
| 883 |
"covers, it should only get the \"best\" one." |
| 884 |
msgstr "" |
| 885 |
|
| 886 |
# dc64d91dffa94507ad9dd79e7ba8c359 |
| 887 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 888 |
#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:1 |
| 889 |
msgid "" |
| 890 |
"Generate a sort key for comparison of the relevance of Metadata objects, " |
| 891 |
"given a search query. This is used only to compare results from the same " |
| 892 |
"metadata source, not across different sources." |
| 893 |
msgstr "" |
| 894 |
|
| 895 |
# d9fc689b4fdd4a5b95c150614713f135 |
| 896 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 897 |
#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:5 |
| 898 |
msgid "" |
| 899 |
"The sort key ensures that an ascending order sort is a sort by order of " |
| 900 |
"decreasing relevance." |
| 901 |
msgstr "" |
| 902 |
|
| 903 |
# 4d8180c71f874eb7bd5faa070f1a825e |
| 904 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 905 |
#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:8 |
| 906 |
msgid "The algorithm is:" |
| 907 |
msgstr "" |
| 908 |
|
| 909 |
# 2c589c4aa00247889d189291f6bb5f5e |
| 910 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 911 |
#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:10 |
| 912 |
msgid "Prefer results that have the same ISBN as specified in the query" |
| 913 |
msgstr "" |
| 914 |
|
| 915 |
# 7206ef1d491a48b1bf8530197362dc8b |
| 916 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 917 |
#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:11 |
| 918 |
msgid "Prefer results with a cached cover URL" |
| 919 |
msgstr "" |
| 920 |
|
| 921 |
# 9f5fd952e87343cb82a0108552c873ff |
| 922 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 923 |
#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:12 |
| 924 |
msgid "Prefer results with all available fields filled in" |
| 925 |
msgstr "" |
| 926 |
|
| 927 |
# ff5402c5653c42759e33f2ef0f8814cf |
| 928 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 929 |
#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:13 |
| 930 |
msgid "Prefer results that are an exact title match to the query" |
| 931 |
msgstr "" |
| 932 |
|
| 933 |
# c33afe23683547969b2c52505604e075 |
| 934 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 935 |
#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:14 |
| 936 |
msgid "Prefer results with longer comments (greater than 10% longer)" |
| 937 |
msgstr "" |
| 938 |
|
| 939 |
# d9c099a85aed4304bdf22b20da586345 |
| 940 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 941 |
#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:15 |
| 942 |
msgid "" |
| 943 |
"Use the relevance of the result as reported by the metadata source's search" |
| 944 |
msgstr "" |
| 945 |
|
| 946 |
# 0ee86f8d841a45ffa4f7f7a188de9946 |
| 947 |
#: ../../home/kovid/work/calibre/src/calibre/ebooks/metadata/sources/base.pydocstring |
| 948 |
#: of calibre.ebooks.metadata.sources.base.InternalMetadataCompareKeyGen:16 |
| 949 |
msgid "engine" |
| 950 |
msgstr "" |
| 951 |
|
| 952 |
# 50712067815b420f8d1c12c3cec7b64d |
| 953 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:76 |
| 954 |
msgid "Conversion plugins" |
| 955 |
msgstr "" |
| 956 |
|
| 957 |
# 1fbace5f77cb4dc499f4b1f19e463c6c |
| 958 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 959 |
#: of calibre.customize.conversion.InputFormatPlugin:1 |
| 960 |
msgid "" |
| 961 |
"InputFormatPlugins are responsible for converting a document into " |
| 962 |
"HTML+OPF+CSS+etc. The results of the conversion *must* be encoded in UTF-8. " |
| 963 |
"The main action happens in :meth:`convert`." |
| 964 |
msgstr "" |
| 965 |
|
| 966 |
# bfb62b99a26b43e4b9f960e43956fe2b |
| 967 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 968 |
#: of calibre.customize.conversion.InputFormatPlugin.file_types:1 |
| 969 |
msgid "" |
| 970 |
"Set of file types for which this plugin should be run For example: " |
| 971 |
"``set(['azw', 'mobi', 'prc'])``" |
| 972 |
msgstr "" |
| 973 |
|
| 974 |
# 1e18ddba065041d5844d80603f3bdd4a |
| 975 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 976 |
#: of calibre.customize.conversion.InputFormatPlugin.is_image_collection:1 |
| 977 |
msgid "" |
| 978 |
"If True, this input plugin generates a collection of images, one per HTML " |
| 979 |
"file. This can be set dynamically, in the convert method if the input files " |
| 980 |
"can be both image collections and non-image collections. If you set this to " |
| 981 |
"True, you must implement the get_images() method that returns a list of " |
| 982 |
"images." |
| 983 |
msgstr "" |
| 984 |
|
| 985 |
# e4dad7aba82d492c8e905d57dc8ec27e |
| 986 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 987 |
#: of calibre.customize.conversion.InputFormatPlugin.core_usage:1 |
| 988 |
msgid "" |
| 989 |
"Number of CPU cores used by this plugin A value of -1 means that it uses all" |
| 990 |
" available cores" |
| 991 |
msgstr "" |
| 992 |
|
| 993 |
# bc2df543243e4a7f95eda554e82ab0de |
| 994 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 995 |
#: of calibre.customize.conversion.InputFormatPlugin.for_viewer:1 |
| 996 |
msgid "" |
| 997 |
"If set to True, the input plugin will perform special processing to make its" |
| 998 |
" output suitable for viewing" |
| 999 |
msgstr "" |
| 1000 |
|
| 1001 |
# c71f4357c20b49b3a38fed334e92888b |
| 1002 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1003 |
#: of calibre.customize.conversion.InputFormatPlugin.output_encoding:1 |
| 1004 |
msgid "" |
| 1005 |
"The encoding that this input plugin creates files in. A value of None means " |
| 1006 |
"that the encoding is undefined and must be detected individually" |
| 1007 |
msgstr "" |
| 1008 |
|
| 1009 |
# 888d3ca7594e40dab0eb7004cc647ab5 |
| 1010 |
# ae6d6880c4a5472ea3096716fe8d04c9 |
| 1011 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1012 |
#: of calibre.customize.conversion.InputFormatPlugin.common_options:1 |
| 1013 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1014 |
#: of calibre.customize.conversion.OutputFormatPlugin.common_options:1 |
| 1015 |
msgid "" |
| 1016 |
"Options shared by all Input format plugins. Do not override in sub-classes. " |
| 1017 |
"Use :attr:`options` instead. Every option must be an instance of " |
| 1018 |
":class:`OptionRecommendation`." |
| 1019 |
msgstr "" |
| 1020 |
|
| 1021 |
# ecc62765a8d2408398ab2f72a15f0596 |
| 1022 |
# 34e783d5c8e34beeb8c98a76a76f7544 |
| 1023 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1024 |
#: of calibre.customize.conversion.InputFormatPlugin.options:1 |
| 1025 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1026 |
#: of calibre.customize.conversion.OutputFormatPlugin.options:1 |
| 1027 |
msgid "" |
| 1028 |
"Options to customize the behavior of this plugin. Every option must be an " |
| 1029 |
"instance of :class:`OptionRecommendation`." |
| 1030 |
msgstr "" |
| 1031 |
|
| 1032 |
# 248bf7c623ba46d6b6331a5cff490d9e |
| 1033 |
# da4db8b93f0b439391c712466bca51bf |
| 1034 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1035 |
#: of calibre.customize.conversion.InputFormatPlugin.recommendations:1 |
| 1036 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1037 |
#: of calibre.customize.conversion.OutputFormatPlugin.recommendations:1 |
| 1038 |
msgid "" |
| 1039 |
"A set of 3-tuples of the form (option_name, recommended_value, " |
| 1040 |
"recommendation_level)" |
| 1041 |
msgstr "" |
| 1042 |
|
| 1043 |
# 780e9a55994d43fa8eeba8f7352958d0 |
| 1044 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1045 |
#: of calibre.customize.conversion.InputFormatPlugin.get_images:1 |
| 1046 |
msgid "" |
| 1047 |
"Return a list of absolute paths to the images, if this input plugin " |
| 1048 |
"represents an image collection. The list of images is in the same order as " |
| 1049 |
"the spine and the TOC." |
| 1050 |
msgstr "" |
| 1051 |
|
| 1052 |
# 1e2d33e61932493bb487949ab5d8cd6a |
| 1053 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1054 |
#: of calibre.customize.conversion.InputFormatPlugin.convert:1 |
| 1055 |
msgid "" |
| 1056 |
"This method must be implemented in sub-classes. It must return the path to " |
| 1057 |
"the created OPF file or an :class:`OEBBook` instance. All output should be " |
| 1058 |
"contained in the current directory. If this plugin creates files outside the" |
| 1059 |
" current directory they must be deleted/marked for deletion before this " |
| 1060 |
"method returns." |
| 1061 |
msgstr "" |
| 1062 |
|
| 1063 |
# 9098eef33f6343a087de6c6558715d07 |
| 1064 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1065 |
#: of calibre.customize.conversion.InputFormatPlugin.convert:8 |
| 1066 |
msgid "A file like object that contains the input file." |
| 1067 |
msgstr "" |
| 1068 |
|
| 1069 |
# 050e581453e14cf3965f38684225e4c4 |
| 1070 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1071 |
#: of calibre.customize.conversion.InputFormatPlugin.convert:9 |
| 1072 |
msgid "" |
| 1073 |
"Options to customize the conversion process. Guaranteed to have attributes " |
| 1074 |
"corresponding to all the options declared by this plugin. In addition, it " |
| 1075 |
"will have a verbose attribute that takes integral values from zero upwards. " |
| 1076 |
"Higher numbers mean be more verbose. Another useful attribute is " |
| 1077 |
"``input_profile`` that is an instance of " |
| 1078 |
":class:`calibre.customize.profiles.InputProfile`." |
| 1079 |
msgstr "" |
| 1080 |
|
| 1081 |
# 9a75071659ac4dca99082d9057f533f0 |
| 1082 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1083 |
#: of calibre.customize.conversion.InputFormatPlugin.convert:17 |
| 1084 |
msgid "" |
| 1085 |
"The extension (without the .) of the input file. It is guaranteed to be one " |
| 1086 |
"of the `file_types` supported by this plugin." |
| 1087 |
msgstr "" |
| 1088 |
|
| 1089 |
# 7b0c87d354ac4deaa3ab53bf77fd5423 |
| 1090 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1091 |
#: of calibre.customize.conversion.InputFormatPlugin.convert:20 |
| 1092 |
msgid "" |
| 1093 |
"A :class:`calibre.utils.logging.Log` object. All output should use this " |
| 1094 |
"object." |
| 1095 |
msgstr "" |
| 1096 |
|
| 1097 |
# fcc7d1791a554a38a1506d04e5a9e2ec |
| 1098 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1099 |
#: of calibre.customize.conversion.InputFormatPlugin.convert:22 |
| 1100 |
msgid "" |
| 1101 |
"A dictionary of various information that the input plugin can get easily " |
| 1102 |
"that would speed up the subsequent stages of the conversion." |
| 1103 |
msgstr "" |
| 1104 |
|
| 1105 |
# d1210178eecb4ce99ddf81c4f63ec8ae |
| 1106 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1107 |
#: of calibre.customize.conversion.InputFormatPlugin.postprocess_book:1 |
| 1108 |
msgid "" |
| 1109 |
"Called to allow the input plugin to perform postprocessing after the book " |
| 1110 |
"has been parsed." |
| 1111 |
msgstr "" |
| 1112 |
|
| 1113 |
# 678dd46f927149b895fcbe9b1aeba401 |
| 1114 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1115 |
#: of calibre.customize.conversion.InputFormatPlugin.specialize:1 |
| 1116 |
msgid "" |
| 1117 |
"Called to allow the input plugin to specialize the parsed book for a " |
| 1118 |
"particular output format. Called after postprocess_book and before any " |
| 1119 |
"transforms are performed on the parsed book." |
| 1120 |
msgstr "" |
| 1121 |
|
| 1122 |
# 3a9effe2de144b4c96d9d0387d542333 |
| 1123 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1124 |
#: of |
| 1125 |
#: calibre.customize.conversion.InputFormatPlugin.gui_configuration_widget:1 |
| 1126 |
msgid "" |
| 1127 |
"Called to create the widget used for configuring this plugin in the calibre " |
| 1128 |
"GUI. The widget must be an instance of the PluginWidget class. See the " |
| 1129 |
"builting input plugins for examples." |
| 1130 |
msgstr "" |
| 1131 |
|
| 1132 |
# 8aa8d2df9bf0451290b48b871026793f |
| 1133 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1134 |
#: of calibre.customize.conversion.OutputFormatPlugin:1 |
| 1135 |
msgid "" |
| 1136 |
"OutputFormatPlugins are responsible for converting an OEB document " |
| 1137 |
"(OPF+HTML) into an output ebook." |
| 1138 |
msgstr "" |
| 1139 |
|
| 1140 |
# 426e8cd2a39f407d87a0d0f6f50979cd |
| 1141 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1142 |
#: of calibre.customize.conversion.OutputFormatPlugin:4 |
| 1143 |
msgid "" |
| 1144 |
"The OEB document can be assumed to be encoded in UTF-8. The main action " |
| 1145 |
"happens in :meth:`convert`." |
| 1146 |
msgstr "" |
| 1147 |
|
| 1148 |
# e904d17955cd4f6793d02252042e1099 |
| 1149 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1150 |
#: of calibre.customize.conversion.OutputFormatPlugin.file_type:1 |
| 1151 |
msgid "" |
| 1152 |
"The file type (extension without leading period) that this plugin outputs" |
| 1153 |
msgstr "" |
| 1154 |
|
| 1155 |
# 6b39e2dce40a4a999d7b0e388cd9b629 |
| 1156 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1157 |
#: of calibre.customize.conversion.OutputFormatPlugin.convert:1 |
| 1158 |
msgid "" |
| 1159 |
"Render the contents of `oeb_book` (which is an instance of " |
| 1160 |
":class:`calibre.ebooks.oeb.OEBBook` to the file specified by output." |
| 1161 |
msgstr "" |
| 1162 |
|
| 1163 |
# 683d0de146e94eb3bd8fd94557ab2980 |
| 1164 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1165 |
#: of calibre.customize.conversion.OutputFormatPlugin.convert:4 |
| 1166 |
msgid "" |
| 1167 |
"Either a file like object or a string. If it is a string it is the path to a" |
| 1168 |
" directory that may or may not exist. The output plugin should write its " |
| 1169 |
"output into that directory. If it is a file like object, the output plugin " |
| 1170 |
"should write its output into the file." |
| 1171 |
msgstr "" |
| 1172 |
|
| 1173 |
# 3dc508cc8dd7491a9f1f5a6cca97b8d0 |
| 1174 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1175 |
#: of calibre.customize.conversion.OutputFormatPlugin.convert:8 |
| 1176 |
msgid "" |
| 1177 |
"The input plugin that was used at the beginning of the conversion pipeline." |
| 1178 |
msgstr "" |
| 1179 |
|
| 1180 |
# f6cff173c73f441ebd20d4b004df85bc |
| 1181 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1182 |
#: of calibre.customize.conversion.OutputFormatPlugin.convert:10 |
| 1183 |
msgid "" |
| 1184 |
"Conversion options. Guaranteed to have attributes corresponding to the " |
| 1185 |
"OptionRecommendations of this plugin." |
| 1186 |
msgstr "" |
| 1187 |
|
| 1188 |
# 201c07205db747c3b53b4d1c381df45e |
| 1189 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1190 |
#: of calibre.customize.conversion.OutputFormatPlugin.convert:12 |
| 1191 |
msgid "The logger. Print debug/info messages etc. using this." |
| 1192 |
msgstr "" |
| 1193 |
|
| 1194 |
# cbab30fbe7b1466d8fed204eea316e27 |
| 1195 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1196 |
#: of |
| 1197 |
#: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:1 |
| 1198 |
msgid "" |
| 1199 |
"Can be used to make changes to the css during the CSS flattening process." |
| 1200 |
msgstr "" |
| 1201 |
|
| 1202 |
# 610122f02d48433b9b249f45385fe26c |
| 1203 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1204 |
#: of |
| 1205 |
#: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:4 |
| 1206 |
msgid "The item (HTML file) being processed" |
| 1207 |
msgstr "" |
| 1208 |
|
| 1209 |
# 2f2d6c0705f349fd9b1aa868abde8230 |
| 1210 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1211 |
#: of |
| 1212 |
#: calibre.customize.conversion.OutputFormatPlugin.specialize_css_for_output:5 |
| 1213 |
msgid "" |
| 1214 |
"A Stylizer object containing the flattened styles for item. You can get the " |
| 1215 |
"style for any element by stylizer.style(element)." |
| 1216 |
msgstr "" |
| 1217 |
|
| 1218 |
# e897831d86ca4868a0bb6844e51e6d8b |
| 1219 |
#: ../../home/kovid/work/calibre/src/calibre/customize/conversion.pydocstring |
| 1220 |
#: of |
| 1221 |
#: calibre.customize.conversion.OutputFormatPlugin.gui_configuration_widget:1 |
| 1222 |
msgid "" |
| 1223 |
"Called to create the widget used for configuring this plugin in the calibre " |
| 1224 |
"GUI. The widget must be an instance of the PluginWidget class. See the " |
| 1225 |
"builtin output plugins for examples." |
| 1226 |
msgstr "" |
| 1227 |
|
| 1228 |
# 7da618c61d114d56ad0098468d792496 |
| 1229 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:91 |
| 1230 |
msgid "Device Drivers" |
| 1231 |
msgstr "" |
| 1232 |
|
| 1233 |
# c3dcc8e057fe4a07bdc3d14432cb1820 |
| 1234 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:95 |
| 1235 |
msgid "" |
| 1236 |
"The base class for all device drivers is :class:`DevicePlugin`. However, if " |
| 1237 |
"your device exposes itself as a USBMS drive to the operating system, you " |
| 1238 |
"should use the USBMS class instead as it implements all the logic needed to " |
| 1239 |
"support these kinds of devices." |
| 1240 |
msgstr "" |
| 1241 |
|
| 1242 |
# e136bcb025b04bffacf9c0bee7bc7ede |
| 1243 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1244 |
#: calibre.devices.interface.DevicePlugin:1 |
| 1245 |
msgid "" |
| 1246 |
"Defines the interface that should be implemented by backends that " |
| 1247 |
"communicate with an ebook reader." |
| 1248 |
msgstr "" |
| 1249 |
|
| 1250 |
# b3f381c0c8b5408c9959fd03e2cd80c8 |
| 1251 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1252 |
#: calibre.devices.interface.DevicePlugin.FORMATS:1 |
| 1253 |
msgid "Ordered list of supported formats" |
| 1254 |
msgstr "" |
| 1255 |
|
| 1256 |
# 027795ec94f0405ea63ec587e46f2b9a |
| 1257 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1258 |
#: calibre.devices.interface.DevicePlugin.VENDOR_ID:1 |
| 1259 |
msgid "" |
| 1260 |
"VENDOR_ID can be either an integer, a list of integers or a dictionary If it" |
| 1261 |
" is a dictionary, it must be a dictionary of dictionaries, of the form::" |
| 1262 |
msgstr "" |
| 1263 |
|
| 1264 |
# c5717d846b974f7fb9a1ae83c17ab643 |
| 1265 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1266 |
#: calibre.devices.interface.DevicePlugin.PRODUCT_ID:1 |
| 1267 |
msgid "An integer or a list of integers" |
| 1268 |
msgstr "" |
| 1269 |
|
| 1270 |
# 9780e022bee14c189a960446e985cb06 |
| 1271 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1272 |
#: calibre.devices.interface.DevicePlugin.BCD:1 |
| 1273 |
msgid "" |
| 1274 |
"BCD can be either None to not distinguish between devices based on BCD, or " |
| 1275 |
"it can be a list of the BCD numbers of all devices supported by this driver." |
| 1276 |
msgstr "" |
| 1277 |
|
| 1278 |
# af93de78eee946fabd749e05182d72e2 |
| 1279 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1280 |
#: calibre.devices.interface.DevicePlugin.THUMBNAIL_HEIGHT:1 |
| 1281 |
msgid "Height for thumbnails on the device" |
| 1282 |
msgstr "" |
| 1283 |
|
| 1284 |
# 308600246e2b4b9b8b061df073e53876 |
| 1285 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1286 |
#: calibre.devices.interface.DevicePlugin.THUMBNAIL_COMPRESSION_QUALITY:1 |
| 1287 |
msgid "" |
| 1288 |
"Width for thumbnails on the device. Setting this will force thumbnails to " |
| 1289 |
"this size, not preserving aspect ratio. If it is not set, then the aspect " |
| 1290 |
"ratio will be preserved and the thumbnail will be no higher than " |
| 1291 |
"THUMBNAIL_HEIGHT Compression quality for thumbnails. Set this closer to 100 " |
| 1292 |
"to have better quality thumbnails with fewer compression artifacts. Of " |
| 1293 |
"course, the thumbnails get larger as well." |
| 1294 |
msgstr "" |
| 1295 |
|
| 1296 |
# 366087e20e3a4947aefc251a424e1682 |
| 1297 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1298 |
#: calibre.devices.interface.DevicePlugin.WANTS_UPDATED_THUMBNAILS:1 |
| 1299 |
msgid "" |
| 1300 |
"Set this to True if the device supports updating cover thumbnails during " |
| 1301 |
"sync_booklists. Setting it to true will ask device.py to refresh the cover " |
| 1302 |
"thumbnails during book matching" |
| 1303 |
msgstr "" |
| 1304 |
|
| 1305 |
# 59f4c7fa7b9e47d6831fd60424d9e688 |
| 1306 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1307 |
#: calibre.devices.interface.DevicePlugin.CAN_SET_METADATA:1 |
| 1308 |
msgid "Whether the metadata on books can be set via the GUI." |
| 1309 |
msgstr "" |
| 1310 |
|
| 1311 |
# 8d19e96a1a7143078811a4934b86e534 |
| 1312 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1313 |
#: calibre.devices.interface.DevicePlugin.CAN_DO_DEVICE_DB_PLUGBOARD:1 |
| 1314 |
msgid "Whether the device can handle device_db metadata plugboards" |
| 1315 |
msgstr "" |
| 1316 |
|
| 1317 |
# ae7e1bf9a8384fe4b69efdc8d9ea53e6 |
| 1318 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1319 |
#: calibre.devices.interface.DevicePlugin.path_sep:1 |
| 1320 |
msgid "Path separator for paths to books on device" |
| 1321 |
msgstr "" |
| 1322 |
|
| 1323 |
# 2848320abbbd4685b268ee5c31f4d3ca |
| 1324 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1325 |
#: calibre.devices.interface.DevicePlugin.icon:1 |
| 1326 |
msgid "Icon for this device" |
| 1327 |
msgstr "" |
| 1328 |
|
| 1329 |
# 686f3c5e179d4af79325888adf4a53e7 |
| 1330 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1331 |
#: calibre.devices.interface.DevicePlugin.OPEN_FEEDBACK_MESSAGE:1 |
| 1332 |
msgid "" |
| 1333 |
"GUI displays this as a message if not None. Useful if opening can take a " |
| 1334 |
"long time" |
| 1335 |
msgstr "" |
| 1336 |
|
| 1337 |
# c0160c99de0d442891f1edb19dbbb419 |
| 1338 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1339 |
#: calibre.devices.interface.DevicePlugin.VIRTUAL_BOOK_EXTENSIONS:1 |
| 1340 |
msgid "" |
| 1341 |
"Set of extensions that are \"virtual books\" on the device and therefore " |
| 1342 |
"cannot be viewed/saved/added to library For example: ``frozenset(['kobo'])``" |
| 1343 |
msgstr "" |
| 1344 |
|
| 1345 |
# 24138ab9cc8b426a90e164dc8049d1f1 |
| 1346 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1347 |
#: calibre.devices.interface.DevicePlugin.NUKE_COMMENTS:1 |
| 1348 |
msgid "" |
| 1349 |
"Whether to nuke comments in the copy of the book sent to the device. If not " |
| 1350 |
"None this should be short string that the comments will be replaced by." |
| 1351 |
msgstr "" |
| 1352 |
|
| 1353 |
# d98e17560e9b4839a77e41622be7cb1e |
| 1354 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1355 |
#: calibre.devices.interface.DevicePlugin.MANAGES_DEVICE_PRESENCE:1 |
| 1356 |
msgid "" |
| 1357 |
"If True indicates that this driver completely manages device detection, " |
| 1358 |
"ejecting and so forth. If you set this to True, you *must* implement the " |
| 1359 |
"detect_managed_devices and debug_managed_device_detection methods. A driver " |
| 1360 |
"with this set to true is responsible for detection of devices, managing a " |
| 1361 |
"blacklist of devices, a list of ejected devices and so forth. calibre will " |
| 1362 |
"periodically call the detect_managed_devices() method and is it returns a " |
| 1363 |
"detected device, calibre will call open(). open() will be called every time " |
| 1364 |
"a device is returned even is previous calls to open() failed, therefore the " |
| 1365 |
"driver must maintain its own blacklist of failed devices. Similarly, when " |
| 1366 |
"ejecting, calibre will call eject() and then assuming the next call to " |
| 1367 |
"detect_managed_devices() returns None, it will call post_yank_cleanup()." |
| 1368 |
msgstr "" |
| 1369 |
|
| 1370 |
# 85ab3c01669c4bfbb078f7ef520b3da4 |
| 1371 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1372 |
#: calibre.devices.interface.DevicePlugin.SLOW_DRIVEINFO:1 |
| 1373 |
msgid "" |
| 1374 |
"If set the True, calibre will call the :meth:`get_driveinfo()` method after " |
| 1375 |
"the books lists have been loaded to get the driveinfo." |
| 1376 |
msgstr "" |
| 1377 |
|
| 1378 |
# 92cce7dd93664cb197a0d9b0f7800cb9 |
| 1379 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1380 |
#: calibre.devices.interface.DevicePlugin.ASK_TO_ALLOW_CONNECT:1 |
| 1381 |
msgid "" |
| 1382 |
"If set to True, calibre will ask the user if they want to manage the device " |
| 1383 |
"with calibre, the first time it is detected. If you set this to True you " |
| 1384 |
"must implement :meth:`get_device_uid()` and " |
| 1385 |
":meth:`ignore_connected_device()` and :meth:`get_user_blacklisted_devices` " |
| 1386 |
"and :meth:`set_user_blacklisted_devices`" |
| 1387 |
msgstr "" |
| 1388 |
|
| 1389 |
# c02723d96954480c9399ea1fed41793f |
| 1390 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1391 |
#: calibre.devices.interface.DevicePlugin.user_feedback_after_callback:1 |
| 1392 |
msgid "" |
| 1393 |
"Set this to a dictionary of the form {'title':title, 'msg':msg, " |
| 1394 |
"'det_msg':detailed_msg} to have calibre popup a message to the user after " |
| 1395 |
"some callbacks are run (currently only upload_books). Be careful to not spam" |
| 1396 |
" the user with too many messages. This variable is checked after *every* " |
| 1397 |
"callback, so only set it when you really need to." |
| 1398 |
msgstr "" |
| 1399 |
|
| 1400 |
# d9c908308c8b477f9ee95b1e0749410e |
| 1401 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1402 |
#: calibre.devices.interface.DevicePlugin.is_usb_connected:1 |
| 1403 |
msgid "" |
| 1404 |
"Return True, device_info if a device handled by this plugin is currently " |
| 1405 |
"connected." |
| 1406 |
msgstr "" |
| 1407 |
|
| 1408 |
# 096a7f1e615f4563acc3cfca8f343f90 |
| 1409 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1410 |
#: calibre.devices.interface.DevicePlugin.is_usb_connected:3 |
| 1411 |
msgid "List of devices currently connected" |
| 1412 |
msgstr "" |
| 1413 |
|
| 1414 |
# 103ddf2bbb6147a99d2da465e4e7d004 |
| 1415 |
# 3e0b4e38b7fd42a4a1dbd15c401e9dd0 |
| 1416 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1417 |
#: calibre.devices.interface.DevicePlugin.detect_managed_devices:1 |
| 1418 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1419 |
#: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:1 |
| 1420 |
msgid "Called only if MANAGES_DEVICE_PRESENCE is True." |
| 1421 |
msgstr "" |
| 1422 |
|
| 1423 |
# e16341e7f199468bb131bc8f8e75f9a0 |
| 1424 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1425 |
#: calibre.devices.interface.DevicePlugin.detect_managed_devices:3 |
| 1426 |
msgid "" |
| 1427 |
"Scan for devices that this driver can handle. Should return a device object " |
| 1428 |
"if a device is found. This object will be passed to the open() method as the" |
| 1429 |
" connected_device. If no device is found, return None. The returned object " |
| 1430 |
"can be anything, calibre does not use it, it is only passed to open()." |
| 1431 |
msgstr "" |
| 1432 |
|
| 1433 |
# 32b493c9abe646e9be7fccdd480403d9 |
| 1434 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1435 |
#: calibre.devices.interface.DevicePlugin.detect_managed_devices:9 |
| 1436 |
msgid "" |
| 1437 |
"This method is called periodically by the GUI, so make sure it is not too " |
| 1438 |
"resource intensive. Use a cache to avoid repeatedly scanning the system." |
| 1439 |
msgstr "" |
| 1440 |
|
| 1441 |
# c2719544b5a047e58286728fde0e2edf |
| 1442 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1443 |
#: calibre.devices.interface.DevicePlugin.detect_managed_devices:13 |
| 1444 |
msgid "Set of USB devices found on the system." |
| 1445 |
msgstr "" |
| 1446 |
|
| 1447 |
# b09633671f1f40519dcd17242859f1cf |
| 1448 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1449 |
#: calibre.devices.interface.DevicePlugin.detect_managed_devices:15 |
| 1450 |
msgid "" |
| 1451 |
"If True and the driver uses a cache to prevent repeated scanning, the cache " |
| 1452 |
"must be flushed." |
| 1453 |
msgstr "" |
| 1454 |
|
| 1455 |
# c927402a076d4c14b6dedc3622850de8 |
| 1456 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1457 |
#: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:3 |
| 1458 |
msgid "" |
| 1459 |
"Should write information about the devices detected on the system to output," |
| 1460 |
" which is a file like object." |
| 1461 |
msgstr "" |
| 1462 |
|
| 1463 |
# fe293032adf846e4a90e619e6f52bdd0 |
| 1464 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1465 |
#: calibre.devices.interface.DevicePlugin.debug_managed_device_detection:6 |
| 1466 |
msgid "" |
| 1467 |
"Should return True if a device was detected and successfully opened, " |
| 1468 |
"otherwise False." |
| 1469 |
msgstr "" |
| 1470 |
|
| 1471 |
# e18e1ba5c31643c1afa9c776289e55e0 |
| 1472 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1473 |
#: calibre.devices.interface.DevicePlugin.reset:1 |
| 1474 |
msgid "The key to unlock the device" |
| 1475 |
msgstr "" |
| 1476 |
|
| 1477 |
# af7ad6e7eed64d8ebf0fac6e878fc245 |
| 1478 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1479 |
#: calibre.devices.interface.DevicePlugin.reset:2 |
| 1480 |
msgid "If true the packet stream to/from the device is logged" |
| 1481 |
msgstr "" |
| 1482 |
|
| 1483 |
# ae5e7dec2b25491e8c5f840effbd50b9 |
| 1484 |
# 1602941972fe4ce59ad806e8148488d8 |
| 1485 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1486 |
#: calibre.devices.interface.DevicePlugin.reset:3 |
| 1487 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1488 |
#: calibre.devices.interface.DevicePlugin.set_progress_reporter:3 |
| 1489 |
msgid "" |
| 1490 |
"Function that is called with a % progress (number between 0 and 100) for " |
| 1491 |
"various tasks If it is called with -1 that means that the task does not have" |
| 1492 |
" any progress information" |
| 1493 |
msgstr "" |
| 1494 |
|
| 1495 |
# bfd66b876fbc4709ab317d2dd4c8e4ec |
| 1496 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1497 |
#: calibre.devices.interface.DevicePlugin.reset:7 |
| 1498 |
msgid "Device information from the device scanner" |
| 1499 |
msgstr "" |
| 1500 |
|
| 1501 |
# b701fe1bf5214467b87d503bf51e9411 |
| 1502 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1503 |
#: calibre.devices.interface.DevicePlugin.can_handle_windows:1 |
| 1504 |
msgid "" |
| 1505 |
"Optional method to perform further checks on a device to see if this driver " |
| 1506 |
"is capable of handling it. If it is not it should return False. This method " |
| 1507 |
"is only called after the vendor, product ids and the bcd have matched, so it" |
| 1508 |
" can do some relatively time intensive checks. The default implementation " |
| 1509 |
"returns True. This method is called only on windows. See also " |
| 1510 |
":meth:`can_handle`." |
| 1511 |
msgstr "" |
| 1512 |
|
| 1513 |
# bd38f4bbbb78495fb79767ce6ec4e62d |
| 1514 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1515 |
#: calibre.devices.interface.DevicePlugin.can_handle_windows:8 |
| 1516 |
msgid "" |
| 1517 |
"On windows a device ID string. On Unix a tuple of ``(vendor_id, product_id, " |
| 1518 |
"bcd)``." |
| 1519 |
msgstr "" |
| 1520 |
|
| 1521 |
# 949aa5380f9a4eaf90633bde229a4a10 |
| 1522 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1523 |
#: calibre.devices.interface.DevicePlugin.can_handle:1 |
| 1524 |
msgid "Unix version of :meth:`can_handle_windows`" |
| 1525 |
msgstr "" |
| 1526 |
|
| 1527 |
# 9f8a360cfe394a988624d878dae28440 |
| 1528 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1529 |
#: calibre.devices.interface.DevicePlugin.can_handle:3 |
| 1530 |
msgid "Is a tuple of (vid, pid, bcd, manufacturer, product, serial number)" |
| 1531 |
msgstr "" |
| 1532 |
|
| 1533 |
# 039123d6cbcf4dee8ca8f236f8b7187d |
| 1534 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1535 |
#: calibre.devices.interface.DevicePlugin.open:1 |
| 1536 |
msgid "" |
| 1537 |
"Perform any device specific initialization. Called after the device is " |
| 1538 |
"detected but before any other functions that communicate with the device. " |
| 1539 |
"For example: For devices that present themselves as USB Mass storage " |
| 1540 |
"devices, this method would be responsible for mounting the device or if the " |
| 1541 |
"device has been automounted, for finding out where it has been mounted. The " |
| 1542 |
"method :meth:`calibre.devices.usbms.device.Device.open` has an " |
| 1543 |
"implementation of this function that should serve as a good example for USB " |
| 1544 |
"Mass storage devices." |
| 1545 |
msgstr "" |
| 1546 |
|
| 1547 |
# 121c7b6e5cfa43dc93e1cc6c5e3cc24d |
| 1548 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1549 |
#: calibre.devices.interface.DevicePlugin.open:11 |
| 1550 |
msgid "" |
| 1551 |
"This method can raise an OpenFeedback exception to display a message to the " |
| 1552 |
"user." |
| 1553 |
msgstr "" |
| 1554 |
|
| 1555 |
# 7bf0e5ab04374c91b2ab67f5feac3a93 |
| 1556 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1557 |
#: calibre.devices.interface.DevicePlugin.open:14 |
| 1558 |
msgid "" |
| 1559 |
"The device that we are trying to open. It is a tuple of (vendor id, product " |
| 1560 |
"id, bcd, manufacturer name, product name, device serial number). However, " |
| 1561 |
"some devices have no serial number and on windows only the first three " |
| 1562 |
"fields are present, the rest are None." |
| 1563 |
msgstr "" |
| 1564 |
|
| 1565 |
# f461b84265504838b37fb42b8a705a4f |
| 1566 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1567 |
#: calibre.devices.interface.DevicePlugin.open:20 |
| 1568 |
msgid "" |
| 1569 |
"The UUID of the current calibre library. Can be None if there is no library " |
| 1570 |
"(for example when used from the command line)." |
| 1571 |
msgstr "" |
| 1572 |
|
| 1573 |
# 7f726f0887264c699468b327f4c5bf02 |
| 1574 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1575 |
#: calibre.devices.interface.DevicePlugin.eject:1 |
| 1576 |
msgid "" |
| 1577 |
"Un-mount / eject the device from the OS. This does not check if there are " |
| 1578 |
"pending GUI jobs that need to communicate with the device." |
| 1579 |
msgstr "" |
| 1580 |
|
| 1581 |
# 48a7e25e4a854bad84b99af6e321a15c |
| 1582 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1583 |
#: calibre.devices.interface.DevicePlugin.eject:4 |
| 1584 |
msgid "" |
| 1585 |
"NOTE: That this method may not be called on the same thread as the rest of " |
| 1586 |
"the device methods." |
| 1587 |
msgstr "" |
| 1588 |
|
| 1589 |
# c4be1959ee534733a447b95b0eb665ca |
| 1590 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1591 |
#: calibre.devices.interface.DevicePlugin.post_yank_cleanup:1 |
| 1592 |
msgid "Called if the user yanks the device without ejecting it first." |
| 1593 |
msgstr "" |
| 1594 |
|
| 1595 |
# 2cd687b006d6466a92e990d791c79079 |
| 1596 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1597 |
#: calibre.devices.interface.DevicePlugin.set_progress_reporter:1 |
| 1598 |
msgid "Set a function to report progress information." |
| 1599 |
msgstr "" |
| 1600 |
|
| 1601 |
# 11f15f421a1e4bce9f1879f354888d56 |
| 1602 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1603 |
#: calibre.devices.interface.DevicePlugin.get_device_information:1 |
| 1604 |
msgid "Ask device for device information. See L{DeviceInfoQuery}." |
| 1605 |
msgstr "" |
| 1606 |
|
| 1607 |
# 0fedb97c1c3e46d8891a1df15a7e0768 |
| 1608 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1609 |
#: calibre.devices.interface.DevicePlugin.get_device_information:3 |
| 1610 |
msgid "" |
| 1611 |
"(device name, device version, software version on device, mime type) The " |
| 1612 |
"tuple can optionally have a fifth element, which is a drive information " |
| 1613 |
"dictionary. See usbms.driver for an example." |
| 1614 |
msgstr "" |
| 1615 |
|
| 1616 |
# 2248cb0cc6404681a0b90090c9607c62 |
| 1617 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1618 |
#: calibre.devices.interface.DevicePlugin.get_driveinfo:1 |
| 1619 |
msgid "" |
| 1620 |
"Return the driveinfo dictionary. Usually called from " |
| 1621 |
"get_device_information(), but if loading the driveinfo is slow for this " |
| 1622 |
"driver, then it should set SLOW_DRIVEINFO. In this case, this method will be" |
| 1623 |
" called by calibre after the book lists have been loaded. Note that it is " |
| 1624 |
"not called on the device thread, so the driver should cache the drive info " |
| 1625 |
"in the books() method and this function should return the cached data." |
| 1626 |
msgstr "" |
| 1627 |
|
| 1628 |
# 9cc838176ac84036abb1116c5f32148e |
| 1629 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1630 |
#: calibre.devices.interface.DevicePlugin.card_prefix:1 |
| 1631 |
msgid "" |
| 1632 |
"Return a 2 element list of the prefix to paths on the cards. If no card is " |
| 1633 |
"present None is set for the card's prefix. E.G. ('/place', '/place2') (None," |
| 1634 |
" 'place2') ('place', None) (None, None)" |
| 1635 |
msgstr "" |
| 1636 |
|
| 1637 |
# f8e4846ad693401587fb8dcf9f7b303e |
| 1638 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1639 |
#: calibre.devices.interface.DevicePlugin.total_space:4 |
| 1640 |
msgid "Get total space available on the mountpoints:" |
| 1641 |
msgstr "" |
| 1642 |
|
| 1643 |
# 9584a050710046dc9224ffc849f87194 |
| 1644 |
# f3ed3a7c61cb4d46bfa34bc25f5f4066 |
| 1645 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1646 |
#: calibre.devices.interface.DevicePlugin.total_space:2 |
| 1647 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1648 |
#: calibre.devices.interface.DevicePlugin.free_space:2 |
| 1649 |
msgid "Main memory" |
| 1650 |
msgstr "" |
| 1651 |
|
| 1652 |
# 804c70d0485945939c825912cdb109aa |
| 1653 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1654 |
#: calibre.devices.interface.DevicePlugin.total_space:3 |
| 1655 |
msgid "Memory Card A" |
| 1656 |
msgstr "" |
| 1657 |
|
| 1658 |
# 558886b2fcd143d3a938ef091180d390 |
| 1659 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1660 |
#: calibre.devices.interface.DevicePlugin.total_space:4 |
| 1661 |
msgid "Memory Card B" |
| 1662 |
msgstr "" |
| 1663 |
|
| 1664 |
# d53fbde484fa4773a2dc21f5556c077e |
| 1665 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1666 |
#: calibre.devices.interface.DevicePlugin.total_space:6 |
| 1667 |
msgid "" |
| 1668 |
"A 3 element list with total space in bytes of (1, 2, 3). If a particular " |
| 1669 |
"device doesn't have any of these locations it should return 0." |
| 1670 |
msgstr "" |
| 1671 |
|
| 1672 |
# 675f6c0cb7b4402fa67348efc012273b |
| 1673 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1674 |
#: calibre.devices.interface.DevicePlugin.free_space:4 |
| 1675 |
msgid "Get free space available on the mountpoints:" |
| 1676 |
msgstr "" |
| 1677 |
|
| 1678 |
# 4d5a225e5ab340a693e02d320dd18e3f |
| 1679 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1680 |
#: calibre.devices.interface.DevicePlugin.free_space:3 |
| 1681 |
msgid "Card A" |
| 1682 |
msgstr "" |
| 1683 |
|
| 1684 |
# 705619e5eebc4740aa2e63ef3852abce |
| 1685 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1686 |
#: calibre.devices.interface.DevicePlugin.free_space:4 |
| 1687 |
msgid "Card B" |
| 1688 |
msgstr "" |
| 1689 |
|
| 1690 |
# 976a82846ba545b6a2b4f86afd04da77 |
| 1691 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1692 |
#: calibre.devices.interface.DevicePlugin.free_space:6 |
| 1693 |
msgid "" |
| 1694 |
"A 3 element list with free space in bytes of (1, 2, 3). If a particular " |
| 1695 |
"device doesn't have any of these locations it should return -1." |
| 1696 |
msgstr "" |
| 1697 |
|
| 1698 |
# 093cf800ee9e462b818f1e0c2851ec98 |
| 1699 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1700 |
#: calibre.devices.interface.DevicePlugin.books:1 |
| 1701 |
msgid "Return a list of ebooks on the device." |
| 1702 |
msgstr "" |
| 1703 |
|
| 1704 |
# 2af19d4348b248beaddcddf5a30c4c6c |
| 1705 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1706 |
#: calibre.devices.interface.DevicePlugin.books:3 |
| 1707 |
msgid "" |
| 1708 |
"If 'carda' or 'cardb' return a list of ebooks on the specific storage card, " |
| 1709 |
"otherwise return list of ebooks in main memory of device. If a card is " |
| 1710 |
"specified and no books are on the card return empty list." |
| 1711 |
msgstr "" |
| 1712 |
|
| 1713 |
# db588162fa9d4e2090d9bf797f04681f |
| 1714 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1715 |
#: calibre.devices.interface.DevicePlugin.books:8 |
| 1716 |
msgid "A BookList." |
| 1717 |
msgstr "" |
| 1718 |
|
| 1719 |
# 873ddace812d48b582de4fac9a687533 |
| 1720 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1721 |
#: calibre.devices.interface.DevicePlugin.upload_books:1 |
| 1722 |
msgid "" |
| 1723 |
"Upload a list of books to the device. If a file already exists on the " |
| 1724 |
"device, it should be replaced. This method should raise a " |
| 1725 |
":class:`FreeSpaceError` if there is not enough free space on the device. The" |
| 1726 |
" text of the FreeSpaceError must contain the word \"card\" if ``on_card`` is" |
| 1727 |
" not None otherwise it must contain the word \"memory\"." |
| 1728 |
msgstr "" |
| 1729 |
|
| 1730 |
# c7eeeebd4cc84d97b78ea53d344b1f2a |
| 1731 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1732 |
#: calibre.devices.interface.DevicePlugin.upload_books:7 |
| 1733 |
msgid "A list of paths" |
| 1734 |
msgstr "" |
| 1735 |
|
| 1736 |
# db34ed0e831a4e888d43a2560295cae3 |
| 1737 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1738 |
#: calibre.devices.interface.DevicePlugin.upload_books:8 |
| 1739 |
msgid "" |
| 1740 |
"A list of file names that the books should have once uploaded to the device." |
| 1741 |
" len(names) == len(files)" |
| 1742 |
msgstr "" |
| 1743 |
|
| 1744 |
# ba204e8ec0b147919c8c6e27b8941da4 |
| 1745 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1746 |
#: calibre.devices.interface.DevicePlugin.upload_books:10 |
| 1747 |
msgid "" |
| 1748 |
"If not None, it is a list of :class:`Metadata` objects. The idea is to use " |
| 1749 |
"the metadata to determine where on the device to put the book. len(metadata)" |
| 1750 |
" == len(files). Apart from the regular cover (path to cover), there may also" |
| 1751 |
" be a thumbnail attribute, which should be used in preference. The thumbnail" |
| 1752 |
" attribute is of the form (width, height, cover_data as jpeg)." |
| 1753 |
msgstr "" |
| 1754 |
|
| 1755 |
# fb7e205b775c4e2581019a0580c30e79 |
| 1756 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1757 |
#: calibre.devices.interface.DevicePlugin.upload_books:17 |
| 1758 |
msgid "" |
| 1759 |
"A list of 3-element tuples. The list is meant to be passed to " |
| 1760 |
":meth:`add_books_to_metadata`." |
| 1761 |
msgstr "" |
| 1762 |
|
| 1763 |
# 73bc20b43d9f479eb649cc87a3f1410f |
| 1764 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1765 |
#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:1 |
| 1766 |
msgid "" |
| 1767 |
"Add locations to the booklists. This function must not communicate with the " |
| 1768 |
"device." |
| 1769 |
msgstr "" |
| 1770 |
|
| 1771 |
# 4decb5dabe314bb6b2eda6aacd64582f |
| 1772 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1773 |
#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:4 |
| 1774 |
msgid "Result of a call to L{upload_books}" |
| 1775 |
msgstr "" |
| 1776 |
|
| 1777 |
# 7a399096b1c84b1fa1859f94f56b98a0 |
| 1778 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1779 |
#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:5 |
| 1780 |
msgid "List of :class:`Metadata` objects, same as for :meth:`upload_books`." |
| 1781 |
msgstr "" |
| 1782 |
|
| 1783 |
# 122413ee68a748668426ddd20de50144 |
| 1784 |
# 0ac8097e19384a7694b568db05172653 |
| 1785 |
# abe5aeecdd634284b24cb8c195ee7060 |
| 1786 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1787 |
#: calibre.devices.interface.DevicePlugin.add_books_to_metadata:7 |
| 1788 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1789 |
#: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:5 |
| 1790 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1791 |
#: calibre.devices.interface.DevicePlugin.sync_booklists:3 |
| 1792 |
msgid "" |
| 1793 |
"A tuple containing the result of calls to (:meth:`books(oncard=None)`, " |
| 1794 |
":meth:`books(oncard='carda')`, :meth`books(oncard='cardb')`)." |
| 1795 |
msgstr "" |
| 1796 |
|
| 1797 |
# 19a79703f6b64be0b2373569ff5ff774 |
| 1798 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1799 |
#: calibre.devices.interface.DevicePlugin.delete_books:1 |
| 1800 |
msgid "Delete books at paths on device." |
| 1801 |
msgstr "" |
| 1802 |
|
| 1803 |
# 4167e1601c4c4a3cba0a1e8e3b50cc45 |
| 1804 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1805 |
#: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:1 |
| 1806 |
msgid "" |
| 1807 |
"Remove books from the metadata list. This function must not communicate with" |
| 1808 |
" the device." |
| 1809 |
msgstr "" |
| 1810 |
|
| 1811 |
# d369836db61041d9925da269059d9715 |
| 1812 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1813 |
#: calibre.devices.interface.DevicePlugin.remove_books_from_metadata:4 |
| 1814 |
msgid "paths to books on the device." |
| 1815 |
msgstr "" |
| 1816 |
|
| 1817 |
# e635fc2008d4403a8776bcc72627b6db |
| 1818 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1819 |
#: calibre.devices.interface.DevicePlugin.sync_booklists:1 |
| 1820 |
msgid "Update metadata on device." |
| 1821 |
msgstr "" |
| 1822 |
|
| 1823 |
# ab1340adba1b41988cf5474679fb2a15 |
| 1824 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1825 |
#: calibre.devices.interface.DevicePlugin.get_file:1 |
| 1826 |
msgid "Read the file at ``path`` on the device and write it to outfile." |
| 1827 |
msgstr "" |
| 1828 |
|
| 1829 |
# e2c213f499614c5fb7d964646e1c5afa |
| 1830 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1831 |
#: calibre.devices.interface.DevicePlugin.get_file:3 |
| 1832 |
msgid "file object like ``sys.stdout`` or the result of an :func:`open` call." |
| 1833 |
msgstr "" |
| 1834 |
|
| 1835 |
# a8c998d6e68c4be5a9690b3eba76581a |
| 1836 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1837 |
#: calibre.devices.interface.DevicePlugin.config_widget:1 |
| 1838 |
msgid "" |
| 1839 |
"Should return a QWidget. The QWidget contains the settings for the device " |
| 1840 |
"interface" |
| 1841 |
msgstr "" |
| 1842 |
|
| 1843 |
# 594d12aab6354bfb9a2bff93cbc54a2f |
| 1844 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1845 |
#: calibre.devices.interface.DevicePlugin.save_settings:1 |
| 1846 |
msgid "" |
| 1847 |
"Should save settings to disk. Takes the widget created in " |
| 1848 |
":meth:`config_widget` and saves all settings to disk." |
| 1849 |
msgstr "" |
| 1850 |
|
| 1851 |
# e6f6bd73b731406fabd25762fc2cec6c |
| 1852 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1853 |
#: calibre.devices.interface.DevicePlugin.settings:1 |
| 1854 |
msgid "" |
| 1855 |
"Should return an opts object. The opts object should have at least one " |
| 1856 |
"attribute `format_map` which is an ordered list of formats for the device." |
| 1857 |
msgstr "" |
| 1858 |
|
| 1859 |
# 6f4250c8588f48989688cb5407e16011 |
| 1860 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1861 |
#: calibre.devices.interface.DevicePlugin.set_plugboards:1 |
| 1862 |
msgid "" |
| 1863 |
"provide the driver the current set of plugboards and a function to select a " |
| 1864 |
"specific plugboard. This method is called immediately before add_books and " |
| 1865 |
"sync_booklists." |
| 1866 |
msgstr "" |
| 1867 |
|
| 1868 |
# 3426d9e0fdf34bd8b2360424fe66eba6 |
| 1869 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1870 |
#: calibre.devices.interface.DevicePlugin.set_plugboards:6 |
| 1871 |
msgid "pb_func is a callable with the following signature::" |
| 1872 |
msgstr "" |
| 1873 |
|
| 1874 |
# 84026aefc6f442d79df9c7256732d2ad |
| 1875 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1876 |
#: calibre.devices.interface.DevicePlugin.set_plugboards:6 |
| 1877 |
msgid "def pb_func(device_name, format, plugboards)" |
| 1878 |
msgstr "" |
| 1879 |
|
| 1880 |
# 222c833c1db140a79b37b31be1d3c63d |
| 1881 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1882 |
#: calibre.devices.interface.DevicePlugin.set_plugboards:8 |
| 1883 |
msgid "" |
| 1884 |
"You give it the current device name (either the class name or " |
| 1885 |
"DEVICE_PLUGBOARD_NAME), the format you are interested in (a 'real' format or" |
| 1886 |
" 'device_db'), and the plugboards (you were given those by set_plugboards, " |
| 1887 |
"the same place you got this method)." |
| 1888 |
msgstr "" |
| 1889 |
|
| 1890 |
# 4ecb4cdc826b4af8964231fc0e43f799 |
| 1891 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1892 |
#: calibre.devices.interface.DevicePlugin.set_plugboards:13 |
| 1893 |
msgid "None or a single plugboard instance." |
| 1894 |
msgstr "" |
| 1895 |
|
| 1896 |
# d3f40e2df8ee4ad08c6a6b84e6ca1735 |
| 1897 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1898 |
#: calibre.devices.interface.DevicePlugin.set_driveinfo_name:1 |
| 1899 |
msgid "" |
| 1900 |
"Set the device name in the driveinfo file to 'name'. This setting will " |
| 1901 |
"persist until the file is re-created or the name is changed again." |
| 1902 |
msgstr "" |
| 1903 |
|
| 1904 |
# d5a75ccf5fab46d0a52c027314283f57 |
| 1905 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1906 |
#: calibre.devices.interface.DevicePlugin.set_driveinfo_name:4 |
| 1907 |
msgid "" |
| 1908 |
"Non-disk devices should implement this method based on the location codes " |
| 1909 |
"returned by the get_device_information() method." |
| 1910 |
msgstr "" |
| 1911 |
|
| 1912 |
# 974edfb2f7fb4a2dac2e49352054293d |
| 1913 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1914 |
#: calibre.devices.interface.DevicePlugin.prepare_addable_books:1 |
| 1915 |
msgid "" |
| 1916 |
"Given a list of paths, returns another list of paths. These paths point to " |
| 1917 |
"addable versions of the books." |
| 1918 |
msgstr "" |
| 1919 |
|
| 1920 |
# 466e61e8707c4cbc9465a6326bb1d27e |
| 1921 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1922 |
#: calibre.devices.interface.DevicePlugin.prepare_addable_books:4 |
| 1923 |
msgid "" |
| 1924 |
"If there is an error preparing a book, then instead of a path, the position " |
| 1925 |
"in the returned list for that book should be a three tuple: (original_path, " |
| 1926 |
"the exception instance, traceback)" |
| 1927 |
msgstr "" |
| 1928 |
|
| 1929 |
# f7895ac56aaf47ba930db7249ce7978e |
| 1930 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1931 |
#: calibre.devices.interface.DevicePlugin.startup:1 |
| 1932 |
msgid "" |
| 1933 |
"Called when calibre is is starting the device. Do any initialization " |
| 1934 |
"required. Note that multiple instances of the class can be instantiated, and" |
| 1935 |
" thus __init__ can be called multiple times, but only one instance will have" |
| 1936 |
" this method called. This method is called on the device thread, not the GUI" |
| 1937 |
" thread." |
| 1938 |
msgstr "" |
| 1939 |
|
| 1940 |
# 995f18a0e3e3471381f2d42a0e4e106e |
| 1941 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1942 |
#: calibre.devices.interface.DevicePlugin.shutdown:1 |
| 1943 |
msgid "" |
| 1944 |
"Called when calibre is shutting down, either for good or in preparation to " |
| 1945 |
"restart. Do any cleanup required. This method is called on the device " |
| 1946 |
"thread, not the GUI thread." |
| 1947 |
msgstr "" |
| 1948 |
|
| 1949 |
# 409c9ddfd8824e1883b7ee3d2f8df3e1 |
| 1950 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1951 |
#: calibre.devices.interface.DevicePlugin.get_device_uid:1 |
| 1952 |
msgid "" |
| 1953 |
"Must return a unique id for the currently connected device (this is called " |
| 1954 |
"immediately after a successful call to open()). You must implement this " |
| 1955 |
"method if you set ASK_TO_ALLOW_CONNECT = True" |
| 1956 |
msgstr "" |
| 1957 |
|
| 1958 |
# ac840ffa2746488e91a0d94bbf2fbf07 |
| 1959 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1960 |
#: calibre.devices.interface.DevicePlugin.ignore_connected_device:1 |
| 1961 |
msgid "" |
| 1962 |
"Should ignore the device identified by uid (the result of a call to " |
| 1963 |
"get_device_uid()) in the future. You must implement this method if you set " |
| 1964 |
"ASK_TO_ALLOW_CONNECT = True. Note that this function is called immediately " |
| 1965 |
"after open(), so if open() caches some state, the driver should reset that " |
| 1966 |
"state." |
| 1967 |
msgstr "" |
| 1968 |
|
| 1969 |
# 5992ef3bf56549c6afb8ce1e984316bf |
| 1970 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1971 |
#: calibre.devices.interface.DevicePlugin.get_user_blacklisted_devices:1 |
| 1972 |
msgid "" |
| 1973 |
"Return map of device uid to friendly name for all devices that the user has " |
| 1974 |
"asked to be ignored." |
| 1975 |
msgstr "" |
| 1976 |
|
| 1977 |
# 74dbb201c78d4b9bb801d2692f33b773 |
| 1978 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1979 |
#: calibre.devices.interface.DevicePlugin.set_user_blacklisted_devices:1 |
| 1980 |
msgid "Set the list of device uids that should be ignored by this driver." |
| 1981 |
msgstr "" |
| 1982 |
|
| 1983 |
# 00717caf43e841099ef5e2b13921a786 |
| 1984 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1985 |
#: calibre.devices.interface.DevicePlugin.specialize_global_preferences:1 |
| 1986 |
msgid "" |
| 1987 |
"Implement this method if your device wants to override a particular " |
| 1988 |
"preference. You must ensure that all call sites that want a preference that " |
| 1989 |
"can be overridden use device_prefs['something'] instead of " |
| 1990 |
"prefs['something']. Your method should call " |
| 1991 |
"device_prefs.set_overrides(pref=val, pref=val, ...). Currently used for: " |
| 1992 |
"metadata management (prefs['manage_device_metadata'])" |
| 1993 |
msgstr "" |
| 1994 |
|
| 1995 |
# 84ead9aa8ff54464b6f9429054a3bb57 |
| 1996 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 1997 |
#: calibre.devices.interface.DevicePlugin.set_library_info:1 |
| 1998 |
msgid "" |
| 1999 |
"Implement this method if you want information about the current calibre " |
| 2000 |
"library. This method is called at startup and when the calibre library " |
| 2001 |
"changes while connected." |
| 2002 |
msgstr "" |
| 2003 |
|
| 2004 |
# 20cbf9ef90cb4f99bbd12a11b058324b |
| 2005 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2006 |
#: calibre.devices.interface.DevicePlugin.is_dynamically_controllable:1 |
| 2007 |
msgid "" |
| 2008 |
"Called by the device manager when starting plugins. If this method returns a" |
| 2009 |
" string, then a) it supports the device manager's dynamic control interface," |
| 2010 |
" and b) that name is to be used when talking to the plugin." |
| 2011 |
msgstr "" |
| 2012 |
|
| 2013 |
# 673bc3afef534c4983e352862c5d1eb1 |
| 2014 |
# 3c52a5165b7c4ab2bb22a3ba44492bf1 |
| 2015 |
# f3906b11fb5a4a6087f15845660cf2d5 |
| 2016 |
# bfbb211a66fc45748ec1b3e53586ca0d |
| 2017 |
# 13572af414804a1c959f1877662cc077 |
| 2018 |
# a6d577e2db204e90969822f2a95315ae |
| 2019 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2020 |
#: calibre.devices.interface.DevicePlugin.is_dynamically_controllable:5 |
| 2021 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2022 |
#: calibre.devices.interface.DevicePlugin.start_plugin:5 |
| 2023 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2024 |
#: calibre.devices.interface.DevicePlugin.stop_plugin:6 |
| 2025 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2026 |
#: calibre.devices.interface.DevicePlugin.get_option:5 |
| 2027 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2028 |
#: calibre.devices.interface.DevicePlugin.set_option:4 |
| 2029 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2030 |
#: calibre.devices.interface.DevicePlugin.is_running:3 |
| 2031 |
msgid "" |
| 2032 |
"This method can be called on the GUI thread. A driver that implements this " |
| 2033 |
"method must be thread safe." |
| 2034 |
msgstr "" |
| 2035 |
|
| 2036 |
# c3194b0591cd4cbf92e18d325a8f99bc |
| 2037 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2038 |
#: calibre.devices.interface.DevicePlugin.start_plugin:1 |
| 2039 |
msgid "" |
| 2040 |
"This method is called to start the plugin. The plugin should begin to accept" |
| 2041 |
" device connections however it does that. If the plugin is already accepting" |
| 2042 |
" connections, then do nothing." |
| 2043 |
msgstr "" |
| 2044 |
|
| 2045 |
# 7711ba9a6c8747ccb865916653d76569 |
| 2046 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2047 |
#: calibre.devices.interface.DevicePlugin.stop_plugin:1 |
| 2048 |
msgid "" |
| 2049 |
"This method is called to stop the plugin. The plugin should no longer accept" |
| 2050 |
" connections, and should cleanup behind itself. It is likely that this " |
| 2051 |
"method should call shutdown. If the plugin is already not accepting " |
| 2052 |
"connections, then do nothing." |
| 2053 |
msgstr "" |
| 2054 |
|
| 2055 |
# 59ece3421158499dbe672b31e4d95302 |
| 2056 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2057 |
#: calibre.devices.interface.DevicePlugin.get_option:1 |
| 2058 |
msgid "" |
| 2059 |
"Return the value of the option indicated by opt_string. This method can be " |
| 2060 |
"called when the plugin is not started. Return None if the option does not " |
| 2061 |
"exist." |
| 2062 |
msgstr "" |
| 2063 |
|
| 2064 |
# eb437cd8e77f4c1e9201c34bf03f0d3d |
| 2065 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2066 |
#: calibre.devices.interface.DevicePlugin.set_option:1 |
| 2067 |
msgid "" |
| 2068 |
"Set the value of the option indicated by opt_string. This method can be " |
| 2069 |
"called when the plugin is not started." |
| 2070 |
msgstr "" |
| 2071 |
|
| 2072 |
# 61eeae2369fb4dc8b7fc7af514b31e58 |
| 2073 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2074 |
#: calibre.devices.interface.DevicePlugin.is_running:1 |
| 2075 |
msgid "Return True if the plugin is started, otherwise false" |
| 2076 |
msgstr "" |
| 2077 |
|
| 2078 |
# 4bd208e707d8491eb248d45627e68bf9 |
| 2079 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2080 |
#: calibre.devices.interface.DevicePlugin.synchronize_with_db:1 |
| 2081 |
msgid "" |
| 2082 |
"Called during book matching when a book on the device is matched with a book" |
| 2083 |
" in calibre's db. The method is responsible for syncronizing data from the " |
| 2084 |
"device to calibre's db (if needed)." |
| 2085 |
msgstr "" |
| 2086 |
|
| 2087 |
# f6b782182841407d92466dbefffda424 |
| 2088 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2089 |
#: calibre.devices.interface.DevicePlugin.synchronize_with_db:5 |
| 2090 |
msgid "" |
| 2091 |
"The method must return a two-value tuple. The first value is a set of " |
| 2092 |
"calibre book ids changed if calibre's database was changed or None if the " |
| 2093 |
"database was not changed. If the first value is an empty set then the " |
| 2094 |
"metadata for the book on the device is updated with calibre's metadata and " |
| 2095 |
"given back to the device, but no GUI refresh of that book is done. This is " |
| 2096 |
"useful when the calire data is correct but must be sent to the device." |
| 2097 |
msgstr "" |
| 2098 |
|
| 2099 |
# 9977c52f0d5649e492d53773ba27dd23 |
| 2100 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2101 |
#: calibre.devices.interface.DevicePlugin.synchronize_with_db:13 |
| 2102 |
msgid "" |
| 2103 |
"The second value is itself a 2-value tuple. The first value in the tuple " |
| 2104 |
"specifies whether a book format should be sent to the device. The intent is " |
| 2105 |
"to permit verifying that the book on the device is the same as the book in " |
| 2106 |
"calibre. This value must be None if no book is to be sent, otherwise return " |
| 2107 |
"the base file name on the device (a string like foobar.epub). Be sure to " |
| 2108 |
"include the extension in the name. The device subsystem will construct a " |
| 2109 |
"send_books job for all books with not- None returned values. Note: other " |
| 2110 |
"than to later retrieve the extension, the name is ignored in cases where the" |
| 2111 |
" device uses a template to generate the file name, which most do. The second" |
| 2112 |
" value in the returned tuple indicated whether the format is future-dated. " |
| 2113 |
"Return True if it is, otherwise return False. Calibre will display a dialog " |
| 2114 |
"to the user listing all future dated books." |
| 2115 |
msgstr "" |
| 2116 |
|
| 2117 |
# 098871455de04ae889df21bbaac3e9a7 |
| 2118 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2119 |
#: calibre.devices.interface.DevicePlugin.synchronize_with_db:27 |
| 2120 |
msgid "" |
| 2121 |
"Extremely important: this method is called on the GUI thread. It must be " |
| 2122 |
"threadsafe with respect to the device manager's thread." |
| 2123 |
msgstr "" |
| 2124 |
|
| 2125 |
# 8d2779fb913240489537686847e724b3 |
| 2126 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2127 |
#: calibre.devices.interface.DevicePlugin.synchronize_with_db:30 |
| 2128 |
msgid "" |
| 2129 |
"book_id: the calibre id for the book in the database. book_metadata: the " |
| 2130 |
"Metadata object for the book coming from the device. first_call: True if " |
| 2131 |
"this is the first call during a sync, False otherwise" |
| 2132 |
msgstr "" |
| 2133 |
|
| 2134 |
# af2dbb62cf134ae3be4455f4f081c631 |
| 2135 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 2136 |
msgid "Bases: :class:`list`" |
| 2137 |
msgstr "" |
| 2138 |
|
| 2139 |
# 27896fa5992447779aa0487825541d50 |
| 2140 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2141 |
#: calibre.devices.interface.BookList:1 |
| 2142 |
msgid "A list of books. Each Book object must have the fields" |
| 2143 |
msgstr "" |
| 2144 |
|
| 2145 |
# 219f6d1b28fc4a6b90c5389dca620380 |
| 2146 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2147 |
#: calibre.devices.interface.BookList:3 |
| 2148 |
msgid "title" |
| 2149 |
msgstr "" |
| 2150 |
|
| 2151 |
# 062833fdf93f4ba2b6005988a64207b3 |
| 2152 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2153 |
#: calibre.devices.interface.BookList:4 |
| 2154 |
msgid "authors" |
| 2155 |
msgstr "" |
| 2156 |
|
| 2157 |
# 333d098c46dc47ad9aef22e2c3f8fe45 |
| 2158 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2159 |
#: calibre.devices.interface.BookList:5 |
| 2160 |
msgid "size (file size of the book)" |
| 2161 |
msgstr "" |
| 2162 |
|
| 2163 |
# fbeb52e996ed4d0eb776af495f14ceb5 |
| 2164 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2165 |
#: calibre.devices.interface.BookList:6 |
| 2166 |
msgid "datetime (a UTC time tuple)" |
| 2167 |
msgstr "" |
| 2168 |
|
| 2169 |
# 0d6303b599a54389ae53ae568cd81bec |
| 2170 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2171 |
#: calibre.devices.interface.BookList:7 |
| 2172 |
msgid "path (path on the device to the book)" |
| 2173 |
msgstr "" |
| 2174 |
|
| 2175 |
# 811ff2b52d1e415dab80acda97350009 |
| 2176 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2177 |
#: calibre.devices.interface.BookList:8 |
| 2178 |
msgid "" |
| 2179 |
"thumbnail (can be None) thumbnail is either a str/bytes object with the " |
| 2180 |
"image data or it should have an attribute image_path that stores an absolute" |
| 2181 |
" (platform native) path to the image" |
| 2182 |
msgstr "" |
| 2183 |
|
| 2184 |
# eaf9d1314fa042419353fef856b97e6d |
| 2185 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2186 |
#: calibre.devices.interface.BookList:11 |
| 2187 |
msgid "tags (a list of strings, can be empty)." |
| 2188 |
msgstr "" |
| 2189 |
|
| 2190 |
# 9e110f1c6d0a4a0aa71da30e479324e1 |
| 2191 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2192 |
#: calibre.devices.interface.BookList.supports_collections:1 |
| 2193 |
msgid "Return True if the device supports collections for this book list." |
| 2194 |
msgstr "" |
| 2195 |
|
| 2196 |
# 3f690742de9544f68097fda5741f25e1 |
| 2197 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2198 |
#: calibre.devices.interface.BookList.add_book:1 |
| 2199 |
msgid "" |
| 2200 |
"Add the book to the booklist. Intent is to maintain any device-internal " |
| 2201 |
"metadata. Return True if booklists must be sync'ed" |
| 2202 |
msgstr "" |
| 2203 |
|
| 2204 |
# 6153e15999f04dafaca24a7f000a703e |
| 2205 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2206 |
#: calibre.devices.interface.BookList.remove_book:1 |
| 2207 |
msgid "" |
| 2208 |
"Remove a book from the booklist. Correct any device metadata at the same " |
| 2209 |
"time" |
| 2210 |
msgstr "" |
| 2211 |
|
| 2212 |
# d2e30339a88e4dfb9ee5ba06e7bf9742 |
| 2213 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2214 |
#: calibre.devices.interface.BookList.get_collections:1 |
| 2215 |
msgid "" |
| 2216 |
"Return a dictionary of collections created from collection_attributes. Each " |
| 2217 |
"entry in the dictionary is of the form collection name:[list of books]" |
| 2218 |
msgstr "" |
| 2219 |
|
| 2220 |
# a9cbfc2fd24e460da0f1790c74624c19 |
| 2221 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2222 |
#: calibre.devices.interface.BookList.get_collections:5 |
| 2223 |
msgid "" |
| 2224 |
"The list of books is sorted by book title, except for collections created " |
| 2225 |
"from series, in which case series_index is used." |
| 2226 |
msgstr "" |
| 2227 |
|
| 2228 |
# 176286875c4c4e96bf8f6fc4aad00bbd |
| 2229 |
#: ../../home/kovid/work/calibre/src/calibre/devices/interface.pydocstring of |
| 2230 |
#: calibre.devices.interface.BookList.get_collections:8 |
| 2231 |
msgid "A list of attributes of the Book object" |
| 2232 |
msgstr "" |
| 2233 |
|
| 2234 |
# f3c5f398d465439fbe5b86149b7a33b1 |
| 2235 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:109 |
| 2236 |
msgid "USB Mass Storage based devices" |
| 2237 |
msgstr "" |
| 2238 |
|
| 2239 |
# 90b3623cf9df4a19b64716a420d53901 |
| 2240 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:111 |
| 2241 |
msgid "" |
| 2242 |
"The base class for such devices is " |
| 2243 |
":class:`calibre.devices.usbms.driver.USBMS`. This class in turn inherits " |
| 2244 |
"some of its functionality from its bases, documented below. A typical basic " |
| 2245 |
"USBMS based driver looks like this:" |
| 2246 |
msgstr "" |
| 2247 |
|
| 2248 |
# 793a36ea81f648918e3e9371c0773785 |
| 2249 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 2250 |
msgid "" |
| 2251 |
"Bases: :class:`calibre.devices.usbms.deviceconfig.DeviceConfig`, " |
| 2252 |
":class:`calibre.devices.interface.DevicePlugin`" |
| 2253 |
msgstr "" |
| 2254 |
|
| 2255 |
# 963727530f914484a072e902b564ee6b |
| 2256 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2257 |
#: of calibre.devices.usbms.device.Device:1 |
| 2258 |
msgid "" |
| 2259 |
"This class provides logic common to all drivers for devices that export " |
| 2260 |
"themselves as USB Mass Storage devices. Provides implementations for " |
| 2261 |
"mounting/ejecting of USBMS devices on all platforms." |
| 2262 |
msgstr "" |
| 2263 |
|
| 2264 |
# af889c5e03f54b089777220c01584def |
| 2265 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2266 |
#: of calibre.devices.usbms.device.Device.WINDOWS_MAIN_MEM:1 |
| 2267 |
msgid "" |
| 2268 |
"String identifying the main memory of the device in the windows PnP id " |
| 2269 |
"strings This can be None, string, list of strings or compiled regex" |
| 2270 |
msgstr "" |
| 2271 |
|
| 2272 |
# d0434b843de4453cbf29e5d26ec9a8f5 |
| 2273 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2274 |
#: of calibre.devices.usbms.device.Device.WINDOWS_CARD_A_MEM:1 |
| 2275 |
msgid "" |
| 2276 |
"String identifying the first card of the device in the windows PnP id " |
| 2277 |
"strings This can be None, string, list of strings or compiled regex" |
| 2278 |
msgstr "" |
| 2279 |
|
| 2280 |
# 38a3f7010b944da7bc064dd902e2215d |
| 2281 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2282 |
#: of calibre.devices.usbms.device.Device.WINDOWS_CARD_B_MEM:1 |
| 2283 |
msgid "" |
| 2284 |
"String identifying the second card of the device in the windows PnP id " |
| 2285 |
"strings This can be None, string, list of strings or compiled regex" |
| 2286 |
msgstr "" |
| 2287 |
|
| 2288 |
# e57c1d8c7bc04207a36996b71fa049ea |
| 2289 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2290 |
#: of calibre.devices.usbms.device.Device.OSX_MAIN_MEM_VOL_PAT:1 |
| 2291 |
msgid "" |
| 2292 |
"Used by the new driver detection to disambiguate main memory from storage " |
| 2293 |
"cards. Should be a regular expression that matches the main memory mount " |
| 2294 |
"point assigned by OS X" |
| 2295 |
msgstr "" |
| 2296 |
|
| 2297 |
# 434f8c19838a4ebcb7f3c5ed3caadb9f |
| 2298 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2299 |
#: of calibre.devices.usbms.device.Device.MAX_PATH_LEN:1 |
| 2300 |
msgid "The maximum length of paths created on the device" |
| 2301 |
msgstr "" |
| 2302 |
|
| 2303 |
# faf19aa2c55f4355a43875373cc55377 |
| 2304 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2305 |
#: of calibre.devices.usbms.device.Device.NEWS_IN_FOLDER:1 |
| 2306 |
msgid "Put news in its own folder" |
| 2307 |
msgstr "" |
| 2308 |
|
| 2309 |
# 314ea48aabec44168cbfd2644f79c152 |
| 2310 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2311 |
#: of calibre.devices.usbms.device.Device.windows_sort_drives:1 |
| 2312 |
msgid "" |
| 2313 |
"Called to disambiguate main memory and storage card for devices that do not " |
| 2314 |
"distinguish between them on the basis of `WINDOWS_CARD_NAME`. For e.g.: The " |
| 2315 |
"EB600" |
| 2316 |
msgstr "" |
| 2317 |
|
| 2318 |
# 379b1e5b573d4590976f5f7766c97f1d |
| 2319 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2320 |
#: of calibre.devices.usbms.device.Device.sanitize_callback:1 |
| 2321 |
msgid "" |
| 2322 |
"Callback to allow individual device drivers to override the path " |
| 2323 |
"sanitization used by :meth:`create_upload_path`." |
| 2324 |
msgstr "" |
| 2325 |
|
| 2326 |
# c810e20d9a114a81b26ae2e3e864a339 |
| 2327 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2328 |
#: of calibre.devices.usbms.device.Device.filename_callback:1 |
| 2329 |
msgid "" |
| 2330 |
"Callback to allow drivers to change the default file name set by " |
| 2331 |
":meth:`create_upload_path`." |
| 2332 |
msgstr "" |
| 2333 |
|
| 2334 |
# 301e5542cd944fb99b73ada05bb27f0c |
| 2335 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2336 |
#: of calibre.devices.usbms.device.Device.sanitize_path_components:1 |
| 2337 |
msgid "" |
| 2338 |
"Perform any device specific sanitization on the path components for files to" |
| 2339 |
" be uploaded to the device" |
| 2340 |
msgstr "" |
| 2341 |
|
| 2342 |
# dadd3c2d44a044ec9a3f317c8e9bb395 |
| 2343 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2344 |
#: of calibre.devices.usbms.device.Device.get_annotations:1 |
| 2345 |
msgid "Resolve path_map to annotation_map of files found on the device" |
| 2346 |
msgstr "" |
| 2347 |
|
| 2348 |
# d49d731c26cc47faa1f57336c5d556ac |
| 2349 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/device.pydocstring |
| 2350 |
#: of calibre.devices.usbms.device.Device.add_annotation_to_library:1 |
| 2351 |
msgid "Add an annotation to the calibre library" |
| 2352 |
msgstr "" |
| 2353 |
|
| 2354 |
# 8dc8fb1fceb34eae8f86a9ff69d7e827 |
| 2355 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 2356 |
msgid "" |
| 2357 |
"Bases: :class:`calibre.devices.usbms.cli.CLI`, " |
| 2358 |
":class:`calibre.devices.usbms.device.Device`" |
| 2359 |
msgstr "" |
| 2360 |
|
| 2361 |
# cd7055d2f37f442ba73b23bf92191ef8 |
| 2362 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring |
| 2363 |
#: of calibre.devices.usbms.driver.USBMS:1 |
| 2364 |
msgid "" |
| 2365 |
"The base class for all USBMS devices. Implements the logic for " |
| 2366 |
"sending/getting/updating metadata/caching metadata/etc." |
| 2367 |
msgstr "" |
| 2368 |
|
| 2369 |
# 4928843f45ef466e8d2f967ebaef308d |
| 2370 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring |
| 2371 |
#: of calibre.devices.usbms.driver.USBMS.upload_cover:1 |
| 2372 |
msgid "Upload book cover to the device. Default implementation does nothing." |
| 2373 |
msgstr "" |
| 2374 |
|
| 2375 |
# bf9087a79e314164a2381eaefcc63652 |
| 2376 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring |
| 2377 |
#: of calibre.devices.usbms.driver.USBMS.upload_cover:3 |
| 2378 |
msgid "The full path to the directory where the associated book is located." |
| 2379 |
msgstr "" |
| 2380 |
|
| 2381 |
# 1515a041552848b282a8cfc116522316 |
| 2382 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring |
| 2383 |
#: of calibre.devices.usbms.driver.USBMS.upload_cover:4 |
| 2384 |
msgid "The name of the book file without the extension." |
| 2385 |
msgstr "" |
| 2386 |
|
| 2387 |
# 172007ce70ba478ca1b7a28c9ec9e30a |
| 2388 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring |
| 2389 |
#: of calibre.devices.usbms.driver.USBMS.upload_cover:5 |
| 2390 |
msgid "metadata belonging to the book. Use metadata.thumbnail for cover" |
| 2391 |
msgstr "" |
| 2392 |
|
| 2393 |
# d63fc42664554048b00b97086363afa5 |
| 2394 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring |
| 2395 |
#: of calibre.devices.usbms.driver.USBMS.upload_cover:7 |
| 2396 |
msgid "The full path to the ebook file" |
| 2397 |
msgstr "" |
| 2398 |
|
| 2399 |
# 444d6b2577874546bbb9375fcbfa343b |
| 2400 |
#: ../../home/kovid/work/calibre/src/calibre/devices/usbms/driver.pydocstring |
| 2401 |
#: of calibre.devices.usbms.driver.USBMS.normalize_path:1 |
| 2402 |
msgid "Return path with platform native path separators" |
| 2403 |
msgstr "" |
| 2404 |
|
| 2405 |
# 830a319b31224671a9045a32605e2c52 |
| 2406 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:157 |
| 2407 |
msgid "User Interface Actions" |
| 2408 |
msgstr "" |
| 2409 |
|
| 2410 |
# e23f5a683c1c41ab83909465d0e6e2fd |
| 2411 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:159 |
| 2412 |
msgid "" |
| 2413 |
"If you are adding your own plugin in a zip file, you should subclass both " |
| 2414 |
"InterfaceActionBase and InterfaceAction. The :meth:`load_actual_plugin` " |
| 2415 |
"method of you InterfaceActionBase subclass must return an instantiated " |
| 2416 |
"object of your InterfaceBase subclass." |
| 2417 |
msgstr "" |
| 2418 |
|
| 2419 |
# 4e4e5de2308f4bd3b56bc120b9cb1a5c |
| 2420 |
#: ../../home/kovid/work/calibre/manual/<autodoc>:1 |
| 2421 |
msgid "Bases: :class:`PyQt5.QtCore.QObject`" |
| 2422 |
msgstr "" |
| 2423 |
|
| 2424 |
# 3825de717c494b7482d77fe46f2ae48a |
| 2425 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2426 |
#: of calibre.gui2.actions.InterfaceAction:1 |
| 2427 |
msgid "" |
| 2428 |
"A plugin representing an \"action\" that can be taken in the graphical user " |
| 2429 |
"interface. All the items in the toolbar and context menus are implemented by" |
| 2430 |
" these plugins." |
| 2431 |
msgstr "" |
| 2432 |
|
| 2433 |
# a74623c9ca014faaa876ea1fdf8a2357 |
| 2434 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2435 |
#: of calibre.gui2.actions.InterfaceAction:5 |
| 2436 |
msgid "" |
| 2437 |
"Note that this class is the base class for these plugins, however, to " |
| 2438 |
"integrate the plugin with calibre's plugin system, you have to make a " |
| 2439 |
"wrapper class that references the actual plugin. See the " |
| 2440 |
":mod:`calibre.customize.builtins` module for examples." |
| 2441 |
msgstr "" |
| 2442 |
|
| 2443 |
# 732177f506b34472aea305ad963c3d0e |
| 2444 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2445 |
#: of calibre.gui2.actions.InterfaceAction:10 |
| 2446 |
msgid "" |
| 2447 |
"If two :class:`InterfaceAction` objects have the same name, the one with " |
| 2448 |
"higher priority takes precedence." |
| 2449 |
msgstr "" |
| 2450 |
|
| 2451 |
# d236aa3db46a4c8dba49de7d5eb0c216 |
| 2452 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2453 |
#: of calibre.gui2.actions.InterfaceAction:13 |
| 2454 |
msgid "" |
| 2455 |
"Sub-classes should implement the :meth:`genesis`, :meth:`library_changed`, " |
| 2456 |
":meth:`location_selected` :meth:`shutting_down` and " |
| 2457 |
":meth:`initialization_complete` methods." |
| 2458 |
msgstr "" |
| 2459 |
|
| 2460 |
# f97326be460841caaaef85575a92ef23 |
| 2461 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2462 |
#: of calibre.gui2.actions.InterfaceAction:17 |
| 2463 |
msgid "" |
| 2464 |
"Once initialized, this plugin has access to the main calibre GUI via the " |
| 2465 |
":attr:`gui` member. You can access other plugins by name, for example::" |
| 2466 |
msgstr "" |
| 2467 |
|
| 2468 |
# e0cbfb055b384cbd9187bac05b4680da |
| 2469 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2470 |
#: of calibre.gui2.actions.InterfaceAction:22 |
| 2471 |
msgid "" |
| 2472 |
"To access the actual plugin, use the :attr:`interface_action_base_plugin` " |
| 2473 |
"attribute, this attribute only becomes available after the plugin has been " |
| 2474 |
"initialized. Useful if you want to use methods from the plugin class like " |
| 2475 |
"do_user_config()." |
| 2476 |
msgstr "" |
| 2477 |
|
| 2478 |
# e9a8ab3b32b44249b3de9f6fcb1fccbd |
| 2479 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2480 |
#: of calibre.gui2.actions.InterfaceAction:27 |
| 2481 |
msgid "" |
| 2482 |
"The QAction specified by :attr:`action_spec` is automatically create and " |
| 2483 |
"made available as ``self.qaction``." |
| 2484 |
msgstr "" |
| 2485 |
|
| 2486 |
# 54d46002504a4dcd9939f42c0207c5c0 |
| 2487 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2488 |
#: of calibre.gui2.actions.InterfaceAction.name:1 |
| 2489 |
msgid "" |
| 2490 |
"The plugin name. If two plugins with the same name are present, the one with" |
| 2491 |
" higher priority takes precedence." |
| 2492 |
msgstr "" |
| 2493 |
|
| 2494 |
# 1f4dcf311d5741f6ae937b34fc819c8d |
| 2495 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2496 |
#: of calibre.gui2.actions.InterfaceAction.priority:1 |
| 2497 |
msgid "" |
| 2498 |
"The plugin priority. If two plugins with the same name are present, the one " |
| 2499 |
"with higher priority takes precedence." |
| 2500 |
msgstr "" |
| 2501 |
|
| 2502 |
# 495b2a6ae7dc4f488f5bee0f67cb2a44 |
| 2503 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2504 |
#: of calibre.gui2.actions.InterfaceAction.popup_type:1 |
| 2505 |
msgid "The menu popup type for when this plugin is added to a toolbar" |
| 2506 |
msgstr "" |
| 2507 |
|
| 2508 |
# e7594e14e02f4cd990a8f4a76b6e1b36 |
| 2509 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2510 |
#: of calibre.gui2.actions.InterfaceAction.auto_repeat:1 |
| 2511 |
msgid "" |
| 2512 |
"Whether this action should be auto repeated when its shortcut key is held " |
| 2513 |
"down." |
| 2514 |
msgstr "" |
| 2515 |
|
| 2516 |
# 847f1cc4b8cd48d899acd54c4aa6aae5 |
| 2517 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2518 |
#: of calibre.gui2.actions.InterfaceAction.action_spec:1 |
| 2519 |
msgid "" |
| 2520 |
"Of the form: (text, icon_path, tooltip, keyboard shortcut) icon, tooltip and" |
| 2521 |
" keyboard shortcut can be None shortcut must be a string, None or tuple of " |
| 2522 |
"shortcuts. If None, a keyboard shortcut corresponding to the action is not " |
| 2523 |
"registered. If you pass an empty tuple, then the shortcut is registered with" |
| 2524 |
" no default key binding." |
| 2525 |
msgstr "" |
| 2526 |
|
| 2527 |
# 47e50b115e6c49448191bc5b0eac489d |
| 2528 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2529 |
#: of calibre.gui2.actions.InterfaceAction.action_add_menu:1 |
| 2530 |
msgid "If True, a menu is automatically created and added to self.qaction" |
| 2531 |
msgstr "" |
| 2532 |
|
| 2533 |
# 76bc88e87c7743a7ba379613606f2b1c |
| 2534 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2535 |
#: of calibre.gui2.actions.InterfaceAction.action_menu_clone_qaction:1 |
| 2536 |
msgid "" |
| 2537 |
"If True, a clone of self.qaction is added to the menu of self.qaction If you" |
| 2538 |
" want the text of this action to be different from that of self.qaction, set" |
| 2539 |
" this variable to the new text" |
| 2540 |
msgstr "" |
| 2541 |
|
| 2542 |
# a69e7ea8fb734280b071a3befc4193f2 |
| 2543 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2544 |
#: of calibre.gui2.actions.InterfaceAction.dont_add_to:1 |
| 2545 |
msgid "" |
| 2546 |
"Set of locations to which this action must not be added. See " |
| 2547 |
":attr:`all_locations` for a list of possible locations" |
| 2548 |
msgstr "" |
| 2549 |
|
| 2550 |
# 58ca835e7a9642b38ffdeb7bb444e16d |
| 2551 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2552 |
#: of calibre.gui2.actions.InterfaceAction.dont_remove_from:1 |
| 2553 |
msgid "" |
| 2554 |
"Set of locations from which this action must not be removed. See " |
| 2555 |
":attr:`all_locations` for a list of possible locations" |
| 2556 |
msgstr "" |
| 2557 |
|
| 2558 |
# 1ab379b033364a9aaf1c1a868945a832 |
| 2559 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2560 |
#: of calibre.gui2.actions.InterfaceAction.action_type:1 |
| 2561 |
msgid "" |
| 2562 |
"Type of action 'current' means acts on the current view 'global' means an " |
| 2563 |
"action that does not act on the current view, but rather on calibre as a " |
| 2564 |
"whole" |
| 2565 |
msgstr "" |
| 2566 |
|
| 2567 |
# 05164ed53d1e433a9be74bd5ce6ef54a |
| 2568 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2569 |
#: of calibre.gui2.actions.InterfaceAction.accepts_drops:1 |
| 2570 |
msgid "" |
| 2571 |
"If True, then this InterfaceAction will have the opportunity to interact " |
| 2572 |
"with drag and drop events. See the methods, :meth:`accept_enter_event`, " |
| 2573 |
":meth`:accept_drag_move_event`, :meth:`drop_event` for details." |
| 2574 |
msgstr "" |
| 2575 |
|
| 2576 |
# afcffea72357458eaf27f34047787bd8 |
| 2577 |
# a774dd73f3cf41128757f7f7db03ac0a |
| 2578 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2579 |
#: of calibre.gui2.actions.InterfaceAction.accept_enter_event:1 |
| 2580 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2581 |
#: of calibre.gui2.actions.InterfaceAction.accept_drag_move_event:1 |
| 2582 |
msgid "" |
| 2583 |
"This method should return True iff this interface action is capable of " |
| 2584 |
"handling the drag event. Do not call accept/ignore on the event, that will " |
| 2585 |
"be taken care of by the calibre UI." |
| 2586 |
msgstr "" |
| 2587 |
|
| 2588 |
# 37fd9c870aa24194aa754f8be5a1643a |
| 2589 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2590 |
#: of calibre.gui2.actions.InterfaceAction.drop_event:1 |
| 2591 |
msgid "" |
| 2592 |
"This method should perform some useful action and return True iff this " |
| 2593 |
"interface action is capable of handling the drop event. Do not call " |
| 2594 |
"accept/ignore on the event, that will be taken care of by the calibre UI. " |
| 2595 |
"You should not perform blocking/long operations in this function. Instead " |
| 2596 |
"emit a signal or use QTimer.singleShot and return quickly. See the builtin " |
| 2597 |
"actions for examples." |
| 2598 |
msgstr "" |
| 2599 |
|
| 2600 |
# bd9fa7a8c3154e758935337d453486ca |
| 2601 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2602 |
#: of calibre.gui2.actions.InterfaceAction.create_menu_action:1 |
| 2603 |
msgid "" |
| 2604 |
"Convenience method to easily add actions to a QMenu. Returns the created " |
| 2605 |
"QAction, This action has one extra attribute calibre_shortcut_unique_name " |
| 2606 |
"which if not None refers to the unique name under which this action is " |
| 2607 |
"registered with the keyboard manager." |
| 2608 |
msgstr "" |
| 2609 |
|
| 2610 |
# aae3fb1ab6e24de790462a1c73972e14 |
| 2611 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2612 |
#: of calibre.gui2.actions.InterfaceAction.create_menu_action:6 |
| 2613 |
msgid "The QMenu the newly created action will be added to" |
| 2614 |
msgstr "" |
| 2615 |
|
| 2616 |
# 3ba1cb2aad0447b98c4bc174280cb7a1 |
| 2617 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2618 |
#: of calibre.gui2.actions.InterfaceAction.create_menu_action:7 |
| 2619 |
msgid "" |
| 2620 |
"A unique name for this action, this must be globally unique, so make it as " |
| 2621 |
"descriptive as possible. If in doubt add a uuid to it." |
| 2622 |
msgstr "" |
| 2623 |
|
| 2624 |
# 7ed60df1439e4975bde7e9e7dd037f19 |
| 2625 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2626 |
#: of calibre.gui2.actions.InterfaceAction.create_menu_action:10 |
| 2627 |
msgid "The text of the action." |
| 2628 |
msgstr "" |
| 2629 |
|
| 2630 |
# 91f2abaee80642989df1fd8b2f2efe96 |
| 2631 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2632 |
#: of calibre.gui2.actions.InterfaceAction.create_menu_action:11 |
| 2633 |
msgid "" |
| 2634 |
"Either a QIcon or a file name. The file name is passed to the I() builtin, " |
| 2635 |
"so you do not need to pass the full path to the images directory." |
| 2636 |
msgstr "" |
| 2637 |
|
| 2638 |
# ce77c17984f14924b4bca8f3952f0475 |
| 2639 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2640 |
#: of calibre.gui2.actions.InterfaceAction.create_menu_action:14 |
| 2641 |
msgid "" |
| 2642 |
"A string, a list of strings, None or False. If False, no keyboard shortcut " |
| 2643 |
"is registered for this action. If None, a keyboard shortcut with no default " |
| 2644 |
"keybinding is registered. String and list of strings register a shortcut " |
| 2645 |
"with default keybinding as specified." |
| 2646 |
msgstr "" |
| 2647 |
|
| 2648 |
# 84e9c7a9267942d4bcb75615f307da3b |
| 2649 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2650 |
#: of calibre.gui2.actions.InterfaceAction.create_menu_action:18 |
| 2651 |
msgid "A description for this action. Used to set tooltips." |
| 2652 |
msgstr "" |
| 2653 |
|
| 2654 |
# 7bd499ef26d649a289667d3dd9717b1c |
| 2655 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2656 |
#: of calibre.gui2.actions.InterfaceAction.create_menu_action:20 |
| 2657 |
msgid "" |
| 2658 |
"A callable which is connected to the triggered signal of the created action." |
| 2659 |
msgstr "" |
| 2660 |
|
| 2661 |
# 4a7ccb1d4d214cb39cc59a3a7c9d5495 |
| 2662 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2663 |
#: of calibre.gui2.actions.InterfaceAction.create_menu_action:22 |
| 2664 |
msgid "" |
| 2665 |
"The test displayed to the user when customizing the keyboard shortcuts for " |
| 2666 |
"this action. By default it is set to the value of ``text``." |
| 2667 |
msgstr "" |
| 2668 |
|
| 2669 |
# 9a3c4cd58ff64abebfe0831d3134fe45 |
| 2670 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2671 |
#: of calibre.gui2.actions.InterfaceAction.genesis:1 |
| 2672 |
msgid "" |
| 2673 |
"Setup this plugin. Only called once during initialization. self.gui is " |
| 2674 |
"available. The action specified by :attr:`action_spec` is available as " |
| 2675 |
"``self.qaction``." |
| 2676 |
msgstr "" |
| 2677 |
|
| 2678 |
# f97dd9e71c4a4f7f9f91b4e74d8200d7 |
| 2679 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2680 |
#: of calibre.gui2.actions.InterfaceAction.location_selected:1 |
| 2681 |
msgid "" |
| 2682 |
"Called whenever the book list being displayed in calibre changes. Currently " |
| 2683 |
"values for loc are: ``library, main, card and cardb``." |
| 2684 |
msgstr "" |
| 2685 |
|
| 2686 |
# 3d2ea6b827ce48fa93d19de74e75549c |
| 2687 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2688 |
#: of calibre.gui2.actions.InterfaceAction.location_selected:4 |
| 2689 |
msgid "" |
| 2690 |
"This method should enable/disable this action and its sub actions as " |
| 2691 |
"appropriate for the location." |
| 2692 |
msgstr "" |
| 2693 |
|
| 2694 |
# 09abcc1d500040db9479c8a4b38c1360 |
| 2695 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2696 |
#: of calibre.gui2.actions.InterfaceAction.library_changed:1 |
| 2697 |
msgid "Called whenever the current library is changed." |
| 2698 |
msgstr "" |
| 2699 |
|
| 2700 |
# 17f0d871689f441198caaccbf5366e9d |
| 2701 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2702 |
#: of calibre.gui2.actions.InterfaceAction.library_changed:3 |
| 2703 |
msgid "The LibraryDatabase corresponding to the current library." |
| 2704 |
msgstr "" |
| 2705 |
|
| 2706 |
# 05e1f4201e9e480b85ca84dcf106b11d |
| 2707 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2708 |
#: of calibre.gui2.actions.InterfaceAction.gui_layout_complete:1 |
| 2709 |
msgid "" |
| 2710 |
"Called once per action when the layout of the main GUI is completed. If your" |
| 2711 |
" action needs to make changes to the layout, they should be done here, " |
| 2712 |
"rather than in :meth:`initialization_complete`." |
| 2713 |
msgstr "" |
| 2714 |
|
| 2715 |
# 22732cf21ec74738bc0badd85dd69ea2 |
| 2716 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2717 |
#: of calibre.gui2.actions.InterfaceAction.initialization_complete:1 |
| 2718 |
msgid "" |
| 2719 |
"Called once per action when the initialization of the main GUI is completed." |
| 2720 |
msgstr "" |
| 2721 |
|
| 2722 |
# 3558831b774147cfbb31739de04ad534 |
| 2723 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2724 |
#: of calibre.gui2.actions.InterfaceAction.shutting_down:1 |
| 2725 |
msgid "" |
| 2726 |
"Called once per plugin when the main GUI is in the process of shutting down." |
| 2727 |
" Release any used resources, but try not to block the shutdown for long " |
| 2728 |
"periods of time." |
| 2729 |
msgstr "" |
| 2730 |
|
| 2731 |
# 0b190e2834264fd493d157f596b37d46 |
| 2732 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/actions/__init__.pydocstring |
| 2733 |
#: of calibre.gui2.actions.InterfaceAction.shutting_down:5 |
| 2734 |
msgid "" |
| 2735 |
"False to halt the shutdown. You are responsible for telling the user why the" |
| 2736 |
" shutdown was halted." |
| 2737 |
msgstr "" |
| 2738 |
|
| 2739 |
# 7129b416c4ef4980a465232e9f09db1f |
| 2740 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2741 |
#: calibre.customize.InterfaceActionBase.load_actual_plugin:1 |
| 2742 |
msgid "This method must return the actual interface action plugin object." |
| 2743 |
msgstr "" |
| 2744 |
|
| 2745 |
# 7ad6963e224f436ba376334f5c6875c1 |
| 2746 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:174 |
| 2747 |
msgid "Preferences Plugins" |
| 2748 |
msgstr "" |
| 2749 |
|
| 2750 |
# ea6bf19e0b844fd090943fe26822ced0 |
| 2751 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2752 |
#: calibre.customize.PreferencesPlugin:1 |
| 2753 |
msgid "A plugin representing a widget displayed in the Preferences dialog." |
| 2754 |
msgstr "" |
| 2755 |
|
| 2756 |
# c2f0a6685b704810a7ed8ab3b244c8cf |
| 2757 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2758 |
#: calibre.customize.PreferencesPlugin:3 |
| 2759 |
msgid "" |
| 2760 |
"This plugin has only one important method :meth:`create_widget`. The various" |
| 2761 |
" fields of the plugin control how it is categorized in the UI." |
| 2762 |
msgstr "" |
| 2763 |
|
| 2764 |
# 668252b7913345ccaa182e2be6a07f75 |
| 2765 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2766 |
#: calibre.customize.PreferencesPlugin.config_widget:1 |
| 2767 |
msgid "" |
| 2768 |
"Import path to module that contains a class named ConfigWidget which " |
| 2769 |
"implements the ConfigWidgetInterface. Used by :meth:`create_widget`." |
| 2770 |
msgstr "" |
| 2771 |
|
| 2772 |
# e1ff2c7f0652400fb03477e18946d3b8 |
| 2773 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2774 |
#: calibre.customize.PreferencesPlugin.category_order:1 |
| 2775 |
msgid "" |
| 2776 |
"Where in the list of categories the :attr:`category` of this plugin should " |
| 2777 |
"be." |
| 2778 |
msgstr "" |
| 2779 |
|
| 2780 |
# 5a32633c67b647e4889188d09f37f33e |
| 2781 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2782 |
#: calibre.customize.PreferencesPlugin.name_order:1 |
| 2783 |
msgid "" |
| 2784 |
"Where in the list of names in a category, the :attr:`gui_name` of this " |
| 2785 |
"plugin should be" |
| 2786 |
msgstr "" |
| 2787 |
|
| 2788 |
# 23df146e76c14dfda3ec1ef399a50dfb |
| 2789 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2790 |
#: calibre.customize.PreferencesPlugin.category:1 |
| 2791 |
msgid "The category this plugin should be in" |
| 2792 |
msgstr "" |
| 2793 |
|
| 2794 |
# e438d8a137b24cdbab08126c8b528d98 |
| 2795 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2796 |
#: calibre.customize.PreferencesPlugin.gui_category:1 |
| 2797 |
msgid "The category name displayed to the user for this plugin" |
| 2798 |
msgstr "" |
| 2799 |
|
| 2800 |
# 7dad1ab2c9374074b482273de35351ca |
| 2801 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2802 |
#: calibre.customize.PreferencesPlugin.gui_name:1 |
| 2803 |
msgid "The name displayed to the user for this plugin" |
| 2804 |
msgstr "" |
| 2805 |
|
| 2806 |
# 1664abcfe06e44b7ab5e238e679e0d87 |
| 2807 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2808 |
#: calibre.customize.PreferencesPlugin.icon:1 |
| 2809 |
msgid "The icon for this plugin, should be an absolute path" |
| 2810 |
msgstr "" |
| 2811 |
|
| 2812 |
# b82c1c5a41d84af8a87875312424fa58 |
| 2813 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2814 |
#: calibre.customize.PreferencesPlugin.description:1 |
| 2815 |
msgid "The description used for tooltips and the like" |
| 2816 |
msgstr "" |
| 2817 |
|
| 2818 |
# 3dee73255adc4c3793a44004bb69ef05 |
| 2819 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2820 |
#: calibre.customize.PreferencesPlugin.create_widget:1 |
| 2821 |
msgid "" |
| 2822 |
"Create and return the actual Qt widget used for setting this group of " |
| 2823 |
"preferences. The widget must implement the " |
| 2824 |
":class:`calibre.gui2.preferences.ConfigWidgetInterface`." |
| 2825 |
msgstr "" |
| 2826 |
|
| 2827 |
# 3fda171e8eb94c6ead0c57fa9f351ded |
| 2828 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2829 |
#: calibre.customize.PreferencesPlugin.create_widget:5 |
| 2830 |
msgid "" |
| 2831 |
"The default implementation uses :attr:`config_widget` to instantiate the " |
| 2832 |
"widget." |
| 2833 |
msgstr "" |
| 2834 |
|
| 2835 |
# 1846e76aadc84e9097ac6a11716e4506 |
| 2836 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2837 |
#: of calibre.gui2.preferences.ConfigWidgetInterface:1 |
| 2838 |
msgid "" |
| 2839 |
"This class defines the interface that all widgets displayed in the " |
| 2840 |
"Preferences dialog must implement. See :class:`ConfigWidgetBase` for a base " |
| 2841 |
"class that implements this interface and defines various convenience methods" |
| 2842 |
" as well." |
| 2843 |
msgstr "" |
| 2844 |
|
| 2845 |
# 8e5aabad3d7545588c244e962f24cfe8 |
| 2846 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2847 |
#: of calibre.gui2.preferences.ConfigWidgetInterface.changed_signal:1 |
| 2848 |
msgid "" |
| 2849 |
"This signal must be emitted whenever the user changes a value in this widget" |
| 2850 |
msgstr "" |
| 2851 |
|
| 2852 |
# 7410492b62a14f53bfa1b6d79aa8881f |
| 2853 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2854 |
#: of |
| 2855 |
#: calibre.gui2.preferences.ConfigWidgetInterface.supports_restoring_to_defaults:1 |
| 2856 |
msgid "Set to True iff the :meth:`restore_to_defaults` method is implemented." |
| 2857 |
msgstr "" |
| 2858 |
|
| 2859 |
# 3952626ffb184613b43d32ed1c12fa96 |
| 2860 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2861 |
#: of calibre.gui2.preferences.ConfigWidgetInterface.restore_defaults_desc:1 |
| 2862 |
msgid "The tooltip for the Restore to defaults button" |
| 2863 |
msgstr "" |
| 2864 |
|
| 2865 |
# 542aa95e74f944f380c9852f7e88fdc1 |
| 2866 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2867 |
#: of calibre.gui2.preferences.ConfigWidgetInterface.restart_critical:1 |
| 2868 |
msgid "" |
| 2869 |
"If True the Preferences dialog will not allow the user to set any more " |
| 2870 |
"preferences. Only has effect if :meth:`commit` returns True." |
| 2871 |
msgstr "" |
| 2872 |
|
| 2873 |
# 58e800d7b8b84326a81f4485afcae61b |
| 2874 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2875 |
#: of calibre.gui2.preferences.ConfigWidgetInterface.genesis:1 |
| 2876 |
msgid "" |
| 2877 |
"Called once before the widget is displayed, should perform any necessary " |
| 2878 |
"setup." |
| 2879 |
msgstr "" |
| 2880 |
|
| 2881 |
# 40fb79c75d4e4670a6c64b735ecb0d7b |
| 2882 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2883 |
#: of calibre.gui2.preferences.ConfigWidgetInterface.genesis:4 |
| 2884 |
msgid "The main calibre graphical user interface" |
| 2885 |
msgstr "" |
| 2886 |
|
| 2887 |
# 753305881a194eaebe0b0048856d1e4f |
| 2888 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2889 |
#: of calibre.gui2.preferences.ConfigWidgetInterface.initialize:1 |
| 2890 |
msgid "" |
| 2891 |
"Should set all config values to their initial values (the values stored in " |
| 2892 |
"the config files)." |
| 2893 |
msgstr "" |
| 2894 |
|
| 2895 |
# 0bfd53dea6f448abb060386d1cb0c5cb |
| 2896 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2897 |
#: of calibre.gui2.preferences.ConfigWidgetInterface.restore_defaults:1 |
| 2898 |
msgid "Should set all config values to their defaults." |
| 2899 |
msgstr "" |
| 2900 |
|
| 2901 |
# 7ca50fab91dd4e53b0271b29d5b05488 |
| 2902 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2903 |
#: of calibre.gui2.preferences.ConfigWidgetInterface.commit:1 |
| 2904 |
msgid "" |
| 2905 |
"Save any changed settings. Return True if the changes require a restart, " |
| 2906 |
"False otherwise. Raise an :class:`AbortCommit` exception to indicate that an" |
| 2907 |
" error occurred. You are responsible for giving the user feedback about what" |
| 2908 |
" the error is and how to correct it." |
| 2909 |
msgstr "" |
| 2910 |
|
| 2911 |
# 0ca07060c50648989f64752515002f51 |
| 2912 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2913 |
#: of calibre.gui2.preferences.ConfigWidgetInterface.refresh_gui:1 |
| 2914 |
msgid "" |
| 2915 |
"Called once after this widget is committed. Responsible for causing the gui " |
| 2916 |
"to reread any changed settings. Note that by default the GUI re-initializes " |
| 2917 |
"various elements anyway, so most widgets won't need to use this method." |
| 2918 |
msgstr "" |
| 2919 |
|
| 2920 |
# f5b05ec2605342e39d5c7b732f2be161 |
| 2921 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2922 |
#: of calibre.gui2.preferences.ConfigWidgetBase:1 |
| 2923 |
msgid "" |
| 2924 |
"Base class that contains code to easily add standard config widgets like " |
| 2925 |
"checkboxes, combo boxes, text fields and so on. See the :meth:`register` " |
| 2926 |
"method." |
| 2927 |
msgstr "" |
| 2928 |
|
| 2929 |
# 0f88943820a141e4905a37311813f991 |
| 2930 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2931 |
#: of calibre.gui2.preferences.ConfigWidgetBase:5 |
| 2932 |
msgid "" |
| 2933 |
"This class automatically handles change notification, resetting to default, " |
| 2934 |
"translation between gui objects and config objects, etc. for registered " |
| 2935 |
"settings." |
| 2936 |
msgstr "" |
| 2937 |
|
| 2938 |
# 6e7ed224d91a42dd8856ddc33acea8b6 |
| 2939 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2940 |
#: of calibre.gui2.preferences.ConfigWidgetBase:9 |
| 2941 |
msgid "" |
| 2942 |
"If your config widget inherits from this class but includes setting that are" |
| 2943 |
" not registered, you should override the :class:`ConfigWidgetInterface` " |
| 2944 |
"methods and call the base class methods inside the overrides." |
| 2945 |
msgstr "" |
| 2946 |
|
| 2947 |
# 5c4bdf7ae8304bc9b0184c06326e2885 |
| 2948 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2949 |
#: of calibre.gui2.preferences.ConfigWidgetBase.register:1 |
| 2950 |
msgid "Register a setting." |
| 2951 |
msgstr "" |
| 2952 |
|
| 2953 |
# ccae638bfd804bf8a12b489918cbc15d |
| 2954 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2955 |
#: of calibre.gui2.preferences.ConfigWidgetBase.register:3 |
| 2956 |
msgid "The setting name" |
| 2957 |
msgstr "" |
| 2958 |
|
| 2959 |
# 24b595e9b70244a49e9d49c43df5e22b |
| 2960 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2961 |
#: of calibre.gui2.preferences.ConfigWidgetBase.register:4 |
| 2962 |
msgid "The config object that reads/writes the setting" |
| 2963 |
msgstr "" |
| 2964 |
|
| 2965 |
# 1b1be5ee458f4c7785a32d350feecb14 |
| 2966 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2967 |
#: of calibre.gui2.preferences.ConfigWidgetBase.register:5 |
| 2968 |
msgid "" |
| 2969 |
"The name of the GUI object that presents an interface to change the setting." |
| 2970 |
" By default it is assumed to be ``'opt_' + name``." |
| 2971 |
msgstr "" |
| 2972 |
|
| 2973 |
# cb2aaa863e4e4856a4b7f43e64c6bb7d |
| 2974 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2975 |
#: of calibre.gui2.preferences.ConfigWidgetBase.register:8 |
| 2976 |
msgid "" |
| 2977 |
"If this setting is a multiple choice (combobox) based setting, the list of " |
| 2978 |
"choices. The list is a list of two element tuples of the form: ``[(gui name," |
| 2979 |
" value), ...]``" |
| 2980 |
msgstr "" |
| 2981 |
|
| 2982 |
# e120d66206e541ea93b61b3b89cd0aec |
| 2983 |
#: ../../home/kovid/work/calibre/src/calibre/gui2/preferences/__init__.pydocstring |
| 2984 |
#: of calibre.gui2.preferences.ConfigWidgetBase.register:11 |
| 2985 |
msgid "" |
| 2986 |
"The class responsible for managing this setting. The default class handles " |
| 2987 |
"almost all cases, so this param is rarely used." |
| 2988 |
msgstr "" |
| 2989 |
|
| 2990 |
# e28430bd06714181baf9ad4011d43e67 |
| 2991 |
#: ../../home/kovid/work/calibre/manual/plugins.rst:190 |
| 2992 |
msgid "Viewer plugins" |
| 2993 |
msgstr "" |
| 2994 |
|
| 2995 |
# aa50c7b775b54389b1be90d2e98bd3e7 |
| 2996 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 2997 |
#: calibre.customize.ViewerPlugin.type:1 |
| 2998 |
msgid "These plugins are used to add functionality to the calibre viewer." |
| 2999 |
msgstr "" |
| 3000 |
|
| 3001 |
# 3e6dce714ed5456baf1f228d78cf4def |
| 3002 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 3003 |
#: calibre.customize.ViewerPlugin.load_fonts:1 |
| 3004 |
msgid "" |
| 3005 |
"This method is called once at viewer startup. It should load any fonts it " |
| 3006 |
"wants to make available. For example::" |
| 3007 |
msgstr "" |
| 3008 |
|
| 3009 |
# e4d4c767526141b299703f0149e8fca6 |
| 3010 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 3011 |
#: calibre.customize.ViewerPlugin.load_javascript:1 |
| 3012 |
msgid "" |
| 3013 |
"This method is called every time a new HTML document is loaded in the " |
| 3014 |
"viewer. Use it to load javascript libraries into the viewer. For example::" |
| 3015 |
msgstr "" |
| 3016 |
|
| 3017 |
# ca6f89bf60344197800b320f6111df88 |
| 3018 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 3019 |
#: calibre.customize.ViewerPlugin.run_javascript:1 |
| 3020 |
msgid "" |
| 3021 |
"This method is called every time a document has finished loading. Use it in " |
| 3022 |
"the same way as load_javascript()." |
| 3023 |
msgstr "" |
| 3024 |
|
| 3025 |
# f1ec413a671141ada1f29f319b5cf84c |
| 3026 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 3027 |
#: calibre.customize.ViewerPlugin.customize_ui:1 |
| 3028 |
msgid "" |
| 3029 |
"This method is called once when the viewer is created. Use it to make any " |
| 3030 |
"customizations you want to the viewer's user interface. For example, you can" |
| 3031 |
" modify the toolbars via ui.tool_bar and ui.tool_bar2." |
| 3032 |
msgstr "" |
| 3033 |
|
| 3034 |
# fc2d36cfd1814a5e8de9841c497e49fa |
| 3035 |
#: ../../home/kovid/work/calibre/src/calibre/customize/__init__.pydocstring of |
| 3036 |
#: calibre.customize.ViewerPlugin.customize_context_menu:1 |
| 3037 |
msgid "" |
| 3038 |
"This method is called every time the context (right-click) menu is shown. " |
| 3039 |
"You can use it to customize the context menu. ``event`` is the context menu " |
| 3040 |
"event and hit_test_result is the QWebHitTestResult for this event in the " |
| 3041 |
"currently loaded document." |
| 3042 |
msgstr "" |