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

Skip to content

Commit b52c6f0

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <[email protected]>
1 parent fe9b0e8 commit b52c6f0

File tree

4 files changed

+53
-13
lines changed

4 files changed

+53
-13
lines changed

c-api/float.po

Lines changed: 47 additions & 7 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-01-03 15:28+0000\n"
14+
"POT-Creation-Date: 2025-06-20 16:15+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:08+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -121,7 +121,7 @@ msgstr ""
121121

122122
#: ../../c-api/float.rst:82
123123
msgid "Pack and Unpack functions"
124-
msgstr ""
124+
msgstr "Asa funções Pack e Unpack"
125125

126126
#: ../../c-api/float.rst:84
127127
msgid ""
@@ -131,6 +131,12 @@ msgid ""
131131
"c:expr:`double` from such a bytes string. The suffix (2, 4 or 8) specifies "
132132
"the number of bytes in the bytes string."
133133
msgstr ""
134+
"As funções de empacotamento e desempacotamento, pack e unpack "
135+
"respectivamente, fornecem uma maneira eficiente e independente de plataforma "
136+
"de armazenar valores de ponto flutuante como strings de bytes. As rotinas de "
137+
"Pack produzem uma string de bytes a partir de um C :c:expr:`double`, e as "
138+
"rotinas de Unpack produzem um C :c:expr:`double` a partir dessa string de "
139+
"bytes. O sufixo (2, 4 ou 8) especifica o número de bytes na string de bytes."
134140

135141
#: ../../c-api/float.rst:90
136142
msgid ""
@@ -143,6 +149,14 @@ msgid ""
143149
"attempting to unpack a bytes string containing an IEEE INF or NaN will raise "
144150
"an exception."
145151
msgstr ""
152+
"Em plataformas que parecem usar o formato IEEE 754, essas funções funcionam "
153+
"copiando bits. Em outras plataformas, o formato de 2 bytes é idêntico ao "
154+
"formato de meia precisão binário 16 do IEEE 754, o formato de 4 bytes (32 "
155+
"bits) é idêntico ao formato de precisão simples binário 32 do IEEE 754 e o "
156+
"formato de 8 bytes ao formato de precisão dupla binário 64 do IEEE 754, "
157+
"embora o empacotamento de INFs e NaNs (se tais recursos existirem na "
158+
"plataforma) não seja tratado corretamente, e tentar desempacotar uma string "
159+
"de bytes contendo um INF ou NaN do IEEE levantará uma exceção."
146160

147161
#: ../../c-api/float.rst:99
148162
msgid ""
@@ -151,10 +165,15 @@ msgid ""
151165
"less precision, or smaller dynamic range, not all values can be unpacked. "
152166
"What happens in such cases is partly accidental (alas)."
153167
msgstr ""
168+
"Em plataformas que não aderem IEEE com maior precisão ou maior alcance "
169+
"dinâmico do que o suportado pelo IEEE 754, nem todos os valores podem ser "
170+
"empacotados; em plataformas que não aderem IEEE com menor precisão ou menor "
171+
"alcance dinâmico, nem todos os valores podem ser desempacotados. O que "
172+
"acontece nesses casos é em parte acidental (infelizmente)."
154173

155174
#: ../../c-api/float.rst:107
156175
msgid "Pack functions"
157-
msgstr ""
176+
msgstr "Funções Pack"
158177

159178
#: ../../c-api/float.rst:109
160179
msgid ""
@@ -165,24 +184,33 @@ msgid ""
165184
"`PY_BIG_ENDIAN` constant can be used to use the native endian: it is equal "
166185
"to ``1`` on big endian processor, or ``0`` on little endian processor."
167186
msgstr ""
187+
"As rotinas de empacotamento gravam 2, 4 ou 8 bytes, começando em *p*. *le* é "
188+
"um argumento :c:expr:`int`, diferente de zero se você quiser a sequência de "
189+
"bytes no formato little-endian (expoente por último, em ``p+1``, ``p+3`` ou "
190+
"``p+6`` ``p+7``), zero se você quiser o formato big-endian (expoente "
191+
"primeiro, em *p*). A constante :c:macro:`PY_BIG_ENDIAN` pode ser usada para "
192+
"usar o endian nativo: é igual a ``1`` em processadores big-endian ou ``0`` "
193+
"em processadores little-endian."
168194

169195
#: ../../c-api/float.rst:116
170196
msgid ""
171197
"Return value: ``0`` if all is OK, ``-1`` if error (and an exception is set, "
172198
"most likely :exc:`OverflowError`)."
173199
msgstr ""
200+
"Valor de retorno: ``0`` se tudo estiver OK, ``-1`` se houver erro (e uma "
201+
"exceção for definida, provavelmente :exc:`OverflowError`)."
174202

175203
#: ../../c-api/float.rst:119
176204
msgid "There are two problems on non-IEEE platforms:"
177-
msgstr ""
205+
msgstr "Existem dois problemas em plataformas não IEEE:"
178206

179207
#: ../../c-api/float.rst:121
180208
msgid "What this does is undefined if *x* is a NaN or infinity."
181-
msgstr ""
209+
msgstr "O que isso faz é indefinido se *x* é um NaN ou infinito."
182210

183211
#: ../../c-api/float.rst:122
184212
msgid "``-0.0`` and ``+0.0`` produce the same bytes string."
185-
msgstr ""
213+
msgstr "``-0.0`` e ``+0.0`` produzem a mesma sequência de bytes."
186214

187215
#: ../../c-api/float.rst:126
188216
msgid "Pack a C double as the IEEE 754 binary16 half-precision format."
@@ -198,7 +226,7 @@ msgstr ""
198226

199227
#: ../../c-api/float.rst:138
200228
msgid "Unpack functions"
201-
msgstr ""
229+
msgstr "Funções de Unpack"
202230

203231
#: ../../c-api/float.rst:140
204232
msgid ""
@@ -209,19 +237,31 @@ msgid ""
209237
"be used to use the native endian: it is equal to ``1`` on big endian "
210238
"processor, or ``0`` on little endian processor."
211239
msgstr ""
240+
"As rotinas de desempacotamento leem 2, 4 ou 8 bytes, começando em *p*. *le* "
241+
"é um argumento :c:expr:`int`, diferente de zero se a sequência de bytes "
242+
"estiver no formato little-endian (expoente por último, em ``p+1``, ``p+3`` "
243+
"ou ``p+6`` e ``p+7``), zero se big-endian (expoente primeiro, em *p*). A "
244+
"constante :c:macro:`PY_BIG_ENDIAN` pode ser usada para usar o endian nativo: "
245+
"é igual a ``1`` em processadores big-endian ou ``0`` em processadores little-"
246+
"endian."
212247

213248
#: ../../c-api/float.rst:147
214249
msgid ""
215250
"Return value: The unpacked double. On error, this is ``-1.0`` and :c:func:"
216251
"`PyErr_Occurred` is true (and an exception is set, most likely :exc:"
217252
"`OverflowError`)."
218253
msgstr ""
254+
"Valor de retorno: O double descompactado. Em caso de erro, é ``-1.0`` e :c:"
255+
"func:`PyErr_Occurred` é verdadeiro (e uma exceção é definida, provavelmente :"
256+
"exc:`OverflowError`)."
219257

220258
#: ../../c-api/float.rst:151
221259
msgid ""
222260
"Note that on a non-IEEE platform this will refuse to unpack a bytes string "
223261
"that represents a NaN or infinity."
224262
msgstr ""
263+
"Observe que em uma plataforma que não adere IEEE isso se recusará a "
264+
"descompactar uma sequência de bytes que representa um NaN ou infinito."
225265

226266
#: ../../c-api/float.rst:156
227267
msgid "Unpack the IEEE 754 binary16 half-precision format as a C double."

library/hashlib.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ msgstr ""
625625

626626
#: ../../library/hashlib.rst:434
627627
msgid "16"
628-
msgstr ""
628+
msgstr "16"
629629

630630
#: ../../library/hashlib.rst:435
631631
msgid "BLAKE2s"

potodo.md

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

77

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

1010
- exceptions.po 193 / 347 ( 55.0% translated).
11-
- float.po 14 / 35 ( 40.0% translated).
11+
- float.po 28 / 35 ( 80.0% translated).
1212
- frame.po 20 / 24 ( 83.0% translated).
1313
- gcsupport.po 9 / 42 ( 21.0% translated).
1414
- import.po 39 / 53 ( 73.0% translated).
@@ -158,7 +158,7 @@
158158
- glob.po 32 / 33 ( 96.0% translated).
159159
- grp.po 28 / 29 ( 96.0% translated).
160160
- gzip.po 54 / 60 ( 90.0% translated).
161-
- hashlib.po 64 / 161 ( 39.0% translated).
161+
- hashlib.po 65 / 161 ( 40.0% translated).
162162
- heapq.po 50 / 51 ( 98.0% translated).
163163
- hmac.po 26 / 27 ( 96.0% translated).
164164
- html.entities.po 7 / 9 ( 77.0% translated).
@@ -324,5 +324,5 @@
324324
- 3.8.po 468 / 469 ( 99.0% translated).
325325

326326

327-
# TOTAL (68.21% done)
327+
# TOTAL (68.24% done)
328328

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "68.21%", "translated": 38071, "entries": 55811, "updated_at": "2025-07-08T23:55:00+00:00Z"}
1+
{"completion": "68.24%", "translated": 38086, "entries": 55811, "updated_at": "2025-07-09T23:54:56+00:00Z"}

0 commit comments

Comments
 (0)