Skip to content

Commit d3600d4

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 87c191a commit d3600d4

25 files changed

+2092
-2328
lines changed

c-api/structures.po

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
# Translators:
77
# Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, 2023
88
# Rodrigo Cendamore, 2023
9-
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
9+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2023
1010
# Adorilson Bezerra <adorilson@gmail.com>, 2024
1111
#
1212
#, fuzzy
1313
msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.13\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2024-08-23 14:16+0000\n"
17+
"POT-Creation-Date: 2024-08-30 14:16+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1919
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2024\n"
2020
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -80,6 +80,11 @@ msgid ""
8080
"Access to the members must be done by using the macros :c:macro:"
8181
"`Py_REFCNT`, :c:macro:`Py_TYPE`, and :c:macro:`Py_SIZE`."
8282
msgstr ""
83+
"Esta é uma extensão de :c:type:`PyObject` que adiciona o campo :c:member:"
84+
"`~PyVarObject.ob_size`. Isso é usado apenas para objetos que têm alguma "
85+
"noção de *comprimento*. Esse tipo não costuma aparecer na API Python/C. O "
86+
"acesso aos membros deve ser feito através das macros :c:macro:`Py_REFCNT`, :"
87+
"c:macro:`Py_TYPE`, e :c:macro:`Py_SIZE`."
8388

8489
#: ../../c-api/structures.rst:47
8590
msgid ""
@@ -240,7 +245,7 @@ msgstr ""
240245

241246
#: ../../c-api/structures.rst:233
242247
msgid "Name of the method."
243-
msgstr ""
248+
msgstr "Nome do método."
244249

245250
#: ../../c-api/structures.rst:237
246251
msgid "Pointer to the C implementation."
@@ -296,7 +301,7 @@ msgstr ""
296301

297302
#: ../../c-api/structures.rst:282
298303
msgid ":c:expr:`METH_VARARGS | METH_KEYWORDS`"
299-
msgstr ""
304+
msgstr ":c:expr:`METH_VARARGS | METH_KEYWORDS`"
300305

301306
#: ../../c-api/structures.rst:283
302307
msgid ""
@@ -322,7 +327,7 @@ msgstr ""
322327

323328
#: ../../c-api/structures.rst:307
324329
msgid ":c:expr:`METH_FASTCALL | METH_KEYWORDS`"
325-
msgstr ""
330+
msgstr ":c:expr:`METH_FASTCALL | METH_KEYWORDS`"
326331

327332
#: ../../c-api/structures.rst:308
328333
msgid ""
@@ -344,7 +349,7 @@ msgstr ""
344349

345350
#: ../../c-api/structures.rst:329
346351
msgid ":c:expr:`METH_METHOD | METH_FASTCALL | METH_KEYWORDS`"
347-
msgstr ""
352+
msgstr ":c:expr:`METH_METHOD | METH_FASTCALL | METH_KEYWORDS`"
348353

349354
#: ../../c-api/structures.rst:330
350355
msgid ""
@@ -449,7 +454,7 @@ msgstr ""
449454

450455
#: ../../c-api/structures.rst:418
451456
msgid ":attr:`function.__module__`"
452-
msgstr ""
457+
msgstr ":attr:`function.__module__`"
453458

454459
#: ../../c-api/structures.rst:420
455460
msgid ""
@@ -459,11 +464,11 @@ msgstr ""
459464

460465
#: ../../c-api/structures.rst:429
461466
msgid "Equivalent to ``PyCMethod_New(ml, self, module, NULL)``."
462-
msgstr ""
467+
msgstr "Equivalente a ``PyCMethod_New(ml, self, module, NULL)``."
463468

464469
#: ../../c-api/structures.rst:434
465470
msgid "Equivalent to ``PyCMethod_New(ml, self, NULL, NULL)``."
466-
msgstr ""
471+
msgstr "Equivalente a ``PyCMethod_New(ml, self, NULL, NULL)``."
467472

468473
#: ../../c-api/structures.rst:438
469474
msgid "Accessing attributes of extension types"
@@ -655,7 +660,7 @@ msgstr ""
655660

656661
#: ../../c-api/structures.rst:604
657662
msgid "C type"
658-
msgstr "Tipo C"
663+
msgstr "Tipo em C"
659664

660665
#: ../../c-api/structures.rst:604
661666
msgid "Python type"

c-api/tuple.po

Lines changed: 62 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.13\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-07-05 14:16+0000\n"
16+
"POT-Creation-Date: 2024-08-30 14:16+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1818
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -59,35 +59,30 @@ msgstr ""
5959
"subtipo do tipo tupla. Esta função sempre tem sucesso."
6060

6161
#: ../../c-api/tuple.rst:36
62-
msgid "Return a new tuple object of size *len*, or ``NULL`` on failure."
62+
msgid ""
63+
"Return a new tuple object of size *len*, or ``NULL`` with an exception set "
64+
"on failure."
6365
msgstr ""
64-
"Retorna um novo objeto tupla de tamanho *len*, ou ``NULL`` em caso de falha."
6566

66-
#: ../../c-api/tuple.rst:41
67+
#: ../../c-api/tuple.rst:42
6768
msgid ""
68-
"Return a new tuple object of size *n*, or ``NULL`` on failure. The tuple "
69-
"values are initialized to the subsequent *n* C arguments pointing to Python "
70-
"objects. ``PyTuple_Pack(2, a, b)`` is equivalent to "
69+
"Return a new tuple object of size *n*, or ``NULL`` with an exception set on "
70+
"failure. The tuple values are initialized to the subsequent *n* C arguments "
71+
"pointing to Python objects. ``PyTuple_Pack(2, a, b)`` is equivalent to "
7172
"``Py_BuildValue(\"(OO)\", a, b)``."
7273
msgstr ""
73-
"Retorna um novo objeto tupla de tamanho *n*, ou ``NULL`` em caso de falha. "
74-
"Os valores da tupla são inicializados para os *n* argumentos C subsequentes "
75-
"apontando para objetos Python. ```PyTuple_Pack(2, a, b)`` é equivalente a "
76-
"``Py_BuildValue(\"(OO)\", a, b)``."
77-
78-
#: ../../c-api/tuple.rst:48
79-
msgid "Take a pointer to a tuple object, and return the size of that tuple."
80-
msgstr "Pega um ponteiro para um objeto tupla e retorna o tamanho dessa tupla."
8174

82-
#: ../../c-api/tuple.rst:53
75+
#: ../../c-api/tuple.rst:50
8376
msgid ""
84-
"Return the size of the tuple *p*, which must be non-``NULL`` and point to a "
85-
"tuple; no error checking is performed."
77+
"Take a pointer to a tuple object, and return the size of that tuple. On "
78+
"error, return ``-1`` and with an exception set."
79+
msgstr ""
80+
81+
#: ../../c-api/tuple.rst:56
82+
msgid "Like :c:func:`PyTuple_Size`, but without error checking."
8683
msgstr ""
87-
"Retorna o tamanho da tupla *p*, que deve ser diferente de ``NULL`` e apontar "
88-
"para uma tupla; nenhuma verificação de erro é executada."
8984

90-
#: ../../c-api/tuple.rst:59
85+
#: ../../c-api/tuple.rst:61
9186
msgid ""
9287
"Return the object at position *pos* in the tuple pointed to by *p*. If "
9388
"*pos* is negative or out of bounds, return ``NULL`` and set an :exc:"
@@ -97,28 +92,33 @@ msgstr ""
9792
"estiver fora dos limites, retorna ``NULL`` e define uma exceção :exc:"
9893
"`IndexError`."
9994

100-
#: ../../c-api/tuple.rst:62
95+
#: ../../c-api/tuple.rst:64
10196
msgid ""
10297
"The returned reference is borrowed from the tuple *p* (that is: it is only "
10398
"valid as long as you hold a reference to *p*). To get a :term:`strong "
10499
"reference`, use :c:func:`Py_NewRef(PyTuple_GetItem(...)) <Py_NewRef>` or :c:"
105100
"func:`PySequence_GetItem`."
106101
msgstr ""
107102

108-
#: ../../c-api/tuple.rst:71
103+
#: ../../c-api/tuple.rst:73
109104
msgid "Like :c:func:`PyTuple_GetItem`, but does no checking of its arguments."
110105
msgstr ""
111106
"Como :c:func:`PyTuple_GetItem`, mas faz nenhuma verificação de seus "
112107
"argumentos."
113108

114-
#: ../../c-api/tuple.rst:76
109+
#: ../../c-api/tuple.rst:78
115110
msgid ""
116111
"Return the slice of the tuple pointed to by *p* between *low* and *high*, or "
117-
"``NULL`` on failure. This is the equivalent of the Python expression "
118-
"``p[low:high]``. Indexing from the end of the tuple is not supported."
112+
"``NULL`` with an exception set on failure."
119113
msgstr ""
120114

121-
#: ../../c-api/tuple.rst:83
115+
#: ../../c-api/tuple.rst:81
116+
msgid ""
117+
"This is the equivalent of the Python expression ``p[low:high]``. Indexing "
118+
"from the end of the tuple is not supported."
119+
msgstr ""
120+
121+
#: ../../c-api/tuple.rst:87
122122
msgid ""
123123
"Insert a reference to object *o* at position *pos* of the tuple pointed to "
124124
"by *p*. Return ``0`` on success. If *pos* is out of bounds, return ``-1`` "
@@ -128,23 +128,24 @@ msgstr ""
128128
"*p*. Retorna ``0`` em caso de sucesso. Se *pos* estiver fora dos limites, "
129129
"retorne ``-1`` e define uma exceção :exc:`IndexError`."
130130

131-
#: ../../c-api/tuple.rst:89
131+
#: ../../c-api/tuple.rst:93
132132
msgid ""
133133
"This function \"steals\" a reference to *o* and discards a reference to an "
134134
"item already in the tuple at the affected position."
135135
msgstr ""
136136
"Esta função \"rouba\" uma referência a *o* e descarta uma referência a um "
137137
"item já na tupla na posição afetada."
138138

139-
#: ../../c-api/tuple.rst:95
139+
#: ../../c-api/tuple.rst:99
140140
msgid ""
141141
"Like :c:func:`PyTuple_SetItem`, but does no error checking, and should "
142142
"*only* be used to fill in brand new tuples."
143143
msgstr ""
144144
"Como :c:func:`PyTuple_SetItem`, mas não verifica erros e deve *apenas* ser "
145145
"usado para preencher novas tuplas."
146146

147-
#: ../../c-api/tuple.rst:98 ../../c-api/tuple.rst:209 ../../c-api/tuple.rst:227
147+
#: ../../c-api/tuple.rst:102 ../../c-api/tuple.rst:217
148+
#: ../../c-api/tuple.rst:235
148149
msgid ""
149150
"Bounds checking is performed as an assertion if Python is built in :ref:"
150151
"`debug mode <debug-build>` or :option:`with assertions <--with-assertions>`."
@@ -153,7 +154,7 @@ msgstr ""
153154
"construído em :ref:`modo de depuração <debug-build>` ou :option:`com "
154155
"asserções <--with-assertions>`."
155156

156-
#: ../../c-api/tuple.rst:103
157+
#: ../../c-api/tuple.rst:107
157158
msgid ""
158159
"This function \"steals\" a reference to *o*, and, unlike :c:func:"
159160
"`PyTuple_SetItem`, does *not* discard a reference to any item that is being "
@@ -164,7 +165,7 @@ msgstr ""
164165
"sendo substituído; qualquer referência na tupla na posição *pos* será "
165166
"perdida."
166167

167-
#: ../../c-api/tuple.rst:111
168+
#: ../../c-api/tuple.rst:115
168169
msgid ""
169170
"Can be used to resize a tuple. *newsize* will be the new length of the "
170171
"tuple. Because tuples are *supposed* to be immutable, this should only be "
@@ -190,11 +191,11 @@ msgstr ""
190191
"``-1`` e define ``*p`` para ``NULL``, e levanta :exc:`MemoryError` ou :exc:"
191192
"`SystemError`."
192193

193-
#: ../../c-api/tuple.rst:126
194+
#: ../../c-api/tuple.rst:130
194195
msgid "Struct Sequence Objects"
195196
msgstr "Objetos sequência de estrutura"
196197

197-
#: ../../c-api/tuple.rst:128
198+
#: ../../c-api/tuple.rst:132
198199
msgid ""
199200
"Struct sequence objects are the C equivalent of :func:`~collections."
200201
"namedtuple` objects, i.e. a sequence whose items can also be accessed "
@@ -206,7 +207,7 @@ msgstr ""
206207
"ser acessados por meio de atributos. Para criar uma sequência de estrutura, "
207208
"você primeiro precisa criar um tipo de sequência de estrutura específico."
208209

209-
#: ../../c-api/tuple.rst:135
210+
#: ../../c-api/tuple.rst:139
210211
msgid ""
211212
"Create a new struct sequence type from the data in *desc*, described below. "
212213
"Instances of the resulting type can be created with :c:func:"
@@ -216,41 +217,43 @@ msgstr ""
216217
"descrito abaixo. Instâncias do tipo resultante podem ser criadas com :c:func:"
217218
"`PyStructSequence_New`."
218219

219-
#: ../../c-api/tuple.rst:141
220+
#: ../../c-api/tuple.rst:142 ../../c-api/tuple.rst:210
221+
msgid "Return ``NULL`` with an exception set on failure."
222+
msgstr ""
223+
224+
#: ../../c-api/tuple.rst:147
220225
msgid "Initializes a struct sequence type *type* from *desc* in place."
221226
msgstr ""
222227
"Inicializa um tipo de sequência de estrutura *type* de *desc* no lugar."
223228

224-
#: ../../c-api/tuple.rst:146
229+
#: ../../c-api/tuple.rst:152
225230
msgid ""
226-
"The same as ``PyStructSequence_InitType``, but returns ``0`` on success and "
227-
"``-1`` on failure."
231+
"Like :c:func:`PyStructSequence_InitType`, but returns ``0`` on success and "
232+
"``-1`` with an exception set on failure."
228233
msgstr ""
229-
"O mesmo que ``PyStructSequence_InitType``, mas retorna ``0`` em caso de "
230-
"sucesso e ``-1`` em caso de falha."
231234

232-
#: ../../c-api/tuple.rst:154
235+
#: ../../c-api/tuple.rst:160
233236
msgid "Contains the meta information of a struct sequence type to create."
234237
msgstr ""
235238
"Contém as metainformações de um tipo de sequência de estrutura a ser criado."
236239

237-
#: ../../c-api/tuple.rst:158
240+
#: ../../c-api/tuple.rst:164
238241
msgid "Name of the struct sequence type."
239242
msgstr ""
240243

241-
#: ../../c-api/tuple.rst:162
244+
#: ../../c-api/tuple.rst:168
242245
msgid "Pointer to docstring for the type or ``NULL`` to omit."
243246
msgstr ""
244247

245-
#: ../../c-api/tuple.rst:166
248+
#: ../../c-api/tuple.rst:172
246249
msgid "Pointer to ``NULL``-terminated array with field names of the new type."
247250
msgstr ""
248251

249-
#: ../../c-api/tuple.rst:170
252+
#: ../../c-api/tuple.rst:176
250253
msgid "Number of fields visible to the Python side (if used as tuple)."
251254
msgstr ""
252255

253-
#: ../../c-api/tuple.rst:175
256+
#: ../../c-api/tuple.rst:181
254257
msgid ""
255258
"Describes a field of a struct sequence. As a struct sequence is modeled as a "
256259
"tuple, all fields are typed as :c:expr:`PyObject*`. The index in the :c:"
@@ -259,46 +262,46 @@ msgid ""
259262
"described."
260263
msgstr ""
261264

262-
#: ../../c-api/tuple.rst:183
265+
#: ../../c-api/tuple.rst:189
263266
msgid ""
264267
"Name for the field or ``NULL`` to end the list of named fields, set to :c:"
265268
"data:`PyStructSequence_UnnamedField` to leave unnamed."
266269
msgstr ""
267270

268-
#: ../../c-api/tuple.rst:188
271+
#: ../../c-api/tuple.rst:194
269272
msgid "Field docstring or ``NULL`` to omit."
270273
msgstr ""
271274

272-
#: ../../c-api/tuple.rst:193
275+
#: ../../c-api/tuple.rst:199
273276
msgid "Special value for a field name to leave it unnamed."
274277
msgstr "Valor especial para um nome de campo para deixá-lo sem nome."
275278

276-
#: ../../c-api/tuple.rst:195
279+
#: ../../c-api/tuple.rst:201
277280
msgid "The type was changed from ``char *``."
278281
msgstr "O tipo foi alterado de ``char *``."
279282

280-
#: ../../c-api/tuple.rst:201
283+
#: ../../c-api/tuple.rst:207
281284
msgid ""
282285
"Creates an instance of *type*, which must have been created with :c:func:"
283286
"`PyStructSequence_NewType`."
284287
msgstr ""
285288
"Cria um instância de *type*, que deve ser criada com :c:func:"
286289
"`PyStructSequence_NewType`."
287290

288-
#: ../../c-api/tuple.rst:207
291+
#: ../../c-api/tuple.rst:215
289292
msgid ""
290293
"Return the object at position *pos* in the struct sequence pointed to by *p*."
291294
msgstr ""
292295

293-
#: ../../c-api/tuple.rst:215
296+
#: ../../c-api/tuple.rst:223
294297
msgid "Alias to :c:func:`PyStructSequence_GetItem`."
295298
msgstr ""
296299

297-
#: ../../c-api/tuple.rst:217
300+
#: ../../c-api/tuple.rst:225
298301
msgid "Now implemented as an alias to :c:func:`PyStructSequence_GetItem`."
299302
msgstr ""
300303

301-
#: ../../c-api/tuple.rst:223
304+
#: ../../c-api/tuple.rst:231
302305
msgid ""
303306
"Sets the field at index *pos* of the struct sequence *p* to value *o*. "
304307
"Like :c:func:`PyTuple_SET_ITEM`, this should only be used to fill in brand "
@@ -308,15 +311,15 @@ msgstr ""
308311
"*o*. Como :c:func:`PyTuple_SET_ITEM`, isto só deve ser usado para preencher "
309312
"novas instâncias."
310313

311-
#: ../../c-api/tuple.rst:232
314+
#: ../../c-api/tuple.rst:240
312315
msgid "This function \"steals\" a reference to *o*."
313316
msgstr "Esta função \"rouba\" uma referência a *o*."
314317

315-
#: ../../c-api/tuple.rst:237
318+
#: ../../c-api/tuple.rst:245
316319
msgid "Alias to :c:func:`PyStructSequence_SetItem`."
317320
msgstr ""
318321

319-
#: ../../c-api/tuple.rst:239
322+
#: ../../c-api/tuple.rst:247
320323
msgid "Now implemented as an alias to :c:func:`PyStructSequence_SetItem`."
321324
msgstr ""
322325

0 commit comments

Comments
 (0)