Skip to content

Commit 0711e22

Browse files
pomerge from 3.10 branch into 3.8
1 parent d6f79d1 commit 0711e22

File tree

1 file changed

+61
-10
lines changed

1 file changed

+61
-10
lines changed

library/asyncio-eventloop.po

Lines changed: 61 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,49 +1101,69 @@ msgid ""
11011101
"AF_INET6` to force the socket to use IPv4 or IPv6. If not set, the *family* "
11021102
"will be determined from host name (defaults to :data:`~socket.AF_UNSPEC`)."
11031103
msgstr ""
1104+
"*family* pode ser definido para :data:`socket.AF_INET` ou :data:`~socket."
1105+
"AF_INET6` para forçar o soquete a usar IPv4 ou IPv6. Se não for definido, "
1106+
"*family* será determinado a partir do nome do servidor (por padrão será :"
1107+
"data:`~socket.AF_UNSPEC`)."
11041108

11051109
#: ../../library/asyncio-eventloop.rst:618
11061110
msgid "*flags* is a bitmask for :meth:`getaddrinfo`."
1107-
msgstr ""
1111+
msgstr "*flags* é uma máscara de bits para :meth:`getaddrinfo`."
11081112

11091113
#: ../../library/asyncio-eventloop.rst:620
11101114
msgid ""
11111115
"*sock* can optionally be specified in order to use a preexisting socket "
11121116
"object. If specified, *host* and *port* must not be specified."
11131117
msgstr ""
1118+
"*sock* pode opcionalmente ser especificado para usar um objeto soquete pré-"
1119+
"existente. Se especificado, *host* e *port* não devem ser especificados."
11141120

11151121
#: ../../library/asyncio-eventloop.rst:623
11161122
msgid ""
11171123
"*backlog* is the maximum number of queued connections passed to :meth:"
11181124
"`~socket.socket.listen` (defaults to 100)."
11191125
msgstr ""
1126+
"*backlog* é o número máximo de conexões enfileiradas pasadas para :meth:"
1127+
"`~socket.socket.listen` (padrão é 100)."
11201128

11211129
#: ../../library/asyncio-eventloop.rst:626
11221130
msgid ""
11231131
"*ssl* can be set to an :class:`~ssl.SSLContext` instance to enable TLS over "
11241132
"the accepted connections."
11251133
msgstr ""
1134+
"*ssl* pode ser definido para uma instância de :class:`~ssl.SSLContext` para "
1135+
"habilitar TLS sobre as conexões aceitas."
11261136

11271137
#: ../../library/asyncio-eventloop.rst:629
11281138
msgid ""
11291139
"*reuse_address* tells the kernel to reuse a local socket in ``TIME_WAIT`` "
11301140
"state, without waiting for its natural timeout to expire. If not specified "
11311141
"will automatically be set to ``True`` on Unix."
11321142
msgstr ""
1143+
"*reuse_address* diz ao kernel para reusar um soquete local em estado "
1144+
"``TIME_WAIT``, serm aguardar pela expiração natural do seu tempo limite. Se "
1145+
"não especificado, será automaticamente definida como ``True`` no Unix."
11331146

11341147
#: ../../library/asyncio-eventloop.rst:634
11351148
msgid ""
11361149
"*reuse_port* tells the kernel to allow this endpoint to be bound to the same "
11371150
"port as other existing endpoints are bound to, so long as they all set this "
11381151
"flag when being created. This option is not supported on Windows."
11391152
msgstr ""
1153+
"*reuse_port* diz ao kernel para permitir que este endpoint seja vinculado a "
1154+
"mesma porta que outros endpoints existentes estão vinculados, contanto que "
1155+
"todos eles definam este sinalizador quando forem criados. Esta opção não é "
1156+
"suportada no Windows."
11401157

11411158
#: ../../library/asyncio-eventloop.rst:639
11421159
msgid ""
11431160
"*ssl_handshake_timeout* is (for a TLS server) the time in seconds to wait "
11441161
"for the TLS handshake to complete before aborting the connection. ``60.0`` "
11451162
"seconds if ``None`` (default)."
11461163
msgstr ""
1164+
"*ssl_handshake_timeout* é (para um servidor TLS) o tempo em segundos para "
1165+
"aguardar pelo aperto de mão TLS ser concluído, antes de abortar a conexão. "
1166+
"``60.0`` segundos se ``None`` (valor padrão)."
11471167

11481168
#: ../../library/asyncio-eventloop.rst:643
11491169
msgid ""
@@ -1152,103 +1172,128 @@ msgid ""
11521172
"should await on :meth:`Server.start_serving` or :meth:`Server.serve_forever` "
11531173
"to make the server to start accepting connections."
11541174
msgstr ""
1175+
"Definir *start_serving* para ``True`` (o valor padrão) faz o servidor criado "
1176+
"começar a aceitar conexões imediatamente. Quando definido para ``False``, o "
1177+
"usuário deve aguardar com :meth:`Server.start_serving` ou :meth:`Server."
1178+
"serve_forever` para fazer o servidor começar a aceitar conexões."
11551179

11561180
#: ../../library/asyncio-eventloop.rst:651
11571181
msgid "Added *ssl_handshake_timeout* and *start_serving* parameters."
1158-
msgstr ""
1182+
msgstr "Adicionado os parâmetros *ssl_handshake_timeout* e *start_serving*."
11591183

11601184
#: ../../library/asyncio-eventloop.rst:664
11611185
msgid "The *host* parameter can be a sequence of strings."
1162-
msgstr ""
1186+
msgstr "O parâmetro *host* pode ser uma sequência de strings."
11631187

11641188
#: ../../library/asyncio-eventloop.rst:668
11651189
msgid ""
11661190
"The :func:`start_server` function is a higher-level alternative API that "
11671191
"returns a pair of :class:`StreamReader` and :class:`StreamWriter` that can "
11681192
"be used in an async/await code."
11691193
msgstr ""
1194+
"A função :func:`start_server` é uma API alternativa de alto nível que "
1195+
"retorna um par de :class:`StreamReader` e :class:`StreamWriter` que pode ser "
1196+
"usado em um código async/await."
11701197

11711198
#: ../../library/asyncio-eventloop.rst:677
11721199
msgid ""
11731200
"Similar to :meth:`loop.create_server` but works with the :py:data:`~socket."
11741201
"AF_UNIX` socket family."
11751202
msgstr ""
1203+
"Similar a :meth:`loop.create_server`, mas trabalha com a familia de soquete :"
1204+
"py:data:`~socket.AF_UNIX`."
11761205

11771206
#: ../../library/asyncio-eventloop.rst:680
11781207
msgid ""
11791208
"*path* is the name of a Unix domain socket, and is required, unless a *sock* "
11801209
"argument is provided. Abstract Unix sockets, :class:`str`, :class:`bytes`, "
11811210
"and :class:`~pathlib.Path` paths are supported."
11821211
msgstr ""
1212+
"*path* é o nome de um soquete de domínio Unix, e é obrigatório, a não ser "
1213+
"que um argumento *sock* seja fornecido. Soquetes Unix abstratos, :class:"
1214+
"`str`, :class:`bytes`, e caminhos :class:`~pathlib.Path` são suportados."
11831215

11841216
#: ../../library/asyncio-eventloop.rst:685
11851217
msgid ""
11861218
"See the documentation of the :meth:`loop.create_server` method for "
11871219
"information about arguments to this method."
11881220
msgstr ""
1221+
"Veja a documentação do método :meth:`loop.create_server` para informações "
1222+
"sobre argumentos para este método."
11891223

11901224
#: ../../library/asyncio-eventloop.rst:692
11911225
msgid "The *ssl_handshake_timeout* and *start_serving* parameters."
11921226
msgstr "Os parâmetros *ssl_handshake_timeout* e *start_serving*."
11931227

11941228
#: ../../library/asyncio-eventloop.rst:696
11951229
msgid "The *path* parameter can now be a :class:`~pathlib.Path` object."
1196-
msgstr ""
1230+
msgstr "O parâmetro *path* agora pode ser um objeto :class:`~pathlib.Path`."
11971231

11981232
#: ../../library/asyncio-eventloop.rst:701
11991233
msgid "Wrap an already accepted connection into a transport/protocol pair."
1200-
msgstr ""
1234+
msgstr "Envolve uma conexão já aceita em um par transporte/protocolo."
12011235

12021236
#: ../../library/asyncio-eventloop.rst:703
12031237
msgid ""
12041238
"This method can be used by servers that accept connections outside of "
12051239
"asyncio but that use asyncio to handle them."
12061240
msgstr ""
1241+
"Este método pode ser usado por servidores que aceitam conexões fora do "
1242+
"asyncio, mas que usam asyncio para manipulá-las."
12071243

12081244
#: ../../library/asyncio-eventloop.rst:706
12091245
#: ../../library/asyncio-eventloop.rst:773
12101246
msgid "Parameters:"
1211-
msgstr ""
1247+
msgstr "Parâmetros:"
12121248

12131249
#: ../../library/asyncio-eventloop.rst:711
12141250
msgid ""
12151251
"*sock* is a preexisting socket object returned from :meth:`socket.accept "
12161252
"<socket.socket.accept>`."
12171253
msgstr ""
1254+
"*sock* é um objeto soquete pré-existente retornado a partir de :meth:`socket."
1255+
"accept <socket.socket.accept>`."
12181256

12191257
#: ../../library/asyncio-eventloop.rst:714
12201258
msgid ""
12211259
"*ssl* can be set to an :class:`~ssl.SSLContext` to enable SSL over the "
12221260
"accepted connections."
12231261
msgstr ""
1262+
"*ssl* pode ser definido para um :class:`~ssl.SSLContext` para habilitar SSL "
1263+
"sobre as conexões aceitas."
12241264

12251265
#: ../../library/asyncio-eventloop.rst:717
12261266
msgid ""
12271267
"*ssl_handshake_timeout* is (for an SSL connection) the time in seconds to "
12281268
"wait for the SSL handshake to complete before aborting the connection. "
12291269
"``60.0`` seconds if ``None`` (default)."
12301270
msgstr ""
1271+
"*ssl_handshake_timeout* é (para uma conexão SSL) o tempo em segundos para "
1272+
"aguardar pelo aperto de mão SSL ser concluído, antes de abortar a conexão. "
1273+
"``60.0`` segundos se ``None`` (valor padrão)."
12311274

12321275
#: ../../library/asyncio-eventloop.rst:721
12331276
msgid "Returns a ``(transport, protocol)`` pair."
1234-
msgstr ""
1277+
msgstr "Retorna um par ``(transport, protocol)``."
12351278

12361279
#: ../../library/asyncio-eventloop.rst:731
12371280
msgid "Transferring files"
1238-
msgstr ""
1281+
msgstr "Transferindo arquivos"
12391282

12401283
#: ../../library/asyncio-eventloop.rst:736
12411284
msgid ""
12421285
"Send a *file* over a *transport*. Return the total number of bytes sent."
12431286
msgstr ""
1287+
"Envia um *file* sobre um *transport*. Retorna o número total de bytes "
1288+
"enviados."
12441289

12451290
#: ../../library/asyncio-eventloop.rst:739
12461291
msgid "The method uses high-performance :meth:`os.sendfile` if available."
1247-
msgstr ""
1292+
msgstr "O método usa :meth:`os.sendfile` de alto desempenho, se disponível."
12481293

12491294
#: ../../library/asyncio-eventloop.rst:741
12501295
msgid "*file* must be a regular file object opened in binary mode."
1251-
msgstr ""
1296+
msgstr "*file* deve ser um objeto arquivo regular aberto em modo binário."
12521297

12531298
#: ../../library/asyncio-eventloop.rst:743
12541299
#: ../../library/asyncio-eventloop.rst:933
@@ -1259,6 +1304,12 @@ msgid ""
12591304
"raises an error, and :meth:`file.tell() <io.IOBase.tell>` can be used to "
12601305
"obtain the actual number of bytes sent."
12611306
msgstr ""
1307+
"*offset* indica a partir de onde deve iniciar a leitura do arquivo. Se "
1308+
"especificado, *count* é o número total de bytes para transmitir, ao "
1309+
"contrário de transmitir o arquivo até que EOF seja atingido. A posição do "
1310+
"arquivo é sempre atualizada, mesmo quando este método levanta um erro, e :"
1311+
"meth:`file.tell() <io.IOBase.tell>` pode ser usado para obter o número atual "
1312+
"de bytes enviados."
12621313

12631314
#: ../../library/asyncio-eventloop.rst:750
12641315
msgid ""

0 commit comments

Comments
 (0)