Debian Codegraph @

translations/manual/sl_SI/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: 2014-10-17 08:20+0530\n"
11 "PO-Revision-Date: 2014-10-17 02:53+0000\n"
12 "Last-Translator: Kovid Goyal <[email protected]>\n"
13 "Language-Team: Slovenian (Slovenia) (http://www.transifex.com/projects/p/calibre/language/sl_SI/)\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Language: sl_SI\n"
18 "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
19
20 # 4369364041d744b58a644bba705bf674
21 #: ../../home/kovid/work/calibre/manual/db_api.rst:4
22 msgid "API Documentation for the database interface"
23 msgstr ""
24
25 # edc4c62a0ec94d4c800c64aea842402b
26 #: ../../home/kovid/work/calibre/manual/db_api.rst:9
27 msgid ""
28 "This API is thread safe (it uses a multiple reader, single writer locking "
29 "scheme). You can access this API like this::"
30 msgstr ""
31
32 # 24733531174e4035b974921eae719765
33 #: ../../home/kovid/work/calibre/manual/db_api.rst:14
34 msgid ""
35 "If you are in a calibre plugin that is part of the main calibre GUI, you get"
36 " access to it like this instead::"
37 msgstr ""
38
39 # d99fb36993fe412ea6c8f8d0406c1897
40 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
41 #: calibre.db.cache.Cache:1
42 msgid ""
43 "An in-memory cache of the metadata.db file from a calibre library. This "
44 "class also serves as a threadsafe API for accessing the database. The in-"
45 "memory cache is maintained in normal form for maximum performance."
46 msgstr ""
47
48 # bd29271265b34a29a4914efa4a9c9a47
49 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
50 #: calibre.db.cache.Cache:5
51 msgid ""
52 "SQLITE is simply used as a way to read and write from metadata.db robustly. "
53 "All table reading/sorting/searching/caching logic is re-implemented. This "
54 "was necessary for maximum performance and flexibility."
55 msgstr ""
56
57 # 0264e73cadca46d383e3775b9c60ae9b
58 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
59 #: calibre.db.cache.Cache.add_books:1
60 msgid ""
61 "Add the specified books to the library. Books should be an iterable of "
62 "2-tuples, each 2-tuple of the form :code:`(mi, format_map)` where mi is a "
63 "Metadata object and format_map is a dictionary of the form :code:`{fmt: "
64 "path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`."
65 msgstr ""
66
67 # 3b0cb6f70f0c4b919d531656e14e8668
68 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
69 #: calibre.db.cache.Cache.add_books:6
70 msgid ""
71 "Returns a pair of lists: :code:`ids, duplicates`. ``ids`` contains the book "
72 "ids for all newly created books in the database. ``duplicates`` contains the"
73 " :code:`(mi, format_map)` for all books that already exist in the database "
74 "as per the simple duplicate detection heuristic used by :meth:`has_book`."
75 msgstr ""
76
77 # bed831ec5a604e9e84dc234c0d23a7dd
78 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
79 #: calibre.db.cache.Cache.add_custom_book_data:1
80 msgid ""
81 "Add data for name where val_map is a map of book_ids to values. If "
82 "delete_first is True, all previously stored data for name will be removed."
83 msgstr ""
84
85 # 82d624b716f744c7a066235f89984694
86 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
87 #: calibre.db.cache.Cache.add_format:1
88 msgid ""
89 "Add a format to the specified book. Return True of the format was added "
90 "successfully."
91 msgstr ""
92
93 # 04b1af387c4d49d0b2ad915b6a421da7
94 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
95 #: calibre.db.cache.Cache.add_format:3
96 msgid ""
97 "If True replace existing format, otherwise if the format already exists, "
98 "return False."
99 msgstr ""
100
101 # a68c6f2dee39410b9bd83b847b7b5c43
102 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
103 #: calibre.db.cache.Cache.add_format:4
104 msgid ""
105 "If True, file type plugins are run on the format before and after being "
106 "added."
107 msgstr ""
108
109 # 3458d2e50fdf47688d9cc0e6c77cb077
110 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
111 #: calibre.db.cache.Cache.add_format:5
112 msgid "Internal use only."
113 msgstr ""
114
115 # 2bfac5fcbb0945b98fad032f93c3a57f
116 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
117 #: calibre.db.cache.Cache.all_book_ids:1
118 msgid "Frozen set of all known book ids."
119 msgstr ""
120
121 # 94941ff01d414655bcca667eae28724f
122 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
123 #: calibre.db.cache.Cache.all_field_for:1
124 msgid "Same as field_for, except that it operates on multiple books at once"
125 msgstr ""
126
127 # 75e535dc6b5841a0baf79b6cab31e328
128 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
129 #: calibre.db.cache.Cache.all_field_ids:1
130 msgid "Frozen set of ids for all values in the field ``name``."
131 msgstr ""
132
133 # b6dc3c46c2ff44d28239423d70191b2d
134 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
135 #: calibre.db.cache.Cache.all_field_names:1
136 msgid ""
137 "Frozen set of all fields names (should only be used for many-one and many-"
138 "many fields)"
139 msgstr ""
140
141 # c9227835fc3544bdaf736e4c3d479025
142 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
143 #: calibre.db.cache.Cache.author_data:1
144 msgid "Return author data as a dictionary with keys: name, sort, link"
145 msgstr ""
146
147 # 2e099343784e40a5b22e1b66aa0746a4
148 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
149 #: calibre.db.cache.Cache.author_data:3
150 msgid ""
151 "If no authors with the specified ids are found an empty dictionary is "
152 "returned. If author_ids is None, data for all authors is returned."
153 msgstr ""
154
155 # 591b4ff349054c6a8621e73bbb9f1958
156 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
157 #: calibre.db.cache.Cache.author_sort_from_authors:1
158 msgid ""
159 "Given a list of authors, return the author_sort string for the authors, "
160 "preferring the author sort associated with the author over the computed "
161 "string."
162 msgstr ""
163
164 # 16f6f1dab3d6494a91a4d0573d77fb47
165 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
166 #: calibre.db.cache.Cache.books_for_field:1
167 msgid ""
168 "Return all the books associated with the item identified by ``item_id``, "
169 "where the item belongs to the field ``name``."
170 msgstr ""
171
172 # 157d9a761c794262adae321033beeb41
173 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
174 #: calibre.db.cache.Cache.books_for_field:4
175 msgid ""
176 "Returned value is a set of book ids, or the empty set if the item or the "
177 "field does not exist."
178 msgstr ""
179
180 # 24bcaddb16814936b28f424850816528
181 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
182 #: calibre.db.cache.Cache.copy_cover_to:1
183 msgid ""
184 "Copy the cover to the file like object ``dest``. Returns False if no cover "
185 "exists or dest is the same file as the current cover. dest can also be a "
186 "path in which case the cover is copied to it if and only if the path is "
187 "different from the current path (taking case sensitivity into account)."
188 msgstr ""
189
190 # c223f872b3a44ca38abf30511be3c34b
191 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
192 #: calibre.db.cache.Cache.copy_format_to:1
193 msgid ""
194 "Copy the format ``fmt`` to the file like object ``dest``. If the specified "
195 "format does not exist, raises :class:`NoSuchFormat` error. dest can also be "
196 "a path, in which case the format is copied to it, iff the path is different "
197 "from the current path (taking case sensitivity into account)."
198 msgstr ""
199
200 # 1e17760dd14447d698d4ef03ba5868c6
201 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
202 #: calibre.db.cache.Cache.cover:1
203 msgid ""
204 "Return the cover image or None. By default, returns the cover as a "
205 "bytestring."
206 msgstr ""
207
208 # 6d880346e5674701ab9df866f1efffcf
209 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
210 #: calibre.db.cache.Cache.cover:4
211 msgid ""
212 "WARNING: Using as_path will copy the cover to a temp file and return the "
213 "path to the temp file. You should delete the temp file when you are done "
214 "with it."
215 msgstr ""
216
217 # 8fb4e17acd8c4ee589bac134927dc9a9
218 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
219 #: calibre.db.cache.Cache.cover:8
220 msgid ""
221 "If True return the image as an open file object (a SpooledTemporaryFile)"
222 msgstr ""
223
224 # 85eddebe713a40689f8a49eaaa72ad6e
225 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
226 #: calibre.db.cache.Cache.cover:9
227 msgid "If True return the image as a QImage object"
228 msgstr ""
229
230 # 20a5fa5c588942dcbf2722b80d15cd71
231 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
232 #: calibre.db.cache.Cache.cover:10
233 msgid "If True return the image as a path pointing to a temporary file"
234 msgstr ""
235
236 # 9574ec8afb4d4b319c1e2b0018177b9b
237 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
238 #: calibre.db.cache.Cache.delete_custom_book_data:1
239 msgid ""
240 "Delete data for name. By default deletes all data, if you only want to "
241 "delete data for some book ids, pass in a list of book ids."
242 msgstr ""
243
244 # 5379db49169a455597e006debd86c019
245 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
246 #: calibre.db.cache.Cache.embed_metadata:1
247 msgid ""
248 "Update metadata in all formats of the specified book_ids to current metadata"
249 " in the database."
250 msgstr ""
251
252 # dd86dc2732b844398562e58f9f98cf39
253 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
254 #: calibre.db.cache.Cache.fast_field_for:1
255 msgid ""
256 "Same as field_for, except that it avoids the extra lookup to get the field "
257 "object"
258 msgstr ""
259
260 # 7e7b61743ee2434b995ea70db6fea903
261 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
262 #: calibre.db.cache.Cache.field_for:1
263 msgid ""
264 "Return the value of the field ``name`` for the book identified by "
265 "``book_id``. If no such book exists or it has no defined value for the field"
266 " ``name` or no such field exists, then ``default_value`` is returned."
267 msgstr ""
268
269 # faa5033ce4054edf8344ac82572c5b46
270 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
271 #: calibre.db.cache.Cache.field_for:6
272 msgid ""
273 "``default_value`` is not used for title, title_sort, authors, author_sort "
274 "and series_index. This is because these always have values in the db. "
275 "``default_value`` is used for all custom columns."
276 msgstr ""
277
278 # 8c1b9515055a4b049d55468511b61d1a
279 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
280 #: calibre.db.cache.Cache.field_for:10
281 msgid ""
282 "The returned value for is_multiple fields are always tuples, even when no "
283 "values are found (in other words, default_value is ignored). The exception "
284 "is identifiers for which the returned value is always a dict. The returned "
285 "tuples are always in link order, that is, the order in which they were "
286 "created."
287 msgstr ""
288
289 # 652d9e6c63cb4f068355ba5e0922d49c
290 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
291 #: calibre.db.cache.Cache.field_ids_for:1
292 msgid ""
293 "Return the ids (as a tuple) for the values that the field ``name`` has on "
294 "the book identified by ``book_id``. If there are no values, or no such book,"
295 " or no such field, an empty tuple is returned."
296 msgstr ""
297
298 # 28aa34c829ae4c038613e8d8e8da303c
299 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
300 #: calibre.db.cache.Cache.find_identical_books:1
301 msgid ""
302 "Finds books that have a superset of the authors in mi and the same title "
303 "(title is fuzzy matched)"
304 msgstr ""
305
306 # e53c428075304fff99193eb16369e595
307 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
308 #: calibre.db.cache.Cache.format:1
309 msgid ""
310 "Return the ebook format as a bytestring or `None` if the format doesn't "
311 "exist, or we don't have permission to write to the ebook file."
312 msgstr ""
313
314 # f9bc73d8f5e445fda59d65170dd74342
315 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
316 #: calibre.db.cache.Cache.format:4
317 msgid ""
318 "If True the ebook format is returned as a file object. Note that the file "
319 "object is a SpooledTemporaryFile, so if what you want to do is copy the "
320 "format to another file, use :meth:`copy_format_to` instead for performance."
321 msgstr ""
322
323 # 827406de447047efa6d3e6bd90e14e40
324 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
325 #: calibre.db.cache.Cache.format:8
326 msgid ""
327 "Copies the format file to a temp file and returns the path to the temp file"
328 msgstr ""
329
330 # bdaed7b9629c4e12b2f6fb4e7ac64a92
331 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
332 #: calibre.db.cache.Cache.format:10
333 msgid ""
334 "If True and returning a path the filename is the same as that used in the "
335 "library. Note that using this means that repeated calls yield the same temp "
336 "file (which is re-created each time)"
337 msgstr ""
338
339 # 82d1ed0753044cdcaa475c1eaf0dd423
340 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
341 #: calibre.db.cache.Cache.format_abspath:1
342 msgid ""
343 "Return absolute path to the ebook file of format `format`. You should almost"
344 " never use this, as it breaks the threadsafe promise of this API. Instead "
345 "use, :meth:`copy_format_to`."
346 msgstr ""
347
348 # 1e4f29f5fd6643b38bba0997a4ef4ab4
349 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
350 #: calibre.db.cache.Cache.format_abspath:5
351 msgid ""
352 "Currently used only in calibredb list, the viewer, edit book, compare_format"
353 " to original format and the catalogs (via get_data_as_dict())."
354 msgstr ""
355
356 # ea3d914e0b494b188b7aff4e110474d8
357 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
358 #: calibre.db.cache.Cache.format_abspath:9
359 msgid ""
360 "Apart from the viewer and edit book, I don't believe any of the others do "
361 "any file write I/O with the results of this call."
362 msgstr ""
363
364 # cc5c5cdce3714c2c9173452819d0c5cb
365 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
366 #: calibre.db.cache.Cache.format_hash:1
367 msgid ""
368 "Return the hash of the specified format for the specified book. The kind of "
369 "hash is backend dependent, but is usually SHA-256."
370 msgstr ""
371
372 # 2d8af6b5cee448138119e6a7f9bc839d
373 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
374 #: calibre.db.cache.Cache.format_metadata:1
375 msgid ""
376 "Return the path, size and mtime for the specified format for the specified "
377 "book. You should not use path unless you absolutely have to, since accessing"
378 " it directly breaks the threadsafe guarantees of this API. Instead use the "
379 ":meth:`copy_format_to` method."
380 msgstr ""
381
382 # ab06f4bd36f24248b83480871df2bdf9
383 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
384 #: calibre.db.cache.Cache.format_metadata:6
385 msgid ""
386 "If ``True`` cached values are used, otherwise a slow filesystem access is "
387 "done. The cache values could be out of date if access was performed to the "
388 "filesystem outside of this API."
389 msgstr ""
390
391 # 26726eb693b6432f8950e4428b439d76
392 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
393 #: calibre.db.cache.Cache.format_metadata:10
394 msgid ""
395 "If ``True`` The max_size field of the database is updates for this book."
396 msgstr ""
397
398 # ff17a19b4b594e7394634e8626a3d16c
399 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
400 #: calibre.db.cache.Cache.formats:1
401 msgid ""
402 "Return tuple of all formats for the specified book. If verify_formats is "
403 "True, verifies that the files exist on disk."
404 msgstr ""
405
406 # 35deaf7ad8d94ac29eed0726815cb475
407 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
408 #: calibre.db.cache.Cache.get_categories:1
409 msgid "Used internally to implement the Tag Browser"
410 msgstr ""
411
412 # 8c6624ae16d94c118778c9480c0a0403
413 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
414 #: calibre.db.cache.Cache.get_custom_book_data:1
415 msgid ""
416 "Get data for name. By default returns data for all book_ids, pass in a list "
417 "of book ids if you only want some data. Returns a map of book_id to values. "
418 "If a particular value could not be decoded, uses default for it."
419 msgstr ""
420
421 # b8d51247756643719b3b9a0e390f3010
422 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
423 #: calibre.db.cache.Cache.get_id_map:1
424 msgid ""
425 "Return a mapping of id numbers to values for the specified field. The field "
426 "must be a many-one or many-many field, otherwise a ValueError is raised."
427 msgstr ""
428
429 # e5d39b13c72f43e8bc343232917982ea
430 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
431 #: calibre.db.cache.Cache.get_ids_for_custom_book_data:1
432 msgid "Return the set of book ids for which name has data."
433 msgstr ""
434
435 # 0fb9eaf13e5e4ba7a760ce43b0599fef
436 # e210215547db427e9831cc973991f23f
437 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
438 #: calibre.db.cache.Cache.get_item_id:1
439 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
440 #: calibre.db.cache.Cache.get_item_ids:1
441 msgid "Return the item id for item_name (case-insensitive)"
442 msgstr ""
443
444 # f584dbcf87184217a1e27bc387d63ac6
445 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
446 #: calibre.db.cache.Cache.get_item_name:1
447 msgid ""
448 "Return the item name for the item specified by item_id in the specified "
449 "field. See also :meth:`get_id_map`."
450 msgstr ""
451
452 # 1a3d07ae161b472394d5b3e3eef1bb5d
453 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
454 #: calibre.db.cache.Cache.get_metadata:1
455 msgid ""
456 "Return metadata for the book identified by book_id as a :class:`Metadata` "
457 "object. Note that the list of formats is not verified. If get_cover is True,"
458 " the cover is returned, either a path to temp file as mi.cover or if "
459 "cover_as_data is True then as mi.cover_data."
460 msgstr ""
461
462 # 4850c2914bfa405f9731436f350dd370
463 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
464 #: calibre.db.cache.Cache.get_next_series_num_for:1
465 msgid ""
466 "Return the next series index for the specified series, taking into account "
467 "the various preferences that control next series number generation."
468 msgstr ""
469
470 # 73e7e511897245d2838044058cab2692
471 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
472 #: calibre.db.cache.Cache.get_next_series_num_for:4
473 msgid "The series-like field (defaults to the builtin series column)"
474 msgstr ""
475
476 # fb73578120834d229495071a2e81f0c3
477 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
478 #: calibre.db.cache.Cache.get_next_series_num_for:5
479 msgid ""
480 "If True, returns a mapping of book_id to current series_index value instead."
481 msgstr ""
482
483 # 75eca023572c4586b6e8be6f7f603d75
484 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
485 #: calibre.db.cache.Cache.get_proxy_metadata:1
486 msgid ""
487 "Like :meth:`get_metadata` except that it returns a ProxyMetadata object that"
488 " only reads values from the database on demand. This is much faster than "
489 "get_metadata when only a small number of fields need to be accessed from the"
490 " returned metadata object."
491 msgstr ""
492
493 # 85883989304248aa89c75122a672a1bf
494 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
495 #: calibre.db.cache.Cache.get_usage_count_by_id:1
496 msgid ""
497 "Return a mapping of id to usage count for all values of the specified field,"
498 " which must be a many-one or many-many field."
499 msgstr ""
500
501 # 1b76b455a7bf457aa50431c8e336fb52
502 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
503 #: calibre.db.cache.Cache.has_book:1
504 msgid ""
505 "Return True iff the database contains an entry with the same title as the "
506 "passed in Metadata object. The comparison is case-insensitive."
507 msgstr ""
508
509 # 62fc2277a99e49a78a724ed076317df2
510 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
511 #: calibre.db.cache.Cache.has_format:1
512 msgid "Return True iff the format exists on disk"
513 msgstr ""
514
515 # 0912d0e3d61f40ec93c33d8b3a0403c7
516 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
517 #: calibre.db.cache.Cache.has_id:1
518 msgid "Return True iff the specified book_id exists in the db"
519 msgstr ""
520
521 # b2519ce3ad4e436f924add1b8602f592
522 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
523 #: calibre.db.cache.Cache.init:1
524 msgid "Initialize this cache with data from the backend."
525 msgstr ""
526
527 # 08331a2355174c1ea67235c128eab382
528 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
529 #: calibre.db.cache.Cache.multisort:1
530 msgid ""
531 "Return a list of sorted book ids. If ids_to_sort is None, all book ids are "
532 "returned."
533 msgstr ""
534
535 # c03b8c66a8d740c7bfcd4bab71b3517a
536 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
537 #: calibre.db.cache.Cache.multisort:4
538 msgid ""
539 "fields must be a list of 2-tuples of the form (field_name, ascending=True or"
540 " False). The most significant field is the first 2-tuple."
541 msgstr ""
542
543 # 375971dde33247a0a8a08b425db18ed9
544 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
545 #: calibre.db.cache.Cache.pref:1
546 msgid ""
547 "Return the value for the specified preference or the value specified as "
548 "``default`` if the preference is not set."
549 msgstr ""
550
551 # a52f71de99be4cd8912eb45922ee555a
552 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
553 #: calibre.db.cache.Cache.read_backup:1
554 msgid ""
555 "Return the OPF metadata backup for the book as a bytestring or None if no "
556 "such backup exists."
557 msgstr ""
558
559 # a0e3e640d69a4fea91a95e5953796f53
560 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
561 #: calibre.db.cache.Cache.remove_books:1
562 msgid ""
563 "Remove the books specified by the book_ids from the database and delete "
564 "their format files. If ``permanent`` is False, then the format files are not"
565 " deleted."
566 msgstr ""
567
568 # 683368bf3c644012b51c3b1091dc8392
569 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
570 #: calibre.db.cache.Cache.remove_formats:1
571 msgid "Remove the specified formats from the specified books."
572 msgstr ""
573
574 # a3b179369a4b46b49fe3b225c1dda078
575 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
576 #: calibre.db.cache.Cache.remove_formats:3
577 msgid "A mapping of book_id to a list of formats to be removed from the book."
578 msgstr ""
579
580 # b29e1e836bd04f7e8254bf6fc70373ce
581 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
582 #: calibre.db.cache.Cache.remove_formats:4
583 msgid ""
584 "If True, only remove the record for the format from the db, do not delete "
585 "the actual format file from the filesystem."
586 msgstr ""
587
588 # 823a5a67b44f4b60a3fafedf709da07b
589 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
590 #: calibre.db.cache.Cache.remove_items:1
591 msgid ""
592 "Delete all items in the specified field with the specified ids. Returns the "
593 "set of affected book ids."
594 msgstr ""
595
596 # f7cdb64e2ab64ec3bd9515b2621ae687
597 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
598 #: calibre.db.cache.Cache.rename_items:1
599 msgid ""
600 "Rename items from a many-one or many-many field such as tags or series."
601 msgstr ""
602
603 # d33587f2ab0d41c9822c50a8c2785f2f
604 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
605 #: calibre.db.cache.Cache.rename_items:3
606 msgid ""
607 "When renaming in a series-like field also change the series_index values."
608 msgstr ""
609
610 # 44637ec92ee741f08d3ad4481c0020bb
611 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
612 #: calibre.db.cache.Cache.restore_book:1
613 msgid ""
614 "Restore the book entry in the database for a book that already exists on the"
615 " filesystem"
616 msgstr ""
617
618 # ee69f93f3418402eb641f91422b4808e
619 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
620 #: calibre.db.cache.Cache.restore_original_format:1
621 msgid ""
622 "Restore the specified format from the previously saved ORIGINAL_FORMAT, if "
623 "any. Return True on success. The ORIGINAL_FORMAT is deleted after a "
624 "successful restore."
625 msgstr ""
626
627 # 42c49a93761a453bbf62f451bbd02b3e
628 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
629 #: calibre.db.cache.Cache.safe_read_lock:1
630 msgid ""
631 "A safe read lock is a lock that does nothing if the thread already has a "
632 "write lock, otherwise it acquires a read lock. This is necessary to prevent "
633 "DowngradeLockErrors, which can happen when updating the search cache in the "
634 "presence of composite columns. Updating the search cache holds an exclusive "
635 "lock, but searching a composite column involves reading field values via "
636 "ProxyMetadata which tries to get a shared lock. There may be other scenarios"
637 " that trigger this as well."
638 msgstr ""
639
640 # 42cfbe217a8b41da9a91760e461353e2
641 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
642 #: calibre.db.cache.Cache.safe_read_lock:9
643 msgid ""
644 "This property returns a new lock object on every access. This lock object is"
645 " not recursive (for performance) and must only be used in a with statement "
646 "as ``with cache.safe_read_lock:`` otherwise bad things will happen."
647 msgstr ""
648
649 # 1c1eb09270e24ff99d49c6f31f6e7602
650 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
651 #: calibre.db.cache.Cache.save_original_format:1
652 msgid ""
653 "Save a copy of the specified format as ORIGINAL_FORMAT, overwriting any "
654 "existing ORIGINAL_FORMAT."
655 msgstr ""
656
657 # b2da0e9b535e4852ade5f4174787494c
658 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
659 #: calibre.db.cache.Cache.search:1
660 msgid ""
661 "Search the database for the specified query, returning a set of matched book"
662 " ids."
663 msgstr ""
664
665 # 68b400f7919243e2a8a095bbe9e78093
666 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
667 #: calibre.db.cache.Cache.search:3
668 msgid ""
669 "A restriction that is ANDed to the specified query. Note that restrictions "
670 "are cached, therefore the search for a AND b will be slower than a with "
671 "restriction b."
672 msgstr ""
673
674 # b09400e4bd464a07b752af28aee8b8bb
675 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
676 #: calibre.db.cache.Cache.search:6
677 msgid "Used internally (virtual fields such as on_device to search over)."
678 msgstr ""
679
680 # 01fbf640ca024963bc5f9f362aa72983
681 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
682 #: calibre.db.cache.Cache.search:8
683 msgid ""
684 "If not None, a set of book ids for which books will be searched instead of "
685 "searching all books."
686 msgstr ""
687
688 # 8a663a33dfe04d2cbdd581b7aaaa12f4
689 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
690 #: calibre.db.cache.Cache.set_conversion_options:1
691 msgid "options must be a map of the form {book_id:conversion_options}"
692 msgstr ""
693
694 # 77bacdcd447447eeb6263f87bb065ed1
695 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
696 #: calibre.db.cache.Cache.set_cover:1
697 msgid ""
698 "Set the cover for this book. data can be either a QImage, QPixmap, file "
699 "object or bytestring. It can also be None, in which case any existing cover "
700 "is removed."
701 msgstr ""
702
703 # a289c6c387e949d3b41b5eb92248d96c
704 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
705 #: calibre.db.cache.Cache.set_field:1
706 msgid ""
707 "Set the values of the field specified by ``name``. Returns the set of all "
708 "book ids that were affected by the change."
709 msgstr ""
710
711 # 26fc8e10654f4dd08589bd6c6909d17a
712 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
713 #: calibre.db.cache.Cache.set_field:3
714 msgid "Mapping of book_ids to values that should be applied."
715 msgstr ""
716
717 # ddbdf57b10424d7fbd2a3b3219810843
718 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
719 #: calibre.db.cache.Cache.set_field:4
720 msgid ""
721 "If True, the case of many-one or many-many fields will be changed. For "
722 "example, if a book has the tag ``tag1`` and you set the tag for another "
723 "book to ``Tag1`` then the both books will have the tag ``Tag1`` if "
724 "allow_case_change is True, otherwise they will both have the tag ``tag1``."
725 msgstr ""
726
727 # e828ca3081214d9f815de30182b719f5
728 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
729 #: calibre.db.cache.Cache.set_field:8
730 msgid "Used internally, you should never change it."
731 msgstr ""
732
733 # 736a84ec692848769a705eb9a10d3fff
734 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
735 #: calibre.db.cache.Cache.set_metadata:1
736 msgid "Set metadata for the book `id` from the `Metadata` object `mi`"
737 msgstr ""
738
739 # 202ec93c1358468ca5d51f43661ddf64
740 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
741 #: calibre.db.cache.Cache.set_metadata:3
742 msgid ""
743 "Setting force_changes=True will force set_metadata to update fields even if "
744 "mi contains empty values. In this case, 'None' is distinguished from "
745 "'empty'. If mi.XXX is None, the XXX is not replaced, otherwise it is. The "
746 "tags, identifiers, and cover attributes are special cases. Tags and "
747 "identifiers cannot be set to None so then will always be replaced if "
748 "force_changes is true. You must ensure that mi contains the values you want "
749 "the book to have. Covers are always changed if a new cover is provided, but "
750 "are never deleted. Also note that force_changes has no effect on setting "
751 "title or authors."
752 msgstr ""
753
754 # a87a24825daf47b09b5d90409cb8de5b
755 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
756 #: calibre.db.cache.Cache.set_pref:1
757 msgid ""
758 "Set the specified preference to the specified value. See also :meth:`pref`."
759 msgstr ""
760
761 # 56a1cc26983049ee961fdd47fd52644a
762 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
763 #: calibre.db.cache.Cache.tags_older_than:1
764 msgid ""
765 "Return the ids of all books having the tag ``tag`` that are older than than "
766 "the specified time. tag comparison is case insensitive."
767 msgstr ""
768
769 # 3e5b9e7017a94f0d88479fd65bfe4cbc
770 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
771 #: calibre.db.cache.Cache.tags_older_than:4
772 msgid ""
773 "A timedelta object or None. If None, then all ids with the tag are returned."
774 msgstr ""
775
776 # 36d125e13613455393b41f626e2fc74c
777 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
778 #: calibre.db.cache.Cache.tags_older_than:7
779 msgid ""
780 "If not None the list of matches will be restricted to books that have this "
781 "tag"
782 msgstr ""
783
784 # 77d07be4b5e143dfb471eee4e79ef41b
785 #: ../../home/kovid/work/calibre/src/calibre/db/cache.pydocstring of
786 #: calibre.db.cache.Cache.tags_older_than:10
787 msgid ""
788 "A list of authors. If not None the list of matches will be restricted to "
789 "books that have these authors (case insensitive)."
790 msgstr ""