Skip to content

Commit 3a74941

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <[email protected]> Co-Authored-By: Marcos Moraes Co-Authored-By: Rainer Terroso
1 parent 4bc6a8f commit 3a74941

File tree

20 files changed

+14033
-13637
lines changed

20 files changed

+14033
-13637
lines changed

c-api/bytes.po

Lines changed: 52 additions & 1 deletion
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-09-15 15:19+0000\n"
14+
"POT-Creation-Date: 2025-11-13 15:03+0000\n"
1515
"PO-Revision-Date: 2025-09-15 01:03+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -402,6 +402,57 @@ msgstr ""
402402
"originais em *\\*bytes* é desalocado, *\\*bytes* é definido como ``NULL``, :"
403403
"exc:`MemoryError` é definido e ``-1`` é retornado."
404404

405+
#: ../../c-api/bytes.rst:208
406+
msgid ""
407+
"Get the string representation of *bytes*. This function is currently used to "
408+
"implement :meth:`!bytes.__repr__` in Python."
409+
msgstr ""
410+
411+
#: ../../c-api/bytes.rst:211
412+
msgid ""
413+
"This function does not do type checking; it is undefined behavior to pass "
414+
"*bytes* as a non-bytes object or ``NULL``."
415+
msgstr ""
416+
417+
#: ../../c-api/bytes.rst:214
418+
msgid ""
419+
"If *smartquotes* is true, the representation will use a double-quoted string "
420+
"instead of single-quoted string when single-quotes are present in *bytes*. "
421+
"For example, the byte string ``'Python'`` would be represented as "
422+
"``b\"'Python'\"`` when *smartquotes* is true, or ``b'\\'Python\\''`` when it "
423+
"is false."
424+
msgstr ""
425+
426+
#: ../../c-api/bytes.rst:220
427+
msgid ""
428+
"On success, this function returns a :term:`strong reference` to a :class:"
429+
"`str` object containing the representation. On failure, this returns "
430+
"``NULL`` with an exception set."
431+
msgstr ""
432+
433+
#: ../../c-api/bytes.rst:227
434+
msgid ""
435+
"Unescape a backslash-escaped string *s*. *s* must not be ``NULL``. *len* "
436+
"must be the size of *s*."
437+
msgstr ""
438+
439+
#: ../../c-api/bytes.rst:230
440+
msgid ""
441+
"*errors* must be one of ``\"strict\"``, ``\"replace\"``, or ``\"ignore\"``. "
442+
"If *errors* is ``NULL``, then ``\"strict\"`` is used by default."
443+
msgstr ""
444+
445+
#: ../../c-api/bytes.rst:233
446+
msgid ""
447+
"On success, this function returns a :term:`strong reference` to a Python :"
448+
"class:`bytes` object containing the unescaped string. On failure, this "
449+
"function returns ``NULL`` with an exception set."
450+
msgstr ""
451+
452+
#: ../../c-api/bytes.rst:237
453+
msgid "*unicode* and *recode_encoding* are now unused."
454+
msgstr ""
455+
405456
#: ../../c-api/bytes.rst:11
406457
msgid "object"
407458
msgstr "objeto"

c-api/file.po

Lines changed: 28 additions & 4 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-09-15 15:19+0000\n"
14+
"POT-Creation-Date: 2025-11-13 15:03+0000\n"
1515
"PO-Revision-Date: 2025-09-15 01:03+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -176,7 +176,31 @@ msgstr ""
176176
"Levanta um :ref:`evento de auditoria<auditing>` ``setopencodehook`` sem "
177177
"argumentos."
178178

179-
#: ../../c-api/file.rst:101
179+
#: ../../c-api/file.rst:98
180+
msgid ""
181+
"Open *path* with the mode ``'rb'``. *path* must be a Python :class:`str` "
182+
"object. The behavior of this function may be overridden by :c:func:"
183+
"`PyFile_SetOpenCodeHook` to allow for some preprocessing of the text."
184+
msgstr ""
185+
186+
#: ../../c-api/file.rst:103
187+
msgid "This is analogous to :func:`io.open_code` in Python."
188+
msgstr ""
189+
190+
#: ../../c-api/file.rst:105
191+
msgid ""
192+
"On success, this function returns a :term:`strong reference` to a Python "
193+
"file object. On failure, this function returns ``NULL`` with an exception "
194+
"set."
195+
msgstr ""
196+
197+
#: ../../c-api/file.rst:114
198+
msgid ""
199+
"Similar to :c:func:`PyFile_OpenCodeObject`, but *path* is a UTF-8 encoded :c:"
200+
"expr:`const char*`."
201+
msgstr ""
202+
203+
#: ../../c-api/file.rst:124
180204
msgid ""
181205
"Write object *obj* to file object *p*. The only supported flag for *flags* "
182206
"is :c:macro:`Py_PRINT_RAW`; if given, the :func:`str` of the object is "
@@ -188,7 +212,7 @@ msgstr ""
188212
"objeto é escrito em vez de :func:`repr`. Retorna ``0`` em caso de sucesso ou "
189213
"``-1`` em caso de falha; a exceção apropriada será definida."
190214

191-
#: ../../c-api/file.rst:109
215+
#: ../../c-api/file.rst:132
192216
msgid ""
193217
"Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on "
194218
"failure; the appropriate exception will be set."
@@ -208,6 +232,6 @@ msgstr "arquivo"
208232
msgid "EOFError (built-in exception)"
209233
msgstr "EOFError (exceção embutida)"
210234

211-
#: ../../c-api/file.rst:99
235+
#: ../../c-api/file.rst:122
212236
msgid "Py_PRINT_RAW (C macro)"
213237
msgstr "Py_PRINT_RAW (macro C)"

c-api/float.po

Lines changed: 45 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-11-11 15:06+0000\n"
15+
"POT-Creation-Date: 2025-11-13 15:03+0000\n"
1616
"PO-Revision-Date: 2025-09-15 01:03+0000\n"
1717
"Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -151,41 +151,59 @@ msgid ""
151151
msgstr ""
152152

153153
#: ../../c-api/float.rst:101
154-
msgid "High precision (long double) definition of :data:`~math.e` constant."
154+
msgid ""
155+
"The definition (accurate for a :c:expr:`double` type) of the :data:`math.e` "
156+
"constant."
155157
msgstr ""
156158

157159
#: ../../c-api/float.rst:106
158-
msgid "High precision (long double) definition of :data:`~math.pi` constant."
160+
msgid "High precision (long double) definition of :data:`~math.e` constant."
159161
msgstr ""
160162

161163
#: ../../c-api/float.rst:111
164+
msgid ""
165+
"The definition (accurate for a :c:expr:`double` type) of the :data:`math.pi` "
166+
"constant."
167+
msgstr ""
168+
169+
#: ../../c-api/float.rst:116
170+
msgid "High precision (long double) definition of :data:`~math.pi` constant."
171+
msgstr ""
172+
173+
#: ../../c-api/float.rst:121
174+
msgid ""
175+
"The definition (accurate for a :c:expr:`double` type) of the :data:`math."
176+
"tau` constant."
177+
msgstr ""
178+
179+
#: ../../c-api/float.rst:128
162180
msgid "Return :data:`math.nan` from a function."
163181
msgstr ""
164182

165-
#: ../../c-api/float.rst:113
183+
#: ../../c-api/float.rst:130
166184
msgid ""
167185
"On most platforms, this is equivalent to ``return PyFloat_FromDouble(NAN)``."
168186
msgstr ""
169187

170-
#: ../../c-api/float.rst:118
188+
#: ../../c-api/float.rst:135
171189
msgid ""
172190
"Return :data:`math.inf` or :data:`-math.inf <math.inf>` from a function, "
173191
"depending on the sign of *sign*."
174192
msgstr ""
175193

176-
#: ../../c-api/float.rst:121
194+
#: ../../c-api/float.rst:138
177195
msgid "On most platforms, this is equivalent to the following::"
178196
msgstr ""
179197

180-
#: ../../c-api/float.rst:123
198+
#: ../../c-api/float.rst:140
181199
msgid "return PyFloat_FromDouble(copysign(INFINITY, sign));"
182200
msgstr ""
183201

184-
#: ../../c-api/float.rst:127
202+
#: ../../c-api/float.rst:144
185203
msgid "Pack and Unpack functions"
186204
msgstr "As funções Pack e Unpack"
187205

188-
#: ../../c-api/float.rst:129
206+
#: ../../c-api/float.rst:146
189207
msgid ""
190208
"The pack and unpack functions provide an efficient platform-independent way "
191209
"to store floating-point values as byte strings. The Pack routines produce a "
@@ -200,7 +218,7 @@ msgstr ""
200218
"rotinas de Unpack produzem um C :c:expr:`double` a partir dessa string de "
201219
"bytes. O sufixo (2, 4 ou 8) especifica o número de bytes na string de bytes."
202220

203-
#: ../../c-api/float.rst:135
221+
#: ../../c-api/float.rst:152
204222
msgid ""
205223
"On platforms that appear to use IEEE 754 formats these functions work by "
206224
"copying bits. On other platforms, the 2-byte format is identical to the IEEE "
@@ -220,7 +238,7 @@ msgstr ""
220238
"plataforma) não seja tratado corretamente, e tentar desempacotar uma string "
221239
"de bytes contendo um INF ou NaN do IEEE levantará uma exceção."
222240

223-
#: ../../c-api/float.rst:144
241+
#: ../../c-api/float.rst:161
224242
msgid ""
225243
"On non-IEEE platforms with more precision, or larger dynamic range, than "
226244
"IEEE 754 supports, not all values can be packed; on non-IEEE platforms with "
@@ -233,11 +251,11 @@ msgstr ""
233251
"alcance dinâmico, nem todos os valores podem ser desempacotados. O que "
234252
"acontece nesses casos é em parte acidental (infelizmente)."
235253

236-
#: ../../c-api/float.rst:152
254+
#: ../../c-api/float.rst:169
237255
msgid "Pack functions"
238256
msgstr "Funções Pack"
239257

240-
#: ../../c-api/float.rst:154
258+
#: ../../c-api/float.rst:171
241259
msgid ""
242260
"The pack routines write 2, 4 or 8 bytes, starting at *p*. *le* is an :c:expr:"
243261
"`int` argument, non-zero if you want the bytes string in little-endian "
@@ -254,46 +272,46 @@ msgstr ""
254272
"usar o endian nativo: é igual a ``1`` em processadores big-endian ou ``0`` "
255273
"em processadores little-endian."
256274

257-
#: ../../c-api/float.rst:161
275+
#: ../../c-api/float.rst:178
258276
msgid ""
259277
"Return value: ``0`` if all is OK, ``-1`` if error (and an exception is set, "
260278
"most likely :exc:`OverflowError`)."
261279
msgstr ""
262280
"Valor de retorno: ``0`` se tudo estiver OK, ``-1`` se houver erro (e uma "
263281
"exceção for definida, provavelmente :exc:`OverflowError`)."
264282

265-
#: ../../c-api/float.rst:164
283+
#: ../../c-api/float.rst:181
266284
msgid "There are two problems on non-IEEE platforms:"
267285
msgstr "Existem dois problemas em plataformas não IEEE:"
268286

269-
#: ../../c-api/float.rst:166
287+
#: ../../c-api/float.rst:183
270288
msgid "What this does is undefined if *x* is a NaN or infinity."
271289
msgstr "O que isso faz é indefinido se *x* é um NaN ou infinito."
272290

273-
#: ../../c-api/float.rst:167
291+
#: ../../c-api/float.rst:184
274292
msgid "``-0.0`` and ``+0.0`` produce the same bytes string."
275293
msgstr "``-0.0`` e ``+0.0`` produzem a mesma sequência de bytes."
276294

277-
#: ../../c-api/float.rst:171
295+
#: ../../c-api/float.rst:188
278296
msgid "Pack a C double as the IEEE 754 binary16 half-precision format."
279297
msgstr ""
280298
"Empacota um C duplo como o formato de meia precisão binário16 IEEE 754."
281299

282-
#: ../../c-api/float.rst:175
300+
#: ../../c-api/float.rst:192
283301
msgid "Pack a C double as the IEEE 754 binary32 single precision format."
284302
msgstr ""
285303
"Empacota um C duplo como o formato de precisão simples binário32 IEEE 754."
286304

287-
#: ../../c-api/float.rst:179
305+
#: ../../c-api/float.rst:196
288306
msgid "Pack a C double as the IEEE 754 binary64 double precision format."
289307
msgstr ""
290308
"Empacota um C duplo como o formato de precisão dupla binária 64 IEEE 754."
291309

292-
#: ../../c-api/float.rst:183
310+
#: ../../c-api/float.rst:200
293311
msgid "Unpack functions"
294312
msgstr "Funções de Unpack"
295313

296-
#: ../../c-api/float.rst:185
314+
#: ../../c-api/float.rst:202
297315
msgid ""
298316
"The unpack routines read 2, 4 or 8 bytes, starting at *p*. *le* is an :c:"
299317
"expr:`int` argument, non-zero if the bytes string is in little-endian format "
@@ -310,7 +328,7 @@ msgstr ""
310328
"é igual a ``1`` em processadores big-endian ou ``0`` em processadores little-"
311329
"endian."
312330

313-
#: ../../c-api/float.rst:192
331+
#: ../../c-api/float.rst:209
314332
msgid ""
315333
"Return value: The unpacked double. On error, this is ``-1.0`` and :c:func:"
316334
"`PyErr_Occurred` is true (and an exception is set, most likely :exc:"
@@ -320,25 +338,25 @@ msgstr ""
320338
"func:`PyErr_Occurred` é verdadeiro (e uma exceção é definida, provavelmente :"
321339
"exc:`OverflowError`)."
322340

323-
#: ../../c-api/float.rst:196
341+
#: ../../c-api/float.rst:213
324342
msgid ""
325343
"Note that on a non-IEEE platform this will refuse to unpack a bytes string "
326344
"that represents a NaN or infinity."
327345
msgstr ""
328346
"Observe que em uma plataforma que não adere IEEE isso se recusará a "
329347
"descompactar uma sequência de bytes que representa um NaN ou infinito."
330348

331-
#: ../../c-api/float.rst:201
349+
#: ../../c-api/float.rst:218
332350
msgid "Unpack the IEEE 754 binary16 half-precision format as a C double."
333351
msgstr ""
334352
"Descompacta o formato de meia precisão IEEE 754 binary16 como um double C."
335353

336-
#: ../../c-api/float.rst:205
354+
#: ../../c-api/float.rst:222
337355
msgid "Unpack the IEEE 754 binary32 single precision format as a C double."
338356
msgstr ""
339357
"Descompacta o formato IEEE 754 binary32 de precisão simples como um C double."
340358

341-
#: ../../c-api/float.rst:209
359+
#: ../../c-api/float.rst:226
342360
msgid "Unpack the IEEE 754 binary64 double precision format as a C double."
343361
msgstr ""
344362
"Descompacta o formato IEEE 754 binary64 de precisão dupla como um C double."

0 commit comments

Comments
 (0)