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

Skip to content

Commit 3938fb8

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <[email protected]>
1 parent 626badd commit 3938fb8

20 files changed

+14188
-13920
lines changed

c-api/capsule.po

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-03 14:16+0000\n"
14+
"POT-Creation-Date: 2025-07-04 15:01+0000\n"
1515
"PO-Revision-Date: 2025-05-08 05:08+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -204,17 +204,31 @@ msgstr ""
204204

205205
#: ../../c-api/capsule.rst:108
206206
msgid ""
207+
"This function splits *name* on the ``.`` character, and imports the first "
208+
"element. It then processes further elements using attribute lookups."
209+
msgstr ""
210+
211+
#: ../../c-api/capsule.rst:111
212+
msgid ""
207213
"Return the capsule's internal *pointer* on success. On failure, set an "
208214
"exception and return ``NULL``."
209215
msgstr ""
210216
"Retorna o ponteiro interno *pointer* da cápsula com sucesso. Em caso de "
211217
"falha, define uma exceção e retorna ``NULL``."
212218

213-
#: ../../c-api/capsule.rst:111
219+
#: ../../c-api/capsule.rst:116
220+
msgid ""
221+
"If *name* points to an attribute of some submodule or subpackage, this "
222+
"submodule or subpackage must be previously imported using other means (for "
223+
"example, by using :c:func:`PyImport_ImportModule`) for the attribute lookups "
224+
"to succeed."
225+
msgstr ""
226+
227+
#: ../../c-api/capsule.rst:121
214228
msgid "*no_block* has no effect anymore."
215229
msgstr "*no_block* não tem mais efeito."
216230

217-
#: ../../c-api/capsule.rst:117
231+
#: ../../c-api/capsule.rst:127
218232
msgid ""
219233
"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
220234
"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` "
@@ -228,7 +242,7 @@ msgstr ""
228242
"parâmetro *name*. (Consulte :c:func:`PyCapsule_GetPointer` para obter "
229243
"informações sobre como os nomes das cápsulas são comparados.)"
230244

231-
#: ../../c-api/capsule.rst:123
245+
#: ../../c-api/capsule.rst:133
232246
msgid ""
233247
"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
234248
"to any of the accessors (any function starting with ``PyCapsule_Get``) are "
@@ -238,31 +252,31 @@ msgstr ""
238252
"verdadeiro, as chamadas para qualquer um dos acessadores (qualquer função "
239253
"que comece com ``PyCapsule_Get``) terão êxito garantido."
240254

241-
#: ../../c-api/capsule.rst:127
255+
#: ../../c-api/capsule.rst:137
242256
msgid ""
243257
"Return a nonzero value if the object is valid and matches the name passed "
244258
"in. Return ``0`` otherwise. This function will not fail."
245259
msgstr ""
246260
"Retorna um valor diferente de zero se o objeto for válido e corresponder ao "
247261
"nome passado. Retorna ``0`` caso contrário. Esta função não falhará."
248262

249-
#: ../../c-api/capsule.rst:133
263+
#: ../../c-api/capsule.rst:143
250264
msgid "Set the context pointer inside *capsule* to *context*."
251265
msgstr "Define o ponteiro de contexto dentro de *capsule* para *context*."
252266

253-
#: ../../c-api/capsule.rst:135 ../../c-api/capsule.rst:142
254-
#: ../../c-api/capsule.rst:151 ../../c-api/capsule.rst:159
267+
#: ../../c-api/capsule.rst:145 ../../c-api/capsule.rst:152
268+
#: ../../c-api/capsule.rst:161 ../../c-api/capsule.rst:169
255269
msgid ""
256270
"Return ``0`` on success. Return nonzero and set an exception on failure."
257271
msgstr ""
258272
"Retorna ``0`` em caso de sucesso. Retorna diferente de zero e define uma "
259273
"exceção em caso de falha."
260274

261-
#: ../../c-api/capsule.rst:140
275+
#: ../../c-api/capsule.rst:150
262276
msgid "Set the destructor inside *capsule* to *destructor*."
263277
msgstr "Define o destrutor dentro de *capsule* para *destructor*."
264278

265-
#: ../../c-api/capsule.rst:147
279+
#: ../../c-api/capsule.rst:157
266280
msgid ""
267281
"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
268282
"outlive the capsule. If the previous *name* stored in the capsule was not "
@@ -272,7 +286,7 @@ msgstr ""
272286
"deve sobreviver à cápsula. Se o *name* anterior armazenado na cápsula não "
273287
"era ``NULL``, nenhuma tentativa será feita para liberá-lo."
274288

275-
#: ../../c-api/capsule.rst:156
289+
#: ../../c-api/capsule.rst:166
276290
msgid ""
277291
"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
278292
"``NULL``."

deprecations/c-api-pending-removal-in-3.15.po

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-03 14:16+0000\n"
14+
"POT-Creation-Date: 2025-07-04 15:01+0000\n"
1515
"PO-Revision-Date: 2025-05-08 05:09+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -28,73 +28,69 @@ msgid "Pending Removal in Python 3.15"
2828
msgstr "Remoção pendente no Python 3.15"
2929

3030
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:4
31-
msgid "The bundled copy of ``libmpdecimal``."
32-
msgstr "A cópia empacotada do ``libmpdecimal``."
33-
34-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:5
3531
msgid ""
3632
"The :c:func:`PyImport_ImportModuleNoBlock`: Use :c:func:"
3733
"`PyImport_ImportModule` instead."
3834
msgstr ""
3935
"The :c:func:`PyImport_ImportModuleNoBlock`: use :c:func:"
4036
"`PyImport_ImportModule`."
4137

42-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:7
38+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:6
4339
msgid ""
4440
":c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`: Use :c:"
4541
"func:`PyWeakref_GetRef` instead."
4642
msgstr ""
4743
":c:func:`PyWeakref_GetObject` e :c:func:`PyWeakref_GET_OBJECT`: use :c:func:"
4844
"`PyWeakref_GetRef`."
4945

50-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:9
46+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:8
5147
msgid ""
5248
":c:type:`Py_UNICODE` type and the :c:macro:`!Py_UNICODE_WIDE` macro: Use :c:"
5349
"type:`wchar_t` instead."
5450
msgstr ""
5551
"O tipo :c:type:`Py_UNICODE` e a macro :c:macro:`!Py_UNICODE_WIDE`: use :c:"
5652
"type:`wchar_t`."
5753

58-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:11
54+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:10
5955
msgid "Python initialization functions:"
6056
msgstr "Funções de inicialização do Python"
6157

62-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:13
58+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:12
6359
msgid ""
6460
":c:func:`PySys_ResetWarnOptions`: Clear :data:`sys.warnoptions` and :data:`!"
6561
"warnings.filters` instead."
6662
msgstr ""
6763
":c:func:`PySys_ResetWarnOptions`: apague :data:`sys.warnoptions` e :data:`!"
6864
"warnings.filters`."
6965

70-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:15
66+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:14
7167
msgid ""
7268
":c:func:`Py_GetExecPrefix`: Get :data:`sys.base_exec_prefix` and :data:`sys."
7369
"exec_prefix` instead."
7470
msgstr ""
7571
":c:func:`Py_GetExecPrefix`: obtenha :data:`sys.base_exec_prefix` e :data:"
7672
"`sys.exec_prefix`."
7773

78-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:17
74+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:16
7975
msgid ":c:func:`Py_GetPath`: Get :data:`sys.path` instead."
8076
msgstr ":c:func:`Py_GetPath`: leia :data:`sys.path`."
8177

82-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:19
78+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:18
8379
msgid ""
8480
":c:func:`Py_GetPrefix`: Get :data:`sys.base_prefix` and :data:`sys.prefix` "
8581
"instead."
8682
msgstr ""
8783
":c:func:`Py_GetPrefix`: obtenha :data:`sys.base_prefix` e :data:`sys.prefix`."
8884

89-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:21
85+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:20
9086
msgid ":c:func:`Py_GetProgramFullPath`: Get :data:`sys.executable` instead."
9187
msgstr ":c:func:`Py_GetProgramFullPath`: leia :data:`sys.executable`."
9288

93-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:23
89+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:22
9490
msgid ":c:func:`Py_GetProgramName`: Get :data:`sys.executable` instead."
9591
msgstr ":c:func:`Py_GetProgramName`: leia :data:`sys.executable`."
9692

97-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:25
93+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:24
9894
msgid ""
9995
":c:func:`Py_GetPythonHome`: Get :c:member:`PyConfig.home` or the :envvar:"
10096
"`PYTHONHOME` environment variable instead."
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2001-2025, Python Software Foundation
3+
# This file is distributed under the same license as the Python package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
# Translators:
7+
# Rafael Fontenelle <[email protected]>, 2025
8+
#
9+
#, fuzzy
10+
msgid ""
11+
msgstr ""
12+
"Project-Id-Version: Python 3.13\n"
13+
"Report-Msgid-Bugs-To: \n"
14+
"POT-Creation-Date: 2025-07-04 15:01+0000\n"
15+
"PO-Revision-Date: 2025-07-04 15:03+0000\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
17+
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
18+
"teams/5390/pt_BR/)\n"
19+
"Language: pt_BR\n"
20+
"MIME-Version: 1.0\n"
21+
"Content-Type: text/plain; charset=UTF-8\n"
22+
"Content-Transfer-Encoding: 8bit\n"
23+
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % "
24+
"1000000 == 0 ? 1 : 2;\n"
25+
26+
#: ../../deprecations/c-api-pending-removal-in-3.16.rst:2
27+
msgid "Pending removal in Python 3.16"
28+
msgstr "Remoção pendente no Python 3.16"
29+
30+
#: ../../deprecations/c-api-pending-removal-in-3.16.rst:4
31+
msgid "The bundled copy of ``libmpdec``."
32+
msgstr "A cópia empacotada do ``libmpdec``."

deprecations/index.po

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-05-16 14:58+0000\n"
14+
"POT-Creation-Date: 2025-07-04 15:01+0000\n"
1515
"PO-Revision-Date: 2025-05-08 05:09+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -1219,73 +1219,69 @@ msgstr ""
12191219
"`Py_PreInitialize`)"
12201220

12211221
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:4
1222-
msgid "The bundled copy of ``libmpdecimal``."
1223-
msgstr "A cópia empacotada do ``libmpdecimal``."
1224-
1225-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:5
12261222
msgid ""
12271223
"The :c:func:`PyImport_ImportModuleNoBlock`: Use :c:func:"
12281224
"`PyImport_ImportModule` instead."
12291225
msgstr ""
12301226
"The :c:func:`PyImport_ImportModuleNoBlock`: use :c:func:"
12311227
"`PyImport_ImportModule`."
12321228

1233-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:7
1229+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:6
12341230
msgid ""
12351231
":c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`: Use :c:"
12361232
"func:`PyWeakref_GetRef` instead."
12371233
msgstr ""
12381234
":c:func:`PyWeakref_GetObject` e :c:func:`PyWeakref_GET_OBJECT`: use :c:func:"
12391235
"`PyWeakref_GetRef`."
12401236

1241-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:9
1237+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:8
12421238
msgid ""
12431239
":c:type:`Py_UNICODE` type and the :c:macro:`!Py_UNICODE_WIDE` macro: Use :c:"
12441240
"type:`wchar_t` instead."
12451241
msgstr ""
12461242
"O tipo :c:type:`Py_UNICODE` e a macro :c:macro:`!Py_UNICODE_WIDE`: use :c:"
12471243
"type:`wchar_t`."
12481244

1249-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:11
1245+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:10
12501246
msgid "Python initialization functions:"
12511247
msgstr "Funções de inicialização do Python"
12521248

1253-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:13
1249+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:12
12541250
msgid ""
12551251
":c:func:`PySys_ResetWarnOptions`: Clear :data:`sys.warnoptions` and :data:`!"
12561252
"warnings.filters` instead."
12571253
msgstr ""
12581254
":c:func:`PySys_ResetWarnOptions`: apague :data:`sys.warnoptions` e :data:`!"
12591255
"warnings.filters`."
12601256

1261-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:15
1257+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:14
12621258
msgid ""
12631259
":c:func:`Py_GetExecPrefix`: Get :data:`sys.base_exec_prefix` and :data:`sys."
12641260
"exec_prefix` instead."
12651261
msgstr ""
12661262
":c:func:`Py_GetExecPrefix`: obtenha :data:`sys.base_exec_prefix` e :data:"
12671263
"`sys.exec_prefix`."
12681264

1269-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:17
1265+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:16
12701266
msgid ":c:func:`Py_GetPath`: Get :data:`sys.path` instead."
12711267
msgstr ":c:func:`Py_GetPath`: leia :data:`sys.path`."
12721268

1273-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:19
1269+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:18
12741270
msgid ""
12751271
":c:func:`Py_GetPrefix`: Get :data:`sys.base_prefix` and :data:`sys.prefix` "
12761272
"instead."
12771273
msgstr ""
12781274
":c:func:`Py_GetPrefix`: obtenha :data:`sys.base_prefix` e :data:`sys.prefix`."
12791275

1280-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:21
1276+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:20
12811277
msgid ":c:func:`Py_GetProgramFullPath`: Get :data:`sys.executable` instead."
12821278
msgstr ":c:func:`Py_GetProgramFullPath`: leia :data:`sys.executable`."
12831279

1284-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:23
1280+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:22
12851281
msgid ":c:func:`Py_GetProgramName`: Get :data:`sys.executable` instead."
12861282
msgstr ":c:func:`Py_GetProgramName`: leia :data:`sys.executable`."
12871283

1288-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:25
1284+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:24
12891285
msgid ""
12901286
":c:func:`Py_GetPythonHome`: Get :c:member:`PyConfig.home` or the :envvar:"
12911287
"`PYTHONHOME` environment variable instead."

howto/enum.po

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,12 @@ msgid ""
377377
"... 'answer SO questions': Weekday.SATURDAY,\n"
378378
"... }"
379379
msgstr ""
380+
">>> tarefas_do_joão = {\n"
381+
"... 'alimentar o gato': DiaDaSemana.SEGUNDA | DiaDaSemana.QUARTA | "
382+
"DiaDaSemana.SEXTA,\n"
383+
"... 'lavar a louça': DiaDaSemana.TERÇA | DiaDaSemana.QUINTA,\n"
384+
"... 'responder perguntas no SO': DiaDaSemana.SÁBADO,\n"
385+
"... }"
380386

381387
#: ../../howto/enum.rst:160
382388
msgid "And a function to display the chores for a given day::"
@@ -392,12 +398,21 @@ msgid ""
392398
">>> show_chores(chores_for_ethan, Weekday.SATURDAY)\n"
393399
"answer SO questions"
394400
msgstr ""
401+
">>> def mostrar_tarefas(tarefas, dia):\n"
402+
"... for tarefa, dias in tarefas.items():\n"
403+
"... if dia in dias:\n"
404+
"... print(tarefa)\n"
405+
"...\n"
406+
">>> mostrar_tarefas(tarefas_do_joão, DiaDaSemana.SÁBADO)\n"
407+
"responder perguntas no SO"
395408

396409
#: ../../howto/enum.rst:170
397410
msgid ""
398411
"In cases where the actual values of the members do not matter, you can save "
399412
"yourself some work and use :func:`auto` for the values::"
400413
msgstr ""
414+
"Quando os valores em si dos membros não forem importantes, você pode "
415+
"economizar trabalho e usar :func:`auto` para eles::"
401416

402417
#: ../../howto/enum.rst:173
403418
msgid ""
@@ -412,6 +427,16 @@ msgid ""
412427
"... SUNDAY = auto()\n"
413428
"... WEEKEND = SATURDAY | SUNDAY"
414429
msgstr ""
430+
">>> from enum import auto\n"
431+
">>> class DiaDaSemana(Flag):\n"
432+
"... SEGUNDA = auto()\n"
433+
"... TERÇA = auto()\n"
434+
"... QUARTA = auto()\n"
435+
"... QUINTA = auto()\n"
436+
"... SEXTA = auto()\n"
437+
"... SÁBADO = auto()\n"
438+
"... DOMINGO = auto()\n"
439+
"... FIM_DE_SEMANA = SÁBADO | DOMINGO"
415440

416441
#: ../../howto/enum.rst:189
417442
msgid "Programmatic access to enumeration members and their attributes"
@@ -424,9 +449,9 @@ msgid ""
424449
"known at program-writing time). ``Enum`` allows such access::"
425450
msgstr ""
426451
"Em alguns momentos, é util ter acesso aos membros na enumeração de forma "
427-
"programática(ou seja, em situações em que ``Color.RED`` não é adequado "
428-
"porque a cor exata não é conhecida no momento da escrita do programa)."
429-
"``Enum`` permite esse tipo de acesso:"
452+
"programática (ou seja, em situações em que ``Cor.RED`` não é adequado porque "
453+
"a cor exata não é conhecida no momento da escrita do programa). "
454+
"Classes``Enum`` permitem esse tipo de acesso::"
430455

431456
#: ../../howto/enum.rst:195
432457
msgid ""

0 commit comments

Comments
 (0)