Skip to content

Commit 58a4493

Browse files
m-aciekMaciej Olko
authored andcommitted
Update translation from Transifex
1 parent e06b32b commit 58a4493

File tree

5 files changed

+43
-36
lines changed

5 files changed

+43
-36
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Polskie tłumaczenie dokumentacji Pythona
22
========================================
33
![build](https://github.com/m-aciek/python-docs-pl/workflows/.github/workflows/update-and-build.yml/badge.svg)
4-
![21.60% language switchera](https://img.shields.io/badge/language_switcher-21.60%25-0.svg)
4+
![22.07% language switchera](https://img.shields.io/badge/language_switcher-22.07%25-0.svg)
55
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/dynamic/json.svg?label=całość&query=$.pl&url=http://gce.zhsj.me/python/newest)
66
![4 tłumaczy](https://img.shields.io/badge/tłumaczy-4-0.svg)
77

c-api/arg.po

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.8\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2020-02-26 12:47+0000\n"
14+
"POT-Creation-Date: 2020-08-20 14:53+0000\n"
1515
"PO-Revision-Date: 2020-05-30 11:47+0000\n"
1616
"Last-Translator: m_aciek <maciej.olko@gmail.com>, 2020\n"
1717
"Language-Team: Polish (https://www.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -210,7 +210,7 @@ msgstr ""
210210
msgid ""
211211
"Requires that the Python object is a :class:`bytes` object, without "
212212
"attempting any conversion. Raises :exc:`TypeError` if the object is not a "
213-
"bytes object. The C variable may also be declared as :c:type:`PyObject\\*`."
213+
"bytes object. The C variable may also be declared as :c:type:`PyObject*`."
214214
msgstr ""
215215

216216
msgid "``Y`` (:class:`bytearray`) [PyByteArrayObject \\*]"
@@ -220,7 +220,7 @@ msgid ""
220220
"Requires that the Python object is a :class:`bytearray` object, without "
221221
"attempting any conversion. Raises :exc:`TypeError` if the object is not a :"
222222
"class:`bytearray` object. The C variable may also be declared as :c:type:"
223-
"`PyObject\\*`."
223+
"`PyObject*`."
224224
msgstr ""
225225

226226
msgid "``u`` (:class:`str`) [const Py_UNICODE \\*]"
@@ -275,7 +275,7 @@ msgstr ""
275275
msgid ""
276276
"Requires that the Python object is a Unicode object, without attempting any "
277277
"conversion. Raises :exc:`TypeError` if the object is not a Unicode object. "
278-
"The C variable may also be declared as :c:type:`PyObject\\*`."
278+
"The C variable may also be declared as :c:type:`PyObject*`."
279279
msgstr ""
280280

281281
msgid "``w*`` (read-write :term:`bytes-like object`) [Py_buffer]"
@@ -298,13 +298,12 @@ msgstr ""
298298

299299
msgid ""
300300
"This format requires two arguments. The first is only used as input, and "
301-
"must be a :c:type:`const char\\*` which points to the name of an encoding as "
302-
"a NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is "
301+
"must be a :c:type:`const char*` which points to the name of an encoding as a "
302+
"NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is "
303303
"used. An exception is raised if the named encoding is not known to Python. "
304-
"The second argument must be a :c:type:`char\\*\\*`; the value of the pointer "
305-
"it references will be set to a buffer with the contents of the argument "
306-
"text. The text will be encoded in the encoding specified by the first "
307-
"argument."
304+
"The second argument must be a :c:type:`char**`; the value of the pointer it "
305+
"references will be set to a buffer with the contents of the argument text. "
306+
"The text will be encoded in the encoding specified by the first argument."
308307
msgstr ""
309308

310309
msgid ""
@@ -338,10 +337,10 @@ msgstr ""
338337

339338
msgid ""
340339
"It requires three arguments. The first is only used as input, and must be "
341-
"a :c:type:`const char\\*` which points to the name of an encoding as a NUL-"
340+
"a :c:type:`const char*` which points to the name of an encoding as a NUL-"
342341
"terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is used. "
343342
"An exception is raised if the named encoding is not known to Python. The "
344-
"second argument must be a :c:type:`char\\*\\*`; the value of the pointer it "
343+
"second argument must be a :c:type:`char**`; the value of the pointer it "
345344
"references will be set to a buffer with the contents of the argument text. "
346345
"The text will be encoded in the encoding specified by the first argument. "
347346
"The third argument must be a pointer to an integer; the referenced integer "
@@ -519,7 +518,7 @@ msgstr ""
519518
msgid ""
520519
"Store a Python object in a C object pointer. This is similar to ``O``, but "
521520
"takes two C arguments: the first is the address of a Python type object, the "
522-
"second is the address of the C variable (of type :c:type:`PyObject\\*`) into "
521+
"second is the address of the C variable (of type :c:type:`PyObject*`) into "
523522
"which the object pointer is stored. If the Python object does not have the "
524523
"required type, :exc:`TypeError` is raised."
525524
msgstr ""
@@ -530,13 +529,13 @@ msgstr ""
530529
msgid ""
531530
"Convert a Python object to a C variable through a *converter* function. "
532531
"This takes two arguments: the first is a function, the second is the address "
533-
"of a C variable (of arbitrary type), converted to :c:type:`void \\*`. The "
532+
"of a C variable (of arbitrary type), converted to :c:type:`void *`. The "
534533
"*converter* function in turn is called as follows::"
535534
msgstr ""
536535

537536
msgid ""
538537
"where *object* is the Python object to be converted and *address* is the :c:"
539-
"type:`void\\*` argument that was passed to the :c:func:`PyArg_Parse\\*` "
538+
"type:`void*` argument that was passed to the :c:func:`PyArg_Parse\\*` "
540539
"function. The returned *status* should be ``1`` for a successful conversion "
541540
"and ``0`` if the conversion has failed. When the conversion fails, the "
542541
"*converter* function should raise an exception and leave the content of "
@@ -706,13 +705,12 @@ msgid ""
706705
"should be passed as *args*; it must actually be a tuple. The length of the "
707706
"tuple must be at least *min* and no more than *max*; *min* and *max* may be "
708707
"equal. Additional arguments must be passed to the function, each of which "
709-
"should be a pointer to a :c:type:`PyObject\\*` variable; these will be "
710-
"filled in with the values from *args*; they will contain borrowed "
711-
"references. The variables which correspond to optional parameters not given "
712-
"by *args* will not be filled in; these should be initialized by the caller. "
713-
"This function returns true on success and false if *args* is not a tuple or "
714-
"contains the wrong number of elements; an exception will be set if there was "
715-
"a failure."
708+
"should be a pointer to a :c:type:`PyObject*` variable; these will be filled "
709+
"in with the values from *args*; they will contain borrowed references. The "
710+
"variables which correspond to optional parameters not given by *args* will "
711+
"not be filled in; these should be initialized by the caller. This function "
712+
"returns true on success and false if *args* is not a tuple or contains the "
713+
"wrong number of elements; an exception will be set if there was a failure."
716714
msgstr ""
717715

718716
msgid ""
@@ -926,7 +924,7 @@ msgstr ""
926924
msgid ""
927925
"Convert *anything* to a Python object through a *converter* function. The "
928926
"function is called with *anything* (which should be compatible with :c:type:"
929-
"`void \\*`) as its argument and should return a \"new\" Python object, or "
927+
"`void*`) as its argument and should return a \"new\" Python object, or "
930928
"``NULL`` if an error occurred."
931929
msgstr ""
932930

c-api/intro.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.8\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2020-04-27 13:43+0000\n"
14+
"POT-Creation-Date: 2020-08-20 14:53+0000\n"
1515
"PO-Revision-Date: 2020-05-30 11:49+0000\n"
1616
"Last-Translator: Seweryn Piórkowski <seweryn.piorkowski@gmail.com>, 2020\n"
1717
"Language-Team: Polish (https://www.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -215,13 +215,13 @@ msgstr ""
215215

216216
msgid ""
217217
"Most Python/C API functions have one or more arguments as well as a return "
218-
"value of type :c:type:`PyObject\\*`. This type is a pointer to an opaque "
219-
"data type representing an arbitrary Python object. Since all Python object "
220-
"types are treated the same way by the Python language in most situations (e."
221-
"g., assignments, scope rules, and argument passing), it is only fitting that "
218+
"value of type :c:type:`PyObject*`. This type is a pointer to an opaque data "
219+
"type representing an arbitrary Python object. Since all Python object types "
220+
"are treated the same way by the Python language in most situations (e.g., "
221+
"assignments, scope rules, and argument passing), it is only fitting that "
222222
"they should be represented by a single C type. Almost all Python objects "
223223
"live on the heap: you never declare an automatic or static variable of type :"
224-
"c:type:`PyObject`, only pointer variables of type :c:type:`PyObject\\*` can "
224+
"c:type:`PyObject`, only pointer variables of type :c:type:`PyObject*` can "
225225
"be declared. The sole exception are the type objects; since these must "
226226
"never be deallocated, they are typically static :c:type:`PyTypeObject` "
227227
"objects."
@@ -414,7 +414,7 @@ msgstr ""
414414
msgid ""
415415
"There are few other data types that play a significant role in the Python/C "
416416
"API; most are simple C types such as :c:type:`int`, :c:type:`long`, :c:type:"
417-
"`double` and :c:type:`char\\*`. A few structure types are used to describe "
417+
"`double` and :c:type:`char*`. A few structure types are used to describe "
418418
"static tables used to list the functions exported by a module or the data "
419419
"attributes of a new object type, and another is used to describe the value "
420420
"of a complex number. These will be discussed together with the functions "

howto/instrumentation.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.8\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
14+
"POT-Creation-Date: 2020-08-20 14:53+0000\n"
1515
"PO-Revision-Date: 2020-05-30 11:54+0000\n"
1616
"Last-Translator: Seweryn Piórkowski <seweryn.piorkowski@gmail.com>, 2020\n"
1717
"Language-Team: Polish (https://www.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -258,7 +258,7 @@ msgid ""
258258
msgstr ""
259259

260260
msgid ""
261-
"This probe point is the converse of :c:func:`python.function.return`, and "
261+
"This probe point is the converse of ``python.function.return``, and "
262262
"indicates that execution of a Python function has ended (either via "
263263
"``return``, or via an exception). It is only triggered for pure-Python "
264264
"(bytecode) functions."

library/functions.po

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,29 +377,38 @@ msgid ""
377377
"If it is an *iterable*, it must be an iterable of integers in the range ``0 "
378378
"<= x < 256``, which are used as the initial contents of the array."
379379
msgstr ""
380+
"Jeśli jest *iterablem*, musi być iterablem składającym się z liczb "
381+
"całkowitych w zakresie ``0 <= x < 256``, które są użyte do zainicjowania "
382+
"tablicy."
380383

381384
msgid "Without an argument, an array of size 0 is created."
382-
msgstr ""
385+
msgstr "Bez argumentu tworzona jest tablica o rozmiarze 0."
383386

384387
msgid "See also :ref:`binaryseq` and :ref:`typebytearray`."
385-
msgstr ""
388+
msgstr "Zobacz też :ref:`binaryseq` i :ref:`typebytearray`."
386389

387390
msgid ""
388391
"Return a new \"bytes\" object, which is an immutable sequence of integers in "
389392
"the range ``0 <= x < 256``. :class:`bytes` is an immutable version of :"
390393
"class:`bytearray` -- it has the same non-mutating methods and the same "
391394
"indexing and slicing behavior."
392395
msgstr ""
396+
"Zwraca nowy obiekt „bytes”, który jest niemutowalną sekwencją liczb "
397+
"całkowitych w zakresie ``0 <= x < 256``. :class:`bytes` jest niemutowalną "
398+
"wersją :class:`bytearray` – ma te same nie-mutujące metody i to samo "
399+
"zachowanie przy odwołaniu do indeksów i slicingu."
393400

394401
msgid ""
395402
"Accordingly, constructor arguments are interpreted as for :func:`bytearray`."
396403
msgstr ""
404+
"Argumenty konstruktora są interpretowane tak jak dla :func:`bytearray`."
397405

398406
msgid "Bytes objects can also be created with literals, see :ref:`strings`."
399407
msgstr ""
408+
"Obiekty bytes mogą być również tworzone z literałami, patrz :ref:`strings`."
400409

401410
msgid "See also :ref:`binaryseq`, :ref:`typebytes`, and :ref:`bytes-methods`."
402-
msgstr ""
411+
msgstr "Zobacz też :ref:`binaryseq`, :ref:`typebytes` i :ref:`bytes-methods`."
403412

404413
msgid ""
405414
"Return :const:`True` if the *object* argument appears callable, :const:"

0 commit comments

Comments
 (0)