Skip to content

Commit e9cb044

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
Co-Authored-By: python-doc bot
1 parent de238e6 commit e9cb044

File tree

18 files changed

+394
-254
lines changed

18 files changed

+394
-254
lines changed

README.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ f'''[![build](https://github.com/python/python-docs-pl/actions/workflows/update-
1616
[![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml)
1717
[![core 99.91%](https://img.shields.io/badge/core-99.91%25-0.svg)](https://translations.python.org/#pl)
1818
[![Total Translation of Documentation](https://img.shields.io/badge/total_words-5.47%25-0.svg)](https://translations.python.org/#pl)
19-
[![Total Translation of Documentation](https://img.shields.io/badge/total_strings-12.43%25-0.svg)](https://translations.python.org/#pl)
19+
[![Total Translation of Documentation](https://img.shields.io/badge/total_strings-12.42%25-0.svg)](https://translations.python.org/#pl)
2020
<!-- [[[end]]] -->
2121

2222
*Przeczytaj to w innym języku: [polski](README.md)*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ f'''[![build](https://github.com/python/python-docs-pl/actions/workflows/update-
1616
[![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml)
1717
[![podstawowe artykuły 99.91%](https://img.shields.io/badge/podstawowe_artykuły-99.91%25-0.svg)](https://translations.python.org/#pl)
1818
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_słów-5.47%25-0.svg)](https://translations.python.org/#pl)
19-
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_napisów-12.43%25-0.svg)](https://translations.python.org/#pl)
19+
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_napisów-12.42%25-0.svg)](https://translations.python.org/#pl)
2020
<!-- [[[end]]] -->
2121

2222
*Read this in another language: [English](README.en.md)*

c-api/arg.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.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
14+
"POT-Creation-Date: 2025-12-03 14:17+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

c-api/code.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.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
14+
"POT-Creation-Date: 2025-12-03 14:17+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

deprecations/index.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.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
14+
"POT-Creation-Date: 2025-12-03 14:17+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

deprecations/pending-removal-in-3.13.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.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-15 14:12+0000\n"
14+
"POT-Creation-Date: 2025-12-05 14:15+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

deprecations/pending-removal-in-future.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.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
14+
"POT-Creation-Date: 2025-12-03 14:17+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

library/ast.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.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
14+
"POT-Creation-Date: 2025-12-03 14:17+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

library/asyncio-stream.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.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
14+
"POT-Creation-Date: 2025-12-03 14:17+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

library/stdtypes.po

Lines changed: 118 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-12-01 14:16+0000\n"
14+
"POT-Creation-Date: 2025-12-05 14:15+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -3187,7 +3187,7 @@ msgid ""
31873187
"within f-strings."
31883188
msgstr ""
31893189

3190-
msgid "Added the debugging operator (``=``)"
3190+
msgid "Added the debug specifier (``=``)"
31913191
msgstr ""
31923192

31933193
msgid ""
@@ -3198,137 +3198,175 @@ msgstr ""
31983198
msgid ""
31993199
"An :dfn:`f-string` (formally a :dfn:`formatted string literal`) is a string "
32003200
"literal that is prefixed with ``f`` or ``F``. This type of string literal "
3201-
"allows embedding arbitrary Python expressions within *replacement fields*, "
3202-
"which are delimited by curly brackets (``{}``). These expressions are "
3203-
"evaluated at runtime, similarly to :meth:`str.format`, and are converted "
3204-
"into regular :class:`str` objects. For example:"
3201+
"allows embedding the results of arbitrary Python expressions within "
3202+
"*replacement fields*, which are delimited by curly brackets (``{}``). Each "
3203+
"replacement field must contain an expression, optionally followed by:"
32053204
msgstr ""
32063205

3207-
msgid ""
3208-
">>> who = 'nobody'\n"
3209-
">>> nationality = 'Spanish'\n"
3210-
">>> f'{who.title()} expects the {nationality} Inquisition!'\n"
3211-
"'Nobody expects the Spanish Inquisition!'"
3206+
msgid "a *debug specifier* -- an equal sign (``=``);"
32123207
msgstr ""
32133208

3214-
msgid "It is also possible to use a multi line f-string:"
3209+
msgid "a *conversion specifier* -- ``!s``, ``!r`` or ``!a``; and/or"
32153210
msgstr ""
32163211

3217-
msgid ""
3218-
">>> f'''This is a string\n"
3219-
"... on two lines'''\n"
3220-
"'This is a string\\non two lines'"
3212+
msgid "a *format specifier* prefixed with a colon (``:``)."
32213213
msgstr ""
32223214

32233215
msgid ""
3224-
"A single opening curly bracket, ``'{'``, marks a *replacement field* that "
3225-
"can contain any Python expression:"
3216+
"See the :ref:`Lexical Analysis section on f-strings <f-strings>` for details "
3217+
"on the syntax of these fields."
32263218
msgstr ""
32273219

3228-
msgid ""
3229-
">>> nationality = 'Spanish'\n"
3230-
">>> f'The {nationality} Inquisition!'\n"
3231-
"'The Spanish Inquisition!'"
3220+
msgid "Debug specifier"
32323221
msgstr ""
32333222

3234-
msgid "To include a literal ``{`` or ``}``, use a double bracket:"
3223+
msgid ""
3224+
"If a debug specifier -- an equal sign (``=``) -- appears after the "
3225+
"replacement field expression, the resulting f-string will contain the "
3226+
"expression's source, the equal sign, and the value of the expression. This "
3227+
"is often useful for debugging::"
32353228
msgstr ""
32363229

32373230
msgid ""
3238-
">>> x = 42\n"
3239-
">>> f'{{x}} is {x}'\n"
3240-
"'{x} is 42'"
3231+
">>> number = 14.3\n"
3232+
">>> f'{number=}'\n"
3233+
"'number=14.3'"
32413234
msgstr ""
32423235

32433236
msgid ""
3244-
"Functions can also be used, and :ref:`format specifiers <formatstrings>`:"
3237+
"Whitespace before, inside and after the expression, as well as whitespace "
3238+
"after the equal sign, is significant --- it is retained in the result::"
32453239
msgstr ""
32463240

32473241
msgid ""
3248-
">>> from math import sqrt\n"
3249-
">>> f'√2 \\N{ALMOST EQUAL TO} {sqrt(2):.5f}'\n"
3250-
"'√2 ≈ 1.41421'"
3242+
">>> f'{ number - 4 = }'\n"
3243+
"' number - 4 = 10.3'"
32513244
msgstr ""
32523245

3253-
msgid "Any non-string expression is converted using :func:`str`, by default:"
3246+
msgid "Conversion specifier"
3247+
msgstr ""
3248+
3249+
msgid ""
3250+
"By default, the value of a replacement field expression is converted to a "
3251+
"string using :func:`str`::"
32543252
msgstr ""
32553253

32563254
msgid ""
32573255
">>> from fractions import Fraction\n"
3258-
">>> f'{Fraction(1, 3)}'\n"
3256+
">>> one_third = Fraction(1, 3)\n"
3257+
">>> f'{one_third}'\n"
32593258
"'1/3'"
32603259
msgstr ""
32613260

32623261
msgid ""
3263-
"To use an explicit conversion, use the ``!`` (exclamation mark) operator, "
3264-
"followed by any of the valid formats, which are:"
3262+
"When a debug specifier but no format specifier is used, the default "
3263+
"conversion instead uses :func:`repr`::"
32653264
msgstr ""
32663265

3267-
msgid "Conversion"
3266+
msgid ""
3267+
">>> f'{one_third = }'\n"
3268+
"'one_third = Fraction(1, 3)'"
32683269
msgstr ""
32693270

3270-
msgid "``!a``"
3271-
msgstr "``!a``"
3272-
3273-
msgid ":func:`ascii`"
3274-
msgstr ":func:`ascii`"
3275-
3276-
msgid "``!r``"
3277-
msgstr "``!r``"
3271+
msgid ""
3272+
"The conversion can be specified explicitly using one of these specifiers:"
3273+
msgstr ""
32783274

3279-
msgid ":func:`repr`"
3280-
msgstr ":func:`repr`"
3275+
msgid "``!s`` for :func:`str`"
3276+
msgstr ""
32813277

3282-
msgid "``!s``"
3283-
msgstr "``!s``"
3278+
msgid "``!r`` for :func:`repr`"
3279+
msgstr ""
32843280

3285-
msgid ":func:`str`"
3286-
msgstr ":func:`str`"
3281+
msgid "``!a`` for :func:`ascii`"
3282+
msgstr ""
32873283

32883284
msgid ""
3289-
">>> from fractions import Fraction\n"
3290-
">>> f'{Fraction(1, 3)!s}'\n"
3285+
">>> str(one_third)\n"
32913286
"'1/3'\n"
3292-
">>> f'{Fraction(1, 3)!r}'\n"
3287+
">>> repr(one_third)\n"
32933288
"'Fraction(1, 3)'\n"
3294-
">>> question = '¿Dónde está el Presidente?'\n"
3295-
">>> print(f'{question!a}')\n"
3296-
"'\\xbfD\\xf3nde est\\xe1 el Presidente?'"
3289+
"\n"
3290+
">>> f'{one_third!s} is {one_third!r}'\n"
3291+
"'1/3 is Fraction(1, 3)'\n"
3292+
"\n"
3293+
">>> string = \"¡kočka 😸!\"\n"
3294+
">>> ascii(string)\n"
3295+
"\"'\\\\xa1ko\\\\u010dka \\\\U0001f638!'\"\n"
3296+
"\n"
3297+
">>> f'{string = !a}'\n"
3298+
"\"string = '\\\\xa1ko\\\\u010dka \\\\U0001f638!'\""
3299+
msgstr ""
3300+
3301+
msgid "Format specifier"
32973302
msgstr ""
32983303

32993304
msgid ""
3300-
"While debugging it may be helpful to see both the expression and its value, "
3301-
"by using the equals sign (``=``) after the expression. This preserves spaces "
3302-
"within the brackets, and can be used with a converter. By default, the "
3303-
"debugging operator uses the :func:`repr` (``!r``) conversion. For example:"
3305+
"After the expression has been evaluated, and possibly converted using an "
3306+
"explicit conversion specifier, it is formatted using the :func:`format` "
3307+
"function. If the replacement field includes a *format specifier* introduced "
3308+
"by a colon (``:``), the specifier is passed to :func:`!format` as the second "
3309+
"argument. The result of :func:`!format` is then used as the final value for "
3310+
"the replacement field. For example::"
33043311
msgstr ""
33053312

33063313
msgid ""
33073314
">>> from fractions import Fraction\n"
3308-
">>> calculation = Fraction(1, 3)\n"
3309-
">>> f'{calculation=}'\n"
3310-
"'calculation=Fraction(1, 3)'\n"
3311-
">>> f'{calculation = }'\n"
3312-
"'calculation = Fraction(1, 3)'\n"
3313-
">>> f'{calculation = !s}'\n"
3314-
"'calculation = 1/3'"
3315+
">>> one_third = Fraction(1, 3)\n"
3316+
">>> f'{one_third:.6f}'\n"
3317+
"'0.333333'\n"
3318+
">>> f'{one_third:_^+10}'\n"
3319+
"'___+1/3___'\n"
3320+
">>> >>> f'{one_third!r:_^20}'\n"
3321+
"'___Fraction(1, 3)___'\n"
3322+
">>> f'{one_third = :~>10}~'\n"
3323+
"'one_third = ~~~~~~~1/3~'"
3324+
msgstr ""
3325+
3326+
msgid "Template String Literals (t-strings)"
33153327
msgstr ""
33163328

33173329
msgid ""
3318-
"Once the output has been evaluated, it can be formatted using a :ref:`format "
3319-
"specifier <formatstrings>` following a colon (``':'``). After the expression "
3320-
"has been evaluated, and possibly converted to a string, the :meth:`!"
3321-
"__format__` method of the result is called with the format specifier, or the "
3322-
"empty string if no format specifier is given. The formatted result is then "
3323-
"used as the final value for the replacement field. For example:"
3330+
"An :dfn:`t-string` (formally a :dfn:`template string literal`) is a string "
3331+
"literal that is prefixed with ``t`` or ``T``."
33243332
msgstr ""
33253333

33263334
msgid ""
3327-
">>> from fractions import Fraction\n"
3328-
">>> f'{Fraction(1, 7):.6f}'\n"
3329-
"'0.142857'\n"
3330-
">>> f'{Fraction(1, 7):_^+10}'\n"
3331-
"'___+1/7___'"
3335+
"These strings follow the same syntax and evaluation rules as :ref:`formatted "
3336+
"string literals <stdtypes-fstrings>`, with for the following differences:"
3337+
msgstr ""
3338+
3339+
msgid ""
3340+
"Rather than evaluating to a ``str`` object, template string literals "
3341+
"evaluate to a :class:`string.templatelib.Template` object."
3342+
msgstr ""
3343+
3344+
msgid ""
3345+
"The :func:`format` protocol is not used. Instead, the format specifier and "
3346+
"conversions (if any) are passed to a new :class:`~string.templatelib."
3347+
"Interpolation` object that is created for each evaluated expression. It is "
3348+
"up to code that processes the resulting :class:`~string.templatelib."
3349+
"Template` object to decide how to handle format specifiers and conversions."
3350+
msgstr ""
3351+
3352+
msgid ""
3353+
"Format specifiers containing nested replacement fields are evaluated "
3354+
"eagerly, prior to being passed to the :class:`~string.templatelib."
3355+
"Interpolation` object. For instance, an interpolation of the form ``{amount:."
3356+
"{precision}f}`` will evaluate the inner expression ``{precision}`` to "
3357+
"determine the value of the ``format_spec`` attribute. If ``precision`` were "
3358+
"to be ``2``, the resulting format specifier would be ``'.2f'``."
3359+
msgstr ""
3360+
3361+
msgid ""
3362+
"When the equals sign ``'='`` is provided in an interpolation expression, the "
3363+
"text of the expression is appended to the literal string that precedes the "
3364+
"relevant interpolation. This includes the equals sign and any surrounding "
3365+
"whitespace. The :class:`!Interpolation` instance for the expression will be "
3366+
"created as normal, except that :attr:`~string.templatelib.Interpolation."
3367+
"conversion` will be set to '``r``' (:func:`repr`) by default. If an explicit "
3368+
"conversion or format specifier are provided, this will override the default "
3369+
"behaviour."
33323370
msgstr ""
33333371

33343372
msgid "``printf``-style String Formatting"
@@ -3468,6 +3506,9 @@ msgstr ""
34683506
msgid "The conversion types are:"
34693507
msgstr ""
34703508

3509+
msgid "Conversion"
3510+
msgstr ""
3511+
34713512
msgid "``'d'``"
34723513
msgstr "``'d'``"
34733514

0 commit comments

Comments
 (0)