Skip to content

Commit cab8946

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent e9c9cd5 commit cab8946

File tree

6 files changed

+191
-18
lines changed

6 files changed

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

library/pyclbr.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-10-11 14:48+0000\n"
14+
"POT-Creation-Date: 2024-10-25 14:54+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:33+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -108,7 +108,7 @@ msgid ""
108108
msgstr ""
109109

110110
msgid "Class Objects"
111-
msgstr ""
111+
msgstr "Obiekty klas"
112112

113113
msgid ""
114114
"Class :class:`!Class` instances describe classes defined by class "

tutorial/classes.po

Lines changed: 80 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-10-11 14:48+0000\n"
14+
"POT-Creation-Date: 2024-10-25 14:54+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:34+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -394,6 +394,28 @@ msgid ""
394394
"scope_test()\n"
395395
"print(\"In global scope:\", spam)"
396396
msgstr ""
397+
"def scope_test():\n"
398+
" def do_local():\n"
399+
" spam = \"lokalna konserwa\"\n"
400+
"\n"
401+
" def do_nonlocal():\n"
402+
" nonlocal spam\n"
403+
" spam = \"nielokalna konserwa\"\n"
404+
"\n"
405+
" def do_global():\n"
406+
" global spam\n"
407+
" spam = \"globalna konserwa\"\n"
408+
"\n"
409+
" spam = \"testowa konserwa\"\n"
410+
" do_local()\n"
411+
" print(\"Po przypisaniu lokalnym:\", spam)\n"
412+
" do_nonlocal()\n"
413+
" print(\"Po przypisaniu nielokalnym:\", spam)\n"
414+
" do_global()\n"
415+
" print(\"Po przypisaniu globalnym:\", spam)\n"
416+
"\n"
417+
"scope_test()\n"
418+
"print(\"W globalnym zakresie:\", spam)"
397419

398420
msgid "The output of the example code is:"
399421
msgstr "Wyjście przykładowego kodu to:"
@@ -404,6 +426,10 @@ msgid ""
404426
"After global assignment: nonlocal spam\n"
405427
"In global scope: global spam"
406428
msgstr ""
429+
"Po przypisaniu lokalnym: testowa konserwa\n"
430+
"Po przypisaniu nielokalnym: nielokalna konserwa\n"
431+
"Po przypisaniu globalnym: nielokalna konserwa\n"
432+
"W globalnym zakresie: globalna konserwa"
407433

408434
msgid ""
409435
"Note how the *local* assignment (which is default) didn't change "
@@ -447,6 +473,12 @@ msgid ""
447473
" .\n"
448474
" <statement-N>"
449475
msgstr ""
476+
"class ClassName:\n"
477+
" <instrukcja-1>\n"
478+
" .\n"
479+
" .\n"
480+
" .\n"
481+
" <instrukcja-N>"
450482

451483
msgid ""
452484
"Class definitions, like function definitions (:keyword:`def` statements) "
@@ -501,19 +533,26 @@ msgstr ""
501533
"(:class:`!ClassName` w przykładzie)."
502534

503535
msgid "Class Objects"
504-
msgstr ""
536+
msgstr "Obiekty klas"
505537

506538
msgid ""
507539
"Class objects support two kinds of operations: attribute references and "
508540
"instantiation."
509541
msgstr ""
542+
"Obiekty klas obsługują dwa rodzaje operacji: odniesienia do atrybutów i "
543+
"tworzenie instancji."
510544

511545
msgid ""
512546
"*Attribute references* use the standard syntax used for all attribute "
513547
"references in Python: ``obj.name``. Valid attribute names are all the names "
514548
"that were in the class's namespace when the class object was created. So, "
515549
"if the class definition looked like this::"
516550
msgstr ""
551+
"*Odniesienia do atrybutów* używają standardowej składni używanej dla "
552+
"wszystkich odniesień do atrybutów w Pythonie: ``obj.name``. Prawidłowe "
553+
"nazwy atrybutów to wszystkie nazwy, które znajdowały się w przestrzeni nazw "
554+
"klasy, gdy obiekt klasy został utworzony. Tak więc, jeśli definicja klasy "
555+
"wyglądała tak::"
517556

518557
msgid ""
519558
"class MyClass:\n"
@@ -523,6 +562,12 @@ msgid ""
523562
" def f(self):\n"
524563
" return 'hello world'"
525564
msgstr ""
565+
"class MyClass:\n"
566+
" \"\"\"Prosta przykładowa klasa\"\"\"\n"
567+
" i = 12345\n"
568+
"\n"
569+
" def f(self):\n"
570+
" return 'witaj świecie'"
526571

527572
msgid ""
528573
"then ``MyClass.i`` and ``MyClass.f`` are valid attribute references, "
@@ -531,45 +576,69 @@ msgid ""
531576
"assignment. :attr:`~type.__doc__` is also a valid attribute, returning the "
532577
"docstring belonging to the class: ``\"A simple example class\"``."
533578
msgstr ""
579+
"wtedy ``MyClass.i`` i ``MyClass.f`` są poprawnymi odniesieniami do "
580+
"atrybutów, zwracającymi odpowiednio liczbę całkowitą i funkcję. Do atrybutów "
581+
"klasowych można również przypisywać wartości, więc można zmienić wartość "
582+
"``MyClass.i`` przez przypisanie. :attr:`~type.__doc__` jest również "
583+
"poprawnym atrybutem, zwracającym docstring należący do klasy: ``\"Prosta "
584+
"przykładowa klasa\"``."
534585

535586
msgid ""
536587
"Class *instantiation* uses function notation. Just pretend that the class "
537588
"object is a parameterless function that returns a new instance of the class. "
538589
"For example (assuming the above class)::"
539590
msgstr ""
591+
"*Instancjonowanie* klasy używa notacji funkcji. Wystarczy udawać, że obiekt "
592+
"klasy jest bezparametrową funkcją, która zwraca nową instancję klasy. Na "
593+
"przykład (zakładając powyższą klasę)::"
540594

541595
msgid "x = MyClass()"
542-
msgstr ""
596+
msgstr "x = MyClass()"
543597

544598
msgid ""
545599
"creates a new *instance* of the class and assigns this object to the local "
546600
"variable ``x``."
547601
msgstr ""
602+
"tworzy nową *instancję* klasy i przypisuje ten obiekt do zmiennej lokalnej "
603+
"``x``."
548604

549605
msgid ""
550606
"The instantiation operation (\"calling\" a class object) creates an empty "
551607
"object. Many classes like to create objects with instances customized to a "
552608
"specific initial state. Therefore a class may define a special method named :"
553609
"meth:`~object.__init__`, like this::"
554610
msgstr ""
611+
"Operacja instancjonowania („wywołanie” obiektu klasy) tworzy pusty obiekt. "
612+
"Wiele klas lubi tworzyć obiekty z instancjami dostosowanymi do określonego "
613+
"stanu początkowego. Dlatego klasa może zdefiniować specjalną metodę o "
614+
"nazwie :meth:`~object.__init__`, taką jak ta::"
555615

556616
msgid ""
557617
"def __init__(self):\n"
558618
" self.data = []"
559619
msgstr ""
620+
"def __init__(self):\n"
621+
" self.data = []"
560622

561623
msgid ""
562624
"When a class defines an :meth:`~object.__init__` method, class instantiation "
563625
"automatically invokes :meth:`!__init__` for the newly created class "
564626
"instance. So in this example, a new, initialized instance can be obtained "
565627
"by::"
566628
msgstr ""
629+
"Gdy klasa definiuje metodę :meth:`~object.__init__`, instancjonowanie klasy "
630+
"automatycznie wywołuje :meth:`!__init__` dla nowo utworzonej instancji "
631+
"klasy. Tak więc w tym przykładzie nową, zainicjalizowaną instancję można "
632+
"uzyskać przez::"
567633

568634
msgid ""
569635
"Of course, the :meth:`~object.__init__` method may have arguments for "
570636
"greater flexibility. In that case, arguments given to the class "
571637
"instantiation operator are passed on to :meth:`!__init__`. For example, ::"
572638
msgstr ""
639+
"Oczywiście metoda :meth:`~object.__init__` może mieć argumenty dla większej "
640+
"elastyczności. W takim przypadku argumenty podane operatorowi "
641+
"instancjonowania klasy są przekazywane do :meth:`!__init__`. Na przykład ::"
573642

574643
msgid ""
575644
">>> class Complex:\n"
@@ -581,6 +650,14 @@ msgid ""
581650
">>> x.r, x.i\n"
582651
"(3.0, -4.5)"
583652
msgstr ""
653+
">>> class Complex:\n"
654+
"... def __init__(self, realpart, imagpart):\n"
655+
"... self.r = realpart\n"
656+
"... self.i = imagpart\n"
657+
"...\n"
658+
">>> x = Complex(3.0, -4.5)\n"
659+
">>> x.r, x.i\n"
660+
"(3.0, -4.5)"
584661

585662
msgid "Instance Objects"
586663
msgstr ""

tutorial/controlflow.po

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-10-18 14:51+0000\n"
14+
"POT-Creation-Date: 2024-10-25 14:54+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:34+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -419,6 +419,10 @@ msgid ""
419419
"ending the loop early, such as a :keyword:`return` or a raised exception, "
420420
"will also skip execution of the :keyword:`else` clause."
421421
msgstr ""
422+
"W obu rodzajach pętli, :keyword:`!else` klauzula **nie** jest wykonywana, "
423+
"jeśli pętla została zakończona przez :keyword:`break`. Oczywiście, inne "
424+
"sposoby wcześniejszego zakończenia pętli, takie jak :keyword:`return` lub "
425+
"rzucenie wyjątku, również pominą wykonanie klauzuli :keyword:`else`."
422426

423427
msgid ""
424428
"This is exemplified in the following :keyword:`!for` loop, which searches "
@@ -949,6 +953,17 @@ msgid ""
949953
">>> fib(2000)\n"
950954
"0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597"
951955
msgstr ""
956+
">>> def fib(n): # wypisz ciąg Fibonacciego mniejszy niż n\n"
957+
"... \"\"\"Wypisz elementy ciągu Fibonacciego mniejsze niż n.\"\"\"\n"
958+
"... a, b = 0, 1\n"
959+
"... while a < n:\n"
960+
"... print(a, end=' ')\n"
961+
"... a, b = b, a+b\n"
962+
"... print()\n"
963+
"...\n"
964+
">>> # Teraz wywołaj funkcję, którą właśnie zdefiniowaliśmy:\n"
965+
">>> fib(2000)\n"
966+
"0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597"
952967

953968
msgid ""
954969
"The keyword :keyword:`def` introduces a function *definition*. It must be "
@@ -1667,6 +1682,8 @@ msgid ""
16671682
"The third function ``kwd_only_arg`` only allows keyword arguments as "
16681683
"indicated by a ``*`` in the function definition::"
16691684
msgstr ""
1685+
"Trzecia funkcja ``kwd_only_arg`` zezwala tylko na argumenty nazwane jak "
1686+
"wskazuje ``*`` w definicji funkcji::"
16701687

16711688
msgid ""
16721689
">>> kwd_only_arg(3)\n"

tutorial/errors.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-10-11 14:48+0000\n"
14+
"POT-Creation-Date: 2024-10-25 14:54+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:34+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -359,7 +359,7 @@ msgid ""
359359
"y = eggs"
360360
msgstr ""
361361
">>> try:\n"
362-
"... raise Exception('szynka', 'jajka')\n"
362+
"... raise Exception('konserwa', 'jajka')\n"
363363
"... except Exception as inst:\n"
364364
"... print(type(inst)) # typ wyjątku\n"
365365
"... print(inst.args) # argumenty przechowywane w .args\n"
@@ -372,9 +372,9 @@ msgstr ""
372372
"... print('y =', y)\n"
373373
"...\n"
374374
"<class 'Exception'>\n"
375-
"('szynka', 'jajka')\n"
376-
"('szynka', 'jajka')\n"
377-
"x = szynka\n"
375+
"('konserwa', 'jajka')\n"
376+
"('konserwa', 'jajka')\n"
377+
"x = konserwa\n"
378378
"y = jajka"
379379

380380
msgid ""

0 commit comments

Comments
 (0)