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

Skip to content

Commit 1b7ebbe

Browse files
committed
[po] auto sync bot
1 parent c41b0eb commit 1b7ebbe

10 files changed

Lines changed: 4018 additions & 4018 deletions

File tree

c-api/typeobj.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
# Translators:
77
# Freesand Leo <[email protected]>, 2018
88
# 叶浚安 <[email protected]>, 2019
9-
# jing stone <[email protected]>, 2019
9+
# stonejing <[email protected]>, 2019
1010
#
1111
#, fuzzy
1212
msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.7\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
16+
"POT-Creation-Date: 2019-04-09 11:06+0900\n"
1717
"PO-Revision-Date: 2017-02-16 17:39+0000\n"
18-
"Last-Translator: jing stone <[email protected]>, 2019\n"
18+
"Last-Translator: stonejing <[email protected]>, 2019\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1531,7 +1531,7 @@ msgid ""
15311531
" signature. It should modify its first operand, and return it. This slot "
15321532
"may be left to *NULL*, in this case :c:func:`!PySequence_InPlaceConcat` will"
15331533
" fall back to :c:func:`PySequence_Concat`. It is also used by the augmented"
1534-
" assignment ``+=``, after trying numeric inplace addition via the "
1534+
" assignment ``+=``, after trying numeric in-place addition via the "
15351535
":c:member:`~PyNumberMethods.nb_inplace_add` slot."
15361536
msgstr ""
15371537

@@ -1541,7 +1541,7 @@ msgid ""
15411541
" signature. It should modify its first operand, and return it. This slot "
15421542
"may be left to *NULL*, in this case :c:func:`!PySequence_InPlaceRepeat` will"
15431543
" fall back to :c:func:`PySequence_Repeat`. It is also used by the augmented"
1544-
" assignment ``*=``, after trying numeric inplace multiplication via the "
1544+
" assignment ``*=``, after trying numeric in-place multiplication via the "
15451545
":c:member:`~PyNumberMethods.nb_inplace_multiply` slot."
15461546
msgstr ""
15471547

faq/design.po

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ msgid ""
799799
"Make a copy when using a list as a key. This doesn't work because the list,"
800800
" being a mutable object, could contain a reference to itself, and then the "
801801
"copying code would run into an infinite loop."
802-
msgstr ""
802+
msgstr "使用列表作为键时进行复制。这没有用的,因为作为可变对象的列表可以包含对自身的引用,然后复制代码将进入无限循环。"
803803

804804
#: ../../faq/design.rst:539
805805
msgid ""
@@ -808,6 +808,8 @@ msgid ""
808808
" by accident. It also invalidates an important invariant of dictionaries: "
809809
"every value in ``d.keys()`` is usable as a key of the dictionary."
810810
msgstr ""
811+
"允许列表作为键,但告诉用户不要修改它们。当你意外忘记或修改列表时,这将产生程序中的一类难以跟踪的错误。它还使一个重要的字典不变量无效: "
812+
"``d.keys()`` 中的每个值都可用作字典的键。"
811813

812814
#: ../../faq/design.rst:544
813815
msgid ""
@@ -818,6 +820,8 @@ msgid ""
818820
"read-only -- and again, self-referential objects could cause an infinite "
819821
"loop."
820822
msgstr ""
823+
"将列表用作字典键后,应标记为其只读。问题是,它不仅仅是可以改变其值的顶级对象;你可以使用包含列表作为键的元组。将任何内容作为键关联到字典中都需要将从那里可到达的所有对象标记为只读"
824+
" —— 并且自引用对象可能会导致无限循环。"
821825

822826
#: ../../faq/design.rst:550
823827
msgid ""
@@ -828,13 +832,16 @@ msgid ""
828832
"dictionary (or other hash based structure), remain fixed while the object is"
829833
" in the dictionary (or other structure). ::"
830834
msgstr ""
835+
"如果需要,可以使用以下方法来解决这个问题,但使用它需要你自担风险:你可以将一个可变结构包装在一个类实例中,该实例同时具有 :meth:`__eq__` "
836+
"和 :meth:`__hash__` 方法。然后,你必须确保驻留在字典(或其他基于 hash "
837+
"的结构)中的所有此类包装器对象的哈希值在对象位于字典(或其他结构)中时保持固定。::"
831838

832839
#: ../../faq/design.rst:574
833840
msgid ""
834841
"Note that the hash computation is complicated by the possibility that some "
835842
"members of the list may be unhashable and also by the possibility of "
836843
"arithmetic overflow."
837-
msgstr ""
844+
msgstr "注意,哈希计算由于列表的某些成员可能不可用以及算术溢出的可能性而变得复杂。"
838845

839846
#: ../../faq/design.rst:578
840847
msgid ""
@@ -844,6 +851,9 @@ msgid ""
844851
"a dictionary or not. If you fail to meet these restrictions dictionaries "
845852
"and other hash based structures will misbehave."
846853
msgstr ""
854+
"此外,必须始终如此,如果 ``o1 == o2`` (即 ``o1.__eq__(o2) is True`` )则 ``hash(o1) == "
855+
"hash(o2)``(即 ``o1.__hash__() == o2.__hash__()`` ),无论对象是否在字典中。 "
856+
"如果你不能满足这些限制,字典和其他基于 hash 的结构将会出错。"
847857

848858
#: ../../faq/design.rst:583
849859
msgid ""
@@ -852,6 +862,8 @@ msgid ""
852862
"you are prepared to think hard about the requirements and the consequences "
853863
"of not meeting them correctly. Consider yourself warned."
854864
msgstr ""
865+
"对于 ListWrapper "
866+
",只要包装器对象在字典中,包装列表就不能更改以避免异常。除非你准备好认真考虑需求以及不正确地满足这些需求的后果,否则不要这样做。请留意。"
855867

856868
#: ../../faq/design.rst:590
857869
msgid "Why doesn't list.sort() return the sorted list?"

library/mimetypes.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2018, Python Software Foundation
2+
# Copyright (C) 2001-2019, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6+
# Translators:
7+
# cdarlint <[email protected]>, 2019
8+
#
69
#, fuzzy
710
msgid ""
811
msgstr ""
912
"Project-Id-Version: Python 3.7\n"
1013
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-11-08 09:41+0900\n"
14+
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1215
"PO-Revision-Date: 2017-02-16 23:18+0000\n"
16+
"Last-Translator: cdarlint <[email protected]>, 2019\n"
1317
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1418
"MIME-Version: 1.0\n"
1519
"Content-Type: text/plain; charset=UTF-8\n"
@@ -296,4 +300,4 @@ msgstr ""
296300

297301
#: ../../library/mimetypes.rst:261
298302
msgid ":ref:`Availability <availability>`: Windows."
299-
msgstr ""
303+
msgstr ":ref:`可用性 <availability>`: Windows。"

library/operator.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.7\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
16+
"POT-Creation-Date: 2019-04-09 11:06+0900\n"
1717
"PO-Revision-Date: 2017-02-16 23:20+0000\n"
1818
"Last-Translator: walkinrain <[email protected]>, 2019\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -723,7 +723,7 @@ msgid "``gt(a, b)``"
723723
msgstr ""
724724

725725
#: ../../library/operator.rst:442
726-
msgid "Inplace Operators"
726+
msgid "In-place Operators"
727727
msgstr ""
728728

729729
#: ../../library/operator.rst:444
@@ -752,8 +752,8 @@ msgstr ""
752752

753753
#: ../../library/operator.rst:465
754754
msgid ""
755-
"For mutable targets such as lists and dictionaries, the inplace method will "
756-
"perform the update, so no subsequent assignment is necessary:"
755+
"For mutable targets such as lists and dictionaries, the in-place method will"
756+
" perform the update, so no subsequent assignment is necessary:"
757757
msgstr ""
758758

759759
#: ../../library/operator.rst:477

library/os.po

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# Freesand Leo <[email protected]>, 2019
1717
# 林行众 <[email protected]>, 2019
1818
# Zombie110year <[email protected]>, 2019
19+
# cdarlint <[email protected]>, 2019
1920
#
2021
#, fuzzy
2122
msgid ""
@@ -24,7 +25,7 @@ msgstr ""
2425
"Report-Msgid-Bugs-To: \n"
2526
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2627
"PO-Revision-Date: 2017-02-16 23:20+0000\n"
27-
"Last-Translator: Zombie110year <zombie110year@gmail.com>, 2019\n"
28+
"Last-Translator: cdarlint <cdarling@126.com>, 2019\n"
2829
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2930
"MIME-Version: 1.0\n"
3031
"Content-Type: text/plain; charset=UTF-8\n"
@@ -879,14 +880,16 @@ msgid ""
879880
"<fd_inheritance>` by default or non-inheritable if *inheritable* is "
880881
"``False``."
881882
msgstr ""
883+
"把文件描述符 *fd* 复制为 *fd2*,必要时先关闭后者。返回 *fd2*。新的文件描述符默认是 "
884+
":ref:`可继承的<fd_inheritance>`,除非在 *inheritable* 为 ``False`` 时,是不可继承的。"
882885

883886
#: ../../library/os.rst:735
884887
msgid "Add the optional *inheritable* parameter."
885888
msgstr "添加可选参数 *inheritable*。"
886889

887890
#: ../../library/os.rst:738
888891
msgid "Return *fd2* on success. Previously, ``None`` was always returned."
889-
msgstr ""
892+
msgstr "成功时返回 *fd2*,以过去的版本中,总是返回 ``None``。"
890893

891894
#: ../../library/os.rst:744
892895
msgid ""
@@ -938,7 +941,7 @@ msgstr ""
938941

939942
#: ../../library/os.rst:787
940943
msgid "As of Python 3.3, this is equivalent to ``os.pathconf(fd, name)``."
941-
msgstr ""
944+
msgstr "从 Python 3.3 起,此功能等价于 ``os.pathconf(fd, name)``。"
942945

943946
#: ../../library/os.rst:794
944947
msgid ""
@@ -1070,7 +1073,7 @@ msgstr ""
10701073
#: ../../library/os.rst:1905 ../../library/os.rst:1927
10711074
#: ../../library/os.rst:2004 ../../library/os.rst:2025
10721075
msgid "The *dir_fd* argument."
1073-
msgstr ""
1076+
msgstr "*dir_fd* 参数。"
10741077

10751078
#: ../../library/os.rst:927 ../../library/os.rst:1219
10761079
#: ../../library/os.rst:1342 ../../library/os.rst:3696
@@ -1116,15 +1119,15 @@ msgstr ""
11161119

11171120
#: ../../library/os.rst:961
11181121
msgid "The above constants are only available on Unix."
1119-
msgstr ""
1122+
msgstr "这个常数仅在 Unix 系统中可用。"
11201123

11211124
#: ../../library/os.rst:963
11221125
msgid "Add :data:`O_CLOEXEC` constant."
11231126
msgstr ""
11241127

11251128
#: ../../library/os.rst:974
11261129
msgid "The above constants are only available on Windows."
1127-
msgstr ""
1130+
msgstr "这个常数仅在 Windows 系统中可用。"
11281131

11291132
#: ../../library/os.rst:987
11301133
msgid ""
@@ -1149,11 +1152,11 @@ msgstr ""
11491152
#: ../../library/os.rst:1006 ../../library/os.rst:1032
11501153
#: ../../library/os.rst:3312
11511154
msgid ":ref:`Availability <availability>`: some flavors of Unix."
1152-
msgstr ""
1155+
msgstr ":ref:`可用性 <availability>`: 某些 Unix。"
11531156

11541157
#: ../../library/os.rst:1007 ../../library/os.rst:1019
11551158
msgid "The new file descriptors are now non-inheritable."
1156-
msgstr ""
1159+
msgstr "新的文件描述符不再可继承。"
11571160

11581161
#: ../../library/os.rst:1013
11591162
msgid ""
@@ -1556,7 +1559,7 @@ msgstr ""
15561559
#: ../../library/os.rst:1436 ../../library/os.rst:1442
15571560
#: ../../library/os.rst:3520 ../../library/os.rst:3549
15581561
msgid ":ref:`Availability <availability>`: Windows."
1559-
msgstr ""
1562+
msgstr ":ref:`可用性 <availability>`: Windows。"
15601563

15611564
#: ../../library/os.rst:1440
15621565
msgid "Set the \"inheritable\" flag of the specified handle."
@@ -3960,7 +3963,7 @@ msgstr ""
39603963

39613964
#: ../../library/os.rst:3738
39623965
msgid ":ref:`Availability <availability>`: some Unix systems."
3963-
msgstr ""
3966+
msgstr ":ref:`可用性 <availability>`: 部分 Unix 系统。"
39643967

39653968
#: ../../library/os.rst:3743
39663969
msgid ""

library/ssl.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# ww song <[email protected]>, 2018
1010
# Freesand Leo <[email protected]>, 2018
1111
# focusheart <[email protected]>, 2019
12+
# cdarlint <[email protected]>, 2019
1213
#
1314
#, fuzzy
1415
msgid ""
@@ -17,7 +18,7 @@ msgstr ""
1718
"Report-Msgid-Bugs-To: \n"
1819
"POT-Creation-Date: 2019-03-01 10:44+0900\n"
1920
"PO-Revision-Date: 2017-02-16 23:27+0000\n"
20-
"Last-Translator: focusheart <focusheart@gmail.com>, 2019\n"
21+
"Last-Translator: cdarlint <cdarling@126.com>, 2019\n"
2122
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2223
"MIME-Version: 1.0\n"
2324
"Content-Type: text/plain; charset=UTF-8\n"
@@ -548,7 +549,7 @@ msgstr "示例::"
548549

549550
#: ../../library/ssl.rst:488 ../../library/ssl.rst:503
550551
msgid ":ref:`Availability <availability>`: Windows."
551-
msgstr ""
552+
msgstr ":ref:`可用性 <availability>`: Windows。"
552553

553554
#: ../../library/ssl.rst:493
554555
msgid ""

library/xml.dom.minidom.po

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2018, Python Software Foundation
2+
# Copyright (C) 2001-2019, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.7\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2018-12-20 10:06+0900\n"
14+
"POT-Creation-Date: 2019-04-09 11:06+0900\n"
1515
"PO-Revision-Date: 2017-02-16 23:36+0000\n"
1616
"Last-Translator: Jerry Chen <[email protected]>, 2017\n"
1717
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -305,48 +305,20 @@ msgid ":class:`DOMTimeStamp`"
305305
msgstr ""
306306

307307
#: ../../library/xml.dom.minidom.rst:230
308-
msgid ":class:`DocumentType`"
309-
msgstr ""
310-
311-
#: ../../library/xml.dom.minidom.rst:232
312-
msgid ":class:`DOMImplementation`"
313-
msgstr ""
314-
315-
#: ../../library/xml.dom.minidom.rst:234
316-
msgid ":class:`CharacterData`"
317-
msgstr ""
318-
319-
#: ../../library/xml.dom.minidom.rst:236
320-
msgid ":class:`CDATASection`"
321-
msgstr ""
322-
323-
#: ../../library/xml.dom.minidom.rst:238
324-
msgid ":class:`Notation`"
325-
msgstr ""
326-
327-
#: ../../library/xml.dom.minidom.rst:240
328-
msgid ":class:`Entity`"
329-
msgstr ""
330-
331-
#: ../../library/xml.dom.minidom.rst:242
332308
msgid ":class:`EntityReference`"
333309
msgstr ""
334310

335-
#: ../../library/xml.dom.minidom.rst:244
336-
msgid ":class:`DocumentFragment`"
337-
msgstr ""
338-
339-
#: ../../library/xml.dom.minidom.rst:246
311+
#: ../../library/xml.dom.minidom.rst:232
340312
msgid ""
341313
"Most of these reflect information in the XML document that is not of general"
342314
" utility to most DOM users."
343315
msgstr ""
344316

345-
#: ../../library/xml.dom.minidom.rst:250
317+
#: ../../library/xml.dom.minidom.rst:236
346318
msgid "Footnotes"
347319
msgstr "脚注"
348320

349-
#: ../../library/xml.dom.minidom.rst:251
321+
#: ../../library/xml.dom.minidom.rst:237
350322
msgid ""
351323
"The encoding name included in the XML output should conform to the "
352324
"appropriate standards. For example, \"UTF-8\" is valid, but \"UTF8\" is not "

tutorial/datastructures.po

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77
# Jerry Chen <[email protected]>, 2017
88
# xiao xu <[email protected]>, 2018
99
# Fred <[email protected]>, 2018
10-
# zkonge, 2018
1110
# Woko <[email protected]>, 2018
12-
# Junkai Shao <[email protected]>, 2018
1311
# Henry Zhu <[email protected]>, 2018
12+
# Junkai Shao <[email protected]>, 2018
1413
# Freesand Leo <[email protected]>, 2019
14+
# zkonge, 2019
15+
# chyroc chen <[email protected]>, 2019
1516
#
1617
#, fuzzy
1718
msgid ""
@@ -20,7 +21,7 @@ msgstr ""
2021
"Report-Msgid-Bugs-To: \n"
2122
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2223
"PO-Revision-Date: 2017-02-16 23:40+0000\n"
23-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
24+
"Last-Translator: chyroc chen <chyroc@qq.com>, 2019\n"
2425
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2526
"MIME-Version: 1.0\n"
2627
"Content-Type: text/plain; charset=UTF-8\n"
@@ -586,7 +587,7 @@ msgid ""
586587
"expression ``C``. When used as a general value and not as a Boolean, the "
587588
"return value of a short-circuit operator is the last evaluated argument."
588589
msgstr ""
589-
"布尔运算符 ``and`` 和 ``or`` 也被成为 *短路* 运算符:它们的参数从左至右解析,一旦可以确定结果解析就会停止。例如,如果 ``A`` "
590+
"布尔运算符 ``and`` 和 ``or`` 也被称为 *短路* 运算符:它们的参数从左至右解析,一旦可以确定结果解析就会停止。例如,如果 ``A`` "
590591
"和 ``C`` 为真而 ``B`` 为假,那么 ``A and B and C`` 不会解析 "
591592
"``C``。当作用于普通值而非布尔值时,短路操作符的返回值通常是最后一个变量。"
592593

0 commit comments

Comments
 (0)