Debian Codegraph @

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