Skip to content

Commit c81b2fb

Browse files
Update translation
Co-Authored-By: Rafael Fontenelle <rffontenelle@gmail.com> Co-Authored-By: Rainer Terroso
1 parent f58b12f commit c81b2fb

9 files changed

Lines changed: 14897 additions & 14779 deletions

File tree

c-api/descriptor.po

Lines changed: 68 additions & 9 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-17 14:14+0000\n"
15+
"POT-Creation-Date: 2025-12-03 14:17+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/"
@@ -40,8 +40,57 @@ msgstr ""
4040
msgid "The type object for the built-in descriptor types."
4141
msgstr "O tipo de objeto para os tipos de descritores embutidos."
4242

43+
#: ../../c-api/descriptor.rst:26
44+
msgid ""
45+
"The type object for member descriptor objects created from :c:type:"
46+
"`PyMemberDef` structures. These descriptors expose fields of a C struct as "
47+
"attributes on a type, and correspond to :class:`types.MemberDescriptorType` "
48+
"objects in Python."
49+
msgstr ""
50+
"O objeto de tipo para descritores de membros criados a partir de estruturas :"
51+
"c:type:`PyMemberDef`. Esses descritores expõem campos de uma estrutura C "
52+
"como atributos de um tipo e correspondem a objetos :class:`types."
53+
"MemberDescriptorType` em Python."
54+
4355
#: ../../c-api/descriptor.rst:35
4456
msgid ""
57+
"The type object for get/set descriptor objects created from :c:type:"
58+
"`PyGetSetDef` structures. These descriptors implement attributes whose value "
59+
"is computed by C getter and setter functions, and are used for many built-in "
60+
"type attributes."
61+
msgstr ""
62+
"O objeto de tipo para descritores get/set criados a partir de estruturas :c:"
63+
"type:`PyGetSetDef`. Esses descritores implementam atributos cujo valor é "
64+
"calculado por funções getter e setter em C e são usados ​​para muitos "
65+
"atributos de tipo embutidos."
66+
67+
#: ../../c-api/descriptor.rst:46
68+
msgid ""
69+
"The type object for method descriptor objects created from :c:type:"
70+
"`PyMethodDef` structures. These descriptors expose C functions as methods on "
71+
"a type, and correspond to :class:`types.MemberDescriptorType` objects in "
72+
"Python."
73+
msgstr ""
74+
"O objeto de tipo para descritores de métodos criados a partir de estruturas :"
75+
"c:type:`PyMethodDef`. Esses descritores expõem funções C como métodos de um "
76+
"tipo e correspondem a objetos :class:`types.MemberDescriptorType` em Python."
77+
78+
#: ../../c-api/descriptor.rst:57
79+
msgid ""
80+
"The type object for wrapper descriptor objects created by :c:func:"
81+
"`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`. Wrapper descriptors are "
82+
"used internally to expose special methods implemented via wrapper "
83+
"structures, and appear in Python as :class:`types.WrapperDescriptorType` "
84+
"objects."
85+
msgstr ""
86+
"O objeto de tipo para objetos descritores de encapsulamento criados por :c:"
87+
"func:`PyDescr_NewWrapper` e :c:func:`PyWrapper_New`. Os descritores de "
88+
"encapsulamento são usados ​​internamente para expor métodos especiais "
89+
"implementados por meio de estruturas de encapsulamento e aparecem em Python "
90+
"como objetos :class:`types.WrapperDescriptorType`."
91+
92+
#: ../../c-api/descriptor.rst:69
93+
msgid ""
4594
"Return non-zero if the descriptor object *descr* describes a data attribute, "
4695
"or ``0`` if it describes a method. *descr* must be a descriptor object; "
4796
"there is no error checking."
@@ -50,35 +99,45 @@ msgstr ""
5099
"dados, ou ``0`` se os mesmos descrevem um método. *descr* deve ser um objeto "
51100
"descritor; não há verificação de erros."
52101

53-
#: ../../c-api/descriptor.rst:44
102+
#: ../../c-api/descriptor.rst:78
54103
msgid "Built-in descriptors"
55104
msgstr "Descritores embutidos"
56105

57-
#: ../../c-api/descriptor.rst:48
106+
#: ../../c-api/descriptor.rst:82
58107
msgid ""
59108
"The type object for super objects. This is the same object as :class:`super` "
60109
"in the Python layer."
61110
msgstr ""
62111
"O objeto de tipo para superobjetos. Este é o mesmo objeto que :class:`super` "
63112
"na camada Python."
64113

65-
#: ../../c-api/descriptor.rst:54
114+
#: ../../c-api/descriptor.rst:88
66115
msgid ""
67116
"The type of class method objects. This is the same object as :class:"
68117
"`classmethod` in the Python layer."
69118
msgstr ""
70119
"O tipo de objeto de método de classe. Este é o mesmo objeto que :class:"
71120
"`classmethod` na camada Python."
72121

73-
#: ../../c-api/descriptor.rst:60
122+
#: ../../c-api/descriptor.rst:94
123+
msgid ""
124+
"The type object for C-level class method descriptor objects. This is the "
125+
"type of the descriptors created for :func:`classmethod` defined in C "
126+
"extension types, and is the same object as :class:`classmethod` in Python."
127+
msgstr ""
128+
"O objeto de tipo para descritores de métodos de classe em nível C. Este é o "
129+
"tipo dos descritores criados para :func:`classmethod` definidos em tipos de "
130+
"extensão C, e é o mesmo objeto que :class:`classmethod` em Python."
131+
132+
#: ../../c-api/descriptor.rst:102
74133
msgid ""
75134
"Create a new :class:`classmethod` object wrapping *callable*. *callable* "
76135
"must be a callable object and must not be ``NULL``."
77136
msgstr ""
78137
"Cria um novo objeto :class:`classmethod` que envolve *callable*. *callable* "
79138
"deve ser um objeto chamável e não deve ser ``NULL``."
80139

81-
#: ../../c-api/descriptor.rst:63
140+
#: ../../c-api/descriptor.rst:105
82141
msgid ""
83142
"On success, this function returns a :term:`strong reference` to a new class "
84143
"method descriptor. On failure, this function returns ``NULL`` with an "
@@ -88,23 +147,23 @@ msgstr ""
88147
"novo descritor de método de classe. Em caso de falha, esta função retorna "
89148
"``NULL`` com uma exceção definida."
90149

91-
#: ../../c-api/descriptor.rst:70
150+
#: ../../c-api/descriptor.rst:112
92151
msgid ""
93152
"The type of static method objects. This is the same object as :class:"
94153
"`staticmethod` in the Python layer."
95154
msgstr ""
96155
"O tipo de objeto de método estático. Este é o mesmo objeto que :class:"
97156
"`staticmethod` na camada Python."
98157

99-
#: ../../c-api/descriptor.rst:76
158+
#: ../../c-api/descriptor.rst:118
100159
msgid ""
101160
"Create a new :class:`staticmethod` object wrapping *callable*. *callable* "
102161
"must be a callable object and must not be ``NULL``."
103162
msgstr ""
104163
"Cria um novo objeto :class:`staticmethod` que envolve *callable*. *callable* "
105164
"deve ser um objeto chamável e não deve ser ``NULL``."
106165

107-
#: ../../c-api/descriptor.rst:79
166+
#: ../../c-api/descriptor.rst:121
108167
msgid ""
109168
"On success, this function returns a :term:`strong reference` to a new static "
110169
"method descriptor. On failure, this function returns ``NULL`` with an "

0 commit comments

Comments
 (0)