🌐 AI搜索 & 代理 主页
Skip to content

Commit 31d01c9

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com>
1 parent 14be735 commit 31d01c9

File tree

4 files changed

+62
-14
lines changed

4 files changed

+62
-14
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.11\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-22 20:37+0000\n"
15+
"POT-Creation-Date: 2025-11-15 16:29+0000\n"
1516
"PO-Revision-Date: 2025-09-22 16:49+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"
@@ -297,31 +298,45 @@ msgid ""
297298
"<surrogateescape>`, surrogate characters in the range U+DC80..U+DCFF are "
298299
"converted to bytes 0x80..0xFF."
299300
msgstr ""
301+
"Codifica uma string de caracteres largos para o :term:`tratador de erros e "
302+
"codificação do sistema de arquivos`. Se o tratador de erros for um :ref:"
303+
"`tratador de erros substituto <surrogateescape>`, os caracteres substitutos "
304+
"no intervalo U+DC80..U+DCFF são convertidos em bytes 0x80..0xFF."
300305

301306
#: ../../c-api/sys.rst:183
302307
msgid ""
303308
"Return a pointer to a newly allocated byte string, use :c:func:`PyMem_Free` "
304309
"to free the memory. Return ``NULL`` on encoding error or memory allocation "
305310
"error."
306311
msgstr ""
312+
"Retorna um ponteiro para uma string de bytes recém-alocada; use :c:func:"
313+
"`PyMem_Free` para liberar a memória. Retorna ``NULL`` em caso de erro de "
314+
"codificação ou de erro de alocação de memória."
307315

308316
#: ../../c-api/sys.rst:187
309317
msgid ""
310318
"If error_pos is not ``NULL``, ``*error_pos`` is set to ``(size_t)-1`` on "
311319
"success, or set to the index of the invalid character on encoding error."
312320
msgstr ""
321+
"Se error_pos não for ``NULL``, ``*error_pos`` será definido como "
322+
"``(size_t)-1`` em caso de sucesso, ou definido como o índice do caractere "
323+
"inválido em caso de erro de codificação."
313324

314325
#: ../../c-api/sys.rst:194
315326
msgid ""
316327
"Use the :c:func:`Py_DecodeLocale` function to decode the bytes string back "
317328
"to a wide character string."
318329
msgstr ""
330+
"Use a função :c:func:`Py_DecodeLocale` para decodificar a string de bytes de "
331+
"volta para uma string de caracteres largos."
319332

320333
#: ../../c-api/sys.rst:204
321334
msgid ""
322335
"The :c:func:`PyUnicode_EncodeFSDefault` and :c:func:`PyUnicode_EncodeLocale` "
323336
"functions."
324337
msgstr ""
338+
"As funções :c:func:`PyUnicode_EncodeFSDefault` e :c:func:"
339+
"`PyUnicode_EncodeLocale`."
325340

326341
#: ../../c-api/sys.rst:213
327342
msgid ""
@@ -331,7 +346,7 @@ msgstr ""
331346

332347
#: ../../c-api/sys.rst:221
333348
msgid "System Functions"
334-
msgstr ""
349+
msgstr "Funções de sistema"
335350

336351
#: ../../c-api/sys.rst:223
337352
msgid ""
@@ -340,25 +355,36 @@ msgid ""
340355
"thread's :mod:`sys` module's dict, which is contained in the internal thread "
341356
"state structure."
342357
msgstr ""
358+
"Essas são funções utilitárias que tornam a funcionalidade do módulo :mod:"
359+
"`sys` acessível ao código C. Todas elas funcionam com o dicionário do "
360+
"módulo :mod:`sys` da thread do interpretador atual, que está contido na "
361+
"estrutura interna do estado de thread."
343362

344363
#: ../../c-api/sys.rst:229
345364
msgid ""
346365
"Return the object *name* from the :mod:`sys` module or ``NULL`` if it does "
347366
"not exist, without setting an exception."
348367
msgstr ""
368+
"Retorna o objeto *name* do módulo :mod:`sys` ou ``NULL`` se ele não existir, "
369+
"sem lançar uma exceção."
349370

350371
#: ../../c-api/sys.rst:234
351372
msgid ""
352373
"Set *name* in the :mod:`sys` module to *v* unless *v* is ``NULL``, in which "
353374
"case *name* is deleted from the sys module. Returns ``0`` on success, ``-1`` "
354375
"on error."
355376
msgstr ""
377+
"Define *name* no módulo :mod:`sys` como *v*, a menos que *v* seja ``NULL``, "
378+
"caso em que *name* é excluído do módulo sys. Retorna ``0`` em caso de "
379+
"sucesso e ``-1`` em caso de erro."
356380

357381
#: ../../c-api/sys.rst:240
358382
msgid ""
359383
"Reset :data:`sys.warnoptions` to an empty list. This function may be called "
360384
"prior to :c:func:`Py_Initialize`."
361385
msgstr ""
386+
"Redefine :data:`sys.warnoptions` para uma lista vazia. Esta função pode ser "
387+
"chamada antes de :c:func:`Py_Initialize`."
362388

363389
#: ../../c-api/sys.rst:245 ../../c-api/sys.rst:256
364390
msgid ""
@@ -406,6 +432,8 @@ msgid ""
406432
"Write the output string described by *format* to :data:`sys.stdout`. No "
407433
"exceptions are raised, even if truncation occurs (see below)."
408434
msgstr ""
435+
"Escreve a string de saída descrita por *format* em :data:`sys.stdout`. "
436+
"Nenhuma exceção será levantada, mesmo que ocorra truncamento (veja abaixo)."
409437

410438
#: ../../c-api/sys.rst:288
411439
msgid ""
@@ -417,31 +445,47 @@ msgid ""
417445
"not exceed 1000 bytes. Also watch out for \"%f\", which can print hundreds "
418446
"of digits for very large numbers."
419447
msgstr ""
448+
"*format* deve limitar o tamanho total da string de saída formatada a 1000 "
449+
"bytes ou menos -- após 1000 bytes, a string de saída é truncada. Em "
450+
"particular, isso significa que não devem ocorrer formatos \"%s\" "
451+
"irrestritos; estes devem ser limitados usando \"%.1s\", onde 2 é um número "
452+
"decimal calculado de forma que 3 mais o tamanho máximo de outros textos "
453+
"formatados não exceda 1000 bytes. Também fique atento a \"%f\", que pode "
454+
"exibir centenas de dígitos para números muito grandes."
420455

421456
#: ../../c-api/sys.rst:296
422457
msgid ""
423458
"If a problem occurs, or :data:`sys.stdout` is unset, the formatted message "
424459
"is written to the real (C level) *stdout*."
425460
msgstr ""
461+
"Se ocorrer um problema, ou se :data:`sys.stdout` não estiver definido, a "
462+
"mensagem formatada será escrita na saída padrão (nível C) *stdout*."
426463

427464
#: ../../c-api/sys.rst:301
428465
msgid ""
429466
"As :c:func:`PySys_WriteStdout`, but write to :data:`sys.stderr` or *stderr* "
430467
"instead."
431468
msgstr ""
469+
"Como :c:func:`PySys_WriteStdout`, mas escreve em :data:`sys.stderr` ou "
470+
"*stderr* em vez disso."
432471

433472
#: ../../c-api/sys.rst:306
434473
msgid ""
435474
"Function similar to PySys_WriteStdout() but format the message using :c:func:"
436475
"`PyUnicode_FromFormatV` and don't truncate the message to an arbitrary "
437476
"length."
438477
msgstr ""
478+
"Função semelhante a PySys_WriteStdout(), mas formata a mensagem usando :c:"
479+
"func:`PyUnicode_FromFormatV` e não trunca a mensagem para um comprimento "
480+
"arbitrário."
439481

440482
#: ../../c-api/sys.rst:314
441483
msgid ""
442484
"As :c:func:`PySys_FormatStdout`, but write to :data:`sys.stderr` or *stderr* "
443485
"instead."
444486
msgstr ""
487+
"Como :c:func:`PySys_FormatStdout`, mas escreve em :data:`sys.stderr` ou "
488+
"*stderr* em vez disso."
445489

446490
#: ../../c-api/sys.rst:321
447491
msgid ""

library/io.po

Lines changed: 8 additions & 4 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.11\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-22 20:37+0000\n"
15+
"POT-Creation-Date: 2025-11-15 16:29+0000\n"
1516
"PO-Revision-Date: 2025-09-22 16:50+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"
@@ -290,18 +291,21 @@ msgstr ""
290291

291292
#: ../../library/io.rst:162
292293
msgid "High-level Module Interface"
293-
msgstr ""
294+
msgstr "Interface de alto nível do módulo"
294295

295296
#: ../../library/io.rst:166
296297
msgid ""
297298
"An int containing the default buffer size used by the module's buffered I/O "
298299
"classes. :func:`open` uses the file's blksize (as obtained by :func:`os."
299300
"stat`) if possible."
300301
msgstr ""
302+
"Um inteiro contendo o tamanho padrão do buffer usado pelas classes de E/S "
303+
"com buffer do módulo. :func:`open` usa o tamanho do bloco (blksize) do "
304+
"arquivo (obtido por :func:`os.stat`), se possível."
301305

302306
#: ../../library/io.rst:173
303307
msgid "This is an alias for the builtin :func:`open` function."
304-
msgstr ""
308+
msgstr "Este é um apelido para a função embutida :func:`open`."
305309

306310
#: ../../library/io.rst:175
307311
msgid ""

potodo.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
1 directory 63.64% done
2-
└── 3.11/ 63.64% done
1+
1 directory 63.68% done
2+
└── 3.11/ 63.68% done
33
├── distutils/ 25.82% done
44
│ ├── apiref.po 88 / 414 ( 21.0% translated)
55
│ ├── builtdist.po 52 / 128 ( 40.0% translated)
@@ -22,7 +22,7 @@
2222
│ ├── executionmodel.po 73 / 75 ( 97.0% translated)
2323
│ ├── import.po 192 / 207 ( 92.0% translated)
2424
│ └── lexical_analysis.po 288 / 299 ( 96.0% translated)
25-
├── library/ 56.82% done
25+
├── library/ 56.83% done
2626
│ ├── _thread.po 49 / 51 ( 96.0% translated)
2727
│ ├── abc.po 48 / 49 ( 97.0% translated)
2828
│ ├── argparse.po 305 / 335 ( 91.0% translated)
@@ -106,7 +106,7 @@
106106
│ ├── importlib.po 213 / 301 ( 70.0% translated)
107107
│ ├── importlib.resources.po 29 / 35 ( 82.0% translated)
108108
│ ├── inspect.po 129 / 349 ( 36.0% translated)
109-
│ ├── io.po 49 / 262 ( 18.0% translated)
109+
│ ├── io.po 52 / 262 ( 19.0% translated)
110110
│ ├── ipaddress.po 155 / 156 ( 99.0% translated)
111111
│ ├── itertools.po 131 / 157 ( 83.0% translated)
112112
│ ├── logging.config.po 17 / 134 ( 12.0% translated)
@@ -235,7 +235,7 @@
235235
│ ├── 3.5.po 128 / 541 ( 23.0% translated)
236236
│ ├── 3.6.po 238 / 524 ( 45.0% translated)
237237
│ └── 3.7.po 247 / 563 ( 43.0% translated)
238-
└── c-api/ 51.17% done
238+
└── c-api/ 51.62% done
239239
├── exceptions.po 219 / 347 ( 63.0% translated)
240240
├── float.po 34 / 35 ( 97.0% translated)
241241
├── frame.po 20 / 24 ( 83.0% translated)
@@ -251,7 +251,7 @@
251251
├── refcounting.po 9 / 28 ( 32.0% translated)
252252
├── stable.po 33 / 35 ( 94.0% translated)
253253
├── structures.po 59 / 150 ( 39.0% translated)
254-
├── sys.po 25 / 76 ( 32.0% translated)
254+
├── sys.po 41 / 76 ( 53.0% translated)
255255
├── tuple.po 39 / 40 ( 97.0% translated)
256256
├── type.po 30 / 68 ( 44.0% translated)
257257
├── typeobj.po 234 / 600 ( 39.0% translated)

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "63.64%", "translated": 38864, "entries": 55813, "updated_at": "2025-11-14T23:50:58+00:00Z"}
1+
{"completion": "63.68%", "translated": 38883, "entries": 55813, "updated_at": "2025-11-16T23:51:09+00:00Z"}

0 commit comments

Comments
 (0)