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

Skip to content

Commit 08e00ec

Browse files
[po] auto sync
1 parent 7afc75b commit 08e00ec

9 files changed

Lines changed: 28 additions & 13 deletions

File tree

library/constants.po

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# Translators:
77
# Meng Du <[email protected]>, 2019
8-
# Freesand Leo <[email protected]>, 2019
8+
# Freesand Leo <[email protected]>, 2020
99
#
1010
#, fuzzy
1111
msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414
"Report-Msgid-Bugs-To: \n"
1515
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
1616
"PO-Revision-Date: 2017-02-16 23:04+0000\n"
17-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
17+
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
1818
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -61,6 +61,9 @@ msgid ""
6161
":meth:`__imul__`, :meth:`__iand__`, etc.) for the same purpose. It should "
6262
"not be evaluated in a boolean context."
6363
msgstr ""
64+
"双目运算特殊方法(如 :meth:`__eq__`, :meth:`__lt__`, :meth:`__add__`, :meth:`__rsub__`"
65+
" 等)应返回的特殊值,用于表示运算没有针对其他类型的实现;也可由原地双目运算特殊方法(如 :meth:`__imul__`, "
66+
":meth:`__iand__` 等)出于同样的目的而返回。 它不应被作为布尔值来解读。"
6467

6568
#: ../../library/constants.rst:38
6669
msgid ""
@@ -94,6 +97,8 @@ msgid ""
9497
"currently evaluates as true, it will emit a :exc:`DeprecationWarning`. It "
9598
"will raise a :exc:`TypeError` in a future version of Python."
9699
msgstr ""
100+
"作为布尔值来解读 ``NotImplemented`` 已被弃用。 虽然它目前会被解读为真值,但将同时发出 "
101+
":exc:`DeprecationWarning`。 它将在未来的 Python 版本中引发 :exc:`TypeError`。"
97102

98103
#: ../../library/constants.rst:62
99104
msgid ""

library/exceptions.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,8 @@ msgid ""
935935
"(:pep:`565`). Enabling the :ref:`Python Development Mode <devmode>` shows "
936936
"this warning."
937937
msgstr ""
938+
"会被默认警告过滤器忽略,在 ``__main__`` 模块中的情况除外 (:pep:`565`)。 启用 :ref:`Python 开发模式 "
939+
"<devmode>` 时会显示此警告。"
938940

939941
#: ../../library/exceptions.rst:698
940942
msgid ""
@@ -955,7 +957,7 @@ msgstr ""
955957
msgid ""
956958
"Ignored by the default warning filters. Enabling the :ref:`Python "
957959
"Development Mode <devmode>` shows this warning."
958-
msgstr ""
960+
msgstr "会被默认警告过滤器忽略。 启用 :ref:`Python 开发模式 <devmode>` 时会显示此警告。"
959961

960962
#: ../../library/exceptions.rst:712
961963
msgid "Base class for warnings about dubious syntax."

library/gzip.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ msgid ""
181181
"*fileobj* will not be used. It is better to always specify *mode* for "
182182
"writing."
183183
msgstr ""
184+
"*mode* 参数可以是 ``'r'``, ``'rb'``, ``'a'``, ``'ab'``, ``'w'``, ``'wb'``, "
185+
"``'x'`` 或 ``'xb'`` 中的一个,具体取决于文件将被读取还是被写入。 如果可识别则默认为 *fileobj* 的模式;否则默认为 "
186+
"``'rb'``。 在未来的 Python 发布版中将不再使用 *fileobj* 的模式。 最好总是指定 *mode* 为写入模式。"
184187

185188
#: ../../library/gzip.rst:94
186189
msgid ""
@@ -304,7 +307,7 @@ msgstr ""
304307
msgid ""
305308
"Opening :class:`GzipFile` for writing without specifying the *mode* argument"
306309
" is deprecated."
307-
msgstr ""
310+
msgstr "打开 :class:`GzipFile` 用于写入而不指定 *mode* 参数的做法已被弃用。"
308311

309312
#: ../../library/gzip.rst:175
310313
msgid ""

library/hmac.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ msgid ""
170170
"``HMAC.outer`` are internal implementation details and will be removed in "
171171
"Python 3.10."
172172
msgstr ""
173+
"未写入文档的属性 ``HMAC.digest_cons``, ``HMAC.inner`` 和 ``HMAC.outer`` 属于内部实现细节,将在 "
174+
"Python 3.10 中被移除。"
173175

174176
#: ../../library/hmac.rst:123
175177
msgid "This module also provides the following helper function:"
@@ -199,7 +201,7 @@ msgstr ""
199201
#: ../../library/hmac.rst:143
200202
msgid ""
201203
"The function uses OpenSSL's ``CRYPTO_memcmp()`` internally when available."
202-
msgstr ""
204+
msgstr "此函数在可能的情况下会在内部使用 OpenSSL 的 ``CRYPTO_memcmp()``。"
203205

204206
#: ../../library/hmac.rst:149
205207
msgid "Module :mod:`hashlib`"

library/multiprocessing.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,13 +1074,13 @@ msgstr "这是一个简化的 :class:`Queue` 类的实现,很像带锁的 :cla
10741074

10751075
#: ../../library/multiprocessing.rst:883
10761076
msgid "Close the queue: release internal resources."
1077-
msgstr ""
1077+
msgstr "关闭队列:释放内部资源。"
10781078

10791079
#: ../../library/multiprocessing.rst:885
10801080
msgid ""
10811081
"A queue must not be used anymore after it is closed. For example, "
10821082
":meth:`get`, :meth:`put` and :meth:`empty` methods must no longer be called."
1083-
msgstr ""
1083+
msgstr "队列在被关闭后就不可再被使用。 例如不可再调用 :meth:`get`, :meth:`put` 和 :meth:`empty` 等方法。"
10841084

10851085
#: ../../library/multiprocessing.rst:893
10861086
msgid "Return ``True`` if the queue is empty, ``False`` otherwise."

library/os.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5046,7 +5046,7 @@ msgstr ""
50465046
msgid ""
50475047
":func:`waitstatus_to_exitcode` can be used to convert the exit status into "
50485048
"an exit code."
5049-
msgstr ""
5049+
msgstr "可以使用 :func:`waitstatus_to_exitcode` 来将退出状态转换为退出码。"
50505050

50515051
#: ../../library/os.rst:4029
50525052
msgid ""

library/pty.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ msgstr ""
126126
#: ../../library/pty.rst:72
127127
msgid ""
128128
"Return the exit status value from :func:`os.waitpid` on the child process."
129-
msgstr ""
129+
msgstr "从子进程中的 :func:`os.waitpid` 返回退出状态值。"
130130

131131
#: ../../library/pty.rst:74
132132
msgid ""
133133
":func:`waitstatus_to_exitcode` can be used to convert the exit status into "
134134
"an exit code."
135-
msgstr ""
135+
msgstr "可以使用 :func:`waitstatus_to_exitcode` 来将退出状态转换为退出码。"
136136

137137
#: ../../library/pty.rst:78
138138
msgid ""

library/struct.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ msgstr ""
625625

626626
#: ../../library/struct.rst:261
627627
msgid "Added use of the :meth:`__index__` method for non-integers."
628-
msgstr ""
628+
msgstr "增加了针对非整数使用 :meth:`__index__` 方法的特性。"
629629

630630
#: ../../library/struct.rst:265
631631
msgid ""
@@ -718,6 +718,7 @@ msgid ""
718718
"Previously, some of the integer formats wrapped out-of-range values and "
719719
"raised :exc:`DeprecationWarning` instead of :exc:`struct.error`."
720720
msgstr ""
721+
"在之前版本中,某些整数格式包装了超范围的值并会引发 :exc:`DeprecationWarning` 而不是 :exc:`struct.error`。"
721722

722723
#: ../../library/struct.rst:318
723724
msgid ""

reference/datamodel.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
# Zombie110year <[email protected]>, 2019
1515
# zkonge <[email protected]>, 2019
1616
# Shengjing Zhu <[email protected]>, 2019
17-
# Freesand Leo <[email protected]>, 2020
1817
# WH-2099 <[email protected]>, 2020
18+
# Freesand Leo <[email protected]>, 2020
1919
#
2020
#, fuzzy
2121
msgid ""
@@ -24,7 +24,7 @@ msgstr ""
2424
"Report-Msgid-Bugs-To: \n"
2525
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
2626
"PO-Revision-Date: 2017-02-16 23:38+0000\n"
27-
"Last-Translator: WH-2099 <wh2099@outlook.com>, 2020\n"
27+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
2828
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2929
"MIME-Version: 1.0\n"
3030
"Content-Type: text/plain; charset=UTF-8\n"
@@ -241,6 +241,8 @@ msgid ""
241241
"currently evaluates as true, it will emit a :exc:`DeprecationWarning`. It "
242242
"will raise a :exc:`TypeError` in a future version of Python."
243243
msgstr ""
244+
"作为布尔值来解读 ``NotImplemented`` 已被弃用。 虽然它目前会被解读为真值,但将同时发出 "
245+
":exc:`DeprecationWarning`。 它将在未来的 Python 版本中引发 :exc:`TypeError`。"
244246

245247
#: ../../reference/datamodel.rst:179
246248
msgid "Ellipsis"

0 commit comments

Comments
 (0)