Skip to content

Commit cd73836

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

10 files changed

Lines changed: 14205 additions & 14124 deletions

File tree

library/argparse.po

Lines changed: 19 additions & 11 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: 2026-04-05 15:15+0000\n"
16+
"POT-Creation-Date: 2026-04-09 16:07+0000\n"
1717
"PO-Revision-Date: 2025-09-15 01:03+0000\n"
1818
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2026\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -2072,7 +2072,7 @@ msgid ""
20722072
"keyword for :meth:`~ArgumentParser.add_argument` allows any necessary type-"
20732073
"checking and type conversions to be performed."
20742074
msgstr ""
2075-
"Por padrão, o analisador sintático lê argumentos de linha de comando como "
2075+
"Por padrão, o analisador sintático lê os argumentos de linha de comando como "
20762076
"strings simples. No entanto, muitas vezes a string da linha de comando deve "
20772077
"ser interpretada como outro tipo, como :class:`float` ou :class:`int`. O "
20782078
"argumento nomeado ``type`` para :meth:`~ArgumentParser.add_argument` permite "
@@ -2160,6 +2160,9 @@ msgid ""
21602160
"does is convert empty strings to ``False`` and non-empty strings to "
21612161
"``True``. This is usually not what is desired::"
21622162
msgstr ""
2163+
"A função :func:`bool` não é recomendada como conversor de tipo. Tudo o que "
2164+
"ele faz é converter strings vazias em ``False`` e strings não vazias em "
2165+
"``True``. Geralmente não é isso que se deseja::"
21632166

21642167
#: ../../library/argparse.rst:1022
21652168
msgid ""
@@ -2168,12 +2171,18 @@ msgid ""
21682171
">>> parser.parse_args(['--verbose', 'False'])\n"
21692172
"Namespace(verbose=True)"
21702173
msgstr ""
2174+
">>> parser = argparse.ArgumentParser()\n"
2175+
">>> _ = parser.add_argument('--verbose', type=bool)\n"
2176+
">>> parser.parse_args(['--verbose', 'False'])\n"
2177+
"Namespace(verbose=True)"
21712178

21722179
#: ../../library/argparse.rst:1027
21732180
msgid ""
21742181
"See :class:`BooleanOptionalAction` or ``action='store_true'`` for common "
21752182
"alternatives."
21762183
msgstr ""
2184+
"Consulte :class:`BooleanOptionalAction` ou ``action='store_true'`` para "
2185+
"alternativas comuns."
21772186

21782187
#: ../../library/argparse.rst:1030
21792188
msgid ""
@@ -2182,11 +2191,10 @@ msgid ""
21822191
"exceptions. Anything with more interesting error-handling or resource "
21832192
"management should be done downstream after the arguments are parsed."
21842193
msgstr ""
2185-
"Em geral, o argumento nomeado ``type`` é uma conveniência que só deve ser "
2186-
"usada para conversões simples que só podem gerar uma das três exceções "
2187-
"suportadas. Qualquer coisa com tratamento de erros ou gerenciamento de "
2188-
"recursos mais interessante deve ser feita posteriormente, após a análise dos "
2189-
"argumentos."
2194+
"Em geral, o argumento nomeado ``type`` é uma conveniência a ser usada apenas "
2195+
"para conversões simples que geram apenas uma das três exceções suportadas. "
2196+
"Qualquer coisa com tratamento de erros ou gerenciamento de recursos mais "
2197+
"interessante deve ser feita posteriormente, após a análise dos argumentos."
21902198

21912199
#: ../../library/argparse.rst:1035
21922200
msgid ""
@@ -2209,10 +2217,10 @@ msgid ""
22092217
"the parser has run and then use the :keyword:`with`-statement to manage the "
22102218
"files."
22112219
msgstr ""
2212-
"Mesmo :class:`~argparse.FileType` tem suas limitações para uso com o "
2213-
"argumento nomeado ``type``. Se um argumento usar :class:`~argparse.FileType` "
2214-
"e um argumento subsequente falhar, um erro será relatado, mas o arquivo não "
2215-
"será fechado automaticamente. Neste caso, seria melhor esperar até que o "
2220+
"Mesmo :class:`~argparse.FileType` tem suas limitações no uso com o argumento "
2221+
"nomeado ``type``. Se um argumento usar :class:`~argparse.FileType` e um "
2222+
"argumento subsequente falhar, um erro será relatado, mas o arquivo não será "
2223+
"fechado automaticamente. Neste caso, seria melhor esperar até que o "
22162224
"analisador tenha sido executado e então usar a instrução :keyword:`with` "
22172225
"para gerenciar os arquivos."
22182226

library/asyncio-eventloop.po

Lines changed: 3 additions & 3 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: 2026-03-23 15:38+0000\n"
16+
"POT-Creation-Date: 2026-04-09 16:07+0000\n"
1717
"PO-Revision-Date: 2025-09-15 01:03+0000\n"
1818
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2025\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -3080,8 +3080,8 @@ msgid "Set signal handlers for SIGINT and SIGTERM"
30803080
msgstr "Define tratadores de sinais para SIGINT e SIGTERM"
30813081

30823082
#: ../../library/asyncio-eventloop.rst:2036
3083-
msgid "(This ``signals`` example only works on Unix.)"
3084-
msgstr "(Este exemplo de ``signals`` apenas funciona no Unix.)"
3083+
msgid "(This ``signal`` example only works on Unix.)"
3084+
msgstr ""
30853085

30863086
#: ../../library/asyncio-eventloop.rst:2038
30873087
msgid ""

library/asyncio-future.po

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2025, Python Software Foundation
2+
# Copyright (C) 2001-2026, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-12-19 15:01+0000\n"
15+
"POT-Creation-Date: 2026-04-09 16:07+0000\n"
1616
"PO-Revision-Date: 2025-09-15 01:03+0000\n"
1717
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -201,7 +201,7 @@ msgid ""
201201
"`set_exception` method, this method raises the exception."
202202
msgstr ""
203203

204-
#: ../../library/asyncio-future.rst:120 ../../library/asyncio-future.rst:208
204+
#: ../../library/asyncio-future.rst:120 ../../library/asyncio-future.rst:212
205205
msgid ""
206206
"If the Future has been *cancelled*, this method raises a :exc:"
207207
"`CancelledError` exception."
@@ -321,36 +321,42 @@ msgid ""
321321
msgstr ""
322322

323323
#: ../../library/asyncio-future.rst:198
324+
msgid ""
325+
"The optional string argument *msg* is passed as the argument to the :exc:"
326+
"`CancelledError` exception raised when a cancelled Future is awaited."
327+
msgstr ""
328+
329+
#: ../../library/asyncio-future.rst:202
324330
msgid "Added the *msg* parameter."
325331
msgstr "Adicionado o parâmetro *msg*."
326332

327-
#: ../../library/asyncio-future.rst:203
333+
#: ../../library/asyncio-future.rst:207
328334
msgid "Return the exception that was set on this Future."
329335
msgstr ""
330336

331-
#: ../../library/asyncio-future.rst:205
337+
#: ../../library/asyncio-future.rst:209
332338
msgid ""
333339
"The exception (or ``None`` if no exception was set) is returned only if the "
334340
"Future is *done*."
335341
msgstr ""
336342

337-
#: ../../library/asyncio-future.rst:211
343+
#: ../../library/asyncio-future.rst:215
338344
msgid ""
339345
"If the Future isn't *done* yet, this method raises an :exc:"
340346
"`InvalidStateError` exception."
341347
msgstr ""
342348

343-
#: ../../library/asyncio-future.rst:216
349+
#: ../../library/asyncio-future.rst:220
344350
msgid "Return the event loop the Future object is bound to."
345351
msgstr ""
346352

347-
#: ../../library/asyncio-future.rst:223
353+
#: ../../library/asyncio-future.rst:227
348354
msgid ""
349355
"This example creates a Future object, creates and schedules an asynchronous "
350356
"Task to set result for the Future, and waits until the Future has a result::"
351357
msgstr ""
352358

353-
#: ../../library/asyncio-future.rst:227
359+
#: ../../library/asyncio-future.rst:231
354360
msgid ""
355361
"async def set_after(fut, delay, value):\n"
356362
" # Sleep for *delay* seconds.\n"
@@ -381,43 +387,43 @@ msgid ""
381387
"asyncio.run(main())"
382388
msgstr ""
383389

384-
#: ../../library/asyncio-future.rst:258
390+
#: ../../library/asyncio-future.rst:262
385391
msgid ""
386392
"The Future object was designed to mimic :class:`concurrent.futures.Future`. "
387393
"Key differences include:"
388394
msgstr ""
389395

390-
#: ../../library/asyncio-future.rst:261
396+
#: ../../library/asyncio-future.rst:265
391397
msgid ""
392398
"unlike asyncio Futures, :class:`concurrent.futures.Future` instances cannot "
393399
"be awaited."
394400
msgstr ""
395401

396-
#: ../../library/asyncio-future.rst:264
402+
#: ../../library/asyncio-future.rst:268
397403
msgid ""
398404
":meth:`asyncio.Future.result` and :meth:`asyncio.Future.exception` do not "
399405
"accept the *timeout* argument."
400406
msgstr ""
401407

402-
#: ../../library/asyncio-future.rst:267
408+
#: ../../library/asyncio-future.rst:271
403409
msgid ""
404410
":meth:`asyncio.Future.result` and :meth:`asyncio.Future.exception` raise an :"
405411
"exc:`InvalidStateError` exception when the Future is not *done*."
406412
msgstr ""
407413

408-
#: ../../library/asyncio-future.rst:271
414+
#: ../../library/asyncio-future.rst:275
409415
msgid ""
410416
"Callbacks registered with :meth:`asyncio.Future.add_done_callback` are not "
411417
"called immediately. They are scheduled with :meth:`loop.call_soon` instead."
412418
msgstr ""
413419

414-
#: ../../library/asyncio-future.rst:275
420+
#: ../../library/asyncio-future.rst:279
415421
msgid ""
416422
"asyncio Future is not compatible with the :func:`concurrent.futures.wait` "
417423
"and :func:`concurrent.futures.as_completed` functions."
418424
msgstr ""
419425

420-
#: ../../library/asyncio-future.rst:279
426+
#: ../../library/asyncio-future.rst:283
421427
msgid ""
422428
":meth:`asyncio.Future.cancel` accepts an optional ``msg`` argument, but :"
423429
"meth:`concurrent.futures.Future.cancel` does not."

0 commit comments

Comments
 (0)