| 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 |
# Darío Hereñú, 2014-2015 |
| 7 |
# Jellby <[email protected]>, 2014-2018,2020-2026 |
| 8 |
# JUAN DAVID JARAMILLO ORTIZ <[email protected]>, 2014 |
| 9 |
# Lalo Cabrera <[email protected]>, 2014 |
| 10 |
# Walter Paterno <[email protected]>, 2023-2025 |
| 11 |
msgid "" |
| 12 |
msgstr "" |
| 13 |
"Project-Id-Version: calibre\n" |
| 14 |
"Report-Msgid-Bugs-To: \n" |
| 15 |
"POT-Creation-Date: 2026-09-16 15:05+0000\n" |
| 16 |
"PO-Revision-Date: 2014-07-05 16:49+0000\n" |
| 17 |
"Last-Translator: Jellby <[email protected]>, 2014-2018,2020-2026\n" |
| 18 |
"Language-Team: Spanish (http://app.transifex.com/calibre/calibre/language/es/)\n" |
| 19 |
"MIME-Version: 1.0\n" |
| 20 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 21 |
"Content-Transfer-Encoding: 8bit\n" |
| 22 |
"Language: es\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 "Documentación de la API para la interfaz de la base de datos" |
| 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 "Esta API es segura para subprocesos (utiliza un esquema de bloqueo de un escritor, varios lectores). Puede acceder a esta API así::" |
| 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 "Si se trata de un complemento de calibre que es parte de la interfaz gráfica principal, se accede a ella de la siguiente forma::" |
| 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 copia en memoria caché del archivo metadata.db de la biblioteca de calibre. Esta clase también sirve como un API multihilo para acceder a la base de datos. La copia en memoria se mantiene en forma normal para maximizar el rendimiento." |
| 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 se usa simplemente como una manera de leer y escribir eficientemente metadata.db. Toda la lógica de lectura, clasificación, búsqueda y almacenamiento en la memoria caché de las tablas está desarrallada de nuevo. Esto fue necesario para obtener el máximo rendimiento y flexibilidad." |
| 56 |
|
| 57 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring 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 "Cuando se crea un nuevo registro de libro en la base de datos, con el identificador de libro como único argumento" |
| 63 |
|
| 64 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring 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 "Cuando se modifica un formato de libro, con argumentos: (identificador de libro, formato)" |
| 68 |
|
| 69 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring 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 "Cuando se eliminan libros de la base de datos con la lista de identificadores de libro como único argumento" |
| 75 |
|
| 76 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring 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 "Cuando se añade un formato a un libro, con argumentos: (idendificador de libro, formato)" |
| 80 |
|
| 81 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring 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 "Cuando se eliminan formatos de un libro, con argumentos (mapa de book_id a un conjunto de formatos eliminados del libro)" |
| 87 |
|
| 88 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 89 |
#: calibre.db.cache.Cache.EventType.indexing_progress_changed:1 |
| 90 |
msgid "When the indexing progress changes" |
| 91 |
msgstr "Cuando el progreso de indexado cambia" |
| 92 |
|
| 93 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring 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 "Cuando se eliminan elementos como etiquetas o autores de algunos libros. Argumentos: (nombre_de_campo, identificadores de libro afectados, ids de los elemtos eliminados)" |
| 99 |
|
| 100 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring 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 "Cuando se cambia el nombre de elementos como etiquetas o autores de algunos o todos los libros. Argumentos: (nombre_de campo, identificadores de libro afectados, mapa de id de elemento antiguo a id de elemento nuevo)" |
| 107 |
|
| 108 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 109 |
#: calibre.db.cache.Cache.EventType.links_changed:1 |
| 110 |
msgid "" |
| 111 |
"When the links associated with items(s) are changed, with arguments: " |
| 112 |
"(field_name, item_ids)" |
| 113 |
msgstr "Cuando se modifican los enlaces asociados con el elemento, con argumentos: (nombre_de_campo, id_de_elementos)" |
| 114 |
|
| 115 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 116 |
#: calibre.db.cache.Cache.EventType.metadata_changed:1 |
| 117 |
msgid "" |
| 118 |
"When some metadata is changed for some books, with arguments: (name of " |
| 119 |
"changed field, set of affected book ids)" |
| 120 |
msgstr "Cuando se modifican metadatos de algunos libros, con argumentos: (nombre del campo modificado, conjunto de identificadores de libro afectados)" |
| 121 |
|
| 122 |
#: ../../../__w/calibre/calibre/src/calibre/db/listeners.pydocstring of |
| 123 |
#: calibre.db.cache.Cache.EventType.notes_changed:1 |
| 124 |
msgid "" |
| 125 |
"When the notes associated with item(s) are changed, with arguments: " |
| 126 |
"(field_name, item_ids)" |
| 127 |
msgstr "Cuando se modifican las anotaciones asociadas con el elemento, con argumentos: (nombre_de_campo, id_de_elementos)" |
| 128 |
|
| 129 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 130 |
#: calibre.db.cache.Cache.add_books:1 |
| 131 |
msgid "" |
| 132 |
"Add the specified books to the library. Books should be an iterable of " |
| 133 |
"2-tuples, each 2-tuple of the form :code:`(mi, format_map)` where mi is a " |
| 134 |
"Metadata object and format_map is a dictionary of the form :code:`{fmt: " |
| 135 |
"path_or_stream}`, for example: :code:`{'EPUB': '/path/to/file.epub'}`." |
| 136 |
msgstr "Añadir los libros especificados a la biblioteca. Los libros deben ser iterables de 2-tuplas, cada 2-tuplas de la forma :code:`(mi, format_map)` donde ``mi`` es un objeto de metadatos y ``format_map`` es un diccionario en la forma :code:`{fmt: path_or_stream}`, por ejemplo: :code:`{'EPUB':'/path/to/file.epub'}`." |
| 137 |
|
| 138 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 139 |
#: calibre.db.cache.Cache.add_books:6 |
| 140 |
msgid "" |
| 141 |
"Returns a pair of lists: :code:`ids, duplicates`. ``ids`` contains the book " |
| 142 |
"ids for all newly created books in the database. ``duplicates`` contains the" |
| 143 |
" :code:`(mi, format_map)` for all books that already exist in the database " |
| 144 |
"as per the simple duplicate detection heuristic used by :meth:`has_book`." |
| 145 |
msgstr "Devuelve un par de listas: :code:`ids, duplicados`. ``ids`` contiene los identificadores de libros para todos los libros de reciente creación en la base de datos. ``duplicados`` contiene el :code: `(mi, format_map)` para todos los libros que ya existen en la base de datos según la sencilla detección heurística de duplicados utilizada por :meth:`has_book`." |
| 146 |
|
| 147 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 148 |
#: calibre.db.cache.Cache.add_custom_book_data:1 |
| 149 |
msgid "" |
| 150 |
"Add data for name where val_map is a map of book_ids to values. If " |
| 151 |
"delete_first is True, all previously stored data for name will be removed." |
| 152 |
msgstr "Añadir datos para ``name`` donde ``val_map`` es un mapa de ``book_ids`` a valores. Si ``delete_first`` es True, se eliminarán todos los datos almacenados previamente." |
| 153 |
|
| 154 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 155 |
#: calibre.db.cache.Cache.add_extra_files:1 |
| 156 |
msgid "Add extra data files" |
| 157 |
msgstr "Añadir archivos de datos adicionales" |
| 158 |
|
| 159 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 160 |
#: calibre.db.cache.Cache.add_format:1 |
| 161 |
msgid "" |
| 162 |
"Add a format to the specified book. Return True if the format was added " |
| 163 |
"successfully." |
| 164 |
msgstr "Añadir un formato al libro especificado. Devuelve True si el formato se añadió con éxito." |
| 165 |
|
| 166 |
#: ../../../__w/calibre/calibre/manual/db_api.rst:0 |
| 167 |
msgid "Parameters" |
| 168 |
msgstr "Parámetros" |
| 169 |
|
| 170 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 171 |
#: calibre.db.cache.Cache.add_format:3 |
| 172 |
msgid "" |
| 173 |
"If True replace existing format, otherwise if the format already exists, " |
| 174 |
"return False." |
| 175 |
msgstr "Si es True, sustituye el formato existente; en caso contrario, si el formato ya existe, devuelve False." |
| 176 |
|
| 177 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 178 |
#: calibre.db.cache.Cache.add_format:4 |
| 179 |
msgid "" |
| 180 |
"If True, file type plugins are run on the format before and after being " |
| 181 |
"added." |
| 182 |
msgstr "Si es True, los complementos de tipo de archivo se ejecutarán sobre el formato antes y después de ser añadido." |
| 183 |
|
| 184 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 185 |
#: calibre.db.cache.Cache.add_format:5 |
| 186 |
msgid "Internal use only." |
| 187 |
msgstr "Solo para uso interno." |
| 188 |
|
| 189 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 190 |
#: calibre.db.cache.Cache.add_listener:1 |
| 191 |
msgid "" |
| 192 |
"Register a callback function that will be called after certain actions are " |
| 193 |
"taken on this database. The function must take three arguments: " |
| 194 |
"(:class:`EventType`, library_id, event_type_specific_data)" |
| 195 |
msgstr "Registra una función que se ejecutará después de ciertas acciones sobre esta base de datos. La función debe aceptar tres argumentos (:class:`EventType`, id_de_biblioteca, datos_específicos_de_EventType)" |
| 196 |
|
| 197 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 198 |
#: calibre.db.cache.Cache.add_notes_resource:1 |
| 199 |
msgid "" |
| 200 |
"Add the specified resource so it can be referenced by notes and return its " |
| 201 |
"content hash" |
| 202 |
msgstr "Añade el recurso especificado para que pueda ser referenciado por notas y devuelve el código de comprobación de su contenido" |
| 203 |
|
| 204 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 205 |
#: calibre.db.cache.Cache.all_annotation_styles:1 |
| 206 |
msgid "Return a tuple of all built-in annotation styles." |
| 207 |
msgstr "Devuelve una tupla con todos los estilos de anotación predefinidos." |
| 208 |
|
| 209 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 210 |
#: calibre.db.cache.Cache.all_annotation_types:1 |
| 211 |
msgid "Return a tuple of all annotation types in the database." |
| 212 |
msgstr "Devuelve una tupla con todos los tipos de anotaciones en la base de datos." |
| 213 |
|
| 214 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 215 |
#: calibre.db.cache.Cache.all_annotation_users:1 |
| 216 |
msgid "Return a tuple of all (user_type, user name) that have annotations." |
| 217 |
msgstr "Devuelve una tupla con todos los (tipo_usuario, nombre de usuario) que tienen anotaciones." |
| 218 |
|
| 219 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 220 |
#: calibre.db.cache.Cache.all_annotations:1 |
| 221 |
msgid "" |
| 222 |
"Return a tuple of all annotations matching the specified criteria. " |
| 223 |
"`ignore_removed` controls whether removed (deleted) annotations are also " |
| 224 |
"returned. Removed annotations are just a skeleton used for merging of " |
| 225 |
"annotations." |
| 226 |
msgstr "Devuelve una tupla de todas las anotaciones que coinciden con los criterios especificados. `ignore_removed` controla si las anotaciones eliminadas (borradas) también se devuelven. Las anotaciones eliminadas son solo un esqueleto usado para combinar anotaciones." |
| 227 |
|
| 228 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 229 |
#: calibre.db.cache.Cache.all_annotations_for_book:1 |
| 230 |
msgid "" |
| 231 |
"Return a tuple containing all annotations for the specified book_id as a " |
| 232 |
"dict with keys: `format`, `user_type`, `user`, `annotation`. Here, " |
| 233 |
"annotation is the annotation data." |
| 234 |
msgstr "Devuelve una tupla que contiene todas las anotaciones para el identificador de libro especificado como un diccionario con las entradas: `format`, `user_type`, `user`, `annotation`. Aquí `annotation` se refiere a los datos de la anotación." |
| 235 |
|
| 236 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 237 |
#: calibre.db.cache.Cache.all_book_ids:1 |
| 238 |
msgid "Frozen set of all known book ids." |
| 239 |
msgstr "Conjunto fijo de todos los identificadores de libros conocidos." |
| 240 |
|
| 241 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 242 |
#: calibre.db.cache.Cache.all_field_for:1 |
| 243 |
msgid "Same as field_for, except that it operates on multiple books at once" |
| 244 |
msgstr "Lo mismo que ``field_for``, excepto que opera sobre múltiples libros a la vez." |
| 245 |
|
| 246 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 247 |
#: calibre.db.cache.Cache.all_field_ids:1 |
| 248 |
msgid "Frozen set of ids for all values in the field ``name``." |
| 249 |
msgstr "Conjunto fijo de identificadores para todos los valores del campo ``name``." |
| 250 |
|
| 251 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 252 |
#: calibre.db.cache.Cache.all_field_names:1 |
| 253 |
msgid "" |
| 254 |
"Frozen set of all fields names (should only be used for many-one and many-" |
| 255 |
"many fields)" |
| 256 |
msgstr "Conjunto fijo de todos los nombres de campos (sólo se debe utilizar para los campos de tipo varios-uno y varios-varios)" |
| 257 |
|
| 258 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 259 |
#: calibre.db.cache.Cache.annotation_count_for_book:1 |
| 260 |
msgid "" |
| 261 |
"Return the number of annotations for the specified book available in the " |
| 262 |
"database." |
| 263 |
msgstr "Devuelve el número de anotaciones disponibles para el libro especificado en la base de datos." |
| 264 |
|
| 265 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 266 |
#: calibre.db.cache.Cache.annotations_map_for_book:1 |
| 267 |
msgid "" |
| 268 |
"Return a map of annotation type -> annotation data for the specified " |
| 269 |
"book_id, format, user and user_type." |
| 270 |
msgstr "Devuelve una correspondencia entre tipo de anotación y datos de la anotación para el identificador de libro, formato, usuario y tipo de usuario especificados." |
| 271 |
|
| 272 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 273 |
#: calibre.db.cache.Cache.author_data:1 |
| 274 |
msgid "Return author data as a dictionary with keys: name, sort, link" |
| 275 |
msgstr "Devuelve los datos del autor como un diccionario con claves: ``name``, ``sort``, ``link``" |
| 276 |
|
| 277 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 278 |
#: calibre.db.cache.Cache.author_data:3 |
| 279 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 280 |
#: calibre.db.cache.Cache.author_sorts:3 |
| 281 |
msgid "" |
| 282 |
"If no authors with the specified ids are found an empty dictionary is " |
| 283 |
"returned. If author_ids is None, data for all authors is returned." |
| 284 |
msgstr "Si no se encuentran autores con los identificadores especificados, se devuelve un diccionario vacío. Si ``author_ids`` es None, se devuelven datos para todos los autores." |
| 285 |
|
| 286 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 287 |
#: calibre.db.cache.Cache.author_sort_from_authors:1 |
| 288 |
msgid "" |
| 289 |
"Given a list of authors, return the author_sort string for the authors, " |
| 290 |
"preferring the author sort associated with the author over the computed " |
| 291 |
"string." |
| 292 |
msgstr "Dada una lista de autores, devolverá el texto ``author_sort`` para los autores, prefiriendo el orden de autor asociado con el autor sobre el texto calculado automáticamente." |
| 293 |
|
| 294 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 295 |
#: calibre.db.cache.Cache.author_sorts:1 |
| 296 |
msgid "Return author sorts for specified authors." |
| 297 |
msgstr "Devuelve el orden de autor para los autores especificados." |
| 298 |
|
| 299 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 300 |
#: calibre.db.cache.Cache.books_for_field:1 |
| 301 |
msgid "" |
| 302 |
"Return all the books associated with the item identified by ``item_id``, " |
| 303 |
"where the item belongs to the field ``name``." |
| 304 |
msgstr "Devuelve todos los libros relacionados con el elemento identificado por ``item_id``, donde el elemento pertenece al campo ``name``." |
| 305 |
|
| 306 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 307 |
#: calibre.db.cache.Cache.books_for_field:4 |
| 308 |
msgid "" |
| 309 |
"Returned value is a set of book ids, or the empty set if the item or the " |
| 310 |
"field does not exist." |
| 311 |
msgstr "El valor devuelto es un conjunto de identificadores de libros, o el conjunto vacío si el elemento o el campo no existen." |
| 312 |
|
| 313 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 314 |
#: calibre.db.cache.Cache.books_in_virtual_library:1 |
| 315 |
msgid "Return the set of books in the specified virtual library" |
| 316 |
msgstr "Devuelve el conjunto de libros en la biblioteca virtual especificada" |
| 317 |
|
| 318 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 319 |
#: calibre.db.cache.Cache.compress_covers:1 |
| 320 |
msgid "" |
| 321 |
"Compress the cover images for the specified books. A compression quality of " |
| 322 |
"100 will perform lossless compression, otherwise lossy compression." |
| 323 |
msgstr "Comprimir las imágenes de portada para los libros especificados. Una calidad de compresión de 100 realizará una compresión sin pérdidas, en caso contrario será con pérdidas." |
| 324 |
|
| 325 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 326 |
#: calibre.db.cache.Cache.compress_covers:4 |
| 327 |
msgid "" |
| 328 |
"The progress callback will be called with the book_id and the old and new " |
| 329 |
"sizes for each book that has been processed. If an error occurs, the new " |
| 330 |
"size will be a string with the error details." |
| 331 |
msgstr "La función progress_callback se ejecutará con book_id y los tamaños original y nuevo para cada libro que se procese. Si ocurre un error, el tamaño nuevo será un texto con los detalles del error." |
| 332 |
|
| 333 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 334 |
#: calibre.db.cache.Cache.copy_cover_to:1 |
| 335 |
msgid "" |
| 336 |
"Copy the cover to the file like object ``dest``. Returns False if no cover " |
| 337 |
"exists or dest is the same file as the current cover. dest can also be a " |
| 338 |
"path in which case the cover is copied to it if and only if the path is " |
| 339 |
"different from the current path (taking case sensitivity into account)." |
| 340 |
msgstr "Copia la portada al objeto de tipo archivo ``dest``. Devuelve False si no existe portada o ``dest`` es el mismo archivo que la portada actual. ``dest`` también puede ser una ruta de acceso, en cuyo caso la portada se copia en la ruta si y sólo si la ruta es diferente de la actual ruta de acceso (considerando la posible distinción entre mayúsculas y minúsculas)." |
| 341 |
|
| 342 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 343 |
#: calibre.db.cache.Cache.copy_format_to:1 |
| 344 |
msgid "" |
| 345 |
"Copy the format ``fmt`` to the file like object ``dest``. If the specified " |
| 346 |
"format does not exist, raises :class:`NoSuchFormat` error. dest can also be " |
| 347 |
"a path (to a file), in which case the format is copied to it, iff the path " |
| 348 |
"is different from the current path (taking case sensitivity into account)." |
| 349 |
msgstr "Copiar el formato ``fmt`` al objeto de tipo archivo ``dest``. Si el formato especificado no existe, se presenta un error :class:`NoSuchFormat`. ``dest`` también puede ser una ruta de acceso (a un archivo), en cuyo caso el formato se copia en la ruta si y sólo si la ruta es diferente de la ruta de acceso actual (considerando la posible distinción entre mayúsculas y minúsculas)." |
| 350 |
|
| 351 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 352 |
#: calibre.db.cache.Cache.cover:1 |
| 353 |
msgid "" |
| 354 |
"Return the cover image or None. By default, returns the cover as a " |
| 355 |
"bytestring." |
| 356 |
msgstr "Devuelve la imagen de portada o None. De manera predeterminada, devuelve la portada como una serie de bytes." |
| 357 |
|
| 358 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 359 |
#: calibre.db.cache.Cache.cover:4 |
| 360 |
msgid "" |
| 361 |
"WARNING: Using as_path will copy the cover to a temp file and return the " |
| 362 |
"path to the temp file. You should delete the temp file when you are done " |
| 363 |
"with it." |
| 364 |
msgstr "ADVERTENCIA: Si se usa ``as_path``, se copia la portada a un archivo temporal y se devuelve la ruta de acceso al archivo temporal. Deberá eliminar el archivo temporal cuando haya terminado con él." |
| 365 |
|
| 366 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 367 |
#: calibre.db.cache.Cache.cover:8 |
| 368 |
msgid "" |
| 369 |
"If True return the image as an open file object (a SpooledTemporaryFile)" |
| 370 |
msgstr "Si es True devuelve la imagen como un objeto de archivo abierto (un SpooledTemporaryFile)" |
| 371 |
|
| 372 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 373 |
#: calibre.db.cache.Cache.cover:9 |
| 374 |
msgid "If True return the image as a QImage object" |
| 375 |
msgstr "Si es True devuelve la imagen como un objeto QImage" |
| 376 |
|
| 377 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 378 |
#: calibre.db.cache.Cache.cover:10 |
| 379 |
msgid "If True return the image as a QPixmap object" |
| 380 |
msgstr "Si es True devuelve la imagen como un objeto QPixmap" |
| 381 |
|
| 382 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 383 |
#: calibre.db.cache.Cache.cover:11 |
| 384 |
msgid "If True return the image as a path pointing to a temporary file" |
| 385 |
msgstr "Si es True devuelve la imagen como una ruta de acceso a un archivo temporal" |
| 386 |
|
| 387 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 388 |
#: calibre.db.cache.Cache.data_for_find_identical_books:1 |
| 389 |
msgid "" |
| 390 |
"Return data that can be used to implement :meth:`find_identical_books` in a " |
| 391 |
"worker process without access to the db. See db.utils for an implementation." |
| 392 |
msgstr "Devuelve datos que pueden usarse para implementar :meth:`find_identical_books` en un proceso de trabajo sin acceso a la base de datos. Véase db.utils para una implementación." |
| 393 |
|
| 394 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 395 |
#: calibre.db.cache.Cache.data_for_has_book:1 |
| 396 |
msgid "" |
| 397 |
"Return data suitable for use in :meth:`has_book`. This can be used for an " |
| 398 |
"implementation of :meth:`has_book` in a worker process without access to the" |
| 399 |
" db." |
| 400 |
msgstr "Devuelve datos adecuados para :meth:`has_book`. Puede usarse para implementar :meth:`has_book` en un proceso de trabajo sin acceso a la base de datos." |
| 401 |
|
| 402 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 403 |
#: calibre.db.cache.Cache.delete_annotations:1 |
| 404 |
msgid "Delete annotations with the specified ids." |
| 405 |
msgstr "Berrar anotaciones con los identificadores especificados." |
| 406 |
|
| 407 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 408 |
#: calibre.db.cache.Cache.delete_custom_book_data:1 |
| 409 |
msgid "" |
| 410 |
"Delete data for name. By default deletes all data, if you only want to " |
| 411 |
"delete data for some book ids, pass in a list of book ids." |
| 412 |
msgstr "Borra los datos para ``name``. De manera predeterminada se borran todos los datos, si sólo desea borrar datos de ciertos identificadores de libros, señálelos como una lista de identificadores de libros." |
| 413 |
|
| 414 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 415 |
#: calibre.db.cache.Cache.delete_trash_entry:1 |
| 416 |
msgid "" |
| 417 |
"Delete an entry from the trash. Here category is 'b' for books and 'f' for " |
| 418 |
"formats." |
| 419 |
msgstr "Eliminar una entrada de la papelera de reciclaje. Aquí `category` es `'b'` para libros y `'f'` para formatos." |
| 420 |
|
| 421 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 422 |
#: calibre.db.cache.Cache.embed_metadata:1 |
| 423 |
msgid "" |
| 424 |
"Update metadata in all formats of the specified book_ids to current metadata" |
| 425 |
" in the database." |
| 426 |
msgstr "Actualizar metadatos en todos los formatos de los ``book_ids`` especificados a los metadatos actuales de la base de datos." |
| 427 |
|
| 428 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 429 |
#: calibre.db.cache.Cache.expire_old_trash:1 |
| 430 |
msgid "Expire entries from the trash that are too old" |
| 431 |
msgstr "Caducar entradas de la papelera de reciclaje que son demasiado antiguas" |
| 432 |
|
| 433 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 434 |
#: calibre.db.cache.Cache.export_note:1 |
| 435 |
msgid "" |
| 436 |
"Export the note as a single HTML document with embedded images as data: URLs" |
| 437 |
msgstr "Exporta la nota como un único documento HTML con imágenes empotradas como URL de tipo data:" |
| 438 |
|
| 439 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 440 |
#: calibre.db.cache.Cache.fast_field_for:1 |
| 441 |
msgid "" |
| 442 |
"Same as field_for, except that it avoids the extra lookup to get the field " |
| 443 |
"object" |
| 444 |
msgstr "Igual que ``field_for``, salvo que se evita la consulta adicional para obtener el objeto de campo" |
| 445 |
|
| 446 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 447 |
#: calibre.db.cache.Cache.field_for:1 |
| 448 |
msgid "" |
| 449 |
"Return the value of the field ``name`` for the book identified by " |
| 450 |
"``book_id``. If no such book exists or it has no defined value for the field" |
| 451 |
" ``name`` or no such field exists, then ``default_value`` is returned." |
| 452 |
msgstr "Devuelve el valor del campo ``name`` para el libro identificado por ``book_id``. Si no existe tal libro o no tiene un valor definido para el campo ``name`` o no existe dicho campo, entonces devuelve ``default_value``." |
| 453 |
|
| 454 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 455 |
#: calibre.db.cache.Cache.field_for:6 |
| 456 |
msgid "" |
| 457 |
"``default_value`` is not used for title, title_sort, authors, author_sort " |
| 458 |
"and series_index. This is because these always have values in the db. " |
| 459 |
"``default_value`` is used for all custom columns." |
| 460 |
msgstr "``default_value`` no se utiliza para title, title_sort, authors, author_sort y series_index. Esto se debe a que éstos siempre tienen valores en la base de datos. ``default_value`` se utiliza para todas las columnas personalizadas." |
| 461 |
|
| 462 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 463 |
#: calibre.db.cache.Cache.field_for:10 |
| 464 |
msgid "" |
| 465 |
"The returned value for is_multiple fields are always tuples, even when no " |
| 466 |
"values are found (in other words, default_value is ignored). The exception " |
| 467 |
"is identifiers for which the returned value is always a dictionary. The " |
| 468 |
"returned tuples are always in link order, that is, the order in which they " |
| 469 |
"were created." |
| 470 |
msgstr "El valor devuelto para los campos ``is_multiple`` es siempre una tupla, incluso cuando no se encuentran valores (en otras palabras, ``default_value`` no tiene efecto). La excepción son los identificadores para los que el valor devuelto es siempre un diccionario. Las tuplas devueltas son siempre en orden de enlace, es decir, el orden en el que fueron creadas." |
| 471 |
|
| 472 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 473 |
#: calibre.db.cache.Cache.field_ids_for:1 |
| 474 |
msgid "" |
| 475 |
"Return the ids (as a tuple) for the values that the field ``name`` has on " |
| 476 |
"the book identified by ``book_id``. If there are no values, or no such book," |
| 477 |
" or no such field, an empty tuple is returned." |
| 478 |
msgstr "Devuelve los identificadores (como una tupla) de los valores que el campo ``name`` tiene en el libro identificado por ``book_id``. Si no hay valores, o tal libro o tal campo, se devuelve una tupla vacía." |
| 479 |
|
| 480 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 481 |
#: calibre.db.cache.Cache.field_supports_notes:1 |
| 482 |
msgid "" |
| 483 |
"Return True iff the specified field supports notes. If field is None return " |
| 484 |
"frozenset of all fields that support notes." |
| 485 |
msgstr "Devuelve True si y sólo si el campo especificado admite notas. Si ``field`` es None, devuelve un conjunto de todos los campos que admiten notas." |
| 486 |
|
| 487 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 488 |
#: calibre.db.cache.Cache.find_identical_books:1 |
| 489 |
msgid "" |
| 490 |
"Finds books that have a superset of the authors in mi and the same title " |
| 491 |
"(title is fuzzy matched). See also :meth:`data_for_find_identical_books`." |
| 492 |
msgstr "Encuentra libros que contienen los autores en «mi» y tienen el mismo título (la búsqueda de título es difusa). Véase también " |
| 493 |
|
| 494 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 495 |
#: calibre.db.cache.Cache.format:1 |
| 496 |
msgid "" |
| 497 |
"Return the e-book format as a bytestring or `None` if the format doesn't " |
| 498 |
"exist, or we don't have permission to write to the e-book file." |
| 499 |
msgstr "Devuelve el formato de libro electrónico como una serie de bytes o `None` si el formato no existe, o no hay permiso para escribir en el archivo de libro electrónico." |
| 500 |
|
| 501 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 502 |
#: calibre.db.cache.Cache.format:4 |
| 503 |
msgid "" |
| 504 |
"If True the e-book format is returned as a file object. Note that the file " |
| 505 |
"object is a SpooledTemporaryFile, so if what you want to do is copy the " |
| 506 |
"format to another file, use :meth:`copy_format_to` instead for performance." |
| 507 |
msgstr "Si es True el formato de libro electrónico se devuelve como un objeto de archivo. Tenga en cuenta que el objeto es un archivo SpooledTemporaryFile, por lo que si lo que quiere hacer es copiar el formato a otro archivo, utilice :meth:`copy_format_to` en su lugar para mejorar el rendimiento." |
| 508 |
|
| 509 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 510 |
#: calibre.db.cache.Cache.format:8 |
| 511 |
msgid "" |
| 512 |
"Copies the format file to a temp file and returns the path to the temp file" |
| 513 |
msgstr "Copia el archivo de formato a un archivo temporal y devuelve la ruta de acceso al archivo temporal." |
| 514 |
|
| 515 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 516 |
#: calibre.db.cache.Cache.format:10 |
| 517 |
msgid "" |
| 518 |
"If True and returning a path the filename is the same as that used in the " |
| 519 |
"library. Note that using this means that repeated calls yield the same temp " |
| 520 |
"file (which is re-created each time)" |
| 521 |
msgstr "Si es True y devuelve una ruta de acceso, el nombre de archivo es el mismo que el utilizado en la biblioteca. Tenga en cuenta que, al utilizar este método, llamadas repetidas producen el mismo archivo temporal (que se vuelve a crear cada vez)" |
| 522 |
|
| 523 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 524 |
#: calibre.db.cache.Cache.format_abspath:1 |
| 525 |
msgid "" |
| 526 |
"Return absolute path to the e-book file of format `format`. You should " |
| 527 |
"almost never use this, as it breaks the threadsafe promise of this API. " |
| 528 |
"Instead use, :meth:`copy_format_to`." |
| 529 |
msgstr "Devuelve la ruta de acceso absoluta al archivo de libro electrónico de formato ``format``. Casi nunca debe usarlo, ya que rompe la filosofía multihilo de esta API. Use :meth:`copy_format_to`." |
| 530 |
|
| 531 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 532 |
#: calibre.db.cache.Cache.format_abspath:5 |
| 533 |
msgid "" |
| 534 |
"Currently used only in calibredb list, the viewer, edit book, compare_format" |
| 535 |
" to original format, open with, bulk metadata edit and the catalogs (via " |
| 536 |
"get_data_as_dict())." |
| 537 |
msgstr "Actualmente sólo se usa en calibredb list, el visor, modificar libro, compare_format con formato original, abrir con, modificación de metadatos en masa y los catálogos (vía get_data_as_dict())." |
| 538 |
|
| 539 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 540 |
#: calibre.db.cache.Cache.format_abspath:9 |
| 541 |
msgid "" |
| 542 |
"Apart from the viewer, open with and edit book, I don't believe any of the " |
| 543 |
"others do any file write I/O with the results of this call." |
| 544 |
msgstr "Aparte del visor, abrir con y el editor de libros, no creo que ningún otro realice ninguna operación de entrada o salida con el resultado de esta función." |
| 545 |
|
| 546 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 547 |
#: calibre.db.cache.Cache.format_hash:1 |
| 548 |
msgid "" |
| 549 |
"Return the hash of the specified format for the specified book. The kind of " |
| 550 |
"hash is backend dependent, but is usually SHA-256." |
| 551 |
msgstr "Devuelve el código de comprobación para el formato y libro especificados. El tipo de código de comprobación es dependiente del motor, pero generalmente es SHA-256." |
| 552 |
|
| 553 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 554 |
#: calibre.db.cache.Cache.format_metadata:1 |
| 555 |
msgid "" |
| 556 |
"Return the path, size and mtime for the specified format for the specified " |
| 557 |
"book. You should not use path unless you absolutely have to, since accessing" |
| 558 |
" it directly breaks the threadsafe guarantees of this API. Instead use the " |
| 559 |
":meth:`copy_format_to` method." |
| 560 |
msgstr "Devuelve la ruta, el tamaño y mtime para el formato especificado del libro especificado. No debe utilizar la ruta a menos que sea absolutamente necesario, ya que el acceso directo rompe las garantías multihilo de esta API. Use :meth:`método copy_format_to` en su lugar." |
| 561 |
|
| 562 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 563 |
#: calibre.db.cache.Cache.format_metadata:6 |
| 564 |
msgid "" |
| 565 |
"If ``True`` cached values are used, otherwise a slow filesystem access is " |
| 566 |
"done. The cache values could be out of date if access was performed to the " |
| 567 |
"filesystem outside of this API." |
| 568 |
msgstr "Si es True se usan los valores almacenados en memoria, en caso contrario se produce un acceso lento al sistema de archivos. Los valores en la memoría podrían estar desfasados si se ha realizado algún acceso al sistema de archivos fuera de esta API." |
| 569 |
|
| 570 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 571 |
#: calibre.db.cache.Cache.format_metadata:10 |
| 572 |
msgid "" |
| 573 |
"If ``True`` The max_size field of the database is updated for this book." |
| 574 |
msgstr "Si es True el campo max_size de la base de datos se actualiza para este libro." |
| 575 |
|
| 576 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 577 |
#: calibre.db.cache.Cache.formats:1 |
| 578 |
msgid "" |
| 579 |
"Return tuple of all formats for the specified book. If verify_formats is " |
| 580 |
"True, verifies that the files exist on disk." |
| 581 |
msgstr "Devuelve una tupla con todos los formatos del libro especificado. Si ``verify_formats`` es True, se verifica que los archivos existen en el disco." |
| 582 |
|
| 583 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 584 |
#: calibre.db.cache.Cache.get_all_items_that_have_notes:1 |
| 585 |
msgid "" |
| 586 |
"Return all item_ids for items that have notes in the specified field or all " |
| 587 |
"fields if field_name is None" |
| 588 |
msgstr "Devuelve todos los ``item_id`` para los elementos que tienen notas en el campo especificado, o en todos los campos si ``field_name`` es None" |
| 589 |
|
| 590 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 591 |
#: calibre.db.cache.Cache.get_all_link_maps_for_book:1 |
| 592 |
msgid "" |
| 593 |
"Returns all links for all fields referenced by book identified by book_id. " |
| 594 |
"If book_id doesn't exist then the method returns {}." |
| 595 |
msgstr "Devuelve todos los enlaces para todos los campos referenciados por el libro identificado por ``book_id``. Si ``book_id`` no existe, el método devuelve ``{}``." |
| 596 |
|
| 597 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 598 |
#: calibre.db.cache.Cache.get_all_link_maps_for_book:4 |
| 599 |
msgid "" |
| 600 |
"Example: Assume author A has link X, author B has link Y, tag S has link F, " |
| 601 |
"and tag T has link G. If book 1 has author A and tag T, this method returns " |
| 602 |
"{'authors':{'A':'X'}, 'tags':{'T', 'G'}}. If book 2's author is neither A " |
| 603 |
"nor B and has no tags, this method returns {}." |
| 604 |
msgstr "Ejemplo: Suponiendo que el autor A tiene el enlace X, el autor B tiene el enlace Y, la etiqueta S tiene el enlace F y la etiqueta T tiene el enlace G. Si el libro 1 tiene autor A y etiqueta T, este método devuelve ``{'authors':{'A':'X'}, 'tags':{'T', 'G'}}``. Si el autor del libro 2 no es ni A ni B y no tiene etiquetas, este método devuelve ``{}``." |
| 605 |
|
| 606 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 607 |
#: calibre.db.cache.Cache.get_all_link_maps_for_book:9 |
| 608 |
msgid "the book id in question." |
| 609 |
msgstr "el identificador del libro en cuestión." |
| 610 |
|
| 611 |
#: ../../../__w/calibre/calibre/manual/db_api.rst:0 |
| 612 |
msgid "Returns" |
| 613 |
msgstr "Devuelve" |
| 614 |
|
| 615 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 616 |
#: calibre.db.cache.Cache.get_all_link_maps_for_book:11 |
| 617 |
msgid "" |
| 618 |
"{field: {field_value, link_value}, ... for all fields with a field_value " |
| 619 |
"having a non-empty link value for that book" |
| 620 |
msgstr "``{campo: {valor_campo, valor_enlace}, ...}`` para todos los campos con un ``valor_campo`` que contenga un valor del enlace no vacío para ese libro" |
| 621 |
|
| 622 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 623 |
#: calibre.db.cache.Cache.get_book_path:1 |
| 624 |
msgid "" |
| 625 |
"Return the relative book path for the given id. Prefer this because you can " |
| 626 |
"choose the directory separator, default use the OS one. If unsafe is True, " |
| 627 |
"allow to return None if the book_id is not in the library." |
| 628 |
msgstr "Devuelve la ruta relativa del libro para el identificador dado. Se prefiere esto porque permite elegir el separador de directorios; de manera predeterminada, se usa el del sistema operativo. Si `unsafe` es `True`, se permite devolver `None` si `book_id` no está en la biblioteca." |
| 629 |
|
| 630 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 631 |
#: calibre.db.cache.Cache.get_categories:1 |
| 632 |
msgid "Used internally to implement the Tag Browser" |
| 633 |
msgstr "Usado internamente para implementer el exlorador de etiquetas" |
| 634 |
|
| 635 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 636 |
#: calibre.db.cache.Cache.get_custom_book_data:1 |
| 637 |
msgid "" |
| 638 |
"Get data for name. By default returns data for all book_ids, pass in a list " |
| 639 |
"of book ids if you only want some data. Returns a map of book_id to values. " |
| 640 |
"If a particular value could not be decoded, uses default for it." |
| 641 |
msgstr "Obtener datos para ``name``. De manera predeterminada devuelve datos para todos los ``book_ids``, pase una lista de identificadores de libros si sólo desea algunos dato. Devuelve un mapa de book_id a valores. Si un valor particular no puede ser descodificado, utiliza el predeterminado." |
| 642 |
|
| 643 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 644 |
#: calibre.db.cache.Cache.get_id_map:1 |
| 645 |
msgid "" |
| 646 |
"Return a mapping of id numbers to values for the specified field. The field " |
| 647 |
"must be a many-one or many-many field, otherwise a ValueError is raised." |
| 648 |
msgstr "Devuelve un mapa de números de identificación a valores para el campo especificado. El campo debe ser un campo de varios-uno o varios-varios, de lo contrario se presenta un ValueError." |
| 649 |
|
| 650 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 651 |
#: calibre.db.cache.Cache.get_ids_for_custom_book_data:1 |
| 652 |
msgid "Return the set of book ids for which name has data." |
| 653 |
msgstr "Devuelve el conjunto de identificadores de libros para los que ``name`` tiene datos." |
| 654 |
|
| 655 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 656 |
#: calibre.db.cache.Cache.get_item_id:1 |
| 657 |
msgid "" |
| 658 |
"Return the item id for item_name or None if not found. This function is very" |
| 659 |
" slow if doing lookups for multiple names use either get_item_ids() or " |
| 660 |
"get_item_name_map(). Similarly, case sensitive lookups are faster than case " |
| 661 |
"insensitive ones." |
| 662 |
msgstr "Devuelve el identificador de elemento para «item_name» o None si no se encuentra. Esta función es muy lenta, para consultas de varios nombres use get_item_ids() o get_item_name_map(). Las consultas con distinción de mayúsculas y minúsculas son más rápidas que las consultas sin distinción." |
| 663 |
|
| 664 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 665 |
#: calibre.db.cache.Cache.get_item_ids:1 |
| 666 |
msgid "Return a dict mapping item_name to the item id or None" |
| 667 |
msgstr "Devuelve un diccionario que hace corresponder «item_name» con el identificador de elemento o None" |
| 668 |
|
| 669 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 670 |
#: calibre.db.cache.Cache.get_item_name:1 |
| 671 |
msgid "" |
| 672 |
"Return the item name for the item specified by item_id in the specified " |
| 673 |
"field. See also :meth:`get_id_map`." |
| 674 |
msgstr "Devuelve el nombre del elemento para el elemento especificado por ``item_id`` en el campo especificado. Ver también :meth:`get_id_map`." |
| 675 |
|
| 676 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 677 |
#: calibre.db.cache.Cache.get_item_name_map:1 |
| 678 |
msgid "Return mapping of item values to ids" |
| 679 |
msgstr "Devuelve una correspondencia entre valores de elemento e id" |
| 680 |
|
| 681 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 682 |
#: calibre.db.cache.Cache.get_link_map:1 |
| 683 |
msgid "Return a dictionary of links for the supplied field." |
| 684 |
msgstr "Devuelve un diccionario de enlaces para el campo proporcionado." |
| 685 |
|
| 686 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 687 |
#: calibre.db.cache.Cache.get_link_map:3 |
| 688 |
msgid "the lookup name of the field for which the link map is desired" |
| 689 |
msgstr "el nombre de consulta del campo para el que se quiere el mapa de enlaces" |
| 690 |
|
| 691 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 692 |
#: calibre.db.cache.Cache.get_link_map:5 |
| 693 |
msgid "{field_value:link_value, ...} for non-empty links" |
| 694 |
msgstr "``{valor_campo:valor_enlace, ...}`` para los enlaces no vacíos" |
| 695 |
|
| 696 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 697 |
#: calibre.db.cache.Cache.get_metadata:1 |
| 698 |
msgid "" |
| 699 |
"Return metadata for the book identified by book_id as a " |
| 700 |
":class:`calibre.ebooks.metadata.book.base.Metadata` object. Note that the " |
| 701 |
"list of formats is not verified. If get_cover is True, the cover is " |
| 702 |
"returned, either a path to temp file as mi.cover or if cover_as_data is True" |
| 703 |
" then as mi.cover_data." |
| 704 |
msgstr "Devuelve metadatos para el libro identificado por ``book_id`` como un objeto de :class:`calibre.ebooks.metadata.book.base.Metadata`. Tenga en cuenta que la lista de formatos no se verifica. Si ``get_cover`` es True, se devuelve la portada, ya sea como una ruta de acceso a un archivo temporal o como mi.cover, o si ``cover_as_data`` es True como mi.cover_data." |
| 705 |
|
| 706 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 707 |
#: calibre.db.cache.Cache.get_next_series_num_for:1 |
| 708 |
msgid "" |
| 709 |
"Return the next series index for the specified series, taking into account " |
| 710 |
"the various preferences that control next series number generation." |
| 711 |
msgstr "Devuelva el siguiente índice la serie especificada, teniendo en cuenta las distintas preferencias que controlan la generación del siguiente número de serie." |
| 712 |
|
| 713 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 714 |
#: calibre.db.cache.Cache.get_next_series_num_for:4 |
| 715 |
msgid "The series-like field (defaults to the builtin series column)" |
| 716 |
msgstr "El campo de tipo serie (de manera predeterminada la columna predefinida «series»)" |
| 717 |
|
| 718 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 719 |
#: calibre.db.cache.Cache.get_next_series_num_for:5 |
| 720 |
msgid "" |
| 721 |
"If True, returns a mapping of book_id to current series_index value instead." |
| 722 |
msgstr "Si es True, devuelve un mapa de ``book_id`` al valor actual de ``series_index``." |
| 723 |
|
| 724 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 725 |
#: calibre.db.cache.Cache.get_notes_resource:1 |
| 726 |
msgid "" |
| 727 |
"Return a dict containing the resource data and name or None if no resource " |
| 728 |
"with the specified hash is found" |
| 729 |
msgstr "Devuelve un diccionario que contiene los datos y el nombre del recurso o None si no se encuentra ningún recurso con el código de comprobación (``hash``) especificado" |
| 730 |
|
| 731 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 732 |
#: calibre.db.cache.Cache.get_pages:1 |
| 733 |
msgid "Return page count information for the specified book" |
| 734 |
msgstr "Devuelve la información del número de páginas del libro especificado" |
| 735 |
|
| 736 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 737 |
#: calibre.db.cache.Cache.get_proxy_metadata:1 |
| 738 |
msgid "" |
| 739 |
"Like :meth:`get_metadata` except that it returns a ProxyMetadata object that" |
| 740 |
" only reads values from the database on demand. This is much faster than " |
| 741 |
"get_metadata when only a small number of fields need to be accessed from the" |
| 742 |
" returned metadata object." |
| 743 |
msgstr "Como :meth:`get_metadata` excepto que devuelve un objeto ProxyMetadata que sólo lee valores desde la base de datos bajo demanda. Es mucho más veloz que :meth:`get_metadata` cuando sólo se quiere acceder a un pequeño número de campos desde el objeto metatados devuelto." |
| 744 |
|
| 745 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 746 |
#: calibre.db.cache.Cache.get_usage_count_by_id:1 |
| 747 |
msgid "" |
| 748 |
"Return a mapping of id to usage count for all values of the specified field," |
| 749 |
" which must be a many-one or many-many field." |
| 750 |
msgstr "Devuelve un mapa de identificador a cuenta de uso para todos los valores del campo especificado, que debe ser un campo de tipo varios-uno o varios-varios." |
| 751 |
|
| 752 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 753 |
#: calibre.db.cache.Cache.has_book:1 |
| 754 |
msgid "" |
| 755 |
"Return True iff the database contains an entry with the same title as the " |
| 756 |
"passed in Metadata object. The comparison is case-insensitive. See also " |
| 757 |
":meth:`data_for_has_book`." |
| 758 |
msgstr "Devuelve True si y sólo si la base de datos contiene una entrada con el mismo título que el objeto Metadata pasado como argumento. La comparación no distingue mayúsculas y minúsculas. Véase también " |
| 759 |
|
| 760 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 761 |
#: calibre.db.cache.Cache.has_format:1 |
| 762 |
msgid "Return True iff the format exists on disk" |
| 763 |
msgstr "Devuelve True si y sólo si el formato existe en el disco." |
| 764 |
|
| 765 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 766 |
#: calibre.db.cache.Cache.has_id:1 |
| 767 |
msgid "Return True iff the specified book_id exists in the db" |
| 768 |
msgstr "Devuelve True si y sólo si el ``book_id`` especificado existe en la base de datos." |
| 769 |
|
| 770 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 771 |
#: calibre.db.cache.Cache.import_note:1 |
| 772 |
msgid "" |
| 773 |
"Import a previously exported note or an arbitrary HTML file as the note for " |
| 774 |
"the specified item" |
| 775 |
msgstr "Importa una nota previamente exportada o un archivo HTML arbitrario como la nota para el elemento especificado" |
| 776 |
|
| 777 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 778 |
#: calibre.db.cache.Cache.init:1 |
| 779 |
msgid "Initialize this cache with data from the backend." |
| 780 |
msgstr "Inicializar esta copia en caché con datos del motor." |
| 781 |
|
| 782 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 783 |
#: calibre.db.cache.Cache.items_with_notes_in_book:1 |
| 784 |
msgid "" |
| 785 |
"Return a dict of field to items that have associated notes for that field " |
| 786 |
"for the specified book" |
| 787 |
msgstr "Devuelve un diccionario de campo y elementos que tienen notas asociadas para ese campo en el libro especificado" |
| 788 |
|
| 789 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 790 |
#: calibre.db.cache.Cache.link_for:1 |
| 791 |
msgid "" |
| 792 |
"Return the link, if any, for the specified item or None if no link is found" |
| 793 |
msgstr "Devuelve el enlace, si lo hay, para el elemento especificado o None si no se encuentra ningún enlace" |
| 794 |
|
| 795 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 796 |
#: calibre.db.cache.Cache.list_extra_files:1 |
| 797 |
msgid "Get information about extra files in the book's directory." |
| 798 |
msgstr "Obtener información acerca de los archivos adicionales en el directorio del libro." |
| 799 |
|
| 800 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 801 |
#: calibre.db.cache.Cache.list_extra_files:3 |
| 802 |
msgid "the database book id for the book" |
| 803 |
msgstr "el ID del libro en la base de datos" |
| 804 |
|
| 805 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 806 |
#: calibre.db.cache.Cache.list_extra_files:4 |
| 807 |
msgid "" |
| 808 |
"the pattern of filenames to search for. Empty pattern matches all extra " |
| 809 |
"files. Patterns must use / as separator. Use the DATA_FILE_PATTERN constant " |
| 810 |
"to match files inside the data directory." |
| 811 |
msgstr "el patrón de nombres de archivo a buscar. Un patrón vacío coincide con todos los archivos adicionales. Los patrones deben usar ``/`` como separador. Use la constante ``DATA_FILE_PATTERN`` para buscar archivos dentro del directorio de datos." |
| 812 |
|
| 813 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 814 |
#: calibre.db.cache.Cache.list_extra_files:7 |
| 815 |
msgid "" |
| 816 |
"A tuple of all extra files matching the specified pattern. Each element of " |
| 817 |
"the tuple is ExtraFile(relpath, file_path, stat_result). Where relpath is " |
| 818 |
"the relative path of the file to the book directory using / as a separator. " |
| 819 |
"stat_result is the result of calling os.stat() on the file." |
| 820 |
msgstr "Una tupla con todos los archivos adicionales que coinciden con el patrón especificado. Cada elemento de la tupla es de la forma ``ExtraFile(ruta_rel, ruta_archivo, res_stat)``, donde ``ruta_rel`` es la ruta relativa al archivo respecto al directorio del libro usando ``/`` como separador. ``res_stat`` es el resultado de ejecuta ``os.stat()`` sobre el archivo." |
| 821 |
|
| 822 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 823 |
#: calibre.db.cache.Cache.mark_for_pages_recount:1 |
| 824 |
msgid "Mark all books for recount of pages" |
| 825 |
msgstr "Marca todos los libros para recuento de páginas" |
| 826 |
|
| 827 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 828 |
#: calibre.db.cache.Cache.merge_annotations_for_book:1 |
| 829 |
msgid "" |
| 830 |
"Merge the specified annotations into the existing annotations for book_id, " |
| 831 |
"fm, user_type, and user." |
| 832 |
msgstr "Combinar las anotaciones especificadas con las anotaciones existentes para el identificador de libro, formato, tipo de usuario y usuario." |
| 833 |
|
| 834 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 835 |
#: calibre.db.cache.Cache.merge_extra_files:1 |
| 836 |
msgid "" |
| 837 |
"Merge the extra files from src_ids into dest_id. Conflicting files are auto-" |
| 838 |
"renamed unless replace=True in which case they are replaced." |
| 839 |
msgstr "Combinar los archivos adicionales de ``src_ids`` (origen) con los de ``dest_id`` (destino). A los archivos que entren en conflicto se les cambiará el nombre automáticamente, a no ser que ``replace`` sea True, en cuyo caso se sustituirán." |
| 840 |
|
| 841 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 842 |
#: calibre.db.cache.Cache.move_book_from_trash:1 |
| 843 |
msgid "Undelete a book from the trash directory" |
| 844 |
msgstr "Restaurar un libro del directorio de la papelera" |
| 845 |
|
| 846 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 847 |
#: calibre.db.cache.Cache.move_format_from_trash:1 |
| 848 |
msgid "Undelete a format from the trash directory" |
| 849 |
msgstr "Restaurar un formato del directorio de la papelera" |
| 850 |
|
| 851 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 852 |
#: calibre.db.cache.Cache.multisort:1 |
| 853 |
msgid "" |
| 854 |
"Return a list of sorted book ids. If ids_to_sort is None, all book ids are " |
| 855 |
"returned." |
| 856 |
msgstr "Devuelve una lista de identificadores de libros ordenados. Si ``ids_to_sort`` es None, devuelve todos los identificadores de libros." |
| 857 |
|
| 858 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 859 |
#: calibre.db.cache.Cache.multisort:4 |
| 860 |
msgid "" |
| 861 |
"fields must be a list of 2-tuples of the form (field_name, ascending=True or" |
| 862 |
" False). The most significant field is the first 2-tuple." |
| 863 |
msgstr "los campos deben ser una lista de 2-tuplas de la forma (field_name, ascending=True|False). El campo más significativo es la primera 2-tupla." |
| 864 |
|
| 865 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 866 |
#: calibre.db.cache.Cache.notes_data_for:1 |
| 867 |
msgid "Return all notes data as a dict or None if note does not exist" |
| 868 |
msgstr "Devuelve todos los datos de notas como un diccionario o None si la nota no existe" |
| 869 |
|
| 870 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 871 |
#: calibre.db.cache.Cache.notes_for:1 |
| 872 |
msgid "Return the notes document or an empty string if not found" |
| 873 |
msgstr "Devuelve el documento de notas o un texto vacío si no se encuentra" |
| 874 |
|
| 875 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 876 |
#: calibre.db.cache.Cache.notes_resources_used_by:1 |
| 877 |
msgid "" |
| 878 |
"Return the set of resource hashes of all resources used by the note for the " |
| 879 |
"specified item" |
| 880 |
msgstr "Devuelve el conjunto de códigos de comprobación de recurso de todos los recursos usados por la nota del elemento especificado" |
| 881 |
|
| 882 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 883 |
#: calibre.db.cache.Cache.pages_needs_scan:1 |
| 884 |
msgid "" |
| 885 |
"Return the subset of books (or all books if empty) that are marked as " |
| 886 |
"needing a scan to update page count" |
| 887 |
msgstr "Devuelve el subconjunto de libros (o todos, si está vacío) marcados como necesitados de recuento de páginas" |
| 888 |
|
| 889 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 890 |
#: calibre.db.cache.Cache.pref:1 |
| 891 |
msgid "" |
| 892 |
"Return the value for the specified preference or the value specified as " |
| 893 |
"``default`` if the preference is not set." |
| 894 |
msgstr "Devuelve el valor de la preferencia especificada o el valor especificado como ``default`` si la preferencia no se ha establecido." |
| 895 |
|
| 896 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 897 |
#: calibre.db.cache.Cache.queue_pages_scan:1 |
| 898 |
msgid "" |
| 899 |
"Start a scan updating page counts for all books that need a scan. If book_id" |
| 900 |
" is specified, then only that book is scanned and it is always scanned. When" |
| 901 |
" `force` is True, the existing pages value, if any, is discarded so that the" |
| 902 |
" book is forcibly rescanned even if the existing value was up-to-date." |
| 903 |
msgstr "Iniciar un recuento de páginas para todos los libros que lo necesiten. Si se especifica ``book_id``, sólo se examina ese libro y siempre se examina. Si ``force`` es True, el número de páginas existente, si lo hay, se descarta, de manera que el libro se examina aunque el valor existente esté actualizado." |
| 904 |
|
| 905 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 906 |
#: calibre.db.cache.Cache.read_backup:1 |
| 907 |
msgid "" |
| 908 |
"Return the OPF metadata backup for the book as a bytestring or None if no " |
| 909 |
"such backup exists." |
| 910 |
msgstr "Devuelve la copia de seguridad de los metadatos OPF para el libro como una serie de bytes o None si no existe dicha copia de seguridad." |
| 911 |
|
| 912 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 913 |
#: calibre.db.cache.Cache.refresh_format_sizes:1 |
| 914 |
msgid "" |
| 915 |
"Update the database with the on-disk sizes of the specified format files. " |
| 916 |
"``size_map`` maps ``(book_id, fmt)`` to the size of the format file. Used to" |
| 917 |
" fix stored sizes that have gone stale because format files were changed " |
| 918 |
"outside of calibre. Returns the ids of the books whose stored sizes were " |
| 919 |
"changed." |
| 920 |
msgstr "Actualizar la base de datos con el tamaño en disco de los archivos de formato especificados. ``size_map`` establece una correspondencia entre ``(id_de_libro, formato)`` y el tamaño del archivo del formato. Usado para corregir los tamaños de archivo que han dejado de ser válidos porque los archivos se han modificado fuera de calibre. Devuelve los identificadores de los libros cuyos tamaños almecenados han cambiado." |
| 921 |
|
| 922 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 923 |
#: calibre.db.cache.Cache.remove_books:1 |
| 924 |
msgid "" |
| 925 |
"Remove the books specified by the book_ids from the database and delete " |
| 926 |
"their format files. If ``permanent`` is False, then the format files are " |
| 927 |
"placed in the per-library trash directory." |
| 928 |
msgstr "Eliminar los libros especificados por los ``book_ids`` de la base de datos y eliminar sus archivos de formato. Si ``permanent`` es False, los archivos de formato se dejan en el directorio de papelera específico de la biblioteca." |
| 929 |
|
| 930 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 931 |
#: calibre.db.cache.Cache.remove_extra_files:1 |
| 932 |
msgid "" |
| 933 |
"Delete the specified extra files, either to Recycle Bin or permanently." |
| 934 |
msgstr "Eliminar los archivos adicionales especificados, ya sea a la papelera de reciclaje o de forma permanente." |
| 935 |
|
| 936 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 937 |
#: calibre.db.cache.Cache.remove_formats:1 |
| 938 |
msgid "Remove the specified formats from the specified books." |
| 939 |
msgstr "Eliminar los formatos especificados de los libros especificados." |
| 940 |
|
| 941 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 942 |
#: calibre.db.cache.Cache.remove_formats:3 |
| 943 |
msgid "A mapping of book_id to a list of formats to be removed from the book." |
| 944 |
msgstr "Un mapa de book_id a una lista de formatos para eliminar del libro." |
| 945 |
|
| 946 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 947 |
#: calibre.db.cache.Cache.remove_formats:4 |
| 948 |
msgid "" |
| 949 |
"If True, only remove the record for the format from the db, do not delete " |
| 950 |
"the actual format file from the filesystem." |
| 951 |
msgstr "Si es True, sólo se elimina el registro del formato de la base de datos, no se borra el archivo de formato del sistema de archivos." |
| 952 |
|
| 953 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 954 |
#: calibre.db.cache.Cache.remove_formats:5 |
| 955 |
msgid "" |
| 956 |
"A map of book id to set of formats actually deleted from the filesystem for " |
| 957 |
"that book" |
| 958 |
msgstr "Un mapa de id de libro a conjunto de formatos realmente eliminados del sistema de archivos para ese libro" |
| 959 |
|
| 960 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 961 |
#: calibre.db.cache.Cache.remove_items:1 |
| 962 |
msgid "" |
| 963 |
"Delete all items in the specified field with the specified ids. Returns the " |
| 964 |
"set of affected book ids. ``restrict_to_book_ids`` is an optional set of " |
| 965 |
"books ids. If specified the items will only be removed from those books." |
| 966 |
msgstr "Elimina todos los elementos del campo especificado con los id especificados. Devuelve el conjunto de id de libro afectados. ``restrict_to_book_ids`` es un conjunto de id de libros opcional. Si se especifica, sólo se eliminarán los elementos de estos libros." |
| 967 |
|
| 968 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 969 |
#: calibre.db.cache.Cache.rename_extra_files:1 |
| 970 |
msgid "Rename extra data files" |
| 971 |
msgstr "Cambiar el nombre de los archivos de datos adicionales" |
| 972 |
|
| 973 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 974 |
#: calibre.db.cache.Cache.rename_items:1 |
| 975 |
msgid "" |
| 976 |
"Rename items from a many-one or many-many field such as tags or series." |
| 977 |
msgstr "Cambiar el nombre de elementos de un campo de tipo varios-uno o varios-varios, como etiquetas o series." |
| 978 |
|
| 979 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 980 |
#: calibre.db.cache.Cache.rename_items:3 |
| 981 |
msgid "" |
| 982 |
"When renaming in a series-like field also change the series_index values." |
| 983 |
msgstr "Al cambiarel nombre de un campo del tipo serie cambiar también los valores de «series_index»." |
| 984 |
|
| 985 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 986 |
#: calibre.db.cache.Cache.rename_items:4 |
| 987 |
msgid "" |
| 988 |
"An optional set of book ids for which the rename is to be performed, " |
| 989 |
"defaults to all books." |
| 990 |
msgstr "Un conjunto de id de libros opcional sobre los que se realiza el cambio de nombre, de manera predeterminada incluye todos los libros." |
| 991 |
|
| 992 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 993 |
#: calibre.db.cache.Cache.restore_book:1 |
| 994 |
msgid "" |
| 995 |
"Restore the book entry in the database for a book that already exists on the" |
| 996 |
" filesystem" |
| 997 |
msgstr "Restaurar la entrada del libro en la base de datos de un libro que ya existe en el sistema de archivos." |
| 998 |
|
| 999 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1000 |
#: calibre.db.cache.Cache.restore_original_format:1 |
| 1001 |
msgid "" |
| 1002 |
"Restore the specified format from the previously saved ORIGINAL_FORMAT, if " |
| 1003 |
"any. Return True on success. The ORIGINAL_FORMAT is deleted after a " |
| 1004 |
"successful restore." |
| 1005 |
msgstr "Restaurar el formato especificado a partir del ORIGINAL_FORMAT previamente guardado, si lo hubiera. Devuelve True en caso de éxito. El ORIGINAL_FORMAT se elimina después de una restauración correcta." |
| 1006 |
|
| 1007 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1008 |
#: calibre.db.cache.Cache.safe_read_lock:1 |
| 1009 |
msgid "" |
| 1010 |
"A safe read lock is a lock that does nothing if the thread already has a " |
| 1011 |
"write lock, otherwise it acquires a read lock. This is necessary to prevent " |
| 1012 |
"DowngradeLockErrors, which can happen when updating the search cache in the " |
| 1013 |
"presence of composite columns. Updating the search cache holds an exclusive " |
| 1014 |
"lock, but searching a composite column involves reading field values via " |
| 1015 |
"ProxyMetadata which tries to get a shared lock. There may be other scenarios" |
| 1016 |
" that trigger this as well." |
| 1017 |
msgstr "Un bloqueo de lectura segura es un bloqueo que no hace nada si el hilo ya tiene un bloqueo de escritura, de lo contrario, agrega un bloqueo de lectura. Esto es necesario para evitar DowngradeLockErrors, lo que puede suceder cuando se actualiza la caché de búsqueda en presencia de columnas compuestas. Al actualizar la caché de búsqueda se crea un bloqueo exclusivo, pero al buscar en una columna compuesta tiene lugar la lectura de valores de campo vía ProxyMetadata, que trata de obtener un bloqueo compartido. Puede haber otras situaciones que desencadenen esto." |
| 1018 |
|
| 1019 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1020 |
#: calibre.db.cache.Cache.safe_read_lock:9 |
| 1021 |
msgid "" |
| 1022 |
"This property returns a new lock object on every access. This lock object is" |
| 1023 |
" not recursive (for performance) and must only be used in a with statement " |
| 1024 |
"as ``with cache.safe_read_lock:`` otherwise bad things will happen." |
| 1025 |
msgstr "Esta propiedad devuelve un nuevo objeto de bloqueo en cada acceso. Este objeto de bloqueo no es recursivo (por rendimiento) y sólo debe ser utilizado en una sentencia ``with`` como ``with cache.safe_read_lock:``, de lo contrario habrá problemas." |
| 1026 |
|
| 1027 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1028 |
#: calibre.db.cache.Cache.save_original_format:1 |
| 1029 |
msgid "" |
| 1030 |
"Save a copy of the specified format as ORIGINAL_FORMAT, overwriting any " |
| 1031 |
"existing ORIGINAL_FORMAT." |
| 1032 |
msgstr "Guardar una copia del formato especificado como ORIGINAL_FORMAT, sustituyendo cualquier ORIGINAL_FORMAT existente." |
| 1033 |
|
| 1034 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1035 |
#: calibre.db.cache.Cache.search:1 |
| 1036 |
msgid "" |
| 1037 |
"Search the database for the specified query, returning a set of matched book" |
| 1038 |
" ids." |
| 1039 |
msgstr "Buscar en la base de datos con la consulta especificada, devolviendo un conjunto de identificadores de libros que coincidan." |
| 1040 |
|
| 1041 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1042 |
#: calibre.db.cache.Cache.search:3 |
| 1043 |
msgid "" |
| 1044 |
"A restriction that is ANDed to the specified query. Note that restrictions " |
| 1045 |
"are cached, therefore the search for a AND b will be slower than a with " |
| 1046 |
"restriction b." |
| 1047 |
msgstr "Una restricción que se añade como Y a la consulta especificada. Tenga en cuenta que las restricciones se almacenan en caché, por lo tanto, la búsqueda de a Y b será más lenta que a con una restricción b." |
| 1048 |
|
| 1049 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1050 |
#: calibre.db.cache.Cache.search:6 |
| 1051 |
msgid "Used internally (virtual fields such as on_device to search over)." |
| 1052 |
msgstr "Usado internamente (campos virtuales tales como «on_device» para búsquedas)." |
| 1053 |
|
| 1054 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1055 |
#: calibre.db.cache.Cache.search:8 |
| 1056 |
msgid "" |
| 1057 |
"If not None, a set of book ids for which books will be searched instead of " |
| 1058 |
"searching all books." |
| 1059 |
msgstr "Si no es None, un conjunto de identificadores de libros en los que buscar en vez de buscar en todos los libros." |
| 1060 |
|
| 1061 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1062 |
#: calibre.db.cache.Cache.search_annotations:1 |
| 1063 |
msgid "" |
| 1064 |
"Return of a tuple of annotations matching the specified Full-text query." |
| 1065 |
msgstr "Devuelve una tupla de anotaciones que coinciden con la búsqueda de texto completo especificada." |
| 1066 |
|
| 1067 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1068 |
#: calibre.db.cache.Cache.search_notes:1 |
| 1069 |
msgid "" |
| 1070 |
"Search the text of notes using an FTS index. If the query is empty return " |
| 1071 |
"all notes." |
| 1072 |
msgstr "Busca en el texto de las notas usando un índice de búsqueda de texto completo. Si la consulta está vacía devuelve todas las notas." |
| 1073 |
|
| 1074 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1075 |
#: calibre.db.cache.Cache.set_annotations_for_book:1 |
| 1076 |
msgid "" |
| 1077 |
"Set all annotations for the specified book_id, fmt, user_type and user." |
| 1078 |
msgstr "Ver todas las anotaciones para el identificador de libro, formato, tipo de usuario y usuario especificados." |
| 1079 |
|
| 1080 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1081 |
#: calibre.db.cache.Cache.set_conversion_options:1 |
| 1082 |
msgid "options must be a map of the form {book_id:conversion_options}" |
| 1083 |
msgstr "``options`` debe ser un mapa de la forma {book_id:opciones de conversión}" |
| 1084 |
|
| 1085 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1086 |
#: calibre.db.cache.Cache.set_cover:1 |
| 1087 |
msgid "" |
| 1088 |
"Set the cover for this book. The data can be either a QImage, QPixmap, file " |
| 1089 |
"object or bytestring. It can also be None, in which case any existing cover " |
| 1090 |
"is removed." |
| 1091 |
msgstr "Establecer la portada de este libro. El argumento puede ser un objeto de tipo QImage, QPixmap, archivo o una serie de bytes. También puede ser None, en cuyo caso se elimina cualquier portada existente." |
| 1092 |
|
| 1093 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1094 |
#: calibre.db.cache.Cache.set_field:1 |
| 1095 |
msgid "" |
| 1096 |
"Set the values of the field specified by ``name``. Returns the set of all " |
| 1097 |
"book ids that were affected by the change." |
| 1098 |
msgstr "Establecer los valores del campo especificado por ``name``. Devuelve el conjunto de todos los identificadores de libros afectados por el cambio." |
| 1099 |
|
| 1100 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1101 |
#: calibre.db.cache.Cache.set_field:3 |
| 1102 |
msgid "Mapping of book_ids to values that should be applied." |
| 1103 |
msgstr "Mapa de book_ids a los valores que se deben aplicar." |
| 1104 |
|
| 1105 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1106 |
#: calibre.db.cache.Cache.set_field:4 |
| 1107 |
msgid "" |
| 1108 |
"If True, the case of many-one or many-many fields will be changed. For " |
| 1109 |
"example, if a book has the tag ``tag1`` and you set the tag for another " |
| 1110 |
"book to ``Tag1`` then the both books will have the tag ``Tag1`` if " |
| 1111 |
"allow_case_change is True, otherwise they will both have the tag ``tag1``." |
| 1112 |
msgstr "Si es True, se cambiará el uso de mayúsculas y minúsculas de campos de tipo varios-uno o varios-varios. Por ejemplo, si un libro tiene la etiqueta «etiqueta1» y establece la etiqueta de otro libro a «Etiqueta1», entonces los libros de ambos tendrá la etiqueta «Etiqueta1» si ``allow_case_change`` es True, de lo contrario ambos tendrán la etiqueta «etiqueta1»." |
| 1113 |
|
| 1114 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1115 |
#: calibre.db.cache.Cache.set_field:8 |
| 1116 |
msgid "Used internally, you should never change it." |
| 1117 |
msgstr "Usado internamente, nunca debe cambiarse." |
| 1118 |
|
| 1119 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1120 |
#: calibre.db.cache.Cache.set_link_map:1 |
| 1121 |
msgid "" |
| 1122 |
"Sets links for item values in field. Note: this method doesn't change values" |
| 1123 |
" not in the value_to_link_map" |
| 1124 |
msgstr "Asigna enlaces para los elementos en el campo ``field``. Tenga en cuenta que este método no cambia los valores que no estén presentes en ``value_to_link_map``" |
| 1125 |
|
| 1126 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1127 |
#: calibre.db.cache.Cache.set_link_map:4 |
| 1128 |
msgid "the lookup name" |
| 1129 |
msgstr "el nombre de consulta" |
| 1130 |
|
| 1131 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1132 |
#: calibre.db.cache.Cache.set_link_map:5 |
| 1133 |
msgid "" |
| 1134 |
"dict(field_value:link, ...). Note that these are values, not field ids." |
| 1135 |
msgstr "``dict(valor_campo:enlace, ...)``. Tenga en cuenta que son valores, no identificadores de campo." |
| 1136 |
|
| 1137 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1138 |
#: calibre.db.cache.Cache.set_link_map:7 |
| 1139 |
msgid "books changed by setting the link" |
| 1140 |
msgstr "libros modificados al asignar el enlace" |
| 1141 |
|
| 1142 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1143 |
#: calibre.db.cache.Cache.set_metadata:1 |
| 1144 |
msgid "Set metadata for the book `id` from the `Metadata` object `mi`" |
| 1145 |
msgstr "Aplicar metadatos para el libro ``id`` a partir del objeto ``Metadata`` ``mi``" |
| 1146 |
|
| 1147 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1148 |
#: calibre.db.cache.Cache.set_metadata:3 |
| 1149 |
msgid "" |
| 1150 |
"Setting force_changes=True will force set_metadata to update fields even if " |
| 1151 |
"mi contains empty values. In this case, 'None' is distinguished from " |
| 1152 |
"'empty'. If mi.XXX is None, the XXX is not replaced, otherwise it is. The " |
| 1153 |
"tags, identifiers, and cover attributes are special cases. Tags and " |
| 1154 |
"identifiers cannot be set to None so they will always be replaced if " |
| 1155 |
"force_changes is true. You must ensure that mi contains the values you want " |
| 1156 |
"the book to have. Covers are always changed if a new cover is provided, but " |
| 1157 |
"are never deleted. Also note that force_changes has no effect on setting " |
| 1158 |
"title or authors." |
| 1159 |
msgstr "Si se establece ``force_changes=True`` set_metadata actualizará los campos, incluso si ``mi`` contiene valores vacíos. En este caso, None se distingue de «vacío». Si ``mi.XXX`` es None, el XXX no se sustituye, en caso contrario sí. Las etiquetas, identificadores y los atributos de portadas son casos especiales. Las etiquetas e identificadores no se pueden establecer en None por lo que siempre se sustituirán si ``force_changes`` es True. Debe asegurarse de que ``mi`` contenga los valores que desea que tenga el libro. Las portadas siempre se cambian si se proporciona una nueva, pero nunca se borran. Tenga también en cuenta que ``force_changes`` no tiene ningún efecto en la configuración de título o autores." |
| 1160 |
|
| 1161 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1162 |
#: calibre.db.cache.Cache.set_notes_for:1 |
| 1163 |
msgid "" |
| 1164 |
"Set the notes document. If the searchable text is different from the " |
| 1165 |
"document, specify it as searchable_text. If the document references " |
| 1166 |
"resources their hashes must be present in resource_hashes. Set " |
| 1167 |
"remove_unused_resources to True to cleanup unused resources, note that " |
| 1168 |
"updating a note automatically cleans up resources pertaining to that note " |
| 1169 |
"anyway." |
| 1170 |
msgstr "Establece el documento de notas. Si el texto que se puede buscar es distinto del documento, debe especificarse como ``searchable_text``. Si el documento hace referencia a recursos, sus códigos de comprobación deben incluirse en ``resource_hashes``. Establecer ``remove_unused_resources`` como True para limpiar los recursos no usados, tenga en cuenta que en todo caso una nota limpia automáticamente los recursos pertenecientes a esa nota." |
| 1171 |
|
| 1172 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1173 |
#: calibre.db.cache.Cache.set_pages:1 |
| 1174 |
msgid "Set page count information for the specified book" |
| 1175 |
msgstr "Establece la información de número de páginas para el libro especificado" |
| 1176 |
|
| 1177 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1178 |
#: calibre.db.cache.Cache.set_pref:1 |
| 1179 |
msgid "" |
| 1180 |
"Set the specified preference to the specified value. See also :meth:`pref`." |
| 1181 |
msgstr "Establecer la preferencia especificada al el valor especificado. Ver también :meth:`pref`." |
| 1182 |
|
| 1183 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1184 |
#: calibre.db.cache.Cache.split_if_is_multiple_composite:1 |
| 1185 |
msgid "" |
| 1186 |
"If f is a composite column lookup key and the column is is_multiple then " |
| 1187 |
"split v into unique non-empty values. The comparison is case sensitive. " |
| 1188 |
"Order is not preserved. Return a list() for compatibility with proxy " |
| 1189 |
"metadata field getters, for example tags." |
| 1190 |
msgstr "Si ``f`` es una clave de búsqueda de una columna compuesta y la columna es ``is_multiple``, entonces ``val`` se divide en valores únicos no vacíos. La comparación distingue mayúsculas y minúsculas. El orden no se mantiene. Devuelve un objeto ``list()`` por compatibilidad con otros métodos de obtención de metadatos como las etiquetas." |
| 1191 |
|
| 1192 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1193 |
#: calibre.db.cache.Cache.tags_older_than:1 |
| 1194 |
msgid "" |
| 1195 |
"Return the ids of all books having the tag ``tag`` that are older than the " |
| 1196 |
"specified time. tag comparison is case insensitive." |
| 1197 |
msgstr "Devuelve los identificadores de todos los libros que tienen la etiqueta ``tag`` que son anteriores al momento especificado. La comparación de etiquetas no distingue entre mayúsculas y minúsculas." |
| 1198 |
|
| 1199 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1200 |
#: calibre.db.cache.Cache.tags_older_than:4 |
| 1201 |
msgid "" |
| 1202 |
"A timedelta object or None. If None, then all ids with the tag are returned." |
| 1203 |
msgstr "Un objeto de tipo timedelta o None. Si es None, se devuelven todos los identificadores con etiqueta." |
| 1204 |
|
| 1205 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1206 |
#: calibre.db.cache.Cache.tags_older_than:7 |
| 1207 |
msgid "" |
| 1208 |
"If not None the list of matches will be restricted to books that have this " |
| 1209 |
"tag" |
| 1210 |
msgstr "Si no es None, la lista de coincidencias se limitará a los libros que tengan esta etiqueta" |
| 1211 |
|
| 1212 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1213 |
#: calibre.db.cache.Cache.tags_older_than:10 |
| 1214 |
msgid "" |
| 1215 |
"A list of authors. If not None the list of matches will be restricted to " |
| 1216 |
"books that have these authors (case insensitive)." |
| 1217 |
msgstr "Una lista de autores. Si no es None, la lista de coincidencias se limitará a los libros que tengan estos autores (no distingue mayúsculas y minúsculas)." |
| 1218 |
|
| 1219 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1220 |
#: calibre.db.cache.Cache.unretire_note_for:1 |
| 1221 |
msgid "" |
| 1222 |
"Unretire a previously retired note for the specified item. Notes are retired" |
| 1223 |
" when an item is removed from the database" |
| 1224 |
msgstr "Desretira una nota previamente retirada para el elemento especificado. Las notas se retiran cuando se elimina un elemento de la base de datos" |
| 1225 |
|
| 1226 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1227 |
#: calibre.db.cache.Cache.update_annotations:1 |
| 1228 |
msgid "Update annotations." |
| 1229 |
msgstr "Actualizar anotaciones." |
| 1230 |
|
| 1231 |
#: ../../../__w/calibre/calibre/src/calibre/db/cache.pydocstring of |
| 1232 |
#: calibre.db.cache.Cache.user_categories_for_books:1 |
| 1233 |
msgid "" |
| 1234 |
"Return the user categories for the specified books. proxy_metadata_map is " |
| 1235 |
"optional and is useful for a performance boost, in contexts where a " |
| 1236 |
"ProxyMetadata object for the books already exists. It should be a mapping of" |
| 1237 |
" book_ids to their corresponding ProxyMetadata objects." |
| 1238 |
msgstr "Devuelve las categorías de usuario de los libros especificados. ``proxy_metadata_map`` es opcional y es útil para aumentar el rendimiento en contextos donde ya existe un objeto ProxyMetadata de los libros. Debe ser un mapa de book_ids a los objetos ProxyMetadata correspondientes." |