Skip to content

traduccion faq/extending.po primer draft #645

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

Merged
merged 20 commits into from
Aug 10, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
correcciones sugeridas y powrap aplicado
  • Loading branch information
jcantilo committed Aug 10, 2020
commit 61d72d184a35d6a91e0316c68ad5bf9185ac76a7
43 changes: 21 additions & 22 deletions faq/extending.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-05 12:54+0200\n"
"PO-Revision-Date: 2020-08-05 05:55-0300\n"
"PO-Revision-Date: 2020-08-10 07:54-0300\n"
"Language-Team: python-doc-es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -47,8 +47,8 @@ msgstr ""
#: ../Doc/faq/extending.rst:22
msgid "Most intermediate or advanced Python books will also cover this topic."
msgstr ""
"La mayoría de los libros intermedios o avanzados de Python también tratan este "
"tema."
"La mayoría de los libros intermedios o avanzados de Python también tratan "
"este tema."

#: ../Doc/faq/extending.rst:26
msgid "Can I create my own functions in C++?"
Expand Down Expand Up @@ -87,10 +87,10 @@ msgid ""
"Cython and Pyrex make it possible to write an extension without having to "
"learn Python's C API."
msgstr ""
"`Cython <http://cython.org>`_ y su relativo `*Pyrex* <https://www.cosc."
"`Cython <http://cython.org>`_ y su relativo `Pyrex <https://www.cosc."
"canterbury.ac.nz/greg.ewing/python/Pyrex/>`_ son compiladores que aceptan "
"una forma de Python ligeramente modificada y generan el código C "
"correspondiente. Cython y Pyrex hacen posible escribir una extensión sin "
"correspondiente. Cython y *Pyrex* hacen posible escribir una extensión sin "
"tener que aprender la API de Python C."

#: ../Doc/faq/extending.rst:50
Expand All @@ -103,8 +103,8 @@ msgid ""
"html>`_, or `Weave <https://github.com/scipy/weave>`_ are also alternatives "
"for wrapping C++ libraries."
msgstr ""
"Si necesitas hacer una interfaz a alguna biblioteca C o C++ que no posee "
"aún extensión Python, puedes intentar empaquetar los tipo de datos de la "
"Si necesitas hacer una interfaz a alguna biblioteca C o C++ que no posee aún "
"extensión Python, puedes intentar empaquetar los tipo de datos de la "
"biblioteca con una herramienta como `SWIG <http://www.swig.org>`_. `SIP "
"<https://riverbankcomputing.com/software/sip/intro>`__, `CXX <http://cxx."
"sourceforge.net/>`_ `Boost <http://www.boost.org/libs/python/doc/index."
Expand Down Expand Up @@ -143,8 +143,8 @@ msgid ""
"and returns its value."
msgstr ""
"Llama a la función :c:func:`PyRun_String` de la pregunta anterior con el "
"símbolo de comienzo (*start*) :c:data:`Py_eval_input`; analiza una expresión, "
"evalúa y retorna su valor."
"símbolo de comienzo (*start*) :c:data:`Py_eval_input`; analiza una "
"expresión, evalúa y retorna su valor."

#: ../Doc/faq/extending.rst:80
msgid "How do I extract C values from a Python object?"
Expand All @@ -159,8 +159,8 @@ msgid ""
msgstr ""
"Eso depende del tipo de objeto. Si es una tupla, :c:func:`PyTuple_Size` "
"retorna su tamaño, y :c:func:`PyTuple_GetItem` retorna el ítem del índice "
"especificado. Las listas tienen funciones similares, :c:func:`PyListSize` and :c:"
"func:`PyList_GetItem`."
"especificado. Las listas tienen funciones similares, :c:func:`PyListSize` "
"and :c:func:`PyList_GetItem`."

#: ../Doc/faq/extending.rst:87
msgid ""
Expand Down Expand Up @@ -193,10 +193,10 @@ msgid ""
"as many other useful protocols such as numbers (:c:func:`PyNumber_Index` et "
"al.) and mappings in the PyMapping APIs."
msgstr ""
"También hay una API de alto nivel para objetos Python que son provistos por la "
"supuestamente llamada interfaz 'abstracta' -- lee ``Include/abstract.h`` para "
"mas detalles. Permite realizar una interfaz con cualquier tipo de secuencia "
"Python usando llamadas como :c:func:`PySequence_Length`, :c:func:"
"También hay una API de alto nivel para objetos Python que son provistos por "
"la supuestamente llamada interfaz 'abstracta' -- lee ``Include/abstract.h`` "
"para mas detalles. Permite realizar una interfaz con cualquier tipo de "
"secuencia Python usando llamadas como :c:func:`PySequence_Length`, :c:func:"
"`PySequence_GetItem`, etc. así como otros protocolos útiles como números (:c:"
"func:`PyNumber_Index` et al.) y mapeos en las *PyMapping APIs*."

Expand Down Expand Up @@ -226,15 +226,14 @@ msgstr ""
"func:`Py_BuildValue`, y los valores de argumento ::"

#: ../Doc/faq/extending.rst:121
#, fuzzy
msgid ""
"This works for any object that has methods -- whether built-in or user-"
"defined. You are responsible for eventually :c:func:`Py_DECREF`\\ 'ing the "
"return value."
msgstr ""
"Esto funciona para cualquier objeto que tenga métodos -- sean estos "
"integrados o definidos por el usuario. Serás responsable por el eventual :c:"
"func:`Py_DECREF`\\ valor de retorno."
"incorporados o definidos por el usuario. Eres responsable si eventualmente "
"usas :c:func:`Py_DECREF` en el valor de retorno.\""

#: ../Doc/faq/extending.rst:124
msgid ""
Expand All @@ -251,7 +250,7 @@ msgid ""
"format, and to call a function with one argument, surround the argument in "
"parentheses, e.g. \"(i)\"."
msgstr ""
"Note que debido a :c:func:`PyObject_CallObject` *siempre* queriendo una tupla "
"Note que debido a :c:func:`PyObject_CallObject` *siempre* necesita una tupla "
"para la lista de argumento, para llamar una función sin argumentos, deberás "
"pasar \"()\" para el formato, y para llamar a una función con un solo "
"argumento, encierra el argumento entre paréntesis, por ejemplo \"(i)\"."
Expand Down Expand Up @@ -507,9 +506,9 @@ msgid ""
"extension module using g++ (e.g., ``g++ -shared -o mymodule.so mymodule.o``)."
msgstr ""
"Para cargar dinámicamente módulos de extensión g++, debes recompilar Python, "
"hacer un nuevo link usando g++ (cambia LINKCC en el Python Modules Makefile) "
"y enlaza *link* tu extensión usando g++ (por ejemplo `g++ -shared -o "
"mymodule.so mymodule.o``)."
"hacer un nuevo *link* usando g++ (cambia LINKCC en el Python Modules "
"Makefile) y enlaza *link* tu extensión usando g++ (por ejemplo `g++ -shared -"
"o mymodule.so mymodule.o``)."

#: ../Doc/faq/extending.rst:440
msgid ""
Expand Down