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
correccion errores ortograficos extending faq
  • Loading branch information
jcantilo committed Aug 5, 2020
commit 32196bae39da48a45c39656fb58bdcecea484b40
54 changes: 26 additions & 28 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-04 07:01-0300\n"
"PO-Revision-Date: 2020-08-05 05:55-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 @@ -87,7 +87,7 @@ 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 "
Expand All @@ -103,13 +103,13 @@ msgid ""
"html>`_, or `Weave <https://github.com/scipy/weave>`_ are also alternatives "
"for wrapping C++ libraries."
msgstr ""
"Si necesitas hacer una interfase a alguna bibloteca C o C++ que no posee aún "
"extensión Python, puedes intentar empaquetar los tipo de datos de la "
"bibloteca con una herramienta como `SWIG <http://www.swig.org>`_. `SIP "
"Si necesitas hacer una interface 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."
"html>`_, o `Weave <https://github.com/scipy/weave>`_ también son "
"alternativas para empaquetar biblotecas C++."
"alternativas para empaquetar bibliotecas C++."

#: ../Doc/faq/extending.rst:61
msgid "How can I execute arbitrary Python statements from C?"
Expand All @@ -126,9 +126,9 @@ msgid ""
msgstr ""
"La función de más alto nivel para hacer esto es :c:func:`PyRun_SimpleString` "
"que toma un solo argumento de cadena de caracteres para ser ejecutado en el "
"contexto del módulo ``__main__`` and returns ``0`` for success and ``-1`` "
"contexto del módulo ``__main__`` y retorna ``0`` si tiene éxito y ``-1`` "
"cuando ocurre una excepción (incluyendo :exc:`SyntaxError`). Si quieres mas "
"control, usa :c:func:`PyRun_String`; Véase la fuente para :c:func:"
"control, usa :c:func:`PyRun_String`; mira la fuente para :c:func:"
"`PyRun_SimpleString` en ``Python/pythonrun.c``."

#: ../Doc/faq/extending.rst:72
Expand Down Expand Up @@ -207,7 +207,7 @@ msgstr ""

#: ../Doc/faq/extending.rst:106
msgid "You can't. Use :c:func:`PyTuple_Pack` instead."
msgstr "No puedes hacerlo. Utiliza a cambio :c:func:`PyTuple_Pack`"
msgstr "No puedes hacerlo. Utiliza a cambio :c:func:`PyTuple_Pack`."

#: ../Doc/faq/extending.rst:110
msgid "How do I call an object's method from C?"
Expand Down Expand Up @@ -252,7 +252,7 @@ msgid ""
"parentheses, e.g. \"(i)\"."
msgstr ""
"Nota que desde que :c:func:`PyObject_CallObject` *siempre* quiere una tupla "
"para la lista de argumento, para llamar una función sin argumentos, deberas "
"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 @@ -325,7 +325,7 @@ msgstr ""

#: ../Doc/faq/extending.rst:204
msgid "How do I interface to C++ objects from Python?"
msgstr "¿Cómo hago una interfase a objetos C++ desde Python?"
msgstr "¿Cómo hago una interface a objetos C++ desde Python?"

#: ../Doc/faq/extending.rst:206
msgid ""
Expand All @@ -345,7 +345,7 @@ msgstr ""

#: ../Doc/faq/extending.rst:212
msgid "For C++ libraries, see :ref:`c-wrapper-software`."
msgstr "Para biblotecas C++, mira :ref:`c-wrapper-software`."
msgstr "Para bibliotecas C++, mira :ref:`c-wrapper-software`."

#: ../Doc/faq/extending.rst:216
msgid "I added a module using the Setup file and the make fails; why?"
Expand All @@ -354,14 +354,13 @@ msgstr ""
"¿Porque?"

#: ../Doc/faq/extending.rst:218
#, fuzzy
msgid ""
"Setup must end in a newline, if there is no newline there, the build process "
"fails. (Fixing this requires some ugly shell script hackery, and this bug "
"is so minor that it doesn't seem worth the effort.)"
msgstr ""
"La configuración debe terminar en una nueva linea, si esta no está, entonces "
"el proceso *build* falla. (reparar esto requiere algún hackeo de linea de "
"el proceso *build* falla. (reparar esto requiere algún truco de linea de "
"comandos que puede ser no muy prolijo, y seguramente el error es tan pequeño "
"que no valdrá el esfuerzo.)"

Expand Down Expand Up @@ -430,9 +429,9 @@ msgid ""
msgstr ""
"A veces quieres emular el comportamiento del interprete interactivo de "
"Python, que te da una continuación del *prompt* cuando la entrada esta "
"incompleta (por ejemplo si tipeaste un comienzo de instrucción \"if\" o no "
"cerraste un paréntesis o triples comillas), pero te da un mensaje de error "
"de sintaxis inmediatamente cuando la entrada es invalida."
"incompleta (por ejemplo si comenzaste tu instrucción \"if\" o no cerraste un "
"paréntesis o triples comillas), pero te da un mensaje de error de sintaxis "
"inmediatamente cuando la entrada es invalida."

#: ../Doc/faq/extending.rst:267
#, fuzzy
Expand All @@ -459,7 +458,6 @@ msgstr ""
"personalizada."

#: ../Doc/faq/extending.rst:276
#, fuzzy
msgid ""
"However sometimes you have to run the embedded Python interpreter in the "
"same thread as your rest application and you can't allow the :c:func:"
Expand All @@ -472,9 +470,9 @@ msgstr ""
"mismo hilo que tu *api rest*, y puedes permitir que :c:func:"
"`PyRun_InteractiveLoop` termine mientras espera por la entrada del usuario. "
"La primera solución es llamar a :c:func:`PyParser_ParseString` y probar con "
"``e.error`` equal to ``E_EOF``, que significa que la entrada esta "
"incompleta. Aquí hay un fragmento de código ejemplo, que no esta probado, "
"inspirado en el código de Alex Farber:"
"``e.error`` igual a ``E_EOF``, que significa que la entrada esta incompleta. "
"Aquí hay un fragmento de código ejemplo, que no esta probado, inspirado en "
"el código de Alex Farber:"

#: ../Doc/faq/extending.rst:310
msgid ""
Expand All @@ -494,13 +492,13 @@ msgstr ""
"si necesita algún ingreso adicional - extrayendo la cadena de caracteres "
"mensaje de la tupla excepción y comparándola con la cadena de caracteres "
"\"unexpected EOF while parsing\". Aquí hay un ejemplo completo usando la "
"bibloteca *GNU readline* (Seguramente querrás ignorar **SIGINT** mientras "
"biblioteca *GNU readline* (Seguramente querrás ignorar **SIGINT** mientras "
"llamas a readline())::"

#: ../Doc/faq/extending.rst:432
#, fuzzy
msgid "How do I find undefined g++ symbols __builtin_new or __pure_virtual?"
msgstr "¿Cómo encuentro g++ symbols __builtin_new or __pure_virtual?"
msgstr "¿Cómo encuentro símbolos g++ __builtin_new or __pure_virtual?"

#: ../Doc/faq/extending.rst:434
msgid ""
Expand All @@ -509,9 +507,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, "
"reenlaza *relink* 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 All @@ -535,6 +533,6 @@ msgid ""
"html) provides a way of doing this from C++ (i.e. you can inherit from an "
"extension class written in C++ using the BPL)."
msgstr ""
"la bibloteca *Boost Pyhton* (BPL, http://www.boost.org/libs/python/doc/index."
"html) provee una manera de realizar esto desde C++ (por ejemplo puedes "
"La biblioteca *Boost Pyhton* (BPL, http://www.boost.org/libs/python/doc/"
"index.html) provee una manera de realizar esto desde C++ (por ejemplo puedes "
"heredar de una clase extensión escrita en C++ usando el BPL)."