Skip to content

Commit 2e37b19

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
Co-Authored-By: Maciej Olko
1 parent 7fc461f commit 2e37b19

7 files changed

Lines changed: 120 additions & 83 deletions

File tree

‎howto/logging-cookbook.po‎

Lines changed: 25 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-11-07 18:23+0000\n"
14+
"POT-Creation-Date: 2026-11-21 20:18+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -404,11 +404,9 @@ msgstr ""
404404

405405
msgid ""
406406
"This configuration does *almost* what we want, except that ``sys.stdout`` "
407-
"would show messages of severity ``ERROR`` and only events of this severity "
408-
"and higher will be tracked as well as ``INFO`` and ``WARNING`` messages. To "
409-
"prevent this, we can set up a filter which excludes those messages and add "
410-
"it to the relevant handler. This can be configured by adding a ``filters`` "
411-
"section parallel to ``formatters`` and ``handlers``:"
407+
"would also show messages of severity ``ERROR`` and above. To exclude those "
408+
"messages, we can add a filter to the stdout handler. This can be configured "
409+
"by adding a ``filters`` section parallel to ``formatters`` and ``handlers``:"
412410
msgstr ""
413411

414412
msgid ""
@@ -650,9 +648,9 @@ msgid ""
650648
"a :class:`QueueHandler` to those loggers which are accessed from performance-"
651649
"critical threads. They simply write to their queue, which can be sized to a "
652650
"large enough capacity or initialized with no upper bound to their size. The "
653-
"write to the queue will typically be accepted quickly, though you will "
654-
"probably need to catch the :exc:`queue.Full` exception as a precaution in "
655-
"your code. If you are a library developer who has performance-critical "
651+
"write to the queue will typically be accepted quickly. If a bounded queue is "
652+
"full, :class:`QueueHandler` calls :meth:`~logging.Handler.handleError` with "
653+
"the record. If you are a library developer who has performance-critical "
656654
"threads in their code, be sure to document this (together with a suggestion "
657655
"to attach only ``QueueHandlers`` to your loggers) for the benefit of other "
658656
"developers who will use your code."
@@ -2000,8 +1998,8 @@ msgstr ""
20001998
msgid ""
20011999
"The most current file is always :file:`logging_rotatingfile_example.out`, "
20022000
"and each time it reaches the size limit it is renamed with the suffix "
2003-
"``.1``. Each of the existing backup files is renamed to increment the suffix "
2004-
"(``.1`` becomes ``.2``, etc.) and the ``.6`` file is erased."
2001+
"``.1``. Before this happens, the oldest backup (``.5``), if present, is "
2002+
"deleted and the remaining backups are renamed (``.4`` becomes ``.5``, etc.)."
20052003
msgstr ""
20062004

20072005
msgid ""
@@ -2221,7 +2219,7 @@ msgid ""
22212219
":func:`makeLogRecord`, which is called with a dictionary containing "
22222220
"attributes to be added to the LogRecord. This is typically invoked when a "
22232221
"suitable dictionary has been received over the network (e.g. in pickle form "
2224-
"via a :class:`~handlers.SocketHandler`, or in JSON form via "
2222+
"via a :class:`~handlers.SocketHandler`, or as URL-encoded data via "
22252223
"an :class:`~handlers.HTTPHandler`)."
22262224
msgstr ""
22272225

@@ -2261,13 +2259,7 @@ msgstr ""
22612259
msgid "logger = logging.getLogger(__name__)"
22622260
msgstr ""
22632261

2264-
msgid ""
2265-
"at module level). It's probably one too many things to think about. "
2266-
"Developers could also add the filter to a :class:`~logging.NullHandler` "
2267-
"attached to their top-level logger, but this would not be invoked if an "
2268-
"application developer attached a handler to a lower-level library logger --- "
2269-
"so output from that handler would not reflect the intentions of the library "
2270-
"developer."
2262+
msgid "at module level). It's probably one too many things to think about."
22712263
msgstr ""
22722264

22732265
msgid ""
@@ -2364,16 +2356,16 @@ msgstr ""
23642356

23652357
msgid ""
23662358
"class ZeroMQSocketListener(QueueListener):\n"
2367-
" def __init__(self, uri, /, *handlers, **kwargs):\n"
2368-
" self.ctx = kwargs.get('ctx') or zmq.Context()\n"
2359+
" def __init__(self, uri, /, *handlers, ctx=None, **kwargs):\n"
2360+
" self.ctx = ctx or zmq.Context()\n"
23692361
" socket = zmq.Socket(self.ctx, zmq.SUB)\n"
23702362
" socket.setsockopt_string(zmq.SUBSCRIBE, '') # subscribe to "
23712363
"everything\n"
23722364
" socket.connect(uri)\n"
23732365
" super().__init__(socket, *handlers, **kwargs)\n"
23742366
"\n"
2375-
" def dequeue(self):\n"
2376-
" msg = self.queue.recv_json()\n"
2367+
" def dequeue(self, block):\n"
2368+
" msg = self.queue.recv_json(flags=0 if block else zmq.NOBLOCK)\n"
23772369
" return logging.makeLogRecord(msg)"
23782370
msgstr ""
23792371

@@ -2715,7 +2707,7 @@ msgid ""
27152707
"import logging.config\n"
27162708
"import logging.handlers\n"
27172709
"from multiprocessing import Process, Queue, Event, current_process\n"
2718-
"import os\n"
2710+
"from multiprocessing import get_start_method\n"
27192711
"import random\n"
27202712
"import time\n"
27212713
"\n"
@@ -2754,13 +2746,8 @@ msgid ""
27542746
" logging.config.dictConfig(config)\n"
27552747
" listener = logging.handlers.QueueListener(q, MyHandler())\n"
27562748
" listener.start()\n"
2757-
" if os.name == 'posix':\n"
2758-
" # On POSIX, the setup logger will have been configured in the\n"
2759-
" # parent process, but should have been disabled following the\n"
2760-
" # dictConfig call.\n"
2761-
" # On Windows, since fork isn't used, the setup logger won't\n"
2762-
" # exist in the child, so it would be created and the message\n"
2763-
" # would appear - hence the \"if posix\" clause.\n"
2749+
" if get_start_method() == 'fork':\n"
2750+
" # dictConfig disables the setup logger inherited from the parent.\n"
27642751
" logger = logging.getLogger('setup')\n"
27652752
" logger.critical('Should not appear, because of disabled "
27662753
"logger ...')\n"
@@ -2786,13 +2773,8 @@ msgid ""
27862773
" logging.CRITICAL]\n"
27872774
" loggers = ['foo', 'foo.bar', 'foo.bar.baz',\n"
27882775
" 'spam', 'spam.ham', 'spam.ham.eggs']\n"
2789-
" if os.name == 'posix':\n"
2790-
" # On POSIX, the setup logger will have been configured in the\n"
2791-
" # parent process, but should have been disabled following the\n"
2792-
" # dictConfig call.\n"
2793-
" # On Windows, since fork isn't used, the setup logger won't\n"
2794-
" # exist in the child, so it would be created and the message\n"
2795-
" # would appear - hence the \"if posix\" clause.\n"
2776+
" if get_start_method() == 'fork':\n"
2777+
" # dictConfig disables the setup logger inherited from the parent.\n"
27962778
" logger = logging.getLogger('setup')\n"
27972779
" logger.critical('Should not appear, because of disabled "
27982780
"logger ...')\n"
@@ -2822,10 +2804,7 @@ msgid ""
28222804
" # The worker process configuration is just a QueueHandler attached to "
28232805
"the\n"
28242806
" # root logger, which allows all messages to be sent to the queue.\n"
2825-
" # We disable existing loggers to disable the \"setup\" logger used in "
2826-
"the\n"
2827-
" # parent process. This is needed on POSIX because the logger will\n"
2828-
" # be there in the child following a fork().\n"
2807+
" # Disable the parent's \"setup\" logger if it was inherited via fork.\n"
28292808
" config_worker = {\n"
28302809
" 'version': 1,\n"
28312810
" 'disable_existing_loggers': True,\n"
@@ -2844,10 +2823,7 @@ msgid ""
28442823
" # logging configuration is available to dispatch events to handlers "
28452824
"however\n"
28462825
" # you want.\n"
2847-
" # We disable existing loggers to disable the \"setup\" logger used in "
2848-
"the\n"
2849-
" # parent process. This is needed on POSIX because the logger will\n"
2850-
" # be there in the child following a fork().\n"
2826+
" # Disable the parent's \"setup\" logger if it was inherited via fork.\n"
28512827
" config_listener = {\n"
28522828
" 'version': 1,\n"
28532829
" 'disable_existing_loggers': True,\n"
@@ -4790,11 +4766,9 @@ msgstr ""
47904766
msgid ""
47914767
"Usually, messages that are logged (say to console or file) consist of a "
47924768
"single line of text. However, sometimes there is a need to handle messages "
4793-
"with multiple lines - whether because a logging format string contains "
4794-
"newlines, or logged data contains newlines. If you want to handle such "
4795-
"messages uniformly, so that each line in the logged message appears "
4796-
"uniformly formatted as if it was logged separately, you can do this using a "
4797-
"handler mixin, as in the following snippet:"
4769+
"with multiple lines because the message or its arguments contain newlines. "
4770+
"To format each line as if it were logged separately, you can use a handler "
4771+
"mixin, as in the following snippet:"
47984772
msgstr ""
47994773

48004774
msgid ""

‎howto/logging.po‎

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-11-17 21:57+0000\n"
14+
"POT-Creation-Date: 2026-11-21 20:18+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -229,14 +229,6 @@ msgid ""
229229
"logger.error('And non-ASCII stuff, too, like Øresund and Malmö')"
230230
msgstr ""
231231

232-
msgid ""
233-
"The *encoding* argument was added. In earlier Python versions, or if not "
234-
"specified, the encoding used is the default value used by :func:`open`. "
235-
"While not shown in the above example, an *errors* argument can also now be "
236-
"passed, which determines how encoding errors are handled. For available "
237-
"values and the default, see the documentation for :func:`open`."
238-
msgstr ""
239-
240232
msgid ""
241233
"And now if we open the file and look at what we have, we should find the log "
242234
"messages:"
@@ -597,11 +589,10 @@ msgid ""
597589
"and :meth:`Logger.critical` all create log records with a message and a "
598590
"level that corresponds to their respective method names. The message is "
599591
"actually a format string, which may contain the standard string substitution "
600-
"syntax of ``%s``, ``%d``, ``%f``, and so on. The rest of their arguments is "
601-
"a list of objects that correspond with the substitution fields in the "
602-
"message. With regard to ``**kwargs``, the logging methods care only about a "
603-
"keyword of ``exc_info`` and use it to determine whether to log exception "
604-
"information."
592+
"syntax of ``%s``, ``%d``, ``%f``, and so on. The remaining positional "
593+
"arguments correspond to the substitution fields in the message. These "
594+
"methods also accept the keyword arguments *exc_info*, *extra*, *stack_info*, "
595+
"and *stacklevel*, described in :meth:`Logger.debug`."
605596
msgstr ""
606597

607598
msgid ""
@@ -1278,9 +1269,10 @@ msgstr ""
12781269

12791270
msgid ""
12801271
"For formatting multiple messages in a batch, instances "
1281-
"of :class:`BufferingFormatter` can be used. In addition to the format string "
1282-
"(which is applied to each message in the batch), there is provision for "
1283-
"header and trailer format strings."
1272+
"of :class:`BufferingFormatter` can be used. A line formatter formats each "
1273+
"record in the batch. To add a header or footer, "
1274+
"override :meth:`~BufferingFormatter.formatHeader` "
1275+
"or :meth:`~BufferingFormatter.formatFooter`."
12841276
msgstr ""
12851277

12861278
msgid ""
@@ -1337,10 +1329,7 @@ msgid ""
13371329
"passed when logging the event is a string. However, this is not the only "
13381330
"possibility. You can pass an arbitrary object as a message, and "
13391331
"its :meth:`~object.__str__` method will be called when the logging system "
1340-
"needs to convert it to a string representation. In fact, if you want to, you "
1341-
"can avoid computing a string representation altogether - for example, "
1342-
"the :class:`~handlers.SocketHandler` emits an event by pickling it and "
1343-
"sending it over the wire."
1332+
"needs to convert it to a string representation."
13441333
msgstr ""
13451334

13461335
msgid "Optimization"

‎installing/index.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.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-31 18:01+0000\n"
15+
"POT-Creation-Date: 2026-11-19 21:54+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Maciej Olko, 2026\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

‎library/lzma.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.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-31 18:01+0000\n"
15+
"POT-Creation-Date: 2026-11-19 21:54+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1717
"Last-Translator: python-doc bot, 2026\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

‎tutorial/datastructures.po‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
# Translators:
77
# python-doc bot, 2025
88
# Stan Ulbrych, 2025
9-
# Maciej Olko, 2026
109
# Ciarbin <mrciarbin@gmail.com>, 2026
10+
# Maciej Olko, 2026
1111
#
1212
#, fuzzy
1313
msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.15\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2026-11-17 21:57+0000\n"
17+
"POT-Creation-Date: 2026-11-21 20:18+0000\n"
1818
"PO-Revision-Date: 2025-09-16 00:02+0000\n"
19-
"Last-Translator: Ciarbin <mrciarbin@gmail.com>, 2026\n"
19+
"Last-Translator: Maciej Olko, 2026\n"
2020
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
2121
"MIME-Version: 1.0\n"
2222
"Content-Type: text/plain; charset=UTF-8\n"
@@ -266,8 +266,8 @@ msgid ""
266266
"To implement a queue, use :class:`collections.deque` which was designed to "
267267
"have fast appends and pops from both ends. For example::"
268268
msgstr ""
269-
"Aby zaimplementować kolejkę, użyj :class:`collections.deque`, która została "
270-
"zaprojektowana, by mieć szybkie appendy i popy na obu końcach. Na przykład::"
269+
"Aby utworzyć kolejkę, użyj klasy :class:`collections.deque`, która umożliwia "
270+
"szybkie dodawanie i usuwanie elementów na obu końcach. Na przykład::"
271271

272272
msgid ""
273273
">>> from collections import deque\n"

‎tutorial/introduction.po‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-11-07 18:23+0000\n"
15+
"POT-Creation-Date: 2026-11-21 20:18+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:02+0000\n"
1717
"Last-Translator: Maciej Olko, 2026\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -604,7 +604,7 @@ msgid ""
604604
msgstr ""
605605
"Indeksy podzielonych fragmentów mają przydatne wartości domyślne; pominięty "
606606
"pierwszy indeks domyślnie jest zerem, pominięty drugi indeks domyślnie ma "
607-
"wartość długości dzielonego stringa. ::"
607+
"wartość długości dzielonego ciągu znaków. ::"
608608

609609
msgid ""
610610
">>> word[:2] # character from the beginning to position 2 (excluded)\n"
@@ -1169,7 +1169,7 @@ msgid ""
11691169
"The keyword argument *end* can be used to avoid the newline after the "
11701170
"output, or end the output with a different string::"
11711171
msgstr ""
1172-
"Keyword argument *end* można wykorzystać, aby uniknąć znaku nowej linii po "
1172+
"Argument nazwany *end* można wykorzystać, aby uniknąć znaku nowej linii po "
11731173
"wypisaniu lub aby zakończyć wypisanie innym ciągiem znaków::"
11741174

11751175
msgid ""

0 commit comments

Comments
 (0)