Skip to content

Commit af44480

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 0712429 commit af44480

20 files changed

+3036
-2811
lines changed

c-api/hash.po

+16-12
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: 2024-05-11 02:33+0000\n"
15+
"POT-Creation-Date: 2024-06-07 14:15+0000\n"
1616
"PO-Revision-Date: 2024-02-23 14:15+0000\n"
1717
"Last-Translator: Adorilson Bezerra <[email protected]>, 2024\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -52,53 +52,57 @@ msgid "The exponent ``n`` of ``P`` in :c:macro:`PyHASH_MODULUS`."
5252
msgstr ""
5353

5454
#: ../../c-api/hash.rst:34
55-
msgid "The hash value returned for a positive infinity."
55+
msgid "Prime multiplier used in string and various other hashes."
5656
msgstr ""
5757

5858
#: ../../c-api/hash.rst:40
59-
msgid "The multiplier used for the imaginary part of a complex number."
59+
msgid "The hash value returned for a positive infinity."
6060
msgstr ""
6161

6262
#: ../../c-api/hash.rst:46
63+
msgid "The multiplier used for the imaginary part of a complex number."
64+
msgstr ""
65+
66+
#: ../../c-api/hash.rst:52
6367
msgid "Hash function definition used by :c:func:`PyHash_GetFuncDef`."
6468
msgstr "Definição de função de hash usada por :c:func:`PyHash_GetFuncDef`."
6569

66-
#: ../../c-api/hash.rst:54
70+
#: ../../c-api/hash.rst:60
6771
msgid "Hash function name (UTF-8 encoded string)."
6872
msgstr "Nome de função hash (string codificada em UTF-8)."
6973

70-
#: ../../c-api/hash.rst:58
74+
#: ../../c-api/hash.rst:64
7175
msgid "Internal size of the hash value in bits."
7276
msgstr "Tamanho interno do valor do hash em bits."
7377

74-
#: ../../c-api/hash.rst:62
78+
#: ../../c-api/hash.rst:68
7579
msgid "Size of seed input in bits."
7680
msgstr "Tamanho da entrada de seed em bits."
7781

78-
#: ../../c-api/hash.rst:69
82+
#: ../../c-api/hash.rst:75
7983
msgid "Get the hash function definition."
8084
msgstr "Obtém a definição de função de hash."
8185

82-
#: ../../c-api/hash.rst:72
86+
#: ../../c-api/hash.rst:78
8387
msgid ":pep:`456` \"Secure and interchangeable hash algorithm\"."
8488
msgstr ":pep:`456` \"Algoritmo de hash seguro e intercambiável\"."
8589

86-
#: ../../c-api/hash.rst:79
90+
#: ../../c-api/hash.rst:85
8791
msgid ""
8892
"Hash a pointer value: process the pointer value as an integer (cast it to "
8993
"``uintptr_t`` internally). The pointer is not dereferenced."
9094
msgstr ""
9195

92-
#: ../../c-api/hash.rst:82
96+
#: ../../c-api/hash.rst:88
9397
msgid "The function cannot fail: it cannot return ``-1``."
9498
msgstr ""
9599

96-
#: ../../c-api/hash.rst:88
100+
#: ../../c-api/hash.rst:94
97101
msgid ""
98102
"Generic hashing function that is meant to be put into a type object's "
99103
"``tp_hash`` slot. Its result only depends on the object's identity."
100104
msgstr ""
101105

102-
#: ../../c-api/hash.rst:93
106+
#: ../../c-api/hash.rst:99
103107
msgid "In CPython, it is equivalent to :c:func:`Py_HashPointer`."
104108
msgstr ""

c-api/monitoring.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.13\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-05-24 14:15+0000\n"
11+
"POT-Creation-Date: 2024-06-07 14:15+0000\n"
1212
"PO-Revision-Date: 2024-05-11 01:07+0000\n"
1313
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1414
"teams/5390/pt_BR/)\n"
@@ -20,7 +20,7 @@ msgstr ""
2020
"1000000 == 0 ? 1 : 2;\n"
2121

2222
#: ../../c-api/monitoring.rst:6
23-
msgid "Monitorong C API"
23+
msgid "Monitoring C API"
2424
msgstr ""
2525

2626
#: ../../c-api/monitoring.rst:8

c-api/reflection.po

+72-12
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: 2024-05-24 14:15+0000\n"
15+
"POT-Creation-Date: 2024-06-07 14:15+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1717
"Last-Translator: Raphael Mendonça, 2021\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -28,7 +28,11 @@ msgstr ""
2828
msgid "Reflection"
2929
msgstr "Reflexão"
3030

31-
#: ../../c-api/reflection.rst:10
31+
#: ../../c-api/reflection.rst:12
32+
msgid "Use :c:func:`PyEval_GetFrameBuiltins` instead."
33+
msgstr ""
34+
35+
#: ../../c-api/reflection.rst:14 ../../c-api/reflection.rst:66
3236
msgid ""
3337
"Return a dictionary of the builtins in the current execution frame, or the "
3438
"interpreter of the thread state if no frame is currently executing."
@@ -37,43 +41,99 @@ msgstr ""
3741
"ou o interpretador do estado do encadeamento, se nenhum quadro estiver em "
3842
"execução no momento."
3943

40-
#: ../../c-api/reflection.rst:16
44+
#: ../../c-api/reflection.rst:22
4145
msgid ""
42-
"Return a dictionary of the local variables in the current execution frame, "
43-
"or ``NULL`` if no frame is currently executing."
46+
"Use either :c:func:`PyEval_GetFrameLocals` to obtain the same behaviour as "
47+
"calling :func:`locals` in Python code, or else call :c:func:"
48+
"`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame` to access "
49+
"the :attr:`~frame.f_locals` attribute of the currently executing frame."
4450
msgstr ""
45-
"Retorna um dicionário das variáveis locais no quadro de execução atual ou "
46-
"``NULL`` se nenhum quadro estiver sendo executado no momento."
4751

48-
#: ../../c-api/reflection.rst:22
52+
#: ../../c-api/reflection.rst:27
53+
msgid ""
54+
"Return a mapping providing access to the local variables in the current "
55+
"execution frame, or ``NULL`` if no frame is currently executing."
56+
msgstr ""
57+
58+
#: ../../c-api/reflection.rst:30
59+
msgid ""
60+
"Refer to :func:`locals` for details of the mapping returned at different "
61+
"scopes."
62+
msgstr ""
63+
64+
#: ../../c-api/reflection.rst:32
65+
msgid ""
66+
"As this function returns a :term:`borrowed reference`, the dictionary "
67+
"returned for :term:`optimized scopes <optimized scope>` is cached on the "
68+
"frame object and will remain alive as long as the frame object does. Unlike :"
69+
"c:func:`PyEval_GetFrameLocals` and :func:`locals`, subsequent calls to this "
70+
"function in the same frame will update the contents of the cached dictionary "
71+
"to reflect changes in the state of the local variables rather than returning "
72+
"a new snapshot."
73+
msgstr ""
74+
75+
#: ../../c-api/reflection.rst:39
76+
msgid ""
77+
"As part of :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals`, and :"
78+
"attr:`FrameType.f_locals <frame.f_locals>` no longer make use of the shared "
79+
"cache dictionary. Refer to the :ref:`What's New entry <whatsnew313-locals-"
80+
"semantics>` for additional details."
81+
msgstr ""
82+
83+
#: ../../c-api/reflection.rst:50
84+
msgid "Use :c:func:`PyEval_GetFrameGlobals` instead."
85+
msgstr ""
86+
87+
#: ../../c-api/reflection.rst:52
4988
msgid ""
5089
"Return a dictionary of the global variables in the current execution frame, "
5190
"or ``NULL`` if no frame is currently executing."
5291
msgstr ""
5392
"Retorna um dicionário das variáveis globais no quadro de execução atual ou "
5493
"``NULL`` se nenhum quadro estiver sendo executado no momento."
5594

56-
#: ../../c-api/reflection.rst:28
95+
#: ../../c-api/reflection.rst:58
5796
msgid ""
5897
"Return the current thread state's frame, which is ``NULL`` if no frame is "
5998
"currently executing."
6099
msgstr ""
61100
"Retorna o quadro do estado atual da thread, que é ``NULL`` se nenhum quadro "
62101
"estiver em execução no momento."
63102

64-
#: ../../c-api/reflection.rst:31
103+
#: ../../c-api/reflection.rst:61
65104
msgid "See also :c:func:`PyThreadState_GetFrame`."
66105
msgstr "Veja também :c:func:`PyThreadState_GetFrame`."
67106

68-
#: ../../c-api/reflection.rst:36
107+
#: ../../c-api/reflection.rst:74
108+
msgid ""
109+
"Return a dictionary of the local variables in the current execution frame, "
110+
"or ``NULL`` if no frame is currently executing. Equivalent to calling :func:"
111+
"`locals` in Python code."
112+
msgstr ""
113+
114+
#: ../../c-api/reflection.rst:78
115+
msgid ""
116+
"To access :attr:`~frame.f_locals` on the current frame without making an "
117+
"independent snapshot in :term:`optimized scopes <optimized scope>`, call :c:"
118+
"func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`."
119+
msgstr ""
120+
121+
#: ../../c-api/reflection.rst:87
122+
msgid ""
123+
"Return a dictionary of the global variables in the current execution frame, "
124+
"or ``NULL`` if no frame is currently executing. Equivalent to calling :func:"
125+
"`globals` in Python code."
126+
msgstr ""
127+
128+
#: ../../c-api/reflection.rst:96
69129
msgid ""
70130
"Return the name of *func* if it is a function, class or instance object, "
71131
"else the name of *func*\\s type."
72132
msgstr ""
73133
"Retorna o nome de *func* se for uma função, classe ou objeto de instância, "
74134
"senão o nome do tipo da *func*."
75135

76-
#: ../../c-api/reflection.rst:42
136+
#: ../../c-api/reflection.rst:102
77137
msgid ""
78138
"Return a description string, depending on the type of *func*. Return values "
79139
"include \"()\" for functions and methods, \" constructor\", \" instance\", "

c-api/weakref.po

+37-5
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2023
7+
# Rafael Fontenelle <[email protected]>, 2024
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-05-31 14:14+0000\n"
14+
"POT-Creation-Date: 2024-06-07 14:15+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
16-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
16+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1818
"teams/5390/pt_BR/)\n"
1919
"MIME-Version: 1.0\n"
@@ -45,17 +45,23 @@ msgid ""
4545
"Return non-zero if *ob* is either a reference or proxy object. This "
4646
"function always succeeds."
4747
msgstr ""
48+
"Retorna não zero se *ob* for um objeto referência ou um objeto "
49+
"intermediário. Esta função sempre tem sucesso."
4850

4951
#: ../../c-api/weakref.rst:22
5052
msgid ""
5153
"Return non-zero if *ob* is a reference object. This function always "
5254
"succeeds."
5355
msgstr ""
56+
"Retorna não zero se *ob* for um objeto referência. Esta função sempre tem "
57+
"sucesso."
5458

5559
#: ../../c-api/weakref.rst:27
5660
msgid ""
5761
"Return non-zero if *ob* is a proxy object. This function always succeeds."
5862
msgstr ""
63+
"Retorna não zero se *ob* for um objeto intermediário. Esta função sempre tem "
64+
"sucesso."
5965

6066
#: ../../c-api/weakref.rst:32
6167
msgid ""
@@ -68,6 +74,15 @@ msgid ""
6874
"weakly referenceable object, or if *callback* is not callable, ``None``, or "
6975
"``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
7076
msgstr ""
77+
"Retorna um objeto de referência fraco para o objeto *ob*. Isso sempre "
78+
"retornará uma nova referência, mas não é garantido para criar um novo "
79+
"objeto; um objeto de referência existente pode ser retornado. O segundo "
80+
"parâmetro, *callback*, pode ser um objeto chamável que recebe notificação "
81+
"quando *ob* for lixo coletado; ele deve aceitar um único parâmetro, que será "
82+
"o objeto de referência fraco propriamente dito. *callback* também pode ser "
83+
"``None`` ou ``NULL``. Se *ob* não for um objeto fracamente referenciável, ou "
84+
"se *callback* não for um chamável, ``None``, ou ``NULL``, isso retornará "
85+
"``NULL`` e levantará a :exc:`TypeError`."
7186

7287
#: ../../c-api/weakref.rst:44
7388
msgid ""
@@ -80,32 +95,49 @@ msgid ""
8095
"*ob* is not a weakly referenceable object, or if *callback* is not callable, "
8196
"``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
8297
msgstr ""
98+
"Retorna um objeto de proxy de referência fraca para o objeto *ob*. Isso "
99+
"sempre retornará uma nova referência, mas não é garantido para criar um novo "
100+
"objeto; um objeto de proxy existente pode ser retornado. O segundo "
101+
"parâmetro, *callback*, pode ser um objeto chamável que recebe notificação "
102+
"quando *ob* for lixo coletado; ele deve aceitar um único parâmetro, que será "
103+
"o objeto de referência fraco propriamente dito. *callback* também pode ser "
104+
"``None`` ou ``NULL``. Se *ob* não for um objeto referência fraca, ou se "
105+
"*callback* não for um chamável, ``None``, ou ``NULL``, isso retornará "
106+
"``NULL`` e levantará a :exc:`TypeError`."
83107

84108
#: ../../c-api/weakref.rst:56
85109
msgid ""
86110
"Get a :term:`strong reference` to the referenced object from a weak "
87111
"reference, *ref*, into *\\*pobj*."
88112
msgstr ""
113+
"Obtém uma :term:`referência forte` para o objeto referenciado a partir de "
114+
"uma referência fraca, *ref*, em *\\*pobj*."
89115

90116
#: ../../c-api/weakref.rst:59
91117
msgid ""
92118
"On success, set *\\*pobj* to a new :term:`strong reference` to the "
93119
"referenced object and return 1."
94120
msgstr ""
121+
"Em caso de sucesso, define *\\*pobj* como uma nova :term:`referência forte` "
122+
"para o objeto referenciado e retorna 1."
95123

96124
#: ../../c-api/weakref.rst:61
97125
msgid "If the reference is dead, set *\\*pobj* to ``NULL`` and return 0."
98126
msgstr ""
127+
"Se a referência estiver quebrada, define *\\*pobj* como ``NULL`` e retorna 0."
99128

100129
#: ../../c-api/weakref.rst:62
101130
msgid "On error, raise an exception and return -1."
102-
msgstr ""
131+
msgstr "Em caso de erro, levanta uma exceção e retorna -1."
103132

104133
#: ../../c-api/weakref.rst:69
105134
msgid ""
106135
"Return a :term:`borrowed reference` to the referenced object from a weak "
107136
"reference, *ref*. If the referent is no longer live, returns ``Py_None``."
108137
msgstr ""
138+
"Retorna uma :term:`referência emprestada` ao objeto referenciado a partir de "
139+
"uma referência fraca, *ref*. Se o referente não estiver mais em tempo real, "
140+
"retorna ``Py_None``."
109141

110142
#: ../../c-api/weakref.rst:74
111143
msgid ""
@@ -121,7 +153,7 @@ msgstr ""
121153

122154
#: ../../c-api/weakref.rst:80 ../../c-api/weakref.rst:88
123155
msgid "Use :c:func:`PyWeakref_GetRef` instead."
124-
msgstr ""
156+
msgstr "Usa :c:func:`PyWeakref_GetRef`."
125157

126158
#: ../../c-api/weakref.rst:85
127159
msgid "Similar to :c:func:`PyWeakref_GetObject`, but does no error checking."

0 commit comments

Comments
 (0)