Skip to content

Commit ee21aca

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

File tree

18 files changed

+1876
-251
lines changed

18 files changed

+1876
-251
lines changed

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-lint-and-build.yml/badge.svg)
18-
![69.61% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-69.61%25-0.svg)
19-
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-3.72%25-0.svg)
18+
![70.16% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-70.16%25-0.svg)
19+
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-3.75%25-0.svg)
2020
![24 tłumaczy](https://img.shields.io/badge/tłumaczy-24-0.svg)
2121
<!-- [[[end]]] -->
2222

c-api/apiabiversion.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Maciej Olko <[email protected]>, 2021
88
# Waldemar Stoczkowski, 2023
99
# Rafael Fontenelle <[email protected]>, 2024
10+
# Stan U, 2024
1011
#
1112
#, fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To: \n"
1617
"POT-Creation-Date: 2024-11-22 14:17+0000\n"
1718
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
18-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
19+
"Last-Translator: Stan U, 2024\n"
1920
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
@@ -41,6 +42,8 @@ msgstr ""
4142
msgid ""
4243
"See :ref:`stable` for a discussion of API and ABI stability across versions."
4344
msgstr ""
45+
"Więcej informacji na temat stabilności API i ABI w różnych wersjach można "
46+
"znaleźć na stronie :ref:`stable`."
4447

4548
msgid "The ``3`` in ``3.4.1a2``."
4649
msgstr "``3`` w ``3.4.1a2``."
@@ -161,6 +164,9 @@ msgid ""
161164
"the same format as the :c:macro:`PY_VERSION_HEX` macro. This contains the "
162165
"Python version used at run time."
163166
msgstr ""
167+
"Wersja Python runtime jest zakodowana w pojedynczej stałej liczba całkowita, "
168+
"w tym samym formacie co makro :c:macro:`PY_VERSION_HEX`. Zawiera on Python "
169+
"wersja używany w czasie wykonywania."
164170

165171
msgid "All the given macros are defined in :source:`Include/patchlevel.h`."
166172
msgstr ""

faq/programming.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2309,6 +2309,8 @@ msgid ""
23092309
"The :ref:`private name mangling specifications <private-name-mangling>` for "
23102310
"details and special cases."
23112311
msgstr ""
2312+
"Szczegółowe informacje i przypadki specjalne znajdują się w specyfikacji :"
2313+
"ref:`private name mangling <private-name-mangling>`."
23122314

23132315
msgid "My class defines __del__ but it is not called when I delete the object."
23142316
msgstr ""

howto/functional.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ msgid ""
550550
msgstr ""
551551

552552
msgid "Generators"
553-
msgstr ""
553+
msgstr "Generatory"
554554

555555
msgid ""
556556
"Generators are a special class of functions that simplify the task of "

howto/sorting.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@
66
# Translators:
77
# Seweryn Piórkowski <[email protected]>, 2021
88
# Krzysztof Abramowicz, 2022
9+
# Stan U, 2024
910
#
1011
#, fuzzy
1112
msgid ""
1213
msgstr ""
1314
"Project-Id-Version: Python 3.13\n"
1415
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-11-19 01:00+0000\n"
16+
"POT-Creation-Date: 2024-11-22 14:17+0000\n"
1617
"PO-Revision-Date: 2021-06-28 00:53+0000\n"
17-
"Last-Translator: Krzysztof Abramowicz, 2022\n"
18+
"Last-Translator: Stan U, 2024\n"
1819
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -377,7 +378,7 @@ msgid "sorted(words, key=cmp_to_key(strcoll)) # locale-aware sort order"
377378
msgstr ""
378379

379380
msgid "Odds and Ends"
380-
msgstr ""
381+
msgstr "Przypadki losowe"
381382

382383
msgid ""
383384
"For locale aware sorting, use :func:`locale.strxfrm` for a key function or :"

library/array.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# Maciej Olko <[email protected]>, 2024
8+
# Stan U, 2024
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.13\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-11-19 01:00+0000\n"
15+
"POT-Creation-Date: 2024-11-22 14:17+0000\n"
1516
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
16-
"Last-Translator: Maciej Olko <[email protected]>, 2024\n"
17+
"Last-Translator: Stan U, 2024\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"
@@ -84,7 +85,7 @@ msgid "\\(1)"
8485
msgstr "\\(1)"
8586

8687
msgid "``'w'``"
87-
msgstr ""
88+
msgstr "``'w'``"
8889

8990
msgid "Py_UCS4"
9091
msgstr ""

library/asyncio-dev.po

Lines changed: 109 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Transifex Bot <>, 2023
7+
# Stan U, 2024
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
12-
"Project-Id-Version: Python 3.11\n"
12+
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-05-19 14:13+0000\n"
14+
"POT-Creation-Date: 2024-11-22 14:17+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
16-
"Last-Translator: Transifex Bot <>, 2023\n"
16+
"Last-Translator: Stan U, 2024\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -63,10 +63,13 @@ msgstr ""
6363

6464
msgid ""
6565
"setting the log level of the :ref:`asyncio logger <asyncio-logger>` to :py:"
66-
"data:`logging.DEBUG`, for example the following snippet of code can be run "
66+
"const:`logging.DEBUG`, for example the following snippet of code can be run "
6767
"at startup of the application::"
6868
msgstr ""
6969

70+
msgid "logging.basicConfig(level=logging.DEBUG)"
71+
msgstr ""
72+
7073
msgid ""
7174
"configuring the :mod:`warnings` module to display :exc:`ResourceWarning` "
7275
"warnings. One way of doing that is by using the :option:`-W` ``default`` "
@@ -115,22 +118,37 @@ msgid ""
115118
"call_soon_threadsafe` method should be used. Example::"
116119
msgstr ""
117120

121+
msgid "loop.call_soon_threadsafe(callback, *args)"
122+
msgstr ""
123+
118124
msgid ""
119125
"Almost all asyncio objects are not thread safe, which is typically not a "
120126
"problem unless there is code that works with them from outside of a Task or "
121127
"a callback. If there's a need for such code to call a low-level asyncio "
122128
"API, the :meth:`loop.call_soon_threadsafe` method should be used, e.g.::"
123129
msgstr ""
124130

131+
msgid "loop.call_soon_threadsafe(fut.cancel)"
132+
msgstr ""
133+
125134
msgid ""
126135
"To schedule a coroutine object from a different OS thread, the :func:"
127136
"`run_coroutine_threadsafe` function should be used. It returns a :class:"
128137
"`concurrent.futures.Future` to access the result::"
129138
msgstr ""
130139

131140
msgid ""
132-
"To handle signals and to execute subprocesses, the event loop must be run in "
133-
"the main thread."
141+
"async def coro_func():\n"
142+
" return await asyncio.sleep(1, 42)\n"
143+
"\n"
144+
"# Later in another OS thread:\n"
145+
"\n"
146+
"future = asyncio.run_coroutine_threadsafe(coro_func(), loop)\n"
147+
"# Wait for the result:\n"
148+
"result = future.result()"
149+
msgstr ""
150+
151+
msgid "To handle signals the event loop must be run in the main thread."
134152
msgstr ""
135153

136154
msgid ""
@@ -168,18 +186,21 @@ msgid ""
168186
msgstr ""
169187

170188
msgid "Logging"
171-
msgstr ""
189+
msgstr "Logowanie"
172190

173191
msgid ""
174192
"asyncio uses the :mod:`logging` module and all logging is performed via the "
175193
"``\"asyncio\"`` logger."
176194
msgstr ""
177195

178196
msgid ""
179-
"The default log level is :py:data:`logging.INFO`, which can be easily "
197+
"The default log level is :py:const:`logging.INFO`, which can be easily "
180198
"adjusted::"
181199
msgstr ""
182200

201+
msgid "logging.getLogger(\"asyncio\").setLevel(logging.WARNING)"
202+
msgstr ""
203+
183204
msgid ""
184205
"Network logging can block the event loop. It is recommended to use a "
185206
"separate thread for handling logs or use non-blocking IO. For example, see :"
@@ -195,17 +216,52 @@ msgid ""
195216
"`asyncio.create_task`, asyncio will emit a :exc:`RuntimeWarning`::"
196217
msgstr ""
197218

219+
msgid ""
220+
"import asyncio\n"
221+
"\n"
222+
"async def test():\n"
223+
" print(\"never scheduled\")\n"
224+
"\n"
225+
"async def main():\n"
226+
" test()\n"
227+
"\n"
228+
"asyncio.run(main())"
229+
msgstr ""
230+
198231
msgid "Output::"
199232
msgstr ""
200233

234+
msgid ""
235+
"test.py:7: RuntimeWarning: coroutine 'test' was never awaited\n"
236+
" test()"
237+
msgstr ""
238+
201239
msgid "Output in debug mode::"
202240
msgstr ""
203241

242+
msgid ""
243+
"test.py:7: RuntimeWarning: coroutine 'test' was never awaited\n"
244+
"Coroutine created at (most recent call last)\n"
245+
" File \"../t.py\", line 9, in <module>\n"
246+
" asyncio.run(main(), debug=True)\n"
247+
"\n"
248+
" < .. >\n"
249+
"\n"
250+
" File \"../t.py\", line 7, in main\n"
251+
" test()\n"
252+
" test()"
253+
msgstr ""
254+
204255
msgid ""
205256
"The usual fix is to either await the coroutine or call the :meth:`asyncio."
206257
"create_task` function::"
207258
msgstr ""
208259

260+
msgid ""
261+
"async def main():\n"
262+
" await test()"
263+
msgstr ""
264+
209265
msgid "Detect never-retrieved exceptions"
210266
msgstr ""
211267

@@ -219,7 +275,50 @@ msgstr ""
219275
msgid "Example of an unhandled exception::"
220276
msgstr ""
221277

278+
msgid ""
279+
"import asyncio\n"
280+
"\n"
281+
"async def bug():\n"
282+
" raise Exception(\"not consumed\")\n"
283+
"\n"
284+
"async def main():\n"
285+
" asyncio.create_task(bug())\n"
286+
"\n"
287+
"asyncio.run(main())"
288+
msgstr ""
289+
290+
msgid ""
291+
"Task exception was never retrieved\n"
292+
"future: <Task finished coro=<bug() done, defined at test.py:3>\n"
293+
" exception=Exception('not consumed')>\n"
294+
"\n"
295+
"Traceback (most recent call last):\n"
296+
" File \"test.py\", line 4, in bug\n"
297+
" raise Exception(\"not consumed\")\n"
298+
"Exception: not consumed"
299+
msgstr ""
300+
222301
msgid ""
223302
":ref:`Enable the debug mode <asyncio-debug-mode>` to get the traceback where "
224303
"the task was created::"
225304
msgstr ""
305+
306+
msgid "asyncio.run(main(), debug=True)"
307+
msgstr ""
308+
309+
msgid ""
310+
"Task exception was never retrieved\n"
311+
"future: <Task finished coro=<bug() done, defined at test.py:3>\n"
312+
" exception=Exception('not consumed') created at asyncio/tasks.py:321>\n"
313+
"\n"
314+
"source_traceback: Object created at (most recent call last):\n"
315+
" File \"../t.py\", line 9, in <module>\n"
316+
" asyncio.run(main(), debug=True)\n"
317+
"\n"
318+
"< .. >\n"
319+
"\n"
320+
"Traceback (most recent call last):\n"
321+
" File \"../t.py\", line 4, in bug\n"
322+
" raise Exception(\"not consumed\")\n"
323+
"Exception: not consumed"
324+
msgstr ""

0 commit comments

Comments
 (0)