Debian Codegraph @

translations/manual/nn/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 msgid ""
7 msgstr ""
8 "Project-Id-Version: calibre\n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2026-08-06 04:29+0000\n"
11 "PO-Revision-Date: 2014-07-05 16:49+0000\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: Norwegian Nynorsk (http://app.transifex.com/calibre/calibre/language/nn/)\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Language: nn\n"
18 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
20 #: ../../../__w/calibre/calibre/manual/db_api.rst:4
21 msgid "API documentation for the database interface"
22 msgstr ""
23
24 #: ../../../__w/calibre/calibre/manual/db_api.rst:9
25 msgid ""
26 "This API is thread safe (it uses a multiple reader, single writer locking "
27 "scheme). You can access this API like this::"
28 msgstr ""
29
30 #: ../../../__w/calibre/calibre/manual/db_api.rst:14
31 msgid ""
32 "If you are in a calibre plugin that is part of the main calibre GUI, you get"
33 " access to it like this instead::"
34 msgstr ""
35
36 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
37 #: calibre.db.cache.Cache:1
38 msgid ""
39 "An in-memory cache of the metadata.db file from a calibre library. This "
40 "class also serves as a threadsafe API for accessing the database. The in-"
41 "memory cache is maintained in normal form for maximum performance."
42 msgstr ""
43
44 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
45 #: calibre.db.cache.Cache:5
46 msgid ""
47 "SQLITE is simply used as a way to read and write from metadata.db robustly. "
48 "All table reading/sorting/searching/caching logic is re-implemented. This "
49 "was necessary for maximum performance and flexibility."
50 msgstr ""
51
52 #: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
53 #: calibre.db.cache.Cache.EventType.book_created:1
54 msgid ""
55 "When a new book record is created in the database, with the book id as the "
56 "only argument"
57 msgstr ""
58
59 #: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
60 #: calibre.db.cache.Cache.EventType.book_edited:1
61 msgid "When a book format is edited, with arguments: (book_id, fmt)"
62 msgstr ""
63
64 #: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
65 #: calibre.db.cache.Cache.EventType.books_removed:1
66 msgid ""
67 "When books are removed from the database with the list of book ids as the "
68 "only argument"
69 msgstr ""
70
71 #: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
72 #: calibre.db.cache.Cache.EventType.format_added:1
73 msgid "When a format is added to a book, with arguments: (book_id, format)"
74 msgstr ""
75
76 #: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
77 #: calibre.db.cache.Cache.EventType.formats_removed:1
78 msgid ""
79 "When formats are removed from a book, with arguments: (mapping of book id to"
80 " set of formats removed from the book)"
81 msgstr ""
82
83 #: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
84 #: calibre.db.cache.Cache.EventType.indexing_progress_changed:1
85 msgid "When the indexing progress changes"
86 msgstr ""
87
88 #: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
89 #: calibre.db.cache.Cache.EventType.items_removed:1
90 msgid ""
91 "When items such as tags or authors are removed from some books. Arguments: "
92 "(field_name, affected book ids, ids of removed items)"
93 msgstr ""
94
95 #: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
96 #: calibre.db.cache.Cache.EventType.items_renamed:1
97 msgid ""
98 "When items such as tags or authors are renamed in some or all books. "
99 "Arguments: (field_name, affected book ids, map of old item id to new item "
100 "id)"
101 msgstr ""
102
103 #: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
104 #: calibre.db.cache.Cache.EventType.links_changed:1
105 msgid ""
106 "When the links associated with items(s) are changed, with arguments: "
107 "(field_name, item_ids)"
108 msgstr ""
109
110 #: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
111 #: calibre.db.cache.Cache.EventType.metadata_changed:1
112 msgid ""
113 "When some metadata is changed for some books, with arguments: (name of "
114 "changed field, set of affected book ids)"
115 msgstr ""
116
117 #: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of
118 #: calibre.db.cache.Cache.EventType.notes_changed:1
119 msgid ""
120 "When the notes associated with item(s) are changed, with arguments: "
121 "(field_name, item_ids)"
122 msgstr ""
123
124 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
125 #: calibre.db.cache.Cache.add_books:1
126 msgid ""
127 "Add the specified books to the library. Books should be an iterable of "
128 "2-tuples, each 2-tuple of the form :code:`(mi, format_map)` where mi is a "
129 "Metadata object and format_map is a dictionary of the form :code:`{fmt: "
130 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`."
131 msgstr ""
132
133 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
134 #: calibre.db.cache.Cache.add_books:6
135 msgid ""
136 "Returns a pair of lists: :code:`ids, duplicates`. ``ids`` contains the book "
137 "ids for all newly created books in the database. ``duplicates`` contains the"
138 " :code:`(mi, format_map)` for all books that already exist in the database "
139 "as per the simple duplicate detection heuristic used by :meth:`has_book`."
140 msgstr ""
141
142 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
143 #: calibre.db.cache.Cache.add_custom_book_data:1
144 msgid ""
145 "Add data for name where val_map is a map of book_ids to values. If "
146 "delete_first is True, all previously stored data for name will be removed."
147 msgstr ""
148
149 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
150 #: calibre.db.cache.Cache.add_extra_files:1
151 msgid "Add extra data files"
152 msgstr ""
153
154 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
155 #: calibre.db.cache.Cache.add_format:1
156 msgid ""
157 "Add a format to the specified book. Return True if the format was added "
158 "successfully."
159 msgstr ""
160
161 #: ../../../__w/calibre/calibre/manual/db_api.rst:0
162 msgid "Parameters"
163 msgstr "Parameter"
164
165 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
166 #: calibre.db.cache.Cache.add_format:3
167 msgid ""
168 "If True replace existing format, otherwise if the format already exists, "
169 "return False."
170 msgstr ""
171
172 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
173 #: calibre.db.cache.Cache.add_format:4
174 msgid ""
175 "If True, file type plugins are run on the format before and after being "
176 "added."
177 msgstr ""
178
179 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
180 #: calibre.db.cache.Cache.add_format:5
181 msgid "Internal use only."
182 msgstr ""
183
184 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
185 #: calibre.db.cache.Cache.add_listener:1
186 msgid ""
187 "Register a callback function that will be called after certain actions are "
188 "taken on this database. The function must take three arguments: "
189 "(:class:`EventType`, library_id, event_type_specific_data)"
190 msgstr ""
191
192 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
193 #: calibre.db.cache.Cache.add_notes_resource:1
194 msgid ""
195 "Add the specified resource so it can be referenced by notes and return its "
196 "content hash"
197 msgstr ""
198
199 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
200 #: calibre.db.cache.Cache.all_annotation_styles:1
201 msgid "Return a tuple of all built-in annotation styles."
202 msgstr ""
203
204 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
205 #: calibre.db.cache.Cache.all_annotation_types:1
206 msgid "Return a tuple of all annotation types in the database."
207 msgstr ""
208
209 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
210 #: calibre.db.cache.Cache.all_annotation_users:1
211 msgid "Return a tuple of all (user_type, user name) that have annotations."
212 msgstr ""
213
214 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
215 #: calibre.db.cache.Cache.all_annotations:1
216 msgid ""
217 "Return a tuple of all annotations matching the specified criteria. "
218 "`ignore_removed` controls whether removed (deleted) annotations are also "
219 "returned. Removed annotations are just a skeleton used for merging of "
220 "annotations."
221 msgstr ""
222
223 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
224 #: calibre.db.cache.Cache.all_annotations_for_book:1
225 msgid ""
226 "Return a tuple containing all annotations for the specified book_id as a "
227 "dict with keys: `format`, `user_type`, `user`, `annotation`. Here, "
228 "annotation is the annotation data."
229 msgstr ""
230
231 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
232 #: calibre.db.cache.Cache.all_book_ids:1
233 msgid "Frozen set of all known book ids."
234 msgstr ""
235
236 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
237 #: calibre.db.cache.Cache.all_field_for:1
238 msgid "Same as field_for, except that it operates on multiple books at once"
239 msgstr ""
240
241 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
242 #: calibre.db.cache.Cache.all_field_ids:1
243 msgid "Frozen set of ids for all values in the field ``name``."
244 msgstr ""
245
246 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
247 #: calibre.db.cache.Cache.all_field_names:1
248 msgid ""
249 "Frozen set of all fields names (should only be used for many-one and many-"
250 "many fields)"
251 msgstr ""
252
253 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
254 #: calibre.db.cache.Cache.annotation_count_for_book:1
255 msgid ""
256 "Return the number of annotations for the specified book available in the "
257 "database."
258 msgstr ""
259
260 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
261 #: calibre.db.cache.Cache.annotations_map_for_book:1
262 msgid ""
263 "Return a map of annotation type -> annotation data for the specified "
264 "book_id, format, user and user_type."
265 msgstr ""
266
267 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
268 #: calibre.db.cache.Cache.author_data:1
269 msgid "Return author data as a dictionary with keys: name, sort, link"
270 msgstr ""
271
272 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
273 #: calibre.db.cache.Cache.author_data:3
274 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
275 #: calibre.db.cache.Cache.author_sorts:3
276 msgid ""
277 "If no authors with the specified ids are found an empty dictionary is "
278 "returned. If author_ids is None, data for all authors is returned."
279 msgstr ""
280
281 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
282 #: calibre.db.cache.Cache.author_sort_from_authors:1
283 msgid ""
284 "Given a list of authors, return the author_sort string for the authors, "
285 "preferring the author sort associated with the author over the computed "
286 "string."
287 msgstr ""
288
289 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
290 #: calibre.db.cache.Cache.author_sorts:1
291 msgid "Return author sorts for specified authors."
292 msgstr ""
293
294 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
295 #: calibre.db.cache.Cache.books_for_field:1
296 msgid ""
297 "Return all the books associated with the item identified by ``item_id``, "
298 "where the item belongs to the field ``name``."
299 msgstr ""
300
301 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
302 #: calibre.db.cache.Cache.books_for_field:4
303 msgid ""
304 "Returned value is a set of book ids, or the empty set if the item or the "
305 "field does not exist."
306 msgstr ""
307
308 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
309 #: calibre.db.cache.Cache.books_in_virtual_library:1
310 msgid "Return the set of books in the specified virtual library"
311 msgstr ""
312
313 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
314 #: calibre.db.cache.Cache.compress_covers:1
315 msgid ""
316 "Compress the cover images for the specified books. A compression quality of "
317 "100 will perform lossless compression, otherwise lossy compression."
318 msgstr ""
319
320 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
321 #: calibre.db.cache.Cache.compress_covers:4
322 msgid ""
323 "The progress callback will be called with the book_id and the old and new "
324 "sizes for each book that has been processed. If an error occurs, the new "
325 "size will be a string with the error details."
326 msgstr ""
327
328 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
329 #: calibre.db.cache.Cache.copy_cover_to:1
330 msgid ""
331 "Copy the cover to the file like object ``dest``. Returns False if no cover "
332 "exists or dest is the same file as the current cover. dest can also be a "
333 "path in which case the cover is copied to it if and only if the path is "
334 "different from the current path (taking case sensitivity into account)."
335 msgstr ""
336
337 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
338 #: calibre.db.cache.Cache.copy_format_to:1
339 msgid ""
340 "Copy the format ``fmt`` to the file like object ``dest``. If the specified "
341 "format does not exist, raises :class:`NoSuchFormat` error. dest can also be "
342 "a path (to a file), in which case the format is copied to it, iff the path "
343 "is different from the current path (taking case sensitivity into account)."
344 msgstr ""
345
346 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
347 #: calibre.db.cache.Cache.cover:1
348 msgid ""
349 "Return the cover image or None. By default, returns the cover as a "
350 "bytestring."
351 msgstr ""
352
353 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
354 #: calibre.db.cache.Cache.cover:4
355 msgid ""
356 "WARNING: Using as_path will copy the cover to a temp file and return the "
357 "path to the temp file. You should delete the temp file when you are done "
358 "with it."
359 msgstr ""
360
361 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
362 #: calibre.db.cache.Cache.cover:8
363 msgid ""
364 "If True return the image as an open file object (a SpooledTemporaryFile)"
365 msgstr ""
366
367 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
368 #: calibre.db.cache.Cache.cover:9
369 msgid "If True return the image as a QImage object"
370 msgstr ""
371
372 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
373 #: calibre.db.cache.Cache.cover:10
374 msgid "If True return the image as a QPixmap object"
375 msgstr ""
376
377 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
378 #: calibre.db.cache.Cache.cover:11
379 msgid "If True return the image as a path pointing to a temporary file"
380 msgstr ""
381
382 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
383 #: calibre.db.cache.Cache.data_for_find_identical_books:1
384 msgid ""
385 "Return data that can be used to implement :meth:`find_identical_books` in a "
386 "worker process without access to the db. See db.utils for an implementation."
387 msgstr ""
388
389 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
390 #: calibre.db.cache.Cache.data_for_has_book:1
391 msgid ""
392 "Return data suitable for use in :meth:`has_book`. This can be used for an "
393 "implementation of :meth:`has_book` in a worker process without access to the"
394 " db."
395 msgstr ""
396
397 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
398 #: calibre.db.cache.Cache.delete_annotations:1
399 msgid "Delete annotations with the specified ids."
400 msgstr ""
401
402 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
403 #: calibre.db.cache.Cache.delete_custom_book_data:1
404 msgid ""
405 "Delete data for name. By default deletes all data, if you only want to "
406 "delete data for some book ids, pass in a list of book ids."
407 msgstr ""
408
409 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
410 #: calibre.db.cache.Cache.delete_trash_entry:1
411 msgid ""
412 "Delete an entry from the trash. Here category is 'b' for books and 'f' for "
413 "formats."
414 msgstr ""
415
416 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
417 #: calibre.db.cache.Cache.embed_metadata:1
418 msgid ""
419 "Update metadata in all formats of the specified book_ids to current metadata"
420 " in the database."
421 msgstr ""
422
423 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
424 #: calibre.db.cache.Cache.expire_old_trash:1
425 msgid "Expire entries from the trash that are too old"
426 msgstr ""
427
428 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
429 #: calibre.db.cache.Cache.export_note:1
430 msgid ""
431 "Export the note as a single HTML document with embedded images as data: URLs"
432 msgstr ""
433
434 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
435 #: calibre.db.cache.Cache.fast_field_for:1
436 msgid ""
437 "Same as field_for, except that it avoids the extra lookup to get the field "
438 "object"
439 msgstr ""
440
441 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
442 #: calibre.db.cache.Cache.field_for:1
443 msgid ""
444 "Return the value of the field ``name`` for the book identified by "
445 "``book_id``. If no such book exists or it has no defined value for the field"
446 " ``name`` or no such field exists, then ``default_value`` is returned."
447 msgstr ""
448
449 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
450 #: calibre.db.cache.Cache.field_for:6
451 msgid ""
452 "``default_value`` is not used for title, title_sort, authors, author_sort "
453 "and series_index. This is because these always have values in the db. "
454 "``default_value`` is used for all custom columns."
455 msgstr ""
456
457 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
458 #: calibre.db.cache.Cache.field_for:10
459 msgid ""
460 "The returned value for is_multiple fields are always tuples, even when no "
461 "values are found (in other words, default_value is ignored). The exception "
462 "is identifiers for which the returned value is always a dictionary. The "
463 "returned tuples are always in link order, that is, the order in which they "
464 "were created."
465 msgstr ""
466
467 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
468 #: calibre.db.cache.Cache.field_ids_for:1
469 msgid ""
470 "Return the ids (as a tuple) for the values that the field ``name`` has on "
471 "the book identified by ``book_id``. If there are no values, or no such book,"
472 " or no such field, an empty tuple is returned."
473 msgstr ""
474
475 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
476 #: calibre.db.cache.Cache.field_supports_notes:1
477 msgid ""
478 "Return True iff the specified field supports notes. If field is None return "
479 "frozenset of all fields that support notes."
480 msgstr ""
481
482 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
483 #: calibre.db.cache.Cache.find_identical_books:1
484 msgid ""
485 "Finds books that have a superset of the authors in mi and the same title "
486 "(title is fuzzy matched). See also :meth:`data_for_find_identical_books`."
487 msgstr ""
488
489 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
490 #: calibre.db.cache.Cache.format:1
491 msgid ""
492 "Return the e-book format as a bytestring or `None` if the format doesn't "
493 "exist, or we don't have permission to write to the e-book file."
494 msgstr ""
495
496 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
497 #: calibre.db.cache.Cache.format:4
498 msgid ""
499 "If True the e-book format is returned as a file object. Note that the file "
500 "object is a SpooledTemporaryFile, so if what you want to do is copy the "
501 "format to another file, use :meth:`copy_format_to` instead for performance."
502 msgstr ""
503
504 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
505 #: calibre.db.cache.Cache.format:8
506 msgid ""
507 "Copies the format file to a temp file and returns the path to the temp file"
508 msgstr ""
509
510 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
511 #: calibre.db.cache.Cache.format:10
512 msgid ""
513 "If True and returning a path the filename is the same as that used in the "
514 "library. Note that using this means that repeated calls yield the same temp "
515 "file (which is re-created each time)"
516 msgstr ""
517
518 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
519 #: calibre.db.cache.Cache.format_abspath:1
520 msgid ""
521 "Return absolute path to the e-book file of format `format`. You should "
522 "almost never use this, as it breaks the threadsafe promise of this API. "
523 "Instead use, :meth:`copy_format_to`."
524 msgstr ""
525
526 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
527 #: calibre.db.cache.Cache.format_abspath:5
528 msgid ""
529 "Currently used only in calibredb list, the viewer, edit book, compare_format"
530 " to original format, open with, bulk metadata edit and the catalogs (via "
531 "get_data_as_dict())."
532 msgstr ""
533
534 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
535 #: calibre.db.cache.Cache.format_abspath:9
536 msgid ""
537 "Apart from the viewer, open with and edit book, I don't believe any of the "
538 "others do any file write I/O with the results of this call."
539 msgstr ""
540
541 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
542 #: calibre.db.cache.Cache.format_hash:1
543 msgid ""
544 "Return the hash of the specified format for the specified book. The kind of "
545 "hash is backend dependent, but is usually SHA-256."
546 msgstr ""
547
548 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
549 #: calibre.db.cache.Cache.format_metadata:1
550 msgid ""
551 "Return the path, size and mtime for the specified format for the specified "
552 "book. You should not use path unless you absolutely have to, since accessing"
553 " it directly breaks the threadsafe guarantees of this API. Instead use the "
554 ":meth:`copy_format_to` method."
555 msgstr ""
556
557 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
558 #: calibre.db.cache.Cache.format_metadata:6
559 msgid ""
560 "If ``True`` cached values are used, otherwise a slow filesystem access is "
561 "done. The cache values could be out of date if access was performed to the "
562 "filesystem outside of this API."
563 msgstr ""
564
565 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
566 #: calibre.db.cache.Cache.format_metadata:10
567 msgid ""
568 "If ``True`` The max_size field of the database is updated for this book."
569 msgstr ""
570
571 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
572 #: calibre.db.cache.Cache.formats:1
573 msgid ""
574 "Return tuple of all formats for the specified book. If verify_formats is "
575 "True, verifies that the files exist on disk."
576 msgstr ""
577
578 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
579 #: calibre.db.cache.Cache.get_all_items_that_have_notes:1
580 msgid ""
581 "Return all item_ids for items that have notes in the specified field or all "
582 "fields if field_name is None"
583 msgstr ""
584
585 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
586 #: calibre.db.cache.Cache.get_all_link_maps_for_book:1
587 msgid ""
588 "Returns all links for all fields referenced by book identified by book_id. "
589 "If book_id doesn't exist then the method returns {}."
590 msgstr ""
591
592 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
593 #: calibre.db.cache.Cache.get_all_link_maps_for_book:4
594 msgid ""
595 "Example: Assume author A has link X, author B has link Y, tag S has link F, "
596 "and tag T has link G. If book 1 has author A and tag T, this method returns "
597 "{'authors':{'A':'X'}, 'tags':{'T', 'G'}}. If book 2's author is neither A "
598 "nor B and has no tags, this method returns {}."
599 msgstr ""
600
601 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
602 #: calibre.db.cache.Cache.get_all_link_maps_for_book:9
603 msgid "the book id in question."
604 msgstr ""
605
606 #: ../../../__w/calibre/calibre/manual/db_api.rst:0
607 msgid "Returns"
608 msgstr ""
609
610 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
611 #: calibre.db.cache.Cache.get_all_link_maps_for_book:11
612 msgid ""
613 "{field: {field_value, link_value}, ... for all fields with a field_value "
614 "having a non-empty link value for that book"
615 msgstr ""
616
617 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
618 #: calibre.db.cache.Cache.get_book_path:1
619 msgid ""
620 "Return the relative book path for the given id. Prefer this because you can "
621 "choose the directory separator, default use the OS one. If unsafe is True, "
622 "allow to return None if the book_id is not in the library."
623 msgstr ""
624
625 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
626 #: calibre.db.cache.Cache.get_categories:1
627 msgid "Used internally to implement the Tag Browser"
628 msgstr ""
629
630 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
631 #: calibre.db.cache.Cache.get_custom_book_data:1
632 msgid ""
633 "Get data for name. By default returns data for all book_ids, pass in a list "
634 "of book ids if you only want some data. Returns a map of book_id to values. "
635 "If a particular value could not be decoded, uses default for it."
636 msgstr ""
637
638 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
639 #: calibre.db.cache.Cache.get_id_map:1
640 msgid ""
641 "Return a mapping of id numbers to values for the specified field. The field "
642 "must be a many-one or many-many field, otherwise a ValueError is raised."
643 msgstr ""
644
645 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
646 #: calibre.db.cache.Cache.get_ids_for_custom_book_data:1
647 msgid "Return the set of book ids for which name has data."
648 msgstr ""
649
650 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
651 #: calibre.db.cache.Cache.get_item_id:1
652 msgid ""
653 "Return the item id for item_name or None if not found. This function is very"
654 " slow if doing lookups for multiple names use either get_item_ids() or "
655 "get_item_name_map(). Similarly, case sensitive lookups are faster than case "
656 "insensitive ones."
657 msgstr ""
658
659 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
660 #: calibre.db.cache.Cache.get_item_ids:1
661 msgid "Return a dict mapping item_name to the item id or None"
662 msgstr ""
663
664 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
665 #: calibre.db.cache.Cache.get_item_name:1
666 msgid ""
667 "Return the item name for the item specified by item_id in the specified "
668 "field. See also :meth:`get_id_map`."
669 msgstr ""
670
671 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
672 #: calibre.db.cache.Cache.get_item_name_map:1
673 msgid "Return mapping of item values to ids"
674 msgstr ""
675
676 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
677 #: calibre.db.cache.Cache.get_link_map:1
678 msgid "Return a dictionary of links for the supplied field."
679 msgstr ""
680
681 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
682 #: calibre.db.cache.Cache.get_link_map:3
683 msgid "the lookup name of the field for which the link map is desired"
684 msgstr ""
685
686 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
687 #: calibre.db.cache.Cache.get_link_map:5
688 msgid "{field_value:link_value, ...} for non-empty links"
689 msgstr ""
690
691 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
692 #: calibre.db.cache.Cache.get_metadata:1
693 msgid ""
694 "Return metadata for the book identified by book_id as a "
695 ":class:`calibre.ebooks.metadata.book.base.Metadata` object. Note that the "
696 "list of formats is not verified. If get_cover is True, the cover is "
697 "returned, either a path to temp file as mi.cover or if cover_as_data is True"
698 " then as mi.cover_data."
699 msgstr ""
700
701 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
702 #: calibre.db.cache.Cache.get_next_series_num_for:1
703 msgid ""
704 "Return the next series index for the specified series, taking into account "
705 "the various preferences that control next series number generation."
706 msgstr ""
707
708 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
709 #: calibre.db.cache.Cache.get_next_series_num_for:4
710 msgid "The series-like field (defaults to the builtin series column)"
711 msgstr ""
712
713 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
714 #: calibre.db.cache.Cache.get_next_series_num_for:5
715 msgid ""
716 "If True, returns a mapping of book_id to current series_index value instead."
717 msgstr ""
718
719 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
720 #: calibre.db.cache.Cache.get_notes_resource:1
721 msgid ""
722 "Return a dict containing the resource data and name or None if no resource "
723 "with the specified hash is found"
724 msgstr ""
725
726 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
727 #: calibre.db.cache.Cache.get_pages:1
728 msgid "Return page count information for the specified book"
729 msgstr ""
730
731 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
732 #: calibre.db.cache.Cache.get_proxy_metadata:1
733 msgid ""
734 "Like :meth:`get_metadata` except that it returns a ProxyMetadata object that"
735 " only reads values from the database on demand. This is much faster than "
736 "get_metadata when only a small number of fields need to be accessed from the"
737 " returned metadata object."
738 msgstr ""
739
740 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
741 #: calibre.db.cache.Cache.get_usage_count_by_id:1
742 msgid ""
743 "Return a mapping of id to usage count for all values of the specified field,"
744 " which must be a many-one or many-many field."
745 msgstr ""
746
747 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
748 #: calibre.db.cache.Cache.has_book:1
749 msgid ""
750 "Return True iff the database contains an entry with the same title as the "
751 "passed in Metadata object. The comparison is case-insensitive. See also "
752 ":meth:`data_for_has_book`."
753 msgstr ""
754
755 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
756 #: calibre.db.cache.Cache.has_format:1
757 msgid "Return True iff the format exists on disk"
758 msgstr ""
759
760 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
761 #: calibre.db.cache.Cache.has_id:1
762 msgid "Return True iff the specified book_id exists in the db"
763 msgstr ""
764
765 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
766 #: calibre.db.cache.Cache.import_note:1
767 msgid ""
768 "Import a previously exported note or an arbitrary HTML file as the note for "
769 "the specified item"
770 msgstr ""
771
772 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
773 #: calibre.db.cache.Cache.init:1
774 msgid "Initialize this cache with data from the backend."
775 msgstr ""
776
777 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
778 #: calibre.db.cache.Cache.items_with_notes_in_book:1
779 msgid ""
780 "Return a dict of field to items that have associated notes for that field "
781 "for the specified book"
782 msgstr ""
783
784 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
785 #: calibre.db.cache.Cache.link_for:1
786 msgid ""
787 "Return the link, if any, for the specified item or None if no link is found"
788 msgstr ""
789
790 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
791 #: calibre.db.cache.Cache.list_extra_files:1
792 msgid "Get information about extra files in the book's directory."
793 msgstr ""
794
795 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
796 #: calibre.db.cache.Cache.list_extra_files:3
797 msgid "the database book id for the book"
798 msgstr ""
799
800 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
801 #: calibre.db.cache.Cache.list_extra_files:4
802 msgid ""
803 "the pattern of filenames to search for. Empty pattern matches all extra "
804 "files. Patterns must use / as separator. Use the DATA_FILE_PATTERN constant "
805 "to match files inside the data directory."
806 msgstr ""
807
808 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
809 #: calibre.db.cache.Cache.list_extra_files:7
810 msgid ""
811 "A tuple of all extra files matching the specified pattern. Each element of "
812 "the tuple is ExtraFile(relpath, file_path, stat_result). Where relpath is "
813 "the relative path of the file to the book directory using / as a separator. "
814 "stat_result is the result of calling os.stat() on the file."
815 msgstr ""
816
817 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
818 #: calibre.db.cache.Cache.mark_for_pages_recount:1
819 msgid "Mark all books for recount of pages"
820 msgstr ""
821
822 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
823 #: calibre.db.cache.Cache.merge_annotations_for_book:1
824 msgid ""
825 "Merge the specified annotations into the existing annotations for book_id, "
826 "fm, user_type, and user."
827 msgstr ""
828
829 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
830 #: calibre.db.cache.Cache.merge_extra_files:1
831 msgid ""
832 "Merge the extra files from src_ids into dest_id. Conflicting files are auto-"
833 "renamed unless replace=True in which case they are replaced."
834 msgstr ""
835
836 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
837 #: calibre.db.cache.Cache.move_book_from_trash:1
838 msgid "Undelete a book from the trash directory"
839 msgstr ""
840
841 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
842 #: calibre.db.cache.Cache.move_format_from_trash:1
843 msgid "Undelete a format from the trash directory"
844 msgstr ""
845
846 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
847 #: calibre.db.cache.Cache.multisort:1
848 msgid ""
849 "Return a list of sorted book ids. If ids_to_sort is None, all book ids are "
850 "returned."
851 msgstr ""
852
853 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
854 #: calibre.db.cache.Cache.multisort:4
855 msgid ""
856 "fields must be a list of 2-tuples of the form (field_name, ascending=True or"
857 " False). The most significant field is the first 2-tuple."
858 msgstr ""
859
860 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
861 #: calibre.db.cache.Cache.notes_data_for:1
862 msgid "Return all notes data as a dict or None if note does not exist"
863 msgstr ""
864
865 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
866 #: calibre.db.cache.Cache.notes_for:1
867 msgid "Return the notes document or an empty string if not found"
868 msgstr ""
869
870 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
871 #: calibre.db.cache.Cache.notes_resources_used_by:1
872 msgid ""
873 "Return the set of resource hashes of all resources used by the note for the "
874 "specified item"
875 msgstr ""
876
877 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
878 #: calibre.db.cache.Cache.pages_needs_scan:1
879 msgid ""
880 "Return the subset of books (or all books if empty) that are marked as "
881 "needing a scan to update page count"
882 msgstr ""
883
884 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
885 #: calibre.db.cache.Cache.pref:1
886 msgid ""
887 "Return the value for the specified preference or the value specified as "
888 "``default`` if the preference is not set."
889 msgstr ""
890
891 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
892 #: calibre.db.cache.Cache.queue_pages_scan:1
893 msgid ""
894 "Start a scan updating page counts for all books that need a scan. If book_id"
895 " is specified, then only that book is scanned and it is always scanned. When"
896 " `force` is True, the existing pages value, if any, is discarded so that the"
897 " book is forcibly rescanned even if the existing value was up-to-date."
898 msgstr ""
899
900 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
901 #: calibre.db.cache.Cache.read_backup:1
902 msgid ""
903 "Return the OPF metadata backup for the book as a bytestring or None if no "
904 "such backup exists."
905 msgstr ""
906
907 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
908 #: calibre.db.cache.Cache.remove_books:1
909 msgid ""
910 "Remove the books specified by the book_ids from the database and delete "
911 "their format files. If ``permanent`` is False, then the format files are "
912 "placed in the per-library trash directory."
913 msgstr ""
914
915 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
916 #: calibre.db.cache.Cache.remove_extra_files:1
917 msgid ""
918 "Delete the specified extra files, either to Recycle Bin or permanently."
919 msgstr ""
920
921 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
922 #: calibre.db.cache.Cache.remove_formats:1
923 msgid "Remove the specified formats from the specified books."
924 msgstr ""
925
926 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
927 #: calibre.db.cache.Cache.remove_formats:3
928 msgid "A mapping of book_id to a list of formats to be removed from the book."
929 msgstr ""
930
931 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
932 #: calibre.db.cache.Cache.remove_formats:4
933 msgid ""
934 "If True, only remove the record for the format from the db, do not delete "
935 "the actual format file from the filesystem."
936 msgstr ""
937
938 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
939 #: calibre.db.cache.Cache.remove_formats:5
940 msgid ""
941 "A map of book id to set of formats actually deleted from the filesystem for "
942 "that book"
943 msgstr ""
944
945 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
946 #: calibre.db.cache.Cache.remove_items:1
947 msgid ""
948 "Delete all items in the specified field with the specified ids. Returns the "
949 "set of affected book ids. ``restrict_to_book_ids`` is an optional set of "
950 "books ids. If specified the items will only be removed from those books."
951 msgstr ""
952
953 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
954 #: calibre.db.cache.Cache.rename_extra_files:1
955 msgid "Rename extra data files"
956 msgstr ""
957
958 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
959 #: calibre.db.cache.Cache.rename_items:1
960 msgid ""
961 "Rename items from a many-one or many-many field such as tags or series."
962 msgstr ""
963
964 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
965 #: calibre.db.cache.Cache.rename_items:3
966 msgid ""
967 "When renaming in a series-like field also change the series_index values."
968 msgstr ""
969
970 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
971 #: calibre.db.cache.Cache.rename_items:4
972 msgid ""
973 "An optional set of book ids for which the rename is to be performed, "
974 "defaults to all books."
975 msgstr ""
976
977 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
978 #: calibre.db.cache.Cache.restore_book:1
979 msgid ""
980 "Restore the book entry in the database for a book that already exists on the"
981 " filesystem"
982 msgstr ""
983
984 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
985 #: calibre.db.cache.Cache.restore_original_format:1
986 msgid ""
987 "Restore the specified format from the previously saved ORIGINAL_FORMAT, if "
988 "any. Return True on success. The ORIGINAL_FORMAT is deleted after a "
989 "successful restore."
990 msgstr ""
991
992 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
993 #: calibre.db.cache.Cache.safe_read_lock:1
994 msgid ""
995 "A safe read lock is a lock that does nothing if the thread already has a "
996 "write lock, otherwise it acquires a read lock. This is necessary to prevent "
997 "DowngradeLockErrors, which can happen when updating the search cache in the "
998 "presence of composite columns. Updating the search cache holds an exclusive "
999 "lock, but searching a composite column involves reading field values via "
1000 "ProxyMetadata which tries to get a shared lock. There may be other scenarios"
1001 " that trigger this as well."
1002 msgstr ""
1003
1004 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1005 #: calibre.db.cache.Cache.safe_read_lock:9
1006 msgid ""
1007 "This property returns a new lock object on every access. This lock object is"
1008 " not recursive (for performance) and must only be used in a with statement "
1009 "as ``with cache.safe_read_lock:`` otherwise bad things will happen."
1010 msgstr ""
1011
1012 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1013 #: calibre.db.cache.Cache.save_original_format:1
1014 msgid ""
1015 "Save a copy of the specified format as ORIGINAL_FORMAT, overwriting any "
1016 "existing ORIGINAL_FORMAT."
1017 msgstr ""
1018
1019 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1020 #: calibre.db.cache.Cache.search:1
1021 msgid ""
1022 "Search the database for the specified query, returning a set of matched book"
1023 " ids."
1024 msgstr ""
1025
1026 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1027 #: calibre.db.cache.Cache.search:3
1028 msgid ""
1029 "A restriction that is ANDed to the specified query. Note that restrictions "
1030 "are cached, therefore the search for a AND b will be slower than a with "
1031 "restriction b."
1032 msgstr ""
1033
1034 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1035 #: calibre.db.cache.Cache.search:6
1036 msgid "Used internally (virtual fields such as on_device to search over)."
1037 msgstr ""
1038
1039 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1040 #: calibre.db.cache.Cache.search:8
1041 msgid ""
1042 "If not None, a set of book ids for which books will be searched instead of "
1043 "searching all books."
1044 msgstr ""
1045
1046 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1047 #: calibre.db.cache.Cache.search_annotations:1
1048 msgid ""
1049 "Return of a tuple of annotations matching the specified Full-text query."
1050 msgstr ""
1051
1052 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1053 #: calibre.db.cache.Cache.search_notes:1
1054 msgid ""
1055 "Search the text of notes using an FTS index. If the query is empty return "
1056 "all notes."
1057 msgstr ""
1058
1059 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1060 #: calibre.db.cache.Cache.set_annotations_for_book:1
1061 msgid ""
1062 "Set all annotations for the specified book_id, fmt, user_type and user."
1063 msgstr ""
1064
1065 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1066 #: calibre.db.cache.Cache.set_conversion_options:1
1067 msgid "options must be a map of the form {book_id:conversion_options}"
1068 msgstr ""
1069
1070 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1071 #: calibre.db.cache.Cache.set_cover:1
1072 msgid ""
1073 "Set the cover for this book. The data can be either a QImage, QPixmap, file "
1074 "object or bytestring. It can also be None, in which case any existing cover "
1075 "is removed."
1076 msgstr ""
1077
1078 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1079 #: calibre.db.cache.Cache.set_field:1
1080 msgid ""
1081 "Set the values of the field specified by ``name``. Returns the set of all "
1082 "book ids that were affected by the change."
1083 msgstr ""
1084
1085 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1086 #: calibre.db.cache.Cache.set_field:3
1087 msgid "Mapping of book_ids to values that should be applied."
1088 msgstr ""
1089
1090 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1091 #: calibre.db.cache.Cache.set_field:4
1092 msgid ""
1093 "If True, the case of many-one or many-many fields will be changed. For "
1094 "example, if a book has the tag ``tag1`` and you set the tag for another "
1095 "book to ``Tag1`` then the both books will have the tag ``Tag1`` if "
1096 "allow_case_change is True, otherwise they will both have the tag ``tag1``."
1097 msgstr ""
1098
1099 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1100 #: calibre.db.cache.Cache.set_field:8
1101 msgid "Used internally, you should never change it."
1102 msgstr ""
1103
1104 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1105 #: calibre.db.cache.Cache.set_link_map:1
1106 msgid ""
1107 "Sets links for item values in field. Note: this method doesn't change values"
1108 " not in the value_to_link_map"
1109 msgstr ""
1110
1111 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1112 #: calibre.db.cache.Cache.set_link_map:4
1113 msgid "the lookup name"
1114 msgstr ""
1115
1116 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1117 #: calibre.db.cache.Cache.set_link_map:5
1118 msgid ""
1119 "dict(field_value:link, ...). Note that these are values, not field ids."
1120 msgstr ""
1121
1122 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1123 #: calibre.db.cache.Cache.set_link_map:7
1124 msgid "books changed by setting the link"
1125 msgstr ""
1126
1127 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1128 #: calibre.db.cache.Cache.set_metadata:1
1129 msgid "Set metadata for the book `id` from the `Metadata` object `mi`"
1130 msgstr ""
1131
1132 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1133 #: calibre.db.cache.Cache.set_metadata:3
1134 msgid ""
1135 "Setting force_changes=True will force set_metadata to update fields even if "
1136 "mi contains empty values. In this case, 'None' is distinguished from "
1137 "'empty'. If mi.XXX is None, the XXX is not replaced, otherwise it is. The "
1138 "tags, identifiers, and cover attributes are special cases. Tags and "
1139 "identifiers cannot be set to None so they will always be replaced if "
1140 "force_changes is true. You must ensure that mi contains the values you want "
1141 "the book to have. Covers are always changed if a new cover is provided, but "
1142 "are never deleted. Also note that force_changes has no effect on setting "
1143 "title or authors."
1144 msgstr ""
1145
1146 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1147 #: calibre.db.cache.Cache.set_notes_for:1
1148 msgid ""
1149 "Set the notes document. If the searchable text is different from the "
1150 "document, specify it as searchable_text. If the document references "
1151 "resources their hashes must be present in resource_hashes. Set "
1152 "remove_unused_resources to True to cleanup unused resources, note that "
1153 "updating a note automatically cleans up resources pertaining to that note "
1154 "anyway."
1155 msgstr ""
1156
1157 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1158 #: calibre.db.cache.Cache.set_pages:1
1159 msgid "Set page count information for the specified book"
1160 msgstr ""
1161
1162 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1163 #: calibre.db.cache.Cache.set_pref:1
1164 msgid ""
1165 "Set the specified preference to the specified value. See also :meth:`pref`."
1166 msgstr ""
1167
1168 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1169 #: calibre.db.cache.Cache.split_if_is_multiple_composite:1
1170 msgid ""
1171 "If f is a composite column lookup key and the column is is_multiple then "
1172 "split v into unique non-empty values. The comparison is case sensitive. "
1173 "Order is not preserved. Return a list() for compatibility with proxy "
1174 "metadata field getters, for example tags."
1175 msgstr ""
1176
1177 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1178 #: calibre.db.cache.Cache.tags_older_than:1
1179 msgid ""
1180 "Return the ids of all books having the tag ``tag`` that are older than the "
1181 "specified time. tag comparison is case insensitive."
1182 msgstr ""
1183
1184 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1185 #: calibre.db.cache.Cache.tags_older_than:4
1186 msgid ""
1187 "A timedelta object or None. If None, then all ids with the tag are returned."
1188 msgstr ""
1189
1190 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1191 #: calibre.db.cache.Cache.tags_older_than:7
1192 msgid ""
1193 "If not None the list of matches will be restricted to books that have this "
1194 "tag"
1195 msgstr ""
1196
1197 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1198 #: calibre.db.cache.Cache.tags_older_than:10
1199 msgid ""
1200 "A list of authors. If not None the list of matches will be restricted to "
1201 "books that have these authors (case insensitive)."
1202 msgstr ""
1203
1204 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1205 #: calibre.db.cache.Cache.unretire_note_for:1
1206 msgid ""
1207 "Unretire a previously retired note for the specified item. Notes are retired"
1208 " when an item is removed from the database"
1209 msgstr ""
1210
1211 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1212 #: calibre.db.cache.Cache.update_annotations:1
1213 msgid "Update annotations."
1214 msgstr ""
1215
1216 #: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of
1217 #: calibre.db.cache.Cache.user_categories_for_books:1
1218 msgid ""
1219 "Return the user categories for the specified books. proxy_metadata_map is "
1220 "optional and is useful for a performance boost, in contexts where a "
1221 "ProxyMetadata object for the books already exists. It should be a mapping of"
1222 " book_ids to their corresponding ProxyMetadata objects."
1223 msgstr ""