-
Notifications
You must be signed in to change notification settings - Fork 396
Traducido c-api/init #363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traducido c-api/init #363
Conversation
¿Cómo puedo ayudar aquí @cmaureir ? |
@draentropia como el archivo es muy largo, quizás puedes leer un par de párrafos y encontrar algunas traducciones que no te parezcan o que creas que es mejor de otra forma, asi luego puedo hacer un search-and-replace de los mismos patrones en todo el texto :) |
me pongo a la tarde cuando acabe de trabajar.
El lun., 25 may. 2020 a las 9:14, Cristián Maureira-Fredes (<
[email protected]>) escribió:
… @draentropia <https://github.com/draentropia> como el archivo es muy
largo, quizás puedes leer un par de párrafos y encontrar algunas
traducciones que no te parezcan o que creas que es mejor de otra forma, asi
luego puedo hacer un search-and-replace de los mismos patrones en todo el
texto :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#363 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD2TUO4BD57HLA67RNL5VYTRTILG7ANCNFSM4NJCN62A>
.
|
c-api/init.po
Outdated
"Ninguna de estas funciones API maneja la administración de memoria en nombre " | ||
"de los valores :c:type:`void\\*`. Debe asignarlos y desasignarlos usted " | ||
"mismo. Si los valores :c:type:`void\\*` son :c:type:`PyObject\\*`, estas " | ||
"funciones tampoco realizan operaciones de recuento en ellos." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refcount como contador de referencias? https://www.php.net/manual/es/features.gc.refcounting-basics.php
no se si deberías mantener refcount entre paréntesis y con * *
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Si, en casi toda la api de C se habla de "refcount" como "conteo de referencias", porque es el mecanismo con el que los objetos en Python viven. Me parece buena idea dejar "refcount" entre parentesis.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revisión finalizada!
c-api/init.po
Outdated
"`Py_Initialize`. Idealmente, esto libera toda la memoria asignada por el " | ||
"intérprete de Python. Este es un *no-op* cuando se llama por segunda vez " | ||
"(sin llamar a :c:func:`Py_Initialize` nuevamente primero). Normalmente el " | ||
"valor de retorno es ``0``. Si hubo errores durante la finalización (lavado " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
¿lavado o limpieza? quizá es por
c-api/init.po
Outdated
|
||
#: ../Doc/c-api/init.rst:1370 | ||
msgid "Value of *what*" | ||
msgstr "" | ||
msgstr "Valor de *que*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Antes usaste what sin traducirlo a que
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lo arreglaré
c-api/init.po
Outdated
@@ -1706,6 +2441,13 @@ msgid "" | |||
"it. The profile function is called for all monitored events except :const:" | |||
"`PyTrace_LINE` :const:`PyTrace_OPCODE` and :const:`PyTrace_EXCEPTION`." | |||
msgstr "" | |||
"Establece la función del generador de perfiles en *func*. El parámetro *obj* " | |||
"se pasa a la función como su primer parámetro, y puede ser cualquier objeto " | |||
"de Python o ``NULL``. Si la función de perfil necesita mantener el estado, " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Antes tradujiste profile como perfilado.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toda la razón
Co-authored-by: E. Ortega <[email protected]>
@draentropia quizás ya podríamos hacer el merge :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
la apruebo porque ya está revisada por @draentropia
Otro PR bastante largo, se agradecen comentarios :)