Skip to content

Commit 47479d6

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 7d09c87 commit 47479d6

File tree

3 files changed

+52
-3
lines changed

3 files changed

+52
-3
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-
![62.75% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-62.75%25-0.svg)
19-
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-3.46%25-0.svg)
18+
![63.24% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-63.24%25-0.svg)
19+
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-3.48%25-0.svg)
2020
![23 tłumaczy](https://img.shields.io/badge/tłumaczy-23-0.svg)
2121
<!-- [[[end]]] -->
2222

c-api/tuple.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.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-09-13 14:16+0000\n"
14+
"POT-Creation-Date: 2024-10-04 14:17+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:50+0000\n"
1616
"Last-Translator: haaritsubaki, 2023\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

tutorial/inputoutput.po

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,26 @@ msgid ""
186186
">>> repr((x, y, ('spam', 'eggs')))\n"
187187
"\"(32.5, 40000, ('spam', 'eggs'))\""
188188
msgstr ""
189+
">>> s = 'Witaj, świecie.'\n"
190+
">>> str(s)\n"
191+
"'Witaj, świecie.'\n"
192+
">>> repr(s)\n"
193+
"\"'Witaj, świecie.'\"\n"
194+
">>> str(1/7)\n"
195+
"'0.14285714285714285'\n"
196+
">>> x = 10 * 3.25\n"
197+
">>> y = 200 * 200\n"
198+
">>> s = 'Wartość x to ' + repr(x) + ', i y to ' + repr(y) + '...'\n"
199+
">>> print(s)\n"
200+
"Wartość x to 32.5, i y to 40000...\n"
201+
">>> # repr() ciągu znaków dodaje cudzysłów i backslashe:\n"
202+
">>> hello = 'witaj, świecie\\n'\n"
203+
">>> hellos = repr(hello)\n"
204+
">>> print(hellos)\n"
205+
"'witaj, świecie\\n'\n"
206+
">>> # argumentem repr() może być dowolny obiekt Pythona:\n"
207+
">>> repr((x, y, ('szynka', 'jajka')))\n"
208+
"\"(32.5, 40000, ('szynka', 'jajka'))\""
189209

190210
msgid ""
191211
"The :mod:`string` module contains a :class:`~string.Template` class that "
@@ -226,6 +246,9 @@ msgid ""
226246
">>> print(f'The value of pi is approximately {math.pi:.3f}.')\n"
227247
"The value of pi is approximately 3.142."
228248
msgstr ""
249+
">>> import math\n"
250+
">>> print(f'Wartość pi wynosi w przybliżeniu {math.pi:.3f}.')\n"
251+
"Wartość pi wynosi w przybliżeniu 3,142."
229252

230253
msgid ""
231254
"Passing an integer after the ``':'`` will cause that field to be a minimum "
@@ -244,6 +267,13 @@ msgid ""
244267
"Jack ==> 4098\n"
245268
"Dcab ==> 7678"
246269
msgstr ""
270+
">>> table = {'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 7678}\n"
271+
">>> for name, phone in table.items():\n"
272+
"... print(f'{name:10} ==> {phone:10d}')\n"
273+
"...\n"
274+
"Sjoerd ==> 4127\n"
275+
"Jack ==> 4098\n"
276+
"Dcab ==> 7678"
247277

248278
msgid ""
249279
"Other modifiers can be used to convert the value before it is formatted. ``'!"
@@ -261,6 +291,11 @@ msgid ""
261291
">>> print(f'My hovercraft is full of {animals!r}.')\n"
262292
"My hovercraft is full of 'eels'."
263293
msgstr ""
294+
">>> animals = 'węgorze'\n"
295+
">>> print(f'Na moim poduszkowcu są {animals}.')\n"
296+
"Na moim poduszkowcu są węgorze.\n"
297+
">>> print(f'Na moim poduszkowcu są {animals!r}.')\n"
298+
"Na moim poduszkowcu są 'węgorze'."
264299

265300
msgid ""
266301
"The ``=`` specifier can be used to expand an expression to the text of the "
@@ -353,6 +388,10 @@ msgid ""
353388
"... 'Dcab: {0[Dcab]:d}'.format(table))\n"
354389
"Jack: 4098; Sjoerd: 4127; Dcab: 8637678"
355390
msgstr ""
391+
">>> table = {'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 8637678}\n"
392+
">>> print('Jack: {0[Jack]:d}; Sjoerd: {0[Sjoerd]:d}; '\n"
393+
"... 'Dcab: {0[Dcab]:d}'.format(table))\n"
394+
"Jack: 4098; Sjoerd: 4127; Dcab: 8637678"
356395

357396
msgid ""
358397
"This could also be done by passing the ``table`` dictionary as keyword "
@@ -367,6 +406,10 @@ msgid ""
367406
"format(**table))\n"
368407
"Jack: 4098; Sjoerd: 4127; Dcab: 8637678"
369408
msgstr ""
409+
">>> table = {'Sjoerd': 4127, 'Jack': 4098, 'Dcab': 8637678}\n"
410+
">>> print('Jack: {Jack:d}; Sjoerd: {Sjoerd:d}; Dcab: {Dcab:d}'."
411+
"format(**table))\n"
412+
"Jack: 4098; Sjoerd: 4127; Dcab: 8637678"
370413

371414
msgid ""
372415
"This is particularly useful in combination with the built-in function :func:"
@@ -479,6 +522,12 @@ msgid ""
479522
">>> '3.14159265359'.zfill(5)\n"
480523
"'3.14159265359'"
481524
msgstr ""
525+
">>> '12'.zfill(5)\n"
526+
"'00012'\n"
527+
">>> '-3.14'.zfill(7)\n"
528+
"'-003.14'\n"
529+
">>> '3.14159265359'.zfill(5)\n"
530+
"'3.14159265359'"
482531

483532
msgid "Old string formatting"
484533
msgstr "Stare formatowanie ciągów znaków"

0 commit comments

Comments
 (0)