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

Skip to content

Commit 5902cdf

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent a3a0372 commit 5902cdf

22 files changed

+4717
-4098
lines changed

.tx/config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,6 +1756,11 @@ file_filter = library/syslog.po
17561756
type = PO
17571757
source_lang = en
17581758

1759+
[o:python-doc:p:python-newest:r:library--sys_monitoring]
1760+
file_filter = library/sys_monitoring.po
1761+
type = PO
1762+
source_lang = en
1763+
17591764
[o:python-doc:p:python-newest:r:library--sys_path_init]
17601765
file_filter = library/sys_path_init.po
17611766
type = PO

c-api/dict.po

Lines changed: 42 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-08-25 20:17+0000\n"
14+
"POT-Creation-Date: 2023-09-08 14:13+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1616
"Last-Translator: Dmytro Kazanzhy, 2023\n"
1717
"Language-Team: Ukrainian (https://app.transifex.com/python-doc/teams/5390/uk/)\n"
@@ -100,30 +100,29 @@ msgstr ""
100100
"``0`` у разі успіху або ``-1`` у разі невдачі. Ця функція *не* викрадає "
101101
"посилання на *val*."
102102

103-
#: ../../c-api/dict.rst:75
103+
#: ../../c-api/dict.rst:73
104104
msgid ""
105-
"Insert *val* into the dictionary *p* using *key* as a key. *key* should be a"
106-
" :c:expr:`const char*` UTF-8 encoded bytes string. The key object is "
107-
"created using ``PyUnicode_FromString(key)``. Return ``0`` on success or "
108-
"``-1`` on failure. This function *does not* steal a reference to *val*."
105+
"This is the same as :c:func:`PyDict_SetItem`, but *key* is specified as a "
106+
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
107+
":c:expr:`PyObject*`."
109108
msgstr ""
110109

111-
#: ../../c-api/dict.rst:83
110+
#: ../../c-api/dict.rst:80
112111
msgid ""
113112
"Remove the entry in dictionary *p* with key *key*. *key* must be "
114113
":term:`hashable`; if it isn't, :exc:`TypeError` is raised. If *key* is not "
115114
"in the dictionary, :exc:`KeyError` is raised. Return ``0`` on success or "
116115
"``-1`` on failure."
117116
msgstr ""
118117

119-
#: ../../c-api/dict.rst:91
118+
#: ../../c-api/dict.rst:88
120119
msgid ""
121-
"Remove the entry in dictionary *p* which has a key specified by the UTF-8 "
122-
"encoded bytes string *key*. If *key* is not in the dictionary, "
123-
":exc:`KeyError` is raised. Return ``0`` on success or ``-1`` on failure."
120+
"This is the same as :c:func:`PyDict_DelItem`, but *key* is specified as a "
121+
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
122+
":c:expr:`PyObject*`."
124123
msgstr ""
125124

126-
#: ../../c-api/dict.rst:99
125+
#: ../../c-api/dict.rst:95
127126
msgid ""
128127
"Return the object from dictionary *p* which has a key *key*. Return "
129128
"``NULL`` if the key *key* is not present, but *without* setting an "
@@ -132,22 +131,22 @@ msgstr ""
132131
"Повертає об’єкт зі словника *p*, який має ключ *key*. Повертає ``NULL``, "
133132
"якщо ключ *key* відсутній, але *без* встановлення винятку."
134133

135-
#: ../../c-api/dict.rst:104
134+
#: ../../c-api/dict.rst:100
136135
msgid ""
137136
"Exceptions that occur while this calls :meth:`~object.__hash__` and "
138137
":meth:`~object.__eq__` methods are silently ignored. Prefer the "
139138
":c:func:`PyDict_GetItemWithError` function instead."
140139
msgstr ""
141140

142-
#: ../../c-api/dict.rst:108
141+
#: ../../c-api/dict.rst:104
143142
msgid ""
144143
"Calling this API without :term:`GIL` held had been allowed for historical "
145144
"reason. It is no longer allowed."
146145
msgstr ""
147146
"Виклик цього API без утримання :term:`GIL` був дозволений з історичних "
148147
"причин. Це більше не дозволено."
149148

150-
#: ../../c-api/dict.rst:115
149+
#: ../../c-api/dict.rst:111
151150
msgid ""
152151
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
153152
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
@@ -157,14 +156,14 @@ msgstr ""
157156
"``NULL`` **з** встановленим винятком, якщо виняток стався. Повертає ``NULL``"
158157
" **без** набору винятків, якщо ключ відсутній."
159158

160-
#: ../../c-api/dict.rst:123
159+
#: ../../c-api/dict.rst:119
161160
msgid ""
162161
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a "
163162
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
164163
":c:expr:`PyObject*`."
165164
msgstr ""
166165

167-
#: ../../c-api/dict.rst:129
166+
#: ../../c-api/dict.rst:125
168167
msgid ""
169168
"Exceptions that occur while this calls :meth:`~object.__hash__` and "
170169
":meth:`~object.__eq__` methods or while creating the temporary :class:`str` "
@@ -173,7 +172,7 @@ msgid ""
173172
":c:func:`PyUnicode_FromString` *key* instead."
174173
msgstr ""
175174

176-
#: ../../c-api/dict.rst:138
175+
#: ../../c-api/dict.rst:134
177176
msgid ""
178177
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
179178
"it returns the value corresponding to *key* from the dictionary *p*. If the"
@@ -188,33 +187,33 @@ msgstr ""
188187
"*defaultobj*. Ця функція обчислює хеш-функцію *key* лише один раз, замість "
189188
"того, щоб оцінювати її незалежно для пошуку та вставки."
190189

191-
#: ../../c-api/dict.rst:148
190+
#: ../../c-api/dict.rst:144
192191
msgid ""
193192
"Return a :c:type:`PyListObject` containing all the items from the "
194193
"dictionary."
195194
msgstr "Повертає :c:type:`PyListObject`, що містить усі елементи зі словника."
196195

197-
#: ../../c-api/dict.rst:153
196+
#: ../../c-api/dict.rst:149
198197
msgid ""
199198
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
200199
msgstr "Повертає :c:type:`PyListObject`, що містить усі ключі зі словника."
201200

202-
#: ../../c-api/dict.rst:158
201+
#: ../../c-api/dict.rst:154
203202
msgid ""
204203
"Return a :c:type:`PyListObject` containing all the values from the "
205204
"dictionary *p*."
206205
msgstr ""
207206
"Повертає :c:type:`PyListObject`, що містить усі значення зі словника *p*."
208207

209-
#: ../../c-api/dict.rst:166
208+
#: ../../c-api/dict.rst:162
210209
msgid ""
211210
"Return the number of items in the dictionary. This is equivalent to "
212211
"``len(p)`` on a dictionary."
213212
msgstr ""
214213
"Повернути кількість елементів у словнику. Це еквівалентно ``len(p)`` у "
215214
"словнику."
216215

217-
#: ../../c-api/dict.rst:172
216+
#: ../../c-api/dict.rst:168
218217
msgid ""
219218
"Iterate over all key-value pairs in the dictionary *p*. The "
220219
":c:type:`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` "
@@ -228,11 +227,11 @@ msgid ""
228227
"since the structure is sparse, the offsets are not consecutive."
229228
msgstr ""
230229

231-
#: ../../c-api/dict.rst:183
230+
#: ../../c-api/dict.rst:179
232231
msgid "For example::"
233232
msgstr "Наприклад::"
234233

235-
#: ../../c-api/dict.rst:193
234+
#: ../../c-api/dict.rst:189
236235
msgid ""
237236
"The dictionary *p* should not be mutated during iteration. It is safe to "
238237
"modify the values of the keys as you iterate over the dictionary, but only "
@@ -242,7 +241,7 @@ msgstr ""
242241
"значення ключів під час перегляду словника, але лише до тих пір, поки набір "
243242
"ключів не зміниться. Наприклад::"
244243

245-
#: ../../c-api/dict.rst:218
244+
#: ../../c-api/dict.rst:214
246245
msgid ""
247246
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
248247
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -259,7 +258,7 @@ msgstr ""
259258
"відповідного ключа. Повертає ``0`` у разі успіху або ``-1``, якщо було "
260259
"викликано виключення."
261260

262-
#: ../../c-api/dict.rst:228
261+
#: ../../c-api/dict.rst:224
263262
msgid ""
264263
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to "
265264
"``a.update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall "
@@ -273,7 +272,7 @@ msgstr ""
273272
"атрибута \"ключі\". Повертає ``0`` у разі успіху або ``-1``, якщо було "
274273
"викликано виключення."
275274

276-
#: ../../c-api/dict.rst:237
275+
#: ../../c-api/dict.rst:233
277276
msgid ""
278277
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
279278
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -289,49 +288,49 @@ msgstr ""
289288
"``0`` в разі успіху або ``-1``, якщо було викликано виключення. "
290289
"Еквівалентний Python (за винятком значення, що повертається)::"
291290

292-
#: ../../c-api/dict.rst:251
291+
#: ../../c-api/dict.rst:247
293292
msgid ""
294293
"Register *callback* as a dictionary watcher. Return a non-negative integer "
295294
"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
296295
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
297296
"exception."
298297
msgstr ""
299298

300-
#: ../../c-api/dict.rst:260
299+
#: ../../c-api/dict.rst:256
301300
msgid ""
302301
"Clear watcher identified by *watcher_id* previously returned from "
303302
":c:func:`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. "
304303
"if the given *watcher_id* was never registered.)"
305304
msgstr ""
306305

307-
#: ../../c-api/dict.rst:268
306+
#: ../../c-api/dict.rst:264
308307
msgid ""
309308
"Mark dictionary *dict* as watched. The callback granted *watcher_id* by "
310309
":c:func:`PyDict_AddWatcher` will be called when *dict* is modified or "
311310
"deallocated. Return ``0`` on success or ``-1`` on error."
312311
msgstr ""
313312

314-
#: ../../c-api/dict.rst:276
313+
#: ../../c-api/dict.rst:272
315314
msgid ""
316315
"Mark dictionary *dict* as no longer watched. The callback granted "
317316
"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
318317
"*dict* is modified or deallocated. The dict must previously have been "
319318
"watched by this watcher. Return ``0`` on success or ``-1`` on error."
320319
msgstr ""
321320

322-
#: ../../c-api/dict.rst:285
321+
#: ../../c-api/dict.rst:281
323322
msgid ""
324323
"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
325324
"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
326325
"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or "
327326
"``PyDict_EVENT_DEALLOCATED``."
328327
msgstr ""
329328

330-
#: ../../c-api/dict.rst:293
329+
#: ../../c-api/dict.rst:289
331330
msgid "Type of a dict watcher callback function."
332331
msgstr ""
333332

334-
#: ../../c-api/dict.rst:295
333+
#: ../../c-api/dict.rst:291
335334
msgid ""
336335
"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both"
337336
" *key* and *new_value* will be ``NULL``. If *event* is "
@@ -340,23 +339,23 @@ msgid ""
340339
" deleted from the dictionary and *new_value* will be ``NULL``."
341340
msgstr ""
342341

343-
#: ../../c-api/dict.rst:301
342+
#: ../../c-api/dict.rst:297
344343
msgid ""
345344
"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
346345
"dict is merged into it. To maintain efficiency of this operation, per-key "
347346
"``PyDict_EVENT_ADDED`` events are not issued in this case; instead a single "
348347
"``PyDict_EVENT_CLONED`` is issued, and *key* will be the source dictionary."
349348
msgstr ""
350349

351-
#: ../../c-api/dict.rst:307
350+
#: ../../c-api/dict.rst:303
352351
msgid ""
353352
"The callback may inspect but must not modify *dict*; doing so could have "
354353
"unpredictable effects, including infinite recursion. Do not trigger Python "
355354
"code execution in the callback, as it could modify the dict as a side "
356355
"effect."
357356
msgstr ""
358357

359-
#: ../../c-api/dict.rst:311
358+
#: ../../c-api/dict.rst:307
360359
msgid ""
361360
"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
362361
"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -365,20 +364,20 @@ msgid ""
365364
"again."
366365
msgstr ""
367366

368-
#: ../../c-api/dict.rst:317
367+
#: ../../c-api/dict.rst:313
369368
msgid ""
370369
"Callbacks occur before the notified modification to *dict* takes place, so "
371370
"the prior state of *dict* can be inspected."
372371
msgstr ""
373372

374-
#: ../../c-api/dict.rst:320
373+
#: ../../c-api/dict.rst:316
375374
msgid ""
376375
"If the callback sets an exception, it must return ``-1``; this exception "
377376
"will be printed as an unraisable exception using "
378377
":c:func:`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
379378
msgstr ""
380379

381-
#: ../../c-api/dict.rst:324
380+
#: ../../c-api/dict.rst:320
382381
msgid ""
383382
"There may already be a pending exception set on entry to the callback. In "
384383
"this case, the callback should return ``0`` with the same exception still "
@@ -395,14 +394,10 @@ msgstr "об'єкт"
395394
msgid "dictionary"
396395
msgstr "словник"
397396

398-
#: ../../c-api/dict.rst:73
399-
msgid "PyUnicode_FromString()"
400-
msgstr ""
401-
402-
#: ../../c-api/dict.rst:164
397+
#: ../../c-api/dict.rst:160
403398
msgid "built-in function"
404399
msgstr ""
405400

406-
#: ../../c-api/dict.rst:164
401+
#: ../../c-api/dict.rst:160
407402
msgid "len"
408403
msgstr ""

0 commit comments

Comments
 (0)