Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a7490bd

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 3241205 commit a7490bd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+6034
-6477
lines changed

c-api/datetime.po

Lines changed: 104 additions & 90 deletions
Large diffs are not rendered by default.

c-api/dict.po

Lines changed: 41 additions & 49 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-08-18 14:13+0000\n"
17+
"POT-Creation-Date: 2023-08-25 20:17+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1919
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
2020
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -108,14 +108,10 @@ msgstr ""
108108
#: ../../c-api/dict.rst:75
109109
msgid ""
110110
"Insert *val* into the dictionary *p* using *key* as a key. *key* should be "
111-
"a :c:expr:`const char*`. The key object is created using "
112-
"``PyUnicode_FromString(key)``. Return ``0`` on success or ``-1`` on "
113-
"failure. This function *does not* steal a reference to *val*."
111+
"a :c:expr:`const char*` UTF-8 encoded bytes string. The key object is "
112+
"created using ``PyUnicode_FromString(key)``. Return ``0`` on success or "
113+
"``-1`` on failure. This function *does not* steal a reference to *val*."
114114
msgstr ""
115-
"Insere *val* no dicionário *p* usando *key* como uma chave. *key* deve ser "
116-
"a :c:expr:`const char*`. O objeto chave é criado usando "
117-
"``PyUnicode_FromString(key)``. Retorna ``0`` em caso de sucesso ou ``-1`` em "
118-
"caso de falha. Esta função *não* rouba uma referência a *val*."
119115

120116
#: ../../c-api/dict.rst:83
121117
msgid ""
@@ -131,15 +127,12 @@ msgstr ""
131127

132128
#: ../../c-api/dict.rst:91
133129
msgid ""
134-
"Remove the entry in dictionary *p* which has a key specified by the string "
135-
"*key*. If *key* is not in the dictionary, :exc:`KeyError` is raised. Return "
136-
"``0`` on success or ``-1`` on failure."
130+
"Remove the entry in dictionary *p* which has a key specified by the UTF-8 "
131+
"encoded bytes string *key*. If *key* is not in the dictionary, :exc:"
132+
"`KeyError` is raised. Return ``0`` on success or ``-1`` on failure."
137133
msgstr ""
138-
"Remove a entrada no dicionário *p* que tem uma chave especificada pela "
139-
"string *key*. Se *key* não estiver no dicionário, :exc:`KeyError` é "
140-
"levantada. Retorna ``0`` em caso de sucesso ou ``-1`` em caso de falha."
141134

142-
#: ../../c-api/dict.rst:98
135+
#: ../../c-api/dict.rst:99
143136
msgid ""
144137
"Return the object from dictionary *p* which has a key *key*. Return "
145138
"``NULL`` if the key *key* is not present, but *without* setting an exception."
@@ -148,7 +141,7 @@ msgstr ""
148141
"``NULL`` se a chave *key* não estiver presente, mas *sem* definir uma "
149142
"exceção."
150143

151-
#: ../../c-api/dict.rst:103
144+
#: ../../c-api/dict.rst:104
152145
msgid ""
153146
"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
154147
"`~object.__eq__` methods are silently ignored. Prefer the :c:func:"
@@ -158,15 +151,15 @@ msgstr ""
158151
"`~object.__eq__` são ignoradas silenciosamente. Ao invés disso, use a "
159152
"função :c:func:`PyDict_GetItemWithError`."
160153

161-
#: ../../c-api/dict.rst:107
154+
#: ../../c-api/dict.rst:108
162155
msgid ""
163156
"Calling this API without :term:`GIL` held had been allowed for historical "
164157
"reason. It is no longer allowed."
165158
msgstr ""
166159
"Chamar esta API sem :term:`GIL` retido foi permitido por motivos históricos. "
167160
"Não é mais permitido."
168161

169-
#: ../../c-api/dict.rst:114
162+
#: ../../c-api/dict.rst:115
170163
msgid ""
171164
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
172165
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
@@ -176,15 +169,14 @@ msgstr ""
176169
"``NULL`` **com** uma exceção definida se uma exceção ocorreu. Retorna "
177170
"``NULL`` ** sem ** uma exceção definida se a chave não estiver presente."
178171

179-
#: ../../c-api/dict.rst:122
172+
#: ../../c-api/dict.rst:123
180173
msgid ""
181174
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
182-
"expr:`const char*`, rather than a :c:expr:`PyObject*`."
175+
"expr:`const char*` UTF-8 encoded bytes string, rather than a :c:expr:"
176+
"`PyObject*`."
183177
msgstr ""
184-
"É o mesmo que :c:func:`PyDict_GetItem`, mas *key* é especificada como um :c:"
185-
"expr:`const char*`, em vez de um :c:expr:`PyObject*`."
186178

187-
#: ../../c-api/dict.rst:127
179+
#: ../../c-api/dict.rst:129
188180
msgid ""
189181
"Exceptions that occur while this calls :meth:`~object.__hash__` and :meth:"
190182
"`~object.__eq__` methods or while creating the temporary :class:`str` object "
@@ -197,7 +189,7 @@ msgstr ""
197189
"`PyDict_GetItemWithError` com sua própria *key* de :c:func:"
198190
"`PyUnicode_FromString`."
199191

200-
#: ../../c-api/dict.rst:136
192+
#: ../../c-api/dict.rst:138
201193
msgid ""
202194
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
203195
"it returns the value corresponding to *key* from the dictionary *p*. If the "
@@ -212,35 +204,35 @@ msgstr ""
212204
"será retornado. Esta função avalia a função hash de *key* apenas uma vez, em "
213205
"vez de avaliá-la independentemente para a pesquisa e a inserção."
214206

215-
#: ../../c-api/dict.rst:146
207+
#: ../../c-api/dict.rst:148
216208
msgid ""
217209
"Return a :c:type:`PyListObject` containing all the items from the dictionary."
218210
msgstr ""
219211
"Retorna um :c:type:`PyListObject` contendo todos os itens do dicionário."
220212

221-
#: ../../c-api/dict.rst:151
213+
#: ../../c-api/dict.rst:153
222214
msgid ""
223215
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
224216
msgstr ""
225217
"Retorna um :c:type:`PyListObject` contendo todas as chaves do dicionário."
226218

227-
#: ../../c-api/dict.rst:156
219+
#: ../../c-api/dict.rst:158
228220
msgid ""
229221
"Return a :c:type:`PyListObject` containing all the values from the "
230222
"dictionary *p*."
231223
msgstr ""
232224
"Retorna um :c:type:`PyListObject` contendo todos os valores do dicionário "
233225
"*p*."
234226

235-
#: ../../c-api/dict.rst:164
227+
#: ../../c-api/dict.rst:166
236228
msgid ""
237229
"Return the number of items in the dictionary. This is equivalent to "
238230
"``len(p)`` on a dictionary."
239231
msgstr ""
240232
"Retorna o número de itens no dicionário. Isso é equivalente a ``len(p)`` em "
241233
"um dicionário."
242234

243-
#: ../../c-api/dict.rst:170
235+
#: ../../c-api/dict.rst:172
244236
msgid ""
245237
"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
246238
"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -264,11 +256,11 @@ msgstr ""
264256
"Seu valor representa deslocamentos dentro da estrutura do dicionário interno "
265257
"e, como a estrutura é esparsa, os deslocamentos não são consecutivos."
266258

267-
#: ../../c-api/dict.rst:181
259+
#: ../../c-api/dict.rst:183
268260
msgid "For example::"
269261
msgstr "Por exemplo::"
270262

271-
#: ../../c-api/dict.rst:191
263+
#: ../../c-api/dict.rst:193
272264
msgid ""
273265
"The dictionary *p* should not be mutated during iteration. It is safe to "
274266
"modify the values of the keys as you iterate over the dictionary, but only "
@@ -278,7 +270,7 @@ msgstr ""
278270
"modificar os valores das chaves à medida que você itera no dicionário, mas "
279271
"apenas enquanto o conjunto de chaves não mudar. Por exemplo::"
280272

281-
#: ../../c-api/dict.rst:216
273+
#: ../../c-api/dict.rst:218
282274
msgid ""
283275
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
284276
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -295,7 +287,7 @@ msgstr ""
295287
"adicionados apenas se não houver uma chave correspondente em *a*. Retorna "
296288
"``0`` em caso de sucesso ou ``-1`` se uma exceção foi levantada."
297289

298-
#: ../../c-api/dict.rst:226
290+
#: ../../c-api/dict.rst:228
299291
msgid ""
300292
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
301293
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -309,7 +301,7 @@ msgstr ""
309301
"argumento não tiver o atributo \"keys\". Retorna ``0`` em caso de sucesso ou "
310302
"``-1`` se uma exceção foi levantada."
311303

312-
#: ../../c-api/dict.rst:235
304+
#: ../../c-api/dict.rst:237
313305
msgid ""
314306
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
315307
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -324,49 +316,49 @@ msgstr ""
324316
"vence. Retorne ``0`` em caso de sucesso ou ``-1`` se uma exceção foi "
325317
"levantada. Python equivalente (exceto para o valor de retorno)::"
326318

327-
#: ../../c-api/dict.rst:249
319+
#: ../../c-api/dict.rst:251
328320
msgid ""
329321
"Register *callback* as a dictionary watcher. Return a non-negative integer "
330322
"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
331323
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
332324
"exception."
333325
msgstr ""
334326

335-
#: ../../c-api/dict.rst:258
327+
#: ../../c-api/dict.rst:260
336328
msgid ""
337329
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
338330
"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
339331
"given *watcher_id* was never registered.)"
340332
msgstr ""
341333

342-
#: ../../c-api/dict.rst:266
334+
#: ../../c-api/dict.rst:268
343335
msgid ""
344336
"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
345337
"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
346338
"deallocated. Return ``0`` on success or ``-1`` on error."
347339
msgstr ""
348340

349-
#: ../../c-api/dict.rst:274
341+
#: ../../c-api/dict.rst:276
350342
msgid ""
351343
"Mark dictionary *dict* as no longer watched. The callback granted "
352344
"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
353345
"*dict* is modified or deallocated. The dict must previously have been "
354346
"watched by this watcher. Return ``0`` on success or ``-1`` on error."
355347
msgstr ""
356348

357-
#: ../../c-api/dict.rst:283
349+
#: ../../c-api/dict.rst:285
358350
msgid ""
359351
"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
360352
"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
361353
"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or "
362354
"``PyDict_EVENT_DEALLOCATED``."
363355
msgstr ""
364356

365-
#: ../../c-api/dict.rst:291
357+
#: ../../c-api/dict.rst:293
366358
msgid "Type of a dict watcher callback function."
367359
msgstr ""
368360

369-
#: ../../c-api/dict.rst:293
361+
#: ../../c-api/dict.rst:295
370362
msgid ""
371363
"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
372364
"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
@@ -375,22 +367,22 @@ msgid ""
375367
"dictionary and *new_value* will be ``NULL``."
376368
msgstr ""
377369

378-
#: ../../c-api/dict.rst:299
370+
#: ../../c-api/dict.rst:301
379371
msgid ""
380372
"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
381373
"dict is merged into it. To maintain efficiency of this operation, per-key "
382374
"``PyDict_EVENT_ADDED`` events are not issued in this case; instead a single "
383375
"``PyDict_EVENT_CLONED`` is issued, and *key* will be the source dictionary."
384376
msgstr ""
385377

386-
#: ../../c-api/dict.rst:305
378+
#: ../../c-api/dict.rst:307
387379
msgid ""
388380
"The callback may inspect but must not modify *dict*; doing so could have "
389381
"unpredictable effects, including infinite recursion. Do not trigger Python "
390382
"code execution in the callback, as it could modify the dict as a side effect."
391383
msgstr ""
392384

393-
#: ../../c-api/dict.rst:309
385+
#: ../../c-api/dict.rst:311
394386
msgid ""
395387
"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
396388
"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -399,20 +391,20 @@ msgid ""
399391
"again."
400392
msgstr ""
401393

402-
#: ../../c-api/dict.rst:315
394+
#: ../../c-api/dict.rst:317
403395
msgid ""
404396
"Callbacks occur before the notified modification to *dict* takes place, so "
405397
"the prior state of *dict* can be inspected."
406398
msgstr ""
407399

408-
#: ../../c-api/dict.rst:318
400+
#: ../../c-api/dict.rst:320
409401
msgid ""
410402
"If the callback sets an exception, it must return ``-1``; this exception "
411403
"will be printed as an unraisable exception using :c:func:"
412404
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
413405
msgstr ""
414406

415-
#: ../../c-api/dict.rst:322
407+
#: ../../c-api/dict.rst:324
416408
msgid ""
417409
"There may already be a pending exception set on entry to the callback. In "
418410
"this case, the callback should return ``0`` with the same exception still "
@@ -433,10 +425,10 @@ msgstr "dicionário"
433425
msgid "PyUnicode_FromString()"
434426
msgstr ""
435427

436-
#: ../../c-api/dict.rst:162
428+
#: ../../c-api/dict.rst:164
437429
msgid "built-in function"
438430
msgstr "função embutida"
439431

440-
#: ../../c-api/dict.rst:162
432+
#: ../../c-api/dict.rst:164
441433
msgid "len"
442434
msgstr "len"

0 commit comments

Comments
 (0)