Debian Codegraph @

translations/manual/pl/db_api.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 # Piotr Parafiniuk <[email protected]>, 2014-2015
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: calibre\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2023-04-20 08:11+0000\n"
12 "PO-Revision-Date: 2014-07-05 16:49+0000\n"
13 "Last-Translator: Piotr Parafiniuk <[email protected]>, 2014-2015\n"
14 "Language-Team: Polish (http://app.transifex.com/calibre/calibre/language/pl/)\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Language: pl\n"
19 "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
20
21 #: ../../__w/calibre/calibre/manual/db_api.rst:4
22 msgid "API documentation for the database interface"
23 msgstr ""
24
25 #: ../../__w/calibre/calibre/manual/db_api.rst:9
26 msgid ""
27 "This API is thread safe (it uses a multiple reader, single writer locking "
28 "scheme). You can access this API like this::"
29 msgstr ""
30
31 #: ../../__w/calibre/calibre/manual/db_api.rst:14
32 msgid ""
33 "If you are in a calibre plugin that is part of the main calibre GUI, you get"
34 " access to it like this instead::"
35 msgstr ""
36
37 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
38 #: calibre.db.cache.Cache:1
39 msgid ""
40 "An in-memory cache of the metadata.db file from a calibre library. This "
41 "class also serves as a threadsafe API for accessing the database. The in-"
42 "memory cache is maintained in normal form for maximum performance."
43 msgstr ""
44
45 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
46 #: calibre.db.cache.Cache:5
47 msgid ""
48 "SQLITE is simply used as a way to read and write from metadata.db robustly. "
49 "All table reading/sorting/searching/caching logic is re-implemented. This "
50 "was necessary for maximum performance and flexibility."
51 msgstr ""
52
53 #: ../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
54 #: calibre.db.listeners.EventType:1
55 msgid "An enumeration."
56 msgstr ""
57
58 #: ../../__w/calibre/calibre/manual/docstring of
59 #: calibre.db.cache.Cache.EventType.book_created:1
60 msgid ""
61 "When a new book record is created in the database, with the book id as the "
62 "only argument"
63 msgstr ""
64
65 #: ../../__w/calibre/calibre/manual/docstring of
66 #: calibre.db.cache.Cache.EventType.book_edited:1
67 msgid "When a book format is edited, with arguments: (book_id, fmt)"
68 msgstr ""
69
70 #: ../../__w/calibre/calibre/manual/docstring of
71 #: calibre.db.cache.Cache.EventType.books_removed:1
72 msgid ""
73 "When books are removed from the database with the list of book ids as the "
74 "only argument"
75 msgstr ""
76
77 #: ../../__w/calibre/calibre/manual/docstring of
78 #: calibre.db.cache.Cache.EventType.format_added:1
79 msgid "When a format is added to a book, with arguments: (book_id, format)"
80 msgstr ""
81
82 #: ../../__w/calibre/calibre/manual/docstring of
83 #: calibre.db.cache.Cache.EventType.formats_removed:1
84 msgid ""
85 "When formats are removed from a book, with arguments: (mapping of book id to"
86 " set of formats removed from the book)"
87 msgstr ""
88
89 #: ../../__w/calibre/calibre/manual/docstring of
90 #: calibre.db.cache.Cache.EventType.indexing_progress_changed:1
91 msgid "When the indexing progress changes"
92 msgstr ""
93
94 #: ../../__w/calibre/calibre/manual/docstring of
95 #: calibre.db.cache.Cache.EventType.items_removed:1
96 msgid ""
97 "When items such as tags or authors are removed from some books. Arguments: "
98 "(field_name, affected book ids, ids of removed items)"
99 msgstr ""
100
101 #: ../../__w/calibre/calibre/manual/docstring of
102 #: calibre.db.cache.Cache.EventType.items_renamed:1
103 msgid ""
104 "When items such as tags or authors are renamed in some or all books. "
105 "Arguments: (field_name, affected book ids, map of old item id to new item "
106 "id)"
107 msgstr ""
108
109 #: ../../__w/calibre/calibre/manual/docstring of
110 #: calibre.db.cache.Cache.EventType.metadata_changed:1
111 msgid ""
112 "When some metadata is changed for some books, with arguments: (name of "
113 "changed field, set of affected book ids)"
114 msgstr ""
115
116 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
117 #: calibre.db.cache.Cache.add_books:1
118 msgid ""
119 "Add the specified books to the library. Books should be an iterable of "
120 "2-tuples, each 2-tuple of the form :code:`(mi, format_map)` where mi is a "
121 "Metadata object and format_map is a dictionary of the form :code:`{fmt: "
122 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`."
123 msgstr ""
124
125 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
126 #: calibre.db.cache.Cache.add_books:6
127 msgid ""
128 "Returns a pair of lists: :code:`ids, duplicates`. ``ids`` contains the book "
129 "ids for all newly created books in the database. ``duplicates`` contains the"
130 " :code:`(mi, format_map)` for all books that already exist in the database "
131 "as per the simple duplicate detection heuristic used by :meth:`has_book`."
132 msgstr ""
133
134 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
135 #: calibre.db.cache.Cache.add_custom_book_data:1
136 msgid ""
137 "Add data for name where val_map is a map of book_ids to values. If "
138 "delete_first is True, all previously stored data for name will be removed."
139 msgstr ""
140
141 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
142 #: calibre.db.cache.Cache.add_extra_files:1
143 msgid "Add extra data files"
144 msgstr ""
145
146 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
147 #: calibre.db.cache.Cache.add_format:1
148 msgid ""
149 "Add a format to the specified book. Return True if the format was added "
150 "successfully."
151 msgstr ""
152
153 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
154 #: calibre.db.cache.Cache.add_format:0
155 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
156 #: calibre.db.cache.Cache.cover:0
157 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
158 #: calibre.db.cache.Cache.format:0
159 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
160 #: calibre.db.cache.Cache.format_metadata:0
161 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
162 #: calibre.db.cache.Cache.get_all_link_maps_for_book:0
163 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
164 #: calibre.db.cache.Cache.get_link_map:0
165 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
166 #: calibre.db.cache.Cache.get_next_series_num_for:0
167 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
168 #: calibre.db.cache.Cache.remove_formats:0
169 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
170 #: calibre.db.cache.Cache.rename_items:0
171 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
172 #: calibre.db.cache.Cache.search:0
173 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
174 #: calibre.db.cache.Cache.set_field:0
175 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
176 #: calibre.db.cache.Cache.set_link_map:0
177 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
178 #: calibre.db.cache.Cache.tags_older_than:0
179 msgid "Parameters"
180 msgstr "Parametry"
181
182 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
183 #: calibre.db.cache.Cache.add_format:3
184 msgid ""
185 "If True replace existing format, otherwise if the format already exists, "
186 "return False."
187 msgstr ""
188
189 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
190 #: calibre.db.cache.Cache.add_format:4
191 msgid ""
192 "If True, file type plugins are run on the format before and after being "
193 "added."
194 msgstr ""
195
196 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
197 #: calibre.db.cache.Cache.add_format:5
198 msgid "Internal use only."
199 msgstr "Tylko do użytku wewnętrznego"
200
201 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
202 #: calibre.db.cache.Cache.add_listener:1
203 msgid ""
204 "Register a callback function that will be called after certain actions are "
205 "taken on this database. The function must take three arguments: "
206 "(:class:`EventType`, library_id, event_type_specific_data)"
207 msgstr ""
208
209 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
210 #: calibre.db.cache.Cache.all_book_ids:1
211 msgid "Frozen set of all known book ids."
212 msgstr ""
213
214 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
215 #: calibre.db.cache.Cache.all_field_for:1
216 msgid "Same as field_for, except that it operates on multiple books at once"
217 msgstr ""
218
219 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
220 #: calibre.db.cache.Cache.all_field_ids:1
221 msgid "Frozen set of ids for all values in the field ``name``."
222 msgstr ""
223
224 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
225 #: calibre.db.cache.Cache.all_field_names:1
226 msgid ""
227 "Frozen set of all fields names (should only be used for many-one and many-"
228 "many fields)"
229 msgstr ""
230
231 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
232 #: calibre.db.cache.Cache.author_data:1
233 msgid "Return author data as a dictionary with keys: name, sort, link"
234 msgstr ""
235
236 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
237 #: calibre.db.cache.Cache.author_data:3
238 msgid ""
239 "If no authors with the specified ids are found an empty dictionary is "
240 "returned. If author_ids is None, data for all authors is returned."
241 msgstr ""
242
243 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
244 #: calibre.db.cache.Cache.author_sort_from_authors:1
245 msgid ""
246 "Given a list of authors, return the author_sort string for the authors, "
247 "preferring the author sort associated with the author over the computed "
248 "string."
249 msgstr ""
250
251 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
252 #: calibre.db.cache.Cache.books_for_field:1
253 msgid ""
254 "Return all the books associated with the item identified by ``item_id``, "
255 "where the item belongs to the field ``name``."
256 msgstr ""
257
258 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
259 #: calibre.db.cache.Cache.books_for_field:4
260 msgid ""
261 "Returned value is a set of book ids, or the empty set if the item or the "
262 "field does not exist."
263 msgstr ""
264
265 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
266 #: calibre.db.cache.Cache.books_in_virtual_library:1
267 msgid "Return the set of books in the specified virtual library"
268 msgstr ""
269
270 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
271 #: calibre.db.cache.Cache.compress_covers:1
272 msgid ""
273 "Compress the cover images for the specified books. A compression quality of "
274 "100 will perform lossless compression, otherwise lossy compression."
275 msgstr ""
276
277 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
278 #: calibre.db.cache.Cache.compress_covers:4
279 msgid ""
280 "The progress callback will be called with the book_id and the old and new "
281 "sizes for each book that has been processed. If an error occurs, the new "
282 "size will be a string with the error details."
283 msgstr ""
284
285 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
286 #: calibre.db.cache.Cache.copy_cover_to:1
287 msgid ""
288 "Copy the cover to the file like object ``dest``. Returns False if no cover "
289 "exists or dest is the same file as the current cover. dest can also be a "
290 "path in which case the cover is copied to it if and only if the path is "
291 "different from the current path (taking case sensitivity into account)."
292 msgstr ""
293
294 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
295 #: calibre.db.cache.Cache.copy_format_to:1
296 msgid ""
297 "Copy the format ``fmt`` to the file like object ``dest``. If the specified "
298 "format does not exist, raises :class:`NoSuchFormat` error. dest can also be "
299 "a path (to a file), in which case the format is copied to it, iff the path "
300 "is different from the current path (taking case sensitivity into account)."
301 msgstr ""
302
303 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
304 #: calibre.db.cache.Cache.cover:1
305 msgid ""
306 "Return the cover image or None. By default, returns the cover as a "
307 "bytestring."
308 msgstr ""
309
310 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
311 #: calibre.db.cache.Cache.cover:4
312 msgid ""
313 "WARNING: Using as_path will copy the cover to a temp file and return the "
314 "path to the temp file. You should delete the temp file when you are done "
315 "with it."
316 msgstr ""
317
318 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
319 #: calibre.db.cache.Cache.cover:8
320 msgid ""
321 "If True return the image as an open file object (a SpooledTemporaryFile)"
322 msgstr ""
323
324 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
325 #: calibre.db.cache.Cache.cover:9
326 msgid "If True return the image as a QImage object"
327 msgstr "Jeśli jest ustawiony na True, grafika jest zwracana w postaci obiektu QImage"
328
329 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
330 #: calibre.db.cache.Cache.cover:10
331 msgid "If True return the image as a QPixmap object"
332 msgstr ""
333
334 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
335 #: calibre.db.cache.Cache.cover:11
336 msgid "If True return the image as a path pointing to a temporary file"
337 msgstr ""
338
339 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
340 #: calibre.db.cache.Cache.data_for_find_identical_books:1
341 msgid ""
342 "Return data that can be used to implement :meth:`find_identical_books` in a "
343 "worker process without access to the db. See db.utils for an implementation."
344 msgstr ""
345
346 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
347 #: calibre.db.cache.Cache.data_for_has_book:1
348 msgid ""
349 "Return data suitable for use in :meth:`has_book`. This can be used for an "
350 "implementation of :meth:`has_book` in a worker process without access to the"
351 " db."
352 msgstr ""
353
354 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
355 #: calibre.db.cache.Cache.delete_custom_book_data:1
356 msgid ""
357 "Delete data for name. By default deletes all data, if you only want to "
358 "delete data for some book ids, pass in a list of book ids."
359 msgstr ""
360
361 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
362 #: calibre.db.cache.Cache.delete_trash_entry:1
363 msgid ""
364 "Delete an entry from the trash. Here category is 'b' for books and 'f' for "
365 "formats."
366 msgstr ""
367
368 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
369 #: calibre.db.cache.Cache.embed_metadata:1
370 msgid ""
371 "Update metadata in all formats of the specified book_ids to current metadata"
372 " in the database."
373 msgstr ""
374
375 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
376 #: calibre.db.cache.Cache.expire_old_trash:1
377 msgid "Expire entries from the trash that are too old"
378 msgstr ""
379
380 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
381 #: calibre.db.cache.Cache.fast_field_for:1
382 msgid ""
383 "Same as field_for, except that it avoids the extra lookup to get the field "
384 "object"
385 msgstr ""
386
387 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
388 #: calibre.db.cache.Cache.field_for:1
389 msgid ""
390 "Return the value of the field ``name`` for the book identified by "
391 "``book_id``. If no such book exists or it has no defined value for the field"
392 " ``name`` or no such field exists, then ``default_value`` is returned."
393 msgstr ""
394
395 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
396 #: calibre.db.cache.Cache.field_for:6
397 msgid ""
398 "``default_value`` is not used for title, title_sort, authors, author_sort "
399 "and series_index. This is because these always have values in the db. "
400 "``default_value`` is used for all custom columns."
401 msgstr ""
402
403 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
404 #: calibre.db.cache.Cache.field_for:10
405 msgid ""
406 "The returned value for is_multiple fields are always tuples, even when no "
407 "values are found (in other words, default_value is ignored). The exception "
408 "is identifiers for which the returned value is always a dictionary. The "
409 "returned tuples are always in link order, that is, the order in which they "
410 "were created."
411 msgstr ""
412
413 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
414 #: calibre.db.cache.Cache.field_ids_for:1
415 msgid ""
416 "Return the ids (as a tuple) for the values that the field ``name`` has on "
417 "the book identified by ``book_id``. If there are no values, or no such book,"
418 " or no such field, an empty tuple is returned."
419 msgstr ""
420
421 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
422 #: calibre.db.cache.Cache.find_identical_books:1
423 msgid ""
424 "Finds books that have a superset of the authors in mi and the same title "
425 "(title is fuzzy matched). See also :meth:`data_for_find_identical_books`."
426 msgstr ""
427
428 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
429 #: calibre.db.cache.Cache.format:1
430 msgid ""
431 "Return the e-book format as a bytestring or `None` if the format doesn't "
432 "exist, or we don't have permission to write to the e-book file."
433 msgstr ""
434
435 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
436 #: calibre.db.cache.Cache.format:4
437 msgid ""
438 "If True the e-book format is returned as a file object. Note that the file "
439 "object is a SpooledTemporaryFile, so if what you want to do is copy the "
440 "format to another file, use :meth:`copy_format_to` instead for performance."
441 msgstr ""
442
443 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
444 #: calibre.db.cache.Cache.format:8
445 msgid ""
446 "Copies the format file to a temp file and returns the path to the temp file"
447 msgstr ""
448
449 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
450 #: calibre.db.cache.Cache.format:10
451 msgid ""
452 "If True and returning a path the filename is the same as that used in the "
453 "library. Note that using this means that repeated calls yield the same temp "
454 "file (which is re-created each time)"
455 msgstr ""
456
457 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
458 #: calibre.db.cache.Cache.format_abspath:1
459 msgid ""
460 "Return absolute path to the e-book file of format `format`. You should "
461 "almost never use this, as it breaks the threadsafe promise of this API. "
462 "Instead use, :meth:`copy_format_to`."
463 msgstr ""
464
465 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
466 #: calibre.db.cache.Cache.format_abspath:5
467 msgid ""
468 "Currently used only in calibredb list, the viewer, edit book, compare_format"
469 " to original format, open with, bulk metadata edit and the catalogs (via "
470 "get_data_as_dict())."
471 msgstr ""
472
473 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
474 #: calibre.db.cache.Cache.format_abspath:9
475 msgid ""
476 "Apart from the viewer, open with and edit book, I don't believe any of the "
477 "others do any file write I/O with the results of this call."
478 msgstr ""
479
480 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
481 #: calibre.db.cache.Cache.format_hash:1
482 msgid ""
483 "Return the hash of the specified format for the specified book. The kind of "
484 "hash is backend dependent, but is usually SHA-256."
485 msgstr ""
486
487 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
488 #: calibre.db.cache.Cache.format_metadata:1
489 msgid ""
490 "Return the path, size and mtime for the specified format for the specified "
491 "book. You should not use path unless you absolutely have to, since accessing"
492 " it directly breaks the threadsafe guarantees of this API. Instead use the "
493 ":meth:`copy_format_to` method."
494 msgstr ""
495
496 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
497 #: calibre.db.cache.Cache.format_metadata:6
498 msgid ""
499 "If ``True`` cached values are used, otherwise a slow filesystem access is "
500 "done. The cache values could be out of date if access was performed to the "
501 "filesystem outside of this API."
502 msgstr ""
503
504 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
505 #: calibre.db.cache.Cache.format_metadata:10
506 msgid ""
507 "If ``True`` The max_size field of the database is updated for this book."
508 msgstr ""
509
510 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
511 #: calibre.db.cache.Cache.formats:1
512 msgid ""
513 "Return tuple of all formats for the specified book. If verify_formats is "
514 "True, verifies that the files exist on disk."
515 msgstr ""
516
517 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
518 #: calibre.db.cache.Cache.get_all_link_maps_for_book:1
519 msgid ""
520 "Returns all links for all fields referenced by book identified by book_id. "
521 "If book_id doesn't exist then the method returns {}."
522 msgstr ""
523
524 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
525 #: calibre.db.cache.Cache.get_all_link_maps_for_book:4
526 msgid ""
527 "Example: Assume author A has link X, author B has link Y, tag S has link F, "
528 "and tag T has link G. If book 1 has author A and tag T, this method returns "
529 "{'authors':{'A':'X'}, 'tags':{'T', 'G'}} If book 2's author is neither A nor"
530 " B and has no tags, this method returns {}"
531 msgstr ""
532
533 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
534 #: calibre.db.cache.Cache.get_all_link_maps_for_book:9
535 msgid "the book id in question."
536 msgstr ""
537
538 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
539 #: calibre.db.cache.Cache.get_all_link_maps_for_book:0
540 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
541 #: calibre.db.cache.Cache.get_link_map:0
542 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
543 #: calibre.db.cache.Cache.remove_formats:0
544 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
545 #: calibre.db.cache.Cache.set_link_map:0
546 msgid "Returns"
547 msgstr "Zwroty"
548
549 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
550 #: calibre.db.cache.Cache.get_all_link_maps_for_book:11
551 msgid ""
552 "{field: {field_value, link_value}, ... for all fields with a field_value "
553 "having a non-empty link value for that book"
554 msgstr ""
555
556 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
557 #: calibre.db.cache.Cache.get_categories:1
558 msgid "Used internally to implement the Tag Browser"
559 msgstr ""
560
561 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
562 #: calibre.db.cache.Cache.get_custom_book_data:1
563 msgid ""
564 "Get data for name. By default returns data for all book_ids, pass in a list "
565 "of book ids if you only want some data. Returns a map of book_id to values. "
566 "If a particular value could not be decoded, uses default for it."
567 msgstr ""
568
569 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
570 #: calibre.db.cache.Cache.get_id_map:1
571 msgid ""
572 "Return a mapping of id numbers to values for the specified field. The field "
573 "must be a many-one or many-many field, otherwise a ValueError is raised."
574 msgstr ""
575
576 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
577 #: calibre.db.cache.Cache.get_ids_for_custom_book_data:1
578 msgid "Return the set of book ids for which name has data."
579 msgstr ""
580
581 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
582 #: calibre.db.cache.Cache.get_item_id:1
583 msgid ""
584 "Return the item id for item_name (case-insensitive) or None if not found"
585 msgstr ""
586
587 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
588 #: calibre.db.cache.Cache.get_item_ids:1
589 msgid "Return the item id for item_name (case-insensitive)"
590 msgstr ""
591
592 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
593 #: calibre.db.cache.Cache.get_item_name:1
594 msgid ""
595 "Return the item name for the item specified by item_id in the specified "
596 "field. See also :meth:`get_id_map`."
597 msgstr ""
598
599 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
600 #: calibre.db.cache.Cache.get_link_map:1
601 msgid "Return a dict of links for the supplied field."
602 msgstr ""
603
604 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
605 #: calibre.db.cache.Cache.get_link_map:3
606 msgid "the lookup name of the field for which the link map is desired"
607 msgstr ""
608
609 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
610 #: calibre.db.cache.Cache.get_link_map:5
611 msgid "{field_value:link_value, ...} for non-empty links"
612 msgstr ""
613
614 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
615 #: calibre.db.cache.Cache.get_metadata:1
616 msgid ""
617 "Return metadata for the book identified by book_id as a "
618 ":class:`calibre.ebooks.metadata.book.base.Metadata` object. Note that the "
619 "list of formats is not verified. If get_cover is True, the cover is "
620 "returned, either a path to temp file as mi.cover or if cover_as_data is True"
621 " then as mi.cover_data."
622 msgstr ""
623
624 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
625 #: calibre.db.cache.Cache.get_next_series_num_for:1
626 msgid ""
627 "Return the next series index for the specified series, taking into account "
628 "the various preferences that control next series number generation."
629 msgstr ""
630
631 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
632 #: calibre.db.cache.Cache.get_next_series_num_for:4
633 msgid "The series-like field (defaults to the builtin series column)"
634 msgstr ""
635
636 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
637 #: calibre.db.cache.Cache.get_next_series_num_for:5
638 msgid ""
639 "If True, returns a mapping of book_id to current series_index value instead."
640 msgstr ""
641
642 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
643 #: calibre.db.cache.Cache.get_proxy_metadata:1
644 msgid ""
645 "Like :meth:`get_metadata` except that it returns a ProxyMetadata object that"
646 " only reads values from the database on demand. This is much faster than "
647 "get_metadata when only a small number of fields need to be accessed from the"
648 " returned metadata object."
649 msgstr ""
650
651 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
652 #: calibre.db.cache.Cache.get_usage_count_by_id:1
653 msgid ""
654 "Return a mapping of id to usage count for all values of the specified field,"
655 " which must be a many-one or many-many field."
656 msgstr ""
657
658 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
659 #: calibre.db.cache.Cache.has_book:1
660 msgid ""
661 "Return True iff the database contains an entry with the same title as the "
662 "passed in Metadata object. The comparison is case-insensitive. See also "
663 ":meth:`data_for_has_book`."
664 msgstr ""
665
666 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
667 #: calibre.db.cache.Cache.has_format:1
668 msgid "Return True iff the format exists on disk"
669 msgstr "Zwraca True jeśli format istnieje"
670
671 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
672 #: calibre.db.cache.Cache.has_id:1
673 msgid "Return True iff the specified book_id exists in the db"
674 msgstr ""
675
676 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
677 #: calibre.db.cache.Cache.init:1
678 msgid "Initialize this cache with data from the backend."
679 msgstr ""
680
681 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
682 #: calibre.db.cache.Cache.list_extra_files_matching:1
683 msgid ""
684 "List extra data files matching the specified pattern. Empty pattern matches "
685 "all. Recursive globbing with ** is supported."
686 msgstr ""
687
688 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
689 #: calibre.db.cache.Cache.move_book_from_trash:1
690 msgid "Undelete a book from the trash directory"
691 msgstr ""
692
693 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
694 #: calibre.db.cache.Cache.move_format_from_trash:1
695 msgid "Undelete a format from the trash directory"
696 msgstr ""
697
698 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
699 #: calibre.db.cache.Cache.multisort:1
700 msgid ""
701 "Return a list of sorted book ids. If ids_to_sort is None, all book ids are "
702 "returned."
703 msgstr ""
704
705 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
706 #: calibre.db.cache.Cache.multisort:4
707 msgid ""
708 "fields must be a list of 2-tuples of the form (field_name, ascending=True or"
709 " False). The most significant field is the first 2-tuple."
710 msgstr ""
711
712 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
713 #: calibre.db.cache.Cache.pref:1
714 msgid ""
715 "Return the value for the specified preference or the value specified as "
716 "``default`` if the preference is not set."
717 msgstr ""
718
719 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
720 #: calibre.db.cache.Cache.read_backup:1
721 msgid ""
722 "Return the OPF metadata backup for the book as a bytestring or None if no "
723 "such backup exists."
724 msgstr ""
725
726 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
727 #: calibre.db.cache.Cache.remove_books:1
728 msgid ""
729 "Remove the books specified by the book_ids from the database and delete "
730 "their format files. If ``permanent`` is False, then the format files are "
731 "placed in the per-library trash directory."
732 msgstr ""
733
734 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
735 #: calibre.db.cache.Cache.remove_formats:1
736 msgid "Remove the specified formats from the specified books."
737 msgstr ""
738
739 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
740 #: calibre.db.cache.Cache.remove_formats:3
741 msgid "A mapping of book_id to a list of formats to be removed from the book."
742 msgstr ""
743
744 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
745 #: calibre.db.cache.Cache.remove_formats:4
746 msgid ""
747 "If True, only remove the record for the format from the db, do not delete "
748 "the actual format file from the filesystem."
749 msgstr ""
750
751 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
752 #: calibre.db.cache.Cache.remove_formats:5
753 msgid ""
754 "A map of book id to set of formats actually deleted from the filesystem for "
755 "that book"
756 msgstr ""
757
758 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
759 #: calibre.db.cache.Cache.remove_items:1
760 msgid ""
761 "Delete all items in the specified field with the specified ids. Returns the "
762 "set of affected book ids. ``restrict_to_book_ids`` is an optional set of "
763 "books ids. If specified the items will only be removed from those books."
764 msgstr ""
765
766 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
767 #: calibre.db.cache.Cache.rename_items:1
768 msgid ""
769 "Rename items from a many-one or many-many field such as tags or series."
770 msgstr ""
771
772 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
773 #: calibre.db.cache.Cache.rename_items:3
774 msgid ""
775 "When renaming in a series-like field also change the series_index values."
776 msgstr ""
777
778 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
779 #: calibre.db.cache.Cache.rename_items:4
780 msgid ""
781 "An optional set of book ids for which the rename is to be performed, "
782 "defaults to all books."
783 msgstr ""
784
785 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
786 #: calibre.db.cache.Cache.restore_book:1
787 msgid ""
788 "Restore the book entry in the database for a book that already exists on the"
789 " filesystem"
790 msgstr ""
791
792 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
793 #: calibre.db.cache.Cache.restore_original_format:1
794 msgid ""
795 "Restore the specified format from the previously saved ORIGINAL_FORMAT, if "
796 "any. Return True on success. The ORIGINAL_FORMAT is deleted after a "
797 "successful restore."
798 msgstr ""
799
800 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
801 #: calibre.db.cache.Cache.safe_read_lock:1
802 msgid ""
803 "A safe read lock is a lock that does nothing if the thread already has a "
804 "write lock, otherwise it acquires a read lock. This is necessary to prevent "
805 "DowngradeLockErrors, which can happen when updating the search cache in the "
806 "presence of composite columns. Updating the search cache holds an exclusive "
807 "lock, but searching a composite column involves reading field values via "
808 "ProxyMetadata which tries to get a shared lock. There may be other scenarios"
809 " that trigger this as well."
810 msgstr ""
811
812 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
813 #: calibre.db.cache.Cache.safe_read_lock:9
814 msgid ""
815 "This property returns a new lock object on every access. This lock object is"
816 " not recursive (for performance) and must only be used in a with statement "
817 "as ``with cache.safe_read_lock:`` otherwise bad things will happen."
818 msgstr ""
819
820 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
821 #: calibre.db.cache.Cache.save_original_format:1
822 msgid ""
823 "Save a copy of the specified format as ORIGINAL_FORMAT, overwriting any "
824 "existing ORIGINAL_FORMAT."
825 msgstr ""
826
827 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
828 #: calibre.db.cache.Cache.search:1
829 msgid ""
830 "Search the database for the specified query, returning a set of matched book"
831 " ids."
832 msgstr ""
833
834 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
835 #: calibre.db.cache.Cache.search:3
836 msgid ""
837 "A restriction that is ANDed to the specified query. Note that restrictions "
838 "are cached, therefore the search for a AND b will be slower than a with "
839 "restriction b."
840 msgstr ""
841
842 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
843 #: calibre.db.cache.Cache.search:6
844 msgid "Used internally (virtual fields such as on_device to search over)."
845 msgstr ""
846
847 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
848 #: calibre.db.cache.Cache.search:8
849 msgid ""
850 "If not None, a set of book ids for which books will be searched instead of "
851 "searching all books."
852 msgstr ""
853
854 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
855 #: calibre.db.cache.Cache.set_conversion_options:1
856 msgid "options must be a map of the form {book_id:conversion_options}"
857 msgstr ""
858
859 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
860 #: calibre.db.cache.Cache.set_cover:1
861 msgid ""
862 "Set the cover for this book. The data can be either a QImage, QPixmap, file "
863 "object or bytestring. It can also be None, in which case any existing cover "
864 "is removed."
865 msgstr ""
866
867 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
868 #: calibre.db.cache.Cache.set_field:1
869 msgid ""
870 "Set the values of the field specified by ``name``. Returns the set of all "
871 "book ids that were affected by the change."
872 msgstr ""
873
874 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
875 #: calibre.db.cache.Cache.set_field:3
876 msgid "Mapping of book_ids to values that should be applied."
877 msgstr ""
878
879 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
880 #: calibre.db.cache.Cache.set_field:4
881 msgid ""
882 "If True, the case of many-one or many-many fields will be changed. For "
883 "example, if a book has the tag ``tag1`` and you set the tag for another "
884 "book to ``Tag1`` then the both books will have the tag ``Tag1`` if "
885 "allow_case_change is True, otherwise they will both have the tag ``tag1``."
886 msgstr ""
887
888 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
889 #: calibre.db.cache.Cache.set_field:8
890 msgid "Used internally, you should never change it."
891 msgstr "Używane wewnętrznie, nie należy go zmieniać"
892
893 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
894 #: calibre.db.cache.Cache.set_link_map:1
895 msgid ""
896 "Sets links for item values in field Note: this method doesn't change values "
897 "not in the value_to_link_map"
898 msgstr ""
899
900 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
901 #: calibre.db.cache.Cache.set_link_map:4
902 msgid "the lookup name"
903 msgstr ""
904
905 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
906 #: calibre.db.cache.Cache.set_link_map:5
907 msgid ""
908 "dict(field_value:link, ...). Note that these are values, not field ids."
909 msgstr ""
910
911 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
912 #: calibre.db.cache.Cache.set_link_map:7
913 msgid "books changed by setting the link"
914 msgstr ""
915
916 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
917 #: calibre.db.cache.Cache.set_metadata:1
918 msgid "Set metadata for the book `id` from the `Metadata` object `mi`"
919 msgstr ""
920
921 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
922 #: calibre.db.cache.Cache.set_metadata:3
923 msgid ""
924 "Setting force_changes=True will force set_metadata to update fields even if "
925 "mi contains empty values. In this case, 'None' is distinguished from "
926 "'empty'. If mi.XXX is None, the XXX is not replaced, otherwise it is. The "
927 "tags, identifiers, and cover attributes are special cases. Tags and "
928 "identifiers cannot be set to None so they will always be replaced if "
929 "force_changes is true. You must ensure that mi contains the values you want "
930 "the book to have. Covers are always changed if a new cover is provided, but "
931 "are never deleted. Also note that force_changes has no effect on setting "
932 "title or authors."
933 msgstr ""
934
935 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
936 #: calibre.db.cache.Cache.set_pref:1
937 msgid ""
938 "Set the specified preference to the specified value. See also :meth:`pref`."
939 msgstr ""
940
941 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
942 #: calibre.db.cache.Cache.split_if_is_multiple_composite:1
943 msgid ""
944 "If f is a composite column lookup key and the column is is_multiple then "
945 "split v into unique non-empty values. The comparison is case sensitive. "
946 "Order is not preserved. Return a list() for compatibility with proxy "
947 "metadata field getters, for example tags."
948 msgstr ""
949
950 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
951 #: calibre.db.cache.Cache.tags_older_than:1
952 msgid ""
953 "Return the ids of all books having the tag ``tag`` that are older than the "
954 "specified time. tag comparison is case insensitive."
955 msgstr ""
956
957 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
958 #: calibre.db.cache.Cache.tags_older_than:4
959 msgid ""
960 "A timedelta object or None. If None, then all ids with the tag are returned."
961 msgstr ""
962
963 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
964 #: calibre.db.cache.Cache.tags_older_than:7
965 msgid ""
966 "If not None the list of matches will be restricted to books that have this "
967 "tag"
968 msgstr ""
969
970 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
971 #: calibre.db.cache.Cache.tags_older_than:10
972 msgid ""
973 "A list of authors. If not None the list of matches will be restricted to "
974 "books that have these authors (case insensitive)."
975 msgstr ""
976
977 #: ../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
978 #: calibre.db.cache.Cache.user_categories_for_books:1
979 msgid ""
980 "Return the user categories for the specified books. proxy_metadata_map is "
981 "optional and is useful for a performance boost, in contexts where a "
982 "ProxyMetadata object for the books already exists. It should be a mapping of"
983 " book_ids to their corresponding ProxyMetadata objects."
984 msgstr ""