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

Skip to content

Commit 92933aa

Browse files
committed
[po] auto sync bot
1 parent ee925d5 commit 92933aa

3 files changed

Lines changed: 26 additions & 8 deletions

File tree

library/socket.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# Freesand Leo <[email protected]>, 2019
1010
# Meng Du <[email protected]>, 2019
1111
# focusheart <[email protected]>, 2019
12+
# Harry Z <[email protected]>, 2019
1213
#
1314
#, fuzzy
1415
msgid ""
@@ -17,7 +18,7 @@ msgstr ""
1718
"Report-Msgid-Bugs-To: \n"
1819
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1920
"PO-Revision-Date: 2017-02-16 23:26+0000\n"
20-
"Last-Translator: focusheart <focusheart@gmail.com>, 2019\n"
21+
"Last-Translator: Harry Z <harzjc@gmail.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"
@@ -27,24 +28,24 @@ msgstr ""
2728

2829
#: ../../library/socket.rst:2
2930
msgid ":mod:`socket` --- Low-level networking interface"
30-
msgstr ""
31+
msgstr ":mod:`socket` --- 底层网络接口"
3132

3233
#: ../../library/socket.rst:7
3334
msgid "**Source code:** :source:`Lib/socket.py`"
34-
msgstr ""
35+
msgstr "**源代码:** :source:`Lib/socket.py`"
3536

3637
#: ../../library/socket.rst:11
3738
msgid ""
3839
"This module provides access to the BSD *socket* interface. It is available "
3940
"on all modern Unix systems, Windows, MacOS, and probably additional "
4041
"platforms."
41-
msgstr ""
42+
msgstr "这个模块提供了访问BSD*套接字*的接口。在所有现代Unix系统、Windows、macOS和其他一些平台上可用。"
4243

4344
#: ../../library/socket.rst:16
4445
msgid ""
4546
"Some behavior may be platform dependent, since calls are made to the "
4647
"operating system socket APIs."
47-
msgstr ""
48+
msgstr "一些行为可能因平台不同而异,因为调用的是操作系统的套接字API。"
4849

4950
#: ../../library/socket.rst:21
5051
msgid ""

library/stdtypes.po

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,6 +1417,9 @@ msgid ""
14171417
"*j* is omitted or ``None``, use ``len(s)``. If *i* is greater than or equal"
14181418
" to *j*, the slice is empty."
14191419
msgstr ""
1420+
"*s* 从 *i* 到 *j* 的切片被定义为所有满足 ``i <= k < j`` 的索引号 *k* 的项组成的序列。 如果 *i* 或 *j* 大于"
1421+
" ``len(s)``,则使用 ``len(s)``。 如果 *i* 被省略或为 ``None``,则使用 ``0``。 如果 *j* 被省略或为 "
1422+
"``None``,则使用 ``len(s)``。 如果 *i* 大于等于 *j*,则切片为空。"
14201423

14211424
#: ../../library/stdtypes.rst:949
14221425
msgid ""
@@ -1430,6 +1433,11 @@ msgid ""
14301433
"(which end depends on the sign of *k*). Note, *k* cannot be zero. If *k* is"
14311434
" ``None``, it is treated like ``1``."
14321435
msgstr ""
1436+
"*s* 从 *i* 到 *j* 步长为 *k* 的切片被定义为所有满足 ``0 <= n < (j-i)/k`` 的索引号 ``x = i + "
1437+
"n*k`` 的项组成的序列。 换句话说,索引号为 ``i``, ``i+k``, ``i+2*k``, ``i+3*k``,以此类推,当达到 *j* "
1438+
"时停止 (但一定不包括 *j*)。 当 *k* 为正值时,*i* 和 *j* 会被减至不大于 ``len(s)``。 当 *k* 为负值时,*i* 和 "
1439+
"*j* 会被减至不大于 ``len(s) - 1``。 如果 *i* 或 *j* 被省略或为 ``None``,它们会成为“终止”值 "
1440+
"(是哪一端的终止值则取决于 *k* 的符号)。 请注意,*k* 不可为零。 如果 *k* 为 ``None``,则当作 ``1`` 处理。"
14331441

14341442
#: ../../library/stdtypes.rst:960
14351443
msgid ""
@@ -1438,13 +1446,17 @@ msgid ""
14381446
"quadratic runtime cost in the total sequence length. To get a linear "
14391447
"runtime cost, you must switch to one of the alternatives below:"
14401448
msgstr ""
1449+
"拼接不可变序列总是会生成新的对象。 这意味着通过重复拼接来构建序列的运行时开销将会基于序列总长度的乘方。 "
1450+
"想要获得线性的运行时开销,你必须改用下列替代方案之一:"
14411451

14421452
#: ../../library/stdtypes.rst:965
14431453
msgid ""
14441454
"if concatenating :class:`str` objects, you can build a list and use "
14451455
":meth:`str.join` at the end or else write to an :class:`io.StringIO` "
14461456
"instance and retrieve its value when complete"
14471457
msgstr ""
1458+
"如果拼接 :class:`str` 对象,你可以构建一个列表并在最后使用 :meth:`str.join` 或是写入一个 "
1459+
":class:`io.StringIO` 实例并在结束时获取它的值"
14481460

14491461
#: ../../library/stdtypes.rst:969
14501462
msgid ""
@@ -1453,22 +1465,25 @@ msgid ""
14531465
"concatenation with a :class:`bytearray` object. :class:`bytearray` objects "
14541466
"are mutable and have an efficient overallocation mechanism"
14551467
msgstr ""
1468+
"如果拼接 :class:`bytes` 对象,你可以类似地使用 :meth:`bytes.join` 或 "
1469+
":class:`io.BytesIO`,或者你也可以使用 :class:`bytearray` 对象进行原地拼接。 :class:`bytearray`"
1470+
" 对象是可变的,并且具有高效的重分配机制"
14561471

14571472
#: ../../library/stdtypes.rst:974
14581473
msgid ""
14591474
"if concatenating :class:`tuple` objects, extend a :class:`list` instead"
1460-
msgstr ""
1475+
msgstr "如果拼接 :class:`tuple` 对象,请改为扩展 :class:`list` 类"
14611476

14621477
#: ../../library/stdtypes.rst:976
14631478
msgid "for other types, investigate the relevant class documentation"
1464-
msgstr ""
1479+
msgstr "对于其它类型,请查看相应的文档"
14651480

14661481
#: ../../library/stdtypes.rst:980
14671482
msgid ""
14681483
"Some sequence types (such as :class:`range`) only support item sequences "
14691484
"that follow specific patterns, and hence don't support sequence "
14701485
"concatenation or repetition."
1471-
msgstr ""
1486+
msgstr "某些序列类型 (例如 :class:`range`) 仅支持遵循特定模式的项序列,因此并不支持序列拼接或重复。"
14721487

14731488
#: ../../library/stdtypes.rst:985
14741489
msgid ""

whatsnew/changelog.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,6 +1135,8 @@ msgid ""
11351135
"calltip popup colors. Prevent conflicts with Linux dark themes (and slightly"
11361136
" darken calltip background)."
11371137
msgstr ""
1138+
"`bpo-36176 <https://bugs.python.org/issue36176>`__: 修复 IDLE 自动补全和 calltip "
1139+
"悬浮窗的颜色. 避免与 Linux 暗色主题冲突 (略微加深了calltip 的背景颜色)."
11381140

11391141
#: ../../../build/NEWS:497
11401142
msgid ""

0 commit comments

Comments
 (0)