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

Skip to content

Commit 284bb89

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 9ecd201 commit 284bb89

4 files changed

Lines changed: 99 additions & 4 deletions

File tree

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

tutorial/controlflow.po

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,23 @@ msgid ""
346346
"8 equals 2 * 4\n"
347347
"9 equals 3 * 3"
348348
msgstr ""
349+
">>> for n in range(2, 10):\n"
350+
"... for x in range(2, n):\n"
351+
"... if n % x == 0:\n"
352+
"... print(n, 'równa się', x, '*', n//x)\n"
353+
"... break\n"
354+
"... else:\n"
355+
"... # pętla przeszła całość nie znajdując dzielnika\n"
356+
"... print(n, 'jest liczbą pierwszą')\n"
357+
"...\n"
358+
"2 jest liczbą pierwszą\n"
359+
"3 jest liczbą pierwszą\n"
360+
"4 równa się 2 * 2\n"
361+
"5 jest liczbą pierwszą\n"
362+
"6 równa się 2 * 3\n"
363+
"7 jest liczbą pierwszą\n"
364+
"8 równa się 2 * 4\n"
365+
"9 równa się 3 * 3"
349366

350367
msgid ""
351368
"(Yes, this is the correct code. Look closely: the ``else`` clause belongs "
@@ -392,6 +409,20 @@ msgid ""
392409
"Found an even number 8\n"
393410
"Found an odd number 9"
394411
msgstr ""
412+
">>> for num in range(2, 10):\n"
413+
"... if num % 2 == 0:\n"
414+
"... print(\"Znaleziono liczbę parzystą\", num)\n"
415+
"... continue\n"
416+
"... print(\"Znaleziono liczbę nieparzystą\", num)\n"
417+
"...\n"
418+
"Znaleziono liczbę parzystą 2\n"
419+
"Znaleziono liczbę nieparzystą 3\n"
420+
"Znaleziono liczbę parzystą 4\n"
421+
"Znaleziono liczbę nieparzystą 5\n"
422+
"Znaleziono liczbę parzystą 6\n"
423+
"Znaleziono liczbę nieparzystą 7\n"
424+
"Znaleziono liczbę parzystą 8\n"
425+
"Znaleziono liczbę nieparzystą 9"
395426

396427
msgid ":keyword:`!pass` Statements"
397428
msgstr "Instrukcje :keyword:`!pass`"
@@ -408,6 +439,9 @@ msgid ""
408439
"... pass # Busy-wait for keyboard interrupt (Ctrl+C)\n"
409440
"..."
410441
msgstr ""
442+
">>> while True:\n"
443+
"... pass # Aktywne oczekiwanie na przerwanie z klawiatury (Ctrl+C)\n"
444+
"..."
411445

412446
msgid "This is commonly used for creating minimal classes::"
413447
msgstr "Często jej się używa do tworzenia minimalnych klas::"
@@ -417,6 +451,9 @@ msgid ""
417451
"... pass\n"
418452
"..."
419453
msgstr ""
454+
">>> class MyEmptyClass:\n"
455+
"... pass\n"
456+
"..."
420457

421458
msgid ""
422459
"Another place :keyword:`pass` can be used is as a place-holder for a "
@@ -434,6 +471,9 @@ msgid ""
434471
"... pass # Remember to implement this!\n"
435472
"..."
436473
msgstr ""
474+
">>> def initlog(*args):\n"
475+
"... pass # Pamiętaj, aby to zaimplementować!\n"
476+
"..."
437477

438478
msgid ":keyword:`!match` Statements"
439479
msgstr "Instrukcje :keyword:`!match`"
@@ -473,6 +513,16 @@ msgid ""
473513
" case _:\n"
474514
" return \"Something's wrong with the internet\""
475515
msgstr ""
516+
"def http_error(status):\n"
517+
" match status:\n"
518+
" case 400:\n"
519+
" return \"Niewłaściwe żądanie\"\n"
520+
" case 404:\n"
521+
" return \"Nie znaleziono\"\n"
522+
" case 418:\n"
523+
" return \"Jestem czajniczkiem\"\n"
524+
" case _:\n"
525+
" return \"Coś jest nie tak z internetem\""
476526

477527
msgid ""
478528
"Note the last block: the \"variable name\" ``_`` acts as a *wildcard* and "
@@ -490,6 +540,8 @@ msgid ""
490540
"case 401 | 403 | 404:\n"
491541
" return \"Not allowed\""
492542
msgstr ""
543+
"case 401 | 403 | 404:\n"
544+
" return \"Niedozwolone\""
493545

494546
msgid ""
495547
"Patterns can look like unpacking assignments, and can be used to bind "

tutorial/stdlib.po

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ msgid ""
7777
">>> help(os)\n"
7878
"<returns an extensive manual page created from the module's docstrings>"
7979
msgstr ""
80+
">>> import os\n"
81+
">>> dir(os)\n"
82+
"<zwraca listę wszystkich funkcji modułu>\n"
83+
">>> help(os)\n"
84+
"<zwraca pełną instrukcję utworzoną z dokumentacji modułu>"
8085

8186
msgid ""
8287
"For daily file and directory management tasks, the :mod:`shutil` module "
@@ -92,6 +97,11 @@ msgid ""
9297
">>> shutil.move('/build/executables', 'installdir')\n"
9398
"'installdir'"
9499
msgstr ""
100+
">>> import shutil\n"
101+
">>> shutil.copyfile('data.db', 'archive.db')\n"
102+
"'archive.db'\n"
103+
">>> shutil.move('/build/executables', 'installdir')\n"
104+
"'installdir'"
95105

96106
msgid "File Wildcards"
97107
msgstr "Symbole wieloznaczne plików"
@@ -108,6 +118,9 @@ msgid ""
108118
">>> glob.glob('*.py')\n"
109119
"['primes.py', 'random.py', 'quote.py']"
110120
msgstr ""
121+
">>> import glob\n"
122+
">>> glob.glob('*.py')\n"
123+
"['primes.py', 'random.py', 'quote.py']"
111124

112125
msgid "Command Line Arguments"
113126
msgstr "Argumenty linii polecenia"
@@ -126,6 +139,9 @@ msgid ""
126139
"import sys\n"
127140
"print(sys.argv)"
128141
msgstr ""
142+
"# Plik demo.py\n"
143+
"import sys\n"
144+
"print(sys.argv)"
129145

130146
msgid ""
131147
"Here is the output from running ``python demo.py one two three`` at the "
@@ -134,7 +150,7 @@ msgstr ""
134150
"Oto wynik uruchomienia ``python demo.py one two three`` w wierszu poleceń::"
135151

136152
msgid "['demo.py', 'one', 'two', 'three']"
137-
msgstr ""
153+
msgstr "['demo.py', 'one', 'two', 'three']"
138154

139155
msgid ""
140156
"The :mod:`argparse` module provides a more sophisticated mechanism to "
@@ -156,6 +172,15 @@ msgid ""
156172
"args = parser.parse_args()\n"
157173
"print(args)"
158174
msgstr ""
175+
"import argparse\n"
176+
"\n"
177+
"parser = argparse.ArgumentParser(\n"
178+
" prog='top',\n"
179+
" description='Wypisz początkowe linie każdego z plików')\n"
180+
"parser.add_argument('filenames', nargs='+')\n"
181+
"parser.add_argument('-l', '--lines', type=int, default=10)\n"
182+
"args = parser.parse_args()\n"
183+
"print(args)"
159184

160185
msgid ""
161186
"When run at the command line with ``python top.py --lines=5 alpha.txt beta."
@@ -183,6 +208,9 @@ msgid ""
183208
">>> sys.stderr.write('Warning, log file not found starting a new one\\n')\n"
184209
"Warning, log file not found starting a new one"
185210
msgstr ""
211+
">>> sys.stderr.write('Ostrzeżenie, nie odnaleziono pliku rejestru, tworzę "
212+
"nowy plik\\n')\n"
213+
"Ostrzeżenie, nie odnaleziono pliku rejestru, tworzę nowy plik"
186214

187215
msgid "The most direct way to terminate a script is to use ``sys.exit()``."
188216
msgstr ""
@@ -221,6 +249,8 @@ msgid ""
221249
">>> 'tea for too'.replace('too', 'two')\n"
222250
"'tea for two'"
223251
msgstr ""
252+
">>> 'herbata dla dwa'.replace('dwa', 'dwojga')\n"
253+
"'herbata dla dwojga'"
224254

225255
msgid "Mathematics"
226256
msgstr "Funkcje matematyczne"

whatsnew/3.10.po

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Krzysztof Abramowicz, 2022
88
# Maciej Olko <[email protected]>, 2023
99
# Rafael Fontenelle <[email protected]>, 2024
10+
# Marysia Olko, 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-29 13:04+0000\n"
18-
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
19+
"Last-Translator: Marysia Olko, 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"
@@ -602,6 +603,16 @@ msgid ""
602603
" case _:\n"
603604
" return \"Something's wrong with the internet\""
604605
msgstr ""
606+
"def http_error(status):\n"
607+
" match status:\n"
608+
" case 400:\n"
609+
" return \"Niewłaściwe żądanie\"\n"
610+
" case 404:\n"
611+
" return \"Nie znaleziono\"\n"
612+
" case 418:\n"
613+
" return \"Jestem czajniczkiem\"\n"
614+
" case _:\n"
615+
" return \"Coś jest nie tak z internetem\""
605616

606617
msgid ""
607618
"If the above function is passed a ``status`` of 418, \"I'm a teapot\" is "
@@ -620,6 +631,8 @@ msgid ""
620631
"case 401 | 403 | 404:\n"
621632
" return \"Not allowed\""
622633
msgstr ""
634+
"case 401 | 403 | 404:\n"
635+
" return \"Niedozwolone\""
623636

624637
msgid "Behavior without the wildcard"
625638
msgstr ""

0 commit comments

Comments
 (0)