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

Skip to content

Commit e09ab01

Browse files
[po] auto sync
1 parent a6ac4e2 commit e09ab01

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

howto/unicode.po

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
# Translators:
77
# Fei Yin <[email protected]>, 2018
88
# Konge <[email protected]>, 2018
9-
# Freesand Leo <[email protected]>, 2018
109
# allenjuly7 <[email protected]>, 2019
1110
# Siyuan Xu <[email protected]>, 2019
1211
# ppcfish <[email protected]>, 2019
1312
# Dai Xu <[email protected]>, 2021
13+
# Freesand Leo <[email protected]>, 2021
1414
#
1515
#, fuzzy
1616
msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919
"Report-Msgid-Bugs-To: \n"
2020
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
2121
"PO-Revision-Date: 2017-02-16 17:46+0000\n"
22-
"Last-Translator: Dai Xu <daixu61@hotmail.com>, 2021\n"
22+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
2323
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2424
"MIME-Version: 1.0\n"
2525
"Content-Type: text/plain; charset=UTF-8\n"
@@ -378,6 +378,8 @@ msgid ""
378378
"of :class:`bytes`. This method takes an *encoding* argument, such as "
379379
"``UTF-8``, and optionally an *errors* argument."
380380
msgstr ""
381+
"此外,可以用 :class:`bytes` 的 :func:`~bytes.decode` 方法创建一个字符串。 该方法可以接受 *encoding* "
382+
"参数,比如可以为 ``UTF-8`` ,以及可选的 *errors* 参数。 "
381383

382384
#: ../../howto/unicode.rst:228
383385
msgid ""
@@ -389,6 +391,10 @@ msgid ""
389391
"``'backslashreplace'`` (inserts a ``\\xNN`` escape sequence). The following "
390392
"examples show the differences::"
391393
msgstr ""
394+
"若无法根据编码规则对输入字符串进行编码,*errors* 参数指定了响应策略。 该参数的合法值可以是 ``'strict'`` (触发 "
395+
":exc:`UnicodeDecodeError` 异常)、``'replace'`` (用 ``U+FFFD``、``REPLACEMENT "
396+
"CHARACTER``)、``'ignore'`` (只是将字符从 Unicode 结果中去掉),或 ``'backslashreplace'`` "
397+
"(插入一个 ``\\xNN`` 转义序列)。 以下示例演示了这些不同的参数::"
392398

393399
#: ../../howto/unicode.rst:248
394400
msgid ""

0 commit comments

Comments
 (0)