Skip to content

Commit d6260bc

Browse files
Update translation
Co-Authored-By: Adorilson Bezerra <adorilson@gmail.com>
1 parent e148244 commit d6260bc

File tree

10 files changed

+14573
-14540
lines changed

10 files changed

+14573
-14540
lines changed

c-api/bytearray.po

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-05-09 14:19+0000\n"
14+
"POT-Creation-Date: 2026-03-27 14:44+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -73,29 +73,35 @@ msgstr ""
7373
"Retorna um novo objeto bytearray, *o*, que implementa o :ref:`protocolo de "
7474
"buffer<bufferobjects>`."
7575

76-
#: ../../c-api/bytearray.rst:45 ../../c-api/bytearray.rst:52
77-
#: ../../c-api/bytearray.rst:59
76+
#: ../../c-api/bytearray.rst:45 ../../c-api/bytearray.rst:56
77+
#: ../../c-api/bytearray.rst:63
7878
msgid "On failure, return ``NULL`` with an exception set."
7979
msgstr "Em caso de falha, retorna ``NULL`` com uma exceção definida."
8080

81-
#: ../../c-api/bytearray.rst:50
81+
#: ../../c-api/bytearray.rst:48 ../../c-api/bytearray.rst:66
82+
msgid ""
83+
"If the object implements the buffer protocol, then the buffer must not be "
84+
"mutated while the bytearray object is being created."
85+
msgstr ""
86+
87+
#: ../../c-api/bytearray.rst:54
8288
msgid "Create a new bytearray object from *string* and its length, *len*."
8389
msgstr ""
8490
"Cria um novo objeto bytearray a partir de *string* e seu comprimento, *len*."
8591

86-
#: ../../c-api/bytearray.rst:57
92+
#: ../../c-api/bytearray.rst:61
8793
msgid ""
8894
"Concat bytearrays *a* and *b* and return a new bytearray with the result."
8995
msgstr ""
9096
"Concatena os bytearrays *a* e *b* e retorna um novo bytearray com o "
9197
"resultado."
9298

93-
#: ../../c-api/bytearray.rst:64
99+
#: ../../c-api/bytearray.rst:72
94100
msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer."
95101
msgstr ""
96102
"Retorna o tamanho de *bytearray* após verificar se há um ponteiro ``NULL``."
97103

98-
#: ../../c-api/bytearray.rst:69
104+
#: ../../c-api/bytearray.rst:77
99105
msgid ""
100106
"Return the contents of *bytearray* as a char array after checking for a "
101107
"``NULL`` pointer. The returned array always has an extra null byte appended."
@@ -104,35 +110,41 @@ msgstr ""
104110
"verificar um ponteiro ``NULL``. O array retornado sempre tem um byte nulo "
105111
"extra acrescentado."
106112

107-
#: ../../c-api/bytearray.rst:76
113+
#: ../../c-api/bytearray.rst:82 ../../c-api/bytearray.rst:104
114+
msgid ""
115+
"It is not thread-safe to mutate the bytearray object while using the "
116+
"returned char array."
117+
msgstr ""
118+
119+
#: ../../c-api/bytearray.rst:87
108120
msgid ""
109121
"Resize the internal buffer of *bytearray* to *len*. Failure is a ``-1`` "
110122
"return with an exception set."
111123
msgstr ""
112124
"Redimensiona o buffer interno de *bytearray* para o tamanho *len*. Falha é "
113125
"um retorno ``-1`` com um conjunto de exceções."
114126

115-
#: ../../c-api/bytearray.rst:79
127+
#: ../../c-api/bytearray.rst:90
116128
msgid ""
117129
"A negative *len* will now result in an exception being set and -1 returned."
118130
msgstr ""
119131
"Um *len* negativo agora resultará na definição de uma exceção e no retorno "
120132
"de -1."
121133

122-
#: ../../c-api/bytearray.rst:84
134+
#: ../../c-api/bytearray.rst:95
123135
msgid "Macros"
124136
msgstr "Macros"
125137

126-
#: ../../c-api/bytearray.rst:86
138+
#: ../../c-api/bytearray.rst:97
127139
msgid "These macros trade safety for speed and they don't check pointers."
128140
msgstr ""
129141
"Estas macros trocam segurança por velocidade e não verificam os ponteiros."
130142

131-
#: ../../c-api/bytearray.rst:90
143+
#: ../../c-api/bytearray.rst:101
132144
msgid "Similar to :c:func:`PyByteArray_AsString`, but without error checking."
133145
msgstr "Similar a :c:func:`PyByteArray_AsString`, mas sem verificação de erro."
134146

135-
#: ../../c-api/bytearray.rst:95
147+
#: ../../c-api/bytearray.rst:109
136148
msgid "Similar to :c:func:`PyByteArray_Size`, but without error checking."
137149
msgstr "Similar a :c:func:`PyByteArray_Size`, mas sem verificação de erro."
138150

c-api/bytes.po

Lines changed: 42 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-12-31 14:15+0000\n"
15+
"POT-Creation-Date: 2026-03-27 14:44+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: python-doc bot, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -285,15 +285,21 @@ msgstr ""
285285
"Retorna a representação de bytes do objeto *o* que implementa o protocolo de "
286286
"buffer."
287287

288-
#: ../../c-api/bytes.rst:129
288+
#: ../../c-api/bytes.rst:127
289+
msgid ""
290+
"If the object implements the buffer protocol, then the buffer must not be "
291+
"mutated while the bytes object is being created."
292+
msgstr ""
293+
294+
#: ../../c-api/bytes.rst:133
289295
msgid "Return the length of the bytes in bytes object *o*."
290296
msgstr "Retorna o comprimento dos bytes em objeto bytes *o*."
291297

292-
#: ../../c-api/bytes.rst:134
298+
#: ../../c-api/bytes.rst:138
293299
msgid "Similar to :c:func:`PyBytes_Size`, but without error checking."
294300
msgstr "Similar a :c:func:`PyBytes_Size`, mas sem verificação de erro."
295301

296-
#: ../../c-api/bytes.rst:139
302+
#: ../../c-api/bytes.rst:143
297303
msgid ""
298304
"Return a pointer to the contents of *o*. The pointer refers to the internal "
299305
"buffer of *o*, which consists of ``len(o) + 1`` bytes. The last byte in the "
@@ -311,19 +317,19 @@ msgstr ""
311317
"desalocado. Se *o* não é um objeto de bytes, :c:func:`PyBytes_AsString` "
312318
"retorna ``NULL`` e levanta :exc:`TypeError`."
313319

314-
#: ../../c-api/bytes.rst:151
320+
#: ../../c-api/bytes.rst:155
315321
msgid "Similar to :c:func:`PyBytes_AsString`, but without error checking."
316322
msgstr "Similar a :c:func:`PyBytes_AsString`, mas sem verificação de erro."
317323

318-
#: ../../c-api/bytes.rst:156
324+
#: ../../c-api/bytes.rst:160
319325
msgid ""
320326
"Return the null-terminated contents of the object *obj* through the output "
321327
"variables *buffer* and *length*. Returns ``0`` on success."
322328
msgstr ""
323329
"Retorna os conteúdos terminados nulos do objeto *obj* através das variáveis "
324330
"de saída *buffer* e *length*. Retorna ``0`` em caso de sucesso."
325331

326-
#: ../../c-api/bytes.rst:160
332+
#: ../../c-api/bytes.rst:164
327333
msgid ""
328334
"If *length* is ``NULL``, the bytes object may not contain embedded null "
329335
"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is "
@@ -333,7 +339,7 @@ msgstr ""
333339
"incorporados; se isso acontecer, a função retornará ``-1`` e a :exc:"
334340
"`ValueError` será levantado."
335341

336-
#: ../../c-api/bytes.rst:164
342+
#: ../../c-api/bytes.rst:168
337343
msgid ""
338344
"The buffer refers to an internal buffer of *obj*, which includes an "
339345
"additional null byte at the end (not counted in *length*). The data must "
@@ -349,15 +355,15 @@ msgstr ""
349355
"Se *obj* não é um objeto bytes, :c:func:`PyBytes_AsStringAndSize` retorna "
350356
"``-1`` e levanta :exc:`TypeError`."
351357

352-
#: ../../c-api/bytes.rst:171
358+
#: ../../c-api/bytes.rst:175
353359
msgid ""
354360
"Previously, :exc:`TypeError` was raised when embedded null bytes were "
355361
"encountered in the bytes object."
356362
msgstr ""
357363
"Anteriormente :exc:`TypeError` era levantado quando os bytes nulos "
358364
"incorporados eram encontrados no objeto bytes."
359365

360-
#: ../../c-api/bytes.rst:178
366+
#: ../../c-api/bytes.rst:182
361367
msgid ""
362368
"Create a new bytes object in *\\*bytes* containing the contents of *newpart* "
363369
"appended to *bytes*; the caller will own the new reference. The reference "
@@ -372,7 +378,13 @@ msgstr ""
372378
"valor de *\\*bytes* será definido como ``NULL``; a exceção apropriada será "
373379
"definida."
374380

375-
#: ../../c-api/bytes.rst:187
381+
#: ../../c-api/bytes.rst:189 ../../c-api/bytes.rst:199
382+
msgid ""
383+
"If *newpart* implements the buffer protocol, then the buffer must not be "
384+
"mutated while the new bytes object is being created."
385+
msgstr ""
386+
387+
#: ../../c-api/bytes.rst:194
376388
msgid ""
377389
"Create a new bytes object in *\\*bytes* containing the contents of *newpart* "
378390
"appended to *bytes*. This version releases the :term:`strong reference` to "
@@ -382,11 +394,11 @@ msgstr ""
382394
"anexado a bytes. Esta versão libera a :term:`strong reference` (referência "
383395
"forte) para newpart (ou seja, decrementa a contagem de referências a ele).\""
384396

385-
#: ../../c-api/bytes.rst:194
397+
#: ../../c-api/bytes.rst:205
386398
msgid "Similar to ``sep.join(iterable)`` in Python."
387399
msgstr "Similar a ``sep.join(iterable)`` no Python."
388400

389-
#: ../../c-api/bytes.rst:196
401+
#: ../../c-api/bytes.rst:207
390402
msgid ""
391403
"*sep* must be Python :class:`bytes` object. (Note that :c:func:"
392404
"`PyUnicode_Join` accepts ``NULL`` separator and treats it as a space, "
@@ -396,23 +408,29 @@ msgstr ""
396408
"`PyUnicode_Join` aceita o separador ``NULL`` e o trata como um espaço, "
397409
"enquanto :c:func:`PyBytes_Join` não aceita o separador ``NULL``.)"
398410

399-
#: ../../c-api/bytes.rst:201
411+
#: ../../c-api/bytes.rst:212
400412
msgid ""
401413
"*iterable* must be an iterable object yielding objects that implement the :"
402414
"ref:`buffer protocol <bufferobjects>`."
403415
msgstr ""
404416
"*iterable* deve ser um objeto iterável que produz objetos que implementam o :"
405417
"ref:`protocolo de buffer <bufferobjects>`."
406418

407-
#: ../../c-api/bytes.rst:204
419+
#: ../../c-api/bytes.rst:215
408420
msgid ""
409421
"On success, return a new :class:`bytes` object. On error, set an exception "
410422
"and return ``NULL``."
411423
msgstr ""
412424
"Em caso de sucesso, retorna um novo objeto :class:`bytes`. Em caso de erro, "
413425
"define uma exceção e retorna ``NULL``."
414426

415-
#: ../../c-api/bytes.rst:212
427+
#: ../../c-api/bytes.rst:221
428+
msgid ""
429+
"If *iterable* objects implement the buffer protocol, then the buffers must "
430+
"not be mutated while the new bytes object is being created."
431+
msgstr ""
432+
433+
#: ../../c-api/bytes.rst:226
416434
msgid ""
417435
"Resize a bytes object. *newsize* will be the new length of the bytes object. "
418436
"You can think of it as creating a new bytes object and destroying the old "
@@ -433,23 +451,23 @@ msgstr ""
433451
"originais em *\\*bytes* é desalocado, *\\*bytes* é definido como ``NULL``, :"
434452
"exc:`MemoryError` é definido e ``-1`` é retornado."
435453

436-
#: ../../c-api/bytes.rst:226
454+
#: ../../c-api/bytes.rst:240
437455
msgid ""
438456
"Get the string representation of *bytes*. This function is currently used to "
439457
"implement :meth:`!bytes.__repr__` in Python."
440458
msgstr ""
441459
"Obtém a representação em string de *bytes*. Esta função é atualmente usada "
442460
"para implementar :meth:`!bytes.__repr__` em Python."
443461

444-
#: ../../c-api/bytes.rst:229
462+
#: ../../c-api/bytes.rst:243
445463
msgid ""
446464
"This function does not do type checking; it is undefined behavior to pass "
447465
"*bytes* as a non-bytes object or ``NULL``."
448466
msgstr ""
449467
"Esta função não realiza verificação de tipo; é um comportamento indefinido "
450468
"passar *bytes* como um objeto que não seja do tipo bytes ou ``NULL``."
451469

452-
#: ../../c-api/bytes.rst:232
470+
#: ../../c-api/bytes.rst:246
453471
msgid ""
454472
"If *smartquotes* is true, the representation will use a double-quoted string "
455473
"instead of single-quoted string when single-quotes are present in *bytes*. "
@@ -463,7 +481,7 @@ msgstr ""
463481
"representada como ``b\"'Python'\"`` quando *smartquotes* for verdadeiro, ou "
464482
"``b'\\'Python\\''`` quando for falso."
465483

466-
#: ../../c-api/bytes.rst:238
484+
#: ../../c-api/bytes.rst:252
467485
msgid ""
468486
"On success, this function returns a :term:`strong reference` to a :class:"
469487
"`str` object containing the representation. On failure, this returns "
@@ -473,15 +491,15 @@ msgstr ""
473491
"objeto :class:`str` contendo a representação. Em caso de falha, ela retorna "
474492
"``NULL`` com uma exceção definida."
475493

476-
#: ../../c-api/bytes.rst:245
494+
#: ../../c-api/bytes.rst:259
477495
msgid ""
478496
"Unescape a backslash-escaped string *s*. *s* must not be ``NULL``. *len* "
479497
"must be the size of *s*."
480498
msgstr ""
481499
"Remove um string *s* que foi escapada com contrabarra. *s* não pode ser "
482500
"``NULL``. *len* deve ser o tamanho de *s*."
483501

484-
#: ../../c-api/bytes.rst:248
502+
#: ../../c-api/bytes.rst:262
485503
msgid ""
486504
"*errors* must be one of ``\"strict\"``, ``\"replace\"``, or ``\"ignore\"``. "
487505
"If *errors* is ``NULL``, then ``\"strict\"`` is used by default."
@@ -490,7 +508,7 @@ msgstr ""
490508
"ou ``\"ignore\"``. Se *errors* for ``NULL``, o valor padrão será "
491509
"``\"strict\"``."
492510

493-
#: ../../c-api/bytes.rst:251
511+
#: ../../c-api/bytes.rst:265
494512
msgid ""
495513
"On success, this function returns a :term:`strong reference` to a Python :"
496514
"class:`bytes` object containing the unescaped string. On failure, this "
@@ -500,7 +518,7 @@ msgstr ""
500518
"objeto Python :class:`bytes` contendo a string sem escape. Em caso de falha, "
501519
"esta função retorna ``NULL`` com uma exceção definida."
502520

503-
#: ../../c-api/bytes.rst:255
521+
#: ../../c-api/bytes.rst:269
504522
msgid "*unicode* and *recode_encoding* are now unused."
505523
msgstr "*unicode* e *recode_encoding* não são mais usadas."
506524

library/array.po

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-03-23 14:50+0000\n"
14+
"POT-Creation-Date: 2026-03-27 14:44+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -314,8 +314,8 @@ msgid "The length in bytes of one array item in the internal representation."
314314
msgstr "O tamanho em bytes de um item do vetor em representação interna."
315315

316316
#: ../../library/array.rst:124
317-
msgid "Append a new item with value *x* to the end of the array."
318-
msgstr "Adiciona um novo item com valor *x* ao final do vetor."
317+
msgid "Append a new item with the specified value to the end of the array."
318+
msgstr ""
319319

320320
#: ../../library/array.rst:129
321321
msgid ""
@@ -365,8 +365,8 @@ msgstr ""
365365
"diferente."
366366

367367
#: ../../library/array.rst:156
368-
msgid "Return the number of occurrences of *x* in the array."
369-
msgstr "Retorna a quantidade de ocorrências de *x* no vetor."
368+
msgid "Return the number of occurrences of *value* in the array."
369+
msgstr ""
370370

371371
#: ../../library/array.rst:161
372372
msgid ""
@@ -430,26 +430,20 @@ msgstr ""
430430
#: ../../library/array.rst:201
431431
msgid ""
432432
"Return the smallest *i* such that *i* is the index of the first occurrence "
433-
"of *x* in the array. The optional arguments *start* and *stop* can be "
434-
"specified to search for *x* within a subsection of the array. Raise :exc:"
435-
"`ValueError` if *x* is not found."
433+
"of *value* in the array. The optional arguments *start* and *stop* can be "
434+
"specified to search for *value* within a subsection of the array. Raise :"
435+
"exc:`ValueError` if *value* is not found."
436436
msgstr ""
437-
"Retorna o menor *i* tal que *i* seja o índice da primeira ocorrência de *x* "
438-
"no vetor. Os argumentos opcionais *start* e *stop* podem ser especificados "
439-
"para procurar por *x* dentro de uma subseção do vetor. Levanta :exc:"
440-
"`ValueError` se *x* não for encontrado."
441437

442438
#: ../../library/array.rst:206
443439
msgid "Added optional *start* and *stop* parameters."
444440
msgstr "Adicionados os parâmetros opcionais *start e *stop*."
445441

446442
#: ../../library/array.rst:212
447443
msgid ""
448-
"Insert a new item with value *x* in the array before position *i*. Negative "
444+
"Insert a new item *value* in the array before position *index*. Negative "
449445
"values are treated as being relative to the end of the array."
450446
msgstr ""
451-
"Insere um novo item com o valor *x* no vetor antes da posição *i*. Valores "
452-
"negativos são tratados como sendo em relação ao fim do vetor."
453447

454448
#: ../../library/array.rst:218
455449
msgid ""
@@ -462,8 +456,8 @@ msgstr ""
462456
"retornado."
463457

464458
#: ../../library/array.rst:225
465-
msgid "Remove the first occurrence of *x* from the array."
466-
msgstr "Remove a primeira ocorrência de *x* do vetor."
459+
msgid "Remove the first occurrence of *value* from the array."
460+
msgstr ""
467461

468462
#: ../../library/array.rst:230
469463
msgid "Remove all elements from the array."

0 commit comments

Comments
 (0)