Skip to content

Commit 8a85755

Browse files
brivadeneiraBibiana Rivadeneiracmaureir
authored
Add missing translate c-api/module.po (#1603)
* Add missing translate c-api/module.po * Update c-api/module.po * Update c-api/module.po * Add missing translate * Run powrap * Update c-api/module.po Co-authored-by: Bibiana Rivadeneira <brivareneira@protonmail.com> Co-authored-by: Cristián Maureira-Fredes <cmaureir@users.noreply.github.com>
1 parent 34c41ed commit 8a85755

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

c-api/module.po

+19-1
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,11 @@ msgid ""
337337
"collector is not involved and :c:member:`~PyModuleDef.m_free` is called "
338338
"directly."
339339
msgstr ""
340+
"Tal como :c:member:`PyTypeObject.tp_clear`, esta función no *siempre* es "
341+
"llamada antes de la designación de un módulo. Por ejemplo, cuando el "
342+
"recuento de referencias está listo para determinar que un objeto no se usa "
343+
"más, la recolección de basura cíclica no se involucra y se llama a :c:member:"
344+
"`~PyModuleDef.m_free` directamente."
340345

341346
#: ../Doc/c-api/module.rst:235
342347
msgid ""
@@ -714,41 +719,54 @@ msgstr ""
714719
msgid ""
715720
"On success, return ``0``. On error, raise an exception and return ``-1``."
716721
msgstr ""
722+
"En caso de éxito, retorna ``0``. En caso de error, lanza una excepción y "
723+
"retorna ``-1``."
717724

718725
#: ../Doc/c-api/module.rst:454
719726
msgid ""
720727
"Return ``NULL`` if *value* is ``NULL``. It must be called with an exception "
721728
"raised in this case."
722729
msgstr ""
730+
"Retorna ``NULL`` si *value* es ``NULL``. Debe llamarse lanzando una "
731+
"excepción en este caso."
723732

724733
#: ../Doc/c-api/module.rst:457 ../Doc/c-api/module.rst:506
725734
msgid "Example usage::"
726-
msgstr ""
735+
msgstr "Ejemplo de uso ::"
727736

728737
#: ../Doc/c-api/module.rst:471 ../Doc/c-api/module.rst:524
729738
msgid ""
730739
"The example can also be written without checking explicitly if *obj* is "
731740
"``NULL``::"
732741
msgstr ""
742+
"El ejemplo puede también ser escrito sin verificar explicitamente si *obj* "
743+
"es ``NULL``::"
733744

734745
#: ../Doc/c-api/module.rst:483 ../Doc/c-api/module.rst:540
735746
msgid ""
736747
"Note that ``Py_XDECREF()`` should be used instead of ``Py_DECREF()`` in this "
737748
"case, since *obj* can be ``NULL``."
738749
msgstr ""
750+
"Note que ``Py_XDECREF()`` debería ser usado en vez de ``Py_DECREF()`` en "
751+
"este caso, ya que *obj* puede ser ``NULL``."
739752

740753
#: ../Doc/c-api/module.rst:491
741754
msgid ""
742755
"Similar to :c:func:`PyModule_AddObjectRef`, but steals a reference to "
743756
"*value* on success (if it returns ``0``)."
744757
msgstr ""
758+
"Similar a :c:func:`PyModule_AddObjectRef`, pero roba una referencia a "
759+
"*value* en caso de éxito (en este caso retorna ``0``)."
745760

746761
#: ../Doc/c-api/module.rst:494
747762
msgid ""
748763
"The new :c:func:`PyModule_AddObjectRef` function is recommended, since it is "
749764
"easy to introduce reference leaks by misusing the :c:func:"
750765
"`PyModule_AddObject` function."
751766
msgstr ""
767+
"Se recomienda la nueva función :c:func:`PyModule_AddObjectRef`, ya que es "
768+
"sencillo introducir fugas de referencias por un uso incorrecto de la "
769+
"función :c:func:`PyModule_AddObject`."
752770

753771
#: ../Doc/c-api/module.rst:500
754772
msgid ""

0 commit comments

Comments
 (0)