Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit548c2b6

Browse files
Update translation
Co-Authored-By: Marcos MoraesCo-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com>
1 parent016d785 commit548c2b6

File tree

9 files changed

+133
-25
lines changed

9 files changed

+133
-25
lines changed

‎c-api/mapping.po‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
89
#
910
#,fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To:\n"
1415
"POT-Creation-Date:2025-11-05 15:17+0000\n"
1516
"PO-Revision-Date:2025-09-15 01:03+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"
@@ -160,6 +161,10 @@ msgid ""
160161
"`PyMapping_HasKeyWithError`, :c:func:`PyMapping_GetOptionalItem` or :c:func:"
161162
"`PyObject_GetItem()` instead."
162163
msgstr""
164+
"As exceções que ocorrem quando este construtor chama o método :meth:`~object."
165+
"__getitem__` são silenciosamente ignoradas. Para o tratamento adequado de "
166+
"erros, use :c:func:`PyMapping_HasKeyWithError`, :c:func:"
167+
"`PyMapping_GetOptionalItem` ou :c:func:`PyObject_GetItem()` em vez disso."
163168

164169
#:../../c-api/mapping.rst:113
165170
msgid""
@@ -179,6 +184,11 @@ msgid ""
179184
"func:`PyMapping_GetOptionalItemString` or :c:func:`PyMapping_GetItemString` "
180185
"instead."
181186
msgstr""
187+
"As exceções que ocorrem quando este construtor chama o método :meth:`~object."
188+
"__getitem__` ou ao criar o objeto temporário :class:`str` são "
189+
"silenciosamente ignoradas. Para o tratamento adequado de erros, use :c:func:"
190+
"`PyMapping_HasKeyStringWithError`, :c:func:`PyMapping_GetOptionalItemString` "
191+
"ou :c:func:`PyMapping_GetItemString` em vez disso."
182192

183193
#:../../c-api/mapping.rst:129
184194
msgid""

‎library/asyncio-queue.po‎

Lines changed: 8 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.13\n"
1314
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-15 15:19+0000\n"
15+
"POT-Creation-Date:2025-11-05 15:17+0000\n"
1516
"PO-Revision-Date:2025-09-15 01:03+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"
@@ -181,14 +182,18 @@ msgstr "Retorna o número de itens na fila."
181182

182183
#:../../library/asyncio-queue.rst:105
183184
msgid"Put a :class:`Queue` instance into a shutdown mode."
184-
msgstr""
185+
msgstr"Coloca uma instância de :class:`Queue` em modo de desligamento."
185186

186187
#:../../library/asyncio-queue.rst:107
187188
msgid""
188189
"The queue can no longer grow. Future calls to :meth:`~Queue.put` raise :exc:"
189190
"`QueueShutDown`. Currently blocked callers of :meth:`~Queue.put` will be "
190191
"unblocked and will raise :exc:`QueueShutDown` in the formerly blocked thread."
191192
msgstr""
193+
"A fila não pode mais crescer. Chamadas futuras a :meth:`~Queue.put` "
194+
"levantarão :exc:`QueueShutDown`. Chamadores atualmente bloqueados de :meth:"
195+
"`~Queue.put` serão desbloqueados e levantarão :exc:`QueueShutDown` na thread "
196+
"anteriormente bloqueada."
192197

193198
#:../../library/asyncio-queue.rst:112
194199
msgid""

‎library/collections.abc.po‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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-10-07 15:08+0000\n"
15+
"POT-Creation-Date:2025-11-05 15:17+0000\n"
1616
"PO-Revision-Date:2025-09-15 01:04+0000\n"
1717
"Last-Translator:Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -785,6 +785,11 @@ msgid ""
785785
"Awaitable)`` for them will return ``False``. Use :func:`inspect.isawaitable` "
786786
"to detect them."
787787
msgstr""
788+
"No CPython, as corrotinas baseados em gerador (:term:`geradores <generator>` "
789+
"decorados com :deco:`types.coroutine`) são *aguardáveis*, embora não possuam "
790+
"o método :meth:`~object.__await__`. Usar ``isinstance(gencoro, Awaitable)`` "
791+
"para eles retornará ``False``. Use :func:`inspect.isawaitable` para detectá-"
792+
"los."
788793

789794
#:../../library/collections.abc.rst:348
790795
msgid""
@@ -808,6 +813,11 @@ msgid ""
808813
"Coroutine)`` for them will return ``False``. Use :func:`inspect.isawaitable` "
809814
"to detect them."
810815
msgstr""
816+
"No CPython, as corrotinas baseados em gerador (:term:`geradores <generator>` "
817+
"decorados com :deco:`types.coroutine`) são *aguardáveis*, embora não possuam "
818+
"o método :meth:`~object.__await__`. Usar ``isinstance(gencoro, Coroutine)`` "
819+
"para eles retornará ``False``. Use :func:`inspect.isawaitable` para detectá-"
820+
"los."
811821

812822
#:../../library/collections.abc.rst:362
813823
msgid""

‎library/ctypes.po‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,12 @@ msgid ""
12571257
"result of your function call. This is useful to check for error return "
12581258
"values and automatically raise an exception::"
12591259
msgstr""
1260+
"Você também pode usar um objeto Python chamável (uma função ou uma classe, "
1261+
"por exemplo) como o atributo :attr:`~_CFuncPtr.restype`, se a função externa "
1262+
"retornar um inteiro. O objeto chamável será chamado com o *inteiro* que a "
1263+
"função C retorna, e o resultado desta chamada será usado como o resultado da "
1264+
"sua chamada de função. Isso é útil para verificar valores de retorno de erro "
1265+
"e levantar uma exceção automaticamente::"
12601266

12611267
#:../../library/ctypes.rst:551
12621268
msgid""
@@ -1285,6 +1291,10 @@ msgid ""
12851291
"exception. ``WinError`` takes an optional error code parameter, if no one is "
12861292
"used, it calls :func:`GetLastError` to retrieve it."
12871293
msgstr""
1294+
"``WinError`` é uma função que chamará a API ``FormatMessage()`` do Windows "
1295+
"para obter a representação em string de um código de erro, e *retorna* uma "
1296+
"exceção. ``WinError`` aceita um parâmetro de código de erro opcional, se "
1297+
"nenhum for usado, ela chama :func:`GetLastError` para recuperá-lo."
12881298

12891299
#:../../library/ctypes.rst:573
12901300
msgid""
@@ -1307,6 +1317,10 @@ msgid ""
13071317
"large to be passed by value. This is also known as *passing parameters by "
13081318
"reference*."
13091319
msgstr""
1320+
"Às vezes, uma função da API C espera um *ponteiro* para um tipo de dado como "
1321+
"parâmetro, provavelmente para escrever no local correspondente, ou se os "
1322+
"dados forem muito grandes para serem passados por valor. Isso também é "
1323+
"conhecido como *passar parâmetros por referência*."
13101324

13111325
#:../../library/ctypes.rst:587
13121326
msgid""
@@ -1316,6 +1330,11 @@ msgid ""
13161330
"constructs a real pointer object, so it is faster to use :func:`byref` if "
13171331
"you don't need the pointer object in Python itself::"
13181332
msgstr""
1333+
"O :mod:`ctypes` exporta a função :func:`byref` que é usada para passar "
1334+
"parâmetros por referência. O mesmo efeito pode ser alcançado com a função :"
1335+
"func:`pointer`, embora :func:`pointer` faça muito mais trabalho, já que ela "
1336+
"constrói um objeto ponteiro real, então é mais rápido usar :func:`byref` se "
1337+
"você não precisar do objeto ponteiro no próprio Python::"
13191338

13201339
#:../../library/ctypes.rst:593
13211340
msgid""
@@ -1344,19 +1363,29 @@ msgid ""
13441363
"_fields_` must be a list of *2-tuples*, containing a *field name* and a "
13451364
"*field type*."
13461365
msgstr""
1366+
"Estruturas e uniões devem derivar das classes base :class:`Structure` e :"
1367+
"class:`Union` que são definidas no módulo :mod:`ctypes`. Cada subclasse deve "
1368+
"definir um atributo :attr:`~Structure._fields_`. :attr:`!_fields_` deve ser "
1369+
"uma lista de *2-tuplas*, contendo um *nome de campo* e um *tipo de campo*."
13471370

13481371
#:../../library/ctypes.rst:616
13491372
msgid""
13501373
"The field type must be a :mod:`ctypes` type like :class:`c_int`, or any "
13511374
"other derived :mod:`ctypes` type: structure, union, array, pointer."
13521375
msgstr""
1376+
"O tipo do campo deve ser um tipo :mod:`ctypes` como :class:`c_int`, ou "
1377+
"qualquer outro tipo :mod:`ctypes` derivado: estrutura, união, vetor, "
1378+
"ponteiro."
13531379

13541380
#:../../library/ctypes.rst:619
13551381
msgid""
13561382
"Here is a simple example of a POINT structure, which contains two integers "
13571383
"named *x* and *y*, and also shows how to initialize a structure in the "
13581384
"constructor::"
13591385
msgstr""
1386+
"Aqui está um exemplo simples de uma estrutura POINT, que contém dois "
1387+
"inteiros nomeados *x* e *y*, e também mostra como inicializar uma estrutura "
1388+
"no construtor::"
13601389

13611390
#:../../library/ctypes.rst:622
13621391
msgid""
@@ -1383,12 +1412,17 @@ msgid ""
13831412
"You can, however, build much more complicated structures. A structure can "
13841413
"itself contain other structures by using a structure as a field type."
13851414
msgstr""
1415+
"Você pode, no entanto, construir estruturas muito mais complicadas. Uma "
1416+
"estrutura pode conter outras estruturas, usando uma estrutura como um tipo "
1417+
"de campo."
13861418

13871419
#:../../library/ctypes.rst:642
13881420
msgid""
13891421
"Here is a RECT structure which contains two POINTs named *upperleft* and "
13901422
"*lowerright*::"
13911423
msgstr""
1424+
"Aqui está uma estrutura RECT que contém dois POINTs nomeados *upperleft* e "
1425+
"*lowerright*::"
13921426

13931427
#:../../library/ctypes.rst:645
13941428
msgid""

‎library/queue.po‎

Lines changed: 4 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.13\n"
1314
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-09-15 15:19+0000\n"
15+
"POT-Creation-Date:2025-11-05 15:17+0000\n"
1516
"PO-Revision-Date:2025-09-15 01:04+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"
@@ -319,7 +320,7 @@ msgstr ""
319320

320321
#:../../library/queue.rst:241
321322
msgid"Put a :class:`Queue` instance into a shutdown mode."
322-
msgstr""
323+
msgstr"Coloca uma instância de :class:`Queue` em modo de desligamento."
323324

324325
#:../../library/queue.rst:243
325326
msgid""

‎potodo.md‎

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
1 directory 60.03% done
2-
└── 3.13/ 60.03% done
1+
1 directory 60.09% done
2+
└── 3.13/ 60.09% done
33
├── installing/ 100.00% done
44
├── distributing/ 100.00% done
55
├── faq/ 100.00% done
66
├── using/ 97.36% done
77
│ ├── mac.po 94 / 96 ( 97.0% translated)
88
│ └── windows.po 382 / 389 ( 98.0% translated)
9-
├── reference/ 99.16% done
10-
│ └── compound_stmts.po460 / 467 (98.0% translated)
11-
├── library/ 60.58% done
9+
├── reference/ 99.82% done
10+
│ └── compound_stmts.po466 / 467 (99.0% translated)
11+
├── library/ 60.64% done
1212
│ ├── asyncio-dev.po 16 / 54 ( 29.0% translated)
1313
│ ├── asyncio-eventloop.po 308 / 412 ( 74.0% translated)
1414
│ ├── asyncio-future.po 9 / 64 ( 14.0% translated)
1515
│ ├── asyncio-platforms.po 6 / 26 ( 23.0% translated)
1616
│ ├── asyncio-policy.po 10 / 68 ( 14.0% translated)
1717
│ ├── asyncio-protocol.po 25 / 194 ( 12.0% translated)
18-
│ ├── asyncio-queue.po41 / 48 (85.0% translated)
18+
│ ├── asyncio-queue.po43 / 48 (89.0% translated)
1919
│ ├── asyncio-runner.po 5 / 37 ( 13.0% translated)
2020
│ ├── asyncio-stream.po 71 / 104 ( 68.0% translated)
2121
│ ├── asyncio-sync.po 12 / 100 ( 12.0% translated)
@@ -24,10 +24,9 @@
2424
│ ├── bdb.po 13 / 112 ( 11.0% translated)
2525
│ ├── binascii.po 23 / 38 ( 60.0% translated)
2626
│ ├── codecs.po 250 / 558 ( 44.0% translated)
27-
│ ├── collections.abc.po 140 / 142 ( 98.0% translated)
2827
│ ├── concurrent.futures.po 14 / 101 ( 13.0% translated)
2928
│ ├── contextlib.po 55 / 172 ( 31.0% translated)
30-
│ ├── ctypes.po163 / 546 (29.0% translated)
29+
│ ├── ctypes.po172 / 546 (31.0% translated)
3130
│ ├── curses.po 66 / 486 ( 13.0% translated)
3231
│ ├── dataclasses.po 70 / 156 ( 44.0% translated)
3332
│ ├── dbm.po 95 / 107 ( 88.0% translated)
@@ -70,7 +69,7 @@
7069
│ ├── poplib.po 22 / 53 ( 41.0% translated)
7170
│ ├── profile.po 34 / 181 ( 18.0% translated)
7271
│ ├── pyexpat.po 23 / 155 ( 14.0% translated)
73-
│ ├── queue.po6 / 57 (10.0% translated)
72+
│ ├── queue.po7 / 57 (12.0% translated)
7473
│ ├── select.po 78 / 206 ( 37.0% translated)
7574
│ ├── selectors.po 13 / 58 ( 22.0% translated)
7675
│ ├── shelve.po 11 / 40 ( 27.0% translated)
@@ -140,7 +139,7 @@
140139
├── deprecations/ 99.08% done
141140
│ ├── index.po 217 / 218 ( 99.0% translated)
142141
│ └── pending-removal-in-3.14.po 33 / 34 ( 97.0% translated)
143-
└── c-api/49.98% done
142+
└── c-api/50.04% done
144143
├── exceptions.po 158 / 238 ( 66.0% translated)
145144
├── frame.po 20 / 42 ( 47.0% translated)
146145
├── gcsupport.po 9 / 52 ( 17.0% translated)
@@ -149,7 +148,6 @@
149148
├── init_config.po 139 / 417 ( 33.0% translated)
150149
├── iterator.po 8 / 12 ( 66.0% translated)
151150
├── long.po 43 / 104 ( 41.0% translated)
152-
├── mapping.po 21 / 23 ( 91.0% translated)
153151
├── memory.po 59 / 201 ( 29.0% translated)
154152
├── module.po 64 / 136 ( 47.0% translated)
155153
├── number.po 14 / 48 ( 29.0% translated)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp