disnake

Форк
0
415 строк · 12.7 Кб
1

2
msgid ""
3
msgstr ""
4
"Project-Id-Version:  discordpy\n"
5
"Report-Msgid-Bugs-To: \n"
6
"POT-Creation-Date: 2020-10-23 22:41-0400\n"
7
"PO-Revision-Date: 2020-10-24 02:41+0000\n"
8
"Last-Translator: \n"
9
"Language: ja_JP\n"
10
"Language-Team: Japanese\n"
11
"Plural-Forms: nplurals=1; plural=0\n"
12
"MIME-Version: 1.0\n"
13
"Content-Type: text/plain; charset=utf-8\n"
14
"Content-Transfer-Encoding: 8bit\n"
15
"Generated-By: Babel 2.5.3\n"
16

17
#: ../../ext/tasks/index.rst:4
18
msgid "``disnake.ext.tasks`` -- asyncio.Task helpers"
19
msgstr "``disnake.ext.tasks`` -- asyncio.Task ヘルパー"
20

21
#: ../../ext/tasks/index.rst:8
22
msgid ""
23
"One of the most common operations when making a bot is having a loop run "
24
"in the background at a specified interval. This pattern is very common "
25
"but has a lot of things you need to look out for:"
26
msgstr "ボットを作成するときの最も一般的な操作の1つは、指定した間隔でバックグラウンドでループを実行させることです。このパターンは非常に一般的ですが、注意すべきことがたくさんあります。"
27

28
#: ../../ext/tasks/index.rst:10
29
msgid "How do I handle :exc:`asyncio.CancelledError`?"
30
msgstr ":exc:`asyncio.CancelledError` はどのように処理するべきですか?"
31

32
#: ../../ext/tasks/index.rst:11
33
msgid "What do I do if the internet goes out?"
34
msgstr "インターネット接続が切れた場合はどうするべきですか?"
35

36
#: ../../ext/tasks/index.rst:12
37
msgid "What is the maximum number of seconds I can sleep anyway?"
38
msgstr "スリープできる最大時間は何秒ですか?"
39

40
#: ../../ext/tasks/index.rst:14
41
msgid ""
42
"The goal of this disnake extension is to abstract all these worries "
43
"away from you."
44
msgstr "disnake.pyの拡張機能の目的は、こういった苦労の種を抽象化することです。"
45

46
#: ../../ext/tasks/index.rst:17
47
msgid "Recipes"
48
msgstr "レシピ"
49

50
#: ../../ext/tasks/index.rst:19
51
msgid "A simple background task in a :class:`~disnake.ext.commands.Cog`:"
52
msgstr ":class:`~disnake.ext.commands.Cog` におけるシンプルなバックグラウンドタスク:"
53

54
#: ../../ext/tasks/index.rst:38
55
msgid "Adding an exception to handle during reconnect:"
56
msgstr "再接続中に処理する例外を追加します:"
57

58
#: ../../ext/tasks/index.rst:61
59
msgid "Looping a certain amount of times before exiting:"
60
msgstr "特定の回数ループさせる:"
61

62
#: ../../ext/tasks/index.rst:77
63
msgid "Waiting until the bot is ready before the loop starts:"
64
msgstr "ループが始まる前に、Botの準備が整うまで待機する: "
65

66
#: ../../ext/tasks/index.rst:102
67
msgid "Doing something during cancellation:"
68
msgstr "キャンセルする場合、その間に何らかの処理を行う:"
69

70
#: ../../ext/tasks/index.rst:136
71
msgid "API Reference"
72
msgstr "APIリファレンス"
73

74
#: disnake.ext.tasks.Loop:1 of
75
msgid ""
76
"A background task helper that abstracts the loop and reconnection logic "
77
"for you."
78
msgstr "ループと再接続処理を抽象化するバックグラウンドタスクのヘルパー。"
79

80
#: disnake.ext.tasks.Loop:3 of
81
msgid "The main interface to create this is through :func:`loop`."
82
msgstr ":func:`loop` はこれを作成するための主要なインタフェースです。"
83

84
#: disnake.ext.tasks.Loop.current_loop:1 of
85
msgid "The current iteration of the loop."
86
msgstr ""
87

88
#: disnake.ext.tasks.Loop.current_loop disnake.ext.tasks.Loop.next_iteration of
89
msgid "type"
90
msgstr ""
91

92
#: disnake.ext.tasks.Loop.current_loop:3 of
93
#, fuzzy
94
msgid ":class:`int`"
95
msgstr ":class:`asyncio.Task`"
96

97
#: disnake.ext.tasks.Loop.next_iteration:1 of
98
msgid "When the next iteration of the loop will occur."
99
msgstr ""
100

101
#: disnake.ext.tasks.Loop.next_iteration:5 of
102
msgid "Optional[:class:`datetime.datetime`]"
103
msgstr ""
104

105
#: disnake.ext.tasks.Loop.start:1 of
106
msgid "Starts the internal task in the event loop."
107
msgstr ""
108

109
#: disnake.ext.tasks.Loop.add_exception_type disnake.ext.tasks.Loop.after_loop
110
#: disnake.ext.tasks.Loop.before_loop disnake.ext.tasks.Loop.change_interval
111
#: disnake.ext.tasks.Loop.error disnake.ext.tasks.Loop.remove_exception_type
112
#: disnake.ext.tasks.Loop.restart disnake.ext.tasks.Loop.start
113
#: disnake.ext.tasks.loop of
114
msgid "Parameters"
115
msgstr "パラメーター"
116

117
#: disnake.ext.tasks.Loop.start:3 of
118
msgid "The arguments to use."
119
msgstr ""
120

121
#: disnake.ext.tasks.Loop.restart:9 disnake.ext.tasks.Loop.start:4 of
122
msgid "The keyword arguments to use."
123
msgstr ""
124

125
#: disnake.ext.tasks.Loop.add_exception_type disnake.ext.tasks.Loop.after_loop
126
#: disnake.ext.tasks.Loop.before_loop disnake.ext.tasks.Loop.change_interval
127
#: disnake.ext.tasks.Loop.error disnake.ext.tasks.Loop.start
128
#: disnake.ext.tasks.loop of
129
#, fuzzy
130
msgid "Raises"
131
msgstr "例外"
132

133
#: disnake.ext.tasks.Loop.start:6 of
134
msgid "A task has already been launched and is running."
135
msgstr ""
136

137
#: disnake.ext.tasks.Loop.remove_exception_type disnake.ext.tasks.Loop.start of
138
msgid "Returns"
139
msgstr "戻り値"
140

141
#: disnake.ext.tasks.Loop.start:8 of
142
msgid "The task that has been created."
143
msgstr "タスクが作成されました。"
144

145
#: disnake.ext.tasks.Loop.remove_exception_type disnake.ext.tasks.Loop.start of
146
msgid "Return type"
147
msgstr "戻り値の型"
148

149
#: disnake.ext.tasks.Loop.start:9 of
150
msgid ":class:`asyncio.Task`"
151
msgstr ":class:`asyncio.Task`"
152

153
#: disnake.ext.tasks.Loop.stop:1 of
154
msgid "Gracefully stops the task from running."
155
msgstr ""
156

157
#: disnake.ext.tasks.Loop.stop:3 of
158
msgid ""
159
"Unlike :meth:`cancel`\\, this allows the task to finish its current "
160
"iteration before gracefully exiting."
161
msgstr ""
162

163
#: disnake.ext.tasks.Loop.stop:8 of
164
msgid ""
165
"If the internal function raises an error that can be handled before "
166
"finishing then it will retry until it succeeds."
167
msgstr ""
168

169
#: disnake.ext.tasks.Loop.stop:12 of
170
msgid ""
171
"If this is undesirable, either remove the error handling before stopping "
172
"via :meth:`clear_exception_types` or use :meth:`cancel` instead."
173
msgstr ""
174

175
#: disnake.ext.tasks.Loop.cancel:1 of
176
msgid "Cancels the internal task, if it is running."
177
msgstr ""
178

179
#: disnake.ext.tasks.Loop.restart:1 of
180
msgid "A convenience method to restart the internal task."
181
msgstr ""
182

183
#: disnake.ext.tasks.Loop.restart:5 of
184
msgid ""
185
"Due to the way this function works, the task is not returned like "
186
":meth:`start`."
187
msgstr ""
188

189
#: disnake.ext.tasks.Loop.restart:8 of
190
msgid "The arguments to to use."
191
msgstr ""
192

193
#: disnake.ext.tasks.Loop.add_exception_type:1 of
194
#, fuzzy
195
msgid "Adds exception types to be handled during the reconnect logic."
196
msgstr "再接続中に処理する例外を追加します:"
197

198
#: disnake.ext.tasks.Loop.add_exception_type:3 of
199
msgid ""
200
"By default the exception types handled are those handled by "
201
":meth:`disnake.Client.connect`\\, which includes a lot of internet "
202
"disconnection errors."
203
msgstr ""
204

205
#: disnake.ext.tasks.Loop.add_exception_type:7 of
206
msgid ""
207
"This function is useful if you're interacting with a 3rd party library "
208
"that raises its own set of exceptions."
209
msgstr ""
210

211
#: disnake.ext.tasks.Loop.add_exception_type:10
212
#: disnake.ext.tasks.Loop.remove_exception_type:3 of
213
msgid "An argument list of exception classes to handle."
214
msgstr ""
215

216
#: disnake.ext.tasks.Loop.add_exception_type:13 of
217
msgid ""
218
"An exception passed is either not a class or not inherited from "
219
":class:`BaseException`."
220
msgstr ""
221

222
#: disnake.ext.tasks.Loop.clear_exception_types:1 of
223
msgid "Removes all exception types that are handled."
224
msgstr ""
225

226
#: disnake.ext.tasks.Loop.clear_exception_types:5 of
227
msgid "This operation obviously cannot be undone!"
228
msgstr ""
229

230
#: disnake.ext.tasks.Loop.remove_exception_type:1 of
231
#, fuzzy
232
msgid "Removes exception types from being handled during the reconnect logic."
233
msgstr "再接続中に処理する例外を追加します:"
234

235
#: disnake.ext.tasks.Loop.remove_exception_type:6 of
236
msgid "Whether all exceptions were successfully removed."
237
msgstr ""
238

239
#: disnake.ext.tasks.Loop.remove_exception_type:7 of
240
msgid ":class:`bool`"
241
msgstr ""
242

243
#: disnake.ext.tasks.Loop.get_task:1 of
244
msgid ""
245
"Optional[:class:`asyncio.Task`]: Fetches the internal task or ``None`` if"
246
" there isn't one running."
247
msgstr ""
248

249
#: disnake.ext.tasks.Loop.is_being_cancelled:1 of
250
msgid "Whether the task is being cancelled."
251
msgstr ""
252

253
#: disnake.ext.tasks.Loop.failed:1 of
254
msgid ":class:`bool`: Whether the internal task has failed."
255
msgstr ""
256

257
#: disnake.ext.tasks.Loop.is_running:1 of
258
msgid ":class:`bool`: Check if the task is currently running."
259
msgstr ""
260

261
#: disnake.ext.tasks.Loop.before_loop:1 of
262
msgid ""
263
"A decorator that registers a coroutine to be called before the loop "
264
"starts running."
265
msgstr ""
266

267
#: disnake.ext.tasks.Loop.before_loop:3 of
268
msgid ""
269
"This is useful if you want to wait for some bot state before the loop "
270
"starts, such as :meth:`disnake.Client.wait_until_ready`."
271
msgstr ""
272

273
#: disnake.ext.tasks.Loop.after_loop:3 disnake.ext.tasks.Loop.before_loop:6 of
274
msgid "The coroutine must take no arguments (except ``self`` in a class context)."
275
msgstr ""
276

277
#: disnake.ext.tasks.Loop.before_loop:8 of
278
msgid "The coroutine to register before the loop runs."
279
msgstr ""
280

281
#: disnake.ext.tasks.Loop.after_loop:14 disnake.ext.tasks.Loop.before_loop:11
282
#: disnake.ext.tasks.Loop.error:13 disnake.ext.tasks.loop:22 of
283
msgid "The function was not a coroutine."
284
msgstr ""
285

286
#: disnake.ext.tasks.Loop.after_loop:1 of
287
msgid ""
288
"A decorator that register a coroutine to be called after the loop "
289
"finished running."
290
msgstr ""
291

292
#: disnake.ext.tasks.Loop.after_loop:7 of
293
msgid ""
294
"This coroutine is called even during cancellation. If it is desirable to "
295
"tell apart whether something was cancelled or not, check to see whether "
296
":meth:`is_being_cancelled` is ``True`` or not."
297
msgstr ""
298

299
#: disnake.ext.tasks.Loop.after_loop:11 of
300
msgid "The coroutine to register after the loop finishes."
301
msgstr ""
302

303
#: disnake.ext.tasks.Loop.error:1 of
304
msgid ""
305
"A decorator that registers a coroutine to be called if the task "
306
"encounters an unhandled exception."
307
msgstr ""
308

309
#: disnake.ext.tasks.Loop.error:3 of
310
msgid ""
311
"The coroutine must take only one argument the exception raised (except "
312
"``self`` in a class context)."
313
msgstr ""
314

315
#: disnake.ext.tasks.Loop.error:5 of
316
msgid ""
317
"By default this prints to :data:`sys.stderr` however it could be "
318
"overridden to have a different implementation."
319
msgstr ""
320

321
#: disnake.ext.tasks.Loop.error:10 of
322
msgid "The coroutine to register in the event of an unhandled exception."
323
msgstr ""
324

325
#: disnake.ext.tasks.Loop.change_interval:1 of
326
msgid "Changes the interval for the sleep time."
327
msgstr ""
328

329
#: disnake.ext.tasks.Loop.change_interval:5 of
330
msgid ""
331
"This only applies on the next loop iteration. If it is desirable for the "
332
"change of interval to be applied right away, cancel the task with "
333
":meth:`cancel`."
334
msgstr ""
335

336
#: disnake.ext.tasks.Loop.change_interval:10 disnake.ext.tasks.loop:4 of
337
msgid "The number of seconds between every iteration."
338
msgstr ""
339

340
#: disnake.ext.tasks.Loop.change_interval:12 disnake.ext.tasks.loop:6 of
341
msgid "The number of minutes between every iteration."
342
msgstr ""
343

344
#: disnake.ext.tasks.Loop.change_interval:14 disnake.ext.tasks.loop:8 of
345
msgid "The number of hours between every iteration."
346
msgstr ""
347

348
#: disnake.ext.tasks.Loop.change_interval:17 disnake.ext.tasks.loop:21 of
349
msgid "An invalid value was given."
350
msgstr ""
351

352
#: disnake.ext.tasks.loop:1 of
353
msgid ""
354
"A decorator that schedules a task in the background for you with optional"
355
" reconnect logic. The decorator returns a :class:`Loop`."
356
msgstr ""
357

358
#: disnake.ext.tasks.loop:10 of
359
msgid "The number of loops to do, ``None`` if it should be an infinite loop."
360
msgstr ""
361

362
#: disnake.ext.tasks.loop:13 of
363
msgid ""
364
"Whether to handle errors and restart the task using an exponential back-"
365
"off algorithm similar to the one used in :meth:`disnake.Client.connect`."
366
msgstr ""
367

368
#: disnake.ext.tasks.loop:17 of
369
msgid ""
370
"The loop to use to register the task, if not given defaults to "
371
":func:`asyncio.get_event_loop`."
372
msgstr ""
373

374
#~ msgid ":class:`int` -- The current iteration of the loop."
375
#~ msgstr ""
376

377
#~ msgid ":exc:`RuntimeError` -- A task has already been launched and is running."
378
#~ msgstr ""
379

380
#~ msgid "Adds an exception type to be handled during the reconnect logic."
381
#~ msgstr ""
382

383
#~ msgid "The exception class to handle."
384
#~ msgstr ""
385

386
#~ msgid ""
387
#~ ":exc:`TypeError` -- The exception passed "
388
#~ "is either not a class or not "
389
#~ "inherited from :class:`BaseException`."
390
#~ msgstr ""
391

392
#~ msgid ""
393
#~ "Removes an exception type from being "
394
#~ "handled during the reconnect logic."
395
#~ msgstr ""
396

397
#~ msgid "Whether it was successfully removed."
398
#~ msgstr ""
399

400
#~ msgid ":exc:`TypeError` -- The function was not a coroutine."
401
#~ msgstr ""
402

403
#~ msgid ":exc:`ValueError` -- An invalid value was given."
404
#~ msgstr ""
405

406
#~ msgid ""
407
#~ "A decorator that schedules a task "
408
#~ "in the background for you with "
409
#~ "optional reconnect logic."
410
#~ msgstr ""
411

412
#~ msgid "The loop helper that handles the background task."
413
#~ msgstr ""
414

415
#~ msgid ":class:`Loop`"
416
#~ msgstr ""
417

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.