Skip to content

Commit 1cbf1ad

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

7 files changed

Lines changed: 274 additions & 77 deletions

File tree

library/asyncio-eventloop.po

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@
66
# Translators:
77
# python-doc bot, 2025
88
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
9+
# Adorilson Bezerra <adorilson@gmail.com>, 2025
910
#
1011
#, fuzzy
1112
msgid ""
1213
msgstr ""
1314
"Project-Id-Version: Python 3.14\n"
1415
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-11-07 14:15+0000\n"
16+
"POT-Creation-Date: 2025-12-19 14:15+0000\n"
1617
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
17-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
18+
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2025\n"
1819
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1920
"teams/5390/pt_BR/)\n"
2021
"MIME-Version: 1.0\n"
@@ -26,7 +27,7 @@ msgstr ""
2627

2728
#: ../../library/asyncio-eventloop.rst:8
2829
msgid "Event Loop"
29-
msgstr "Laço de Eventos"
30+
msgstr "Laço de eventos"
3031

3132
#: ../../library/asyncio-eventloop.rst:10
3233
msgid ""
@@ -638,6 +639,8 @@ msgid ""
638639
"Schedule the execution of :ref:`coroutine <coroutine>` *coro*. Return a :"
639640
"class:`Task` object."
640641
msgstr ""
642+
"Agenda a execução da :ref:`corrotina <coroutine>` *coro*. Retorna um objeto :"
643+
"class:`Task`."
641644

642645
#: ../../library/asyncio-eventloop.rst:381
643646
msgid ""
@@ -655,21 +658,27 @@ msgid ""
655658
"constructor (or factory) - all of the keyword arguments to this function are "
656659
"passed through to that interface."
657660
msgstr ""
661+
"A assinatura completa da função é, em grande parte, a mesma que a do "
662+
"construtor (ou fábrica) de :class:`Task` — todos os argumentos nomeados "
663+
"desta função são passados para essa interface."
658664

659665
#: ../../library/asyncio-eventloop.rst:389
660666
msgid ""
661667
"If the *name* argument is provided and not ``None``, it is set as the name "
662668
"of the task using :meth:`Task.set_name`."
663669
msgstr ""
664-
"Se o argumento *name* for fornecido e não é ``None``, ele é definido como o "
665-
"nome da tarefa, usando :meth:`Task.set_name`."
670+
"Se o argumento *name* for fornecido e não for ``None``, ele é definido como "
671+
"o nome da tarefa, usando :meth:`Task.set_name`."
666672

667673
#: ../../library/asyncio-eventloop.rst:392
668674
msgid ""
669675
"An optional keyword-only *context* argument allows specifying a custom :"
670676
"class:`contextvars.Context` for the *coro* to run in. The current context "
671677
"copy is created when no *context* is provided."
672678
msgstr ""
679+
"Um argumento opcional somente-nomeado *context* permite especificar um :"
680+
"class:`contextvars.Context` personalizado para a *coro* ser executada. Uma "
681+
"cópia do contexto atual é criada quando nenhum *context* for fornecido."
673682

674683
#: ../../library/asyncio-eventloop.rst:396
675684
msgid ""
@@ -678,6 +687,10 @@ msgid ""
678687
"later. If *eager_start* is not passed the mode set by :meth:`loop."
679688
"set_task_factory` will be used."
680689
msgstr ""
690+
"Um argumento opcional somente-nomeado *eager_start* permite especificar se a "
691+
"tarefa deve ser executada imediatamente durante a chamada para create_task "
692+
"ou ser agendada para mais tarde. Se *eager_start* não for fornecido, o modo "
693+
"definido por :meth:`loop.set_task_factory` será utilizado."
681694

682695
#: ../../library/asyncio-eventloop.rst:401
683696
msgid "Added the *name* parameter."
@@ -692,24 +705,31 @@ msgid ""
692705
"Added ``kwargs`` which passes on arbitrary extra parameters, including "
693706
"``name`` and ``context``."
694707
msgstr ""
708+
"Adicionado ``kwargs``, que passa parâmetros extra arbitrários, incluindo "
709+
"``name`` e ``context``."
695710

696711
#: ../../library/asyncio-eventloop.rst:410
697712
msgid ""
698713
"Rolled back the change that passes on *name* and *context* (if it is None), "
699714
"while still passing on other arbitrary keyword arguments (to avoid breaking "
700715
"backwards compatibility with 3.13.3)."
701716
msgstr ""
717+
"Reverteu a alteração que passava *name* e *context* (se for None), enquanto "
718+
"ainda passa outros argumentos somente-nomeados arbitrários (para evitar "
719+
"quebrar a compatibilidade retroativa com a versão 3.13.3)."
702720

703721
#: ../../library/asyncio-eventloop.rst:414
704722
msgid ""
705723
"All *kwargs* are now passed on. The *eager_start* parameter works with eager "
706724
"task factories."
707725
msgstr ""
726+
"Todos os *kwargs* são agora passados. O parâmetro *eager_start* funciona com "
727+
"fábricas de tarefas imediatas."
708728

709729
#: ../../library/asyncio-eventloop.rst:419
710730
msgid "Set a task factory that will be used by :meth:`loop.create_task`."
711731
msgstr ""
712-
"Define a factory da tarefa que será usada por :meth:`loop.create_task`."
732+
"Define a fábrica da tarefa que será usada por :meth:`loop.create_task`."
713733

714734
#: ../../library/asyncio-eventloop.rst:422
715735
msgid ""
@@ -719,27 +739,37 @@ msgid ""
719739
"*coro* is a coroutine object. The callable must pass on all *kwargs*, and "
720740
"return a :class:`asyncio.Task`-compatible object."
721741
msgstr ""
742+
"Se *factory* for ``None``, será usada a fábrica de tarefas padrão. Caso "
743+
"contrário, *factory* deve ser um *chamável* com a assinatura ``(loop, coro, "
744+
"**kwargs)``, em que *loop* é uma referência ao ciclo de eventos ativo e "
745+
"*coro* é um objeto corrotina. O chamável deve passar todos os *kwargs* e "
746+
"devolver um objeto compatível com :class:`asyncio.Task`."
722747

723748
#: ../../library/asyncio-eventloop.rst:428
724749
msgid "Required that all *kwargs* are passed on to :class:`asyncio.Task`."
725750
msgstr ""
751+
"Exigido que todos os *kwargs* sejam passados para :class:`asyncio.Task`."
726752

727753
#: ../../library/asyncio-eventloop.rst:431
728754
msgid ""
729755
"*name* is no longer passed to task factories. *context* is no longer passed "
730756
"to task factories if it is ``None``."
731757
msgstr ""
758+
"*name* não é mais passado para fábricas de tarefas. *context* não é mais "
759+
"passado para fábricas de tarefas se for ``None``."
732760

733761
#: ../../library/asyncio-eventloop.rst:435
734762
msgid ""
735763
"*name* and *context* are now unconditionally passed on to task factories "
736764
"again."
737765
msgstr ""
766+
"*name* e *context* agora são passados incondicionalmente para as fábricas de "
767+
"tarefas novamente."
738768

739769
#: ../../library/asyncio-eventloop.rst:440
740770
msgid "Return a task factory or ``None`` if the default one is in use."
741771
msgstr ""
742-
"Retorna uma factory de tarefa ou ``None`` se a factory padrão estiver em uso."
772+
"Retorna uma fábrica de tarefa ou ``None`` se a fábrica padrão estiver em uso."
743773

744774
#: ../../library/asyncio-eventloop.rst:444
745775
msgid "Opening network connections"
@@ -2332,7 +2362,7 @@ msgstr "O :ref:`modo de debug de asyncio <asyncio-debug-mode>`."
23322362

23332363
#: ../../library/asyncio-eventloop.rst:1535
23342364
msgid "Running Subprocesses"
2335-
msgstr "Executando Subprocessos"
2365+
msgstr "Executando subprocessos"
23362366

23372367
#: ../../library/asyncio-eventloop.rst:1537
23382368
msgid ""
@@ -2840,7 +2870,7 @@ msgstr ""
28402870

28412871
#: ../../library/asyncio-eventloop.rst:1859
28422872
msgid "Event Loop Implementations"
2843-
msgstr "Implementações do Laço de Eventos"
2873+
msgstr "Implementações do laço de eventos"
28442874

28452875
#: ../../library/asyncio-eventloop.rst:1861
28462876
msgid ""

library/asyncio-future.po

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Adorilson Bezerra <adorilson@gmail.com>, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.14\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-09-16 17:23+0000\n"
15+
"POT-Creation-Date: 2025-12-19 14:15+0000\n"
1516
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2025\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"MIME-Version: 1.0\n"
@@ -32,16 +33,21 @@ msgid ""
3233
"**Source code:** :source:`Lib/asyncio/futures.py`, :source:`Lib/asyncio/"
3334
"base_futures.py`"
3435
msgstr ""
36+
"**Código-fonte:** :source:`Lib/asyncio/futures.py`, :source:`Lib/asyncio/"
37+
"base_futures.py`"
3538

3639
#: ../../library/asyncio-future.rst:15
3740
msgid ""
3841
"*Future* objects are used to bridge **low-level callback-based code** with "
3942
"high-level async/await code."
4043
msgstr ""
44+
"Objetos *Future* são usados para fazer a ponte entre **código baseado em "
45+
"funções de retorno (callback) de baixo nível** e código async/await de alto "
46+
"nível."
4147

4248
#: ../../library/asyncio-future.rst:20
4349
msgid "Future Functions"
44-
msgstr ""
50+
msgstr "Funções Future"
4551

4652
#: ../../library/asyncio-future.rst:24
4753
msgid "Return ``True`` if *obj* is either of:"
@@ -123,27 +129,37 @@ msgstr ""
123129

124130
#: ../../library/asyncio-future.rst:81
125131
msgid "Future Object"
126-
msgstr ""
132+
msgstr "Objeto Future"
127133

128134
#: ../../library/asyncio-future.rst:85
129135
msgid ""
130136
"A Future represents an eventual result of an asynchronous operation. Not "
131137
"thread-safe."
132138
msgstr ""
139+
"Um Future representa um resultado eventual de uma operação assíncrona. Não "
140+
"é seguro para thread."
133141

134142
#: ../../library/asyncio-future.rst:88
135143
msgid ""
136144
"Future is an :term:`awaitable` object. Coroutines can await on Future "
137145
"objects until they either have a result or an exception set, or until they "
138146
"are cancelled. A Future can be awaited multiple times and the result is same."
139147
msgstr ""
148+
"Future é um objeto :term:`aguardável`. Corrotinas podem aguardar o objeto "
149+
"Future até que ele tenha um resultado ou um conjunto de exceções, ou até que "
150+
"seja cancelado. Um Future pode ser aguardado várias vezes e o resultado é "
151+
"sempre o mesmo."
140152

141153
#: ../../library/asyncio-future.rst:93
142154
msgid ""
143155
"Typically Futures are used to enable low-level callback-based code (e.g. in "
144156
"protocols implemented using asyncio :ref:`transports <asyncio-transports-"
145157
"protocols>`) to interoperate with high-level async/await code."
146158
msgstr ""
159+
"Normalmente, objetos Future são usados para permitir que o código baseado em "
160+
"funções de retorno de baixo nível (por exemplo, em protocolos implementados "
161+
"usando :ref:`transportes <asyncio-transports-protocols>` asyncio) interopere "
162+
"com o código async/await de alto nível."
147163

148164
#: ../../library/asyncio-future.rst:98
149165
msgid ""
@@ -152,18 +168,23 @@ msgid ""
152168
"create_future`. This way alternative event loop implementations can inject "
153169
"their own optimized implementations of a Future object."
154170
msgstr ""
171+
"A regra geral é nunca expor o objeto Future em API voltada para o usuário, e "
172+
"a maneira recomendada de criar um objeto Future objeto chamar :meth:`loop."
173+
"create_future`. Dessa forma, as implementações de laços de eventos "
174+
"alternativos podem injetar suas próprias versões otimizadas de um objeto "
175+
"Future."
155176

156177
#: ../../library/asyncio-future.rst:104
157178
msgid "Added support for the :mod:`contextvars` module."
158-
msgstr "Adicionado suporte para o módulo :mod:`contextvars`."
179+
msgstr "Adicionado suporte ao módulo :mod:`contextvars`."
159180

160181
#: ../../library/asyncio-future.rst:107
161182
msgid ""
162183
"Deprecation warning is emitted if *loop* is not specified and there is no "
163184
"running event loop."
164185
msgstr ""
165-
"Aviso de descontinuidade é emitido se *loop* não é especificado, e não "
166-
"existe nenhum laço de eventos em execução."
186+
"Aviso de descontinuidade é emitido se *loop* não é especificado e não existe "
187+
"nenhum laço de eventos em execução."
167188

168189
#: ../../library/asyncio-future.rst:113
169190
msgid "Return the result of the Future."

0 commit comments

Comments
 (0)