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

Skip to content

Commit 7dbbf36

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent a223ca0 commit 7dbbf36

3 files changed

Lines changed: 37 additions & 3 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-
![55.65% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-55.65%25-0.svg)
18+
![55.83% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-55.83%25-0.svg)
1919
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-3.16%25-0.svg)
2020
![23 tłumaczy](https://img.shields.io/badge/tłumaczy-23-0.svg)
2121
<!-- [[[end]]] -->

tutorial/controlflow.po

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,23 @@ msgid ""
662662
" case _:\n"
663663
" print(\"Not a point\")"
664664
msgstr ""
665+
"class Point:\n"
666+
" def __init__(self, x, y):\n"
667+
" self.x = x\n"
668+
" self.y = y\n"
669+
"\n"
670+
"def where_is(point):\n"
671+
" match point:\n"
672+
" case Point(x=0, y=0):\n"
673+
" print(\"Początek\")\n"
674+
" case Point(x=0, y=y):\n"
675+
" print(f\"Y={y}\")\n"
676+
" case Point(x=x, y=0):\n"
677+
" print(f\"X={x}\")\n"
678+
" case Point():\n"
679+
" print(\"Gdzieś indziej\")\n"
680+
" case _:\n"
681+
" print(\"Nie punkt\")"
665682

666683
msgid ""
667684
"You can use positional parameters with some builtin classes that provide an "
@@ -729,6 +746,23 @@ msgid ""
729746
" case _:\n"
730747
" print(\"Something else\")"
731748
msgstr ""
749+
"class Point:\n"
750+
" __match_args__ = ('x', 'y')\n"
751+
" def __init__(self, x, y):\n"
752+
" self.x = x\n"
753+
" self.y = y\n"
754+
"\n"
755+
"match points:\n"
756+
" case []:\n"
757+
" print(\"Brak punktów\")\n"
758+
" case [Point(0, 0)]:\n"
759+
" print(\"Początek\")\n"
760+
" case [Point(x, y)]:\n"
761+
" print(f\"Pojedynczy punkt {x}, {y}\")\n"
762+
" case [Point(0, y1), Point(0, y2)]:\n"
763+
" print(f\"Dwa na osi Y na {y1}, {y2}\")\n"
764+
" case _:\n"
765+
" print(\"Coś innego\")"
732766

733767
msgid ""
734768
"We can add an ``if`` clause to a pattern, known as a \"guard\". If the "

whatsnew/3.10.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,15 +685,15 @@ msgstr ""
685685
"# punkt to dwukrotka (x, y)\n"
686686
"match point:\n"
687687
" case (0, 0):\n"
688-
" print(\"Origin\")\n"
688+
" print(\"Początek\")\n"
689689
" case (0, y):\n"
690690
" print(f\"Y={y}\")\n"
691691
" case (x, 0):\n"
692692
" print(f\"X={x}\")\n"
693693
" case (x, y):\n"
694694
" print(f\"X={x}, Y={y}\")\n"
695695
" case _:\n"
696-
" raise ValueError(\"Not a point\")"
696+
" raise ValueError(\"Nie punkt\")"
697697

698698
msgid ""
699699
"The first pattern has two literals, ``(0, 0)``, and may be thought of as an "

0 commit comments

Comments
 (0)