Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 799c2a4

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 0efd691 commit 799c2a4

9 files changed

Lines changed: 166 additions & 32 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ 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-
![56.42% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-56.42%25-0.svg)
18+
![56.47% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-56.47%25-0.svg)
1919
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-3.22%25-0.svg)
2020
![24 tłumaczy](https://img.shields.io/badge/tłumaczy-24-0.svg)
2121
<!-- [[[end]]] -->

library/constants.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ msgstr ""
181181
"raz)."
182182

183183
msgid "..."
184-
msgstr ""
184+
msgstr "..."
185185

186186
msgid "ellipsis literal"
187-
msgstr ""
187+
msgstr "Literalny zapis wielokropka"

library/functions.po

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# haaritsubaki, 2023
99
# Maciej Olko <[email protected]>, 2024
1010
# Ciarbin <[email protected]>, 2024
11+
# Wiktor Matuszewski <[email protected]>, 2024
1112
#
1213
#, fuzzy
1314
msgid ""
@@ -16,7 +17,7 @@ msgstr ""
1617
"Report-Msgid-Bugs-To: \n"
1718
"POT-Creation-Date: 2024-08-31 10:59+0000\n"
1819
"PO-Revision-Date: 2021-06-28 01:06+0000\n"
19-
"Last-Translator: Ciarbin <mrciarbin@gmail.com>, 2024\n"
20+
"Last-Translator: Wiktor Matuszewski <wiktor.matuszewski@gmail.com>, 2024\n"
2021
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
2122
"MIME-Version: 1.0\n"
2223
"Content-Type: text/plain; charset=UTF-8\n"
@@ -27,7 +28,7 @@ msgstr ""
2728
"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
2829

2930
msgid "Built-in Functions"
30-
msgstr "Funkcje wbudowane"
31+
msgstr "Wbudowane funkcje"
3132

3233
msgid ""
3334
"The Python interpreter has a number of functions and types built into it "
@@ -345,6 +346,11 @@ msgid ""
345346
" return False\n"
346347
" return True"
347348
msgstr ""
349+
"def all(iterable):\n"
350+
" for element in iterable:\n"
351+
" if not element:\n"
352+
" return False\n"
353+
" return True"
348354

349355
msgid ""
350356
"When awaited, return the next item from the given :term:`asynchronous "
@@ -386,6 +392,11 @@ msgid ""
386392
" return True\n"
387393
" return False"
388394
msgstr ""
395+
"def any(iterable):\n"
396+
" for element in iterable:\n"
397+
" if element:\n"
398+
" return True\n"
399+
" return False"
389400

390401
msgid ""
391402
"As :func:`repr`, return a string containing a printable representation of an "

library/pprint.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# haaritsubaki, 2023
88
# Maciej Olko <[email protected]>, 2024
9+
# Wiktor Matuszewski <[email protected]>, 2024
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2024-08-31 10:59+0000\n"
1617
"PO-Revision-Date: 2021-06-28 01:11+0000\n"
17-
"Last-Translator: Maciej Olko <maciej.olko@gmail.com>, 2024\n"
18+
"Last-Translator: Wiktor Matuszewski <wiktor.matuszewski@gmail.com>, 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"
@@ -411,7 +412,7 @@ msgid "eval"
411412
msgstr ""
412413

413414
msgid "..."
414-
msgstr ""
415+
msgstr "..."
415416

416417
msgid "placeholder"
417418
msgstr ""

library/reprlib.po

Lines changed: 132 additions & 14 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+
# Wiktor Matuszewski <[email protected]>, 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-08-31 10:59+0000\n"
1515
"PO-Revision-Date: 2021-06-28 01:12+0000\n"
16-
"Last-Translator: Transifex Bot <>, 2023\n"
16+
"Last-Translator: Wiktor Matuszewski <[email protected]>, 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"
@@ -23,14 +23,14 @@ msgstr ""
2323
"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && "
2424
"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
2525

26-
msgid ":mod:`reprlib` --- Alternate :func:`repr` implementation"
26+
msgid ":mod:`!reprlib` --- Alternate :func:`repr` implementation"
2727
msgstr ""
2828

2929
msgid "**Source code:** :source:`Lib/reprlib.py`"
3030
msgstr ""
3131

3232
msgid ""
33-
"The :mod:`reprlib` module provides a means for producing object "
33+
"The :mod:`!reprlib` module provides a means for producing object "
3434
"representations with limits on the size of the resulting strings. This is "
3535
"used in the Python debugger and may be useful in other contexts as well."
3636
msgstr ""
@@ -45,6 +45,31 @@ msgid ""
4545
"excessively long."
4646
msgstr ""
4747

48+
msgid ""
49+
"The keyword arguments of the constructor can be used as a shortcut to set "
50+
"the attributes of the :class:`Repr` instance. Which means that the following "
51+
"initialization::"
52+
msgstr ""
53+
54+
msgid "aRepr = reprlib.Repr(maxlevel=3)"
55+
msgstr ""
56+
57+
msgid "Is equivalent to::"
58+
msgstr ""
59+
60+
msgid ""
61+
"aRepr = reprlib.Repr()\n"
62+
"aRepr.maxlevel = 3"
63+
msgstr ""
64+
65+
msgid ""
66+
"See section `Repr Objects`_ for more information about :class:`Repr` "
67+
"attributes."
68+
msgstr ""
69+
70+
msgid "Allow attributes to be set via keyword arguments."
71+
msgstr ""
72+
4873
msgid ""
4974
"This is an instance of :class:`Repr` which is used to provide the :func:`."
5075
"repr` function described below. Changing the attributes of this object will "
@@ -59,14 +84,28 @@ msgstr ""
5984

6085
msgid ""
6186
"In addition to size-limiting tools, the module also provides a decorator for "
62-
"detecting recursive calls to :meth:`__repr__` and substituting a placeholder "
63-
"string instead."
87+
"detecting recursive calls to :meth:`~object.__repr__` and substituting a "
88+
"placeholder string instead."
89+
msgstr ""
90+
91+
msgid ""
92+
"Decorator for :meth:`~object.__repr__` methods to detect recursive calls "
93+
"within the same thread. If a recursive call is made, the *fillvalue* is "
94+
"returned, otherwise, the usual :meth:`!__repr__` call is made. For example:"
6495
msgstr ""
6596

6697
msgid ""
67-
"Decorator for :meth:`__repr__` methods to detect recursive calls within the "
68-
"same thread. If a recursive call is made, the *fillvalue* is returned, "
69-
"otherwise, the usual :meth:`__repr__` call is made. For example:"
98+
">>> from reprlib import recursive_repr\n"
99+
">>> class MyList(list):\n"
100+
"... @recursive_repr()\n"
101+
"... def __repr__(self):\n"
102+
"... return '<' + '|'.join(map(repr, self)) + '>'\n"
103+
"...\n"
104+
">>> m = MyList('abc')\n"
105+
">>> m.append(m)\n"
106+
">>> m.append('x')\n"
107+
">>> print(m)\n"
108+
"<'a'|'b'|'c'|...|'x'>"
70109
msgstr ""
71110

72111
msgid "Repr Objects"
@@ -111,6 +150,67 @@ msgid ""
111150
"a similar manner as :attr:`maxstring`. The default is ``20``."
112151
msgstr ""
113152

153+
msgid ""
154+
"If this attribute is set to ``None`` (the default), the output is formatted "
155+
"with no line breaks or indentation, like the standard :func:`repr`. For "
156+
"example:"
157+
msgstr ""
158+
159+
msgid ""
160+
">>> example = [\n"
161+
"... 1, 'spam', {'a': 2, 'b': 'spam eggs', 'c': {3: 4.5, 6: []}}, 'ham']\n"
162+
">>> import reprlib\n"
163+
">>> aRepr = reprlib.Repr()\n"
164+
">>> print(aRepr.repr(example))\n"
165+
"[1, 'spam', {'a': 2, 'b': 'spam eggs', 'c': {3: 4.5, 6: []}}, 'ham']"
166+
msgstr ""
167+
168+
msgid ""
169+
"If :attr:`~Repr.indent` is set to a string, each recursion level is placed "
170+
"on its own line, indented by that string:"
171+
msgstr ""
172+
173+
msgid ""
174+
">>> aRepr.indent = '-->'\n"
175+
">>> print(aRepr.repr(example))\n"
176+
"[\n"
177+
"-->1,\n"
178+
"-->'spam',\n"
179+
"-->{\n"
180+
"-->-->'a': 2,\n"
181+
"-->-->'b': 'spam eggs',\n"
182+
"-->-->'c': {\n"
183+
"-->-->-->3: 4.5,\n"
184+
"-->-->-->6: [],\n"
185+
"-->-->},\n"
186+
"-->},\n"
187+
"-->'ham',\n"
188+
"]"
189+
msgstr ""
190+
191+
msgid ""
192+
"Setting :attr:`~Repr.indent` to a positive integer value behaves as if it "
193+
"was set to a string with that number of spaces:"
194+
msgstr ""
195+
196+
msgid ""
197+
">>> aRepr.indent = 4\n"
198+
">>> print(aRepr.repr(example))\n"
199+
"[\n"
200+
" 1,\n"
201+
" 'spam',\n"
202+
" {\n"
203+
" 'a': 2,\n"
204+
" 'b': 'spam eggs',\n"
205+
" 'c': {\n"
206+
" 3: 4.5,\n"
207+
" 6: [],\n"
208+
" },\n"
209+
" },\n"
210+
" 'ham',\n"
211+
"]"
212+
msgstr ""
213+
114214
msgid ""
115215
"The equivalent to the built-in :func:`repr` that uses the formatting imposed "
116216
"by the instance."
@@ -139,11 +239,29 @@ msgid ""
139239
"The use of dynamic dispatching by :meth:`Repr.repr1` allows subclasses of :"
140240
"class:`Repr` to add support for additional built-in object types or to "
141241
"modify the handling of types already supported. This example shows how "
142-
"special support for file objects could be added::"
242+
"special support for file objects could be added:"
143243
msgstr ""
144244

145-
msgid "..."
245+
msgid ""
246+
"import reprlib\n"
247+
"import sys\n"
248+
"\n"
249+
"class MyRepr(reprlib.Repr):\n"
250+
"\n"
251+
" def repr_TextIOWrapper(self, obj, level):\n"
252+
" if obj.name in {'<stdin>', '<stdout>', '<stderr>'}:\n"
253+
" return obj.name\n"
254+
" return repr(obj)\n"
255+
"\n"
256+
"aRepr = MyRepr()\n"
257+
"print(aRepr.repr(sys.stdin)) # prints '<stdin>'"
258+
msgstr ""
259+
260+
msgid "<stdin>"
146261
msgstr ""
147262

263+
msgid "..."
264+
msgstr "..."
265+
148266
msgid "placeholder"
149267
msgstr ""

library/stdtypes.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# haaritsubaki, 2023
1010
# gresm, 2024
1111
# Rafael Fontenelle <[email protected]>, 2024
12+
# Wiktor Matuszewski <[email protected]>, 2024
1213
#
1314
#, fuzzy
1415
msgid ""
@@ -17,7 +18,7 @@ msgstr ""
1718
"Report-Msgid-Bugs-To: \n"
1819
"POT-Creation-Date: 2024-08-31 10:59+0000\n"
1920
"PO-Revision-Date: 2021-06-28 01:13+0000\n"
20-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
21+
"Last-Translator: Wiktor Matuszewski <wiktor.matuszewski@gmail.com>, 2024\n"
2122
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
2223
"MIME-Version: 1.0\n"
2324
"Content-Type: text/plain; charset=UTF-8\n"
@@ -28,7 +29,7 @@ msgstr ""
2829
"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
2930

3031
msgid "Built-in Types"
31-
msgstr "Typy wbudowane"
32+
msgstr "Wbudowane typy"
3233

3334
msgid ""
3435
"The following sections describe the standard types that are built into the "
@@ -6673,7 +6674,7 @@ msgid "eval"
66736674
msgstr ""
66746675

66756676
msgid "..."
6676-
msgstr ""
6677+
msgstr "..."
66776678

66786679
msgid "ellipsis literal"
6679-
msgstr ""
6680+
msgstr "Literalny zapis wielokropka"

library/sys.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Krzysztof Abramowicz, 2022
88
# Maciej Olko <[email protected]>, 2023
99
# haaritsubaki, 2023
10+
# Wiktor Matuszewski <[email protected]>, 2024
1011
#
1112
#, fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To: \n"
1617
"POT-Creation-Date: 2024-08-31 10:59+0000\n"
1718
"PO-Revision-Date: 2021-06-28 01:14+0000\n"
18-
"Last-Translator: haaritsubaki, 2023\n"
19+
"Last-Translator: Wiktor Matuszewski <[email protected]>, 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"
@@ -2273,4 +2274,4 @@ msgid "interpreter prompt"
22732274
msgstr ""
22742275

22752276
msgid "..."
2276-
msgstr ""
2277+
msgstr "..."

library/textwrap.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Stefan Ocetkiewicz <[email protected]>, 2024
8+
# Wiktor Matuszewski <[email protected]>, 2024
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2024-08-31 10:59+0000\n"
1516
"PO-Revision-Date: 2021-06-28 01:15+0000\n"
16-
"Last-Translator: Stefan Ocetkiewicz <stefan.ocetkiewicz@gmail.com>, 2024\n"
17+
"Last-Translator: Wiktor Matuszewski <wiktor.matuszewski@gmail.com>, 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"
@@ -333,7 +334,7 @@ msgid ""
333334
msgstr ""
334335

335336
msgid "..."
336-
msgstr ""
337+
msgstr "..."
337338

338339
msgid "placeholder"
339340
msgstr ""

0 commit comments

Comments
 (0)