Skip to content

Commit 960c969

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com> Co-Authored-By: Marcos Moraes
1 parent 6ffe867 commit 960c969

18 files changed

Lines changed: 15186 additions & 14826 deletions

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.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-05-09 14:19+0000\n"
14+
"POT-Creation-Date: 2025-11-13 14:15+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -432,6 +432,57 @@ msgstr ""
432432
"originais em *\\*bytes* é desalocado, *\\*bytes* é definido como ``NULL``, :"
433433
"exc:`MemoryError` é definido e ``-1`` é retornado."
434434

435+
#: ../../c-api/bytes.rst:226
436+
msgid ""
437+
"Get the string representation of *bytes*. This function is currently used to "
438+
"implement :meth:`!bytes.__repr__` in Python."
439+
msgstr ""
440+
441+
#: ../../c-api/bytes.rst:229
442+
msgid ""
443+
"This function does not do type checking; it is undefined behavior to pass "
444+
"*bytes* as a non-bytes object or ``NULL``."
445+
msgstr ""
446+
447+
#: ../../c-api/bytes.rst:232
448+
msgid ""
449+
"If *smartquotes* is true, the representation will use a double-quoted string "
450+
"instead of single-quoted string when single-quotes are present in *bytes*. "
451+
"For example, the byte string ``'Python'`` would be represented as "
452+
"``b\"'Python'\"`` when *smartquotes* is true, or ``b'\\'Python\\''`` when it "
453+
"is false."
454+
msgstr ""
455+
456+
#: ../../c-api/bytes.rst:238
457+
msgid ""
458+
"On success, this function returns a :term:`strong reference` to a :class:"
459+
"`str` object containing the representation. On failure, this returns "
460+
"``NULL`` with an exception set."
461+
msgstr ""
462+
463+
#: ../../c-api/bytes.rst:245
464+
msgid ""
465+
"Unescape a backslash-escaped string *s*. *s* must not be ``NULL``. *len* "
466+
"must be the size of *s*."
467+
msgstr ""
468+
469+
#: ../../c-api/bytes.rst:248
470+
msgid ""
471+
"*errors* must be one of ``\"strict\"``, ``\"replace\"``, or ``\"ignore\"``. "
472+
"If *errors* is ``NULL``, then ``\"strict\"`` is used by default."
473+
msgstr ""
474+
475+
#: ../../c-api/bytes.rst:251
476+
msgid ""
477+
"On success, this function returns a :term:`strong reference` to a Python :"
478+
"class:`bytes` object containing the unescaped string. On failure, this "
479+
"function returns ``NULL`` with an exception set."
480+
msgstr ""
481+
482+
#: ../../c-api/bytes.rst:255
483+
msgid "*unicode* and *recode_encoding* are now unused."
484+
msgstr ""
485+
435486
#: ../../c-api/bytes.rst:11
436487
msgid "object"
437488
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.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-05-09 14:19+0000\n"
14+
"POT-Creation-Date: 2025-11-13 14:15+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+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: 46 additions & 28 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-13 14:15+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/"
@@ -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,13 +238,13 @@ 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
"Note that NaNs type may not be preserved on IEEE platforms (signaling NaN "
226244
"become quiet NaN), for example on x86 systems in 32-bit mode."
227245
msgstr ""
228246

229-
#: ../../c-api/float.rst:147
247+
#: ../../c-api/float.rst:164
230248
msgid ""
231249
"On non-IEEE platforms with more precision, or larger dynamic range, than "
232250
"IEEE 754 supports, not all values can be packed; on non-IEEE platforms with "
@@ -239,11 +257,11 @@ msgstr ""
239257
"alcance dinâmico, nem todos os valores podem ser desempacotados. O que "
240258
"acontece nesses casos é em parte acidental (infelizmente)."
241259

242-
#: ../../c-api/float.rst:155
260+
#: ../../c-api/float.rst:172
243261
msgid "Pack functions"
244262
msgstr "Funções Pack"
245263

246-
#: ../../c-api/float.rst:157
264+
#: ../../c-api/float.rst:174
247265
msgid ""
248266
"The pack routines write 2, 4 or 8 bytes, starting at *p*. *le* is an :c:expr:"
249267
"`int` argument, non-zero if you want the bytes string in little-endian "
@@ -260,46 +278,46 @@ msgstr ""
260278
"usar o endian nativo: é igual a ``1`` em processadores big-endian ou ``0`` "
261279
"em processadores little-endian."
262280

263-
#: ../../c-api/float.rst:164
281+
#: ../../c-api/float.rst:181
264282
msgid ""
265283
"Return value: ``0`` if all is OK, ``-1`` if error (and an exception is set, "
266284
"most likely :exc:`OverflowError`)."
267285
msgstr ""
268286
"Valor de retorno: ``0`` se tudo estiver OK, ``-1`` se houver erro (e uma "
269287
"exceção for definida, provavelmente :exc:`OverflowError`)."
270288

271-
#: ../../c-api/float.rst:167
289+
#: ../../c-api/float.rst:184
272290
msgid "There are two problems on non-IEEE platforms:"
273291
msgstr "Existem dois problemas em plataformas não IEEE:"
274292

275-
#: ../../c-api/float.rst:169
293+
#: ../../c-api/float.rst:186
276294
msgid "What this does is undefined if *x* is a NaN or infinity."
277295
msgstr "O que isso faz é indefinido se *x* é um NaN ou infinito."
278296

279-
#: ../../c-api/float.rst:170
297+
#: ../../c-api/float.rst:187
280298
msgid "``-0.0`` and ``+0.0`` produce the same bytes string."
281299
msgstr "``-0.0`` e ``+0.0`` produzem a mesma sequência de bytes."
282300

283-
#: ../../c-api/float.rst:174
301+
#: ../../c-api/float.rst:191
284302
msgid "Pack a C double as the IEEE 754 binary16 half-precision format."
285303
msgstr ""
286304
"Empacota um C duplo como o formato de meia precisão binário16 IEEE 754."
287305

288-
#: ../../c-api/float.rst:178
306+
#: ../../c-api/float.rst:195
289307
msgid "Pack a C double as the IEEE 754 binary32 single precision format."
290308
msgstr ""
291309
"Empacota um C duplo como o formato de precisão simples binário32 IEEE 754."
292310

293-
#: ../../c-api/float.rst:182
311+
#: ../../c-api/float.rst:199
294312
msgid "Pack a C double as the IEEE 754 binary64 double precision format."
295313
msgstr ""
296314
"Empacota um C duplo como o formato de precisão dupla binária 64 IEEE 754."
297315

298-
#: ../../c-api/float.rst:186
316+
#: ../../c-api/float.rst:203
299317
msgid "Unpack functions"
300318
msgstr "Funções de Unpack"
301319

302-
#: ../../c-api/float.rst:188
320+
#: ../../c-api/float.rst:205
303321
msgid ""
304322
"The unpack routines read 2, 4 or 8 bytes, starting at *p*. *le* is an :c:"
305323
"expr:`int` argument, non-zero if the bytes string is in little-endian format "
@@ -316,7 +334,7 @@ msgstr ""
316334
"é igual a ``1`` em processadores big-endian ou ``0`` em processadores little-"
317335
"endian."
318336

319-
#: ../../c-api/float.rst:195
337+
#: ../../c-api/float.rst:212
320338
msgid ""
321339
"Return value: The unpacked double. On error, this is ``-1.0`` and :c:func:"
322340
"`PyErr_Occurred` is true (and an exception is set, most likely :exc:"
@@ -326,25 +344,25 @@ msgstr ""
326344
"func:`PyErr_Occurred` é verdadeiro (e uma exceção é definida, provavelmente :"
327345
"exc:`OverflowError`)."
328346

329-
#: ../../c-api/float.rst:199
347+
#: ../../c-api/float.rst:216
330348
msgid ""
331349
"Note that on a non-IEEE platform this will refuse to unpack a bytes string "
332350
"that represents a NaN or infinity."
333351
msgstr ""
334352
"Observe que em uma plataforma que não adere IEEE isso se recusará a "
335353
"descompactar uma sequência de bytes que representa um NaN ou infinito."
336354

337-
#: ../../c-api/float.rst:204
355+
#: ../../c-api/float.rst:221
338356
msgid "Unpack the IEEE 754 binary16 half-precision format as a C double."
339357
msgstr ""
340358
"Descompacta o formato de meia precisão IEEE 754 binary16 como um double C."
341359

342-
#: ../../c-api/float.rst:208
360+
#: ../../c-api/float.rst:225
343361
msgid "Unpack the IEEE 754 binary32 single precision format as a C double."
344362
msgstr ""
345363
"Descompacta o formato IEEE 754 binary32 de precisão simples como um C double."
346364

347-
#: ../../c-api/float.rst:212
365+
#: ../../c-api/float.rst:229
348366
msgid "Unpack the IEEE 754 binary64 double precision format as a C double."
349367
msgstr ""
350368
"Descompacta o formato IEEE 754 binary64 de precisão dupla como um C double."

0 commit comments

Comments
 (0)