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

Skip to content

Commit 77a8b43

Browse files
[po] auto sync
1 parent 68c787b commit 77a8b43

14 files changed

Lines changed: 5718 additions & 5637 deletions

File tree

c-api/sequence.po

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,14 @@ msgstr ""
8080
msgid ""
8181
"Return the *i*\\ th element of *o*, or ``NULL`` on failure. This is the "
8282
"equivalent of the Python expression ``o[i]``."
83-
msgstr ""
83+
msgstr "返回 *o* 中的第 *i* 号元素,失败时返回 ``NULL``。 这等价于 Python 表达式 ``o[i]``。"
8484

8585
#: ../../c-api/sequence.rst:61
8686
msgid ""
8787
"Return the slice of sequence object *o* between *i1* and *i2*, or ``NULL`` "
8888
"on failure. This is the equivalent of the Python expression ``o[i1:i2]``."
8989
msgstr ""
90+
"返回序列对象 *o* 的 *i1* 到 *i2* 的切片,失败时返回 ``NULL``。 这等价于 Python 表达式 ``o[i1:i2]``。"
9091

9192
#: ../../c-api/sequence.rst:67
9293
msgid ""
@@ -102,7 +103,7 @@ msgstr ""
102103
msgid ""
103104
"If *v* is ``NULL``, the element is deleted, however this feature is "
104105
"deprecated in favour of using :c:func:`PySequence_DelItem`."
105-
msgstr ""
106+
msgstr "如果 *v* 为 ``NULL``,元素将被删除,但是此特性已被弃用,应当改用 :c:func:`PySequence_DelItem`。"
106107

107108
#: ../../c-api/sequence.rst:78
108109
msgid ""
@@ -157,6 +158,8 @@ msgid ""
157158
" or ``NULL`` on failure. The returned list is guaranteed to be new. This "
158159
"is equivalent to the Python expression ``list(o)``."
159160
msgstr ""
161+
"返回一个列表对象,其内容与序列或可迭代对象 *o* 相同,失败时返回 ``NULL``。 返回的列表保证是一个新对象。 这等价于 Python 表达式 "
162+
"``list(o)``。"
160163

161164
#: ../../c-api/sequence.rst:125
162165
msgid ""
@@ -165,6 +168,8 @@ msgid ""
165168
"returned, otherwise a tuple will be constructed with the appropriate "
166169
"contents. This is equivalent to the Python expression ``tuple(o)``."
167170
msgstr ""
171+
"返回一个元组对象,其内容与序列或可迭代对象 *o* 相同,失败时返回 ``NULL``。 如果 *o* "
172+
"为元组,则将返回一个新的引用,在其他情况下将使用适当的内容构造一个元组。 这等价于 Python 表达式 ``tuple(o)``。"
168173

169174
#: ../../c-api/sequence.rst:133
170175
msgid ""
@@ -173,6 +178,8 @@ msgid ""
173178
" iterable, raises :exc:`TypeError` with *m* as the message text. Returns "
174179
"``NULL`` on failure."
175180
msgstr ""
181+
"将序列或可迭代对象 *o* 作为其他 ``PySequence_Fast*`` 函数族可用的对象返回。 如果该对象不是序列或可迭代对象,则会引发 "
182+
":exc:`TypeError` 并将 *m* 作为消息文本。 失败时返回 ``NULL``。"
176183

177184
#: ../../c-api/sequence.rst:138
178185
msgid ""
@@ -197,19 +204,25 @@ msgid ""
197204
":c:func:`PySequence_Fast_GET_SIZE` is faster because it can assume *o* is a "
198205
"list or tuple."
199206
msgstr ""
207+
"在 *o* 由 :c:func:`PySequence_Fast` 返回且 *o* 不为 ``NULL`` 的情况下返回 *o* 的长度。 也可以通过在"
208+
" *o* 上调用 :c:func:`PySequence_Size` 来获取大小,但是 "
209+
":c:func:`PySequence_Fast_GET_SIZE` 速度更快,因为它可以假定 *o* 为列表或元组。"
200210

201211
#: ../../c-api/sequence.rst:157
202212
msgid ""
203213
"Return the *i*\\ th element of *o*, assuming that *o* was returned by "
204214
":c:func:`PySequence_Fast`, *o* is not ``NULL``, and that *i* is within "
205215
"bounds."
206216
msgstr ""
217+
"在 *o* 由 :c:func:`PySequence_Fast` 返回且 *o* 不 ``NULL``,并且 *i* d在索引范围内的情况下返回 "
218+
"*o* 的第 *i* 号元素。"
207219

208220
#: ../../c-api/sequence.rst:163
209221
msgid ""
210222
"Return the underlying array of PyObject pointers. Assumes that *o* was "
211223
"returned by :c:func:`PySequence_Fast` and *o* is not ``NULL``."
212224
msgstr ""
225+
"返回 PyObject 指针的底层数组。 假设 *o* 由 :c:func:`PySequence_Fast` 返回且 *o* 不为 ``NULL``。"
213226

214227
#: ../../c-api/sequence.rst:166
215228
msgid ""
@@ -225,3 +238,5 @@ msgid ""
225238
":c:func:`PySequence_Check` on *o* is true and without adjustment for "
226239
"negative indices."
227240
msgstr ""
241+
"返回 *o* 的第 *i* 个元素或在失败时返回 ``NULL``。 此形式比 :c:func:`PySequence_GetItem` "
242+
"理馔,但不会检查 *o* 上的 :c:func:`PySequence_Check` 是否为真值,也不会对负序号进行调整。"

library/decimal.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# Meng Du <[email protected]>, 2019
88
# focusheart <[email protected]>, 2019
99
# Naisen Xu <[email protected]>, 2019
10-
# ppcfish <[email protected]>, 2019
1110
# Freesand Leo <[email protected]>, 2020
11+
# ppcfish <[email protected]>, 2020
1212
#
1313
#, fuzzy
1414
msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717
"Report-Msgid-Bugs-To: \n"
1818
"POT-Creation-Date: 2020-03-01 12:50+0000\n"
1919
"PO-Revision-Date: 2017-02-16 23:06+0000\n"
20-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
20+
"Last-Translator: ppcfish <ppcfish@gmail.com>, 2020\n"
2121
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2222
"MIME-Version: 1.0\n"
2323
"Content-Type: text/plain; charset=UTF-8\n"
@@ -39,7 +39,7 @@ msgid ""
3939
"decimal floating point arithmetic. It offers several advantages over the "
4040
":class:`float` datatype:"
4141
msgstr ""
42-
":mod:`decimal` 模块为快速正确舍入的十进制浮点运算提供支持。 它提供了 :class:`float` 数据类型以外的几个优点:"
42+
":mod:`decimal` 模块为快速正确舍入的十进制浮点运算提供支持。 :class:`float` 数据类型相比,它具有以下几个优点:"
4343

4444
#: ../../library/decimal.rst:37
4545
msgid ""
@@ -85,16 +85,16 @@ msgid ""
8585
"multiplicands. For instance, ``1.3 * 1.2`` gives :const:`1.56` while ``1.30"
8686
" * 1.20`` gives :const:`1.5600`."
8787
msgstr ""
88-
"十进制模块包含一个重要位置的概念,因此 ``1.30 + 1.20`` :const:`2.50` 。 保留尾随零以表示重要性。 "
89-
"这是货币申请的惯常陈述。 对于乘法,“教科书”方法使用被乘数中的所有数字。 例如, ``1.3 * 1.2`` 给出 :const:`1.56` 而 "
90-
"``1.30 * 1.20`` 给出 :const:`1.5600` 。"
88+
"十进制模块包含有效位的概念,因此 ``1.30 + 1.20`` 的结果是 :const:`2.50` 。 保留尾随零以表示有效位。 "
89+
"这是货币的惯用表示方法。乘法则沿用 “教科书“ 中:保留被乘数中的所有数字的方法。 例如, ``1.3 * 1.2`` 结果是 "
90+
":const:`1.56` 而 ``1.30 * 1.20`` 结果是 :const:`1.5600` 。"
9191

9292
#: ../../library/decimal.rst:61
9393
msgid ""
9494
"Unlike hardware based binary floating point, the decimal module has a user "
9595
"alterable precision (defaulting to 28 places) which can be as large as "
9696
"needed for a given problem:"
97-
msgstr "与基于硬件的二进制浮点不同,十进制模块具有用户可更改的精度(默认为28个位置),可以与给定问题所需的一样大:"
97+
msgstr "与基于硬件的二进制浮点不同,十进制模块具有用户可更改的精度(默认为28位),可以与给定问题所需的一样大:"
9898

9999
#: ../../library/decimal.rst:73
100100
msgid ""
@@ -2062,7 +2062,7 @@ msgstr "以下是一些用作工具函数的例程,它们演示了使用 :clas
20622062

20632063
#: ../../library/decimal.rst:1980
20642064
msgid "Decimal FAQ"
2065-
msgstr "Decimal FAQ"
2065+
msgstr "Decimal 常见问题"
20662066

20672067
#: ../../library/decimal.rst:1982
20682068
msgid ""

library/io.po

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Shengjing Zhu <[email protected]>, 2018
87
# ww song <[email protected]>, 2018
98
# Meng Du <[email protected]>, 2019
109
# Wu Pipi, 2019
1110
# zkonge <[email protected]>, 2019
12-
# ppcfish <[email protected]>, 2019
13-
# Arisaka97 <[email protected]>, 2020
1411
# Freesand Leo <[email protected]>, 2020
12+
# ppcfish <[email protected]>, 2020
13+
# Shengjing Zhu <[email protected]>, 2020
1514
#
1615
#, fuzzy
1716
msgid ""
@@ -20,7 +19,7 @@ msgstr ""
2019
"Report-Msgid-Bugs-To: \n"
2120
"POT-Creation-Date: 2020-02-09 12:40+0000\n"
2221
"PO-Revision-Date: 2017-02-16 23:15+0000\n"
23-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
22+
"Last-Translator: Shengjing Zhu <zsj950618@gmail.com>, 2020\n"
2423
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2524
"MIME-Version: 1.0\n"
2625
"Content-Type: text/plain; charset=UTF-8\n"
@@ -190,8 +189,7 @@ msgstr "这是内置的 :func:`open` 函数的别名。"
190189
msgid ""
191190
"Raises an :ref:`auditing event <auditing>` ``open`` with arguments ``path``,"
192191
" ``mode``, ``flags``."
193-
msgstr ""
194-
"引发一个 :ref:`审计事件 <auditing>` ``open`` 附带参数 ``path``、``mode``、``flags``。"
192+
msgstr "``open`` 附带参数 ``path``、``mode``、``flags`` 会引发 :ref:`审计事件 <auditing>`。"
195193

196194
#: ../../library/io.rst:125
197195
msgid ""
@@ -206,7 +204,7 @@ msgstr ""
206204
msgid ""
207205
"Opens the provided file with mode ``'rb'``. This function should be used "
208206
"when the intent is to treat the contents as executable code."
209-
msgstr "以 ``'rb'`` 模式打开提供的文件。如果目的是将其做为可执行代码,则应使用此函数。"
207+
msgstr "以 ``'rb'`` 模式打开提供的文件。如果目的是将文件内容做为可执行代码,则应使用此函数。"
210208

211209
#: ../../library/io.rst:135
212210
msgid "``path`` should be an absolute path."
@@ -537,7 +535,7 @@ msgstr ""
537535
msgid ""
538536
"Read and return one line from the stream. If *size* is specified, at most "
539537
"*size* bytes will be read."
540-
msgstr "从流中读取并返回一行。 如果指定了 *size*,将至多读取 *size* 个字节。"
538+
msgstr "从流中读取并返回一行。如果指定了 *size*,将至多读取 *size* 个字节。"
541539

542540
#: ../../library/io.rst:317
543541
msgid ""

library/logging.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# Leo Li <[email protected]>, 2019
1313
# Shengjing Zhu <[email protected]>, 2019
1414
# ppcfish <[email protected]>, 2019
15-
# Freesand Leo <[email protected]>, 2020
1615
# WH-2099 <[email protected]>, 2020
16+
# Freesand Leo <[email protected]>, 2020
1717
#
1818
#, fuzzy
1919
msgid ""
@@ -22,7 +22,7 @@ msgstr ""
2222
"Report-Msgid-Bugs-To: \n"
2323
"POT-Creation-Date: 2020-03-25 13:16+0000\n"
2424
"PO-Revision-Date: 2017-02-16 23:17+0000\n"
25-
"Last-Translator: WH-2099 <wh2099@outlook.com>, 2020\n"
25+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2020\n"
2626
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2727
"MIME-Version: 1.0\n"
2828
"Content-Type: text/plain; charset=UTF-8\n"
@@ -486,8 +486,8 @@ msgid ""
486486
"line number, function name and stack information as a 4-element tuple. The "
487487
"stack information is returned as ``None`` unless *stack_info* is ``True``."
488488
msgstr ""
489-
"查找调用源的文件名和行号,以 文件名,行号,函数名称和堆栈信息 4元素元组的形式返回。堆栈信息将返回 ``None``除非 *stack_info* "
490-
" ``True``。"
489+
"查找调用源的文件名和行号,以 文件名,行号,函数名称和堆栈信息 4元素元组的形式返回。堆栈信息将返回 ``None``除非 *stack_info* "
490+
" ``True``。"
491491

492492
#: ../../library/logging.rst:321
493493
msgid ""
@@ -528,8 +528,8 @@ msgid ""
528528
"set to false is found - that will be the last logger which is checked for "
529529
"the existence of handlers."
530530
msgstr ""
531-
"检查此记录器是否配置了任何处理器。通过在此记录器及其记录器层次结构中的父级中查找处理器完成此操作。如果找到处理器则返回 "
532-
"``True``,否则返回``False``。只要找到 “propagate” 属性设置为 false的记录器,该方法就会停止搜索层次结构 —— "
531+
"检查此记录器是否配置了任何处理器。通过在此记录器及其记录器层次结构中的父级中查找处理器完成此操作。如果找到处理器则返回 ``True``,否则返回 "
532+
"``False``。只要找到 “propagate” 属性设置为假值的记录器,该方法就会停止搜索层次结构 —— "
533533
"其将是最后一个检查处理器是否存在的记录器。"
534534

535535
#: ../../library/logging.rst:353

0 commit comments

Comments
 (0)