Debian Codegraph @

translations/manual/nn/plugins.po

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