| 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 |
# Julvenzor <[email protected]>, 2015 |
| 7 |
# Darío Hereñú, 2014 |
| 8 |
# David Martínez <[email protected]>, 2015 |
| 9 |
# Jellby <[email protected]>, 2014-2017,2019-2021,2024,2026 |
| 10 |
# Jorge Toriz <[email protected]>, 2015 |
| 11 |
# JUAN DAVID JARAMILLO ORTIZ <[email protected]>, 2014 |
| 12 |
# Lalo Cabrera <[email protected]>, 2014 |
| 13 |
# Ramiro Chaidez, 2014 |
| 14 |
# Walter Paterno <[email protected]>, 2021,2024 |
| 15 |
msgid "" |
| 16 |
msgstr "" |
| 17 |
"Project-Id-Version: calibre\n" |
| 18 |
"Report-Msgid-Bugs-To: \n" |
| 19 |
"POT-Creation-Date: 2026-06-24 05:21+0000\n" |
| 20 |
"PO-Revision-Date: 2014-07-05 16:50+0000\n" |
| 21 |
"Last-Translator: Jellby <[email protected]>, 2014-2017,2019-2021,2024,2026\n" |
| 22 |
"Language-Team: Spanish (http://app.transifex.com/calibre/calibre/language/es/)\n" |
| 23 |
"MIME-Version: 1.0\n" |
| 24 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 25 |
"Content-Transfer-Encoding: 8bit\n" |
| 26 |
"Language: es\n" |
| 27 |
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" |
| 28 |
|
| 29 |
#: ../../../__w/calibre/calibre/manual/polish.rst:4 |
| 30 |
msgid "API documentation for the e-book editing tools" |
| 31 |
msgstr "Documentación de la API para las herramientas de modificación de libros electrónicos" |
| 32 |
|
| 33 |
#: ../../../__w/calibre/calibre/manual/polish.rst:6 |
| 34 |
msgid "" |
| 35 |
"The e-book editing tools consist of a " |
| 36 |
":class:`calibre.ebooks.oeb.polish.container.Container` object that " |
| 37 |
"represents a book as a collection of HTML + resource files, and various " |
| 38 |
"tools that can be used to perform operations on the container. All the tools" |
| 39 |
" are in the form of module level functions in the various " |
| 40 |
"``calibre.ebooks.oeb.polish.*`` modules." |
| 41 |
msgstr "Las herramientas de modificación de libros electrónicos consisten en un objeto :class:`calibre.ebooks.oeb.polish.container.Container` que representa un libro como colección de archivos HTML y de recursos, y varias herramientas que pueden usarse para realizar diversas operaciones sobre el contenedor. Todas las herramientas están bajo la forma de funciones a nivel de módulo, en los distintos módulos ``calibre.ebooks.oeb.polish.*``." |
| 42 |
|
| 43 |
#: ../../../__w/calibre/calibre/manual/polish.rst:15 |
| 44 |
msgid "You obtain a container object for a book at a path like this::" |
| 45 |
msgstr "Se obtiene un objeto contenedor para un libro en una ruta como esta::" |
| 46 |
|
| 47 |
#: ../../../__w/calibre/calibre/manual/polish.rst:20 |
| 48 |
msgid "" |
| 49 |
"If you are writing a plugin for the E-book editor, you get the current " |
| 50 |
"container for the book being edited like this::" |
| 51 |
msgstr "Si está escribiendo un complemento para el editor de libros electrónicos, puede obtener el contenedor actual para el libro que se está modificando de este modo::" |
| 52 |
|
| 53 |
#: ../../../__w/calibre/calibre/manual/polish.rst:30 |
| 54 |
msgid "The Container object" |
| 55 |
msgstr "El objeto contenedor" |
| 56 |
|
| 57 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 58 |
#: of calibre.ebooks.oeb.polish.container.Container:1 |
| 59 |
msgid "" |
| 60 |
"A container represents an open e-book as a folder full of files and an OPF " |
| 61 |
"file. There are two important concepts:" |
| 62 |
msgstr "Un contenedor representa un libro electrónico abierto como una carpeta con archivos más un archivo opf. Hay varios conceptos importantes:" |
| 63 |
|
| 64 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 65 |
#: of calibre.ebooks.oeb.polish.container.Container:4 |
| 66 |
msgid "" |
| 67 |
"The root folder. This is the base of the e-book. All the e-books files are " |
| 68 |
"inside this folder or in its sub-folders." |
| 69 |
msgstr "La carpeta raíz. Ésta es la base del libro electrónico. Todos los archivos del libro se encuentran en esta carpeta o en sus subcarpetas." |
| 70 |
|
| 71 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 72 |
#: of calibre.ebooks.oeb.polish.container.Container:7 |
| 73 |
msgid "" |
| 74 |
"Names: These are paths to the books' files relative to the root folder. They" |
| 75 |
" always contain POSIX separators and are unquoted. They can be thought of as" |
| 76 |
" canonical identifiers for files in the book. Most methods on the container " |
| 77 |
"object work with names. Names are always in the NFC Unicode normal form." |
| 78 |
msgstr "Nombres: Son rutas a los archivos del libro con respecto a la carpeta raíz. Siempre contienen separadores POSIX, sin comillas. Pueden considerarse como identificadores canónicos para los archivos del libro. La mayoría de los métodos en el objeto contenedor trabajan con nombres. Los nombres están siempre en la forma normalizada Unicode NFC." |
| 79 |
|
| 80 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 81 |
#: of calibre.ebooks.oeb.polish.container.Container:13 |
| 82 |
msgid "" |
| 83 |
"Clones: the container object supports efficient on-disk cloning, which is " |
| 84 |
"used to implement checkpoints in the e-book editor. In order to make this " |
| 85 |
"work, you should never access files on the filesystem directly. Instead, use" |
| 86 |
" :meth:`raw_data` or :meth:`open` to read/write to component files in the " |
| 87 |
"book." |
| 88 |
msgstr "Clones: el objeto contenedor soporta clonación eficiente en disco, que se utiliza para implementar hitos en el editor de libros electrónicos. Para que esto funcione, nunca se debe acceder a los archivos del sistema de archivos directamente. En su lugar, debe usarse :meth:`raw_data` o :meth:`open` para leer o escribir en los archivos que integran el libro." |
| 89 |
|
| 90 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 91 |
#: of calibre.ebooks.oeb.polish.container.Container:18 |
| 92 |
msgid "" |
| 93 |
"When converting between hrefs and names use the methods provided by this " |
| 94 |
"class, they assume all hrefs are quoted." |
| 95 |
msgstr "Al convertir entre hrefs y nombres utilice los métodos suministrados por esta clase, éstos asumen que todas las hrefs están entre comillas." |
| 96 |
|
| 97 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 98 |
#: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:1 |
| 99 |
msgid "Convert an absolute path to a canonical name relative to :attr:`root`" |
| 100 |
msgstr "Convierte una ruta absoluta en un nombre canónico con respecto a :attr:`root`" |
| 101 |
|
| 102 |
#: ../../../__w/calibre/calibre/manual/polish.rst:0 |
| 103 |
msgid "Parameters" |
| 104 |
msgstr "Parámetros" |
| 105 |
|
| 106 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 107 |
#: of calibre.ebooks.oeb.polish.container.Container.abspath_to_name:3 |
| 108 |
msgid "" |
| 109 |
"The base folder. By default the root for this container object is used." |
| 110 |
msgstr "La carpeta base. De manera predeterminada se usa la raíz del objeto contenedor. " |
| 111 |
|
| 112 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 113 |
#: of calibre.ebooks.oeb.polish.container.Container.add_file:1 |
| 114 |
msgid "" |
| 115 |
"Add a file to this container. Entries for the file are automatically created" |
| 116 |
" in the OPF manifest and spine (if the file is a text document)" |
| 117 |
msgstr "Añade un archivo a este contenedor. Se crean automáticamente las entradas para el archivo en el manifiesto OPF y el lomo (si el archivo es un documento de texto)" |
| 118 |
|
| 119 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 120 |
#: of calibre.ebooks.oeb.polish.container.Container.add_name_to_manifest:1 |
| 121 |
msgid "" |
| 122 |
"Add an entry to the manifest for a file with the specified name. Returns the" |
| 123 |
" manifest id." |
| 124 |
msgstr "Añade una entrada al manifiesto para un archivo con el nombre especificado. Devuelve el id del manifiesto." |
| 125 |
|
| 126 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 127 |
#: of calibre.ebooks.oeb.polish.container.Container.add_properties:1 |
| 128 |
msgid "Add the specified properties to the manifest item identified by name." |
| 129 |
msgstr "Añade las propiedades especificadas (``properties``) al elemento del manifiesto identificado por ``name``." |
| 130 |
|
| 131 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 132 |
#: of calibre.ebooks.oeb.polish.container.Container.apply_unique_properties:1 |
| 133 |
msgid "" |
| 134 |
"Ensure that the specified properties are set on only the manifest item " |
| 135 |
"identified by name. You can pass None as the name to remove the property " |
| 136 |
"from all items." |
| 137 |
msgstr "Se asegura de que las propiedades especificadas (``properties``) estás establecidas sólo en el elemento del manifiesto identificado por ``name``. Pueda usarse None como ``name`` para eliminar la propiedad de todos los elementos." |
| 138 |
|
| 139 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 140 |
#: of calibre.ebooks.oeb.polish.container.Container.book_type:1 |
| 141 |
msgid "The type of book (epub for EPUB files and azw3 for AZW3 files)" |
| 142 |
msgstr "El tipo de libro (epub para archivos EPUB o azw3 para archivos AZW3)" |
| 143 |
|
| 144 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 145 |
#: of calibre.ebooks.oeb.polish.container.Container.commit:1 |
| 146 |
msgid "" |
| 147 |
"Commit all dirtied parsed objects to the filesystem and write out the e-book" |
| 148 |
" file at outpath." |
| 149 |
msgstr "Almacena todos los objetos procesados modificados en el sistema de archivos y escribe el archivo del libro en `outpath`." |
| 150 |
|
| 151 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 152 |
#: of calibre.ebooks.oeb.polish.container.Container.commit:3 |
| 153 |
msgid "" |
| 154 |
"The path to write the saved e-book file to. If None, the path of the " |
| 155 |
"original book file is used." |
| 156 |
msgstr "La ruta de acceso donde se escribe el archivo del libro. Si es None, se usa la ruta del archivo original." |
| 157 |
|
| 158 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 159 |
#: of calibre.ebooks.oeb.polish.container.Container.commit:4 |
| 160 |
msgid "" |
| 161 |
"If True the parsed representations of committed items are kept in the cache." |
| 162 |
msgstr "Si es True, la representación procesada de los elementos almacenados se mantiene en memoria." |
| 163 |
|
| 164 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 165 |
#: of calibre.ebooks.oeb.polish.container.Container.commit_item:1 |
| 166 |
msgid "" |
| 167 |
"Commit a parsed object to disk (it is serialized and written to the " |
| 168 |
"underlying file). If ``keep_parsed`` is True the parsed representation is " |
| 169 |
"retained in the cache. See also: :meth:`parsed`" |
| 170 |
msgstr "Almacena un objeto procesado en el disco (se serializa y escribe en el archivo subyacente). Si ``keep_parsed`` es True la representación procesada se mantiene en el caché. Véase también: :meth:`parsed`" |
| 171 |
|
| 172 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 173 |
#: of calibre.ebooks.oeb.polish.container.Container.dirty:1 |
| 174 |
msgid "" |
| 175 |
"Mark the parsed object corresponding to name as dirty. See also: " |
| 176 |
":meth:`parsed`." |
| 177 |
msgstr "Marca el objeto analizado correspondiente a ``nombre`` como sucio. Véase también :meth:`parsed`." |
| 178 |
|
| 179 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 180 |
#: of calibre.ebooks.oeb.polish.container.Container.exists:1 |
| 181 |
msgid "" |
| 182 |
"True iff a file/folder corresponding to the canonical name exists. Note that" |
| 183 |
" this function suffers from the limitations of the underlying OS filesystem," |
| 184 |
" in particular case (in)sensitivity. So on a case insensitive filesystem " |
| 185 |
"this will return True even if the case of name is different from the case of" |
| 186 |
" the underlying filesystem file. See also :meth:`has_name`" |
| 187 |
msgstr "True si y sólo si existe un archivo o carpeta que corresponde con el nombre canónico ``name``. Tenga en cuenta que esta función sufre las limitaciones del sistema de archivos del sistema operativo subyacente, en particular la distinción o no entre mayúsculas y minúsculas. En un sistema de archivos que no distingue entre mayúsculas y minúsculas, esta función devuelve True incluso si ``name`` y el archivo en el sistema de archivos difieren en mayúsculas y minúsculas. Véase también :meth:`has_name`." |
| 188 |
|
| 189 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 190 |
#: of calibre.ebooks.oeb.polish.container.Container.filesize:1 |
| 191 |
msgid "" |
| 192 |
"Return the size in bytes of the file represented by the specified canonical " |
| 193 |
"name. Automatically handles dirtied parsed objects. See also: :meth:`parsed`" |
| 194 |
msgstr "Devuelve el tamaño en bytes del archivo representado por el nombre canónico ``name``. Gestiona automáticamente objectos procesados modificados. Véase también :meth:`parsed`." |
| 195 |
|
| 196 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 197 |
#: of calibre.ebooks.oeb.polish.container.Container.generate_item:1 |
| 198 |
msgid "" |
| 199 |
"Add an item to the manifest with href derived from the given name. Ensures " |
| 200 |
"uniqueness of href and id automatically. Returns generated item." |
| 201 |
msgstr "Añade un elemento al manifiesto con href derivado del ``name`` dado. Asegura la unicidad del href y del id automáticamente. Devuelve el elemento generado." |
| 202 |
|
| 203 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 204 |
#: of |
| 205 |
#: calibre.ebooks.oeb.polish.container.Container.get_file_path_for_processing:1 |
| 206 |
msgid "" |
| 207 |
"Similar to open() except that it returns a file path, instead of an open " |
| 208 |
"file object." |
| 209 |
msgstr "Parecido a open() pero devuelve una ruta de archivo en lugar de un objeto de archivo abierto." |
| 210 |
|
| 211 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 212 |
#: of calibre.ebooks.oeb.polish.container.Container.guide_type_map:1 |
| 213 |
msgid "Mapping of guide type to canonical name" |
| 214 |
msgstr "Mapa de tipo de guía a nombre canónico" |
| 215 |
|
| 216 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 217 |
#: of calibre.ebooks.oeb.polish.container.Container.has_name:1 |
| 218 |
msgid "" |
| 219 |
"Return True iff a file with the same canonical name as that specified " |
| 220 |
"exists. Unlike :meth:`exists` this method is always case-sensitive." |
| 221 |
msgstr "Devuelve True si y sólo si existe un archivo con el mismo nombre canónico que el ``name`` especificado. A diferencia de :meth:`exists`, este método siempre distingue mayúsculas y minúsculas." |
| 222 |
|
| 223 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 224 |
#: of calibre.ebooks.oeb.polish.container.Container.href_to_name:1 |
| 225 |
msgid "" |
| 226 |
"Convert an href (relative to base) to a name. base must be a name or None, " |
| 227 |
"in which case self.root is used." |
| 228 |
msgstr "Convierte un ``href`` (relativo a ``base``) a un nombre. ``base`` debe ser un nombre o None, en cuyo caso se usa self.root." |
| 229 |
|
| 230 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 231 |
#: of calibre.ebooks.oeb.polish.container.Container.insert_into_xml:1 |
| 232 |
msgid "" |
| 233 |
"Insert item into parent (or append if index is None), fixing indentation. " |
| 234 |
"Only works with self closing items." |
| 235 |
msgstr "Inserta ``item`` en ``parent`` (o lo añade al final si ``index`` es None), arreglando la sangría. Sólo funciona con elementos con cierre incorporado." |
| 236 |
|
| 237 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 238 |
#: of calibre.ebooks.oeb.polish.container.Container.is_dir:1 |
| 239 |
msgid "If this container represents an unzipped book (a directory)" |
| 240 |
msgstr "Si este contenedor representa un libro descomprimido (un directorio)" |
| 241 |
|
| 242 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 243 |
#: of calibre.ebooks.oeb.polish.container.Container.iterlinks:1 |
| 244 |
msgid "" |
| 245 |
"Iterate over all links in name. If get_line_numbers is True the yields " |
| 246 |
"results of the form (link, line_number, offset). Where line_number is the " |
| 247 |
"line_number at which the link occurs and offset is the number of characters " |
| 248 |
"from the start of the line. Note that offset could actually encompass " |
| 249 |
"several lines if not zero." |
| 250 |
msgstr "Itera sobre todos los enlaces en ``name``. Si ``get_line_numbers`` es True, los resultados producidos son de la forma (enlace, número_de_línea, desplazamiento). Donde «número_de_línea» es número de línea en el que aparece el enlace y «desplazamiente» es el número de caracteres desde el inicio de la línea. Tenga en cuenta que el desplazamiento puede de hecho abarcar varias líneas si no es cero." |
| 251 |
|
| 252 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 253 |
#: of calibre.ebooks.oeb.polish.container.Container.make_name_unique:1 |
| 254 |
msgid "" |
| 255 |
"Ensure that `name` does not already exist in this book. If it does, return a" |
| 256 |
" modified version that does not exist." |
| 257 |
msgstr "Se asegura de que ``name`` no existe ya en este libro. Si existe, devuelve una versión modificada que no exista." |
| 258 |
|
| 259 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 260 |
#: of calibre.ebooks.oeb.polish.container.Container.manifest_has_name:1 |
| 261 |
msgid "Return True if the manifest has an entry corresponding to name" |
| 262 |
msgstr "Devuelve True si el manifiesto tiene una entrada correspondiente a ``name``" |
| 263 |
|
| 264 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 265 |
#: of calibre.ebooks.oeb.polish.container.Container.manifest_id_map:1 |
| 266 |
msgid "Mapping of manifest id to canonical names" |
| 267 |
msgstr "Correspondencia entre id del manifiesto y nombres canónicos" |
| 268 |
|
| 269 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 270 |
#: of calibre.ebooks.oeb.polish.container.Container.manifest_items_of_type:1 |
| 271 |
msgid "" |
| 272 |
"The names of all manifest items whose media-type matches predicate. " |
| 273 |
"`predicate` can be a set, a list, a string or a function taking a single " |
| 274 |
"argument, which will be called with the media-type." |
| 275 |
msgstr "Los nombres de todos los elementos del manifiesto cuyo media-type coincide con `predicate`. `predicate` puede ser un conjunto, una lista, un texto o una función que toma un único argumento, que se ejecutará con el media-type." |
| 276 |
|
| 277 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 278 |
#: of |
| 279 |
#: calibre.ebooks.oeb.polish.container.Container.manifest_items_with_property:1 |
| 280 |
msgid "All manifest items that have the specified property" |
| 281 |
msgstr "Todos los elementos del manifiesto que tienen la propiedad especificada" |
| 282 |
|
| 283 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 284 |
#: of calibre.ebooks.oeb.polish.container.Container.manifest_type_map:1 |
| 285 |
msgid "" |
| 286 |
"Mapping of manifest media-type to list of canonical names of that media-type" |
| 287 |
msgstr "Correspondencia entre media-type del manifiesto y lista de nombres canónicos de cada media-type" |
| 288 |
|
| 289 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 290 |
#: of calibre.ebooks.oeb.polish.container.Container.mi:1 |
| 291 |
msgid "" |
| 292 |
"The metadata of this book as a Metadata object. Note that this object is " |
| 293 |
"constructed on the fly every time this property is requested, so use it " |
| 294 |
"sparingly." |
| 295 |
msgstr "Los metadatos de este libro como un objeto Metadata. Tenga en cuenta que este objeto se construye al vuelo cada vez que se solicita la propiedad, por lo que debe usarse con moderación." |
| 296 |
|
| 297 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 298 |
#: of calibre.ebooks.oeb.polish.container.Container.name_to_abspath:1 |
| 299 |
msgid "Convert a canonical name to an absolute OS dependent path" |
| 300 |
msgstr "Convierte un nombre canónico en una ruta de acceso absoluta acorde al sistema operativo" |
| 301 |
|
| 302 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 303 |
#: of calibre.ebooks.oeb.polish.container.Container.name_to_href:1 |
| 304 |
msgid "" |
| 305 |
"Convert a name to a href relative to base, which must be a name or None in " |
| 306 |
"which case self.root is used as the base" |
| 307 |
msgstr "Convierte un nombre a un href relativo a la base, que debe ser un nombre o None, en cuyo caso self.root se toma como la base" |
| 308 |
|
| 309 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 310 |
#: of |
| 311 |
#: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_changed:1 |
| 312 |
msgid "" |
| 313 |
"Set of names that must never be renamed. Depends on the e-book file format." |
| 314 |
msgstr "Conjunto de nombres que nunca deben cambiarse. Depende del formato de archivo del libro electrónico." |
| 315 |
|
| 316 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 317 |
#: of |
| 318 |
#: calibre.ebooks.oeb.polish.container.Container.names_that_must_not_be_removed:1 |
| 319 |
msgid "" |
| 320 |
"Set of names that must never be deleted from the container. Depends on the " |
| 321 |
"e-book file format." |
| 322 |
msgstr "Conjunto de nombres que nunca deben borrarse del contenedor. Depende del formato de archivo del libro electrónico." |
| 323 |
|
| 324 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 325 |
#: of |
| 326 |
#: calibre.ebooks.oeb.polish.container.Container.names_that_need_not_be_manifested:1 |
| 327 |
msgid "" |
| 328 |
"Set of names that are allowed to be missing from the manifest. Depends on " |
| 329 |
"the e-book file format." |
| 330 |
msgstr "Conjunto de nombres que pueden estar ausentes del manifiesto. Depende del formato de archivo del libro electrónico." |
| 331 |
|
| 332 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 333 |
#: of calibre.ebooks.oeb.polish.container.Container.open:1 |
| 334 |
msgid "" |
| 335 |
"Open the file pointed to by name for direct read/write. Note that this will " |
| 336 |
"commit the file if it is dirtied and remove it from the parse cache. You " |
| 337 |
"must finish with this file before accessing the parsed version of it again, " |
| 338 |
"or bad things will happen." |
| 339 |
msgstr "Abre el archivo apuntado por ``name`` para lectura o escritura directa. Tenga en cuenta que esto almacenará el archivo si se modifica y lo eliminará del caché de procesamiento. Debe acabar con este archivo antes de acceder de nuevo a la versión procesada u ocurrirán cosas malas." |
| 340 |
|
| 341 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 342 |
#: of calibre.ebooks.oeb.polish.container.Container.opf:1 |
| 343 |
msgid "The parsed OPF file" |
| 344 |
msgstr "El archivo OPF analizado" |
| 345 |
|
| 346 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 347 |
#: of calibre.ebooks.oeb.polish.container.Container.opf_get_or_create:1 |
| 348 |
msgid "" |
| 349 |
"Convenience method to either return the first XML element with the specified" |
| 350 |
" name or create it under the opf:package element and then return it, if it " |
| 351 |
"does not already exist." |
| 352 |
msgstr "Método práctico que devuelve el primer elemento XML con el nombre especificado (``name``) o lo crea bajo el elemento opf:package y luego lo devuelve, si no existe previamente." |
| 353 |
|
| 354 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 355 |
#: of calibre.ebooks.oeb.polish.container.Container.opf_version:1 |
| 356 |
msgid "The version set on the OPF's <package> element" |
| 357 |
msgstr "La versión establecida en el elemento <package> del OPF" |
| 358 |
|
| 359 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 360 |
#: of calibre.ebooks.oeb.polish.container.Container.opf_version_parsed:1 |
| 361 |
msgid "The version set on the OPF's <package> element as a tuple of integers" |
| 362 |
msgstr "La versión establecida en el elemento <package> del OPF, como una tupla de enteros" |
| 363 |
|
| 364 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 365 |
#: of calibre.ebooks.oeb.polish.container.Container.opf_xpath:1 |
| 366 |
msgid "" |
| 367 |
"Convenience method to evaluate an XPath expression on the OPF file, has the " |
| 368 |
"opf: and dc: namespace prefixes pre-defined." |
| 369 |
msgstr "Método práctico para evaluar una expresión XPath en el archivo OPF, tiene los prefijos de espacio de nombres «opf:» y «dc:» predefinidos." |
| 370 |
|
| 371 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 372 |
#: of calibre.ebooks.oeb.polish.container.Container.parsed:1 |
| 373 |
msgid "" |
| 374 |
"Return a parsed representation of the file specified by name. For HTML and " |
| 375 |
"XML files an lxml tree is returned. For CSS files a css_parser stylesheet is" |
| 376 |
" returned. Note that parsed objects are cached for performance. If you make " |
| 377 |
"any changes to the parsed object, you must call :meth:`dirty` so that the " |
| 378 |
"container knows to update the cache. See also :meth:`replace`." |
| 379 |
msgstr "Devuelve una representación procesada del archivo especificado por ``name``. Para archivos HTML y XML, devuelve un árbol lxml. Para archivos CSS devuelve una hoja de estilos css_parser. Tenga en cuenta que los objetos procesados se mantienen en caché para mejorar el rendimiento. Si hace algún cambio en el objeto procesado, debe ejecutar :meth:`dirty` para que el contenedor sepa que tiene que actualizar el caché. Véase también :meth:`replace`." |
| 380 |
|
| 381 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 382 |
#: of calibre.ebooks.oeb.polish.container.Container.raw_data:1 |
| 383 |
msgid "Return the raw data corresponding to the file specified by name" |
| 384 |
msgstr "Devuelve el contenido en bruto correspondiente al archivo especificado por su ``name``" |
| 385 |
|
| 386 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 387 |
#: of calibre.ebooks.oeb.polish.container.Container.raw_data:3 |
| 388 |
msgid "" |
| 389 |
"If True and the file has a text based MIME type, decode it and return a " |
| 390 |
"unicode object instead of raw bytes." |
| 391 |
msgstr "Si es True y el archivo tiene un tipo MIME basado en texto, lo descodifica y devuelve un objeto unicode en lugar de bytes en bruto." |
| 392 |
|
| 393 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 394 |
#: of calibre.ebooks.oeb.polish.container.Container.raw_data:4 |
| 395 |
msgid "" |
| 396 |
"If True the returned unicode object is normalized to the NFC normal form as " |
| 397 |
"is required for the EPUB and AZW3 file formats." |
| 398 |
msgstr "Si es True el objeto Unicode devuelto se normaliza a la norma NFC, como requieren los formatos de archivo EPUB y AZW3." |
| 399 |
|
| 400 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 401 |
#: of calibre.ebooks.oeb.polish.container.Container.relpath:1 |
| 402 |
msgid "" |
| 403 |
"Convert an absolute path (with OS separators) to a path relative to base " |
| 404 |
"(defaults to self.root). The relative path is *not* a name. Use " |
| 405 |
":meth:`abspath_to_name` for that." |
| 406 |
msgstr "Convierte una ruta absoluta (con separadores de sistema operativo) a una ruta relativa a ``base`` (de manera predeterminada, self.root). La ruta relativa *no es* un nombre. Use :meth:`abspath_to_name` para obtener un nombre." |
| 407 |
|
| 408 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 409 |
#: of calibre.ebooks.oeb.polish.container.Container.remove_from_spine:1 |
| 410 |
msgid "" |
| 411 |
"Remove the specified items (by canonical name) from the spine. If " |
| 412 |
"``remove_if_no_longer_in_spine`` is True, the items are also deleted from " |
| 413 |
"the book, not just from the spine." |
| 414 |
msgstr "Elimina los elementos especificados (por nombre canónico) del lomo. Si ``remove_if_no_longer_in_spine`` es True, los elementos también se borran del libro, no sólo del lomo." |
| 415 |
|
| 416 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 417 |
#: of calibre.ebooks.oeb.polish.container.Container.remove_from_xml:1 |
| 418 |
msgid "" |
| 419 |
"Removes item from parent, fixing indentation (works only with self closing " |
| 420 |
"items)" |
| 421 |
msgstr "Elimina ``item`` del elemento superior, arreglando la sangría (sólo funciona con elementos con cierre incorporado)" |
| 422 |
|
| 423 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 424 |
#: of calibre.ebooks.oeb.polish.container.Container.remove_item:1 |
| 425 |
msgid "" |
| 426 |
"Remove the item identified by name from this container. This removes all " |
| 427 |
"references to the item in the OPF manifest, guide and spine as well as from " |
| 428 |
"any internal caches." |
| 429 |
msgstr "Elimina el elemento identificado por ``name`` de este contenedor. Esto elimina todas las referencias al elemento del manifiesto, guía y lomo del OPF, así como de cualquier caché interno." |
| 430 |
|
| 431 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 432 |
#: of calibre.ebooks.oeb.polish.container.Container.rename:1 |
| 433 |
msgid "" |
| 434 |
"Renames a file from current_name to new_name. It automatically rebases all " |
| 435 |
"links inside the file if the folder the file is in changes. Note however, " |
| 436 |
"that links are not updated in the other files that could reference this " |
| 437 |
"file. This is for performance, such updates should be done once, in bulk." |
| 438 |
msgstr "Cambia el nombre de un archivo de ``current_name`` a ``new_name``. Cambia automáticamente la base de todos los enlaces en el archivo si cambia la carpeta en que se encuentra el archivo. Tenga en cuenta, no obstante, que no se actualizan los enlaces en otros archivos que puedan hacer referencia a éste. Esto es así por motivos de rendimiento, tales actualizaciones deben hacerse una sola vez en masa." |
| 439 |
|
| 440 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 441 |
#: of calibre.ebooks.oeb.polish.container.Container.replace:1 |
| 442 |
msgid "" |
| 443 |
"Replace the parsed object corresponding to name with obj, which must be a " |
| 444 |
"similar object, i.e. an lxml tree for HTML/XML or a css_parser stylesheet " |
| 445 |
"for a CSS file." |
| 446 |
msgstr "Sustituye el objeto procesado correspondiente a ``name`` por ``obj``, que debe ser un objeto similar, es decir, un árbol lxml para archivos HTML o XML o una hoja de estilos css_parser para archivos CSS." |
| 447 |
|
| 448 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 449 |
#: of calibre.ebooks.oeb.polish.container.Container.replace_links:1 |
| 450 |
msgid "" |
| 451 |
"Replace all links in name using replace_func, which must be a callable that " |
| 452 |
"accepts a URL and returns the replaced URL. It must also have a 'replaced' " |
| 453 |
"attribute that is set to True if any actual replacement is done. Convenient " |
| 454 |
"ways of creating such callables are using the :class:`LinkReplacer` and " |
| 455 |
":class:`LinkRebaser` classes." |
| 456 |
msgstr "Sustituye todos los enlaces en ``name`` usando ``replace_func``, que debe ser un objeto ejecutable que acepte un URL y devuelva el URL sustituido. También debe tener un atributo ``replaced`` que sea True si se ha efectuado alguna sustitución. Pueden crearse tales objetos ejecutables de forma práctica usando las clases :class:`LinkReplacer` y :class:`LinkRebaser`." |
| 457 |
|
| 458 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 459 |
#: of calibre.ebooks.oeb.polish.container.Container.serialize_item:1 |
| 460 |
msgid "" |
| 461 |
"Convert a parsed object (identified by canonical name) into a bytestring. " |
| 462 |
"See :meth:`parsed`." |
| 463 |
msgstr "Convierte un objeto analizado (identificado por su nombre canónico) en una cadena de bytes. Vea :meth:`parsed`." |
| 464 |
|
| 465 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 466 |
#: of calibre.ebooks.oeb.polish.container.Container.set_spine:1 |
| 467 |
msgid "" |
| 468 |
"Set the spine to be spine_items where spine_items is an iterable of the form" |
| 469 |
" (name, linear). Will raise an error if one of the names is not present in " |
| 470 |
"the manifest." |
| 471 |
msgstr "Establece el lomo como ``spine_items``, donde ``spine_items`` es un objeto iterable de la forma (nombre, lineal). Se producirá un error si alguno de los nombres no está presente en el manifiesto." |
| 472 |
|
| 473 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 474 |
#: of calibre.ebooks.oeb.polish.container.Container.spine_items:1 |
| 475 |
msgid "" |
| 476 |
"An iterator yielding the path for every item in the books' spine. See also: " |
| 477 |
":attr:`spine_iter` and :attr:`spine_items`." |
| 478 |
msgstr "Un iterador que proporciona la ruta de acceso para cada elemento del lomo de los libros. Véase también: :attr:`spine_iter` y :attr:`spine_items`." |
| 479 |
|
| 480 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 481 |
#: of calibre.ebooks.oeb.polish.container.Container.spine_iter:1 |
| 482 |
msgid "" |
| 483 |
"An iterator that yields item, name is_linear for every item in the books' " |
| 484 |
"spine. item is the lxml element, name is the canonical file name and " |
| 485 |
"is_linear is True if the item is linear. See also: :attr:`spine_names` and " |
| 486 |
":attr:`spine_items`." |
| 487 |
msgstr "Un iterador que proporciona elemento, nombre, es_lineal para cada elemento del lomo de los libros. ``elemento`` es el elemento lxml, ``nombre`` es el nombre canónico del archivo y ``es_lineal`` es True si el elemento es lineal. Véase también: :attr:`spine_names` y :attr:`spine_items`." |
| 488 |
|
| 489 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/container.pydocstring |
| 490 |
#: of calibre.ebooks.oeb.polish.container.Container.spine_names:1 |
| 491 |
msgid "" |
| 492 |
"An iterator yielding name and is_linear for every item in the books' spine. " |
| 493 |
"See also: :attr:`spine_iter` and :attr:`spine_items`." |
| 494 |
msgstr "Un iterador que proporciona nombre y es_lineal para cada elemento del lomo de los libros. Véase también: :attr:`spine_iter` y :attr:`spine_items`." |
| 495 |
|
| 496 |
#: ../../../__w/calibre/calibre/manual/polish.rst:36 |
| 497 |
msgid "Managing component files in a container" |
| 498 |
msgstr "Gestionar los archivos dentro de un contenedor" |
| 499 |
|
| 500 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 501 |
#: of calibre.ebooks.oeb.polish.replace.replace_links:1 |
| 502 |
msgid "" |
| 503 |
"Replace links to files in the container. Will iterate over all files in the " |
| 504 |
"container and change the specified links in them." |
| 505 |
msgstr "Sustituye enlaces a archivos en el contenedor. Iterará sobre todos los archivos en el contenedor y cambiará los enlaces especificados en ellos." |
| 506 |
|
| 507 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 508 |
#: of calibre.ebooks.oeb.polish.replace.replace_links:3 |
| 509 |
msgid "" |
| 510 |
"A mapping of old canonical name to new canonical name. For example: " |
| 511 |
":code:`{'images/old.png': 'images/new.png'}`" |
| 512 |
msgstr "Un mapa de nombre canónico antiguo a nombre canónico nuevo. Por ejemplo: :code:`{'images/antiguo.png': 'images/nuevo.png'}`" |
| 513 |
|
| 514 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 515 |
#: of calibre.ebooks.oeb.polish.replace.replace_links:4 |
| 516 |
msgid "" |
| 517 |
"A callable that takes two arguments ``(name, anchor)`` and returns a new " |
| 518 |
"anchor. This is useful if you need to change the anchors in HTML files. By " |
| 519 |
"default, it does nothing." |
| 520 |
msgstr "Un objeto ejecutable que toma dos argumentos ``(name, anchor)`` y devuelve un punto de anclaje. Esto es útil si tiene que cambiar los puntos de anclaje en archivos HTML. De manera predeterminada, no hace nada." |
| 521 |
|
| 522 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 523 |
#: of calibre.ebooks.oeb.polish.replace.replace_links:7 |
| 524 |
msgid "If False, links are not replaced in the OPF file." |
| 525 |
msgstr "Si es False, no se sustituyen los enlaces en el archivo OPF." |
| 526 |
|
| 527 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 528 |
#: of calibre.ebooks.oeb.polish.replace.rename_files:1 |
| 529 |
msgid "" |
| 530 |
"Rename files in the container, automatically updating all links to them." |
| 531 |
msgstr "Cambia el nombre de archivos en el contenedor, actualizando automáticamente actualizando todos los enlaces a que apunten a ellos." |
| 532 |
|
| 533 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 534 |
#: of calibre.ebooks.oeb.polish.replace.rename_files:3 |
| 535 |
msgid "" |
| 536 |
"A mapping of old canonical name to new canonical name, for example: " |
| 537 |
":code:`{'text/chapter1.html': 'chapter1.html'}`." |
| 538 |
msgstr "Un mapo de nombres canónicos antiguo a nombre canónico nuevo, por ejemplo: :code:`{'text/capitulo1.html': 'capitulo1.html'}`." |
| 539 |
|
| 540 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/replace.pydocstring |
| 541 |
#: of calibre.ebooks.oeb.polish.replace.get_recommended_folders:1 |
| 542 |
msgid "" |
| 543 |
"Return the folders that are recommended for the given filenames. The " |
| 544 |
"recommendation is based on where the majority of files of the same type are " |
| 545 |
"located in the container. If no files of a particular type are present, the " |
| 546 |
"recommended folder is assumed to be the folder containing the OPF file." |
| 547 |
msgstr "Devuelve las carpetas recomendadas para los nombres de archivo dados. La recomendación se basa en dónde se encuentra la mayoría de los archivos del mismo tipo en el contenedor. Si no hay archivos de un tipo concreto, la carpeta recomendada es la que contiene el archivo OPF." |
| 548 |
|
| 549 |
#: ../../../__w/calibre/calibre/manual/polish.rst:47 |
| 550 |
msgid "Pretty printing and auto fixing parse errors" |
| 551 |
msgstr "Presentación mejorada y corrección automática de errores" |
| 552 |
|
| 553 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring |
| 554 |
#: of calibre.ebooks.oeb.polish.pretty.fix_html:1 |
| 555 |
msgid "" |
| 556 |
"Fix any parsing errors in the HTML represented as a string in raw. Fixing is" |
| 557 |
" done using the HTML5 parsing algorithm." |
| 558 |
msgstr "Corrige cualquier error de procesado en el HTML representado como un texto en ``raw``. La corrección se realiza usando el algoritmo de procesado HTML5." |
| 559 |
|
| 560 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring |
| 561 |
#: of calibre.ebooks.oeb.polish.pretty.fix_all_html:1 |
| 562 |
msgid "" |
| 563 |
"Fix any parsing errors in all HTML files in the container. Fixing is done " |
| 564 |
"using the HTML5 parsing algorithm." |
| 565 |
msgstr "Corrige cualquer error de procesado en todos los archivos HTML del contenedor. La corrección ser realiza usando el algoritmo de procesado HTML5." |
| 566 |
|
| 567 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring |
| 568 |
#: of calibre.ebooks.oeb.polish.pretty.pretty_html:1 |
| 569 |
msgid "Pretty print the HTML represented as a string in raw" |
| 570 |
msgstr "Redistribuye el HTML representado como un texto en ``raw``" |
| 571 |
|
| 572 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring |
| 573 |
#: of calibre.ebooks.oeb.polish.pretty.pretty_css:1 |
| 574 |
msgid "Pretty print the CSS represented as a string in raw" |
| 575 |
msgstr "Redistribuye el CSS representado como un texto en ``raw``" |
| 576 |
|
| 577 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring |
| 578 |
#: of calibre.ebooks.oeb.polish.pretty.pretty_xml:1 |
| 579 |
msgid "" |
| 580 |
"Pretty print the XML represented as a string in raw. If ``name`` is the name" |
| 581 |
" of the OPF, extra OPF-specific prettying is performed." |
| 582 |
msgstr "Redistribuye el XML representado como un texto en ``raw``. Si ``name`` es el nombre del OPF, se realiza una redistribución adicional específica para OPF." |
| 583 |
|
| 584 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/pretty.pydocstring |
| 585 |
#: of calibre.ebooks.oeb.polish.pretty.pretty_all:1 |
| 586 |
msgid "Pretty print all HTML/CSS/XML files in the container" |
| 587 |
msgstr "Redistribuye todos los archivos HTML, CSS y XML del contenedor" |
| 588 |
|
| 589 |
#: ../../../__w/calibre/calibre/manual/polish.rst:65 |
| 590 |
msgid "Managing book jackets" |
| 591 |
msgstr "Gestionar las sobrecubiertas de los libros" |
| 592 |
|
| 593 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring |
| 594 |
#: of calibre.ebooks.oeb.polish.jacket.remove_jacket:1 |
| 595 |
msgid "" |
| 596 |
"Remove an existing jacket, if any. Returns False if no existing jacket was " |
| 597 |
"found." |
| 598 |
msgstr "Elimina una sobrecubierta existente, si la hay. Devuelve False si no se encontró una sobrecubierta." |
| 599 |
|
| 600 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/jacket.pydocstring |
| 601 |
#: of calibre.ebooks.oeb.polish.jacket.add_or_replace_jacket:1 |
| 602 |
msgid "" |
| 603 |
"Either create a new jacket from the book's metadata or replace an existing " |
| 604 |
"jacket. Returns True if an existing jacket was replaced." |
| 605 |
msgstr "Crea una nueva sobrecubierta a partir de los metadatos del libro o sustituye una sobrecubierta existente. Devuelve True si se sustutuyó una sobrecubierta existente." |
| 606 |
|
| 607 |
#: ../../../__w/calibre/calibre/manual/polish.rst:74 |
| 608 |
msgid "Splitting and merging of files" |
| 609 |
msgstr "Dividir y combinar archivos" |
| 610 |
|
| 611 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 612 |
#: of calibre.ebooks.oeb.polish.split.split:1 |
| 613 |
msgid "" |
| 614 |
"Split the file specified by name at the position specified by loc_or_xpath. " |
| 615 |
"Splitting automatically migrates all links and references to the affected " |
| 616 |
"files." |
| 617 |
msgstr "Divide el archivo especificado por ``name`` en la ubicación especificada por ``loc_or_xpath``. La división migra automáticamente todos los enlaces y referencias a los archivos afectados." |
| 618 |
|
| 619 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 620 |
#: of calibre.ebooks.oeb.polish.split.split:5 |
| 621 |
msgid "" |
| 622 |
"Should be an XPath expression such as //h:div[@id=\"split_here\"]. Can also " |
| 623 |
"be a *loc* which is used internally to implement splitting in the preview " |
| 624 |
"panel." |
| 625 |
msgstr "Debería ser una expresión XPath como «//h:div[@id=\"dividir_aqui\"]». También puede ser un *loc*, que se usa internamente para ejecutar la división en el panel de vista previa." |
| 626 |
|
| 627 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 628 |
#: of calibre.ebooks.oeb.polish.split.split:8 |
| 629 |
msgid "" |
| 630 |
"If True the split occurs before the identified element otherwise after it." |
| 631 |
msgstr "Si es True, la división ocurre antes del elemento identificado, en caso contrario ocurre después." |
| 632 |
|
| 633 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 634 |
#: of calibre.ebooks.oeb.polish.split.split:9 |
| 635 |
msgid "Used internally" |
| 636 |
msgstr "Usado internamente" |
| 637 |
|
| 638 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 639 |
#: of calibre.ebooks.oeb.polish.split.multisplit:1 |
| 640 |
msgid "" |
| 641 |
"Split the specified file at multiple locations (all tags that match the " |
| 642 |
"specified XPath expression). See also: :func:`split`. Splitting " |
| 643 |
"automatically migrates all links and references to the affected files." |
| 644 |
msgstr "Divide el archivo especificado en múltiples ubicaciones (todas las etiquetas que coincidan con la expresión XPath especificada). Véase también :func:`split`. La división migra automáticamente todos los enlaces y referencias a los archivos afectados." |
| 645 |
|
| 646 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 647 |
#: of calibre.ebooks.oeb.polish.split.multisplit:5 |
| 648 |
msgid "" |
| 649 |
"If True the splits occur before the identified element otherwise after it." |
| 650 |
msgstr "Si es True las divisiones se producen antes del elemento identificado, en caso contrario se producen después." |
| 651 |
|
| 652 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 653 |
#: of calibre.ebooks.oeb.polish.split.merge:1 |
| 654 |
msgid "" |
| 655 |
"Merge the specified files into a single file, automatically migrating all " |
| 656 |
"links and references to the affected files. The file must all either be HTML" |
| 657 |
" or CSS files." |
| 658 |
msgstr "Combina los archivos especificados en un único archivo, migrando automáticamente todos los enlaces y referencias a los archivos afectados. Los archivos deben ser todos HTML o todos CSS." |
| 659 |
|
| 660 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 661 |
#: of calibre.ebooks.oeb.polish.split.merge:4 |
| 662 |
msgid "Must be either ``'text'`` for HTML files or ``'styles'`` for CSS files" |
| 663 |
msgstr "Debe ser ``'text'`` para archivos HTML o ``'styles'`` para archivos CSS" |
| 664 |
|
| 665 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 666 |
#: of calibre.ebooks.oeb.polish.split.merge:5 |
| 667 |
msgid "The list of files to be merged" |
| 668 |
msgstr "La lista de archivos para combinar." |
| 669 |
|
| 670 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/split.pydocstring |
| 671 |
#: of calibre.ebooks.oeb.polish.split.merge:6 |
| 672 |
msgid "" |
| 673 |
"Which of the merged files is the *master* file, that is, the file that will " |
| 674 |
"remain after merging." |
| 675 |
msgstr "Cuál de los archivos combinados es el archivo *maestro*, es decir, el archivo que se mantendrá después del proceso." |
| 676 |
|
| 677 |
#: ../../../__w/calibre/calibre/manual/polish.rst:85 |
| 678 |
msgid "Managing covers" |
| 679 |
msgstr "Gestionar portadas" |
| 680 |
|
| 681 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 682 |
#: of calibre.ebooks.oeb.polish.cover.set_cover:1 |
| 683 |
msgid "Set the cover of the book to the image pointed to by cover_path." |
| 684 |
msgstr "Establece la imagen a la que apunta ``cover_path`` como la portada del libro." |
| 685 |
|
| 686 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 687 |
#: of calibre.ebooks.oeb.polish.cover.set_cover:3 |
| 688 |
msgid "" |
| 689 |
"Either the absolute path to an image file or the canonical name of an image " |
| 690 |
"in the book. When using an image in the book, you must also set options, see" |
| 691 |
" below." |
| 692 |
msgstr "La ruta absoluta a un archivo de imagen o el nombre canónico de una imagen en el libro. Si usa una imagen del libro, debe especificar también ``options``, ver más abajo." |
| 693 |
|
| 694 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 695 |
#: of calibre.ebooks.oeb.polish.cover.set_cover:6 |
| 696 |
msgid "" |
| 697 |
"An optional callable that takes a single argument. It will be called with " |
| 698 |
"information about the tasks being processed." |
| 699 |
msgstr "Un objeto ejecutable opcional que toma un solo argumento. Se ejecutará con información sobre las tareas que se llevan a cabo." |
| 700 |
|
| 701 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 702 |
#: of calibre.ebooks.oeb.polish.cover.set_cover:8 |
| 703 |
msgid "" |
| 704 |
"None or a dictionary that controls how the cover is set. The dictionary can " |
| 705 |
"have entries: **keep_aspect**: True or False (Preserve aspect ratio of " |
| 706 |
"covers in EPUB) **no_svg**: True or False (Use an SVG cover wrapper in the " |
| 707 |
"EPUB titlepage) **existing**: True or False (``cover_path`` refers to an " |
| 708 |
"existing image in the book)" |
| 709 |
msgstr "None o un diccionario que controla cómo se establece la portada. El diccionario puede tener entradas: **keep_aspect**: True o False (mantiene la proporción de las portadas en EPUB) **no_svg**: True o False (Usa un envoltorio de portada SVG en la página de título EPUB) **existing**: True o False (``cover_path`` se refiere a una imagen existente en el libro)" |
| 710 |
|
| 711 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 712 |
#: of calibre.ebooks.oeb.polish.cover.mark_as_cover:1 |
| 713 |
msgid "Mark the specified image as the cover image." |
| 714 |
msgstr "Marca la imagen especificada como la imagen de portada." |
| 715 |
|
| 716 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 717 |
#: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:1 |
| 718 |
msgid "Mark the specified HTML file as the titlepage of the EPUB." |
| 719 |
msgstr "Marca el archivo HTML especificado como la página de título del EPUB." |
| 720 |
|
| 721 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/cover.pydocstring |
| 722 |
#: of calibre.ebooks.oeb.polish.cover.mark_as_titlepage:3 |
| 723 |
msgid "If True the HTML file is moved to the start of the spine" |
| 724 |
msgstr "Si es True, el archivo HTML se mueve al inicio del lomo" |
| 725 |
|
| 726 |
#: ../../../__w/calibre/calibre/manual/polish.rst:96 |
| 727 |
msgid "Working with CSS" |
| 728 |
msgstr "Trabajar con CSS" |
| 729 |
|
| 730 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/fonts.pydocstring |
| 731 |
#: of calibre.ebooks.oeb.polish.fonts.change_font:1 |
| 732 |
msgid "" |
| 733 |
"Change a font family from old_name to new_name. Changes all occurrences of " |
| 734 |
"the font family in stylesheets, style tags and style attributes. If the " |
| 735 |
"old_name refers to an embedded font, it is removed. You can set new_name to " |
| 736 |
"None to remove the font family instead of changing it." |
| 737 |
msgstr "Cambia un tipo de letra de ``old_name`` a ``new_name``. Modifica todas las ocasiones en que aparece el tipo de letra en hojas de estilo, etiquetas estilo y atributos de estilo. Si ``old_name`` se refiere a un tipo de letr incrustado, se elimina. Puede establecer ``new_name`` como None para eliminar el tipo de letra en lugar de cambiarlo." |
| 738 |
|
| 739 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 740 |
#: of calibre.ebooks.oeb.polish.css.remove_unused_css:1 |
| 741 |
msgid "" |
| 742 |
"Remove all unused CSS rules from the book. An unused CSS rule is one that " |
| 743 |
"does not match any actual content." |
| 744 |
msgstr "Elimina todas las reglas CSS no utilizadas en el libro. Una regla CSS sin usar es una que no coincide con ningún contenido real." |
| 745 |
|
| 746 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 747 |
#: of calibre.ebooks.oeb.polish.css.remove_unused_css:3 |
| 748 |
msgid "" |
| 749 |
"An optional callable that takes a single argument. It is called with " |
| 750 |
"information about the operations being performed." |
| 751 |
msgstr "Un objeto ejecutable opcional que toma un único argumento. Se ejecuta con información sobre las operaciones que se lleva a cabo." |
| 752 |
|
| 753 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 754 |
#: of calibre.ebooks.oeb.polish.css.remove_unused_css:4 |
| 755 |
msgid "" |
| 756 |
"If True, class attributes in the HTML that do not match any CSS rules are " |
| 757 |
"also removed." |
| 758 |
msgstr "Si es True, también se eliminan los atributos de clase del HTML que no correspondan a ninguna regla CSS." |
| 759 |
|
| 760 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 761 |
#: of calibre.ebooks.oeb.polish.css.remove_unused_css:5 |
| 762 |
msgid "If True, rules with identical selectors are merged." |
| 763 |
msgstr "Si es True, se combinan las reglas con selectores idénticos." |
| 764 |
|
| 765 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 766 |
#: of calibre.ebooks.oeb.polish.css.remove_unused_css:6 |
| 767 |
msgid "If True, rules with identical properties are merged." |
| 768 |
msgstr "Si es True, se combinan las reglas con propiedades idénticas." |
| 769 |
|
| 770 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 771 |
#: of calibre.ebooks.oeb.polish.css.remove_unused_css:7 |
| 772 |
msgid "" |
| 773 |
"If True, stylesheets that are not referenced by any content are removed" |
| 774 |
msgstr "Si es True, se eliminan las hojas de estilos que no tienen referencias en otros archivos" |
| 775 |
|
| 776 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 777 |
#: of calibre.ebooks.oeb.polish.css.filter_css:1 |
| 778 |
msgid "Remove the specified CSS properties from all CSS rules in the book." |
| 779 |
msgstr "Elimina las propiedades CSS especificadas de todas las reglas CSS del libro." |
| 780 |
|
| 781 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 782 |
#: of calibre.ebooks.oeb.polish.css.filter_css:3 |
| 783 |
msgid "" |
| 784 |
"Set of properties to remove. For example: :code:`{'font-family', 'color'}`." |
| 785 |
msgstr "Conjunto de propiedades para eliminar. Por ejemplo: :code:`{'font-family', 'color'}`." |
| 786 |
|
| 787 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/css.pydocstring |
| 788 |
#: of calibre.ebooks.oeb.polish.css.filter_css:4 |
| 789 |
msgid "" |
| 790 |
"The files from which to remove the properties. Defaults to all HTML and CSS " |
| 791 |
"files in the book." |
| 792 |
msgstr "Los archivos en los que se eliminan las propiedades. De manera predeterminada, todos los archivos HTML y CSS del libro." |
| 793 |
|
| 794 |
#: ../../../__w/calibre/calibre/manual/polish.rst:108 |
| 795 |
msgid "Working with the Table of Contents" |
| 796 |
msgstr "Trabajar con el índice" |
| 797 |
|
| 798 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring |
| 799 |
#: of calibre.ebooks.oeb.polish.toc.from_xpaths:1 |
| 800 |
msgid "" |
| 801 |
"Generate a Table of Contents from a list of XPath expressions. Each " |
| 802 |
"expression in the list corresponds to a level of the generate ToC. For " |
| 803 |
"example: :code:`['//h:h1', '//h:h2', '//h:h3']` will generate a three level " |
| 804 |
"Table of Contents from the ``<h1>``, ``<h2>`` and ``<h3>`` tags." |
| 805 |
msgstr "Genera un índice a partir de una lista de expresiones XPath. Cada expresión de la lista corresponde a un nivel del índice generado. Por ejemplo: :code:`['//h:h1', '//h:h2', '//h:h3']` generará un índice de tres niveles a partir de las etiquetas ``<h1>``, ``<h2>`` y ``<h3>``." |
| 806 |
|
| 807 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring |
| 808 |
#: of calibre.ebooks.oeb.polish.toc.from_links:1 |
| 809 |
msgid "Generate a Table of Contents from links in the book." |
| 810 |
msgstr "Genera un índice a partir de los enlaces del libro." |
| 811 |
|
| 812 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring |
| 813 |
#: of calibre.ebooks.oeb.polish.toc.from_files:1 |
| 814 |
msgid "Generate a Table of Contents from files in the book." |
| 815 |
msgstr "Genera un índice a partir de los archivos del libro." |
| 816 |
|
| 817 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring |
| 818 |
#: of calibre.ebooks.oeb.polish.toc.create_inline_toc:1 |
| 819 |
msgid "" |
| 820 |
"Create an inline (HTML) Table of Contents from an existing NCX Table of " |
| 821 |
"Contents." |
| 822 |
msgstr "Crea un índice explícito (HTML) a partir de un índice NCX existente." |
| 823 |
|
| 824 |
#: ../../../__w/calibre/calibre/src/calibre/ebooks/oeb/polish/toc.pydocstring |
| 825 |
#: of calibre.ebooks.oeb.polish.toc.create_inline_toc:3 |
| 826 |
msgid "The title for this table of contents." |
| 827 |
msgstr "El título de este índice." |
| 828 |
|
| 829 |
#: ../../../__w/calibre/calibre/manual/polish.rst:122 |
| 830 |
msgid "Edit book tool" |
| 831 |
msgstr "Herramienta para modificar libro" |
| 832 |
|
| 833 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 834 |
#: of calibre.gui2.tweak_book.plugin.Tool:1 |
| 835 |
msgid "" |
| 836 |
"The base class for individual tools in an Edit Book plugin. Useful members " |
| 837 |
"include:" |
| 838 |
msgstr "La clase básica para las herramientas individuales en un complemento para modificar libros. Algunos miembros útiles incluyen:" |
| 839 |
|
| 840 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 841 |
#: of calibre.gui2.tweak_book.plugin.Tool:3 |
| 842 |
msgid "" |
| 843 |
"``self.plugin``: A reference to the :class:`calibre.customize.Plugin` object" |
| 844 |
" to which this tool belongs." |
| 845 |
msgstr "``self.plugin``: Una referencia al objeto :class:`calibre.customize.Plugin` al que pertenece esta herramienta." |
| 846 |
|
| 847 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 848 |
#: of calibre.gui2.tweak_book.plugin.Tool:4 |
| 849 |
msgid "self. :attr:`boss`" |
| 850 |
msgstr "self. :attr:`boss`" |
| 851 |
|
| 852 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 853 |
#: of calibre.gui2.tweak_book.plugin.Tool:5 |
| 854 |
msgid "self. :attr:`gui`" |
| 855 |
msgstr "self. :attr:`gui`" |
| 856 |
|
| 857 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 858 |
#: of calibre.gui2.tweak_book.plugin.Tool:7 |
| 859 |
msgid "Methods that must be overridden in sub classes:" |
| 860 |
msgstr "Métodos que deben reemplazarse en subclases:" |
| 861 |
|
| 862 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 863 |
#: of calibre.gui2.tweak_book.plugin.Tool:9 |
| 864 |
msgid ":meth:`create_action`" |
| 865 |
msgstr ":meth:`create_action`" |
| 866 |
|
| 867 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 868 |
#: of calibre.gui2.tweak_book.plugin.Tool:10 |
| 869 |
msgid ":meth:`register_shortcut`" |
| 870 |
msgstr ":meth:`register_shortcut`" |
| 871 |
|
| 872 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 873 |
#: of calibre.gui2.tweak_book.plugin.Tool.name:1 |
| 874 |
msgid "Set this to a unique name it will be used as a key" |
| 875 |
msgstr "Especifique un nombre único que se utilizará como clave" |
| 876 |
|
| 877 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 878 |
#: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_toolbar:1 |
| 879 |
msgid "If True the user can choose to place this tool in the plugins toolbar" |
| 880 |
msgstr "Si es True, el usuario puede colocar esta herramienta en la barra de herramientas de complementos" |
| 881 |
|
| 882 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 883 |
#: of calibre.gui2.tweak_book.plugin.Tool.allowed_in_menu:1 |
| 884 |
msgid "If True the user can choose to place this tool in the plugins menu" |
| 885 |
msgstr "Si es True, el usuario puede colocar esta herramienta en el menú de complementos" |
| 886 |
|
| 887 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 888 |
#: of calibre.gui2.tweak_book.plugin.Tool.toolbar_button_popup_mode:1 |
| 889 |
msgid "" |
| 890 |
"The popup mode for the menu (if any) of the toolbar button. Possible values " |
| 891 |
"are 'delayed', 'instant', 'button'" |
| 892 |
msgstr "El modo emergente para el menú (si lo hay) del botón de la barra de herramientas. Los valores posibles son «delayed», «instant», «button»" |
| 893 |
|
| 894 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 895 |
#: of calibre.gui2.tweak_book.plugin.Tool.boss:1 |
| 896 |
msgid "" |
| 897 |
"The :class:`calibre.gui2.tweak_book.boss.Boss` object. Used to control the " |
| 898 |
"user interface." |
| 899 |
msgstr "El objeto :class:`calibre.gui2.tweak_book.boss.Boss`. Utilizado para controlar la interfaz de usuario." |
| 900 |
|
| 901 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 902 |
#: of calibre.gui2.tweak_book.plugin.Tool.gui:1 |
| 903 |
msgid "The main window of the user interface" |
| 904 |
msgstr "La ventana principal de la interfaz del usuario" |
| 905 |
|
| 906 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 907 |
#: of calibre.gui2.tweak_book.plugin.Tool.current_container:1 |
| 908 |
msgid "" |
| 909 |
"Return the current :class:`calibre.ebooks.oeb.polish.container.Container` " |
| 910 |
"object that represents the book being edited." |
| 911 |
msgstr "Devuelve el objeto :class:`calibre.ebooks.oeb.polish.container.Container` actual que representa el libro que se está modificando." |
| 912 |
|
| 913 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 914 |
#: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:1 |
| 915 |
msgid "" |
| 916 |
"Register a keyboard shortcut that will trigger the specified ``qaction``. " |
| 917 |
"This keyboard shortcut will become automatically customizable by the user in" |
| 918 |
" the Keyboard shortcuts section of the editor preferences." |
| 919 |
msgstr "Registra un atajo de teclado que ejecutará la ``qaction`` especificada. Este atajo de teclado será automáticamente personalizable por el usuario a través de la sección Atajos de teclado de las preferencias del editor." |
| 920 |
|
| 921 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 922 |
#: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:4 |
| 923 |
msgid "" |
| 924 |
"A QAction object, it will be triggered when the configured key combination " |
| 925 |
"is pressed by the user." |
| 926 |
msgstr "Un objeto QAction, se ejecutará cuando el usuario pulse la combinación de teclas configurada." |
| 927 |
|
| 928 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 929 |
#: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:6 |
| 930 |
msgid "" |
| 931 |
"A unique name for this shortcut/action. It will be used internally, it must " |
| 932 |
"not be shared by any other actions in this plugin." |
| 933 |
msgstr "Un nombre único para este atajo o acción. Se usará internamente, no debe coincidir con ninguna otra acción de este complemento." |
| 934 |
|
| 935 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 936 |
#: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:9 |
| 937 |
msgid "" |
| 938 |
"A list of the default keyboard shortcuts. If not specified no default " |
| 939 |
"shortcuts will be set. If the shortcuts specified here conflict with either " |
| 940 |
"builtin shortcuts or shortcuts from user configuration/other plugins, they " |
| 941 |
"will be ignored. In that case, users will have to configure the shortcuts " |
| 942 |
"manually via Preferences. For example: ``default_keys=('Ctrl+J', 'F9')``." |
| 943 |
msgstr "Una lista de los atajos de teclado predeterminados. Si no se especifica, no se establecerá ningún atajo predeterminado. Si los atajos especificados están en conflicto on atajos predefinidos, con la configuración del usuario o con otros complementos, no se tendrán en cuenta. En tal caso, los usuarios tendrán que configurar los atajos manualmente a través de las Preferencias. Por ejemplo: ``default_keys=('Ctrl+J', 'F9')``." |
| 944 |
|
| 945 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 946 |
#: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:15 |
| 947 |
msgid "" |
| 948 |
"An optional short description of this action. If not specified the text from" |
| 949 |
" the QAction will be used." |
| 950 |
msgstr "Una breve descripción opcional de esta acción. Si no se especifica, se utilizará el texto de la QAction." |
| 951 |
|
| 952 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 953 |
#: of calibre.gui2.tweak_book.plugin.Tool.register_shortcut:17 |
| 954 |
msgid "" |
| 955 |
"An optional longer description of this action, it will be used in the " |
| 956 |
"preferences entry for this shortcut." |
| 957 |
msgstr "Una descripción opcional más extensa de esta acción, que se usará en la entrada de las preferencias para este acceso directo." |
| 958 |
|
| 959 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 960 |
#: of calibre.gui2.tweak_book.plugin.Tool.create_action:1 |
| 961 |
msgid "" |
| 962 |
"Create a QAction that will be added to either the plugins toolbar or the " |
| 963 |
"plugins menu depending on ``for_toolbar``. For example::" |
| 964 |
msgstr "Crea una QAction que se añadirá a la barra de herramientas de complementos, o al menú de complementos según el valor de ``for_toolbar``. Por ejemplo::" |
| 965 |
|
| 966 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/plugin.pydocstring |
| 967 |
#: of calibre.gui2.tweak_book.plugin.Tool.create_action:19 |
| 968 |
msgid "Method :meth:`register_shortcut`." |
| 969 |
msgstr "Método :meth:`register_shortcut`." |
| 970 |
|
| 971 |
#: ../../../__w/calibre/calibre/manual/polish.rst:131 |
| 972 |
msgid "Controlling the editor's user interface" |
| 973 |
msgstr "Controlar la interfaz de usuario del editor" |
| 974 |
|
| 975 |
#: ../../../__w/calibre/calibre/manual/polish.rst:133 |
| 976 |
msgid "" |
| 977 |
"The e-book editor's user interface is controlled by a single global *Boss* " |
| 978 |
"object. This has many useful methods that can be used in plugin code to " |
| 979 |
"perform common tasks." |
| 980 |
msgstr "La interfaz de usuario del editor de libros electrónicos está controlada por un único objeto global *Boss*. Este objeto posee varios métodos útiles que pueden utilizarse en el código de los complementos para realizar diversas tareas." |
| 981 |
|
| 982 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 983 |
#: of calibre.gui2.tweak_book.boss.Boss.add_savepoint:1 |
| 984 |
msgid "Create a restore checkpoint with the name specified as ``msg``" |
| 985 |
msgstr "Crea un hito de restauración con el nombre especificado como ``msg``" |
| 986 |
|
| 987 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 988 |
#: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:1 |
| 989 |
msgid "" |
| 990 |
"Update all the components of the user interface to reflect the latest data " |
| 991 |
"in the current book container." |
| 992 |
msgstr "Actualiza todos los componentes de la interfaz para reflejar los datos más recientes del contenedor de libro actual." |
| 993 |
|
| 994 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 995 |
#: of calibre.gui2.tweak_book.boss.Boss.apply_container_update_to_gui:3 |
| 996 |
msgid "" |
| 997 |
"If True, the book will be marked as modified, so the user will be prompted " |
| 998 |
"to save it when quitting." |
| 999 |
msgstr "Si es True, el libro se marcará como modificado, por lo que al usuario se le pedirá guardarlo al salir." |
| 1000 |
|
| 1001 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1002 |
#: of calibre.gui2.tweak_book.boss.Boss.close_editor:1 |
| 1003 |
msgid "Close the editor that is editing the file specified by ``name``" |
| 1004 |
msgstr "Cierra el editor que está modificando el archivo especificado por ``name``" |
| 1005 |
|
| 1006 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1007 |
#: of calibre.gui2.tweak_book.boss.Boss.commit_all_editors_to_container:1 |
| 1008 |
msgid "" |
| 1009 |
"Commit any changes that the user has made to files open in editors to the " |
| 1010 |
"container. You should call this method before performing any actions on the " |
| 1011 |
"current container" |
| 1012 |
msgstr "Almacena todos los cambios que el usuario haya hecho en los archivos abiertos en el contenedor. Debe ejecutar este método antes de realizar cualquier acción sobre el contenedor actual." |
| 1013 |
|
| 1014 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1015 |
#: of calibre.gui2.tweak_book.boss.Boss.currently_editing:1 |
| 1016 |
msgid "" |
| 1017 |
"Return the name of the file being edited currently or None if no file is " |
| 1018 |
"being edited" |
| 1019 |
msgstr "Devuelve el nombre del archivo que está se está modificando actualmente o None si no se está modificando ningún archivo." |
| 1020 |
|
| 1021 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1022 |
#: of calibre.gui2.tweak_book.boss.Boss.edit_file:1 |
| 1023 |
msgid "Open the file specified by name in an editor" |
| 1024 |
msgstr "Abre el archivo especificado por ``name`` en un editor" |
| 1025 |
|
| 1026 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1027 |
#: of calibre.gui2.tweak_book.boss.Boss.edit_file:3 |
| 1028 |
msgid "" |
| 1029 |
"The media type of the file, for example, ``'text/html'``. If not specified " |
| 1030 |
"it is guessed from the file extension." |
| 1031 |
msgstr "El tipo de medio del archivo, por ejemplo: ``'text/html'``. Si no se especifica, se supone uno a partir de la extensión del archivo." |
| 1032 |
|
| 1033 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1034 |
#: of calibre.gui2.tweak_book.boss.Boss.edit_file:4 |
| 1035 |
msgid "A template to initialize the opened editor with" |
| 1036 |
msgstr "Una plantilla con la que inicializar el editor abierto" |
| 1037 |
|
| 1038 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1039 |
#: of calibre.gui2.tweak_book.boss.Boss.open_book:1 |
| 1040 |
msgid "" |
| 1041 |
"Open the e-book at ``path`` for editing. Will show an error if the e-book is" |
| 1042 |
" not in a supported format or the current book has unsaved changes." |
| 1043 |
msgstr "Abre el libro electrónico en ``path`` para modificarlo. Mostrará un error si el libro electrónico no está en un formato compatible o si el libro actual tiene cambios sin guardar." |
| 1044 |
|
| 1045 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1046 |
#: of calibre.gui2.tweak_book.boss.Boss.open_book:3 |
| 1047 |
msgid "" |
| 1048 |
"The name of a file inside the newly opened book to start editing. Can also " |
| 1049 |
"be a list of names." |
| 1050 |
msgstr "El nombre de un archivo dentro del libro abierto para iniciar la modificación. También puede ser una lista de nombres." |
| 1051 |
|
| 1052 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1053 |
#: of calibre.gui2.tweak_book.boss.Boss.rewind_savepoint:1 |
| 1054 |
msgid "" |
| 1055 |
"Undo the previous creation of a restore checkpoint, useful if you create a " |
| 1056 |
"checkpoint, then abort the operation with no changes" |
| 1057 |
msgstr "Deshace la creación anterior de un hito de restauración, útil si crea un hito y luego cancela la operación sin ningún cambio" |
| 1058 |
|
| 1059 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1060 |
#: of calibre.gui2.tweak_book.boss.Boss.save_book:1 |
| 1061 |
msgid "Save the book. Saving is performed in the background" |
| 1062 |
msgstr "Guarda el libro. El guardado se lleva a cabo en segundo plano" |
| 1063 |
|
| 1064 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1065 |
#: of calibre.gui2.tweak_book.boss.Boss.set_modified:1 |
| 1066 |
msgid "Mark the book as having been modified" |
| 1067 |
msgstr "Marca el libro como modificado" |
| 1068 |
|
| 1069 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1070 |
#: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:1 |
| 1071 |
msgid "Show the changes to the book from its last checkpointed state" |
| 1072 |
msgstr "Muestra los cambios en el libro desde el estado del último hito" |
| 1073 |
|
| 1074 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1075 |
#: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:3 |
| 1076 |
msgid "" |
| 1077 |
"If True the diff dialog will have a button to allow the user to revert all " |
| 1078 |
"changes" |
| 1079 |
msgstr "Si es True el cuadro de diferencias tendrá un botón que le permitirá al usuario deshacer los cambios" |
| 1080 |
|
| 1081 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1082 |
#: of calibre.gui2.tweak_book.boss.Boss.show_current_diff:4 |
| 1083 |
msgid "" |
| 1084 |
"A container object to compare the current container to. If None, the " |
| 1085 |
"previously checkpointed container is used" |
| 1086 |
msgstr "Un objeto de contenedor para compararlo con el contenedor actual. Si es None, se usará el contenedor del hito anterior." |
| 1087 |
|
| 1088 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1089 |
#: of calibre.gui2.tweak_book.boss.Boss.show_editor:1 |
| 1090 |
msgid "Show the editor that is editing the file specified by ``name``" |
| 1091 |
msgstr "Muestra el editor que está modificando el archivo especificado por ``name``" |
| 1092 |
|
| 1093 |
#: ../../../__w/calibre/calibre/src/calibre/gui2/tweak_book/boss.pydocstring |
| 1094 |
#: of calibre.gui2.tweak_book.boss.Boss.sync_preview_to_editor:1 |
| 1095 |
msgid "" |
| 1096 |
"Sync the position of the preview panel to the current cursor position in the" |
| 1097 |
" current editor" |
| 1098 |
msgstr "Sincroniza la posición del panel de previsualización con la posición actual del cursor en el editor." |