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

Skip to content

Commit 07c5f44

Browse files
committed
[po] auto sync bot
1 parent 619f960 commit 07c5f44

6 files changed

Lines changed: 39 additions & 30 deletions

File tree

c-api/bytearray.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#
66
# Translators:
77
# 刘士 <[email protected]>, 2018
8-
# Freesand Leo <[email protected]>, 2019
98
# Pandaaaa906 <[email protected]>, 2019
9+
# Freesand Leo <[email protected]>, 2019
1010
#
1111
#, fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To: \n"
1616
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1717
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
18-
"Last-Translator: Pandaaaa906 <ye.pandaaaa906@gmail.com>, 2019\n"
18+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 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"
@@ -75,17 +75,17 @@ msgstr "根据 *string* 和它的长度 *len* 生成一个字节数组对象。
7575
#: ../../c-api/bytearray.rst:56
7676
msgid ""
7777
"Concat bytearrays *a* and *b* and return a new bytearray with the result."
78-
msgstr "连接字节数组*a**b*并返回一个带有结果的新的字节数组。"
78+
msgstr "连接字节数组 *a**b* 并返回一个带有结果的新的字节数组。"
7979

8080
#: ../../c-api/bytearray.rst:61
8181
msgid "Return the size of *bytearray* after checking for a *NULL* pointer."
82-
msgstr "在检查*NULL*指针后返回*bytearray*的大小。"
82+
msgstr "在检查 *NULL* 指针后返回 *bytearray* 的大小。"
8383

8484
#: ../../c-api/bytearray.rst:66
8585
msgid ""
8686
"Return the contents of *bytearray* as a char array after checking for a "
8787
"*NULL* pointer. The returned array always has an extra null byte appended."
88-
msgstr "数组在检查*NULL*指针后以字符数组形式返回*bytearray*内容。返回的字符数组结尾总是加上额外的空字节。"
88+
msgstr "数组在检查 *NULL* 指针后以字符数组形式返回 *bytearray* 内容。返回的字符数组结尾总是加上额外的空字节。"
8989

9090
#: ../../c-api/bytearray.rst:73
9191
msgid "Resize the internal buffer of *bytearray* to *len*."
@@ -101,8 +101,8 @@ msgstr "这些宏减低安全性以换取性能,它们不检查指针。"
101101

102102
#: ../../c-api/bytearray.rst:82
103103
msgid "Macro version of :c:func:`PyByteArray_AsString`."
104-
msgstr "C函数:c:func:`PyByteArray_AsString`的宏版本。"
104+
msgstr "C函数 :c:func:`PyByteArray_AsString` 的宏版本。"
105105

106106
#: ../../c-api/bytearray.rst:87
107107
msgid "Macro version of :c:func:`PyByteArray_Size`."
108-
msgstr "C函数:c:func:`PyByteArray_Size`的宏版本。"
108+
msgstr "C函数 :c:func:`PyByteArray_Size` 的宏版本。"

c-api/dict.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Pandaaaa906 <ye.pandaaaa906@gmail.com>, 2018
7+
# Freesand Leo <yuqinju@163.com>, 2018
88
# ww song <[email protected]>, 2018
99
# SKY H. <[email protected]>, 2018
1010
#
@@ -30,7 +30,7 @@ msgstr "字典对象"
3030
#: ../../c-api/dict.rst:13
3131
msgid ""
3232
"This subtype of :c:type:`PyObject` represents a Python dictionary object."
33-
msgstr "这个C类型:c:type:`PyObject`的子类型代表一个Python字典对象。"
33+
msgstr "这个C类型 :c:type:`PyObject` 的子类型代表一个Python字典对象。"
3434

3535
#: ../../c-api/dict.rst:18
3636
msgid ""

c-api/list.po

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#
66
# Translators:
77
# Ming Jia <[email protected]>, 2017
8-
# cdarlint <[email protected]>, 2017
98
# Pandaaaa906 <[email protected]>, 2019
109
#
1110
#, fuzzy
@@ -29,14 +28,15 @@ msgstr "列表对象"
2928

3029
#: ../../c-api/list.rst:13
3130
msgid "This subtype of :c:type:`PyObject` represents a Python list object."
32-
msgstr "这个类型,:c:type:`PyObject`,代表这一个Python列表对象。"
31+
msgstr "这个C类型:c:type:`PyObject`的子类型代表一个Python列表对象。"
3332

3433
#: ../../c-api/list.rst:18
3534
msgid ""
3635
"This instance of :c:type:`PyTypeObject` represents the Python list type. "
3736
"This is the same object as :class:`list` in the Python layer."
3837
msgstr ""
39-
"这个实例,:c:type:`PyTypeObject`,代表Python列表类型。这个就和 :class:`list` 一样在Python层"
38+
"这是个属于 :c:type:`PyTypeObject` 的代表Python列表类型的实例。在Python层面和类型 :class:`list` "
39+
"是同一个对象。"
4040

4141
#: ../../c-api/list.rst:24
4242
msgid ""
@@ -61,16 +61,18 @@ msgid ""
6161
":c:func:`PySequence_SetItem` or expose the object to Python code before "
6262
"setting all items to a real object with :c:func:`PyList_SetItem`."
6363
msgstr ""
64+
"当 *len* 大于零时,被返回的列表对象项目被设成 ``NULL``。因此你不能用类似C函数 :c:func:`PySequence_SetItem`"
65+
" 的抽象API或者用C函数 :c:func:`PyList_SetItem`将所有项目设置成真实对象前对Python代码公开这个对象。"
6466

6567
#: ../../c-api/list.rst:50
6668
msgid ""
6769
"Return the length of the list object in *list*; this is equivalent to "
6870
"``len(list)`` on a list object."
69-
msgstr ""
71+
msgstr "返回 *list* 中列表对象的长度;这等于在列表对象调用 ``len(list)`` 。"
7072

7173
#: ../../c-api/list.rst:56
7274
msgid "Macro form of :c:func:`PyList_Size` without error checking."
73-
msgstr ""
75+
msgstr "宏版本的C函数 :c:func:`PyList_Size` ,没有错误检测。"
7476

7577
#: ../../c-api/list.rst:61
7678
msgid ""
@@ -79,16 +81,18 @@ msgid ""
7981
"supported. If *index* is out of bounds, return *NULL* and set an "
8082
":exc:`IndexError` exception."
8183
msgstr ""
84+
"返回 *list* 指向的列表中位置 *index* 的对象。这个位置必需是正数,不支持倒叙索引。如果 *index* 超出边界,返回 *NULL* "
85+
"并设置 :exc:`IndexError` 错误。"
8286

8387
#: ../../c-api/list.rst:69
8488
msgid "Macro form of :c:func:`PyList_GetItem` without error checking."
85-
msgstr ""
89+
msgstr "宏版本的C函数 :c:func:`PyList_GetItem` ,没有错误检测。"
8690

8791
#: ../../c-api/list.rst:74
8892
msgid ""
8993
"Set the item at index *index* in list to *item*. Return ``0`` on success or"
9094
" ``-1`` on failure."
91-
msgstr ""
95+
msgstr "将列表中索引为 *index* 的对象设为 *item*。成功时返回 ``0`` ,失败时返回 ``-1`` 。"
9296

9397
#: ../../c-api/list.rst:79
9498
msgid ""

library/threading.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# ww song <[email protected]>, 2018
88
# Freesand Leo <[email protected]>, 2019
9+
# Pandaaaa906 <[email protected]>, 2019
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1617
"PO-Revision-Date: 2017-02-16 23:30+0000\n"
17-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
18+
"Last-Translator: Pandaaaa906 <ye.pandaaaa906@gmail.com>, 2019\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"
@@ -24,7 +25,7 @@ msgstr ""
2425

2526
#: ../../library/threading.rst:2
2627
msgid ":mod:`threading` --- Thread-based parallelism"
27-
msgstr ":mod:`threading` --- 基于线程的并行性"
28+
msgstr ":mod:`threading` --- 基于线程的并行"
2829

2930
#: ../../library/threading.rst:7
3031
msgid "**Source code:** :source:`Lib/threading.py`"
@@ -34,7 +35,7 @@ msgstr "**源代码:** :source:`Lib/threading.py`"
3435
msgid ""
3536
"This module constructs higher-level threading interfaces on top of the lower"
3637
" level :mod:`_thread` module. See also the :mod:`queue` module."
37-
msgstr ""
38+
msgstr "这个模块在较低级的模块 :mod:`_thread` 基础上建立较高级的线程接口。参见:模块 :mod:`queue` 。"
3839

3940
#: ../../library/threading.rst:14
4041
msgid "This module used to be optional, it is now always available."

reference/simple_stmts.po

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -480,22 +480,24 @@ msgid ""
480480
"happens. It is useful as a placeholder when a statement is required "
481481
"syntactically, but no code needs to be executed, for example::"
482482
msgstr ""
483+
":keyword:`pass` 是一个空操作 --- 当它被执行时,什么都不发生。 "
484+
"它适合当语法上需要一条语句但并不需要执行任何代码时用来临时占位,例如::"
483485

484486
#: ../../reference/simple_stmts.rst:438
485487
msgid "The :keyword:`!del` statement"
486-
msgstr ""
488+
msgstr ":keyword:`!del` 语句"
487489

488490
#: ../../reference/simple_stmts.rst:448
489491
msgid ""
490492
"Deletion is recursively defined very similar to the way assignment is "
491493
"defined. Rather than spelling it out in full details, here are some hints."
492-
msgstr ""
494+
msgstr "删除是递归定义的,与赋值的定义方式非常类似。 此处不再详细说明,只给出一些提示。"
493495

494496
#: ../../reference/simple_stmts.rst:451
495497
msgid ""
496498
"Deletion of a target list recursively deletes each target, from left to "
497499
"right."
498-
msgstr ""
500+
msgstr "目标列表的删除将从左至右递归地删除每一个目标。"
499501

500502
#: ../../reference/simple_stmts.rst:457
501503
msgid ""
@@ -504,24 +506,26 @@ msgid ""
504506
"statement in the same code block. If the name is unbound, a "
505507
":exc:`NameError` exception will be raised."
506508
msgstr ""
509+
"名称的删除将从局部或全局命名空间中移除该名称的绑定,具体作用域的确定是看该名称是否有在同一代码块的 :keyword:`global` 语句中出现。 "
510+
"如果该名称未被绑定,将会引发 :exc:`NameError`。"
507511

508512
#: ../../reference/simple_stmts.rst:464
509513
msgid ""
510514
"Deletion of attribute references, subscriptions and slicings is passed to "
511515
"the primary object involved; deletion of a slicing is in general equivalent "
512516
"to assignment of an empty slice of the right type (but even this is "
513517
"determined by the sliced object)."
514-
msgstr ""
518+
msgstr "属性引用、抽取和切片的删除会被传递给相应的原型对象;删除一个切片基本等价于赋值为一个右侧类型的空切片(但即便这一点也是由切片对象决定的)。"
515519

516520
#: ../../reference/simple_stmts.rst:469
517521
msgid ""
518522
"Previously it was illegal to delete a name from the local namespace if it "
519523
"occurs as a free variable in a nested block."
520-
msgstr ""
524+
msgstr "在之前版本中,如果一个名称作为被嵌套代码块中的自由变量出现,则将其从局部命名空间中删除是非法的。"
521525

522526
#: ../../reference/simple_stmts.rst:477
523527
msgid "The :keyword:`!return` statement"
524-
msgstr ""
528+
msgstr ":keyword:`!return` 语句"
525529

526530
#: ../../reference/simple_stmts.rst:487
527531
msgid ""

tutorial/datastructures.po

Lines changed: 5 additions & 5 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
#
@@ -9,17 +9,17 @@
99
# Fred <[email protected]>, 2018
1010
# 玉龙 刘 <[email protected]>, 2018
1111
# Junkai Shao <[email protected]>, 2018
12-
# Freesand Leo <[email protected]>, 2018
1312
# Henry Zhu <[email protected]>, 2018
13+
# Freesand Leo <[email protected]>, 2019
1414
#
1515
#, fuzzy
1616
msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.7\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2018-12-20 10:06+0900\n"
20+
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2121
"PO-Revision-Date: 2017-02-16 23:40+0000\n"
22-
"Last-Translator: Henry Zhu <zhuhe212@163.com>, 2018\n"
22+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
2323
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2424
"MIME-Version: 1.0\n"
2525
"Content-Type: text/plain; charset=UTF-8\n"
@@ -282,7 +282,7 @@ msgstr "关于本行中星号的详细说明,参见 :ref:`tut-unpacking-argume
282282

283283
#: ../../tutorial/datastructures.rst:334
284284
msgid "The :keyword:`!del` statement"
285-
msgstr ""
285+
msgstr ":keyword:`!del` 语句"
286286

287287
#: ../../tutorial/datastructures.rst:336
288288
msgid ""

0 commit comments

Comments
 (0)