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

Skip to content

Commit 57cb91a

Browse files
committed
[po] auto sync bot
1 parent 5651ddf commit 57cb91a

13 files changed

Lines changed: 4706 additions & 4693 deletions

File tree

glossary.po

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.7\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2019-05-28 11:31+0900\n"
17+
"POT-Creation-Date: 2019-05-29 11:32+0900\n"
1818
"PO-Revision-Date: 2017-02-16 17:32+0000\n"
1919
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
2020
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -462,14 +462,18 @@ msgstr ""
462462
"在 :keyword:`with` 语句中使用,通过定义 :meth:`__enter__` 和 :meth:`__exit__` "
463463
"方法来控制环境状态的对象。参见 :pep:`343`。"
464464

465-
#: ../../glossary.rst:224
465+
#: ../../glossary.rst:223
466+
msgid "context variable"
467+
msgstr ""
468+
469+
#: ../../glossary.rst:225
466470
msgid ""
467-
"ntext variable A variable which can have different values depending on its "
468-
"context. This is similar to Thread-Local Storage in which each execution "
469-
"thread may have a different value for a variable. However, with context "
470-
"variables, there may be several contexts in one execution thread and the "
471-
"main usage for context variables is to keep track of variables in concurrent"
472-
" asynchronous tasks. See :mod:`contextvars`."
471+
"A variable which can have different values depending on its context. This is"
472+
" similar to Thread-Local Storage in which each execution thread may have a "
473+
"different value for a variable. However, with context variables, there may "
474+
"be several contexts in one execution thread and the main usage for context "
475+
"variables is to keep track of variables in concurrent asynchronous tasks. "
476+
"See :mod:`contextvars`."
473477
msgstr ""
474478

475479
#: ../../glossary.rst:232

howto/functional.po

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# Freesand Leo <[email protected]>, 2019
1212
# zkonge, 2019
1313
# chen_chao <[email protected]>, 2019
14+
# MuSheng Chen <[email protected]>, 2019
1415
#
1516
#, fuzzy
1617
msgid ""
@@ -19,7 +20,7 @@ msgstr ""
1920
"Report-Msgid-Bugs-To: \n"
2021
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2122
"PO-Revision-Date: 2017-02-16 17:44+0000\n"
22-
"Last-Translator: chen_chao <wenbushi@gmail.com>, 2019\n"
23+
"Last-Translator: MuSheng Chen <sheng.2179@gmail.com>, 2019\n"
2324
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2425
"MIME-Version: 1.0\n"
2526
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1284,12 +1285,13 @@ msgid ""
12841285
"raised. If the initial value is supplied, it's used as a starting point and"
12851286
" ``func(initial_value, A)`` is the first calculation. ::"
12861287
msgstr ""
1287-
":func:`functools.reduce(func, iter, [initial_value]) "
1288-
"<functools.reduce>`持续地在可迭代对象的所有元素上执行操作,因此它不能够用在无限的可迭代对象上。*func* "
1288+
":func:`functools.reduce(func, iter, [initial_value]) <functools.reduce>` "
1289+
"持续地在可迭代对象的所有元素上执行操作,因此它不能够用在无限的可迭代对象上。*func* "
12891290
"必须是一个接受两个元素并返回一个值的函数。:func:`functools.reduce` 接受迭代器返回的前两个元素 A 和 B 并计算 "
1290-
"``func(A, B)``。然后它会请求第三个元素,C,计算 ``func(func(A, B), "
1291+
"``func(A, B)`` 。然后它会请求第三个元素,C,计算 ``func(func(A, B), "
12911292
"C)``,然后把这个结果再和第四个元素组合并返回,如此继续下去直到消耗整个可迭代对象。如果输入的可迭代对象完全不返回任何值,:exc:`TypeError`"
1292-
" 异常就会抛出。如果提供了初值(initial value),它会被用作起始值,也就是先计算 ``func(initial_value, A)。::"
1293+
" 异常就会抛出。如果提供了初值(initial value),它会被用作起始值,也就是先计算 ``func(initial_value, A)`` "
1294+
"。::"
12931295

12941296
#: ../../howto/functional.rst:1043
12951297
msgid ""

howto/logging-cookbook.po

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# Meng Du <[email protected]>, 2019
1010
# Freesand Leo <[email protected]>, 2019
1111
# 非法操作 <[email protected]>, 2019
12+
# MuSheng Chen <[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 17:45+0000\n"
20-
"Last-Translator: 非法操作 <ultrahe@gmail.com>, 2019\n"
21+
"Last-Translator: MuSheng Chen <sheng.2179@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"
@@ -126,8 +127,9 @@ msgid ""
126127
" to happen is to modify the severity level of the logger and/or handler to "
127128
"debug."
128129
msgstr ""
129-
"在编写和测试应用程序时,创建能过滤不同等级消息的日志处理器是很有用的。不要去使用 ``print`` 去调试,而是使用``logger.debug``:"
130-
"  它不像打印语句需要在调试结束后注释或删除掉,你可以把它们保留在源码中并不输出。当需要再次调试时,只需要改变日志记录器或处理器的过滤等级即可。"
130+
"在编写和测试应用程序时,创建能过滤不同等级消息的日志处理器是很有用的。不要去使用 ``print`` 去调试,而是使用 "
131+
"``logger.debug``: "
132+
"它不像打印语句需要在调试结束后注释或删除掉,你可以把它们保留在源码中并不输出。当需要再次调试时,只需要改变日志记录器或处理器的过滤等级即可。"
131133

132134
#: ../../howto/logging-cookbook.rst:207
133135
msgid "Logging to multiple destinations"
@@ -361,7 +363,9 @@ msgid ""
361363
"the contextual information in the delegated call. Here's a snippet from the "
362364
"code of :class:`LoggerAdapter`::"
363365
msgstr ""
364-
"当你创建一个:class:`LoggerAdapter`的实例时,你会传入一个:class:`Logger`的实例和一个包含了上下文信息的字典对象。当你调用一个:class:`LoggerAdapter`实例的方法时,它会把调用委托给内部的:class:`Logger`的实例,并为其整理相关的上下文信息。这是:class:`LoggerAdapter`:的一个代码片段:"
366+
"当你创建一个 :class:`LoggerAdapter` 的实例时,你会传入一个 :class:`Logger` "
367+
"的实例和一个包含了上下文信息的字典对象。当你调用一个 :class:`LoggerAdapter` 实例的方法时,它会把调用委托给内部的 "
368+
":class:`Logger` 的实例,并为其整理相关的上下文信息。这是 :class:`LoggerAdapter` 的一个代码片段::"
365369

366370
#: ../../howto/logging-cookbook.rst:590
367371
msgid ""

library/asyncio-protocol.po

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@
99
# ww song <[email protected]>, 2018
1010
# Freesand Leo <[email protected]>, 2019
1111
# Pan Felix <[email protected]>, 2019
12-
# Shengjing Zhu <[email protected]>, 2019
1312
# MuSheng Chen <[email protected]>, 2019
1413
#
1514
#, fuzzy
1615
msgid ""
1716
msgstr ""
1817
"Project-Id-Version: Python 3.7\n"
1918
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
19+
"POT-Creation-Date: 2019-05-29 11:32+0900\n"
2120
"PO-Revision-Date: 2017-02-16 17:49+0000\n"
2221
"Last-Translator: MuSheng Chen <[email protected]>, 2019\n"
2322
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -144,11 +143,9 @@ msgstr "传输属于 :mod:`asyncio` 模块中的类,用来抽象各种通信
144143

145144
#: ../../library/asyncio-protocol.rst:75
146145
msgid ""
147-
"Transport objects are always instantiated by an ref:`asyncio event loop "
146+
"Transport objects are always instantiated by an :ref:`asyncio event loop "
148147
"<asyncio-event-loop>`."
149148
msgstr ""
150-
"Transport objects are always instantiated by an ref:`asyncio event loop "
151-
"<asyncio-event-loop>`."
152149

153150
#: ../../library/asyncio-protocol.rst:78
154151
msgid ""
@@ -207,7 +204,7 @@ msgid ""
207204
"The user does not instantiate a transport directly; they call a utility "
208205
"function, passing it a protocol factory and other information necessary to "
209206
"create the transport and protocol."
210-
msgstr ""
207+
msgstr "用户不用直接实例化传输;调用一个功能函数,给它传递协议工厂和其它需要的信息就可以创建传输和协议。"
211208

212209
#: ../../library/asyncio-protocol.rst:119
213210
msgid ""

library/datetime.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ msgid ""
161161
" here). Attributes: :attr:`hour`, :attr:`minute`, :attr:`second`, "
162162
":attr:`microsecond`, and :attr:`.tzinfo`."
163163
msgstr ""
164-
"一个理想的时间独立于任何一天,假设每一天一共有24\\*60\\*60秒(这里没有\"跳跃秒\"的概念)。属性: :attr:`hour`, "
164+
"一个理想的时间独立于任何一天,假设每一天一共有24\\*60\\*60秒(这里没有\"闰秒\"的概念)。属性: :attr:`hour`, "
165165
":attr:`minute`, :attr:`second`, :attr:`microsecond`, 和 :attr:`.tzinfo`。"
166166

167167
#: ../../library/datetime.rst:97
@@ -422,7 +422,7 @@ msgstr ""
422422

423423
#: ../../library/datetime.rst:250
424424
msgid "In general, *t1* \\* i == *t1* \\* (i-1) + *t1* is true. (1)"
425-
msgstr " 总的来说, *t1* \\* i == *t1* \\* (i-1) + *t1* 的值为true. (1)"
425+
msgstr " 通常, *t1* \\* i == *t1* \\* (i-1) + *t1* 的值为true. (1)"
426426

427427
#: ../../library/datetime.rst:253
428428
msgid "``t1 = t2 * f or t1 = f * t2``"

library/readline.po

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
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+
# Menghua Xiao <[email protected]>, 2018
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-06-30 05:56+0900\n"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14+
"POT-Creation-Date: 2019-05-29 11:32+0900\n"
15+
"PO-Revision-Date: 2017-02-16 23:24+0000\n"
1316
"Last-Translator: Menghua Xiao <[email protected]>, 2018\n"
1417
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1518
"MIME-Version: 1.0\n"
@@ -37,10 +40,9 @@ msgstr ""
3740
msgid ""
3841
"Readline keybindings may be configured via an initialization file, typically"
3942
" ``.inputrc`` in your home directory. See `Readline Init File "
40-
"<https://cnswww.cns.cwru.edu/php/chet/readline/rluserman.html#SEC9>`_ in the"
41-
" GNU Readline manual for information about the format and allowable "
42-
"constructs of that file, and the capabilities of the Readline library in "
43-
"general."
43+
"<https://tiswww.cwru.edu/php/chet/readline/rluserman.html#SEC9>`_ in the GNU"
44+
" Readline manual for information about the format and allowable constructs "
45+
"of that file, and the capabilities of the Readline library in general."
4446
msgstr ""
4547

4648
#: ../../library/readline.rst:29

library/sched.po

Lines changed: 25 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.7\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
15+
"POT-Creation-Date: 2019-05-29 11:32+0900\n"
1616
"PO-Revision-Date: 2017-02-16 23:25+0000\n"
1717
"Last-Translator: Meng Du <[email protected]>, 2019\n"
1818
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -41,41 +41,36 @@ msgid ""
4141
"The :class:`scheduler` class defines a generic interface to scheduling "
4242
"events. It needs two functions to actually deal with the \"outside world\" "
4343
"--- *timefunc* should be callable without arguments, and return a number "
44-
"(the \"time\", in any units whatsoever). If time.monotonic is not available,"
45-
" the *timefunc* default is time.time instead. The *delayfunc* function "
46-
"should be callable with one argument, compatible with the output of "
47-
"*timefunc*, and should delay that many time units. *delayfunc* will also be "
48-
"called with the argument ``0`` after each event is run to allow other "
49-
"threads an opportunity to run in multi-threaded applications."
44+
"(the \"time\", in any units whatsoever). The *delayfunc* function should be"
45+
" callable with one argument, compatible with the output of *timefunc*, and "
46+
"should delay that many time units. *delayfunc* will also be called with the "
47+
"argument ``0`` after each event is run to allow other threads an opportunity"
48+
" to run in multi-threaded applications."
5049
msgstr ""
51-
":class:`scheduler` 类定义了一个调度事件的通用接口。 它需要两个函数来实际处理“外部世界” —— *timefunc* "
52-
"应该可以在没有参数的情况下调用,并返回一个数字(“时间”,以任何单位表示)。 如果 time.monotonic 不可用,则 *timefunc* "
53-
"默认为 time.time。 *delayfunc* 函数应该用一个参数可调用,与 *timefunc* 的输出兼容,并且应该延迟那么多时间单位。 "
54-
"每个事件运行后,还会使用参数 ``0`` 调用 *delayfunc*,以允许其他线程有机会在多线程应用程序中运行。"
5550

56-
#: ../../library/sched.rst:30
51+
#: ../../library/sched.rst:29
5752
msgid "*timefunc* and *delayfunc* parameters are optional."
5853
msgstr "*timefunc* 和 *delayfunc* 参数是可选的。"
5954

60-
#: ../../library/sched.rst:33
55+
#: ../../library/sched.rst:32
6156
msgid ""
6257
":class:`scheduler` class can be safely used in multi-threaded environments."
6358
msgstr ":class:`scheduler` 类可以安全的在多线程环境中使用。"
6459

65-
#: ../../library/sched.rst:37
60+
#: ../../library/sched.rst:36
6661
msgid "Example::"
6762
msgstr "示例::"
6863

69-
#: ../../library/sched.rst:62
64+
#: ../../library/sched.rst:61
7065
msgid "Scheduler Objects"
7166
msgstr "调度器对象"
7267

73-
#: ../../library/sched.rst:64
68+
#: ../../library/sched.rst:63
7469
msgid ""
7570
":class:`scheduler` instances have the following methods and attributes:"
7671
msgstr ":class:`scheduler` 实例拥有以下方法和属性:"
7772

78-
#: ../../library/sched.rst:69
73+
#: ../../library/sched.rst:68
7974
msgid ""
8075
"Schedule a new event. The *time* argument should be a numeric type "
8176
"compatible with the return value of the *timefunc* function passed to the "
@@ -85,7 +80,7 @@ msgstr ""
8580
"安排一个新事件。 *time* 参数应该有一个数字类型兼容的返回值,与传递给构造函数的 *timefunc* 函数的返回值兼容。 计划在相同 "
8681
"*time* 的事件将按其 *priority* 的顺序执行。 数字越小表示优先级越高。"
8782

88-
#: ../../library/sched.rst:74
83+
#: ../../library/sched.rst:73
8984
msgid ""
9085
"Executing the event means executing ``action(*argument, **kwargs)``. "
9186
"*argument* is a sequence holding the positional arguments for *action*. "
@@ -94,38 +89,38 @@ msgstr ""
9489
"执行事件意为执行 ``action(*argument, **kwargs)``。 *argument* 是包含有 *action* 的位置参数的序列。"
9590
" *kwargs* 是包含 *action* 的关键字参数的字典。"
9691

97-
#: ../../library/sched.rst:78
92+
#: ../../library/sched.rst:77
9893
msgid ""
9994
"Return value is an event which may be used for later cancellation of the "
10095
"event (see :meth:`cancel`)."
10196
msgstr "返回值是一个事件,可用于以后取消事件( 参见 :meth:`cancel` )。"
10297

103-
#: ../../library/sched.rst:81 ../../library/sched.rst:94
98+
#: ../../library/sched.rst:80 ../../library/sched.rst:93
10499
msgid "*argument* parameter is optional."
105100
msgstr "*argument* 参数是可选的。"
106101

107-
#: ../../library/sched.rst:84 ../../library/sched.rst:97
102+
#: ../../library/sched.rst:83 ../../library/sched.rst:96
108103
msgid "*kwargs* parameter was added."
109104
msgstr "添加了 *kwargs* 形参。"
110105

111-
#: ../../library/sched.rst:90
106+
#: ../../library/sched.rst:89
112107
msgid ""
113108
"Schedule an event for *delay* more time units. Other than the relative time,"
114109
" the other arguments, the effect and the return value are the same as those "
115110
"for :meth:`enterabs`."
116111
msgstr "安排延后 *delay* 时间单位的事件。 除了相对时间,其他参数、效果和返回值与 :meth:`enterabs` 的相同。"
117112

118-
#: ../../library/sched.rst:102
113+
#: ../../library/sched.rst:101
119114
msgid ""
120115
"Remove the event from the queue. If *event* is not an event currently in the"
121116
" queue, this method will raise a :exc:`ValueError`."
122117
msgstr "从队列中删除事件。 如果 *event* 不是当前队列中的事件,则此方法将引发 :exc:`ValueError`。"
123118

124-
#: ../../library/sched.rst:108
119+
#: ../../library/sched.rst:107
125120
msgid "Return true if the event queue is empty."
126121
msgstr "如果事件队列为空,则返回真值。"
127122

128-
#: ../../library/sched.rst:113
123+
#: ../../library/sched.rst:112
129124
msgid ""
130125
"Run all scheduled events. This method will wait (using the "
131126
":func:`delayfunc` function passed to the constructor) for the next event, "
@@ -134,14 +129,14 @@ msgstr ""
134129
"运行所有预定事件。 此方法将等待(使用传递给构造函数的 :func:`delayfunc` "
135130
"函数)进行下一个事件,然后执行它,依此类推,直到没有更多的计划事件。"
136131

137-
#: ../../library/sched.rst:117
132+
#: ../../library/sched.rst:116
138133
msgid ""
139134
"If *blocking* is false executes the scheduled events due to expire soonest "
140135
"(if any) and then return the deadline of the next scheduled call in the "
141136
"scheduler (if any)."
142137
msgstr "如果 *blocking* 为false,则执行由于最快到期(如果有)的预定事件,然后在调度程序中返回下一个预定调用的截止时间(如果有)。"
143138

144-
#: ../../library/sched.rst:121
139+
#: ../../library/sched.rst:120
145140
msgid ""
146141
"Either *action* or *delayfunc* can raise an exception. In either case, the "
147142
"scheduler will maintain a consistent state and propagate the exception. If "
@@ -151,19 +146,19 @@ msgstr ""
151146
"*action* 或 *delayfunc* 都可以引发异常。 在任何一种情况下,调度程序都将保持一致状态并传播异常。 如果 *action* "
152147
"引发异常,则在将来调用 :meth:`run` 时不会尝试该事件。"
153148

154-
#: ../../library/sched.rst:126
149+
#: ../../library/sched.rst:125
155150
msgid ""
156151
"If a sequence of events takes longer to run than the time available before "
157152
"the next event, the scheduler will simply fall behind. No events will be "
158153
"dropped; the calling code is responsible for canceling events which are no "
159154
"longer pertinent."
160155
msgstr "如果一系列事件的运行时间比下一个事件之前的可用时间长,那么调度程序将完全落后。 不会发生任何事件;调用代码负责取消不再相关的事件。"
161156

162-
#: ../../library/sched.rst:131
157+
#: ../../library/sched.rst:130
163158
msgid "*blocking* parameter was added."
164159
msgstr "添加了 *blocking* 形参。"
165160

166-
#: ../../library/sched.rst:136
161+
#: ../../library/sched.rst:135
167162
msgid ""
168163
"Read-only attribute returning a list of upcoming events in the order they "
169164
"will be run. Each event is shown as a :term:`named tuple` with the "

library/tkinter.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ msgid ""
2121
msgstr ""
2222
"Project-Id-Version: Python 3.7\n"
2323
"Report-Msgid-Bugs-To: \n"
24-
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
24+
"POT-Creation-Date: 2019-05-29 11:32+0900\n"
2525
"PO-Revision-Date: 2017-02-16 23:31+0000\n"
2626
"Last-Translator: 钢 彭 <[email protected]>, 2019\n"
2727
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -164,8 +164,8 @@ msgid "Recent Tcl/Tk manuals on www.tcl.tk."
164164
msgstr "www.tcl.tk 上面最新的 Tcl/Tk 手册。"
165165

166166
#: ../../library/tkinter.rst:59
167-
msgid "`ActiveState Tcl Home Page <http://tcl.activestate.com/>`_"
168-
msgstr "`ActiveState Tcl 首页 <http://tcl.activestate.com/>`_"
167+
msgid "`ActiveState Tcl Home Page <https://tcl.tk>`_"
168+
msgstr ""
169169

170170
#: ../../library/tkinter.rst:59
171171
msgid "The Tk/Tcl development is largely taking place at ActiveState."

0 commit comments

Comments
 (0)