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

Commit360f8b0

Browse files
Update translations
1 parent7ee878f commit360f8b0

File tree

4 files changed

+45
-14
lines changed

4 files changed

+45
-14
lines changed

‎faq/extending.po‎

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@
99
# Alexsandro Matias de Almeida <matiasalexsandro@gmail.com>, 2020
1010
# mvpetri <mvpetri@gmail.com>, 2021
1111
# Rafael Fontenelle <rffontenelle@gmail.com>, 2023
12+
# Pedro Fonini, 2024
1213
#
1314
#,fuzzy
1415
msgid ""
1516
msgstr ""
1617
"Project-Id-Version:Python 3.8\n"
1718
"Report-Msgid-Bugs-To:\n"
18-
"POT-Creation-Date:2024-08-31 13:50+0000\n"
19+
"POT-Creation-Date:2024-10-04 17:06+0000\n"
1920
"PO-Revision-Date:2020-05-30 11:53+0000\n"
20-
"Last-Translator:Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
21+
"Last-Translator:Pedro Fonini, 2024\n"
2122
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2223
"teams/5390/pt_BR/)\n"
2324
"MIME-Version:1.0\n"
@@ -117,17 +118,28 @@ msgid ""
117118
"func:`PyRun_String`; see the source for :c:func:`PyRun_SimpleString` in "
118119
"``Python/pythonrun.c``."
119120
msgstr""
121+
"A função mais alto-nível para isso é a :c:func:`PyRun_SimpleString`, que "
122+
"recebe como único argumento uma string a ser executada no contexto do módulo "
123+
"``__main__`` e retorna ``0`` para sucesso e ``-1`` quando uma exceção "
124+
"ocorrer (incluindo :exc:`SyntaxError`). Se quiser mais controle, use :c:"
125+
"func:`PyRun_String`; veja o código-fonte de :c:func:`PyRun_SimpleString` em "
126+
"``Python/pythonrun.c``."
120127

121128
#:../../faq/extending.rst:72
122129
msgid"How can I evaluate an arbitrary Python expression from C?"
123130
msgstr""
131+
"Como posso executar e obter o resultado de uma expressão Python arbitrária a "
132+
"partir de C?"
124133

125134
#:../../faq/extending.rst:74
126135
msgid""
127136
"Call the function :c:func:`PyRun_String` from the previous question with the "
128137
"start symbol :c:data:`Py_eval_input`; it parses an expression, evaluates it "
129138
"and returns its value."
130139
msgstr""
140+
"Chame a função :c:func:`PyRun_String` da pergunta anterior passando :c:data:"
141+
"`Py_eval_input` como o símbolo de início; ela faz a análise sintática de uma "
142+
"expressão, a executa, e retorna o seu valor."
131143

132144
#:../../faq/extending.rst:80
133145
msgid"How do I extract C values from a Python object?"
@@ -155,6 +167,9 @@ msgid ""
155167
"use :c:func:`PyBytes_Check`, :c:func:`PyTuple_Check`, :c:func:"
156168
"`PyList_Check`, etc."
157169
msgstr""
170+
"Para testar o tipo de um objeto, primeiramente se certifique de que ele não "
171+
"é ``NULL``, e então use :c:func:`PyBytes_Check`, :c:func:`PyTuple_Check`, :c:"
172+
"func:`PyList_Check`, etc."
158173

159174
#:../../faq/extending.rst:95
160175
msgid""
@@ -165,6 +180,12 @@ msgid ""
165180
"as many other useful protocols such as numbers (:c:func:`PyNumber_Index` et "
166181
"al.) and mappings in the PyMapping APIs."
167182
msgstr""
183+
"Também existe uma API alto-nível para objetos Python fornecida pela chamada "
184+
"interface\"abstrata\" -- leia ``Include/abstract.h`` para mais detalhes. "
185+
"Ela permite interagir com qualquer tipo de sequência Python usando chamadas "
186+
"como :c:func:`PySequence_Length`, :c:func:`PySequence_GetItem`, etc, além de "
187+
"vários outros protocolos úteis tais como números (:c:func:`PyNumber_Index` e "
188+
"outros) e mapeamentos nas APIs PyMapping."
168189

169190
#:../../faq/extending.rst:104
170191
msgid"How do I use Py_BuildValue() to create a tuple of arbitrary length?"
@@ -174,11 +195,11 @@ msgstr ""
174195

175196
#:../../faq/extending.rst:106
176197
msgid"You can't. Use :c:func:`PyTuple_Pack` instead."
177-
msgstr""
198+
msgstr"Não é possível. Use a função :c:func:`PyTuple_Pack` para isso."
178199

179200
#:../../faq/extending.rst:110
180201
msgid"How do I call an object's method from C?"
181-
msgstr""
202+
msgstr"Como eu chamo um método de um objeto a partir do C?"
182203

183204
#:../../faq/extending.rst:112
184205
msgid""
@@ -187,13 +208,20 @@ msgid ""
187208
"to call, a format string like that used with :c:func:`Py_BuildValue`, and "
188209
"the argument values::"
189210
msgstr""
211+
"A função :c:func:`PyObject_CallMethod` pode ser usada para chamar um método "
212+
"arbitrário de um objeto. Os parâmetros são o objeto, o nome do método a ser "
213+
"chamado, uma string de formato como a usada na :c:func:`Py_BuildValue`, e os "
214+
"valores dos argumentos::"
190215

191216
#:../../faq/extending.rst:121
192217
msgid""
193218
"This works for any object that has methods -- whether built-in or user-"
194219
"defined. You are responsible for eventually :c:func:`Py_DECREF`\\ 'ing the "
195220
"return value."
196221
msgstr""
222+
"Isso funciona para qualquer objeto que tenha métodos -- sejam eles embutidos "
223+
"ou definidos por usuário. Você fica então responsável por chamar :c:func:"
224+
"`Py_DECREF` no valor retornado."
197225

198226
#:../../faq/extending.rst:124
199227
msgid""

‎library/enum.po‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@
1212
# Guilherme Alves da Silva, 2023
1313
# Vitor Buxbaum Orlandi, 2023
1414
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
15+
# Alfredo Braga <alfredorodruguesbraga@gmail.com>, 2024
1516
#
1617
#,fuzzy
1718
msgid ""
1819
msgstr ""
1920
"Project-Id-Version:Python 3.8\n"
2021
"Report-Msgid-Bugs-To:\n"
21-
"POT-Creation-Date:2024-08-31 13:50+0000\n"
22+
"POT-Creation-Date:2024-10-04 17:06+0000\n"
2223
"PO-Revision-Date:2020-05-30 12:01+0000\n"
23-
"Last-Translator:Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
24+
"Last-Translator:Alfredo Braga <alfredorodruguesbraga@gmail.com>, 2024\n"
2425
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2526
"teams/5390/pt_BR/)\n"
2627
"MIME-Version:1.0\n"
@@ -324,7 +325,7 @@ msgstr "Comparações"
324325

325326
#:../../library/enum.rst:317
326327
msgid"Enumeration members are compared by identity::"
327-
msgstr""
328+
msgstr"Membros de uma enumeração são comparados por identidade::"
328329

329330
#:../../library/enum.rst:326
330331
msgid""
@@ -345,7 +346,7 @@ msgstr ""
345346

346347
#:../../library/enum.rst:352
347348
msgid"Allowed members and attributes of enumerations"
348-
msgstr""
349+
msgstr"Membros e atributos permitidos em enumerações"
349350

350351
#:../../library/enum.rst:354
351352
msgid""
@@ -361,6 +362,8 @@ msgid ""
361362
"Enumerations are Python classes, and can have methods and special methods as "
362363
"usual. If we have this enumeration::"
363364
msgstr""
365+
"Enumeções são classes Python, e podem ter métodos e até mesmo métodos "
366+
"especiais como de usual. Se temos essa enumeração::"
364367

365368
#:../../library/enum.rst:380
366369
msgid"Then::"
@@ -402,7 +405,7 @@ msgstr ""
402405

403406
#:../../library/enum.rst:421
404407
msgid"But this is allowed::"
405-
msgstr""
408+
msgstr"Mas isso é permitido::"
406409

407410
#:../../library/enum.rst:432
408411
msgid""

‎potodo.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
- newtypes_tutorial.po 28 / 123 ( 22.0% translated).
4141

4242

43-
#faq (76.99% done)
43+
#faq (78.29% done)
4444

4545
- design.po 119 / 139 ( 85.0% translated).
46-
- extending.po13 / 60 (21.0% translated).
46+
- extending.po22 / 60 (36.0% translated).
4747
- library.po 131 / 142 ( 92.0% translated).
4848
- programming.po 269 / 350 ( 76.0% translated).
4949

@@ -70,7 +70,7 @@
7070
- index.po 173 / 225 ( 76.0% translated).
7171

7272

73-
#library (42.62% done)
73+
#library (42.64% done)
7474

7575
- argparse.po 181 / 277 ( 65.0% translated).
7676
- array.po 82 / 83 ( 98.0% translated).
@@ -127,7 +127,7 @@
127127
- email.mime.po 29 / 38 ( 76.0% translated).
128128
- email.parser.po 2 / 47 ( 4.0% translated).
129129
- email.policy.po 12 / 103 ( 11.0% translated).
130-
- enum.po48 / 184 (26.0% translated).
130+
- enum.po52 / 184 (28.0% translated).
131131
- errno.po 8 / 128 ( 6.0% translated).
132132
- exceptions.po 129 / 131 ( 98.0% translated).
133133
- faulthandler.po 2 / 35 ( 5.0% translated).

‎stats.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"58.65%","total":47814,"updated_at":"2024-10-19T13:02:09+00:00Z"}
1+
{"translation":"58.68%","total":47814,"updated_at":"2024-10-22T00:38:17+00:00Z"}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp