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