From 23c531fcad7761b5e321a9c6bf170b80595a3ed1 Mon Sep 17 00:00:00 2001 From: Luis Gonzalez Date: Thu, 15 May 2025 15:23:12 -0500 Subject: [PATCH 1/7] primera traduccion --- c-api/reflection.po | 93 +++++++++++++++++++++++++++------------------ 1 file changed, 57 insertions(+), 36 deletions(-) diff --git a/c-api/reflection.po b/c-api/reflection.po index 00aac1c3c4..8558596ea8 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -11,44 +11,49 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-11-21 16:38-0300\n" -"PO-Revision-Date: 2021-12-09 10:32+0800\n" +"PO-Revision-Date: 2025-05-15 13:52-0500\n" "Last-Translator: Rodrigo Tobar \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.16.0\n" +"X-Generator: Poedit 3.6\n" #: ../Doc/c-api/reflection.rst:6 msgid "Reflection" msgstr "Reflexión" #: ../Doc/c-api/reflection.rst:12 -#, fuzzy msgid "Use :c:func:`PyEval_GetFrameBuiltins` instead." -msgstr "Vea también :c:func:`PyThreadState_GetFrame`." +msgstr "Utilice :c:func:`PyEval_GetFrameBuiltins` en su lugar." #: ../Doc/c-api/reflection.rst:14 ../Doc/c-api/reflection.rst:66 msgid "" "Return a dictionary of the builtins in the current execution frame, or the " "interpreter of the thread state if no frame is currently executing." msgstr "" -"Retorna un diccionario de las construcciones en el marco de ejecución " -"actual, o el intérprete del estado del hilo si no se está ejecutando ningún " -"marco actualmente." +"Devuelve un diccionario de los builtins en el marco de ejecución actual, o " +"el intérprete del estado del hilo si no hay ningún marco en ejecución " +"actualmente." #: ../Doc/c-api/reflection.rst:22 msgid "" "Use either :c:func:`PyEval_GetFrameLocals` to obtain the same behaviour as " -"calling :func:`locals` in Python code, or else call :c:func:" -"`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame` to access " -"the :attr:`~frame.f_locals` attribute of the currently executing frame." +"calling :func:`locals` in Python code, or else " +"call :c:func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame` " +"to access the :attr:`~frame.f_locals` attribute of the currently executing " +"frame." msgstr "" +"Utiliza :c:func:`PyEval_GetFrameLocals` para obtener el mismo comportamiento " +"que llamando a :func:`locals` en código Python, o bien llama " +"a :c:func:`PyFrame_GetLocals` sobre el resultado " +"de :c:func:`PyEval_GetFrame` para acceder al " +"atributo :attr:`~frame.f_locals` del frame actualmente en ejecución." #: ../Doc/c-api/reflection.rst:27 -#, fuzzy msgid "" "Return a mapping providing access to the local variables in the current " "execution frame, or ``NULL`` if no frame is currently executing." @@ -61,30 +66,42 @@ msgid "" "Refer to :func:`locals` for details of the mapping returned at different " "scopes." msgstr "" +"Consulte :func:`locals` para obtener más información sobre la asignación " +"retornada en diferentes ámbitos." #: ../Doc/c-api/reflection.rst:32 msgid "" "As this function returns a :term:`borrowed reference`, the dictionary " "returned for :term:`optimized scopes ` is cached on the " -"frame object and will remain alive as long as the frame object does. Unlike :" -"c:func:`PyEval_GetFrameLocals` and :func:`locals`, subsequent calls to this " -"function in the same frame will update the contents of the cached dictionary " -"to reflect changes in the state of the local variables rather than returning " -"a new snapshot." +"frame object and will remain alive as long as the frame object does. " +"Unlike :c:func:`PyEval_GetFrameLocals` and :func:`locals`, subsequent calls " +"to this function in the same frame will update the contents of the cached " +"dictionary to reflect changes in the state of the local variables rather " +"than returning a new snapshot." msgstr "" +"Como esta función retorna una :term:`referencia prestada`, el diccionario " +"retornado para :term:`ámbitos optimizados ` se almacena en " +"caché en el objeto marco y permanecerá vivo mientras lo haga el marco del " +"objeto. A diferencia de :c:func:`PyEval_GetFrameLocals` y :func:`locals`, " +"las llamadas posteriores a esta función en el mismo marco actualizarán el " +"contenido del diccionario en caché para reflejar los cambios en el estado de " +"las variables locales en lugar de retornar una nueva instantánea." #: ../Doc/c-api/reflection.rst:39 msgid "" -"As part of :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals`, and :" -"attr:`FrameType.f_locals ` no longer make use of the shared " -"cache dictionary. Refer to the :ref:`What's New entry ` for additional details." +"As part of :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals`, " +"and :attr:`FrameType.f_locals ` no longer make use of the " +"shared cache dictionary. Refer to the :ref:`What's New entry ` for additional details." msgstr "" +"Como parte de :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals`, " +"y :attr:`FrameType.f_locals ` ya no utilizan el diccionario " +"de caché compartido. Consulta la entrada :ref:`What's New ` para más detalles." #: ../Doc/c-api/reflection.rst:50 -#, fuzzy msgid "Use :c:func:`PyEval_GetFrameGlobals` instead." -msgstr "Vea también :c:func:`PyThreadState_GetFrame`." +msgstr "Utilice :c:func:`PyEval_GetFrameGlobals` en su lugar." #: ../Doc/c-api/reflection.rst:52 msgid "" @@ -107,31 +124,35 @@ msgid "See also :c:func:`PyThreadState_GetFrame`." msgstr "Vea también :c:func:`PyThreadState_GetFrame`." #: ../Doc/c-api/reflection.rst:74 -#, fuzzy msgid "" "Return a dictionary of the local variables in the current execution frame, " -"or ``NULL`` if no frame is currently executing. Equivalent to calling :func:" -"`locals` in Python code." +"or ``NULL`` if no frame is currently executing. Equivalent to " +"calling :func:`locals` in Python code." msgstr "" "Retorna un diccionario de las variables locales en el marco de ejecución " -"actual, o ``NULL`` si actualmente no se está ejecutando ningún marco." +"actual, o ``NULL`` si no se está ejecutando ningún marco. Equivale a llamar " +"a :func:`locals` en código Python." #: ../Doc/c-api/reflection.rst:78 msgid "" "To access :attr:`~frame.f_locals` on the current frame without making an " -"independent snapshot in :term:`optimized scopes `, call :c:" -"func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`." +"independent snapshot in :term:`optimized scopes `, " +"call :c:func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`." msgstr "" +"Para acceder a :attr:`~frame.f_locals` en el fotograma actual sin hacer una " +"captura independiente en :term:`optimized scopes `, llama " +"a :c:func:`PyFrame_GetLocals` sobre el resultado " +"de :c:func:`PyEval_GetFrame`." #: ../Doc/c-api/reflection.rst:87 -#, fuzzy msgid "" "Return a dictionary of the global variables in the current execution frame, " -"or ``NULL`` if no frame is currently executing. Equivalent to calling :func:" -"`globals` in Python code." +"or ``NULL`` if no frame is currently executing. Equivalent to " +"calling :func:`globals` in Python code." msgstr "" -"Retorna un diccionario de las variables globales en el marco de ejecución " -"actual, o ``NULL`` si actualmente no se está ejecutando ningún marco." +"Retorna un diccionario de las variables locales en el marco de ejecución " +"actual, o ``NULL`` si no se está ejecutando ningún marco. Equivale a llamar " +"a :func:`globals` en código Python." #: ../Doc/c-api/reflection.rst:96 msgid "" @@ -145,8 +166,8 @@ msgstr "" msgid "" "Return a description string, depending on the type of *func*. Return values " "include \"()\" for functions and methods, \" constructor\", \" instance\", " -"and \" object\". Concatenated with the result of :c:func:" -"`PyEval_GetFuncName`, the result will be a description of *func*." +"and \" object\". Concatenated with the result " +"of :c:func:`PyEval_GetFuncName`, the result will be a description of *func*." msgstr "" "Retorna una cadena de caracteres de descripción, según el tipo de *func*. " "Los valores de retorno incluyen \"()\" para funciones y métodos, " From 2bc2b25e05f15fd29f5362e835a687c17c024077 Mon Sep 17 00:00:00 2001 From: Luis Gonzalez Date: Mon, 19 May 2025 08:39:42 -0500 Subject: [PATCH 2/7] Update c-api/reflection.po Co-authored-by: rtobar --- c-api/reflection.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/reflection.po b/c-api/reflection.po index 8558596ea8..9b15588bb1 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -35,7 +35,7 @@ msgid "" "Return a dictionary of the builtins in the current execution frame, or the " "interpreter of the thread state if no frame is currently executing." msgstr "" -"Devuelve un diccionario de los builtins en el marco de ejecución actual, o " +"Retorna un diccionario de los builtins en el marco de ejecución actual, o " "el intérprete del estado del hilo si no hay ningún marco en ejecución " "actualmente." From c788795a9f9514f10943570b1fb1d326161ed752 Mon Sep 17 00:00:00 2001 From: Luis Gonzalez Date: Mon, 19 May 2025 08:40:02 -0500 Subject: [PATCH 3/7] Update c-api/reflection.po Co-authored-by: rtobar --- c-api/reflection.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/reflection.po b/c-api/reflection.po index 9b15588bb1..37d469097d 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -47,7 +47,7 @@ msgid "" "to access the :attr:`~frame.f_locals` attribute of the currently executing " "frame." msgstr "" -"Utiliza :c:func:`PyEval_GetFrameLocals` para obtener el mismo comportamiento " +"Utilice :c:func:`PyEval_GetFrameLocals` para obtener el mismo comportamiento " "que llamando a :func:`locals` en código Python, o bien llama " "a :c:func:`PyFrame_GetLocals` sobre el resultado " "de :c:func:`PyEval_GetFrame` para acceder al " From 74a73684eea7200c3ecdf92a44f2c0616232182e Mon Sep 17 00:00:00 2001 From: Luis Gonzalez Date: Mon, 19 May 2025 08:40:23 -0500 Subject: [PATCH 4/7] Update c-api/reflection.po Co-authored-by: rtobar --- c-api/reflection.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c-api/reflection.po b/c-api/reflection.po index 37d469097d..01ee7203d0 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -66,8 +66,8 @@ msgid "" "Refer to :func:`locals` for details of the mapping returned at different " "scopes." msgstr "" -"Consulte :func:`locals` para obtener más información sobre la asignación " -"retornada en diferentes ámbitos." +"Consulte :func:`locals` para obtener más información sobre el mapeo " +"retornado en diferentes ámbitos." #: ../Doc/c-api/reflection.rst:32 msgid "" From 86d481409a660e8b9c24d5516785783d94bf6db1 Mon Sep 17 00:00:00 2001 From: Luis Gonzalez Date: Mon, 19 May 2025 08:40:35 -0500 Subject: [PATCH 5/7] Update c-api/reflection.po Co-authored-by: rtobar --- c-api/reflection.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/reflection.po b/c-api/reflection.po index 01ee7203d0..2848427205 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -96,7 +96,7 @@ msgid "" msgstr "" "Como parte de :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals`, " "y :attr:`FrameType.f_locals ` ya no utilizan el diccionario " -"de caché compartido. Consulta la entrada :ref:`What's New ` para más detalles." #: ../Doc/c-api/reflection.rst:50 From d824b373d63aafad6889be4e5bd3985a3f475fab Mon Sep 17 00:00:00 2001 From: Luis Gonzalez Date: Mon, 19 May 2025 08:40:49 -0500 Subject: [PATCH 6/7] Update c-api/reflection.po Co-authored-by: rtobar --- c-api/reflection.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/reflection.po b/c-api/reflection.po index 2848427205..50b8db4f99 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -139,7 +139,7 @@ msgid "" "independent snapshot in :term:`optimized scopes `, " "call :c:func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`." msgstr "" -"Para acceder a :attr:`~frame.f_locals` en el fotograma actual sin hacer una " +"Para acceder a :attr:`~frame.f_locals` en el marco actual sin hacer una " "captura independiente en :term:`optimized scopes `, llama " "a :c:func:`PyFrame_GetLocals` sobre el resultado " "de :c:func:`PyEval_GetFrame`." From dfc36c89e512501c620c2be9dd0f18bbb7d2b069 Mon Sep 17 00:00:00 2001 From: Luis Gonzalez Date: Mon, 19 May 2025 08:41:07 -0500 Subject: [PATCH 7/7] Update c-api/reflection.po Co-authored-by: rtobar --- c-api/reflection.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/reflection.po b/c-api/reflection.po index 50b8db4f99..14714def82 100644 --- a/c-api/reflection.po +++ b/c-api/reflection.po @@ -140,7 +140,7 @@ msgid "" "call :c:func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`." msgstr "" "Para acceder a :attr:`~frame.f_locals` en el marco actual sin hacer una " -"captura independiente en :term:`optimized scopes `, llama " +"captura independiente en :term:`ámbitos optimizados `, llame " "a :c:func:`PyFrame_GetLocals` sobre el resultado " "de :c:func:`PyEval_GetFrame`."