Skip to content

Commit 77ebef6

Browse files
GitHub Action's update-translation jobm-aciek
authored andcommitted
Update translation from Transifex
1 parent 7847a70 commit 77ebef6

98 files changed

Lines changed: 2740 additions & 1678 deletions

Some content is hidden

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ f'''![build](https://github.com/python/python-docs-pl/workflows/.github/workflow
1515
![{translators} tłumaczy](https://img.shields.io/badge/tłumaczy-{translators}-0.svg)''')
1616
]]] -->
1717
![build](https://github.com/python/python-docs-pl/workflows/.github/workflows/update-and-build.yml/badge.svg)
18-
![49.64% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-49.64%25-0.svg)
19-
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-5.10%25-0.svg)
18+
![47.38% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-47.38%25-0.svg)
19+
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-4.97%25-0.svg)
2020
![18 tłumaczy](https://img.shields.io/badge/tłumaczy-18-0.svg)
2121
<!-- [[[end]]] -->
2222

c-api/arg.po

Lines changed: 7 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
12-
"Project-Id-Version: Python 3.11\n"
12+
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-05-19 14:13+0000\n"
14+
"POT-Creation-Date: 2023-05-26 14:12+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1616
"Last-Translator: Maciej Olko <maciej.olko@gmail.com>, 2021\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -255,51 +255,6 @@ msgid ""
255255
"`PyObject*`."
256256
msgstr ""
257257

258-
msgid "``u`` (:class:`str`) [const Py_UNICODE \\*]"
259-
msgstr ""
260-
261-
msgid ""
262-
"Convert a Python Unicode object to a C pointer to a NUL-terminated buffer of "
263-
"Unicode characters. You must pass the address of a :c:type:`Py_UNICODE` "
264-
"pointer variable, which will be filled with the pointer to an existing "
265-
"Unicode buffer. Please note that the width of a :c:type:`Py_UNICODE` "
266-
"character depends on compilation options (it is either 16 or 32 bits). The "
267-
"Python string must not contain embedded null code points; if it does, a :exc:"
268-
"`ValueError` exception is raised."
269-
msgstr ""
270-
271-
msgid ""
272-
"Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:"
273-
"func:`PyUnicode_AsWideCharString`."
274-
msgstr ""
275-
276-
msgid "``u#`` (:class:`str`) [const Py_UNICODE \\*, :c:type:`Py_ssize_t`]"
277-
msgstr ""
278-
279-
msgid ""
280-
"This variant on ``u`` stores into two C variables, the first one a pointer "
281-
"to a Unicode data buffer, the second one its length. This variant allows "
282-
"null code points."
283-
msgstr ""
284-
285-
msgid "``Z`` (:class:`str` or ``None``) [const Py_UNICODE \\*]"
286-
msgstr ""
287-
288-
msgid ""
289-
"Like ``u``, but the Python object may also be ``None``, in which case the :c:"
290-
"type:`Py_UNICODE` pointer is set to ``NULL``."
291-
msgstr ""
292-
293-
msgid ""
294-
"``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, :c:type:"
295-
"`Py_ssize_t`]"
296-
msgstr ""
297-
298-
msgid ""
299-
"Like ``u#``, but the Python object may also be ``None``, in which case the :"
300-
"c:type:`Py_UNICODE` pointer is set to ``NULL``."
301-
msgstr ""
302-
303258
msgid "``U`` (:class:`str`) [PyObject \\*]"
304259
msgstr ""
305260

@@ -426,6 +381,11 @@ msgstr ""
426381
"do funkcji bez ich zapisywania. Zamiast tego, implementacja zakłada że "
427382
"obiekt ciągu bajtów używa kodowania przekazywanego w parametrze."
428383

384+
msgid ""
385+
"``u``, ``u#``, ``Z``, and ``Z#`` are removed because they used a legacy "
386+
"``Py_UNICODE*`` representation."
387+
msgstr ""
388+
429389
msgid "Numbers"
430390
msgstr "Liczby"
431391

c-api/bytes.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
12-
"Project-Id-Version: Python 3.11\n"
12+
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-05-19 14:13+0000\n"
14+
"POT-Creation-Date: 2023-05-26 14:12+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1616
"Last-Translator: Maciej Olko <maciej.olko@gmail.com>, 2021\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

c-api/call.po

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
12-
"Project-Id-Version: Python 3.11\n"
12+
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-05-19 14:13+0000\n"
14+
"POT-Creation-Date: 2023-05-26 14:12+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
1616
"Last-Translator: Maciej Olko <maciej.olko@gmail.com>, 2021\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -79,6 +79,15 @@ msgid ""
7979
"`~PyTypeObject.tp_call` with the same semantics."
8080
msgstr ""
8181

82+
msgid ""
83+
"The :const:`Py_TPFLAGS_HAVE_VECTORCALL` flag is now removed from a class "
84+
"when the class's :py:meth:`~object.__call__` method is reassigned. (This "
85+
"internally sets :c:member:`~PyTypeObject.tp_call` only, and thus may make it "
86+
"behave differently than the vectorcall function.) In earlier Python "
87+
"versions, vectorcall should only be used with :const:`immutable "
88+
"<Py_TPFLAGS_IMMUTABLETYPE>` or static types."
89+
msgstr ""
90+
8291
msgid ""
8392
"A class should not implement vectorcall if that would be slower than "
8493
"*tp_call*. For example, if the callee needs to convert the arguments to an "

c-api/dict.po

Lines changed: 86 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
12-
"Project-Id-Version: Python 3.11\n"
12+
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-05-19 14:13+0000\n"
14+
"POT-Creation-Date: 2023-05-26 14:12+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1616
"Last-Translator: Maciej Olko <maciej.olko@gmail.com>, 2021\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -200,6 +200,90 @@ msgid ""
200200
"if an exception was raised. Equivalent Python (except for the return value)::"
201201
msgstr ""
202202

203+
msgid ""
204+
"Register *callback* as a dictionary watcher. Return a non-negative integer "
205+
"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
206+
"of error (e.g. no more watcher IDs available), return ``-1`` and set an "
207+
"exception."
208+
msgstr ""
209+
210+
msgid ""
211+
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
212+
"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
213+
"given *watcher_id* was never registered.)"
214+
msgstr ""
215+
216+
msgid ""
217+
"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
218+
"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
219+
"deallocated. Return ``0`` on success or ``-1`` on error."
220+
msgstr ""
221+
222+
msgid ""
223+
"Mark dictionary *dict* as no longer watched. The callback granted "
224+
"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
225+
"*dict* is modified or deallocated. The dict must previously have been "
226+
"watched by this watcher. Return ``0`` on success or ``-1`` on error."
227+
msgstr ""
228+
229+
msgid ""
230+
"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
231+
"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
232+
"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED``, or "
233+
"``PyDict_EVENT_DEALLOCATED``."
234+
msgstr ""
235+
236+
msgid "Type of a dict watcher callback function."
237+
msgstr ""
238+
239+
msgid ""
240+
"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
241+
"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
242+
"or ``PyDict_EVENT_MODIFIED``, *new_value* will be the new value for *key*. "
243+
"If *event* is ``PyDict_EVENT_DELETED``, *key* is being deleted from the "
244+
"dictionary and *new_value* will be ``NULL``."
245+
msgstr ""
246+
247+
msgid ""
248+
"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
249+
"dict is merged into it. To maintain efficiency of this operation, per-key "
250+
"``PyDict_EVENT_ADDED`` events are not issued in this case; instead a single "
251+
"``PyDict_EVENT_CLONED`` is issued, and *key* will be the source dictionary."
252+
msgstr ""
253+
254+
msgid ""
255+
"The callback may inspect but must not modify *dict*; doing so could have "
256+
"unpredictable effects, including infinite recursion. Do not trigger Python "
257+
"code execution in the callback, as it could modify the dict as a side effect."
258+
msgstr ""
259+
260+
msgid ""
261+
"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
262+
"callback to the about-to-be-destroyed dictionary will resurrect it and "
263+
"prevent it from being freed at this time. When the resurrected object is "
264+
"destroyed later, any watcher callbacks active at that time will be called "
265+
"again."
266+
msgstr ""
267+
268+
msgid ""
269+
"Callbacks occur before the notified modification to *dict* takes place, so "
270+
"the prior state of *dict* can be inspected."
271+
msgstr ""
272+
273+
msgid ""
274+
"If the callback sets an exception, it must return ``-1``; this exception "
275+
"will be printed as an unraisable exception using :c:func:"
276+
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
277+
msgstr ""
278+
279+
msgid ""
280+
"There may already be a pending exception set on entry to the callback. In "
281+
"this case, the callback should return ``0`` with the same exception still "
282+
"set. This means the callback may not call any other API that can set an "
283+
"exception unless it saves and clears the exception state first, and restores "
284+
"it before returning."
285+
msgstr ""
286+
203287
msgid "object"
204288
msgstr ""
205289

c-api/exceptions.po

Lines changed: 66 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# Maciej Olko <maciej.olko@gmail.com>, 2023
8+
# Stefan Ocetkiewicz <stefan.ocetkiewicz@gmail.com>, 2023
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
12-
"Project-Id-Version: Python 3.11\n"
13+
"Project-Id-Version: Python 3.12\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-05-19 14:13+0000\n"
15+
"POT-Creation-Date: 2023-05-26 14:12+0000\n"
1516
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
16-
"Last-Translator: Maciej Olko <maciej.olko@gmail.com>, 2023\n"
17+
"Last-Translator: Stefan Ocetkiewicz <stefan.ocetkiewicz@gmail.com>, 2023\n"
1718
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -126,6 +127,11 @@ msgstr ""
126127
msgid "An exception must be set when calling this function."
127128
msgstr ""
128129

130+
msgid ""
131+
"Print the standard traceback display of ``exc`` to ``sys.stderr``, including "
132+
"chained exceptions and notes."
133+
msgstr ""
134+
129135
msgid "Raising exceptions"
130136
msgstr ""
131137

@@ -383,6 +389,35 @@ msgid ""
383389
"tuple (and recursively in subtuples) are searched for a match."
384390
msgstr ""
385391

392+
msgid ""
393+
"Return the exception currently being raised, clearing the error indicator at "
394+
"the same time."
395+
msgstr ""
396+
397+
msgid ""
398+
"This function is used by code that needs to catch exceptions, or code that "
399+
"needs to save and restore the error indicator temporarily."
400+
msgstr ""
401+
402+
msgid "For example::"
403+
msgstr "Na przykład::"
404+
405+
msgid ""
406+
":c:func:`PyErr_GetHandledException`, to save the exception currently being "
407+
"handled."
408+
msgstr ""
409+
410+
msgid ""
411+
"Set *exc* as the exception currently being raised, clearing the existing "
412+
"exception if one is set."
413+
msgstr ""
414+
415+
msgid "This call steals a reference to *exc*, which must be a valid exception."
416+
msgstr ""
417+
418+
msgid "Use :c:func:`PyErr_GetRaisedException` instead."
419+
msgstr ""
420+
386421
msgid ""
387422
"Retrieve the error indicator into three variables whose addresses are "
388423
"passed. If the error indicator is not set, set all three variables to "
@@ -392,27 +427,34 @@ msgid ""
392427
msgstr ""
393428

394429
msgid ""
395-
"This function is normally only used by code that needs to catch exceptions "
396-
"or by code that needs to save and restore the error indicator temporarily, e."
397-
"g.::"
430+
"This function is normally only used by legacy code that needs to catch "
431+
"exceptions or save and restore the error indicator temporarily."
432+
msgstr ""
433+
434+
msgid "Use :c:func:`PyErr_SetRaisedException` instead."
435+
msgstr ""
436+
437+
msgid ""
438+
"Set the error indicator from the three objects, *type*, *value*, and "
439+
"*traceback*, clearing the existing exception if one is set. If the objects "
440+
"are ``NULL``, the error indicator is cleared. Do not pass a ``NULL`` type "
441+
"and non-``NULL`` value or traceback. The exception type should be a class. "
442+
"Do not pass an invalid exception type or value. (Violating these rules will "
443+
"cause subtle problems later.) This call takes away a reference to each "
444+
"object: you must own a reference to each object before the call and after "
445+
"the call you no longer own these references. (If you don't understand this, "
446+
"don't use this function. I warned you.)"
398447
msgstr ""
399448

400449
msgid ""
401-
"Set the error indicator from the three objects. If the error indicator is "
402-
"already set, it is cleared first. If the objects are ``NULL``, the error "
403-
"indicator is cleared. Do not pass a ``NULL`` type and non-``NULL`` value or "
404-
"traceback. The exception type should be a class. Do not pass an invalid "
405-
"exception type or value. (Violating these rules will cause subtle problems "
406-
"later.) This call takes away a reference to each object: you must own a "
407-
"reference to each object before the call and after the call you no longer "
408-
"own these references. (If you don't understand this, don't use this "
409-
"function. I warned you.)"
450+
"This function is normally only used by legacy code that needs to save and "
451+
"restore the error indicator temporarily. Use :c:func:`PyErr_Fetch` to save "
452+
"the current error indicator."
410453
msgstr ""
411454

412455
msgid ""
413-
"This function is normally only used by code that needs to save and restore "
414-
"the error indicator temporarily. Use :c:func:`PyErr_Fetch` to save the "
415-
"current error indicator."
456+
"Use :c:func:`PyErr_GetRaisedException` instead, to avoid any possible de-"
457+
"normalization."
416458
msgstr ""
417459

418460
msgid ""
@@ -650,6 +692,12 @@ msgid ""
650692
":attr:`__suppress_context__` is implicitly set to ``True`` by this function."
651693
msgstr ""
652694

695+
msgid "Return :attr:`~BaseException.args` of exception *ex*."
696+
msgstr ""
697+
698+
msgid "Set :attr:`~BaseException.args` of exception *ex* to *args*."
699+
msgstr ""
700+
653701
msgid "Unicode Exception Objects"
654702
msgstr ""
655703

0 commit comments

Comments
 (0)