Skip to content

Commit 7ef77e7

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com>
1 parent e0f7286 commit 7ef77e7

File tree

3 files changed

+52
-8
lines changed

3 files changed

+52
-8
lines changed

c-api/sys.po

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.10\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-22 21:19+0000\n"
15+
"POT-Creation-Date: 2025-11-15 17:13+0000\n"
1516
"PO-Revision-Date: 2025-09-22 15:57+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"Language: pt_BR\n"
@@ -293,31 +294,45 @@ msgid ""
293294
"<surrogateescape>`, surrogate characters in the range U+DC80..U+DCFF are "
294295
"converted to bytes 0x80..0xFF."
295296
msgstr ""
297+
"Codifica uma sequência de caracteres largos para o :term:`tratador de erros "
298+
"e codificação do sistema de arquivos`. Se o tratador de erros for um :ref:"
299+
"`tratador de erros substituto <surrogateescape>`, os caracteres substitutos "
300+
"no intervalo U+DC80..U+DCFF são convertidos em bytes 0x80..0xFF."
296301

297302
#: ../../c-api/sys.rst:179
298303
msgid ""
299304
"Return a pointer to a newly allocated byte string, use :c:func:`PyMem_Free` "
300305
"to free the memory. Return ``NULL`` on encoding error or memory allocation "
301306
"error."
302307
msgstr ""
308+
"Retorna um ponteiro para uma string de bytes recém-alocada; use :c:func:"
309+
"`PyMem_Free` para liberar a memória. Retorna ``NULL`` em caso de erro de "
310+
"codificação ou de alocação de memória."
303311

304312
#: ../../c-api/sys.rst:183
305313
msgid ""
306314
"If error_pos is not ``NULL``, ``*error_pos`` is set to ``(size_t)-1`` on "
307315
"success, or set to the index of the invalid character on encoding error."
308316
msgstr ""
317+
"Se error_pos não for ``NULL``, ``*error_pos`` será definido como "
318+
"``(size_t)-1`` em caso de sucesso, ou definido como o índice do caractere "
319+
"inválido em caso de erro de codificação."
309320

310321
#: ../../c-api/sys.rst:190
311322
msgid ""
312323
"Use the :c:func:`Py_DecodeLocale` function to decode the bytes string back "
313324
"to a wide character string."
314325
msgstr ""
326+
"Use a função :c:func:`Py_DecodeLocale` para decodificar a string de bytes de "
327+
"volta para uma string de caracteres largos."
315328

316329
#: ../../c-api/sys.rst:200
317330
msgid ""
318331
"The :c:func:`PyUnicode_EncodeFSDefault` and :c:func:`PyUnicode_EncodeLocale` "
319332
"functions."
320333
msgstr ""
334+
"As funções :c:func:`PyUnicode_EncodeFSDefault` e :c:func:"
335+
"`PyUnicode_EncodeLocale`."
321336

322337
#: ../../c-api/sys.rst:209
323338
msgid ""
@@ -327,7 +342,7 @@ msgstr ""
327342

328343
#: ../../c-api/sys.rst:217
329344
msgid "System Functions"
330-
msgstr ""
345+
msgstr "Funções de sistema"
331346

332347
#: ../../c-api/sys.rst:219
333348
msgid ""
@@ -336,25 +351,36 @@ msgid ""
336351
"thread's :mod:`sys` module's dict, which is contained in the internal thread "
337352
"state structure."
338353
msgstr ""
354+
"Essas são funções utilitárias que tornam a funcionalidade do módulo :mod:"
355+
"`sys` acessível ao código C. Todas elas funcionam com o dicionário do "
356+
"módulo :mod:`sys` da thread do interpretador atual, que está contido na "
357+
"estrutura de estado interna da thread."
339358

340359
#: ../../c-api/sys.rst:225
341360
msgid ""
342361
"Return the object *name* from the :mod:`sys` module or ``NULL`` if it does "
343362
"not exist, without setting an exception."
344363
msgstr ""
364+
"Retorna o objeto *name* do módulo :mod:`sys` ou ``NULL`` se ele não existir, "
365+
"sem lançar uma exceção."
345366

346367
#: ../../c-api/sys.rst:230
347368
msgid ""
348369
"Set *name* in the :mod:`sys` module to *v* unless *v* is ``NULL``, in which "
349370
"case *name* is deleted from the sys module. Returns ``0`` on success, ``-1`` "
350371
"on error."
351372
msgstr ""
373+
"Define *name* no módulo :mod:`sys` como *v*, a menos que *v* seja ``NULL``, "
374+
"caso em que *name* é excluído do módulo sys. Retorna ``0`` em caso de "
375+
"sucesso e ``-1`` em caso de erro."
352376

353377
#: ../../c-api/sys.rst:236
354378
msgid ""
355379
"Reset :data:`sys.warnoptions` to an empty list. This function may be called "
356380
"prior to :c:func:`Py_Initialize`."
357381
msgstr ""
382+
"Redefine :data:`sys.warnoptions` para uma lista vazia. Esta função pode ser "
383+
"chamada antes de :c:func:`Py_Initialize`."
358384

359385
#: ../../c-api/sys.rst:241
360386
msgid ""
@@ -387,6 +413,8 @@ msgid ""
387413
"Write the output string described by *format* to :data:`sys.stdout`. No "
388414
"exceptions are raised, even if truncation occurs (see below)."
389415
msgstr ""
416+
"Escreve a string de saída descrita por *format* em :data:`sys.stdout`. "
417+
"Nenhuma exceção será levantada, mesmo que ocorra truncamento (veja abaixo)."
390418

391419
#: ../../c-api/sys.rst:265
392420
msgid ""
@@ -398,31 +426,47 @@ msgid ""
398426
"not exceed 1000 bytes. Also watch out for \"%f\", which can print hundreds "
399427
"of digits for very large numbers."
400428
msgstr ""
429+
"*format* deve limitar o tamanho total da string de saída formatada a 1000 "
430+
"bytes ou menos -- após 1000 bytes, a string de saída é truncada. Em "
431+
"particular, isso significa que não devem ocorrer formatos \"%s\" "
432+
"irrestritos; estes devem ser limitados usando \"%.1s\", onde 2 é um número "
433+
"decimal calculado de forma que 3 mais o tamanho máximo de outros textos "
434+
"formatados não exceda 1000 bytes. Também fique atento a \"%f\", que pode "
435+
"imprimir centenas de dígitos para números muito grandes."
401436

402437
#: ../../c-api/sys.rst:273
403438
msgid ""
404439
"If a problem occurs, or :data:`sys.stdout` is unset, the formatted message "
405440
"is written to the real (C level) *stdout*."
406441
msgstr ""
442+
"Se ocorrer um problema, ou se :data:`sys.stdout` não estiver definido, a "
443+
"mensagem formatada será escrita na saída padrão (nível C) *stdout*."
407444

408445
#: ../../c-api/sys.rst:278
409446
msgid ""
410447
"As :c:func:`PySys_WriteStdout`, but write to :data:`sys.stderr` or *stderr* "
411448
"instead."
412449
msgstr ""
450+
"Como :c:func:`PySys_WriteStdout`, mas escreve em :data:`sys.stderr` ou "
451+
"*stderr* em vez disso."
413452

414453
#: ../../c-api/sys.rst:283
415454
msgid ""
416455
"Function similar to PySys_WriteStdout() but format the message using :c:func:"
417456
"`PyUnicode_FromFormatV` and don't truncate the message to an arbitrary "
418457
"length."
419458
msgstr ""
459+
"Função semelhante a PySys_WriteStdout(), mas formata a mensagem usando :c:"
460+
"func:`PyUnicode_FromFormatV` e não trunca a mensagem para um comprimento "
461+
"arbitrário."
420462

421463
#: ../../c-api/sys.rst:291
422464
msgid ""
423465
"As :c:func:`PySys_FormatStdout`, but write to :data:`sys.stderr` or *stderr* "
424466
"instead."
425467
msgstr ""
468+
"Como :c:func:`PySys_FormatStdout`, mas escreve em :data:`sys.stderr` ou "
469+
"*stderr* em vez disso."
426470

427471
#: ../../c-api/sys.rst:298
428472
msgid ""

potodo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
1 directory 59.75% done
2-
└── 3.10/ 59.75% done
1+
1 directory 59.78% done
2+
└── 3.10/ 59.78% done
33
├── distutils/ 25.79% done
44
│ ├── apiref.po 88 / 417 ( 21.0% translated)
55
│ ├── builtdist.po 53 / 131 ( 40.0% translated)
@@ -252,7 +252,7 @@
252252
│ ├── 3.5.po 128 / 541 ( 23.0% translated)
253253
│ ├── 3.6.po 239 / 517 ( 46.0% translated)
254254
│ └── 3.7.po 243 / 555 ( 43.0% translated)
255-
└── c-api/ 49.54% done
255+
└── c-api/ 50.01% done
256256
├── allocation.po 8 / 9 ( 88.0% translated)
257257
├── arg.po 193 / 195 ( 98.0% translated)
258258
├── exceptions.po 215 / 275 ( 78.0% translated)
@@ -269,7 +269,7 @@
269269
├── sequence.po 26 / 27 ( 96.0% translated)
270270
├── stable.po 23 / 32 ( 71.0% translated)
271271
├── structures.po 48 / 129 ( 37.0% translated)
272-
├── sys.po 23 / 67 ( 34.0% translated)
272+
├── sys.po 39 / 67 ( 58.0% translated)
273273
├── tuple.po 47 / 48 ( 97.0% translated)
274274
├── type.po 29 / 63 ( 46.0% translated)
275275
├── typeobj.po 238 / 604 ( 39.0% translated)

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "59.75%", "translated": 34389, "entries": 51677, "updated_at": "2025-11-15T00:28:03+00:00Z"}
1+
{"completion": "59.78%", "translated": 34405, "entries": 51677, "updated_at": "2025-11-16T00:30:59+00:00Z"}

0 commit comments

Comments
 (0)