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

Skip to content

Commit 755cd50

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 45a4001 commit 755cd50

1 file changed

Lines changed: 32 additions & 30 deletions

File tree

library/stdtypes.po

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2022-12-01 04:15+0000\n"
14+
"POT-Creation-Date: 2022-12-21 04:14+0000\n"
1515
"PO-Revision-Date: 2021-06-28 01:13+0000\n"
1616
"Last-Translator: Maciej Olko <[email protected]>, 2022\n"
1717
"Language-Team: Polish (https://www.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -1702,29 +1702,34 @@ msgid ""
17021702
"which is the length of the string plus one."
17031703
msgstr ""
17041704

1705+
msgid "Return the string encoded to :class:`bytes`."
1706+
msgstr ""
1707+
1708+
msgid ""
1709+
"*encoding* defaults to ``'utf-8'``; see :ref:`standard-encodings` for "
1710+
"possible values."
1711+
msgstr ""
1712+
17051713
msgid ""
1706-
"Return an encoded version of the string as a bytes object. Default encoding "
1707-
"is ``'utf-8'``. *errors* may be given to set a different error handling "
1708-
"scheme. The default for *errors* is ``'strict'``, meaning that encoding "
1709-
"errors raise a :exc:`UnicodeError`. Other possible values are ``'ignore'``, "
1710-
"``'replace'``, ``'xmlcharrefreplace'``, ``'backslashreplace'`` and any other "
1711-
"name registered via :func:`codecs.register_error`, see section :ref:`error-"
1712-
"handlers`. For a list of possible encodings, see section :ref:`standard-"
1713-
"encodings`."
1714+
"*errors* controls how encoding errors are handled. If ``'strict'`` (the "
1715+
"default), a :exc:`UnicodeError` exception is raised. Other possible values "
1716+
"are ``'ignore'``, ``'replace'``, ``'xmlcharrefreplace'``, "
1717+
"``'backslashreplace'`` and any other name registered via :func:`codecs."
1718+
"register_error`. See :ref:`error-handlers` for details."
17141719
msgstr ""
17151720

17161721
msgid ""
1717-
"By default, the *errors* argument is not checked for best performances, but "
1718-
"only used at the first encoding error. Enable the :ref:`Python Development "
1719-
"Mode <devmode>`, or use a :ref:`debug build <debug-build>` to check *errors*."
1722+
"For performance reasons, the value of *errors* is not checked for validity "
1723+
"unless an encoding error actually occurs, :ref:`devmode` is enabled or a :"
1724+
"ref:`debug build <debug-build>` is used."
17201725
msgstr ""
17211726

1722-
msgid "Support for keyword arguments added."
1727+
msgid "Added support for keyword arguments."
17231728
msgstr ""
17241729

17251730
msgid ""
1726-
"The *errors* is now checked in development mode and in :ref:`debug mode "
1727-
"<debug-build>`."
1731+
"The value of the *errors* argument is now checked in :ref:`devmode` and in :"
1732+
"ref:`debug mode <debug-build>`."
17281733
msgstr ""
17291734

17301735
msgid ""
@@ -2810,29 +2815,26 @@ msgstr ""
28102815
msgid "The *suffix* may be any :term:`bytes-like object`."
28112816
msgstr ""
28122817

2813-
msgid ""
2814-
"Return a string decoded from the given bytes. Default encoding is "
2815-
"``'utf-8'``. *errors* may be given to set a different error handling "
2816-
"scheme. The default for *errors* is ``'strict'``, meaning that encoding "
2817-
"errors raise a :exc:`UnicodeError`. Other possible values are ``'ignore'``, "
2818-
"``'replace'`` and any other name registered via :func:`codecs."
2819-
"register_error`, see section :ref:`error-handlers`. For a list of possible "
2820-
"encodings, see section :ref:`standard-encodings`."
2818+
msgid "Return the bytes decoded to a :class:`str`."
28212819
msgstr ""
28222820

28232821
msgid ""
2824-
"By default, the *errors* argument is not checked for best performances, but "
2825-
"only used at the first decoding error. Enable the :ref:`Python Development "
2826-
"Mode <devmode>`, or use a :ref:`debug build <debug-build>` to check *errors*."
2822+
"*errors* controls how decoding errors are handled. If ``'strict'`` (the "
2823+
"default), a :exc:`UnicodeError` exception is raised. Other possible values "
2824+
"are ``'ignore'``, ``'replace'``, and any other name registered via :func:"
2825+
"`codecs.register_error`. See :ref:`error-handlers` for details."
28272826
msgstr ""
28282827

28292828
msgid ""
2830-
"Passing the *encoding* argument to :class:`str` allows decoding any :term:"
2831-
"`bytes-like object` directly, without needing to make a temporary bytes or "
2832-
"bytearray object."
2829+
"For performance reasons, the value of *errors* is not checked for validity "
2830+
"unless a decoding error actually occurs, :ref:`devmode` is enabled or a :ref:"
2831+
"`debug build <debug-build>` is used."
28332832
msgstr ""
28342833

2835-
msgid "Added support for keyword arguments."
2834+
msgid ""
2835+
"Passing the *encoding* argument to :class:`str` allows decoding any :term:"
2836+
"`bytes-like object` directly, without needing to make a temporary :class:`!"
2837+
"bytes` or :class:`!bytearray` object."
28362838
msgstr ""
28372839

28382840
msgid ""

0 commit comments

Comments
 (0)