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

Commit73e905d

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com>Co-Authored-By: Marcos Moraes
1 parente77c31e commit73e905d

File tree

10 files changed

+138
-28
lines changed

10 files changed

+138
-28
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 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: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
"MIME-Version:1.0\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.14\n"
1314
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-10-09 14:15+0000\n"
15+
"POT-Creation-Date:2025-11-05 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: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
"MIME-Version:1.0\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.14\n"
1414
"Report-Msgid-Bugs-To:\n"
15-
"POT-Creation-Date:2025-10-09 14:15+0000\n"
15+
"POT-Creation-Date:2025-11-05 14:15+0000\n"
1616
"PO-Revision-Date:2025-09-16 00:01+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
@@ -1296,6 +1296,12 @@ msgid ""
12961296
"result of your function call. This is useful to check for error return "
12971297
"values and automatically raise an exception::"
12981298
msgstr""
1299+
"Você também pode usar um objeto Python chamável (uma função ou uma classe, "
1300+
"por exemplo) como o atributo :attr:`~_CFuncPtr.restype`, se a função externa "
1301+
"retornar um inteiro. O objeto chamável será chamado com o *inteiro* que a "
1302+
"função C retorna, e o resultado desta chamada será usado como o resultado da "
1303+
"sua chamada de função. Isso é útil para verificar valores de retorno de erro "
1304+
"e levantar uma exceção automaticamente::"
12991305

13001306
#:../../library/ctypes.rst:565
13011307
msgid""
@@ -1324,6 +1330,10 @@ msgid ""
13241330
"exception. ``WinError`` takes an optional error code parameter, if no one is "
13251331
"used, it calls :func:`GetLastError` to retrieve it."
13261332
msgstr""
1333+
"``WinError`` é uma função que chamará a API ``FormatMessage()`` do Windows "
1334+
"para obter a representação em string de um código de erro, e *retorna* uma "
1335+
"exceção. ``WinError`` aceita um parâmetro de código de erro opcional, se "
1336+
"nenhum for usado, ela chama :func:`GetLastError` para recuperá-lo."
13271337

13281338
#:../../library/ctypes.rst:587
13291339
msgid""
@@ -1346,6 +1356,10 @@ msgid ""
13461356
"large to be passed by value. This is also known as *passing parameters by "
13471357
"reference*."
13481358
msgstr""
1359+
"Às vezes, uma função da API C espera um *ponteiro* para um tipo de dado como "
1360+
"parâmetro, provavelmente para escrever no local correspondente, ou se os "
1361+
"dados forem muito grandes para serem passados por valor. Isso também é "
1362+
"conhecido como *passar parâmetros por referência*."
13491363

13501364
#:../../library/ctypes.rst:601
13511365
msgid""
@@ -1355,6 +1369,11 @@ msgid ""
13551369
"constructs a real pointer object, so it is faster to use :func:`byref` if "
13561370
"you don't need the pointer object in Python itself::"
13571371
msgstr""
1372+
"O :mod:`ctypes` exporta a função :func:`byref` que é usada para passar "
1373+
"parâmetros por referência. O mesmo efeito pode ser alcançado com a função :"
1374+
"func:`pointer`, embora :func:`pointer` faça muito mais trabalho, já que ela "
1375+
"constrói um objeto ponteiro real, então é mais rápido usar :func:`byref` se "
1376+
"você não precisar do objeto ponteiro no próprio Python::"
13581377

13591378
#:../../library/ctypes.rst:607
13601379
msgid""
@@ -1383,19 +1402,29 @@ msgid ""
13831402
"_fields_` must be a list of *2-tuples*, containing a *field name* and a "
13841403
"*field type*."
13851404
msgstr""
1405+
"Estruturas e uniões devem derivar das classes base :class:`Structure` e :"
1406+
"class:`Union` que são definidas no módulo :mod:`ctypes`. Cada subclasse deve "
1407+
"definir um atributo :attr:`~Structure._fields_`. :attr:`!_fields_` deve ser "
1408+
"uma lista de *2-tuplas*, contendo um *nome de campo* e um *tipo de campo*."
13861409

13871410
#:../../library/ctypes.rst:630
13881411
msgid""
13891412
"The field type must be a :mod:`ctypes` type like :class:`c_int`, or any "
13901413
"other derived :mod:`ctypes` type: structure, union, array, pointer."
13911414
msgstr""
1415+
"O tipo do campo deve ser um tipo :mod:`ctypes` como :class:`c_int`, ou "
1416+
"qualquer outro tipo :mod:`ctypes` derivado: estrutura, união, vetor, "
1417+
"ponteiro."
13921418

13931419
#:../../library/ctypes.rst:633
13941420
msgid""
13951421
"Here is a simple example of a POINT structure, which contains two integers "
13961422
"named *x* and *y*, and also shows how to initialize a structure in the "
13971423
"constructor::"
13981424
msgstr""
1425+
"Aqui está um exemplo simples de uma estrutura POINT, que contém dois "
1426+
"inteiros nomeados *x* e *y*, e também mostra como inicializar uma estrutura "
1427+
"no construtor::"
13991428

14001429
#:../../library/ctypes.rst:636
14011430
msgid""
@@ -1422,12 +1451,17 @@ msgid ""
14221451
"You can, however, build much more complicated structures. A structure can "
14231452
"itself contain other structures by using a structure as a field type."
14241453
msgstr""
1454+
"Você pode, no entanto, construir estruturas muito mais complicadas. Uma "
1455+
"estrutura pode conter outras estruturas, usando uma estrutura como um tipo "
1456+
"de campo."
14251457

14261458
#:../../library/ctypes.rst:656
14271459
msgid""
14281460
"Here is a RECT structure which contains two POINTs named *upperleft* and "
14291461
"*lowerright*::"
14301462
msgstr""
1463+
"Aqui está uma estrutura RECT que contém dois POINTs nomeados *upperleft* e "
1464+
"*lowerright*::"
14311465

14321466
#:../../library/ctypes.rst:659
14331467
msgid""

‎library/fractions.po‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version:Python 3.14\n"
1414
"Report-Msgid-Bugs-To:\n"
15-
"POT-Creation-Date:2025-10-09 14:15+0000\n"
15+
"POT-Creation-Date:2025-11-05 14:15+0000\n"
1616
"PO-Revision-Date:2025-09-16 00:01+0000\n"
1717
"Last-Translator:Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -54,6 +54,10 @@ msgid ""
5454
"with a value equal to ``numerator/denominator``. If *denominator* is zero, "
5555
"it raises a :exc:`ZeroDivisionError`."
5656
msgstr""
57+
"A primeira versão requer que *numerator* e *denominator* sejam instâncias "
58+
"de :class:`numbers.Rational` e retorna uma nova instância de :class:"
59+
"`Fraction` com um valor igual a ``numerator/denominator``. Se *denominator* "
60+
"for zero, ele levanta uma :exc:`ZeroDivisionError`."
5761

5862
#:../../library/fractions.rst:31
5963
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.14\n"
1314
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-10-09 14:15+0000\n"
15+
"POT-Creation-Date:2025-11-05 14:15+0000\n"
1516
"PO-Revision-Date:2025-09-16 00:01+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
"MIME-Version:1.0\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: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
1-
1 directory 60.70% done
2-
└── 3.14/ 60.70% done
1+
1 directory 60.76% done
2+
└── 3.14/ 60.76% done
33
├── installing/ 100.00% done
44
├── distributing/ 100.00% done
55
├── faq/ 100.00% done
66
├── using/ 96.77% done
77
│ ├── mac.po 92 / 94 ( 97.0% translated)
88
│ └── windows.po 508 / 532 ( 95.0% translated)
9-
├── reference/ 99.38% done
10-
│ └── compound_stmts.po 474 / 480 ( 98.0% translated)
11-
├── library/ 60.73% done
9+
├── reference/ 100.00% done
10+
├── library/ 60.80% done
1211
│ ├── asyncio-dev.po 16 / 54 ( 29.0% translated)
1312
│ ├── asyncio-eventloop.po 307 / 416 ( 73.0% translated)
1413
│ ├── asyncio-future.po 9 / 64 ( 14.0% translated)
1514
│ ├── asyncio-graph.po 3 / 30 ( 10.0% translated)
1615
│ ├── asyncio-platforms.po 6 / 25 ( 24.0% translated)
1716
│ ├── asyncio-policy.po 6 / 36 ( 16.0% translated)
1817
│ ├── asyncio-protocol.po 25 / 194 ( 12.0% translated)
19-
│ ├── asyncio-queue.po41 / 48 (85.0% translated)
18+
│ ├── asyncio-queue.po43 / 48 (89.0% translated)
2019
│ ├── asyncio-runner.po 4 / 41 ( 9.0% translated)
2120
│ ├── asyncio-stream.po 71 / 104 ( 68.0% translated)
2221
│ ├── asyncio-sync.po 12 / 100 ( 12.0% translated)
@@ -25,12 +24,11 @@
2524
│ ├── bdb.po 13 / 119 ( 10.0% translated)
2625
│ ├── binascii.po 23 / 38 ( 60.0% translated)
2726
│ ├── codecs.po 250 / 563 ( 44.0% translated)
28-
│ ├── collections.abc.po 140 / 142 ( 98.0% translated)
2927
│ ├── compression.zstd.po 126 / 173 ( 72.0% translated)
3028
│ ├── concurrent.futures.po 12 / 120 ( 10.0% translated)
3129
│ ├── concurrent.interpreters.po 43 / 87 ( 49.0% translated)
3230
│ ├── contextlib.po 55 / 172 ( 31.0% translated)
33-
│ ├── ctypes.po172 / 625 (27.0% translated)
31+
│ ├── ctypes.po181 / 625 (28.0% translated)
3432
│ ├── curses.po 66 / 490 ( 13.0% translated)
3533
│ ├── dataclasses.po 71 / 158 ( 44.0% translated)
3634
│ ├── dbm.po 95 / 107 ( 88.0% translated)
@@ -48,7 +46,6 @@
4846
│ ├── enum.po 129 / 249 ( 51.0% translated)
4947
│ ├── errno.po 115 / 161 ( 71.0% translated)
5048
│ ├── faulthandler.po 4 / 53 ( 7.0% translated)
51-
│ ├── fractions.po 40 / 41 ( 97.0% translated)
5249
│ ├── ftplib.po 12 / 99 ( 12.0% translated)
5350
│ ├── functools.po 19 / 126 ( 15.0% translated)
5451
│ ├── hashlib.po 93 / 170 ( 54.0% translated)
@@ -76,7 +73,7 @@
7673
│ ├── poplib.po 22 / 53 ( 41.0% translated)
7774
│ ├── profile.po 34 / 181 ( 18.0% translated)
7875
│ ├── pyexpat.po 23 / 156 ( 14.0% translated)
79-
│ ├── queue.po6 / 57 (10.0% translated)
76+
│ ├── queue.po7 / 57 (12.0% translated)
8077
│ ├── select.po 78 / 209 ( 37.0% translated)
8178
│ ├── selectors.po 13 / 58 ( 22.0% translated)
8279
│ ├── shelve.po 11 / 40 ( 27.0% translated)
@@ -143,15 +140,14 @@
143140
│ ├── 3.7.po 249 / 568 ( 43.0% translated)
144141
│ └── changelog.po 3405 / 13645 ( 24.0% translated)
145142
├── deprecations/ 100.00% done
146-
└── c-api/ 49.53% done
143+
└── c-api/ 49.58% done
147144
├── exceptions.po 159 / 242 ( 65.0% translated)
148145
├── frame.po 20 / 42 ( 47.0% translated)
149146
├── gcsupport.po 18 / 67 ( 26.0% translated)
150147
├── import.po 33 / 66 ( 50.0% translated)
151148
├── init.po 182 / 516 ( 35.0% translated)
152149
├── init_config.po 217 / 638 ( 34.0% translated)
153150
├── long.po 46 / 170 ( 27.0% translated)
154-
├── mapping.po 21 / 23 ( 91.0% translated)
155151
├── memory.po 63 / 208 ( 30.0% translated)
156152
├── module.po 49 / 130 ( 37.0% translated)
157153
├── number.po 14 / 48 ( 29.0% translated)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp