Skip to content

Commit 2c99ace

Browse files
Update translations
1 parent 75f14fa commit 2c99ace

22 files changed

Lines changed: 15163 additions & 14877 deletions

c-api/allocation.po

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
# Translators:
77
# Welington Carlos <wcarlos3@gmail.com>, 2021
88
# Felipefpl, 2021
9-
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
9+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
1010
#
1111
#, fuzzy
1212
msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.13\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2025-01-03 14:16+0000\n"
16+
"POT-Creation-Date: 2025-03-21 14:18+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
18-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
18+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2020
"teams/5390/pt_BR/)\n"
2121
"MIME-Version: 1.0\n"
@@ -62,7 +62,17 @@ msgstr ""
6262
"uma). O tamanho da alocação de memória é determinado do campo :c:member:"
6363
"`~PyTypeObject.tp_basicsize` do objeto tipo."
6464

65-
#: ../../c-api/allocation.rst:41
65+
#: ../../c-api/allocation.rst:38
66+
msgid ""
67+
"Note that this function is unsuitable if *typeobj* has :c:macro:"
68+
"`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_New` "
69+
"instead."
70+
msgstr ""
71+
"Note que esta função não é adequada se *typeobj* tiver :c:macro:"
72+
"`Py_TPFLAGS_HAVE_GC` definido. Para tais objetos, use :c:func:"
73+
"`PyObject_GC_New` em vez disso."
74+
75+
#: ../../c-api/allocation.rst:45
6676
msgid ""
6777
"Allocate a new Python object using the C structure type *TYPE* and the "
6878
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -84,7 +94,17 @@ msgstr ""
8494
"campos dentro da mesma alocação diminuindo o numero de alocações, melhorando "
8595
"a eficiência do gerenciamento de memória."
8696

87-
#: ../../c-api/allocation.rst:55
97+
#: ../../c-api/allocation.rst:56
98+
msgid ""
99+
"Note that this function is unsuitable if *typeobj* has :c:macro:"
100+
"`Py_TPFLAGS_HAVE_GC` set. For such objects, use :c:func:`PyObject_GC_NewVar` "
101+
"instead."
102+
msgstr ""
103+
"Note que esta função não é adequada se *typeobj* tiver :c:macro:"
104+
"`Py_TPFLAGS_HAVE_GC` definido. Para tais objetos, use :c:func:"
105+
"`PyObject_GC_NewVar` em vez disso."
106+
107+
#: ../../c-api/allocation.rst:63
88108
msgid ""
89109
"Releases memory allocated to an object using :c:macro:`PyObject_New` or :c:"
90110
"macro:`PyObject_NewVar`. This is normally called from the :c:member:"
@@ -98,7 +118,7 @@ msgstr ""
98118
"do objeto não devem ser acessados após esta chamada como a memória não é "
99119
"mais um objeto Python válido."
100120

101-
#: ../../c-api/allocation.rst:64
121+
#: ../../c-api/allocation.rst:72
102122
msgid ""
103123
"Object which is visible in Python as ``None``. This should only be accessed "
104124
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
@@ -108,10 +128,10 @@ msgstr ""
108128
"usando a macro :c:macro:`Py_None`, o qual avalia como um ponteiro para este "
109129
"objeto."
110130

111-
#: ../../c-api/allocation.rst:71
131+
#: ../../c-api/allocation.rst:79
112132
msgid ":c:func:`PyModule_Create`"
113133
msgstr ":c:func:`PyModule_Create`"
114134

115-
#: ../../c-api/allocation.rst:72
135+
#: ../../c-api/allocation.rst:80
116136
msgid "To allocate and create extension modules."
117137
msgstr "Para alocar e criar módulos de extensão."

c-api/monitoring.po

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
# Translators:
77
# Pedro Fonini, 2024
88
# i17obot <i17obot@rougeth.com>, 2024
9-
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
9+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
1010
#
1111
#, fuzzy
1212
msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.13\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2025-01-17 14:16+0000\n"
16+
"POT-Creation-Date: 2025-03-21 14:18+0000\n"
1717
"PO-Revision-Date: 2024-05-11 01:07+0000\n"
18-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
18+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2020
"teams/5390/pt_BR/)\n"
2121
"MIME-Version: 1.0\n"
@@ -352,3 +352,16 @@ msgid ""
352352
msgstr ""
353353
"Sai do último escopo no qual se entrou com :c:func:`!"
354354
"PyMonitoring_EnterScope`."
355+
356+
#: ../../c-api/monitoring.rst:197
357+
msgid ""
358+
"Return true if the event corresponding to the event ID *ev* is a :ref:`local "
359+
"event <monitoring-event-local>`."
360+
msgstr ""
361+
"Retorna verdadeiro se o evento correspondente ao ID do evento *ev* for um :"
362+
"ref:`evento local <monitoring-event-local>`."
363+
364+
#: ../../c-api/monitoring.rst:204
365+
msgid "This function is :term:`soft deprecated`."
366+
msgstr ""
367+
"Esta função está :term:`suavemente descontinuada <suavemente descontinuado>`."

c-api/type.po

Lines changed: 34 additions & 32 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-01-10 14:17+0000\n"
14+
"POT-Creation-Date: 2025-03-21 14:18+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -488,20 +488,22 @@ msgid ""
488488
"If negative, the absolute value specifies how much space instances of the "
489489
"class need *in addition* to the superclass. Use :c:func:"
490490
"`PyObject_GetTypeData` to get a pointer to subclass-specific memory reserved "
491-
"this way."
491+
"this way. For negative :c:member:`!basicsize`, Python will insert padding "
492+
"when needed to meet :c:member:`~PyTypeObject.tp_basicsize`'s alignment "
493+
"requirements."
492494
msgstr ""
493495

494-
#: ../../c-api/type.rst:418
496+
#: ../../c-api/type.rst:421
495497
msgid "Previously, this field could not be negative."
496498
msgstr ""
497499

498-
#: ../../c-api/type.rst:422
500+
#: ../../c-api/type.rst:425
499501
msgid ""
500502
"Size of one element of a variable-size type, in bytes. Used to set :c:member:"
501503
"`PyTypeObject.tp_itemsize`. See ``tp_itemsize`` documentation for caveats."
502504
msgstr ""
503505

504-
#: ../../c-api/type.rst:426
506+
#: ../../c-api/type.rst:429
505507
msgid ""
506508
"If zero, :c:member:`~PyTypeObject.tp_itemsize` is inherited. Extending "
507509
"arbitrary variable-sized classes is dangerous, since some types use a fixed "
@@ -510,150 +512,150 @@ msgid ""
510512
"only possible in the following situations:"
511513
msgstr ""
512514

513-
#: ../../c-api/type.rst:433
515+
#: ../../c-api/type.rst:436
514516
msgid ""
515517
"The base is not variable-sized (its :c:member:`~PyTypeObject.tp_itemsize`)."
516518
msgstr ""
517519

518-
#: ../../c-api/type.rst:435
520+
#: ../../c-api/type.rst:438
519521
msgid ""
520522
"The requested :c:member:`PyType_Spec.basicsize` is positive, suggesting that "
521523
"the memory layout of the base class is known."
522524
msgstr ""
523525

524-
#: ../../c-api/type.rst:437
526+
#: ../../c-api/type.rst:440
525527
msgid ""
526528
"The requested :c:member:`PyType_Spec.basicsize` is zero, suggesting that the "
527529
"subclass does not access the instance's memory directly."
528530
msgstr ""
529531

530-
#: ../../c-api/type.rst:440
532+
#: ../../c-api/type.rst:443
531533
msgid "With the :c:macro:`Py_TPFLAGS_ITEMS_AT_END` flag."
532534
msgstr ""
533535

534-
#: ../../c-api/type.rst:444
536+
#: ../../c-api/type.rst:447
535537
msgid "Type flags, used to set :c:member:`PyTypeObject.tp_flags`."
536538
msgstr ""
537539

538-
#: ../../c-api/type.rst:446
540+
#: ../../c-api/type.rst:449
539541
msgid ""
540542
"If the ``Py_TPFLAGS_HEAPTYPE`` flag is not set, :c:func:"
541543
"`PyType_FromSpecWithBases` sets it automatically."
542544
msgstr ""
543545

544-
#: ../../c-api/type.rst:451
546+
#: ../../c-api/type.rst:454
545547
msgid ""
546548
"Array of :c:type:`PyType_Slot` structures. Terminated by the special slot "
547549
"value ``{0, NULL}``."
548550
msgstr ""
549551

550-
#: ../../c-api/type.rst:454
552+
#: ../../c-api/type.rst:457
551553
msgid "Each slot ID should be specified at most once."
552554
msgstr ""
553555

554-
#: ../../c-api/type.rst:464
556+
#: ../../c-api/type.rst:467
555557
msgid ""
556558
"Structure defining optional functionality of a type, containing a slot ID "
557559
"and a value pointer."
558560
msgstr ""
559561

560-
#: ../../c-api/type.rst:469
562+
#: ../../c-api/type.rst:472
561563
msgid "A slot ID."
562564
msgstr ""
563565

564-
#: ../../c-api/type.rst:471
566+
#: ../../c-api/type.rst:474
565567
msgid ""
566568
"Slot IDs are named like the field names of the structures :c:type:"
567569
"`PyTypeObject`, :c:type:`PyNumberMethods`, :c:type:`PySequenceMethods`, :c:"
568570
"type:`PyMappingMethods` and :c:type:`PyAsyncMethods` with an added ``Py_`` "
569571
"prefix. For example, use:"
570572
msgstr ""
571573

572-
#: ../../c-api/type.rst:477
574+
#: ../../c-api/type.rst:480
573575
msgid "``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`"
574576
msgstr ""
575577

576-
#: ../../c-api/type.rst:478
578+
#: ../../c-api/type.rst:481
577579
msgid "``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`"
578580
msgstr ""
579581

580-
#: ../../c-api/type.rst:479
582+
#: ../../c-api/type.rst:482
581583
msgid "``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`"
582584
msgstr ""
583585

584-
#: ../../c-api/type.rst:481
586+
#: ../../c-api/type.rst:484
585587
msgid ""
586588
"The following “offset” fields cannot be set using :c:type:`PyType_Slot`:"
587589
msgstr ""
588590

589-
#: ../../c-api/type.rst:483
591+
#: ../../c-api/type.rst:486
590592
msgid ""
591593
":c:member:`~PyTypeObject.tp_weaklistoffset` (use :c:macro:"
592594
"`Py_TPFLAGS_MANAGED_WEAKREF` instead if possible)"
593595
msgstr ""
594596

595-
#: ../../c-api/type.rst:485
597+
#: ../../c-api/type.rst:488
596598
msgid ""
597599
":c:member:`~PyTypeObject.tp_dictoffset` (use :c:macro:"
598600
"`Py_TPFLAGS_MANAGED_DICT` instead if possible)"
599601
msgstr ""
600602

601-
#: ../../c-api/type.rst:487
603+
#: ../../c-api/type.rst:490
602604
msgid ""
603605
":c:member:`~PyTypeObject.tp_vectorcall_offset` (use "
604606
"``\"__vectorcalloffset__\"`` in :ref:`PyMemberDef <pymemberdef-offsets>`)"
605607
msgstr ""
606608

607-
#: ../../c-api/type.rst:491
609+
#: ../../c-api/type.rst:494
608610
msgid ""
609611
"If it is not possible to switch to a ``MANAGED`` flag (for example, for "
610612
"vectorcall or to support Python older than 3.12), specify the offset in :c:"
611613
"member:`Py_tp_members <PyTypeObject.tp_members>`. See :ref:`PyMemberDef "
612614
"documentation <pymemberdef-offsets>` for details."
613615
msgstr ""
614616

615-
#: ../../c-api/type.rst:497
617+
#: ../../c-api/type.rst:500
616618
msgid "The following fields cannot be set at all when creating a heap type:"
617619
msgstr ""
618620

619-
#: ../../c-api/type.rst:499
621+
#: ../../c-api/type.rst:502
620622
msgid ""
621623
":c:member:`~PyTypeObject.tp_vectorcall` (use :c:member:`~PyTypeObject."
622624
"tp_new` and/or :c:member:`~PyTypeObject.tp_init`)"
623625
msgstr ""
624626

625-
#: ../../c-api/type.rst:503
627+
#: ../../c-api/type.rst:506
626628
msgid ""
627629
"Internal fields: :c:member:`~PyTypeObject.tp_dict`, :c:member:`~PyTypeObject."
628630
"tp_mro`, :c:member:`~PyTypeObject.tp_cache`, :c:member:`~PyTypeObject."
629631
"tp_subclasses`, and :c:member:`~PyTypeObject.tp_weaklist`."
630632
msgstr ""
631633

632-
#: ../../c-api/type.rst:510
634+
#: ../../c-api/type.rst:513
633635
msgid ""
634636
"Setting :c:data:`Py_tp_bases` or :c:data:`Py_tp_base` may be problematic on "
635637
"some platforms. To avoid issues, use the *bases* argument of :c:func:"
636638
"`PyType_FromSpecWithBases` instead."
637639
msgstr ""
638640

639-
#: ../../c-api/type.rst:515
641+
#: ../../c-api/type.rst:518
640642
msgid "Slots in :c:type:`PyBufferProcs` may be set in the unlimited API."
641643
msgstr ""
642644

643-
#: ../../c-api/type.rst:518
645+
#: ../../c-api/type.rst:521
644646
msgid ""
645647
":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs."
646648
"bf_releasebuffer` are now available under the :ref:`limited API <limited-c-"
647649
"api>`."
648650
msgstr ""
649651

650-
#: ../../c-api/type.rst:525
652+
#: ../../c-api/type.rst:528
651653
msgid ""
652654
"The desired value of the slot. In most cases, this is a pointer to a "
653655
"function."
654656
msgstr ""
655657

656-
#: ../../c-api/type.rst:528
658+
#: ../../c-api/type.rst:531
657659
msgid "Slots other than ``Py_tp_doc`` may not be ``NULL``."
658660
msgstr ""
659661

0 commit comments

Comments
 (0)