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

Skip to content

Commit 4738a38

Browse files
committed
[po] auto sync bot
1 parent 6b5579d commit 4738a38

21 files changed

Lines changed: 5640 additions & 5625 deletions

c-api/exceptions.po

Lines changed: 248 additions & 244 deletions
Large diffs are not rendered by default.

library/_thread.po

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
11+
"POT-Creation-Date: 2018-10-17 09:30+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: cissoid <[email protected]>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -112,16 +112,14 @@ msgid ""
112112
"system memory page size - platform documentation should be referred to for "
113113
"more information (4 KiB pages are common; using multiples of 4096 for the "
114114
"stack size is the suggested approach in the absence of more specific "
115-
"information). Availability: Windows, systems with POSIX threads."
115+
"information)."
116116
msgstr ""
117-
"返回创建线程时使用的线程堆栈大小。可选的 *size* 参数可以指定后续创建线程时是用的堆栈大小,但是必须传 0(使用平台或配置的默认值)或是大于等于 "
118-
"32768 的正整数(32 KiB)。如果没有传 *size*,默认会使用 0。如果不支持修改线程堆栈大小的话,会抛出 "
119-
":exc:`RuntimeError` 异常。如果传入的堆栈大小不合法,会抛出 :exc:`ValueError` 异常,同时堆栈大小会保持不变。目前 "
120-
"32 KiB 是保证解释器本身足够使用的最小堆栈大小。注意某些平台可能会对堆栈大小有特别的限制,比如需要最小堆栈大小 > 32 KiB "
121-
"或是需要申请系统内存页整数倍大小的内存 —— 平台文档中应该可以找到更多相关信息(4 KiB 比较常见,在没有更多信息时使用 4096 "
122-
"的整倍数作为堆栈大小是个不错的选择。可以用于:Windows,使用 POSIX 线程的系统。"
123117

124-
#: ../../library/_thread.rst:109
118+
#: ../../library/_thread.rst:105
119+
msgid "Availability: Windows, systems with POSIX threads."
120+
msgstr ""
121+
122+
#: ../../library/_thread.rst:110
125123
msgid ""
126124
"The maximum value allowed for the *timeout* parameter of "
127125
":meth:`Lock.acquire`. Specifying a timeout greater than this value will "
@@ -130,19 +128,19 @@ msgstr ""
130128
":meth:`Lock.acquire` 方法中 *timeout* 参数允许的最大值。传入超过这个值的 timeout 会抛出 "
131129
":exc:`OverflowError` 异常。"
132130

133-
#: ../../library/_thread.rst:116
131+
#: ../../library/_thread.rst:117
134132
msgid "Lock objects have the following methods:"
135133
msgstr "锁对象有以下方法:"
136134

137-
#: ../../library/_thread.rst:121
135+
#: ../../library/_thread.rst:122
138136
msgid ""
139137
"Without any optional argument, this method acquires the lock "
140138
"unconditionally, if necessary waiting until it is released by another thread"
141139
" (only one thread at a time can acquire a lock --- that's their reason for "
142140
"existence)."
143141
msgstr "没有任何可选参数时,该方法无条件申请获得锁,有必要的话会等待其他线程释放锁(同时只有一个线程能获得锁 —— 这正是锁存在的原因)。"
144142

145-
#: ../../library/_thread.rst:125
143+
#: ../../library/_thread.rst:126
146144
msgid ""
147145
"If the integer *waitflag* argument is present, the action depends on its "
148146
"value: if it is zero, the lock is only acquired if it can be acquired "
@@ -152,7 +150,7 @@ msgstr ""
152150
"如果传入了整型参数 *waitflag*,具体的行为取决于传入的值:如果是 0 "
153151
"的话,只会在能够立刻获取到锁时才获取,不会等待,如果是非零的话,会像之前提到的一样,无条件获取锁。"
154152

155-
#: ../../library/_thread.rst:130
153+
#: ../../library/_thread.rst:131
156154
msgid ""
157155
"If the floating-point *timeout* argument is present and positive, it "
158156
"specifies the maximum wait time in seconds before returning. A negative "
@@ -162,43 +160,43 @@ msgstr ""
162160
"如果传入正浮点数参数 *timeout*,相当于指定了返回之前等待得最大秒数。如果传入负的 *timeout*,相当于无限期等待。如果 "
163161
"*waitflag* 是 0 的话,不能指定 *timeout*。"
164162

165-
#: ../../library/_thread.rst:135
163+
#: ../../library/_thread.rst:136
166164
msgid ""
167165
"The return value is ``True`` if the lock is acquired successfully, ``False``"
168166
" if not."
169167
msgstr "如果成功获取到所会返回 ``True``,否则返回 ``False``。"
170168

171-
#: ../../library/_thread.rst:138
169+
#: ../../library/_thread.rst:139
172170
msgid "The *timeout* parameter is new."
173171
msgstr "新的 *timeout` 参数。"
174172

175-
#: ../../library/_thread.rst:141
173+
#: ../../library/_thread.rst:142
176174
msgid "Lock acquires can now be interrupted by signals on POSIX."
177175
msgstr "现在获取锁的操作可以被 POSIX 信号中断。"
178176

179-
#: ../../library/_thread.rst:147
177+
#: ../../library/_thread.rst:148
180178
msgid ""
181179
"Releases the lock. The lock must have been acquired earlier, but not "
182180
"necessarily by the same thread."
183181
msgstr "释放锁。锁必须已经被获取过,但不一定是同一个线程获取的。"
184182

185-
#: ../../library/_thread.rst:153
183+
#: ../../library/_thread.rst:154
186184
msgid ""
187185
"Return the status of the lock: ``True`` if it has been acquired by some "
188186
"thread, ``False`` if not."
189187
msgstr "返回锁的状态:如果已被某个线程获取,返回 ``True``,否则返回 ``False``。"
190188

191-
#: ../../library/_thread.rst:156
189+
#: ../../library/_thread.rst:157
192190
msgid ""
193191
"In addition to these methods, lock objects can also be used via the "
194192
":keyword:`with` statement, e.g.::"
195193
msgstr "除了这些方法之外,锁对象也可以通过 :keyword:`with` 语句使用,例如:"
196194

197-
#: ../../library/_thread.rst:166
195+
#: ../../library/_thread.rst:167
198196
msgid "**Caveats:**"
199197
msgstr "**注意事项:**"
200198

201-
#: ../../library/_thread.rst:170
199+
#: ../../library/_thread.rst:171
202200
msgid ""
203201
"Threads interact strangely with interrupts: the :exc:`KeyboardInterrupt` "
204202
"exception will be received by an arbitrary thread. (When the :mod:`signal` "
@@ -207,21 +205,21 @@ msgstr ""
207205
"线程与中断奇怪地交互::exc:`KeyboardInterrupt` 异常可能会被任意一个线程捕获。(如果 :mod:`signal` "
208206
"模块可用的话,中断总是会进入主线程。)"
209207

210-
#: ../../library/_thread.rst:174
208+
#: ../../library/_thread.rst:175
211209
msgid ""
212210
"Calling :func:`sys.exit` or raising the :exc:`SystemExit` exception is "
213211
"equivalent to calling :func:`_thread.exit`."
214212
msgstr ""
215213
"调用 :func:`sys.exit` 或是抛出 :exc:`SystemExit` 异常等效于调用 :func:`_thread.exit`。"
216214

217-
#: ../../library/_thread.rst:177
215+
#: ../../library/_thread.rst:178
218216
msgid ""
219217
"It is not possible to interrupt the :meth:`acquire` method on a lock --- the"
220218
" :exc:`KeyboardInterrupt` exception will happen after the lock has been "
221219
"acquired."
222220
msgstr "不可能中断锁的 :meth:`acquire` 方法 —— :exc:`KeyboardInterrupt` 一场会在锁获取到之后发生。"
223221

224-
#: ../../library/_thread.rst:180
222+
#: ../../library/_thread.rst:181
225223
msgid ""
226224
"When the main thread exits, it is system defined whether the other threads "
227225
"survive. On most systems, they are killed without executing :keyword:`try` "
@@ -230,7 +228,7 @@ msgstr ""
230228
"当主线程退出时,由系统决定其他线程是否存活。在大多数系统中,这些线程会直接被杀掉,不会执行 :keyword:`try` ... "
231229
":keyword:`finally` 语句,也不会执行对象析构函数。"
232230

233-
#: ../../library/_thread.rst:185
231+
#: ../../library/_thread.rst:186
234232
msgid ""
235233
"When the main thread exits, it does not do any of its usual cleanup (except "
236234
"that :keyword:`try` ... :keyword:`finally` clauses are honored), and the "

library/asyncore.po

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
11+
"POT-Creation-Date: 2018-10-17 09:30+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: Freesand Leo <[email protected]>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -328,32 +328,36 @@ msgid ""
328328
"an optional map argument and wraps it for use with the :c:func:`poll` or "
329329
":c:func:`loop` functions. If provided a file object or anything with a "
330330
":c:func:`fileno` method, that method will be called and passed to the "
331-
":class:`file_wrapper` constructor. Availability: UNIX."
331+
":class:`file_wrapper` constructor."
332332
msgstr ""
333333

334-
#: ../../library/asyncore.rst:280
334+
#: ../../library/asyncore.rst:278 ../../library/asyncore.rst:287
335+
msgid "Availability: Unix."
336+
msgstr ""
337+
338+
#: ../../library/asyncore.rst:282
335339
msgid ""
336340
"A file_wrapper takes an integer file descriptor and calls :func:`os.dup` to "
337341
"duplicate the handle so that the original handle may be closed independently"
338342
" of the file_wrapper. This class implements sufficient methods to emulate a"
339-
" socket for use by the :class:`file_dispatcher` class. Availability: UNIX."
343+
" socket for use by the :class:`file_dispatcher` class."
340344
msgstr ""
341345

342-
#: ../../library/asyncore.rst:289
346+
#: ../../library/asyncore.rst:293
343347
msgid "asyncore Example basic HTTP client"
344348
msgstr ""
345349

346-
#: ../../library/asyncore.rst:291
350+
#: ../../library/asyncore.rst:295
347351
msgid ""
348352
"Here is a very basic HTTP client that uses the :class:`dispatcher` class to "
349353
"implement its socket handling::"
350354
msgstr ""
351355

352-
#: ../../library/asyncore.rst:328
356+
#: ../../library/asyncore.rst:332
353357
msgid "asyncore Example basic echo server"
354358
msgstr ""
355359

356-
#: ../../library/asyncore.rst:330
360+
#: ../../library/asyncore.rst:334
357361
msgid ""
358362
"Here is a basic echo server that uses the :class:`dispatcher` class to "
359363
"accept connections and dispatches the incoming connections to a handler::"

library/functions.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-08-28 09:00+0900\n"
11+
"POT-Creation-Date: 2018-10-17 09:30+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: ww song <[email protected]>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -2092,8 +2092,9 @@ msgstr ""
20922092
#: ../../library/functions.rst:1407
20932093
msgid ""
20942094
"*key* specifies a function of one argument that is used to extract a "
2095-
"comparison key from each list element: ``key=str.lower``. The default value"
2096-
" is ``None`` (compare the elements directly)."
2095+
"comparison key from each element in *iterable* (for example, "
2096+
"``key=str.lower``). The default value is ``None`` (compare the elements "
2097+
"directly)."
20972098
msgstr ""
20982099

20992100
#: ../../library/functions.rst:1411

library/hashlib.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-08-01 08:44+0900\n"
11+
"POT-Creation-Date: 2018-10-17 09:30+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: Fred <[email protected]>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -299,8 +299,8 @@ msgid ""
299299
"*dklen* is the length of the derived key."
300300
msgstr ""
301301

302-
#: ../../library/hashlib.rst:274
303-
msgid "Availability: OpenSSL 1.1+"
302+
#: ../../library/hashlib.rst:275
303+
msgid "Availability: OpenSSL 1.1+."
304304
msgstr ""
305305

306306
#: ../../library/hashlib.rst:280

library/heapq.po

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
11+
"POT-Creation-Date: 2018-10-17 09:30+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: Jerry Chen <[email protected]>, 2017\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -161,17 +161,18 @@ msgstr ""
161161
msgid ""
162162
"Return a list with the *n* largest elements from the dataset defined by "
163163
"*iterable*. *key*, if provided, specifies a function of one argument that "
164-
"is used to extract a comparison key from each element in the iterable: "
165-
"``key=str.lower`` Equivalent to: ``sorted(iterable, key=key, "
166-
"reverse=True)[:n]``"
164+
"is used to extract a comparison key from each element in *iterable* (for "
165+
"example, ``key=str.lower``). Equivalent to: ``sorted(iterable, key=key, "
166+
"reverse=True)[:n]``."
167167
msgstr ""
168168

169169
#: ../../library/heapq.rst:122
170170
msgid ""
171171
"Return a list with the *n* smallest elements from the dataset defined by "
172172
"*iterable*. *key*, if provided, specifies a function of one argument that "
173-
"is used to extract a comparison key from each element in the iterable: "
174-
"``key=str.lower`` Equivalent to: ``sorted(iterable, key=key)[:n]``"
173+
"is used to extract a comparison key from each element in *iterable* (for "
174+
"example, ``key=str.lower``). Equivalent to: ``sorted(iterable, "
175+
"key=key)[:n]``."
175176
msgstr ""
176177

177178
#: ../../library/heapq.rst:128

library/intro.po

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
11+
"POT-Creation-Date: 2018-10-17 09:30+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2018\n"
13+
"Last-Translator: SKY H. <sky19960802@gmail.com>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1515
"MIME-Version: 1.0\n"
1616
"Content-Type: text/plain; charset=UTF-8\n"
@@ -97,3 +97,20 @@ msgstr ""
9797
#: ../../library/intro.rst:48
9898
msgid "Let the show begin!"
9999
msgstr "让我们开始吧!"
100+
101+
#: ../../library/intro.rst:54
102+
msgid "Notes on availability"
103+
msgstr ""
104+
105+
#: ../../library/intro.rst:56
106+
msgid ""
107+
"An \"Availability: Unix\" note means that this function is commonly found on"
108+
" Unix systems. It does not make any claims about its existence on a "
109+
"specific operating system."
110+
msgstr ""
111+
112+
#: ../../library/intro.rst:60
113+
msgid ""
114+
"If not separately noted, all functions that claim \"Availability: Unix\" are"
115+
" supported on Mac OS X, which builds on a Unix core."
116+
msgstr "如果没有单独说明,所有注明 “可用性:Unix” 的函数都支持基于 Unix 核心构建的 Mac OS X 系统。"

library/mimetypes.po

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
11+
"POT-Creation-Date: 2018-10-17 09:30+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1414
"MIME-Version: 1.0\n"
@@ -284,14 +284,16 @@ msgid ""
284284
"format of the standard :file:`mime.types` files."
285285
msgstr ""
286286

287-
#: ../../library/mimetypes.rst:252 ../../library/mimetypes.rst:260
287+
#: ../../library/mimetypes.rst:252 ../../library/mimetypes.rst:262
288288
msgid ""
289289
"If *strict* is ``True``, information will be added to the list of standard "
290290
"types, else to the list of non-standard types."
291291
msgstr ""
292292

293293
#: ../../library/mimetypes.rst:258
294-
msgid ""
295-
"Load MIME type information from the Windows registry. Availability: "
296-
"Windows."
294+
msgid "Load MIME type information from the Windows registry."
295+
msgstr ""
296+
297+
#: ../../library/mimetypes.rst:261
298+
msgid "Availability: Windows."
297299
msgstr ""

library/os.path.po

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
11+
"POT-Creation-Date: 2018-10-17 09:30+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1414
"MIME-Version: 1.0\n"
@@ -124,8 +124,10 @@ msgid ""
124124
"path."
125125
msgstr ""
126126

127-
#: ../../library/os.path.rst:88
128-
msgid "Availability: Unix, Windows"
127+
#: ../../library/os.path.rst:89 ../../library/os.path.rst:353
128+
#: ../../library/os.path.rst:365 ../../library/os.path.rst:381
129+
#: ../../library/os.path.rst:397
130+
msgid "Availability: Unix, Windows."
129131
msgstr ""
130132

131133
#: ../../library/os.path.rst:92
@@ -351,11 +353,6 @@ msgstr ""
351353
msgid "*start* defaults to :attr:`os.curdir`."
352354
msgstr ""
353355

354-
#: ../../library/os.path.rst:352 ../../library/os.path.rst:364
355-
#: ../../library/os.path.rst:380 ../../library/os.path.rst:396
356-
msgid "Availability: Unix, Windows."
357-
msgstr ""
358-
359356
#: ../../library/os.path.rst:360
360357
msgid ""
361358
"Return ``True`` if both pathname arguments refer to the same file or "

0 commit comments

Comments
 (0)