Skip to content

Commit 75bf490

Browse files
committed
chore(docs): translate c-api/object.po 🤖
Translate c-api/object.po from English to Spanish following the translation memory guidelines. Added translations for: - Strong and borrowed references to constants - Constant identifier tables and values - NotImplemented singleton functionality - Print flags and object printing functions - Interpreter reference management Updated Last-Translator field and Po-Revision-Date. Closes #3266
1 parent 28ade9d commit 75bf490

File tree

1 file changed

+23
-15
lines changed

1 file changed

+23
-15
lines changed

c-api/object.po

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2024-11-21 16:38-0300\n"
14-
"PO-Revision-Date: 2022-10-31 19:22-0300\n"
15-
"Last-Translator: Sofía Denner <sofi.denner@gmail.com>\n"
14+
"PO-Revision-Date: 2024-12-13 11:00-0800\n"
15+
"Last-Translator: Erick G. Islas-Osuna <erickisos653@gmail.com>\n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-es\n"
1818
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@@ -27,27 +27,27 @@ msgstr "Protocolo de objeto"
2727

2828
#: ../Doc/c-api/object.rst:11
2929
msgid "Get a :term:`strong reference` to a constant."
30-
msgstr ""
30+
msgstr "Obtiene una :term:`referencia fuerte` a una constante."
3131

3232
#: ../Doc/c-api/object.rst:13
3333
msgid "Set an exception and return ``NULL`` if *constant_id* is invalid."
34-
msgstr ""
34+
msgstr "Establece una excepción y retorna ``NULL`` si *constant_id* es inválido."
3535

3636
#: ../Doc/c-api/object.rst:15
3737
msgid "*constant_id* must be one of these constant identifiers:"
38-
msgstr ""
38+
msgstr "*constant_id* debe ser uno de estos identificadores constantes:"
3939

4040
#: ../Doc/c-api/object.rst:20
4141
msgid "Constant Identifier"
42-
msgstr ""
42+
msgstr "Identificador de constante"
4343

4444
#: ../Doc/c-api/object.rst:20
4545
msgid "Value"
46-
msgstr ""
46+
msgstr "Valor"
4747

4848
#: ../Doc/c-api/object.rst:20
4949
msgid "Returned object"
50-
msgstr ""
50+
msgstr "Objeto retornado"
5151

5252
#: ../Doc/c-api/object.rst:22 ../Doc/c-api/object.rst:27
5353
msgid "``0``"
@@ -126,27 +126,34 @@ msgid ""
126126
"Numeric values are only given for projects which cannot use the constant "
127127
"identifiers."
128128
msgstr ""
129+
"Los valores numéricos solo se proporcionan para proyectos que no pueden usar "
130+
"los identificadores constantes."
129131

130132
#: ../Doc/c-api/object.rst:42
131133
msgid "In CPython, all of these constants are :term:`immortal`."
132-
msgstr ""
134+
msgstr "En CPython, todas estas constantes son :term:`inmortales <immortal>`."
133135

134136
#: ../Doc/c-api/object.rst:47
135137
msgid ""
136138
"Similar to :c:func:`Py_GetConstant`, but return a :term:`borrowed reference`."
137139
msgstr ""
140+
"Similar a :c:func:`Py_GetConstant`, pero retorna una :term:`referencia prestada`."
138141

139142
#: ../Doc/c-api/object.rst:50
140143
msgid ""
141144
"This function is primarily intended for backwards compatibility: using :c:"
142145
"func:`Py_GetConstant` is recommended for new code."
143146
msgstr ""
147+
"Esta función está destinada principalmente para compatibilidad hacia atrás: "
148+
"se recomienda usar :c:func:`Py_GetConstant` para código nuevo."
144149

145150
#: ../Doc/c-api/object.rst:53
146151
msgid ""
147152
"The reference is borrowed from the interpreter, and is valid until the "
148153
"interpreter finalization."
149154
msgstr ""
155+
"La referencia es prestada del intérprete, y es válida hasta la finalización "
156+
"del intérprete."
150157

151158
#: ../Doc/c-api/object.rst:61
152159
msgid ""
@@ -157,25 +164,26 @@ msgstr ""
157164
"está implementada para la combinación de tipos dada."
158165

159166
#: ../Doc/c-api/object.rst:67
160-
#, fuzzy
161167
msgid ""
162168
"Properly handle returning :c:data:`Py_NotImplemented` from within a C "
163169
"function (that is, create a new :term:`strong reference` to :const:"
164170
"`NotImplemented` and return it)."
165171
msgstr ""
166-
"Maneja adecuadamente el retorno :c:data:`Py_NotImplemented` desde una "
167-
"función C (es decir, incremente el recuento de referencias de "
168-
"*NotImplemented* y lo retorna)."
172+
"Maneja adecuadamente el retorno de :c:data:`Py_NotImplemented` desde una "
173+
"función C (es decir, crea una nueva :term:`referencia fuerte` a :const:"
174+
"`NotImplemented` y lo retorna)."
169175

170176
#: ../Doc/c-api/object.rst:74
171177
msgid ""
172178
"Flag to be used with multiple functions that print the object (like :c:func:"
173179
"`PyObject_Print` and :c:func:`PyFile_WriteObject`). If passed, these "
174180
"function would use the :func:`str` of the object instead of the :func:`repr`."
175181
msgstr ""
182+
"Bandera (*flag*) para usar con múltiples funciones que imprimen el objeto "
183+
"(como :c:func:`PyObject_Print` y :c:func:`PyFile_WriteObject`). Si se pasa, "
184+
"estas funciones usarían el :func:`str` del objeto en lugar del :func:`repr`."
176185

177186
#: ../Doc/c-api/object.rst:82
178-
#, fuzzy
179187
msgid ""
180188
"Print an object *o*, on file *fp*. Returns ``-1`` on error. The flags "
181189
"argument is used to enable certain printing options. The only option "
@@ -184,7 +192,7 @@ msgid ""
184192
msgstr ""
185193
"Imprime un objeto *o*, en el archivo *fp*. Retorna ``-1`` en caso de error. "
186194
"El argumento de las banderas se usa para habilitar ciertas opciones de "
187-
"impresión. La única opción actualmente admitida es :const:`Py_PRINT_RAW`; si "
195+
"impresión. La única opción actualmente admitida es :c:macro:`Py_PRINT_RAW`; si "
188196
"se proporciona, se escribe :func:`str` del objeto en lugar de :func:`repr`."
189197

190198
#: ../Doc/c-api/object.rst:90

0 commit comments

Comments
 (0)