Skip to content

Commit 1b616a3

Browse files
Update translation
Co-Authored-By: Rainer Terroso Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com>
1 parent 1a39596 commit 1b616a3

13 files changed

Lines changed: 477 additions & 100 deletions

File tree

c-api/conversion.po

Lines changed: 6 additions & 2 deletions
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-11-11 14:15+0000\n"
15+
"POT-Creation-Date: 2025-11-17 14:14+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -273,16 +273,20 @@ msgstr ""
273273
#: ../../c-api/conversion.rst:131
274274
msgid "*flags* can be zero or more of the following values or-ed together:"
275275
msgstr ""
276+
"*flags* podem ser zero ou mais dos seguintes valores combinados por meio do "
277+
"operador OR:"
276278

277279
#: ../../c-api/conversion.rst:135
278280
msgid ""
279281
"Always precede the returned string with a sign character, even if *val* is "
280282
"non-negative."
281283
msgstr ""
284+
"Sempre preceda a string retornada com um caractere de sinal, mesmo que *val* "
285+
"não seja negativo."
282286

283287
#: ../../c-api/conversion.rst:140
284288
msgid "Ensure that the returned string will not look like an integer."
285-
msgstr ""
289+
msgstr "Garante que a string retornada não se pareça com um número inteiro."
286290

287291
#: ../../c-api/conversion.rst:144
288292
msgid ""

c-api/descriptor.po

Lines changed: 19 additions & 3 deletions
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-11-11 14:15+0000\n"
15+
"POT-Creation-Date: 2025-11-17 14:14+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -26,7 +26,7 @@ msgstr ""
2626

2727
#: ../../c-api/descriptor.rst:6
2828
msgid "Descriptor Objects"
29-
msgstr "Objetos Descritores"
29+
msgstr "Objetos descritores"
3030

3131
#: ../../c-api/descriptor.rst:8
3232
msgid ""
@@ -52,48 +52,64 @@ msgstr ""
5252

5353
#: ../../c-api/descriptor.rst:44
5454
msgid "Built-in descriptors"
55-
msgstr ""
55+
msgstr "Descritores embutidos"
5656

5757
#: ../../c-api/descriptor.rst:48
5858
msgid ""
5959
"The type object for super objects. This is the same object as :class:`super` "
6060
"in the Python layer."
6161
msgstr ""
62+
"O objeto de tipo para superobjetos. Este é o mesmo objeto que :class:`super` "
63+
"na camada Python."
6264

6365
#: ../../c-api/descriptor.rst:54
6466
msgid ""
6567
"The type of class method objects. This is the same object as :class:"
6668
"`classmethod` in the Python layer."
6769
msgstr ""
70+
"O tipo de objeto de método de classe. Este é o mesmo objeto que :class:"
71+
"`classmethod` na camada Python."
6872

6973
#: ../../c-api/descriptor.rst:60
7074
msgid ""
7175
"Create a new :class:`classmethod` object wrapping *callable*. *callable* "
7276
"must be a callable object and must not be ``NULL``."
7377
msgstr ""
78+
"Cria um novo objeto :class:`classmethod` que envolve *callable*. *callable* "
79+
"deve ser um objeto chamável e não deve ser ``NULL``."
7480

7581
#: ../../c-api/descriptor.rst:63
7682
msgid ""
7783
"On success, this function returns a :term:`strong reference` to a new class "
7884
"method descriptor. On failure, this function returns ``NULL`` with an "
7985
"exception set."
8086
msgstr ""
87+
"Em caso de sucesso, esta função retorna uma :term:`referência forte` a um "
88+
"novo descritor de método de classe. Em caso de falha, esta função retorna "
89+
"``NULL`` com uma exceção definida."
8190

8291
#: ../../c-api/descriptor.rst:70
8392
msgid ""
8493
"The type of static method objects. This is the same object as :class:"
8594
"`staticmethod` in the Python layer."
8695
msgstr ""
96+
"O tipo de objeto de método estático. Este é o mesmo objeto que :class:"
97+
"`staticmethod` na camada Python."
8798

8899
#: ../../c-api/descriptor.rst:76
89100
msgid ""
90101
"Create a new :class:`staticmethod` object wrapping *callable*. *callable* "
91102
"must be a callable object and must not be ``NULL``."
92103
msgstr ""
104+
"Cria um novo objeto :class:`staticmethod` que envolve *callable*. *callable* "
105+
"deve ser um objeto chamável e não deve ser ``NULL``."
93106

94107
#: ../../c-api/descriptor.rst:79
95108
msgid ""
96109
"On success, this function returns a :term:`strong reference` to a new static "
97110
"method descriptor. On failure, this function returns ``NULL`` with an "
98111
"exception set."
99112
msgstr ""
113+
"Em caso de sucesso, esta função retorna uma :term:`referência forte` a um "
114+
"novo descritor de método estático. Em caso de falha, esta função retorna "
115+
"``NULL`` com uma exceção definida."

c-api/frame.po

Lines changed: 23 additions & 8 deletions
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-11-13 18:32+0000\n"
15+
"POT-Creation-Date: 2025-11-17 14:14+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -77,6 +77,9 @@ msgid ""
7777
"to the new frame object on success, and returns ``NULL`` with an exception "
7878
"set on failure."
7979
msgstr ""
80+
"Cria um novo objeto quadro. Esta função retorna uma :term:`referência forte` "
81+
"ao novo objeto quadro em caso de sucesso e retorna ``NULL`` com uma exceção "
82+
"definida em caso de falha."
8083

8184
#: ../../c-api/frame.rst:40
8285
msgid "Return non-zero if *obj* is a frame object."
@@ -103,7 +106,7 @@ msgstr ""
103106

104107
#: ../../c-api/frame.rst:59
105108
msgid "Get the *frame*'s :attr:`~frame.f_builtins` attribute."
106-
msgstr ""
109+
msgstr "Obtém o atributo :attr:`~frame.f_builtins` do *frame*."
107110

108111
#: ../../c-api/frame.rst:61 ../../c-api/frame.rst:92
109112
msgid "Return a :term:`strong reference`. The result cannot be ``NULL``."
@@ -138,42 +141,47 @@ msgstr "Retorna uma :term:`referência forte`, ou ``NULL``."
138141

139142
#: ../../c-api/frame.rst:90
140143
msgid "Get the *frame*'s :attr:`~frame.f_globals` attribute."
141-
msgstr ""
144+
msgstr "Obtenha o atributo :attr:`~frame.f_globals` do *frame*."
142145

143146
#: ../../c-api/frame.rst:99
144147
msgid "Get the *frame*'s :attr:`~frame.f_lasti` attribute."
145-
msgstr ""
148+
msgstr "Obtenha o atributo :attr:`~frame.f_lasti` do *frame*."
146149

147150
#: ../../c-api/frame.rst:101
148151
msgid "Returns -1 if ``frame.f_lasti`` is ``None``."
149152
msgstr "Retorna -1 se ``frame.f_lasti`` é ``None``."
150153

151154
#: ../../c-api/frame.rst:108
152155
msgid "Get the variable *name* of *frame*."
153-
msgstr ""
156+
msgstr "Obtém a variável *name* de *frame*."
154157

155158
#: ../../c-api/frame.rst:110
156159
msgid "Return a :term:`strong reference` to the variable value on success."
157160
msgstr ""
161+
"Retorna uma :term:`referência forte` ao valor da variável em caso de sucesso."
158162

159163
#: ../../c-api/frame.rst:111
160164
msgid ""
161165
"Raise :exc:`NameError` and return ``NULL`` if the variable does not exist."
162166
msgstr ""
167+
"Levanta uma exceção :exc:`NameError` e retorna ``NULL`` se a variável não "
168+
"existir."
163169

164170
#: ../../c-api/frame.rst:112
165171
msgid "Raise an exception and return ``NULL`` on error."
166-
msgstr ""
172+
msgstr "Levanta uma exceção e retorna ``NULL`` em caso de erro."
167173

168174
#: ../../c-api/frame.rst:114
169175
msgid "*name* type must be a :class:`str`."
170-
msgstr ""
176+
msgstr "Tipo de *name* deve ser um :class:`str`."
171177

172178
#: ../../c-api/frame.rst:121
173179
msgid ""
174180
"Similar to :c:func:`PyFrame_GetVar`, but the variable name is a C string "
175181
"encoded in UTF-8."
176182
msgstr ""
183+
"Semelhante a :c:func:`PyFrame_GetVar`, mas o nome da variável é uma string C "
184+
"codificada em UTF-8."
177185

178186
#: ../../c-api/frame.rst:129
179187
msgid ""
@@ -183,12 +191,19 @@ msgid ""
183191
"`exec`, :func:`eval`) it returns the mapping representing the frame locals "
184192
"directly (as described for :func:`locals`)."
185193
msgstr ""
194+
"Obtém o atributo :attr:`~frame.f_locals` do *frame*. Se o quadro se referir "
195+
"a um escopo otimizado, isso retorna um objeto proxy de escrita direta que "
196+
"permite modificar as variáveis ​​locais. Em todos os outros casos (classes, "
197+
"módulos, :func:`exec` e :func:`eval`), retorna o mapeamento que representa "
198+
"as variáveis ​​locais do frame diretamente (como descrito para :func:`locals`)."
186199

187200
#: ../../c-api/frame.rst:140
188201
msgid ""
189202
"As part of :pep:`667`, return an instance of :c:var:"
190203
"`PyFrameLocalsProxy_Type`."
191204
msgstr ""
205+
"Como parte de :pep:`667`, retorna uma instância de :c:var:"
206+
"`PyFrameLocalsProxy_Type`."
192207

193208
#: ../../c-api/frame.rst:146
194209
msgid "Return the line number that *frame* is currently executing."
@@ -265,7 +280,7 @@ msgstr ""
265280

266281
#: ../../c-api/frame.rst:218
267282
msgid ":pep:`667`"
268-
msgstr ""
283+
msgstr ":pep:`667`"
269284

270285
#: ../../c-api/frame.rst:222
271286
msgid "Internal Frames"

c-api/hash.po

Lines changed: 27 additions & 13 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-11-09 14:13+0000\n"
15+
"POT-Creation-Date: 2025-11-17 14:14+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"
@@ -46,51 +47,64 @@ msgid ""
4647
"A numerical value indicating the algorithm for hashing of :class:`str`, :"
4748
"class:`bytes`, and :class:`memoryview`."
4849
msgstr ""
50+
"Um valor numérico que indica o algoritmo de hash para :class:`str`, :class:"
51+
"`bytes` e :class:`memoryview`."
4952

5053
#: ../../c-api/hash.rst:27
5154
msgid "The algorithm name is exposed by :data:`sys.hash_info.algorithm`."
52-
msgstr ""
55+
msgstr "O nome do algoritmo é exposto por :data:`sys.hash_info.algorithm`."
5356

5457
#: ../../c-api/hash.rst:36
5558
msgid ""
5659
"Numerical values to compare to :c:macro:`Py_HASH_ALGORITHM` to determine "
5760
"which algorithm is used for hashing. The hash algorithm can be configured "
5861
"via the configure :option:`--with-hash-algorithm` option."
5962
msgstr ""
63+
"Valores numéricos a serem comparados com :c:macro:`Py_HASH_ALGORITHM` para "
64+
"determinar qual algoritmo é usado para o hashing. O algoritmo de hash pode "
65+
"ser configurado através da opção :option:`--with-hash-algorithm` do comando "
66+
"configure."
6067

6168
#: ../../c-api/hash.rst:40
6269
msgid "Add :c:macro:`!Py_HASH_FNV` and :c:macro:`!Py_HASH_SIPHASH24`."
63-
msgstr ""
70+
msgstr "Adiciona :c:macro:`!Py_HASH_FNV` e :c:macro:`!Py_HASH_SIPHASH24`."
6471

6572
#: ../../c-api/hash.rst:43
6673
msgid "Add :c:macro:`!Py_HASH_SIPHASH13`."
67-
msgstr ""
74+
msgstr "Adiciona :c:macro:`!Py_HASH_SIPHASH13`."
6875

6976
#: ../../c-api/hash.rst:49
7077
msgid ""
7178
"Buffers of length in range ``[1, Py_HASH_CUTOFF)`` are hashed using DJBX33A "
7279
"instead of the algorithm described by :c:macro:`Py_HASH_ALGORITHM`."
7380
msgstr ""
81+
"Buffers de comprimento no intervalo ``[1, Py_HASH_CUTOFF)`` são hasheados "
82+
"usando DJBX33A em vez do algoritmo descrito por :c:macro:`Py_HASH_ALGORITHM`."
7483

7584
#: ../../c-api/hash.rst:52
7685
msgid "A :c:macro:`!Py_HASH_CUTOFF` of 0 disables the optimization."
77-
msgstr ""
86+
msgstr "Uma :c:macro:`!Py_HASH_CUTOFF` de 0 desabilita a otimização."
7887

7988
#: ../../c-api/hash.rst:53
8089
msgid ""
8190
":c:macro:`!Py_HASH_CUTOFF` must be non-negative and less or equal than 7."
8291
msgstr ""
92+
":c:macro:`!Py_HASH_CUTOFF` deve ser não-negativo ou menor ou igual a 7."
8393

8494
#: ../../c-api/hash.rst:55
8595
msgid ""
8696
"32-bit platforms should use a cutoff smaller than 64-bit platforms because "
8797
"it is easier to create colliding strings. A cutoff of 7 on 64-bit platforms "
8898
"and 5 on 32-bit platforms should provide a decent safety margin."
8999
msgstr ""
100+
"Plataformas de 32 bits devem usar um limite de corte menor do que "
101+
"plataformas de 64 bits, pois é mais fácil criar strings que colidam. Um "
102+
"limite de corte de 7 em plataformas de 64 bits e 5 em plataformas de 32 bits "
103+
"deve fornecer uma margem de segurança adequada."
90104

91105
#: ../../c-api/hash.rst:59
92106
msgid "This corresponds to the :data:`sys.hash_info.cutoff` constant."
93-
msgstr ""
107+
msgstr "Isso corresponde à constante :data:`sys.hash_info.cutoff`."
94108

95109
#: ../../c-api/hash.rst:66
96110
msgid ""
@@ -102,7 +116,7 @@ msgstr ""
102116

103117
#: ../../c-api/hash.rst:69
104118
msgid "This corresponds to the :data:`sys.hash_info.modulus` constant."
105-
msgstr ""
119+
msgstr "Isso corresponde à constante :data:`sys.hash_info.modulus`."
106120

107121
#: ../../c-api/hash.rst:76
108122
msgid "The exponent ``n`` of ``P`` in :c:macro:`PyHASH_MODULUS`."
@@ -118,15 +132,15 @@ msgstr "O valor de hash retornado para um infinito positivo."
118132

119133
#: ../../c-api/hash.rst:92
120134
msgid "This corresponds to the :data:`sys.hash_info.inf` constant."
121-
msgstr ""
135+
msgstr "Isso corresponde à constante :data:`sys.hash_info.inf`."
122136

123137
#: ../../c-api/hash.rst:99
124138
msgid "The multiplier used for the imaginary part of a complex number."
125139
msgstr "O multiplicador usado para a parte imaginária de um número complexo."
126140

127141
#: ../../c-api/hash.rst:101
128142
msgid "This corresponds to the :data:`sys.hash_info.imag` constant."
129-
msgstr ""
143+
msgstr "Isso corresponde à constante :data:`sys.hash_info.imag`."
130144

131145
#: ../../c-api/hash.rst:108
132146
msgid "Hash function definition used by :c:func:`PyHash_GetFuncDef`."
@@ -142,23 +156,23 @@ msgstr "Nome de função hash (string codificada em UTF-8)."
142156

143157
#: ../../c-api/hash.rst:118
144158
msgid "This corresponds to the :data:`sys.hash_info.algorithm` constant."
145-
msgstr ""
159+
msgstr "Isso corresponde à constante :data:`sys.hash_info.algorithm`."
146160

147161
#: ../../c-api/hash.rst:122
148162
msgid "Internal size of the hash value in bits."
149163
msgstr "Tamanho interno do valor do hash em bits."
150164

151165
#: ../../c-api/hash.rst:124
152166
msgid "This corresponds to the :data:`sys.hash_info.hash_bits` constant."
153-
msgstr ""
167+
msgstr "Isso corresponde à constante :data:`sys.hash_info.hash_bits`."
154168

155169
#: ../../c-api/hash.rst:128
156170
msgid "Size of seed input in bits."
157171
msgstr "Tamanho da entrada de seed em bits."
158172

159173
#: ../../c-api/hash.rst:130
160174
msgid "This corresponds to the :data:`sys.hash_info.seed_bits` constant."
161-
msgstr ""
175+
msgstr "Isso corresponde à constante :data:`sys.hash_info.seed_bits`."
162176

163177
#: ../../c-api/hash.rst:137
164178
msgid "Get the hash function definition."

0 commit comments

Comments
 (0)