Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da3a3a4

Browse files
Update translations
1 parent 5944576 commit da3a3a4

File tree

6 files changed

+56
-14
lines changed

6 files changed

+56
-14
lines changed

c-api/long.po

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-03 15:28+0000\n"
14+
"POT-Creation-Date: 2025-06-13 16:17+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:09+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -86,12 +86,17 @@ msgid ""
8686
"integers between ``-5`` and ``256``. When you create an int in that range "
8787
"you actually just get back a reference to the existing object."
8888
msgstr ""
89+
"A implementação atual mantém um vetor de objetos inteiros para todos os "
90+
"inteiros entre ``-5`` e ``256``. Quando você cria um int nesse intervalo, "
91+
"você na verdade apenas obtém uma referência ao objeto existente."
8992

9093
#: ../../c-api/long.rst:50
9194
msgid ""
9295
"Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long`, "
9396
"or ``NULL`` on failure."
9497
msgstr ""
98+
"Retorna um novo objeto :c:type:`PyLongObject` de um :c:exp:`unsigned long` C "
99+
"ou ``NULL`` em caso de falha."
95100

96101
#: ../../c-api/long.rst:56
97102
msgid ""
@@ -114,12 +119,16 @@ msgid ""
114119
"Return a new :c:type:`PyLongObject` object from a C :c:expr:`long long`, or "
115120
"``NULL`` on failure."
116121
msgstr ""
122+
"Retorna um novo objeto :c:type:`PyLongObject` de um :c:expr:`long long` C ou "
123+
"``NULL`` em caso de falha."
117124

118125
#: ../../c-api/long.rst:74
119126
msgid ""
120127
"Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long "
121128
"long`, or ``NULL`` on failure."
122129
msgstr ""
130+
"Retorna um novo objeto :c:type:`PyLongObject` de um :c:expr:`unsigned long "
131+
"long` C ou ``NULL`` em caso de falha."
123132

124133
#: ../../c-api/long.rst:80
125134
msgid ""

extending/newtypes_tutorial.po

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-21 22:20+0000\n"
14+
"POT-Creation-Date: 2025-06-13 16:17+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:10+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -56,6 +56,15 @@ msgid ""
5656
"an object, a method called, or it is multiplied by another object. These C "
5757
"functions are called \"type methods\"."
5858
msgstr ""
59+
"O tempo de execução do :term:`CPython` considera todos os objetos Python "
60+
"como variáveis ​​do tipo :c:expr:`PyObject*`, que serve como um \"tipo base\" "
61+
"para todos os objetos Python. A própria estrutura :c:type:`PyObject` contém "
62+
"apenas a :term:`contagem de referências` do objeto e um ponteiro para o "
63+
"\"objeto de tipo\" do objeto. É aqui que ocorre a ação; o objeto de tipo "
64+
"determina quais funções (C) são chamadas pelo interpretador quando, por "
65+
"exemplo, um atributo é consultado em um objeto, um método é chamado ou é "
66+
"multiplicado por outro objeto. Essas funções C são chamadas de \"métodos de "
67+
"tipo\"."
5968

6069
#: ../../extending/newtypes_tutorial.rst:35
6170
msgid ""
@@ -71,6 +80,9 @@ msgid ""
7180
"but complete, module that defines a new type named :class:`!Custom` inside a "
7281
"C extension module :mod:`!custom`:"
7382
msgstr ""
83+
"Esse tipo de coisa só pode ser explicado por exemplo, então aqui está um "
84+
"módulo mínimo, mas completo, que define um novo tipo chamado :class:`!"
85+
"Custom` dentro de um módulo de extensão C :mod:`!custom`:"
7486

7587
#: ../../extending/newtypes_tutorial.rst:43
7688
msgid ""
@@ -79,6 +91,10 @@ msgid ""
7991
"allows defining heap-allocated extension types using the :c:func:"
8092
"`PyType_FromSpec` function, which isn't covered in this tutorial."
8193
msgstr ""
94+
"O que estamos mostrando aqui é a maneira tradicional de definir tipos de "
95+
"extensão *estáticos*. Deve ser adequada para a maioria dos usos. A API C "
96+
"também permite definir tipos de extensão alocados em heap usando a função :c:"
97+
"func:`PyType_FromSpec`, que não é abordada neste tutorial."
8298

8399
#: ../../extending/newtypes_tutorial.rst:50
84100
msgid ""

library/ctypes.po

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-03-14 15:32+0000\n"
14+
"POT-Creation-Date: 2025-06-20 16:15+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:14+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -159,13 +159,19 @@ msgid ""
159159
"version you need by specifying ``GetModuleHandleA`` or ``GetModuleHandleW`` "
160160
"explicitly, and then call it with bytes or string objects respectively."
161161
msgstr ""
162+
"*windll* não tenta selecionar um deles magicamente, você deve acessar a "
163+
"versão necessária especificando ``GetModuleHandleA`` ou ``GetModuleHandleW`` "
164+
"explicitamente e então chamá-lo com objetos bytes ou string, respectivamente."
162165

163166
#: ../../library/ctypes.rst:124
164167
msgid ""
165168
"Sometimes, dlls export functions with names which aren't valid Python "
166169
"identifiers, like ``\"??2@YAPAXI@Z\"``. In this case you have to use :func:"
167170
"`getattr` to retrieve the function::"
168171
msgstr ""
172+
"Às vezes, DLLs exportam funções com nomes que não são identificadores Python "
173+
"válidos, como ``\"??2@YAPAXI@Z\"``. Nesse caso, você precisa usar :func:"
174+
"`getattr` para recuperar a função::"
169175

170176
#: ../../library/ctypes.rst:132
171177
msgid ""
@@ -179,7 +185,7 @@ msgstr ""
179185

180186
#: ../../library/ctypes.rst:149
181187
msgid "Calling functions"
182-
msgstr ""
188+
msgstr "Chamando funções"
183189

184190
#: ../../library/ctypes.rst:151
185191
msgid ""
@@ -200,19 +206,26 @@ msgid ""
200206
":exc:`ValueError` is raised when you call an ``stdcall`` function with the "
201207
"``cdecl`` calling convention, or vice versa::"
202208
msgstr ""
209+
":exc:`ValueError` é gerado quando você chama uma função ``stdcall`` com a "
210+
"convenção de chamada ``cdecl``, ou vice-versa::"
203211

204212
#: ../../library/ctypes.rst:180
205213
msgid ""
206214
"To find out the correct calling convention you have to look into the C "
207215
"header file or the documentation for the function you want to call."
208216
msgstr ""
217+
"Para descobrir a convenção de chamada correta, você precisa consultar o "
218+
"arquivo de cabeçalho C ou a documentação da função que deseja chamar."
209219

210220
#: ../../library/ctypes.rst:183
211221
msgid ""
212222
"On Windows, :mod:`ctypes` uses win32 structured exception handling to "
213223
"prevent crashes from general protection faults when functions are called "
214224
"with invalid argument values::"
215225
msgstr ""
226+
"No Windows, :mod:`ctypes` usa o tratamento de exceções estruturado do win32 "
227+
"para evitar travamentos devido a falhas gerais de proteção quando funções "
228+
"são chamadas com valores de argumentos inválidos::"
216229

217230
#: ../../library/ctypes.rst:193
218231
msgid ""
@@ -221,6 +234,10 @@ msgid ""
221234
"debugging crashes (e.g. from segmentation faults produced by erroneous C "
222235
"library calls)."
223236
msgstr ""
237+
"No entanto, existem maneiras suficientes de travar o Python com :mod:"
238+
"`ctypes`, então você deve ter cuidado de qualquer maneira. O módulo :mod:"
239+
"`faulthandler` pode ser útil na depuração de travamentos (por exemplo, de "
240+
"falhas de segmentação produzidas por chamadas errôneas da biblioteca C)."
224241

225242
#: ../../library/ctypes.rst:198
226243
msgid ""

library/importlib.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-02-14 15:32+0000\n"
14+
"POT-Creation-Date: 2025-06-20 16:15+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:16+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -217,7 +217,7 @@ msgstr ":pep:`3120`"
217217

218218
#: ../../library/importlib.rst:88
219219
msgid "Using UTF-8 as the Default Source Encoding"
220-
msgstr "Usando UFT-8 como fonte padrão de codificação"
220+
msgstr "Usando UTF-8 como fonte padrão de codificação"
221221

222222
#: ../../library/importlib.rst:90
223223
msgid ":pep:`3147`"

potodo.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- license.po 95 / 99 ( 95.0% translated).
66

77

8-
# c-api (57.73% done)
8+
# c-api (57.82% done)
99

1010
- exceptions.po 193 / 347 ( 55.0% translated).
1111
- float.po 14 / 35 ( 40.0% translated).
@@ -15,7 +15,7 @@
1515
- init.po 125 / 372 ( 33.0% translated).
1616
- init_config.po 135 / 396 ( 34.0% translated).
1717
- intro.po 126 / 127 ( 99.0% translated).
18-
- long.po 30 / 59 ( 50.0% translated).
18+
- long.po 34 / 59 ( 57.0% translated).
1919
- memory.po 55 / 189 ( 29.0% translated).
2020
- module.po 61 / 109 ( 55.0% translated).
2121
- number.po 14 / 48 ( 29.0% translated).
@@ -43,12 +43,12 @@
4343
- sourcedist.po 27 / 74 ( 36.0% translated).
4444

4545

46-
# extending (23.01% done)
46+
# extending (23.63% done)
4747

4848
- embedding.po 4 / 45 ( 8.0% translated).
4949
- extending.po 15 / 162 ( 9.0% translated).
5050
- newtypes.po 11 / 105 ( 10.0% translated).
51-
- newtypes_tutorial.po 27 / 123 ( 21.0% translated).
51+
- newtypes_tutorial.po 30 / 123 ( 24.0% translated).
5252

5353

5454
# faq (97.48% done)
@@ -85,7 +85,7 @@
8585

8686

8787

88-
# library (63.63% done)
88+
# library (63.65% done)
8989

9090
- _thread.po 49 / 51 ( 96.0% translated).
9191
- abc.po 48 / 49 ( 97.0% translated).
@@ -121,7 +121,7 @@
121121
- contextlib.po 42 / 130 ( 32.0% translated).
122122
- crypt.po 7 / 35 ( 20.0% translated).
123123
- csv.po 97 / 99 ( 97.0% translated).
124-
- ctypes.po 96 / 436 ( 22.0% translated).
124+
- ctypes.po 103 / 436 ( 23.0% translated).
125125
- curses.ascii.po 68 / 69 ( 98.0% translated).
126126
- curses.panel.po 22 / 23 ( 95.0% translated).
127127
- curses.po 64 / 485 ( 13.0% translated).
@@ -324,5 +324,5 @@
324324
- 3.8.po 468 / 469 ( 99.0% translated).
325325

326326

327-
# TOTAL (67.96% done)
327+
# TOTAL (67.99% done)
328328

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "67.96%", "translated": 37931, "entries": 55811, "updated_at": "2025-06-27T23:53:56+00:00Z"}
1+
{"completion": "67.99%", "translated": 37945, "entries": 55811, "updated_at": "2025-06-28T23:54:08+00:00Z"}

0 commit comments

Comments
 (0)