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

Skip to content

Commit 6aed5d4

Browse files
[po] auto sync
1 parent 675f7a1 commit 6aed5d4

11 files changed

Lines changed: 32 additions & 12 deletions

File tree

library/asyncio-policy.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ msgid ""
308308
"There is no noticeable overhead when handling a big number of children "
309309
"(*O(1)* each time a child terminates), but starting a thread per process "
310310
"requires extra memory."
311-
msgstr ""
311+
msgstr "当处理大量子进程时不存在显著的开销 (每次子进程结束时为 *O(1)*),但当每个进程启动一个线程时则需要额外的内存。"
312312

313313
#: ../../library/asyncio-policy.rst:214
314314
msgid "This watcher is used by default."

library/collections.abc.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# Jarry Shaw <[email protected]>, 2018
88
# walkinrain <[email protected]>, 2019
99
# 刘玉龙 <[email protected]>, 2019
10-
# Freesand Leo <[email protected]>, 2020
1110
# Hissy <[email protected]>, 2020
11+
# Freesand Leo <[email protected]>, 2020
1212
#
1313
#, fuzzy
1414
msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717
"Report-Msgid-Bugs-To: \n"
1818
"POT-Creation-Date: 2020-12-21 04:56+0000\n"
1919
"PO-Revision-Date: 2017-02-16 23:03+0000\n"
20-
"Last-Translator: Hissy <[email protected]>, 2020\n"
20+
"Last-Translator: Freesand Leo <[email protected]>, 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"
@@ -540,6 +540,10 @@ msgid ""
540540
" a classmethod or regular method that can construct new instances from an "
541541
"iterable argument."
542542
msgstr ""
543+
"由于某些集合操作会创建新集合,默认的混入方法需要一种从可迭代对象里创建新实例的方式。 假定类构造器具有 ``ClassName(iterable)`` "
544+
"形式的签名。 这样它将执行一个名为 :meth:`_from_iterable` 的内部类方法,该方法会调用 ``cls(iterable)`` "
545+
"来产生一个新集合。 如果 :class:`Set` 混入类在具有不同构造器签名的类中被使用,你将需要通过类方法或常规方法来重载 "
546+
":meth:`_from_iterable`,以便基于可迭代对象参数来构造新的实例。"
543547

544548
#: ../../library/collections.abc.rst:298
545549
msgid ""

library/collections.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ msgstr "命名元组实例没有字典,所以它们要更轻量,并且占用
998998
msgid ""
999999
"To support pickling, the named tuple class should be assigned to a variable "
10001000
"that matches *typename*."
1001-
msgstr ""
1001+
msgstr "要支持封存操作,应当将命名元组类赋值给一个匹配 *typename* 的变量。"
10021002

10031003
#: ../../library/collections.rst:855
10041004
msgid "Added support for *rename*."

library/fnmatch.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# 操旭 <[email protected]>, 2017
88
# dannyvi <[email protected]>, 2018
99
# ppcfish <[email protected]>, 2019
10-
# Freesand Leo <[email protected]>, 2019
10+
# Freesand Leo <[email protected]>, 2020
1111
#
1212
#, fuzzy
1313
msgid ""
@@ -16,7 +16,7 @@ msgstr ""
1616
"Report-Msgid-Bugs-To: \n"
1717
"POT-Creation-Date: 2020-12-21 04:56+0000\n"
1818
"PO-Revision-Date: 2017-02-16 23:10+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"
@@ -132,6 +132,8 @@ msgid ""
132132
"*pattern*. It is the same as ``[n for n in names if fnmatch(n, pattern)]``, "
133133
"but implemented more efficiently."
134134
msgstr ""
135+
"基于可迭代对象 *names* 中匹配 *pattern* 的元素构造一个列表。 它等价于 ``[n for n in names if "
136+
"fnmatch(n, pattern)]``,但实现得更有效率。"
135137

136138
#: ../../library/fnmatch.rst:84
137139
msgid ""

library/functions.po

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# ww song <[email protected]>, 2018
1313
# zkonge <[email protected]>, 2019
1414
# Arisaka97 <[email protected]>, 2020
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-12-21 04:56+0000\n"
2424
"PO-Revision-Date: 2017-02-16 23:11+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"
@@ -608,6 +608,11 @@ msgid ""
608608
"*flags* argument is it -- the flags (future features and compiler options) "
609609
"in the surrounding code are ignored."
610610
msgstr ""
611+
"可选参数 *flags* 和 *dont_inherit* 控制应当激活哪个 :ref:`编译器选项 <ast-compiler-flags>` "
612+
"以及应当允许哪个 :ref:`future 特性 <future>`。 如果两者都未提供 (或都为零) 则代码会应用与调用 "
613+
":func:`compile` 的代码相同的旗标来编译。 如果给出了 *flags* 参数而未给出 *dont_inherit* (或者为零) "
614+
"则会在无论如何都将被使用的旗标之外还会额外使用 *flags* 参数所指定的编译器选项和 future 语句。 如果 *dont_inherit* "
615+
"为非零整数,则只使用 *flags* 参数 -- 外围代码中的旗标 (future 特性和编译器选项) 会被忽略。"
611616

612617
#: ../../library/functions.rst:259
613618
msgid ""

library/itertools.po

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@ msgid ""
752752
"keeping pools of values in memory to generate the products. Accordingly, it"
753753
" is only useful with finite inputs."
754754
msgstr ""
755+
"在 :func:`product` 运行之前,它会完全耗尽输入的可迭代对象,在内存中保留值的临时池以生成结果积。 相应地,它只适用于无限的输入。"
755756

756757
#: ../../library/itertools.rst:572
757758
msgid ""

library/logging.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1757,7 +1757,7 @@ msgstr ""
17571757
msgid ""
17581758
"The *level* parameter was defaulted to level ``CRITICAL``. See "
17591759
":issue:`28524` for more information about this change."
1760-
msgstr ""
1760+
msgstr "*level* 形参默认级别为 ``CRITICAL``。 请参阅 :issue:`28524` 了解此项改变的更多细节。"
17611761

17621762
#: ../../library/logging.rst:1097
17631763
msgid ""

library/random.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ msgid ""
253253
":meth:`getrandbits` enables :meth:`randrange` to handle arbitrarily large "
254254
"ranges."
255255
msgstr ""
256+
"返回具有 *k* 个随机比特位的非负 Python 整数。 此方法随 MersenneTwister 生成器一起提供,其他一些生成器也可能将其作为 "
257+
"API 的可选部分提供。 在可能的情况下,:meth:`getrandbits` 会启用 :meth:`randrange` 来处理任意大的区间。"
256258

257259
#: ../../library/random.rst:151
258260
msgid "This method now accepts zero for *k*."

library/sqlite3.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# Kelly Hwong <[email protected]>, 2019
1313
# ppcfish <[email protected]>, 2019
1414
# Arisaka97 <[email protected]>, 2020
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-12-21 04:56+0000\n"
2424
"PO-Revision-Date: 2017-02-16 23:27+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"
@@ -279,6 +279,9 @@ msgid ""
279279
"for generated fields (for example ``max(data)``), even when *detect_types* "
280280
"parameter is set. In such case, the returned type is :class:`str`."
281281
msgstr ""
282+
"*detect_types* 默认为 0 (即关闭,不进行类型检测),你可以将其设为任意的 :const:`PARSE_DECLTYPES` 和 "
283+
":const:`PARSE_COLNAMES` 组合来启用类型检测。 由于 SQLite 的行为,生成的字段类型 (例如 ``max(data)``) "
284+
"不能被检测,即使在设置了 *detect_types* 形参时也是如此。 在此情况下,返回的类型为 :class:`str`。"
282285

283286
#: ../../library/sqlite3.rst:204
284287
msgid ""

library/types.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ msgstr ""
337337

338338
#: ../../library/types.rst:263
339339
msgid "This type can now be subclassed."
340-
msgstr ""
340+
msgstr "此类型现在可以被子类化。"
341341

342342
#: ../../library/types.rst:269
343343
msgid "The type of traceback objects such as found in ``sys.exc_info()[2]``."

0 commit comments

Comments
 (0)