Skip to content

Commit f6ec998

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

33 files changed

+148
-155
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-
![54.47% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-54.47%25-0.svg)
19-
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-3.25%25-0.svg)
18+
![54.26% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-54.26%25-0.svg)
19+
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-3.24%25-0.svg)
2020
![21 tłumaczy](https://img.shields.io/badge/tłumaczy-21-0.svg)
2121
<!-- [[[end]]] -->
2222

c-api/code.po

Lines changed: 1 addition & 1 deletion
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: 2024-02-23 14:13+0000\n"
14+
"POT-Creation-Date: 2024-03-08 21:29+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1616
"Last-Translator: haaritsubaki, 2023\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

c-api/memoryview.po

Lines changed: 1 addition & 1 deletion
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: 2024-02-16 14:13+0000\n"
14+
"POT-Creation-Date: 2024-03-08 21:29+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
1616
"Last-Translator: haaritsubaki, 2023\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

faq/design.po

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-03-01 14:13+0000\n"
16+
"POT-Creation-Date: 2024-03-15 14:13+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
1818
"Last-Translator: Maciej Olko <maciej.olko@gmail.com>, 2022\n"
1919
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -359,9 +359,11 @@ msgid "Why isn't there a switch or case statement in Python?"
359359
msgstr ""
360360

361361
msgid ""
362-
"You can do this easily enough with a sequence of ``if... elif... elif... "
363-
"else``. For literal values, or constants within a namespace, you can also "
364-
"use a ``match ... case`` statement."
362+
"In general, structured switch statements execute one block of code when an "
363+
"expression has a particular value or set of values. Since Python 3.10 one "
364+
"can easily match literal values, or constants within a namespace, with a "
365+
"``match ... case`` statement. An older alternative is a sequence of ``if... "
366+
"elif... elif... else``."
365367
msgstr ""
366368

367369
msgid ""
@@ -382,6 +384,11 @@ msgid ""
382384
"your object."
383385
msgstr ""
384386

387+
msgid ""
388+
"Imitating switch with fallthrough, as with C's switch-case-default, is "
389+
"possible, much harder, and less needed."
390+
msgstr ""
391+
385392
msgid ""
386393
"Can't you emulate threads in the interpreter instead of relying on an OS-"
387394
"specific thread implementation?"

faq/extending.po

Lines changed: 5 additions & 5 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: 2024-03-08 21:29+0000\n"
14+
"POT-Creation-Date: 2024-03-15 14:13+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
1616
"Last-Translator: Stefan Ocetkiewicz <stefan.ocetkiewicz@gmail.com>, 2021\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -71,10 +71,10 @@ msgid ""
7171
"If you need to interface to some C or C++ library for which no Python "
7272
"extension currently exists, you can try wrapping the library's data types "
7373
"and functions with a tool such as `SWIG <https://www.swig.org>`_. `SIP "
74-
"<https://riverbankcomputing.com/software/sip/intro>`__, `CXX <https://cxx."
75-
"sourceforge.net/>`_ `Boost <https://www.boost.org/libs/python/doc/index."
76-
"html>`_, or `Weave <https://github.com/scipy/weave>`_ are also alternatives "
77-
"for wrapping C++ libraries."
74+
"<https://github.com/Python-SIP/sip>`__, `CXX <https://cxx.sourceforge.net/"
75+
">`_ `Boost <https://www.boost.org/libs/python/doc/index.html>`_, or `Weave "
76+
"<https://github.com/scipy/weave>`_ are also alternatives for wrapping C++ "
77+
"libraries."
7878
msgstr ""
7979

8080
msgid "How can I execute arbitrary Python statements from C?"

glossary.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.12\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2024-02-25 01:09+0000\n"
18+
"POT-Creation-Date: 2024-03-15 14:13+0000\n"
1919
"PO-Revision-Date: 2021-06-28 00:47+0000\n"
2020
"Last-Translator: gresm, 2024\n"
2121
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -1227,9 +1227,10 @@ msgid ""
12271227
"Some named tuples are built-in types (such as the above examples). "
12281228
"Alternatively, a named tuple can be created from a regular class definition "
12291229
"that inherits from :class:`tuple` and that defines named fields. Such a "
1230-
"class can be written by hand or it can be created with the factory function :"
1231-
"func:`collections.namedtuple`. The latter technique also adds some extra "
1232-
"methods that may not be found in hand-written or built-in named tuples."
1230+
"class can be written by hand, or it can be created by inheriting :class:"
1231+
"`typing.NamedTuple`, or with the factory function :func:`collections."
1232+
"namedtuple`. The latter techniques also add some extra methods that may not "
1233+
"be found in hand-written or built-in named tuples."
12331234
msgstr ""
12341235

12351236
msgid "namespace"

howto/descriptor.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-02-23 14:13+0000\n"
16+
"POT-Creation-Date: 2024-03-08 21:29+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:53+0000\n"
1818
"Last-Translator: Maciej Olko <maciej.olko@gmail.com>, 2023\n"
1919
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

howto/logging.po

Lines changed: 32 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-02-16 14:13+0000\n"
15+
"POT-Creation-Date: 2024-03-15 14:13+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:53+0000\n"
1717
"Last-Translator: Maciej Olko <maciej.olko@gmail.com>, 2023\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -55,10 +55,12 @@ msgid "When to use logging"
5555
msgstr ""
5656

5757
msgid ""
58-
"Logging provides a set of convenience functions for simple logging usage. "
59-
"These are :func:`debug`, :func:`info`, :func:`warning`, :func:`error` and :"
60-
"func:`critical`. To determine when to use logging, see the table below, "
61-
"which states, for each of a set of common tasks, the best tool to use for it."
58+
"You can access logging functionality by creating a logger via ``logger = "
59+
"getLogger(__name__)``, and then calling the logger's :meth:`~Logger.debug`, :"
60+
"meth:`~Logger.info`, :meth:`~Logger.warning`, :meth:`~Logger.error` and :"
61+
"meth:`~Logger.critical` methods. To determine when to use logging, and to "
62+
"see which logger methods to use when, see the table below. It states, for "
63+
"each of a set of common tasks, the best tool to use for that task."
6264
msgstr ""
6365

6466
msgid "Task you want to perform"
@@ -80,8 +82,8 @@ msgid ""
8082
msgstr ""
8183

8284
msgid ""
83-
":func:`logging.info` (or :func:`logging.debug` for very detailed output for "
84-
"diagnostic purposes)"
85+
"A logger's :meth:`~Logger.info` (or :meth:`~Logger.debug` method for very "
86+
"detailed output for diagnostic purposes)"
8587
msgstr ""
8688

8789
msgid "Issue a warning regarding a particular runtime event"
@@ -93,8 +95,8 @@ msgid ""
9395
msgstr ""
9496

9597
msgid ""
96-
":func:`logging.warning` if there is nothing the client application can do "
97-
"about the situation, but the event should still be noted"
98+
"A logger's :meth:`~Logger.warning` method if there is nothing the client "
99+
"application can do about the situation, but the event should still be noted"
98100
msgstr ""
99101

100102
msgid "Report an error regarding a particular runtime event"
@@ -109,14 +111,15 @@ msgid ""
109111
msgstr ""
110112

111113
msgid ""
112-
":func:`logging.error`, :func:`logging.exception` or :func:`logging.critical` "
113-
"as appropriate for the specific error and application domain"
114+
"A logger's :meth:`~Logger.error`, :meth:`~Logger.exception` or :meth:"
115+
"`~Logger.critical` method as appropriate for the specific error and "
116+
"application domain"
114117
msgstr ""
115118

116119
msgid ""
117-
"The logging functions are named after the level or severity of the events "
118-
"they are used to track. The standard levels and their applicability are "
119-
"described below (in increasing order of severity):"
120+
"The logger methods are named after the level or severity of the events they "
121+
"are used to track. The standard levels and their applicability are described "
122+
"below (in increasing order of severity):"
120123
msgstr ""
121124

122125
msgid "Level"
@@ -188,11 +191,21 @@ msgid ""
188191
"printed out on the console. The ``INFO`` message doesn't appear because the "
189192
"default level is ``WARNING``. The printed message includes the indication of "
190193
"the level and the description of the event provided in the logging call, i."
191-
"e. 'Watch out!'. Don't worry about the 'root' part for now: it will be "
192-
"explained later. The actual output can be formatted quite flexibly if you "
194+
"e. 'Watch out!'. The actual output can be formatted quite flexibly if you "
193195
"need that; formatting options will also be explained later."
194196
msgstr ""
195197

198+
msgid ""
199+
"Notice that in this example, we use functions directly on the ``logging`` "
200+
"module, like ``logging.debug``, rather than creating a logger and calling "
201+
"functions on it. These functions operation on the root logger, but can be "
202+
"useful as they will call :func:`~logging.basicConfig` for you if it has not "
203+
"been called yet, like in this example. In larger programs you'll usually "
204+
"want to control the logging configuration explicitly however - so for that "
205+
"reason as well as others, it's better to create loggers and call their "
206+
"methods."
207+
msgstr ""
208+
196209
msgid "Logging to a file"
197210
msgstr ""
198211

@@ -238,11 +251,9 @@ msgid ""
238251
msgstr ""
239252

240253
msgid ""
241-
"The call to :func:`basicConfig` should come *before* any calls to :func:"
242-
"`debug`, :func:`info`, etc. Otherwise, those functions will call :func:"
243-
"`basicConfig` for you with the default options. As it's intended as a one-"
244-
"off simple configuration facility, only the first call will actually do "
245-
"anything: subsequent calls are effectively no-ops."
254+
"The call to :func:`basicConfig` should come *before* any calls to a logger's "
255+
"methods such as :meth:`~Logger.debug`, :meth:`~Logger.info`, etc. Otherwise, "
256+
"that logging event may not be handled in the desired manner."
246257
msgstr ""
247258

248259
msgid ""
@@ -257,27 +268,6 @@ msgid ""
257268
"appended to, so the messages from earlier runs are lost."
258269
msgstr ""
259270

260-
msgid "Logging from multiple modules"
261-
msgstr ""
262-
263-
msgid ""
264-
"If your program consists of multiple modules, here's an example of how you "
265-
"could organize logging in it::"
266-
msgstr ""
267-
268-
msgid "If you run *myapp.py*, you should see this in *myapp.log*:"
269-
msgstr ""
270-
271-
msgid ""
272-
"which is hopefully what you were expecting to see. You can generalize this "
273-
"to multiple modules, using the pattern in *mylib.py*. Note that for this "
274-
"simple usage pattern, you won't know, by looking in the log file, *where* in "
275-
"your application your messages came from, apart from looking at the event "
276-
"description. If you want to track the location of your messages, you'll need "
277-
"to refer to the documentation beyond the tutorial level -- see :ref:`logging-"
278-
"advanced-tutorial`."
279-
msgstr ""
280-
281271
msgid "Logging variable data"
282272
msgstr ""
283273

howto/pyporting.po

Lines changed: 1 addition & 1 deletion
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: 2024-02-23 14:13+0000\n"
14+
"POT-Creation-Date: 2024-03-08 21:29+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:53+0000\n"
1616
"Last-Translator: Seweryn Piórkowski <seweryn.piorkowski@gmail.com>, 2021\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

howto/sorting.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-02-23 14:13+0000\n"
15+
"POT-Creation-Date: 2024-03-08 21:29+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:53+0000\n"
1717
"Last-Translator: Krzysztof Abramowicz, 2022\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

0 commit comments

Comments
 (0)