Skip to content

Commit fea901b

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 65c4e10 commit fea901b

File tree

19 files changed

+2937
-2964
lines changed

19 files changed

+2937
-2964
lines changed

c-api/bool.po

Lines changed: 21 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <rffontenelle@gmail.com>, 2021
8-
# Italo Penaforte <italo.penaforte@gmail.com>, 2021
98
#
109
#, fuzzy
1110
msgid ""
1211
msgstr ""
1312
"Project-Id-Version: Python 3.12\n"
1413
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-06-09 14:13+0000\n"
14+
"POT-Creation-Date: 2023-06-30 14:13+0000\n"
1615
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
17-
"Last-Translator: Italo Penaforte <italo.penaforte@gmail.com>, 2021\n"
16+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2021\n"
1817
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1918
"teams/5390/pt_BR/)\n"
2019
"MIME-Version: 1.0\n"
@@ -31,14 +30,10 @@ msgstr "Objetos Booleanos"
3130
#: ../../c-api/bool.rst:8
3231
msgid ""
3332
"Booleans in Python are implemented as a subclass of integers. There are "
34-
"only two booleans, :const:`Py_False` and :const:`Py_True`. As such, the "
33+
"only two booleans, :c:data:`Py_False` and :c:data:`Py_True`. As such, the "
3534
"normal creation and deletion functions don't apply to booleans. The "
3635
"following macros are available, however."
3736
msgstr ""
38-
"Booleano em Python é implementado como uma subclasse de inteiros. Existem "
39-
"apenas dois tipos de booleanos :const:`Py_False` e :const:`Py_True`. Como "
40-
"tal, as funções normais de criação e exclusão não se aplicam a booleanos. No "
41-
"entanto, as seguintes macros estão disponíveis."
4237

4338
#: ../../c-api/bool.rst:16
4439
msgid ""
@@ -50,40 +45,34 @@ msgstr ""
5045

5146
#: ../../c-api/bool.rst:22
5247
msgid ""
53-
"The Python ``False`` object. This object has no methods. It needs to be "
54-
"treated just like any other object with respect to reference counts."
48+
"The Python ``False`` object. This object has no methods and is `immortal "
49+
"<https://peps.python.org/pep-0683/>`_."
5550
msgstr ""
56-
"O objeto Python ``False``. Este objeto não possui métodos. Ele precisa ser "
57-
"tratado como qualquer outro objeto em relação às contagens de referência."
5851

59-
#: ../../c-api/bool.rst:28
52+
#: ../../c-api/bool.rst:25
53+
msgid ":c:data:`Py_False` is immortal."
54+
msgstr ""
55+
56+
#: ../../c-api/bool.rst:31
6057
msgid ""
61-
"The Python ``True`` object. This object has no methods. It needs to be "
62-
"treated just like any other object with respect to reference counts."
58+
"The Python ``True`` object. This object has no methods and is `immortal "
59+
"<https://peps.python.org/pep-0683/>`_."
6360
msgstr ""
64-
"O objeto Python ``True``. Este objeto não possui métodos. Ele precisa ser "
65-
"tratado como qualquer outro objeto em relação às contagens de referência."
6661

6762
#: ../../c-api/bool.rst:34
68-
msgid ""
69-
"Return :const:`Py_False` from a function, properly incrementing its "
70-
"reference count."
63+
msgid ":c:data:`Py_True` is immortal."
7164
msgstr ""
72-
"Retornar :const:`Py_False` de uma função, incrementando adequadamente sua "
73-
"contagem de referência."
7465

7566
#: ../../c-api/bool.rst:40
76-
msgid ""
77-
"Return :const:`Py_True` from a function, properly incrementing its reference "
78-
"count."
67+
msgid "Return :c:data:`Py_False` from a function."
68+
msgstr ""
69+
70+
#: ../../c-api/bool.rst:45
71+
msgid "Return :c:data:`Py_True` from a function."
7972
msgstr ""
80-
"Retorna :const:`Py_True` de uma função, incrementando adequadamente sua "
81-
"contagem de referência."
8273

83-
#: ../../c-api/bool.rst:46
74+
#: ../../c-api/bool.rst:50
8475
msgid ""
85-
"Return a new reference to :const:`Py_True` or :const:`Py_False` depending on "
86-
"the truth value of *v*."
76+
"Return :c:data:`Py_True` or :c:data:`Py_False`, depending on the truth value "
77+
"of *v*."
8778
msgstr ""
88-
"Retorna uma nova referência para :const:`Py_True` ou :const:`Py_False` "
89-
"dependendo do valor de verdade de *v*."

c-api/dict.po

Lines changed: 39 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.12\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2023-05-26 14:12+0000\n"
17+
"POT-Creation-Date: 2023-06-30 14:13+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1919
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
2020
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -148,25 +148,22 @@ msgstr ""
148148
"``NULL`` se a chave *key* não estiver presente, mas *sem* definir uma "
149149
"exceção."
150150

151-
#: ../../c-api/dict.rst:101
151+
#: ../../c-api/dict.rst:103
152152
msgid ""
153-
"Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
154-
"`__eq__` methods will get suppressed. To get error reporting use :c:func:"
155-
"`PyDict_GetItemWithError()` instead."
153+
"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
154+
"`~object.__eq__` methods are silently ignored. Prefer the :c:func:"
155+
"`PyDict_GetItemWithError` function instead."
156156
msgstr ""
157-
"Observe que as exceções que ocorrem ao chamar os métodos :meth:`__hash__` e :"
158-
"meth:`__eq__` serão suprimidas. Para obter o relatório de erros, use :c:func:"
159-
"`PyDict_GetItemWithError()`."
160157

161-
#: ../../c-api/dict.rst:105
158+
#: ../../c-api/dict.rst:107
162159
msgid ""
163160
"Calling this API without :term:`GIL` held had been allowed for historical "
164161
"reason. It is no longer allowed."
165162
msgstr ""
166163
"Chamar esta API sem :term:`GIL` retido foi permitido por motivos históricos. "
167164
"Não é mais permitido."
168165

169-
#: ../../c-api/dict.rst:112
166+
#: ../../c-api/dict.rst:114
170167
msgid ""
171168
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
172169
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
@@ -176,25 +173,23 @@ msgstr ""
176173
"``NULL`` **com** uma exceção definida se uma exceção ocorreu. Retorna "
177174
"``NULL`` ** sem ** uma exceção definida se a chave não estiver presente."
178175

179-
#: ../../c-api/dict.rst:120
176+
#: ../../c-api/dict.rst:122
180177
msgid ""
181178
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
182179
"expr:`const char*`, rather than a :c:expr:`PyObject*`."
183180
msgstr ""
184181
"É o mesmo que :c:func:`PyDict_GetItem`, mas *key* é especificada como um :c:"
185182
"expr:`const char*`, em vez de um :c:expr:`PyObject*`."
186183

187-
#: ../../c-api/dict.rst:123
184+
#: ../../c-api/dict.rst:127
188185
msgid ""
189-
"Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
190-
"`__eq__` methods and creating a temporary string object will get suppressed. "
191-
"To get error reporting use :c:func:`PyDict_GetItemWithError()` instead."
186+
"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
187+
"`~object.__eq__` methods or while creating the temporary :class:`str` object "
188+
"are silently ignored. Prefer using the :c:func:`PyDict_GetItemWithError` "
189+
"function with your own :c:func:`PyUnicode_FromString` *key* instead."
192190
msgstr ""
193-
"Observe que as exceções que ocorrem ao chamar os métodos :meth:`__hash__` e :"
194-
"meth:`__eq__` e criar um objeto string temporário serão suprimidas. Para "
195-
"obter o relatório de erros, use :c:func:`PyDict_GetItemWithError()`."
196191

197-
#: ../../c-api/dict.rst:131
192+
#: ../../c-api/dict.rst:136
198193
msgid ""
199194
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
200195
"it returns the value corresponding to *key* from the dictionary *p*. If the "
@@ -209,35 +204,35 @@ msgstr ""
209204
"será retornado. Esta função avalia a função hash de *key* apenas uma vez, em "
210205
"vez de avaliá-la independentemente para a pesquisa e a inserção."
211206

212-
#: ../../c-api/dict.rst:141
207+
#: ../../c-api/dict.rst:146
213208
msgid ""
214209
"Return a :c:type:`PyListObject` containing all the items from the dictionary."
215210
msgstr ""
216211
"Retorna um :c:type:`PyListObject` contendo todos os itens do dicionário."
217212

218-
#: ../../c-api/dict.rst:146
213+
#: ../../c-api/dict.rst:151
219214
msgid ""
220215
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
221216
msgstr ""
222217
"Retorna um :c:type:`PyListObject` contendo todas as chaves do dicionário."
223218

224-
#: ../../c-api/dict.rst:151
219+
#: ../../c-api/dict.rst:156
225220
msgid ""
226221
"Return a :c:type:`PyListObject` containing all the values from the "
227222
"dictionary *p*."
228223
msgstr ""
229224
"Retorna um :c:type:`PyListObject` contendo todos os valores do dicionário "
230225
"*p*."
231226

232-
#: ../../c-api/dict.rst:159
227+
#: ../../c-api/dict.rst:164
233228
msgid ""
234229
"Return the number of items in the dictionary. This is equivalent to "
235230
"``len(p)`` on a dictionary."
236231
msgstr ""
237232
"Retorna o número de itens no dicionário. Isso é equivalente a ``len(p)`` em "
238233
"um dicionário."
239234

240-
#: ../../c-api/dict.rst:165
235+
#: ../../c-api/dict.rst:170
241236
msgid ""
242237
"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
243238
"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -261,11 +256,11 @@ msgstr ""
261256
"Seu valor representa deslocamentos dentro da estrutura do dicionário interno "
262257
"e, como a estrutura é esparsa, os deslocamentos não são consecutivos."
263258

264-
#: ../../c-api/dict.rst:176
259+
#: ../../c-api/dict.rst:181
265260
msgid "For example::"
266261
msgstr "Por exemplo::"
267262

268-
#: ../../c-api/dict.rst:186
263+
#: ../../c-api/dict.rst:191
269264
msgid ""
270265
"The dictionary *p* should not be mutated during iteration. It is safe to "
271266
"modify the values of the keys as you iterate over the dictionary, but only "
@@ -275,7 +270,7 @@ msgstr ""
275270
"modificar os valores das chaves à medida que você itera no dicionário, mas "
276271
"apenas enquanto o conjunto de chaves não mudar. Por exemplo::"
277272

278-
#: ../../c-api/dict.rst:211
273+
#: ../../c-api/dict.rst:216
279274
msgid ""
280275
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
281276
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -292,7 +287,7 @@ msgstr ""
292287
"adicionados apenas se não houver uma chave correspondente em *a*. Retorna "
293288
"``0`` em caso de sucesso ou ``-1`` se uma exceção foi levantada."
294289

295-
#: ../../c-api/dict.rst:221
290+
#: ../../c-api/dict.rst:226
296291
msgid ""
297292
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
298293
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -306,7 +301,7 @@ msgstr ""
306301
"argumento não tiver o atributo \"keys\". Retorna ``0`` em caso de sucesso ou "
307302
"``-1`` se uma exceção foi levantada."
308303

309-
#: ../../c-api/dict.rst:230
304+
#: ../../c-api/dict.rst:235
310305
msgid ""
311306
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
312307
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -321,49 +316,49 @@ msgstr ""
321316
"vence. Retorne ``0`` em caso de sucesso ou ``-1`` se uma exceção foi "
322317
"levantada. Python equivalente (exceto para o valor de retorno)::"
323318

324-
#: ../../c-api/dict.rst:244
319+
#: ../../c-api/dict.rst:249
325320
msgid ""
326321
"Register *callback* as a dictionary watcher. Return a non-negative integer "
327322
"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
328323
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
329324
"exception."
330325
msgstr ""
331326

332-
#: ../../c-api/dict.rst:253
327+
#: ../../c-api/dict.rst:258
333328
msgid ""
334329
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
335330
"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
336331
"given *watcher_id* was never registered.)"
337332
msgstr ""
338333

339-
#: ../../c-api/dict.rst:261
334+
#: ../../c-api/dict.rst:266
340335
msgid ""
341336
"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
342337
"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
343338
"deallocated. Return ``0`` on success or ``-1`` on error."
344339
msgstr ""
345340

346-
#: ../../c-api/dict.rst:269
341+
#: ../../c-api/dict.rst:274
347342
msgid ""
348343
"Mark dictionary *dict* as no longer watched. The callback granted "
349344
"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
350345
"*dict* is modified or deallocated. The dict must previously have been "
351346
"watched by this watcher. Return ``0`` on success or ``-1`` on error."
352347
msgstr ""
353348

354-
#: ../../c-api/dict.rst:278
349+
#: ../../c-api/dict.rst:283
355350
msgid ""
356351
"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
357352
"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
358353
"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or "
359354
"``PyDict_EVENT_DEALLOCATED``."
360355
msgstr ""
361356

362-
#: ../../c-api/dict.rst:286
357+
#: ../../c-api/dict.rst:291
363358
msgid "Type of a dict watcher callback function."
364359
msgstr ""
365360

366-
#: ../../c-api/dict.rst:288
361+
#: ../../c-api/dict.rst:293
367362
msgid ""
368363
"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
369364
"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
@@ -372,22 +367,22 @@ msgid ""
372367
"dictionary and *new_value* will be ``NULL``."
373368
msgstr ""
374369

375-
#: ../../c-api/dict.rst:294
370+
#: ../../c-api/dict.rst:299
376371
msgid ""
377372
"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
378373
"dict is merged into it. To maintain efficiency of this operation, per-key "
379374
"``PyDict_EVENT_ADDED`` events are not issued in this case; instead a single "
380375
"``PyDict_EVENT_CLONED`` is issued, and *key* will be the source dictionary."
381376
msgstr ""
382377

383-
#: ../../c-api/dict.rst:300
378+
#: ../../c-api/dict.rst:305
384379
msgid ""
385380
"The callback may inspect but must not modify *dict*; doing so could have "
386381
"unpredictable effects, including infinite recursion. Do not trigger Python "
387382
"code execution in the callback, as it could modify the dict as a side effect."
388383
msgstr ""
389384

390-
#: ../../c-api/dict.rst:304
385+
#: ../../c-api/dict.rst:309
391386
msgid ""
392387
"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
393388
"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -396,20 +391,20 @@ msgid ""
396391
"again."
397392
msgstr ""
398393

399-
#: ../../c-api/dict.rst:310
394+
#: ../../c-api/dict.rst:315
400395
msgid ""
401396
"Callbacks occur before the notified modification to *dict* takes place, so "
402397
"the prior state of *dict* can be inspected."
403398
msgstr ""
404399

405-
#: ../../c-api/dict.rst:313
400+
#: ../../c-api/dict.rst:318
406401
msgid ""
407402
"If the callback sets an exception, it must return ``-1``; this exception "
408403
"will be printed as an unraisable exception using :c:func:"
409404
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
410405
msgstr ""
411406

412-
#: ../../c-api/dict.rst:317
407+
#: ../../c-api/dict.rst:322
413408
msgid ""
414409
"There may already be a pending exception set on entry to the callback. In "
415410
"this case, the callback should return ``0`` with the same exception still "
@@ -430,10 +425,10 @@ msgstr "dicionário"
430425
msgid "PyUnicode_FromString()"
431426
msgstr ""
432427

433-
#: ../../c-api/dict.rst:157
428+
#: ../../c-api/dict.rst:162
434429
msgid "built-in function"
435430
msgstr "função embutida"
436431

437-
#: ../../c-api/dict.rst:157
432+
#: ../../c-api/dict.rst:162
438433
msgid "len"
439434
msgstr ""

0 commit comments

Comments
 (0)