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

Skip to content

Commit 9163d04

Browse files
[po] auto sync
1 parent 07389f6 commit 9163d04

13 files changed

Lines changed: 5515 additions & 5491 deletions

File tree

howto/descriptor.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ msgid ""
221221
"Python, it looks like::"
222222
msgstr ""
223223
"对于类来说,机制是 :meth:`type.__getattribute__` 中将 ``B.x`` 转换为 "
224-
"``B.__dict__['x'].__get__(None, B)`` 。在纯 Python中 ,它就像::"
224+
"``B.__dict__['x'].__get__(None, B)`` 。在纯 Python中 ,它是这样的::"
225225

226226
#: ../../howto/descriptor.rst:110
227227
msgid "The important points to remember are:"
@@ -301,7 +301,7 @@ msgid ""
301301
"descriptor is useful for monitoring just a few chosen attributes::"
302302
msgstr ""
303303
"以下代码创建一个类,其对象是数据描述器,该描述器为每个 get 或 set 打印一条消息。 覆盖 :meth:`__getattribute__` "
304-
"是可以对每个属性执行此操作的替代方法。但是,此描述器对于跟踪仅几个选定的属性很有用::"
304+
"是可以对每个属性执行此操作的替代方法。但是,此描述器对于跟踪少数几个选定的属性很有用::"
305305

306306
#: ../../howto/descriptor.rst:181
307307
msgid ""
@@ -332,7 +332,7 @@ msgstr "该文档显示了定义托管属性 ``x`` 的典型用法::"
332332
msgid ""
333333
"To see how :func:`property` is implemented in terms of the descriptor "
334334
"protocol, here is a pure Python equivalent::"
335-
msgstr "要了解 :func:`property` 如何根据描述器协议实现,这里是一个纯 Python 的等价实现如何"
335+
msgstr "要了解 :func:`property` 如何根据描述器协议实现,这里是一个纯 Python 的等价实现如下::"
336336

337337
#: ../../howto/descriptor.rst:243
338338
msgid ""
@@ -467,7 +467,7 @@ msgid ""
467467
"either an object or a class."
468468
msgstr ""
469469
"静态方法返回底层函数,不做任何更改。调用 ``c.f`` 或 ``C.f`` 等效于通过 ``object.__getattribute__(c, "
470-
"\"f\")`` 或 ``object.__getattribute__(C, \"f\")`` 查找。结果,该函数变得可以从对象或类中进行相同的访问。"
470+
"\"f\")`` 或 ``object.__getattribute__(C, \"f\")`` 查找。这样该函数就可以从对象或类中进行相同的访问。"
471471

472472
#: ../../howto/descriptor.rst:355
473473
msgid ""

install/index.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.8\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
22+
"POT-Creation-Date: 2020-03-31 13:21+0000\n"
2323
"PO-Revision-Date: 2017-02-16 17:46+0000\n"
2424
"Last-Translator: Vincent <[email protected]>, 2020\n"
2525
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -813,7 +813,7 @@ msgstr ""
813813

814814
#: ../../install/index.rst:535
815815
msgid ""
816-
"(This performs an installation using the \"prefix scheme,\" where the prefix"
816+
"(This performs an installation using the \"prefix scheme\", where the prefix"
817817
" is whatever your Python interpreter was installed with--- "
818818
":file:`/usr/local/python` in this case.)"
819819
msgstr ""

library/hashlib.po

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,12 @@ msgid ""
141141
"library may offer. The named constructors are much faster than :func:`new` "
142142
"and should be preferred."
143143
msgstr ""
144+
"一个接受所希望的算法对应的字符串 *name* 作为第一个形参的通用构造器。 它还允许访问上面列出的哈希算法以及你的 OpenSSL "
145+
"库可能提供的任何其他算法。 同名的构造器要比 :func:`new` 更快所以应当优先使用。"
144146

145147
#: ../../library/hashlib.rst:110
146148
msgid "Using :func:`new` with an algorithm provided by OpenSSL:"
147-
msgstr ""
149+
msgstr "使用 :func:`new` 并附带由 OpenSSL 所提供了算法:"
148150

149151
#: ../../library/hashlib.rst:117
150152
msgid "Hashlib provides the following constant attributes:"
@@ -157,6 +159,8 @@ msgid ""
157159
"some upstream vendors offering an odd \"FIPS compliant\" Python build that "
158160
"excludes it."
159161
msgstr ""
162+
"一个集合,其中包含此模块在所有平台上都保证支持的哈希算法的名称。 请注意 'md5' 也在此清单中,虽然某些上游厂商提供了一个怪异的排除了此算法的 "
163+
"\"FIPS 兼容\" Python 编译版本。"
160164

161165
#: ../../library/hashlib.rst:130
162166
msgid ""
@@ -166,20 +170,23 @@ msgid ""
166170
"same algorithm may appear multiple times in this set under different names "
167171
"(thanks to OpenSSL)."
168172
msgstr ""
173+
"一个集合,其中包含在所运行的 Python 解释器上可用的哈希算法的名称。 将这些名称传给 :func:`new` 时将可被识别。 "
174+
":attr:`algorithms_guaranteed` 将总是它的一个子集。 同样的算法在此集合中可能以不同的名称出现多次(这是 OpenSSL "
175+
"的原因)。"
169176

170177
#: ../../library/hashlib.rst:138
171178
msgid ""
172179
"The following values are provided as constant attributes of the hash objects"
173180
" returned by the constructors:"
174-
msgstr ""
181+
msgstr "下列值会以构造器所返回的哈希对象的常量属性的形式被提供:"
175182

176183
#: ../../library/hashlib.rst:144
177184
msgid "The size of the resulting hash in bytes."
178-
msgstr ""
185+
msgstr "以字节表示的结果哈希对象的大小。"
179186

180187
#: ../../library/hashlib.rst:148
181188
msgid "The internal block size of the hash algorithm in bytes."
182-
msgstr ""
189+
msgstr "以字节表示的哈希算法的内部块大小。"
183190

184191
#: ../../library/hashlib.rst:150
185192
msgid "A hash object has the following attributes:"
@@ -189,18 +196,18 @@ msgstr "hash 对象具有以下属性:"
189196
msgid ""
190197
"The canonical name of this hash, always lowercase and always suitable as a "
191198
"parameter to :func:`new` to create another hash of this type."
192-
msgstr ""
199+
msgstr "此哈希对象的规范名称,总是为小写形式并且总是可以作为 :func:`new` 的形参用来创建另一个此类型的哈希对象。"
193200

194201
#: ../../library/hashlib.rst:157
195202
msgid ""
196203
"The name attribute has been present in CPython since its inception, but "
197204
"until Python 3.4 was not formally specified, so may not exist on some "
198205
"platforms."
199-
msgstr ""
206+
msgstr "该属性名称自被引入起即存在于 CPython 中,但在 Python 3.4 之前并未正式指明,因此可能不存在于某些平台上。"
200207

201208
#: ../../library/hashlib.rst:162
202209
msgid "A hash object has the following methods:"
203-
msgstr ""
210+
msgstr "哈希对象具有下列方法:"
204211

205212
#: ../../library/hashlib.rst:167
206213
msgid ""

library/hmac.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# Pan Felix <[email protected]>, 2019
88
# st z <[email protected]>, 2020
9+
# Freesand Leo <[email protected]>, 2020
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
1617
"PO-Revision-Date: 2017-02-16 23:13+0000\n"
17-
"Last-Translator: st z <zstcode@outlook.com>, 2020\n"
18+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
1819
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -136,7 +137,7 @@ msgstr ""
136137

137138
#: ../../library/hmac.rst:106
138139
msgid "The internal block size of the hash algorithm in bytes."
139-
msgstr ""
140+
msgstr "以字节表示的哈希算法的内部块大小。"
140141

141142
#: ../../library/hmac.rst:112
142143
msgid "The canonical name of this HMAC, always lowercase, e.g. ``hmac-md5``."

library/logging.po

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
# 1lin24 <[email protected]>, 2019
1212
# Leo Li <[email protected]>, 2019
1313
# Shengjing Zhu <[email protected]>, 2019
14-
# Freesand Leo <[email protected]>, 2019
1514
# ppcfish <[email protected]>, 2019
15+
# WH-2099 <[email protected]>, 2020
16+
# Freesand Leo <[email protected]>, 2020
1617
#
1718
#, fuzzy
1819
msgid ""
@@ -21,7 +22,7 @@ msgstr ""
2122
"Report-Msgid-Bugs-To: \n"
2223
"POT-Creation-Date: 2020-03-25 13:16+0000\n"
2324
"PO-Revision-Date: 2017-02-16 23:17+0000\n"
24-
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2019\n"
25+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
2526
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2627
"MIME-Version: 1.0\n"
2728
"Content-Type: text/plain; charset=UTF-8\n"
@@ -206,14 +207,14 @@ msgid ""
206207
"If an ancestor is found with a level other than NOTSET, then that ancestor's"
207208
" level is treated as the effective level of the logger where the ancestor "
208209
"search began, and is used to determine how a logging event is handled."
209-
msgstr ""
210+
msgstr "如果发现某个父级的级别不是 NOTSET ,那么该父级的级别将被视为发起搜索的记录器的有效级别,并用于确定如何处理日志事件。"
210211

211212
#: ../../library/logging.rst:114
212213
msgid ""
213214
"If the root is reached, and it has a level of NOTSET, then all messages will"
214215
" be processed. Otherwise, the root's level will be used as the effective "
215216
"level."
216-
msgstr ""
217+
msgstr "如果搜索到达根 logger ,并且其级别为 NOTSET,则将处理所有消息。否则,将使用根记录器的级别作为有效级别。"
217218

218219
#: ../../library/logging.rst:117 ../../library/logging.rst:426
219220
msgid "See :ref:`levels` for a list of levels."
@@ -227,6 +228,9 @@ msgid ""
227228
"such as e.g. :meth:`getEffectiveLevel` and :meth:`isEnabledFor` will "
228229
"return/expect to be passed integers."
229230
msgstr ""
231+
"现在 *level* 参数可以接受形如 'INFO' 的级别字符串表示形式,以代替形如 :const:`INFO` 的整数常量。 "
232+
"但是请注意,级别在内部存储为整数,并且 :meth:`getEffectiveLevel` 和 :meth:`isEnabledFor` "
233+
"等方法的传入/返回值也为整数。"
230234

231235
#: ../../library/logging.rst:129
232236
msgid ""
@@ -235,6 +239,8 @@ msgid ""
235239
"``logging.disable(level)`` and then the logger's effective level as "
236240
"determined by :meth:`getEffectiveLevel`."
237241
msgstr ""
242+
"指示此记录器是否将处理级别为 *level* 的消息。此方法首先检查由 ``logging.disable(level)`` "
243+
"设置的模块级的级别,然后检查由 :meth:`getEffectiveLevel` 确定的记录器的有效级别。"
238244

239245
#: ../../library/logging.rst:137
240246
msgid ""
@@ -245,6 +251,9 @@ msgid ""
245251
"returned is an integer, typically one of :const:`logging.DEBUG`, "
246252
":const:`logging.INFO` etc."
247253
msgstr ""
254+
"指示此记录器的有效级别。如果通过 :meth:`setLevel` 设置了除 :const:`NOTSET` "
255+
"以外的值,则返回该值。否则,将层次结构遍历到根,直到找到除 :const:`NOTSET` 以外的其他值,然后返回该值。返回的值是一个整数,通常为 "
256+
":const:`logging.DEBUG`、 :const:`logging.INFO` 等等。"
248257

249258
#: ../../library/logging.rst:147
250259
msgid ""
@@ -255,6 +264,9 @@ msgid ""
255264
"when the parent logger is named using e.g. ``__name__`` rather than a "
256265
"literal string."
257266
msgstr ""
267+
"返回由后缀确定的,是该记录器的后代的记录器。 因此,``logging.getLogger('abc').getChild('def.ghi')`` 与"
268+
" ``logging.getLogger('abc.def.ghi')`` 将返回相同的记录器。 这是一个便捷方法,当使用如 ``__name__`` "
269+
"而不是字符串字面值命名父记录器时很有用。"
258270

259271
#: ../../library/logging.rst:158
260272
msgid ""

library/mailcap.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.8\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
14+
"POT-Creation-Date: 2020-03-31 13:21+0000\n"
1515
"PO-Revision-Date: 2017-02-16 23:17+0000\n"
1616
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
1717
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -48,12 +48,12 @@ msgstr ""
4848
#: ../../library/mailcap.rst:20
4949
msgid ""
5050
"The mailcap format is documented in :rfc:`1524`, \"A User Agent "
51-
"Configuration Mechanism For Multimedia Mail Format Information,\" but is not"
51+
"Configuration Mechanism For Multimedia Mail Format Information\", but is not"
5252
" an Internet standard. However, mailcap files are supported on most Unix "
5353
"systems."
5454
msgstr ""
5555
"mailcap 格式的文档见 :rfc:`1524`, \"A User Agent Configuration Mechanism For "
56-
"Multimedia Mail Format Information,\" 但它并不是一个因特网标准。 不过,mailcap 文件在大多数 Unix "
56+
"Multimedia Mail Format Information\"但它并不是一个因特网标准。 不过,mailcap 文件在大多数 Unix "
5757
"系统上都受到支持。"
5858

5959
#: ../../library/mailcap.rst:27

library/pprint.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
# Menghua Xiao <[email protected]>, 2018
88
# Pandaaaa906 <[email protected]>, 2019
99
# nick <[email protected]>, 2019
10-
# Freesand Leo <[email protected]>, 2019
10+
# Freesand Leo <[email protected]>, 2020
1111
#
1212
#, fuzzy
1313
msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.8\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
17+
"POT-Creation-Date: 2020-03-31 13:21+0000\n"
1818
"PO-Revision-Date: 2017-02-16 23:22+0000\n"
19-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
19+
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
2020
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2121
"MIME-Version: 1.0\n"
2222
"Content-Type: text/plain; charset=UTF-8\n"
@@ -144,7 +144,7 @@ msgstr ""
144144

145145
#: ../../library/pprint.rst:147
146146
msgid ""
147-
"Determine if the formatted representation of *object* is \"readable,\" or "
147+
"Determine if the formatted representation of *object* is \"readable\", or "
148148
"can be used to reconstruct the value using :func:`eval`. This always "
149149
"returns ``False`` for recursive objects."
150150
msgstr ""

library/ssl.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.8\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
22+
"POT-Creation-Date: 2020-03-31 13:21+0000\n"
2323
"PO-Revision-Date: 2017-02-16 23:27+0000\n"
2424
"Last-Translator: KMChung <[email protected]>, 2020\n"
2525
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -75,7 +75,7 @@ msgid ""
7575
"the :class:`socket.socket` type, and provides a socket-like wrapper that "
7676
"also encrypts and decrypts the data going over the socket with SSL. It "
7777
"supports additional methods such as :meth:`getpeercert`, which retrieves the"
78-
" certificate of the other side of the connection, and :meth:`cipher`,which "
78+
" certificate of the other side of the connection, and :meth:`cipher`, which "
7979
"retrieves the cipher being used for the secure connection."
8080
msgstr ""
8181

library/textwrap.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
#
66
# Translators:
77
# ww song <[email protected]>, 2018
8-
# Freesand Leo <[email protected]>, 2019
8+
# Freesand Leo <[email protected]>, 2020
99
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.8\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
15+
"POT-Creation-Date: 2020-03-31 13:21+0000\n"
1616
"PO-Revision-Date: 2017-02-16 23:30+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"
@@ -304,7 +304,7 @@ msgstr ":attr:`fix_sentence_endings` 默认为假值。"
304304
#: ../../library/textwrap.rst:241
305305
msgid ""
306306
"Since the sentence detection algorithm relies on ``string.lowercase`` for "
307-
"the definition of \"lowercase letter,\" and a convention of using two spaces"
307+
"the definition of \"lowercase letter\", and a convention of using two spaces"
308308
" after a period to separate sentences on the same line, it is specific to "
309309
"English-language texts."
310310
msgstr ""

library/tokenize.po

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.8\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
17+
"POT-Creation-Date: 2020-03-31 13:21+0000\n"
1818
"PO-Revision-Date: 2017-02-16 23:31+0000\n"
1919
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
2020
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -36,11 +36,9 @@ msgstr "**源码:** :source:`Lib/tokenize.py`"
3636
msgid ""
3737
"The :mod:`tokenize` module provides a lexical scanner for Python source "
3838
"code, implemented in Python. The scanner in this module returns comments as"
39-
" tokens as well, making it useful for implementing \"pretty-printers,\" "
39+
" tokens as well, making it useful for implementing \"pretty-printers\", "
4040
"including colorizers for on-screen displays."
4141
msgstr ""
42-
":mod:`tokenize` 模块提供了对 Python 代码使用的词汇扫描器,是用 Python 实现的。本模块的扫描器把 Python "
43-
"代码中的注释也当作一种标记返回,这样有助于实现屏幕显示时包括着色在内的美化输出。"
4442

4543
#: ../../library/tokenize.rst:19
4644
msgid ""

0 commit comments

Comments
 (0)