Skip to content

Commit a3efba6

Browse files
committed
Update translation from Transifex
1 parent 3f0a5b2 commit a3efba6

2 files changed

Lines changed: 19 additions & 17 deletions

File tree

‎library/dataclasses.po‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.9\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2021-04-27 06:12+0000\n"
14+
"POT-Creation-Date: 2021-05-07 06:17+0000\n"
1515
"PO-Revision-Date: 2018-06-29 21:06+0000\n"
1616
"Last-Translator: m_aciek <maciej.olko@gmail.com>, 2020\n"
1717
"Language-Team: Polish (https://www.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -38,10 +38,10 @@ msgstr ""
3838

3939
msgid ""
4040
"The member variables to use in these generated methods are defined using :"
41-
"pep:`526` type annotations. For example this code::"
41+
"pep:`526` type annotations. For example, this code::"
4242
msgstr ""
4343

44-
msgid "Will add, among other things, a :meth:`__init__` that looks like::"
44+
msgid "will add, among other things, a :meth:`__init__` that looks like::"
4545
msgstr ""
4646

4747
msgid ""
@@ -59,7 +59,7 @@ msgstr ""
5959

6060
msgid ""
6161
"The :func:`dataclass` decorator examines the class to find ``field``\\s. A "
62-
"``field`` is defined as class variable that has a :term:`type annotation "
62+
"``field`` is defined as a class variable that has a :term:`type annotation "
6363
"<variable annotation>`. With two exceptions described below, nothing in :"
6464
"func:`dataclass` examines the type specified in the variable annotation."
6565
msgstr ""
@@ -71,9 +71,10 @@ msgstr ""
7171

7272
msgid ""
7373
"The :func:`dataclass` decorator will add various \"dunder\" methods to the "
74-
"class, described below. If any of the added methods already exist on the "
74+
"class, described below. If any of the added methods already exist in the "
7575
"class, the behavior depends on the parameter, as documented below. The "
76-
"decorator returns the same class that is called on; no new class is created."
76+
"decorator returns the same class that it is called on; no new class is "
77+
"created."
7778
msgstr ""
7879

7980
msgid ""
@@ -195,8 +196,8 @@ msgstr ""
195196

196197
msgid ""
197198
":exc:`TypeError` will be raised if a field without a default value follows a "
198-
"field with a default value. This is true either when this occurs in a "
199-
"single class, or as a result of class inheritance."
199+
"field with a default value. This is true whether this occurs in a single "
200+
"class, or as a result of class inheritance."
200201
msgstr ""
201202

202203
msgid ""
@@ -358,7 +359,7 @@ msgid "Is equivalent to::"
358359
msgstr ""
359360

360361
msgid ""
361-
"Creates a new object of the same type of ``instance``, replacing fields with "
362+
"Creates a new object of the same type as ``instance``, replacing fields with "
362363
"values from ``changes``. If ``instance`` is not a Data Class, raises :exc:"
363364
"`TypeError`. If values in ``changes`` do not specify fields, raises :exc:"
364365
"`TypeError`."

‎library/string.po‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.9\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2021-03-29 05:54+0000\n"
14+
"POT-Creation-Date: 2021-05-07 06:17+0000\n"
1515
"PO-Revision-Date: 2017-02-16 23:28+0000\n"
1616
"Last-Translator: m_aciek <maciej.olko@gmail.com>, 2020\n"
1717
"Language-Team: Polish (https://www.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -420,12 +420,12 @@ msgid ""
420420
"conversion. The alternate form is defined differently for different types. "
421421
"This option is only valid for integer, float and complex types. For "
422422
"integers, when binary, octal, or hexadecimal output is used, this option "
423-
"adds the prefix respective ``'0b'``, ``'0o'``, or ``'0x'`` to the output "
424-
"value. For float and complex the alternate form causes the result of the "
425-
"conversion to always contain a decimal-point character, even if no digits "
426-
"follow it. Normally, a decimal-point character appears in the result of "
427-
"these conversions only if a digit follows it. In addition, for ``'g'`` and "
428-
"``'G'`` conversions, trailing zeros are not removed from the result."
423+
"adds the respective prefix ``'0b'``, ``'0o'``, ``'0x'``, or ``'0X'`` to the "
424+
"output value. For float and complex the alternate form causes the result of "
425+
"the conversion to always contain a decimal-point character, even if no "
426+
"digits follow it. Normally, a decimal-point character appears in the result "
427+
"of these conversions only if a digit follows it. In addition, for ``'g'`` "
428+
"and ``'G'`` conversions, trailing zeros are not removed from the result."
429429
msgstr ""
430430

431431
msgid ""
@@ -533,7 +533,8 @@ msgstr ""
533533

534534
msgid ""
535535
"Hex format. Outputs the number in base 16, using upper-case letters for the "
536-
"digits above 9."
536+
"digits above 9. In case ``'#'`` is specified, the prefix ``'0x'`` will be "
537+
"upper-cased to ``'0X'`` as well."
537538
msgstr ""
538539

539540
msgid "``'n'``"

0 commit comments

Comments
 (0)