Skip to content

Commit 4ccb195

Browse files
JuanPerdomo00cacrespommmarcoscmaureir
authored
Traduccion types (#2794)
traducción del archivo `library/types.po` terminado. Issues: #2542 --------- Co-authored-by: Carlos A. Crespo <[email protected]> Co-authored-by: Marcos Medrano <[email protected]> Co-authored-by: Cristián Maureira-Fredes <[email protected]>
1 parent 30a3564 commit 4ccb195

File tree

2 files changed

+41
-36
lines changed

2 files changed

+41
-36
lines changed

dictionaries/library_types.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ getattr
22
enrutará
33
AttributeError
44
Enum
5-
corutina
5+
corutina
6+
sólo

library/types.po

+39-35
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,19 @@
88
#
99
msgid ""
1010
msgstr ""
11-
"Project-Id-Version: Python 3.8\n"
11+
"Project-Id-Version: Python 3.12\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2023-10-12 19:43+0200\n"
14-
"PO-Revision-Date: 2021-12-14 07:45-0500\n"
15-
"Last-Translator: Adolfo Hristo David Roque Gámez <[email protected]>\n"
16-
"Language: es\n"
14+
"PO-Revision-Date: 2024-11-18 16:17-0300\n"
15+
"Last-Translator: Carlos A. Crespo <[email protected]>\n"
1716
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
17+
"Language: es\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding: 8bit\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"Generated-By: Babel 2.13.0\n"
23+
"X-Generator: Poedit 3.0.1\n"
2324

2425
#: ../Doc/library/types.rst:2
2526
msgid ":mod:`types` --- Dynamic type creation and names for built-in types"
@@ -154,7 +155,6 @@ msgstr ""
154155
"Resuelve las entradas MRO dinámicamente según lo especificado por :pep:`560`."
155156

156157
#: ../Doc/library/types.rst:76
157-
#, fuzzy
158158
msgid ""
159159
"This function looks for items in *bases* that are not instances of :class:"
160160
"`type`, and returns a tuple where each such object that has an :meth:"
@@ -163,12 +163,12 @@ msgid ""
163163
"it doesn't have an :meth:`!__mro_entries__` method, then it is included in "
164164
"the return tuple unchanged."
165165
msgstr ""
166-
"Esta función busca elementos en *bases* que no son instancias de :class:"
167-
"`type` y retorna una tupla donde cada uno de estos objetos que tiene un "
168-
"método ``__mro_entries__`` se reemplaza con un resultado desempaquetado de "
169-
"llamar a este método. Si un elemento *bases* es una instancia de :class:"
170-
"`type` o no tiene un método ``__mro_entries__``, se incluye en el retorno la "
171-
"tupla sin cambios."
166+
"Esta función busca elementos en *bases* que no sean instancias de :class:"
167+
"`type`, y retorna una tupla donde cada objeto que tenga un método :meth:"
168+
"`~object.__mro_entries__` es reemplazado por el resultado desempaquetado de "
169+
"llamar a dicho método. Si un elemento de *bases* es una instancia de :class:"
170+
"`type`, o no tiene un método :meth:`!__mro_entries__`, entonces es incluido "
171+
"sin cambios en la tupla de retorno."
172172

173173
#: ../Doc/library/types.rst:87
174174
msgid ""
@@ -177,17 +177,24 @@ msgid ""
177177
"(following the mechanisms laid out in :pep:`560`). This is useful for "
178178
"introspecting :ref:`Generics <user-defined-generics>`."
179179
msgstr ""
180+
"Retorna la tupla de objetos originalmente dados como bases de *cls* antes de "
181+
"que el método :meth:`~object.__mro_entries__` sea llamado en cualquier base "
182+
"(siguiendo los mecanismos establecidos en :pep:`560`). Esto es útil para "
183+
"introspección :ref:`Genéricos <user-defined-generics>`."
180184

181185
#: ../Doc/library/types.rst:92
182186
msgid ""
183187
"For classes that have an ``__orig_bases__`` attribute, this function returns "
184188
"the value of ``cls.__orig_bases__``. For classes without the "
185189
"``__orig_bases__`` attribute, ``cls.__bases__`` is returned."
186190
msgstr ""
191+
"Para las clases que tienen un atributo ``__orig_bases__``, esta función "
192+
"retorna el valor de ``cls.__orig_bases__``. Para clases sin el atributo "
193+
"``__orig_bases__``, se retorna ``cls.__bases__``."
187194

188195
#: ../Doc/library/types.rst:97
189196
msgid "Examples::"
190-
msgstr ""
197+
msgstr "Ejemplos::"
191198

192199
#: ../Doc/library/types.rst:127
193200
msgid ":pep:`560` - Core support for typing module and generic types"
@@ -397,13 +404,12 @@ msgstr ""
397404
"El :term:`loader` que cargó el módulo. El valor predeterminado es ``None``."
398405

399406
#: ../Doc/library/types.rst:281
400-
#, fuzzy
401407
msgid ""
402408
"This attribute is to match :attr:`importlib.machinery.ModuleSpec.loader` as "
403409
"stored in the :attr:`__spec__` object."
404410
msgstr ""
405-
"Este atributo va a coincidir con :attr:`importlib.machinery.ModuleSpec."
406-
"loader` como se almacena en el objeto attr:`__spec__`."
411+
"Este atributo debe coincidir con :attr:`importlib.machinery.ModuleSpec."
412+
"loader` como almacenado en el objeto :attr:`__spec__`."
407413

408414
#: ../Doc/library/types.rst:285
409415
msgid ""
@@ -444,13 +450,12 @@ msgstr ""
444450
"El valor predeterminado es ``None``."
445451

446452
#: ../Doc/library/types.rst:306
447-
#, fuzzy
448453
msgid ""
449454
"This attribute is to match :attr:`importlib.machinery.ModuleSpec.parent` as "
450455
"stored in the :attr:`__spec__` object."
451456
msgstr ""
452-
"Este atributo va a coincidir con :attr:`importlib.machinery.ModuleSpec."
453-
"parent` como se guarda en el objeto attr:`__spec__`."
457+
"Este atributo debe coincidir con :attr:`importlib.machinery.ModuleSpec."
458+
"parent` como almacenado en el objeto :attr:`__spec__`."
454459

455460
#: ../Doc/library/types.rst:310
456461
msgid ""
@@ -500,32 +505,32 @@ msgstr "Este tipo ahora puede heredarse."
500505

501506
#: ../Doc/library/types.rst:357
502507
msgid ":ref:`Generic Alias Types<types-genericalias>`"
503-
msgstr ""
508+
msgstr ":ref:`Tipos de alias genéricos<types-genericalias>`"
504509

505510
#: ../Doc/library/types.rst:357
506511
msgid "In-depth documentation on instances of :class:`!types.GenericAlias`"
507512
msgstr ""
513+
"Documentación detallada sobre instancias de :class:`!types.GenericAlias`"
508514

509515
#: ../Doc/library/types.rst:359
510516
msgid ":pep:`585` - Type Hinting Generics In Standard Collections"
511-
msgstr ""
517+
msgstr ":pep:`585` - Sugerencias de tipo genéricas en colecciones estándar"
512518

513519
#: ../Doc/library/types.rst:360
514520
msgid "Introducing the :class:`!types.GenericAlias` class"
515-
msgstr ""
521+
msgstr "Presentando la clase :class:`!types.GenericAlias`"
516522

517523
#: ../Doc/library/types.rst:364
518524
msgid "The type of :ref:`union type expressions<types-union>`."
519525
msgstr "El tipo de :ref:`union type expressions<types-union>`."
520526

521527
#: ../Doc/library/types.rst:370
522-
#, fuzzy
523528
msgid ""
524529
"The type of traceback objects such as found in ``sys.exception()."
525530
"__traceback__``."
526531
msgstr ""
527-
"El tipo de objetos *traceback* tal como los encontrados en ``sys.exc_info()"
528-
"[2]``."
532+
"El tipo de objetos de rastreo como los que se encuentran en ``sys."
533+
"exception().__traceback__``."
529534

530535
#: ../Doc/library/types.rst:372
531536
msgid ""
@@ -669,9 +674,8 @@ msgstr ""
669674
"Retorna un iterador inverso sobre las claves de la asignación subyacente."
670675

671676
#: ../Doc/library/types.rst:469
672-
#, fuzzy
673677
msgid "Return a hash of the underlying mapping."
674-
msgstr "Retorna una copia superficial de la asignación subyacente."
678+
msgstr "Retorna un hash del mapeo subyacente."
675679

676680
#: ../Doc/library/types.rst:475
677681
msgid "Additional Utility Classes and Functions"
@@ -750,7 +754,6 @@ msgid "Coroutine Utility Functions"
750754
msgstr "Funciones de utilidad de corutina"
751755

752756
#: ../Doc/library/types.rst:531
753-
#, fuzzy
754757
msgid ""
755758
"This function transforms a :term:`generator` function into a :term:"
756759
"`coroutine function` which returns a generator-based coroutine. The "
@@ -759,11 +762,12 @@ msgid ""
759762
"However, it may not necessarily implement the :meth:`~object.__await__` "
760763
"method."
761764
msgstr ""
762-
"Esta función transforma una función :term:`generador` en una función :term:"
763-
"`coroutine` que retorna una corrutina basada en un generador. La corrutina "
764-
"basada en un generador sigue siendo un :term:`generator iterator`, pero "
765-
"también se considera un objeto :term:`coroutine` y es :term:`awaitable`. "
766-
"Sin embargo, no puede necesariamente implementar el método :meth:`__await__`."
765+
"Esta función transforma una función :term:`generator` en una :term:"
766+
"`coroutine function` que retorna una corrutina basada en generador. La "
767+
"corrutina basada en generador sigue siendo un :term:`generator iterator`, "
768+
"pero también se considera un objeto :term:`coroutine` y es :term:`awaitable`."
769+
"Sin embargo, es posible que no implemente necesariamente el método :meth:"
770+
"`~object.__await__`."
767771

768772
#: ../Doc/library/types.rst:538
769773
msgid "If *gen_func* is a generator function, it will be modified in-place."
@@ -783,8 +787,8 @@ msgstr ""
783787

784788
#: ../Doc/library/types.rst:189
785789
msgid "built-in function"
786-
msgstr ""
790+
msgstr "built-in function"
787791

788792
#: ../Doc/library/types.rst:189
789793
msgid "compile"
790-
msgstr ""
794+
msgstr "compile"

0 commit comments

Comments
 (0)