Debian Codegraph @

translations/manual/es_MX/function_mode.po

raw
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) Kovid Goyal
3 # This file is distributed under the same license as the calibre package.
4 #
5 # Translators:
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: calibre\n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2026-02-17 16:44+0000\n"
11 "PO-Revision-Date: 2014-11-21 02:54+0000\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: Spanish (Mexico) (http://app.transifex.com/calibre/calibre/language/es_MX/)\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Language: es_MX\n"
18 "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
19
20 #: ../../../__w/calibre/calibre/manual/function_mode.rst:2
21 msgid "Function mode for Search & replace in the Editor"
22 msgstr "Modo de función para buscar y sustituir en el editor"
23
24 #: ../../../__w/calibre/calibre/manual/function_mode.rst:4
25 msgid ""
26 "The :guilabel:`Search & replace` tool in the editor supports a *function "
27 "mode*. In this mode, you can combine regular expressions (see :doc:`regexp`)"
28 " with arbitrarily powerful Python functions to do all sorts of advanced text"
29 " processing."
30 msgstr ""
31
32 #: ../../../__w/calibre/calibre/manual/function_mode.rst:9
33 msgid ""
34 "In the standard *regexp* mode for search and replace, you specify both a "
35 "regular expression to search for as well as a template that is used to "
36 "replace all found matches. In function mode, instead of using a fixed "
37 "template, you specify an arbitrary function, in the `Python programming "
38 "language <https://docs.python.org>`_. This allows you to do lots of things "
39 "that are not possible with simple templates."
40 msgstr "En el modo estándar de *expresiones regulares* para buscar y sustituir, se especifica una expresión regular para buscar y una plantilla que se usa para sustituir todas las coincidencias. En el modo de función, en lugar de usar una sola plantilla, se especifica una función arbitraria en el `lenguaje de programación Python <https://docs.python.org/>`_. Esto le permite hacer muchas cosas que no son posibles sólo con plantillas."
41
42 #: ../../../__w/calibre/calibre/manual/function_mode.rst:16
43 msgid ""
44 "Techniques for using function mode and the syntax will be described by means"
45 " of examples, showing you how to create functions to perform progressively "
46 "more complex tasks."
47 msgstr "Algunas técnicas para usar el modo de función y su sintaxis se describirán a través de ejemplos, que le mostrarán cómo crear funciones para realizar tareas cada vez más complejas."
48
49 #: ../../../__w/calibre/calibre/manual/function_mode.rst:21
50 msgid "The Function mode"
51 msgstr "El modo de función"
52
53 #: ../../../__w/calibre/calibre/manual/function_mode.rst:26
54 msgid "Automatically fixing the case of headings in the document"
55 msgstr "Corregir automáticamente las mayúsculas y minúsculas en las cabeceras del documento"
56
57 #: ../../../__w/calibre/calibre/manual/function_mode.rst:28
58 msgid ""
59 "Here, we will leverage one of the builtin functions in the editor to "
60 "automatically change the case of all text inside heading tags to title "
61 "case::"
62 msgstr "Aquí aprovecharemos una de las funciones incorporadas del editor para poner la primera letra de cada palabra dentro de una etiqueta de encabezado en mayúscula::"
63
64 #: ../../../__w/calibre/calibre/manual/function_mode.rst:33
65 msgid ""
66 "For the function, simply choose the :guilabel:`Title-case text (ignore "
67 "tags)` builtin function. This will change titles that look like: ``<h1>some "
68 "titLE</h1>`` to ``<h1>Some Title</h1>``. It will work even if there are "
69 "other HTML tags inside the heading tags."
70 msgstr ""
71
72 #: ../../../__w/calibre/calibre/manual/function_mode.rst:40
73 msgid "Your first custom function - smartening hyphens"
74 msgstr "La primera función personalizada: mejorar guiones"
75
76 #: ../../../__w/calibre/calibre/manual/function_mode.rst:42
77 msgid ""
78 "The real power of function mode comes from being able to create your own "
79 "functions to process text in arbitrary ways. The Smarten Punctuation tool in"
80 " the editor leaves individual hyphens alone, so you can use this function to"
81 " replace them with em-dashes."
82 msgstr ""
83
84 #: ../../../__w/calibre/calibre/manual/function_mode.rst:47
85 msgid ""
86 "To create a new function, simply click the :guilabel:`Create/edit` button to"
87 " create a new function and copy the Python code from below."
88 msgstr "Para crear una nueva función, simplemente pulse en el botón :guilabel:`Crear o modificar` y copie el código Python siguiente."
89
90 #: ../../../__w/calibre/calibre/manual/function_mode.rst:55
91 msgid ""
92 "Every :guilabel:`Search & replace` custom function must have a unique name "
93 "and consist of a Python function named replace, that accepts all the "
94 "arguments shown above. For the moment, we won't worry about all the "
95 "different arguments to ``replace()`` function. Just focus on the ``match`` "
96 "argument. It represents a match when running a search and replace. Its full "
97 "documentation in available `here "
98 "<https://docs.python.org/library/re.html#match-objects>`_. ``match.group()``"
99 " simply returns all the matched text and all we do is replace hyphens in "
100 "that text with em-dashes, first replacing double hyphens and then single "
101 "hyphens."
102 msgstr "Toda función personalizada de :guilabel:`Buscar y sustituir` debe tener un nombre único y consister en una función Python llamada «replace», que acepte todos los argumentos mostrados arriba. Por ahora no vamos a preocuparnos de los diferentes argumentos de la función ``replace()``. Fíjese sólo en el argumento ``match``. Representa una coincidencia al realizar una búsqueda y sustitución. La documentación completa se encuentra `aquí <https://docs.python.org/library/re.html#match-objects>`_. ``match.group()`` devuelve todo el texto de la coincidencia y todo lo que hacemos es sustituir los guiones del texto por rayas, sustituyendo primero los guiones dobles y luego los sencillos."
103
104 #: ../../../__w/calibre/calibre/manual/function_mode.rst:65
105 msgid "Use this function with the find regular expression::"
106 msgstr "Use esta función con la expresión regular de búsqueda::"
107
108 #: ../../../__w/calibre/calibre/manual/function_mode.rst:69
109 msgid ""
110 "And it will replace all hyphens with em-dashes, but only in actual text and "
111 "not inside HTML tag definitions."
112 msgstr "Y sustituirá todos los guiones por rayas, pero sólo en texto real y no dentro de las definiciones de etiqueta HTML."
113
114 #: ../../../__w/calibre/calibre/manual/function_mode.rst:74
115 msgid ""
116 "The power of function mode - using a spelling dictionary to fix mis-"
117 "hyphenated words"
118 msgstr "La potencia del modo de función: usar un diccionario para corregir palabras mal divididas por guiones"
119
120 #: ../../../__w/calibre/calibre/manual/function_mode.rst:76
121 msgid ""
122 "Often, e-books created from scans of printed books contain mis-hyphenated "
123 "words -- words that were split at the end of the line on the printed page. "
124 "We will write a simple function to automatically find and fix such words."
125 msgstr "A menudo, los libros electrónicos creados a partir de imágenes de libros impresos contienen palabras mal divididas por guiones: palabras que estaban divididas al final de un renglón en la página impresa. Vamos a escribir una función sencilla para encontrar y corregir automáticamente estas palabras."
126
127 #: ../../../__w/calibre/calibre/manual/function_mode.rst:101
128 msgid "Use this function with the same find expression as before, namely::"
129 msgstr "Use esta función con la misma expresión de búsqueda anterior, es decir::"
130
131 #: ../../../__w/calibre/calibre/manual/function_mode.rst:105
132 msgid ""
133 "And it will magically fix all mis-hyphenated words in the text of the book. "
134 "The main trick is to use one of the useful extra arguments to the replace "
135 "function, ``dictionaries``. This refers to the dictionaries the editor "
136 "itself uses to spell check text in the book. What this function does is look"
137 " for words separated by a hyphen, remove the hyphen and check if the "
138 "dictionary recognizes the composite word, if it does, the original words are"
139 " replaced by the hyphen free composite word."
140 msgstr "Y corregirá automáticamente todas las palabras con guiones incorrectos en el el texto del libro. El truco principal es utilizar uno de los argumentos adicionales de la función «replace»: ``dictionaries``. Esto se refiere a los diccionarios que el propio editor usa para comprobar la ortografía en el libro. Lo que hace esta función es buscar palabras unidas por un guión, eliminar el guión y comprobar si el diccionario reconoce la palabra compuesta; si lo hace, las palabras originales se sustituyen por la palabra sin guión."
141
142 #: ../../../__w/calibre/calibre/manual/function_mode.rst:113
143 msgid ""
144 "Note that one limitation of this technique is it will only work for mono-"
145 "lingual books, because, by default, ``dictionaries.recognized()`` uses the "
146 "main language of the book."
147 msgstr "Tenga en cuenta que una limitación de esta técnica es que sólo funciona par libros monolingües, porque de manera predeterminada ``dictionaries.recognized()``usa el idioma principal del libro."
148
149 #: ../../../__w/calibre/calibre/manual/function_mode.rst:119
150 msgid "Auto numbering sections"
151 msgstr "Enumerar secciones automáticamente"
152
153 #: ../../../__w/calibre/calibre/manual/function_mode.rst:121
154 msgid ""
155 "Now we will see something a little different. Suppose your HTML file has "
156 "many sections, each with a heading in an :code:`<h2>` tag that looks like "
157 ":code:`<h2>Some text</h2>`. You can create a custom function that will "
158 "automatically number these headings with consecutive section numbers, so "
159 "that they look like :code:`<h2>1. Some text</h2>`."
160 msgstr "Ahora veremos algo un poco diferente. Supongamos que un archivo HTML tiene muchas secciones, cada una con una cabecera en una etiqueta :code:`<h2>` de esta forma: :code:`<h2>Algún texto</h2>`. Puede crear una función personalizada que numere automáticamente estas cabeceras con números consecutivos, para que tengan esta forma: :code:`<h2>1. Algún texto</h2>`."
161
162 #: ../../../__w/calibre/calibre/manual/function_mode.rst:137
163 msgid "Use it with the find expression::"
164 msgstr "Úselo con la expresión de búsqueda::"
165
166 #: ../../../__w/calibre/calibre/manual/function_mode.rst:141
167 msgid ""
168 "Place the cursor at the top of the file and click :guilabel:`Replace all`."
169 msgstr "Coloque el cursor al principio del archivo y pulse :guilabel:`Sustituir todo`."
170
171 #: ../../../__w/calibre/calibre/manual/function_mode.rst:143
172 msgid ""
173 "This function uses another of the useful extra arguments to ``replace()``: "
174 "the ``number`` argument. When doing a :guilabel:`Replace All` number is "
175 "automatically incremented for every successive match."
176 msgstr "Esta función usa otro de los prácticos argumentos adicionales de ``replace()``: el argumento ``number``. Al usar :guilabel:`Sustituir todo`, ``number`` se incrementa automáticamente en cada coincidencia."
177
178 #: ../../../__w/calibre/calibre/manual/function_mode.rst:147
179 msgid ""
180 "Another new feature is the use of ``replace.file_order`` -- setting that to "
181 "``'spine'`` means that if this search is run on multiple HTML files, the "
182 "files are processed in the order in which they appear in the book. See "
183 ":ref:`file_order_replace_all` for details."
184 msgstr "Otra característica nueva es el uso de ``replace.file_order``. Establecerlo en ``'spine'`` significa que si la búsqueda se ejecuta sobre múltiples archivos HTML, los archivos se procesarán en el orden en el que aparecen en el libro. Más detalles en :ref:`file_order_replace_all`."
185
186 #: ../../../__w/calibre/calibre/manual/function_mode.rst:154
187 msgid "Auto create a Table of Contents"
188 msgstr "Crear un índice automáticamente"
189
190 #: ../../../__w/calibre/calibre/manual/function_mode.rst:156
191 msgid ""
192 "Finally, let's try something a little more ambitious. Suppose your book has "
193 "headings in ``h1`` and ``h2`` tags that look like ``<h1 id=\"someid\">Some "
194 "Text</h1>``. We will auto-generate an HTML Table of Contents based on these "
195 "headings. Create the custom function below:"
196 msgstr ""
197
198 #: ../../../__w/calibre/calibre/manual/function_mode.rst:199
199 msgid "And use it with the find expression::"
200 msgstr "Y úselo con la expresión de búsqueda::"
201
202 #: ../../../__w/calibre/calibre/manual/function_mode.rst:203
203 msgid ""
204 "Run the search on :guilabel:`All text files` and at the end of the search, a"
205 " window will popup with \"Debug output from your function\" which will have "
206 "the HTML Table of Contents, ready to be pasted into :file:`toc.html`."
207 msgstr "Ejecutamos la búsqueda sobre :guilabel:`Todos los archivos de texto` y al final de la búsqueda se abrirá una ventana con «Salida de depuración de la función», que contendrá el índice HTML, listo par copiarlo en :file:`toc.html`."
208
209 #: ../../../__w/calibre/calibre/manual/function_mode.rst:207
210 msgid ""
211 "The function above is heavily commented, so it should be easy to follow. The"
212 " key new feature is the use of another useful extra argument to the "
213 "``replace()`` function, the ``data`` object. The ``data`` object is a Python"
214 " *dictionary* that persists between all successive invocations of "
215 "``replace()`` during a single :guilabel:`Replace All` operation."
216 msgstr ""
217
218 #: ../../../__w/calibre/calibre/manual/function_mode.rst:213
219 msgid ""
220 "Another new feature is the use of ``call_after_last_match`` -- setting that "
221 "to ``True`` on the ``replace()`` function means that the editor will call "
222 "``replace()`` one extra time after all matches have been found. For this "
223 "extra call, the match object will be ``None``."
224 msgstr "Otra característica nueva es el uso de ``call_after_last_match``. Establecerlo en ``True`` en la función ``replace()`` significa que el editor ejecutará ``replace()`` una vez adicional después de haber encontrado todas las coincidencias. En esa ejecución adicional el objeto de coincidencia será ``None``."
225
226 #: ../../../__w/calibre/calibre/manual/function_mode.rst:218
227 msgid ""
228 "This was just a demonstration to show you the power of function mode, if you"
229 " really needed to generate a Table of Contents from headings in your book, "
230 "you would be better off using the dedicated Table of Contents tool in "
231 ":guilabel:`Tools->Table of Contents`."
232 msgstr "Esto ha sido sólo una demostración de la potencia del modo de función, si realmente necesita generar un índice a partir de encabezados en un libro, es mejor usar la herramienta específica para índices en :guilabel:`Herramientas > Índice`."
233
234 #: ../../../__w/calibre/calibre/manual/function_mode.rst:224
235 msgid "The API for the function mode"
236 msgstr "La API para el modo de función"
237
238 #: ../../../__w/calibre/calibre/manual/function_mode.rst:226
239 msgid ""
240 "All function mode functions must be Python functions named replace, with the"
241 " following signature::"
242 msgstr "Todas las funciones del modo función deben ser funciones Python con el nombre «replace» y con la siguiente firma::"
243
244 #: ../../../__w/calibre/calibre/manual/function_mode.rst:232
245 msgid ""
246 "When a find/replace is run, for every match that is found, the ``replace()``"
247 " function will be called, it must return the replacement string for that "
248 "match. If no replacements are to be done, it should return ``match.group()``"
249 " which is the original string. The various arguments to the ``replace()`` "
250 "function are documented below."
251 msgstr "Cuando se realiza una búsqueda y sustitución, la función ``replace()`` se ejecuta para cada coincidencia, debe devolver el texto de sustitución para dicha coincidencia. Si no se ha de efectuar ninguna sustitución, debe devolver ``match.group()``, que es el texto original. Los distintos argumentos de la función ``replace()`` se documentan a continuación."
252
253 #: ../../../__w/calibre/calibre/manual/function_mode.rst:239
254 msgid "The ``match`` argument"
255 msgstr "El argumento ``match``"
256
257 #: ../../../__w/calibre/calibre/manual/function_mode.rst:241
258 msgid ""
259 "The ``match`` argument represents the currently found match. It is a `Python"
260 " Match object <https://docs.python.org/library/re.html#match-objects>`_. Its"
261 " most useful method is ``group()`` which can be used to get the matched text"
262 " corresponding to individual capture groups in the search regular "
263 "expression."
264 msgstr "El argumento ``match`` representa la coincidencia actual. Es un `objeto Match de Python <https://docs.python.org/library/re.html#match-objects>`_. Su método más útil es ``group()``, que puede emplearse para obtener el texto correspondiente a los grupos de captura individuales en la expresión regular de búsqueda."
265
266 #: ../../../__w/calibre/calibre/manual/function_mode.rst:248
267 msgid "The ``number`` argument"
268 msgstr "El argumento ``number``"
269
270 #: ../../../__w/calibre/calibre/manual/function_mode.rst:250
271 msgid ""
272 "The ``number`` argument is the number of the current match. When you run "
273 ":guilabel:`Replace All`, every successive match will cause ``replace()`` to "
274 "be called with an increasing number. The first match has number 1."
275 msgstr "El argumento ``number`` es el número de la coincidencia actual. Al ejecutar :guilabel:`Sustituir todo`, cada coincidencia sucesiva da lugar a una ejecución de ``replace()``, con un número que va en aumento. La primera coincidencia tiene el número 1."
276
277 #: ../../../__w/calibre/calibre/manual/function_mode.rst:255
278 msgid "The ``file_name`` argument"
279 msgstr "El argumento ``file_name``"
280
281 #: ../../../__w/calibre/calibre/manual/function_mode.rst:257
282 msgid ""
283 "This is the filename of the file in which the current match was found. When "
284 "searching inside marked text, the ``file_name`` is empty. The ``file_name`` "
285 "is in canonical form, a path relative to the root of the book, using ``/`` "
286 "as the path separator."
287 msgstr "Éste es el nombre del archivo donde se encontró la coincidencia actual. Al buscar un texto marcado, ``file_name`` está vacío. El argumento ``file_name`` está en forma canónica: una ruta de acceso relativa a la raíz del libro, usando ``/`` como separador."
288
289 #: ../../../__w/calibre/calibre/manual/function_mode.rst:263
290 msgid "The ``metadata`` argument"
291 msgstr "El argumento ``metadata``"
292
293 #: ../../../__w/calibre/calibre/manual/function_mode.rst:265
294 msgid ""
295 "This represents the metadata of the current book, such as title, authors, "
296 "language, etc. It is an object of class "
297 ":class:`calibre.ebooks.metadata.book.base.Metadata`. Useful attributes "
298 "include, ``title``, ``authors`` (a list of authors) and ``language`` (the "
299 "language code)."
300 msgstr "Esto representa los metadatos del libro actual, como título, autores, idioma, etc. Es un objeto de clase :class:`calibre.ebooks.metadata.book.base.Metadata`. Algunos atributos útiles son ``title``, ``authors`` (una lista de autores) y ``language`` (el código del idioma)."
301
302 #: ../../../__w/calibre/calibre/manual/function_mode.rst:271
303 msgid "The ``dictionaries`` argument"
304 msgstr "El argumento ``dictionaries``"
305
306 #: ../../../__w/calibre/calibre/manual/function_mode.rst:273
307 msgid ""
308 "This represents the collection of dictionaries used for spell checking the "
309 "current book. Its most useful method is ``dictionaries.recognized(word)`` "
310 "which will return ``True`` if the passed in word is recognized by the "
311 "dictionary for the current book's language."
312 msgstr "Esto representa la colección de diccionarios usados para la comprobación de ortografía del libro actual. Su método más útil es ``dictionaries.recognized(word)``, que devuelve True si la palabra ``word`` es reconocida por el diccionario para el idioma del libro actual."
313
314 #: ../../../__w/calibre/calibre/manual/function_mode.rst:279
315 msgid "The ``data`` argument"
316 msgstr "El argumento ``data``"
317
318 #: ../../../__w/calibre/calibre/manual/function_mode.rst:281
319 msgid ""
320 "This a simple Python ``dictionary``. When you run :guilabel:`Replace all`, "
321 "every successive match will cause ``replace()`` to be called with the same "
322 "``dictionary`` as data. You can thus use it to store arbitrary data between "
323 "invocations of ``replace()`` during a :guilabel:`Replace all` operation."
324 msgstr ""
325
326 #: ../../../__w/calibre/calibre/manual/function_mode.rst:288
327 msgid "The ``functions`` argument"
328 msgstr "El argumento ``functions``"
329
330 #: ../../../__w/calibre/calibre/manual/function_mode.rst:290
331 msgid ""
332 "The ``functions`` argument gives you access to all other user defined "
333 "functions. This is useful for code re-use. You can define utility functions "
334 "in one place and re-use them in all your other functions. For example, "
335 "suppose you create a function named ``My Function`` like this:"
336 msgstr ""
337
338 #: ../../../__w/calibre/calibre/manual/function_mode.rst:303
339 msgid ""
340 "Then, in another function, you can access the ``utility()`` function like "
341 "this:"
342 msgstr "Luego, en otra función, puede acceder a la función ``utility()`` de esta manera:"
343
344 #: ../../../__w/calibre/calibre/manual/function_mode.rst:311
345 msgid ""
346 "You can also use the functions object to store persistent data, that can be "
347 "re-used by other functions. For example, you could have one function that "
348 "when run with :guilabel:`Replace All` collects some data and another "
349 "function that uses it when it is run afterwards. Consider the following two "
350 "functions:"
351 msgstr "También puede usar el objeto ``functions`` para guardar datos persistentes que sean accesibles a otras funciones. Por ejemplo, puede tener una función que al ejecutarse con :guilabel:`Sustituir todo` recopile datos y otra función que los use cuando se ejecuta a continuación. Considere las dos funciones siguientes:"
352
353 #: ../../../__w/calibre/calibre/manual/function_mode.rst:331
354 msgid "Debugging your functions"
355 msgstr "Depurar las funciones propias"
356
357 #: ../../../__w/calibre/calibre/manual/function_mode.rst:333
358 msgid ""
359 "You can debug the functions you create by using the standard ``print()`` "
360 "function from Python. The output of print will be displayed in a popup "
361 "window after the Find/replace has completed. You saw an example of using "
362 "``print()`` to output an entire table of contents above."
363 msgstr "Puede depurar las funciones que cree con la función estándar de Python ``print()``. La salida de ``print()`` se mostrará en una ventana emergente cuando la búsqueda y sustitución se haya completado. Ya hemos visto anteriormente un ejemplo del uso de ``print()`` para mostrar un índice completo."
364
365 #: ../../../__w/calibre/calibre/manual/function_mode.rst:341
366 msgid "Choose file order when running on multiple HTML files"
367 msgstr "Elegir un orden de archivos al ejecutar sobre múltiples archivos HTML"
368
369 #: ../../../__w/calibre/calibre/manual/function_mode.rst:343
370 msgid ""
371 "When you run a :guilabel:`Replace all` on multiple HTML files, the order in "
372 "which the files are processed depends on what files you have open for "
373 "editing. You can force the search to process files in the order in which "
374 "they appear by setting the ``file_order`` attribute on your function, like "
375 "this:"
376 msgstr ""
377
378 #: ../../../__w/calibre/calibre/manual/function_mode.rst:355
379 msgid ""
380 "``file_order`` accepts two values, ``spine`` and ``spine-reverse`` which "
381 "cause the search to process multiple files in the order they appear in the "
382 "book, either forwards or backwards, respectively."
383 msgstr "``file_order`` acepta dos valores, ``spine`` y ``spine-reverse``, que hacen que el la búsqueda procese archivos múltiples en el orden en que aparecen en el libro, hacia adelante o hacia atrás, respectivamente"
384
385 #: ../../../__w/calibre/calibre/manual/function_mode.rst:360
386 msgid ""
387 "Having your function called an extra time after the last match is found"
388 msgstr "Hacer que una función se ejecute una vez más después de la última coincidencia"
389
390 #: ../../../__w/calibre/calibre/manual/function_mode.rst:362
391 msgid ""
392 "Sometimes, as in the auto generate table of contents example above, it is "
393 "useful to have your function called an extra time after the last match is "
394 "found. You can do this by setting the ``call_after_last_match`` attribute on"
395 " your function, like this:"
396 msgstr "A veces, como en el ejemplo anterior del índice generado automáticamente, es útil que la función se ejecute una vez adicional después de haber encontrado la última coincidencia. Puede conseguir esto estableciendo el atributo ``call_after_last_match`` en la función, de esta manera:"
397
398 #: ../../../__w/calibre/calibre/manual/function_mode.rst:376
399 msgid "Appending the output from the function to marked text"
400 msgstr "Añadir la salida de una función al texto marcado"
401
402 #: ../../../__w/calibre/calibre/manual/function_mode.rst:378
403 msgid ""
404 "When running search and replace on marked text, it is sometimes useful to "
405 "append some text to the end of the marked text. You can do that by setting "
406 "the ``append_final_output_to_marked`` attribute on your function (note that "
407 "you also need to set ``call_after_last_match``), like this:"
408 msgstr ""
409
410 #: ../../../__w/calibre/calibre/manual/function_mode.rst:393
411 msgid "Suppressing the result dialog when performing searches on marked text"
412 msgstr "No mostrar el cuadro de diálogo de resultados al hacer búsquedas en texto marcado"
413
414 #: ../../../__w/calibre/calibre/manual/function_mode.rst:395
415 msgid ""
416 "You can also suppress the result dialog (which can slow down the repeated "
417 "application of a search/replace on many blocks of text) by setting the "
418 "``suppress_result_dialog`` attribute on your function, like this:"
419 msgstr "También puede evitar que se muestre el cuadro de diálogo de resultados (que puede ralentizar la aplicación de una búsqueda o sustitución en múltiples bloques de texto) estableciendo el atributo ``suppress_result_dialog`` de la función, de esta manera:"
420
421 #: ../../../__w/calibre/calibre/manual/function_mode.rst:408
422 msgid "More examples"
423 msgstr "Más ejemplos"
424
425 #: ../../../__w/calibre/calibre/manual/function_mode.rst:410
426 msgid ""
427 "More useful examples, contributed by calibre users, can be found in the "
428 "`calibre E-book editor forum "
429 "<https://www.mobileread.com/forums/showthread.php?t=237181>`_."
430 msgstr "Otros ejemplos útiles, creados por usarios de calibre, pueden encontrarse en el `foro del editor libros electrónicos de calibre <https://www.mobileread.com/forums/showthread.php?t=237181>`_ (en inglés)."