Debian Codegraph @

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