Skip to content

Commit de4d26f

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 5743675 commit de4d26f

22 files changed

+99
-84
lines changed

README.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ f'''![build](https://github.com/python/python-docs-pl/actions/workflows/update-l
1313
![{translators} Translators](https://img.shields.io/badge/Translators-{translators}-0.svg)''')
1414
]]] -->
1515
![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)
16-
![Total Translation of Documentation](https://img.shields.io/badge/Total-4.899%25-0.svg)
16+
![Total Translation of Documentation](https://img.shields.io/badge/Total-4.898%25-0.svg)
1717
![24 Translators](https://img.shields.io/badge/Translators-24-0.svg)
1818
<!-- [[[end]]] -->
1919

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ f'''![build](https://github.com/python/python-docs-pl/actions/workflows/update-l
1313
![{translators} tłumaczy](https://img.shields.io/badge/tłumaczy-{translators}-0.svg)''')
1414
]]] -->
1515
![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)
16-
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-4.899%25-0.svg)
16+
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-4.898%25-0.svg)
1717
![24 tłumaczy](https://img.shields.io/badge/tłumaczy-24-0.svg)
1818
<!-- [[[end]]] -->
1919

c-api/init.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-01-31 14:16+0000\n"
15+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
1717
"Last-Translator: Stan Ulbrych, 2025\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -1477,8 +1477,8 @@ msgid ""
14771477
msgstr ""
14781478

14791479
msgid ""
1480-
"Return a :term:`strong reference` to the ``__main__`` `module object "
1481-
"<moduleobjects>`_ for the given interpreter."
1480+
"Return a :term:`strong reference` to the ``__main__`` :ref:`module object "
1481+
"<moduleobjects>` for the given interpreter."
14821482
msgstr ""
14831483

14841484
msgid "Type of a frame evaluation function."

howto/free-threading-python.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-24 14:16+0000\n"
14+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1515
"PO-Revision-Date: 2024-10-04 14:19+0000\n"
1616
"Last-Translator: Stan Ulbrych, 2024\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -77,7 +77,7 @@ msgstr ""
7777

7878
msgid ""
7979
"To check if the current interpreter supports free-threading, :option:`python "
80-
"-VV <-V>` and :attr:`sys.version` contain \"experimental free-threading "
80+
"-VV <-V>` and :data:`sys.version` contain \"experimental free-threading "
8181
"build\". The new :func:`sys._is_gil_enabled` function can be used to check "
8282
"whether the GIL is actually disabled in the running process."
8383
msgstr ""

library/datetime.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.13\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2025-02-03 17:40+0000\n"
17+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1818
"PO-Revision-Date: 2021-06-28 01:04+0000\n"
1919
"Last-Translator: Stan Ulbrych, 2025\n"
2020
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -1166,7 +1166,7 @@ msgid ""
11661166
"current time in UTC is by calling ``datetime.now(timezone.utc)``."
11671167
msgstr ""
11681168

1169-
msgid "Use :meth:`datetime.now` with :attr:`UTC` instead."
1169+
msgid "Use :meth:`datetime.now` with :const:`UTC` instead."
11701170
msgstr ""
11711171

11721172
msgid ""
@@ -1250,7 +1250,7 @@ msgid ""
12501250
"`gmtime` failure."
12511251
msgstr ""
12521252

1253-
msgid "Use :meth:`datetime.fromtimestamp` with :attr:`UTC` instead."
1253+
msgid "Use :meth:`datetime.fromtimestamp` with :const:`UTC` instead."
12541254
msgstr ""
12551255

12561256
msgid ""

library/decimal.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.13\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2025-02-03 17:40+0000\n"
16+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1717
"PO-Revision-Date: 2021-06-28 01:04+0000\n"
1818
"Last-Translator: Stan Ulbrych, 2025\n"
1919
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -2291,7 +2291,7 @@ msgid ""
22912291
msgstr ""
22922292

22932293
msgid ""
2294-
"For inexact results, :attr:`MAX_PREC` is far too large on 64-bit platforms "
2294+
"For inexact results, :const:`MAX_PREC` is far too large on 64-bit platforms "
22952295
"and the available memory will be insufficient::"
22962296
msgstr ""
22972297

library/importlib.metadata.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-01-24 14:16+0000\n"
15+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1616
"PO-Revision-Date: 2021-06-28 01:08+0000\n"
1717
"Last-Translator: Maciej Olko <maciej.olko@gmail.com>, 2025\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -479,7 +479,7 @@ msgstr ""
479479

480480
msgid ""
481481
"Return a mapping from the top level module and import package names found "
482-
"via :attr:`sys.meta_path` to the names of the distribution packages (if any) "
482+
"via :data:`sys.meta_path` to the names of the distribution packages (if any) "
483483
"that provide the corresponding files."
484484
msgstr ""
485485

library/importlib.po

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.13\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2025-01-31 14:16+0000\n"
16+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1717
"PO-Revision-Date: 2021-06-28 01:08+0000\n"
1818
"Last-Translator: Stan Ulbrych, 2025\n"
1919
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -814,7 +814,7 @@ msgstr ""
814814

815815
msgid ""
816816
"When opening as text, accepts encoding parameters such as those accepted by :"
817-
"attr:`io.TextIOWrapper`."
817+
"class:`io.TextIOWrapper`."
818818
msgstr ""
819819

820820
msgid "Read contents of ``self`` as bytes."
@@ -863,7 +863,7 @@ msgid ""
863863
"modules."
864864
msgstr ""
865865

866-
msgid "Use :attr:`BYTECODE_SUFFIXES` instead."
866+
msgid "Use :const:`BYTECODE_SUFFIXES` instead."
867867
msgstr ""
868868

869869
msgid ""
@@ -1107,7 +1107,7 @@ msgstr ""
11071107

11081108
msgid ""
11091109
"Returns ``True`` if the file path points to a package's ``__init__`` module "
1110-
"based on :attr:`EXTENSION_SUFFIXES`."
1110+
"based on :const:`EXTENSION_SUFFIXES`."
11111111
msgstr ""
11121112

11131113
msgid "Returns ``None`` as extension modules lack a code object."

library/itertools.po

+10-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-01-24 14:16+0000\n"
15+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1616
"PO-Revision-Date: 2021-06-28 01:08+0000\n"
1717
"Last-Translator: Stan Ulbrych, 2024\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -1140,10 +1140,10 @@ msgid ""
11401140
msgstr ""
11411141

11421142
msgid ""
1143-
"from collections import deque\n"
1143+
"from collections import Counter, deque\n"
11441144
"from contextlib import suppress\n"
11451145
"from functools import reduce\n"
1146-
"from math import sumprod, isqrt\n"
1146+
"from math import comb, prod, sumprod, isqrt\n"
11471147
"from operator import itemgetter, getitem, mul, neg\n"
11481148
"\n"
11491149
"def take(n, iterable):\n"
@@ -1431,5 +1431,11 @@ msgid ""
14311431
" # totient(12) → 4 because len([1, 5, 7, 11]) == 4\n"
14321432
" for prime in set(factor(n)):\n"
14331433
" n -= n // prime\n"
1434-
" return n"
1434+
" return n\n"
1435+
"\n"
1436+
"def multinomial(*counts):\n"
1437+
" \"Number of distinct arrangements of a multiset.\"\n"
1438+
" # Counter('abracadabra').values() -> 5 2 1 1 2\n"
1439+
" # multinomial(5, 2, 1, 1, 2) → 83160\n"
1440+
" return prod(map(comb, accumulate(counts), counts))"
14351441
msgstr ""

library/logging.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-02-03 17:40+0000\n"
15+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1616
"PO-Revision-Date: 2021-06-28 01:09+0000\n"
1717
"Last-Translator: Stan Ulbrych, 2025\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -428,7 +428,7 @@ msgstr ""
428428
msgid ""
429429
"If no handler is attached to this logger (or any of its ancestors, taking "
430430
"into account the relevant :attr:`Logger.propagate` attributes), the message "
431-
"will be sent to the handler set on :attr:`lastResort`."
431+
"will be sent to the handler set on :data:`lastResort`."
432432
msgstr ""
433433

434434
msgid "The *stack_info* parameter was added."

library/plistlib.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-01-17 14:16+0000\n"
15+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1616
"PO-Revision-Date: 2021-06-28 01:11+0000\n"
1717
"Last-Translator: haaritsubaki, 2023\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -105,7 +105,7 @@ msgstr ""
105105
msgid ""
106106
"When *aware_datetime* is true, fields with type ``datetime.datetime`` will "
107107
"be created as :ref:`aware object <datetime-naive-aware>`, with :attr:`!"
108-
"tzinfo` as :attr:`datetime.UTC`."
108+
"tzinfo` as :const:`datetime.UTC`."
109109
msgstr ""
110110

111111
msgid ""

library/site.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.13\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2025-01-24 14:16+0000\n"
17+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1818
"PO-Revision-Date: 2021-06-28 01:13+0000\n"
1919
"Last-Translator: Stan Ulbrych, 2024\n"
2020
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -60,7 +60,7 @@ msgid ""
6060
"then :file:`lib/site-packages` (on Windows) or :file:`lib/python{X.Y[t]}/"
6161
"site-packages` (on Unix and macOS). (The optional suffix \"t\" indicates "
6262
"the :term:`free threading` build, and is appended if ``\"t\"`` is present in "
63-
"the :attr:`sys.abiflags` constant.) For each of the distinct head-tail "
63+
"the :data:`sys.abiflags` constant.) For each of the distinct head-tail "
6464
"combinations, it sees if it refers to an existing directory, and if so, adds "
6565
"it to ``sys.path`` and also inspects the newly added path for configuration "
6666
"files."

library/socket.po

+1-6
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.13\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2025-02-03 17:40+0000\n"
18+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1919
"PO-Revision-Date: 2021-06-28 01:13+0000\n"
2020
"Last-Translator: Stan Ulbrych, 2025\n"
2121
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -1540,11 +1540,6 @@ msgid ""
15401540
"zero."
15411541
msgstr ""
15421542

1543-
msgid ""
1544-
"For best match with hardware and network realities, the value of *bufsize* "
1545-
"should be a relatively small power of 2, for example, 4096."
1546-
msgstr ""
1547-
15481543
msgid ""
15491544
"Receive data from the socket. The return value is a pair ``(bytes, "
15501545
"address)`` where *bytes* is a bytes object representing the data received "

library/socketserver.po

+29-18
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-01-31 14:16+0000\n"
15+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1616
"PO-Revision-Date: 2021-06-28 01:13+0000\n"
1717
"Last-Translator: Stan Ulbrych, 2025\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -495,11 +495,17 @@ msgid ""
495495
"\n"
496496
" def handle(self):\n"
497497
" # self.request is the TCP socket connected to the client\n"
498-
" self.data = self.request.recv(1024).strip()\n"
499-
" print(\"Received from {}:\".format(self.client_address[0]))\n"
500-
" print(self.data)\n"
498+
" pieces = [b'']\n"
499+
" total = 0\n"
500+
" while b'\\n' not in pieces[-1] and total < 10_000:\n"
501+
" pieces.append(self.request.recv(2000))\n"
502+
" total += len(pieces[-1])\n"
503+
" self.data = b''.join(pieces)\n"
504+
" print(f\"Received from {self.client_address[0]}:\")\n"
505+
" print(self.data.decode(\"utf-8\"))\n"
501506
" # just send back the same data, but upper-cased\n"
502507
" self.request.sendall(self.data.upper())\n"
508+
" # after we return, the socket will be closed.\n"
503509
"\n"
504510
"if __name__ == \"__main__\":\n"
505511
" HOST, PORT = \"localhost\", 9999\n"
@@ -521,11 +527,12 @@ msgid ""
521527
"class MyTCPHandler(socketserver.StreamRequestHandler):\n"
522528
"\n"
523529
" def handle(self):\n"
524-
" # self.rfile is a file-like object created by the handler;\n"
525-
" # we can now use e.g. readline() instead of raw recv() calls\n"
526-
" self.data = self.rfile.readline().strip()\n"
527-
" print(\"{} wrote:\".format(self.client_address[0]))\n"
528-
" print(self.data)\n"
530+
" # self.rfile is a file-like object created by the handler.\n"
531+
" # We can now use e.g. readline() instead of raw recv() calls.\n"
532+
" # We limit ourselves to 10000 bytes to avoid abuse by the sender.\n"
533+
" self.data = self.rfile.readline(10000).rstrip()\n"
534+
" print(f\"{self.client_address[0]} wrote:\")\n"
535+
" print(self.data.decode(\"utf-8\"))\n"
529536
" # Likewise, self.wfile is a file-like object used to write back\n"
530537
" # to the client\n"
531538
" self.wfile.write(self.data.upper())"
@@ -534,9 +541,12 @@ msgstr ""
534541
msgid ""
535542
"The difference is that the ``readline()`` call in the second handler will "
536543
"call ``recv()`` multiple times until it encounters a newline character, "
537-
"while the single ``recv()`` call in the first handler will just return what "
538-
"has been received so far from the client's ``sendall()`` call (typically all "
539-
"of it, but this is not guaranteed by the TCP protocol)."
544+
"while the the first handler had to use a ``recv()`` loop to accumulate data "
545+
"until a newline itself. If it had just used a single ``recv()`` without the "
546+
"loop it would just have returned what has been received so far from the "
547+
"client. TCP is stream based: data arrives in the order it was sent, but "
548+
"there no correlation between client ``send()`` or ``sendall()`` calls and "
549+
"the number of ``recv()`` calls on the server required to receive it."
540550
msgstr ""
541551

542552
msgid "This is the client side::"
@@ -553,13 +563,14 @@ msgid ""
553563
"with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:\n"
554564
" # Connect to server and send data\n"
555565
" sock.connect((HOST, PORT))\n"
556-
" sock.sendall(bytes(data + \"\\n\", \"utf-8\"))\n"
566+
" sock.sendall(bytes(data, \"utf-8\"))\n"
567+
" sock.sendall(b\"\\n\")\n"
557568
"\n"
558569
" # Receive data from the server and shut down\n"
559570
" received = str(sock.recv(1024), \"utf-8\")\n"
560571
"\n"
561-
"print(\"Sent: {}\".format(data))\n"
562-
"print(\"Received: {}\".format(received))"
572+
"print(\"Sent: \", data)\n"
573+
"print(\"Received:\", received)"
563574
msgstr ""
564575

565576
msgid "The output of the example should look something like this:"
@@ -605,7 +616,7 @@ msgid ""
605616
" def handle(self):\n"
606617
" data = self.request[0].strip()\n"
607618
" socket = self.request[1]\n"
608-
" print(\"{} wrote:\".format(self.client_address[0]))\n"
619+
" print(f\"{self.client_address[0]} wrote:\")\n"
609620
" print(data)\n"
610621
" socket.sendto(data.upper(), self.client_address)\n"
611622
"\n"
@@ -630,8 +641,8 @@ msgid ""
630641
"sock.sendto(bytes(data + \"\\n\", \"utf-8\"), (HOST, PORT))\n"
631642
"received = str(sock.recv(1024), \"utf-8\")\n"
632643
"\n"
633-
"print(\"Sent: {}\".format(data))\n"
634-
"print(\"Received: {}\".format(received))"
644+
"print(\"Sent: \", data)\n"
645+
"print(\"Received:\", received)"
635646
msgstr ""
636647

637648
msgid ""

library/ssl.po

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.13\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2025-01-31 14:16+0000\n"
17+
"POT-Creation-Date: 2025-02-07 14:17+0000\n"
1818
"PO-Revision-Date: 2021-06-28 01:13+0000\n"
1919
"Last-Translator: Stan Ulbrych, 2025\n"
2020
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -1974,8 +1974,8 @@ msgstr ""
19741974
msgid ""
19751975
"A :class:`TLSVersion` enum member representing the highest supported TLS "
19761976
"version. The value defaults to :attr:`TLSVersion.MAXIMUM_SUPPORTED`. The "
1977-
"attribute is read-only for protocols other than :attr:`PROTOCOL_TLS`, :attr:"
1978-
"`PROTOCOL_TLS_CLIENT`, and :attr:`PROTOCOL_TLS_SERVER`."
1977+
"attribute is read-only for protocols other than :const:`PROTOCOL_TLS`, :"
1978+
"const:`PROTOCOL_TLS_CLIENT`, and :const:`PROTOCOL_TLS_SERVER`."
19791979
msgstr ""
19801980

19811981
msgid ""
@@ -1993,7 +1993,7 @@ msgid ""
19931993
msgstr ""
19941994

19951995
msgid ""
1996-
"Control the number of TLS 1.3 session tickets of a :attr:"
1996+
"Control the number of TLS 1.3 session tickets of a :const:"
19971997
"`PROTOCOL_TLS_SERVER` context. The setting has no impact on TLS 1.0 to 1.2 "
19981998
"connections."
19991999
msgstr ""

0 commit comments

Comments
 (0)