Skip to content

Commit 625c68f

Browse files
github-actions[bot]rffontenelleadorilson
committed
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com> Co-Authored-By: python-doc bot Co-Authored-By: Adorilson Bezerra <adorilson@gmail.com> Co-Authored-By: Rainer Terroso
1 parent 80ec70c commit 625c68f

File tree

6 files changed

+49
-20
lines changed

6 files changed

+49
-20
lines changed

extending/newtypes_tutorial.po

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
8+
# Rainer Terroso, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.12\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-03 14:53+0000\n"
15+
"POT-Creation-Date: 2025-11-09 15:45+0000\n"
1516
"PO-Revision-Date: 2025-07-18 19:57+0000\n"
16-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
17+
"Last-Translator: Rainer Terroso, 2025\n"
1718
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1819
"teams/5390/pt_BR/)\n"
1920
"Language: pt_BR\n"
@@ -150,22 +151,26 @@ msgid ""
150151
"Now that's quite a bit to take in at once, but hopefully bits will seem "
151152
"familiar from the previous chapter. This file defines three things:"
152153
msgstr ""
153-
"Agora isso é um pouco para ser absorvido de uma só vez, mas esperamos que os "
154-
"bits pareçam familiares no capítulo anterior. Este arquivo define três "
155-
"coisas:"
154+
"Isso é bastante para ser absorvido de uma só vez, mas esperamos que os bits "
155+
"pareçam familiares no capítulo anterior. Este arquivo define três coisas:"
156156

157157
#: ../../extending/newtypes_tutorial.rst:53
158158
msgid ""
159159
"What a :class:`!Custom` **object** contains: this is the ``CustomObject`` "
160160
"struct, which is allocated once for each :class:`!Custom` instance."
161161
msgstr ""
162+
"O que um objeto :class:`!Custom`contém: esta é a estrutura ``CustomObject``, "
163+
"alocada uma vez para cada instância de :class:`!Custom`."
162164

163165
#: ../../extending/newtypes_tutorial.rst:55
164166
msgid ""
165167
"How the :class:`!Custom` **type** behaves: this is the ``CustomType`` "
166168
"struct, which defines a set of flags and function pointers that the "
167169
"interpreter inspects when specific operations are requested."
168170
msgstr ""
171+
"Como o tipo :class:`!Custom` se comporta: esta é a estrutura ``CustomType``, "
172+
"que define um conjunto de sinalizadores e ponteiros de função que o "
173+
"interpretador inspeciona quando operações específicas são solicitadas."
169174

170175
#: ../../extending/newtypes_tutorial.rst:58
171176
msgid ""
@@ -183,6 +188,9 @@ msgid ""
183188
" PyObject_HEAD\n"
184189
"} CustomObject;"
185190
msgstr ""
191+
"typedef struct {\n"
192+
"PyObject_HEAD\n"
193+
"} CustomObject;"
186194

187195
#: ../../extending/newtypes_tutorial.rst:67
188196
msgid ""
@@ -194,19 +202,32 @@ msgid ""
194202
"abstract away the layout and to enable additional fields in :ref:`debug "
195203
"builds <debug-build>`."
196204
msgstr ""
205+
"Isto é o que um objeto personalizado conterá. ``PyObject_HEAD`` é "
206+
"obrigatório no início de cada estrutura de objeto e define um campo chamado "
207+
"``ob_base`` do tipo :c:type:`PyObject`, contendo um ponteiro para um objeto "
208+
"de tipo e uma contagem de referências (esses podem ser acessados usando os "
209+
"macros :c:macro:`Py_TYPE` e :c:macro:`Py_REFCNT`, respectivamente). O "
210+
"objetivo do macro é abstrair o layout e permitir campos adicionais em :ref:"
211+
"`debug builds<debug-build>`."
197212

198213
#: ../../extending/newtypes_tutorial.rst:76
199214
msgid ""
200215
"There is no semicolon above after the :c:macro:`PyObject_HEAD` macro. Be "
201216
"wary of adding one by accident: some compilers will complain."
202217
msgstr ""
218+
"Não há ponto e vírgula acima após o macro :c:macro:`PyObject_HEAD`. Tenha "
219+
"cuidado para não adicionar um por engano: alguns compiladores podem emitir "
220+
"erros."
203221

204222
#: ../../extending/newtypes_tutorial.rst:79
205223
msgid ""
206224
"Of course, objects generally store additional data besides the standard "
207225
"``PyObject_HEAD`` boilerplate; for example, here is the definition for "
208226
"standard Python floats::"
209227
msgstr ""
228+
"Obviamente, objetos geralmente armazenam dados adicionais além do padrão "
229+
"``PyObject_HEAD`` boilerplate; por exemplo, aqui está a definição do padrão "
230+
"Python floats::"
210231

211232
#: ../../extending/newtypes_tutorial.rst:83
212233
msgid ""

library/exceptions.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-03-07 14:53+0000\n"
14+
"POT-Creation-Date: 2025-10-29 15:59+0000\n"
1515
"PO-Revision-Date: 2025-07-18 19:58+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -863,7 +863,7 @@ msgid ""
863863
"The column in the end line where the error occurred finishes. This is 1-"
864864
"indexed: the first character in the line has an ``offset`` of 1."
865865
msgstr ""
866-
"A coluna da linha final em que erro ocorrido finaliza Este é indexado em 1: "
866+
"A coluna da linha final em que o erro ocorreu termina. Este é indexado em 1: "
867867
"o primeiro caractere na linha tem um ``offset`` de 1."
868868

869869
#: ../../library/exceptions.rst:525
@@ -881,7 +881,7 @@ msgstr ""
881881

882882
#: ../../library/exceptions.rst:530
883883
msgid "Added the :attr:`end_lineno` and :attr:`end_offset` attributes."
884-
msgstr "Adicionado os atributos :attr:`end_lineno` e :attr:`end_offset`."
884+
msgstr "Adicionados os atributos :attr:`end_lineno` e :attr:`end_offset`."
885885

886886
#: ../../library/exceptions.rst:535
887887
msgid ""

library/mimetypes.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2025-11-07 16:23+0000\n"
16+
"POT-Creation-Date: 2025-11-09 15:45+0000\n"
1717
"PO-Revision-Date: 2025-07-18 19:58+0000\n"
1818
"Last-Translator: Adorilson Bezerra <adorilson@gmail.com>, 2025\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -384,6 +384,10 @@ msgid ""
384384
"one is for the standard types. They are initialized by :data:`common_types` "
385385
"and :data:`types_map`."
386386
msgstr ""
387+
"Tupla contendo dois dicionários, mapeando extensões de nomes de arquivo para "
388+
"tipos MIME: o primeiro dicionário é para tipos não padrão e o segundo, para "
389+
"tipos padrão. Eles são inicializados por :data:`common_types` e :data:"
390+
"`types_map`."
387391

388392
#: ../../library/mimetypes.rst:223
389393
msgid ""
@@ -392,6 +396,10 @@ msgid ""
392396
"second one is for the standard types. They are initialized by :data:"
393397
"`common_types` and :data:`types_map`."
394398
msgstr ""
399+
"Tupla contendo dois dicionários, mapeando tipos MIM para uma lista de "
400+
"extensões de nomes de arquivo: o primeiro para os tipos não padrão e o "
401+
"segundo para os tipos padrão. Eles são inicializados por :data:"
402+
"`common_types` e :data:`types_map`."
395403

396404
#: ../../library/mimetypes.rst:231
397405
msgid ""

potodo.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
1 directory 65.21% done
2-
└── 3.12/ 65.21% done
1+
1 directory 65.23% done
2+
└── 3.12/ 65.23% done
33
├── installing/ 100.00% done
44
├── distributing/ 100.00% done
55
├── faq/ 99.68% done
66
│ └── library.po 157 / 162 ( 96.0% translated)
77
├── using/ 100.00% done
88
├── reference/ 100.00% done
9-
├── library/ 58.68% done
9+
├── library/ 58.69% done
1010
│ ├── 2to3.po 121 / 132 ( 91.0% translated)
1111
│ ├── array.po 80 / 84 ( 95.0% translated)
1212
│ ├── ast.po 255 / 306 ( 83.0% translated)
@@ -74,7 +74,7 @@
7474
│ ├── logging.po 106 / 368 ( 28.0% translated)
7575
│ ├── mailbox.po 21 / 290 ( 7.0% translated)
7676
│ ├── mailcap.po 2 / 16 ( 12.0% translated)
77-
│ ├── mimetypes.po 42 / 51 ( 82.0% translated)
77+
│ ├── mimetypes.po 44 / 51 ( 86.0% translated)
7878
│ ├── mmap.po 22 / 59 ( 37.0% translated)
7979
│ ├── msilib.po 7 / 97 ( 7.0% translated)
8080
│ ├── multiprocessing.po 344 / 594 ( 57.0% translated)
@@ -140,11 +140,11 @@
140140
│ ├── unicode.po 30 / 145 ( 20.0% translated)
141141
│ └── urllib2.po 98 / 100 ( 98.0% translated)
142142
├── tutorial/ 100.00% done
143-
├── extending/ 19.74% done
143+
├── extending/ 20.52% done
144144
│ ├── embedding.po 5 / 58 ( 8.0% translated)
145145
│ ├── extending.po 59 / 207 ( 28.0% translated)
146146
│ ├── newtypes.po 8 / 117 ( 6.0% translated)
147-
│ └── newtypes_tutorial.po 28 / 177 ( 15.0% translated)
147+
│ └── newtypes_tutorial.po 34 / 177 ( 19.0% translated)
148148
├── whatsnew/ 74.17% done
149149
│ ├── 2.3.po 327 / 387 ( 84.0% translated)
150150
│ ├── 2.4.po 266 / 319 ( 83.0% translated)

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "65.21%", "translated": 43863, "entries": 62010, "updated_at": "2025-11-08T23:40:35+00:00Z"}
1+
{"completion": "65.23%", "translated": 43871, "entries": 62010, "updated_at": "2025-11-09T23:40:01+00:00Z"}

using/cmdline.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ msgid ""
611611
"adding ``.opt-1`` before the ``.pyc`` extension (see :pep:`488`). See also :"
612612
"envvar:`PYTHONOPTIMIZE`."
613613
msgstr ""
614-
"Remova as instruções de asserção e qualquer código condicional ao valor de :"
614+
"Remove as instruções de asserção e qualquer código condicional ao valor de :"
615615
"const:`__debug__`. Aumenta o nome do arquivo para arquivos compilados (:term:"
616616
"`bytecode`) adicionando ``.opt-1`` antes da extensão ``.pyc`` (veja :pep:"
617617
"`488`). Veja também :envvar:`PYTHONOPTIMIZE`."
@@ -626,9 +626,9 @@ msgid ""
626626
"compiled (:term:`bytecode`) files by adding ``.opt-2`` before the ``.pyc`` "
627627
"extension (see :pep:`488`)."
628628
msgstr ""
629-
"Faz o mesmo que :option:`-O` e também descarta docstrings. Aumenta o nome do "
630-
"arquivo para arquivos compilados (:term:`bytecode`) adicionando ``.opt-2`` "
631-
"antes da extensão ``.pyc`` (veja :pep:`488`)."
629+
"Faz o mesmo que :option:`-O` e também descarta strings de documentação. "
630+
"Aumenta o nome do arquivo para arquivos compilados (:term:`bytecode`) "
631+
"adicionando ``.opt-2`` antes da extensão ``.pyc`` (veja :pep:`488`)."
632632

633633
#: ../../using/cmdline.rst:343
634634
msgid "Don't prepend a potentially unsafe path to :data:`sys.path`:"

0 commit comments

Comments
 (0)