4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
6
6
# Translators:
7
- # 秘湯 <xwhhsprings@gmail.com>, 2017
8
7
# E. Kawashima, 2017
9
8
# Arihiro TAKASE, 2017
10
9
# Shun Sakurai, 2017
11
10
# tomo, 2018
11
+ # 秘湯 <xwhhsprings@gmail.com>, 2019
12
12
#
13
13
#, fuzzy
14
14
msgid ""
15
15
msgstr ""
16
16
"Project-Id-Version : Python 3.7\n "
17
17
"Report-Msgid-Bugs-To : \n "
18
- "POT-Creation-Date : 2019-01-01 10:14 +0900\n "
18
+ "POT-Creation-Date : 2019-05-29 11:32 +0900\n "
19
19
"PO-Revision-Date : 2017-02-16 23:25+0000\n "
20
- "Last-Translator : tomo, 2018 \n "
20
+ "Last-Translator : 秘湯 <xwhhsprings@gmail.com>, 2019 \n "
21
21
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
22
22
"MIME-Version : 1.0\n "
23
23
"Content-Type : text/plain; charset=UTF-8\n "
@@ -44,52 +44,50 @@ msgid ""
44
44
"The :class:`scheduler` class defines a generic interface to scheduling "
45
45
"events. It needs two functions to actually deal with the \" outside world\" "
46
46
"--- *timefunc* should be callable without arguments, and return a number "
47
- "(the \" time\" , in any units whatsoever). If time.monotonic is not available,"
48
- " the *timefunc* default is time.time instead. The *delayfunc* function "
49
- "should be callable with one argument, compatible with the output of "
50
- "*timefunc*, and should delay that many time units. *delayfunc* will also be "
51
- "called with the argument ``0`` after each event is run to allow other "
52
- "threads an opportunity to run in multi-threaded applications."
47
+ "(the \" time\" , in any units whatsoever). The *delayfunc* function should be"
48
+ " callable with one argument, compatible with the output of *timefunc*, and "
49
+ "should delay that many time units. *delayfunc* will also be called with the "
50
+ "argument ``0`` after each event is run to allow other threads an opportunity"
51
+ " to run in multi-threaded applications."
53
52
msgstr ""
54
53
":class:`scheduler` クラスはイベントをスケジュールするための一般的なインタフェースを定義します。それは \" 外の世界\" "
55
54
"を実際に扱うための2つの関数を必要とします --- *timefunc* は引数なしで呼ばれて 1 つの数値を返す callable "
56
- "オブジェクトでなければなりません (戻り値は任意の単位で「時間」を表します)。 time.monotonic が利用出来ない場合、 *timefunc*"
57
- " のデフォルトには time.time が代わりに使われます。 *delayfunc* は 1 つの引数を持つ callable "
55
+ "オブジェクトでなければなりません (戻り値は任意の単位で「時間」を表します)。 *delayfunc* は 1 つの引数を持つ callable "
58
56
"オブジェクトでなければならず、その時間だけ遅延する必要があります (引数は *timefunc* の出力と互換)。 *delayfunc* "
59
57
"は、各々のイベントが実行された後に引数 ``0`` "
60
58
"で呼ばれることがあります。これは、マルチスレッドアプリケーションの中で他のスレッドが実行する機会を与えるためです。"
61
59
62
- #: ../../library/sched.rst:30
60
+ #: ../../library/sched.rst:29
63
61
msgid "*timefunc* and *delayfunc* parameters are optional."
64
62
msgstr "*timefunc* と *delayfunc* がオプション引数になりました。"
65
63
66
- #: ../../library/sched.rst:33
64
+ #: ../../library/sched.rst:32
67
65
msgid ""
68
66
":class:`scheduler` class can be safely used in multi-threaded environments."
69
67
msgstr ":class:`scheduler` クラスをマルチスレッド環境で安全に使用出来るようになりました。"
70
68
71
- #: ../../library/sched.rst:37
69
+ #: ../../library/sched.rst:36
72
70
msgid "Example::"
73
71
msgstr "以下はプログラム例です::"
74
72
75
- #: ../../library/sched.rst:62
73
+ #: ../../library/sched.rst:61
76
74
msgid "Scheduler Objects"
77
75
msgstr "スケジューラオブジェクト"
78
76
79
- #: ../../library/sched.rst:64
77
+ #: ../../library/sched.rst:63
80
78
msgid ""
81
79
":class:`scheduler` instances have the following methods and attributes:"
82
80
msgstr ":class:`scheduler` インスタンスは以下のメソッドと属性を持っています:"
83
81
84
- #: ../../library/sched.rst:69
82
+ #: ../../library/sched.rst:68
85
83
msgid ""
86
84
"Schedule a new event. The *time* argument should be a numeric type "
87
85
"compatible with the return value of the *timefunc* function passed to the "
88
86
"constructor. Events scheduled for the same *time* will be executed in the "
89
87
"order of their *priority*. A lower number represents a higher priority."
90
88
msgstr ""
91
89
92
- #: ../../library/sched.rst:74
90
+ #: ../../library/sched.rst:73
93
91
msgid ""
94
92
"Executing the event means executing ``action(*argument, **kwargs)``. "
95
93
"*argument* is a sequence holding the positional arguments for *action*. "
@@ -99,21 +97,21 @@ msgstr ""
99
97
"*action* のための位置引数を保持するシーケンスでなければいけません。 *kwargs* は *action* "
100
98
"のためのキーワード引数を保持する辞書でなければいけません。"
101
99
102
- #: ../../library/sched.rst:78
100
+ #: ../../library/sched.rst:77
103
101
msgid ""
104
102
"Return value is an event which may be used for later cancellation of the "
105
103
"event (see :meth:`cancel`)."
106
104
msgstr "戻り値は、後にイベントをキャンセルする時に使われる可能性のあるイベントです (:meth:`cancel` を参照)。"
107
105
108
- #: ../../library/sched.rst:81 ../../library/sched.rst:94
106
+ #: ../../library/sched.rst:80 ../../library/sched.rst:93
109
107
msgid "*argument* parameter is optional."
110
108
msgstr "*argument* 引数が任意になりました。"
111
109
112
- #: ../../library/sched.rst:84 ../../library/sched.rst:97
110
+ #: ../../library/sched.rst:83 ../../library/sched.rst:96
113
111
msgid "*kwargs* parameter was added."
114
112
msgstr "*kwargs* 引数が追加されました。"
115
113
116
- #: ../../library/sched.rst:90
114
+ #: ../../library/sched.rst:89
117
115
msgid ""
118
116
"Schedule an event for *delay* more time units. Other than the relative time,"
119
117
" the other arguments, the effect and the return value are the same as those "
@@ -122,19 +120,19 @@ msgstr ""
122
120
"時間単位以上の *delay* でイベントをスケジュールします。相対的時間以外の、引数、効果、戻り値は、 :meth:`enterabs` "
123
121
"に対するものと同じです。"
124
122
125
- #: ../../library/sched.rst:102
123
+ #: ../../library/sched.rst:101
126
124
msgid ""
127
125
"Remove the event from the queue. If *event* is not an event currently in the"
128
126
" queue, this method will raise a :exc:`ValueError`."
129
127
msgstr ""
130
128
"キューからイベントを消去します。もし *event* がキューにある現在のイベントでないならば、このメソッドは :exc:`ValueError` "
131
129
"を送出します。"
132
130
133
- #: ../../library/sched.rst:108
131
+ #: ../../library/sched.rst:107
134
132
msgid "Return true if the event queue is empty."
135
133
msgstr "もしイベントキューが空ならば、Trueを返します。"
136
134
137
- #: ../../library/sched.rst:113
135
+ #: ../../library/sched.rst:112
138
136
msgid ""
139
137
"Run all scheduled events. This method will wait (using the "
140
138
":func:`delayfunc` function passed to the constructor) for the next event, "
@@ -143,7 +141,7 @@ msgstr ""
143
141
"すべてのスケジュールされたイベントを実行します。このメソッドは次のイベントを待ち、それを実行し、スケジュールされたイベントがなくなるまで同じことを繰り返します。(イベントの待機は、"
144
142
" コンストラクタへ渡された関数 :func:`delayfunc` を使うことで行います。)"
145
143
146
- #: ../../library/sched.rst:117
144
+ #: ../../library/sched.rst:116
147
145
msgid ""
148
146
"If *blocking* is false executes the scheduled events due to expire soonest "
149
147
"(if any) and then return the deadline of the next scheduled call in the "
@@ -152,7 +150,7 @@ msgstr ""
152
150
"*blocking* が False の場合、最も早く期限が来るスケジュールされたイベントを (存在する場合) "
153
151
"実行し、スケジューラ内で次にスケジュールされた呼び出しの期限を (存在する場合) 返します。 "
154
152
155
- #: ../../library/sched.rst:121
153
+ #: ../../library/sched.rst:120
156
154
msgid ""
157
155
"Either *action* or *delayfunc* can raise an exception. In either case, the "
158
156
"scheduler will maintain a consistent state and propagate the exception. If "
@@ -163,7 +161,7 @@ msgstr ""
163
161
"は例外を投げることができます。いずれの場合も、スケジューラは一貫した状態を維持し、例外を伝播するでしょう。例外が *action* "
164
162
"によって投げられる場合、イベントは :meth:`run` への呼出しを未来に行なわないでしょう。"
165
163
166
- #: ../../library/sched.rst:126
164
+ #: ../../library/sched.rst:125
167
165
msgid ""
168
166
"If a sequence of events takes longer to run than the time available before "
169
167
"the next event, the scheduler will simply fall behind. No events will be "
@@ -173,11 +171,11 @@ msgstr ""
173
171
"イベントのシーケンスが、次イベントの前に、利用可能時間より実行時間が長いと、スケジューラは単に遅れることになるでしょう。イベントが落ちることはありません;"
174
172
" 呼出しコードはもはや適切でないキャンセルイベントに対して責任があります。"
175
173
176
- #: ../../library/sched.rst:131
174
+ #: ../../library/sched.rst:130
177
175
msgid "*blocking* parameter was added."
178
176
msgstr "*blocking* 引数が追加されました。"
179
177
180
- #: ../../library/sched.rst:136
178
+ #: ../../library/sched.rst:135
181
179
msgid ""
182
180
"Read-only attribute returning a list of upcoming events in the order they "
183
181
"will be run. Each event is shown as a :term:`named tuple` with the "
0 commit comments