Skip to content

Commit f57fcb0

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com>
1 parent 01b7c3a commit f57fcb0

14 files changed

Lines changed: 14650 additions & 14590 deletions

File tree

c-api/bytes.po

Lines changed: 24 additions & 3 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-13 14:15+0000\n"
15+
"POT-Creation-Date: 2025-11-15 14:12+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"
@@ -437,12 +438,16 @@ msgid ""
437438
"Get the string representation of *bytes*. This function is currently used to "
438439
"implement :meth:`!bytes.__repr__` in Python."
439440
msgstr ""
441+
"Obtém a representação em string de *bytes*. Esta função é atualmente usada "
442+
"para implementar :meth:`!bytes.__repr__` em Python."
440443

441444
#: ../../c-api/bytes.rst:229
442445
msgid ""
443446
"This function does not do type checking; it is undefined behavior to pass "
444447
"*bytes* as a non-bytes object or ``NULL``."
445448
msgstr ""
449+
"Esta função não realiza verificação de tipo; é um comportamento indefinido "
450+
"passar *bytes* como um objeto que não seja do tipo bytes ou ``NULL``."
446451

447452
#: ../../c-api/bytes.rst:232
448453
msgid ""
@@ -452,36 +457,52 @@ msgid ""
452457
"``b\"'Python'\"`` when *smartquotes* is true, or ``b'\\'Python\\''`` when it "
453458
"is false."
454459
msgstr ""
460+
"Se *smartquotes* for verdadeiro, a representação usará uma string entre "
461+
"aspas duplas em vez de aspas simples quando aspas simples estiverem "
462+
"presentes em *bytes*. Por exemplo, a string de bytes ``'Python'`` seria "
463+
"representada como ``b\"'Python'\"`` quando *smartquotes* for verdadeiro, ou "
464+
"``b'\\'Python\\''`` quando for falso."
455465

456466
#: ../../c-api/bytes.rst:238
457467
msgid ""
458468
"On success, this function returns a :term:`strong reference` to a :class:"
459469
"`str` object containing the representation. On failure, this returns "
460470
"``NULL`` with an exception set."
461471
msgstr ""
472+
"Em caso de sucesso, esta função retorna uma :term:`referência forte` a um "
473+
"objeto :class:`str` contendo a representação. Em caso de falha, ela retorna "
474+
"``NULL`` com uma exceção definida."
462475

463476
#: ../../c-api/bytes.rst:245
464477
msgid ""
465478
"Unescape a backslash-escaped string *s*. *s* must not be ``NULL``. *len* "
466479
"must be the size of *s*."
467480
msgstr ""
481+
"Remove um string *s* que foi escapada com contrabarra. *s* não pode ser "
482+
"``NULL``. *len* deve ser o tamanho de *s*."
468483

469484
#: ../../c-api/bytes.rst:248
470485
msgid ""
471486
"*errors* must be one of ``\"strict\"``, ``\"replace\"``, or ``\"ignore\"``. "
472487
"If *errors* is ``NULL``, then ``\"strict\"`` is used by default."
473488
msgstr ""
489+
"*errors* deve ser um dos seguintes valores: ``\"strict\"``, ``\"replace\"`` "
490+
"ou ``\"ignore\"``. Se *errors* for ``NULL``, o valor padrão será "
491+
"``\"strict\"``."
474492

475493
#: ../../c-api/bytes.rst:251
476494
msgid ""
477495
"On success, this function returns a :term:`strong reference` to a Python :"
478496
"class:`bytes` object containing the unescaped string. On failure, this "
479497
"function returns ``NULL`` with an exception set."
480498
msgstr ""
499+
"Em caso de sucesso, esta função retorna uma :term:`referência forte` a um "
500+
"objeto Python :class:`bytes` contendo a string sem escape. Em caso de falha, "
501+
"esta função retorna ``NULL`` com uma exceção definida."
481502

482503
#: ../../c-api/bytes.rst:255
483504
msgid "*unicode* and *recode_encoding* are now unused."
484-
msgstr ""
505+
msgstr "*unicode* e *recode_encoding* não são mais usadas."
485506

486507
#: ../../c-api/bytes.rst:11
487508
msgid "object"

c-api/file.po

Lines changed: 13 additions & 3 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-13 14:15+0000\n"
15+
"POT-Creation-Date: 2025-11-15 14:12+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"
@@ -182,23 +183,32 @@ msgid ""
182183
"object. The behavior of this function may be overridden by :c:func:"
183184
"`PyFile_SetOpenCodeHook` to allow for some preprocessing of the text."
184185
msgstr ""
186+
"Abre o arquivo *path* com o modo ``'rb'``. *path* deve ser um objeto Python "
187+
"da classe :class:`str`. O comportamento desta função pode ser substituído "
188+
"por :c:func:`PyFile_SetOpenCodeHook` para permitir algum pré-processamento "
189+
"do texto."
185190

186191
#: ../../c-api/file.rst:103
187192
msgid "This is analogous to :func:`io.open_code` in Python."
188-
msgstr ""
193+
msgstr "Isso é análogo a :func:`io.open_code` no Python."
189194

190195
#: ../../c-api/file.rst:105
191196
msgid ""
192197
"On success, this function returns a :term:`strong reference` to a Python "
193198
"file object. On failure, this function returns ``NULL`` with an exception "
194199
"set."
195200
msgstr ""
201+
"Em caso de sucesso, esta função retorna uma :term:`referência forte` a um "
202+
"objeto arquivo Python. Em caso de falha, esta função retorna ``NULL`` com "
203+
"uma exceção definida."
196204

197205
#: ../../c-api/file.rst:114
198206
msgid ""
199207
"Similar to :c:func:`PyFile_OpenCodeObject`, but *path* is a UTF-8 encoded :c:"
200208
"expr:`const char*`."
201209
msgstr ""
210+
"Semelhante a :c:func:`PyFile_OpenCodeObject`, mas *path* é um :c:expr:`const "
211+
"char*` codificado em UTF-8."
202212

203213
#: ../../c-api/file.rst:124
204214
msgid ""

c-api/intro.po

Lines changed: 23 additions & 3 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-13 14:15+0000\n"
15+
"POT-Creation-Date: 2025-11-15 14:12+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"
@@ -261,6 +262,9 @@ msgid ""
261262
"If the result cannot be represented (for example, if ``x`` has :c:macro:`!"
262263
"INT_MIN` value for :c:expr:`int` type), the behavior is undefined."
263264
msgstr ""
265+
"Se o resultado não puder ser representado (por exemplo, se ``x`` tiver o "
266+
"valor :c:macro:`!INT_MIN` para o tipo :c:expr:`int`), o comportamento é "
267+
"indefinido."
264268

265269
#: ../../c-api/intro.rst:132
266270
msgid ""
@@ -445,6 +449,9 @@ msgid ""
445449
"Asserts a compile-time condition *cond*, as a statement. The build will fail "
446450
"if the condition is false or cannot be evaluated at compile time."
447451
msgstr ""
452+
"Realiza asserção de uma condição de tempo de compilação *cond*, como uma "
453+
"instrução. A construção falhará se a condição for falsa ou não puder ser "
454+
"avaliada em tempo de compilação."
448455

449456
#: ../../c-api/intro.rst:245 ../../c-api/intro.rst:256
450457
#: ../../c-api/intro.rst:301
@@ -453,26 +460,33 @@ msgstr "Por exemplo::"
453460

454461
#: ../../c-api/intro.rst:247
455462
msgid "Py_BUILD_ASSERT(sizeof(PyTime_t) == sizeof(int64_t));"
456-
msgstr ""
463+
msgstr "Py_BUILD_ASSERT(sizeof(PyTime_t) == sizeof(int64_t));"
457464

458465
#: ../../c-api/intro.rst:253
459466
msgid ""
460467
"Asserts a compile-time condition *cond*, as an expression that evaluates to "
461468
"``0``. The build will fail if the condition is false or cannot be evaluated "
462469
"at compile time."
463470
msgstr ""
471+
"Realiza asserção de uma condição de tempo de compilação *cond*, como uma "
472+
"expressão que é avaliada com ``0``. A construção falhará se a condição for "
473+
"falsa ou não puder ser avaliada em tempo de compilação."
464474

465475
#: ../../c-api/intro.rst:258
466476
msgid ""
467477
"#define foo_to_char(foo) \\\n"
468478
" ((char *)(foo) + Py_BUILD_ASSERT_EXPR(offsetof(struct foo, string) == 0))"
469479
msgstr ""
480+
"#define foo_to_char(foo) \\\n"
481+
" ((char *)(foo) + Py_BUILD_ASSERT_EXPR(offsetof(struct foo, string) == 0))"
470482

471483
#: ../../c-api/intro.rst:265
472484
msgid ""
473485
"Creates a variable with name *name* that can be used in docstrings. If "
474486
"Python is built without docstrings, the value will be empty."
475487
msgstr ""
488+
"Cria uma variável com o nome *name* que pode ser usada em docstrings. Se o "
489+
"Python for construído sem docstrings, o valor estará vazio."
476490

477491
#: ../../c-api/intro.rst:268
478492
msgid ""
@@ -533,6 +547,8 @@ msgstr ""
533547
#: ../../c-api/intro.rst:299
534548
msgid "Declares a static character array variable with the given name *name*."
535549
msgstr ""
550+
"Declara uma variável estática de vetor de caracteres com o nome fornecido "
551+
"*name*."
536552

537553
#: ../../c-api/intro.rst:303
538554
msgid ""
@@ -541,6 +557,10 @@ msgid ""
541557
" \"to the tropics and subtropics of the "
542558
"Eastern Hemisphere.\");"
543559
msgstr ""
560+
"PyDoc_VAR(python_doc) = PyDoc_STR(\"A genus of constricting snakes in the "
561+
"Pythonidae family native \"\n"
562+
" \"to the tropics and subtropics of the "
563+
"Eastern Hemisphere.\");"
544564

545565
#: ../../c-api/intro.rst:310
546566
msgid "Objects, Types and Reference Counts"

0 commit comments

Comments
 (0)