Skip to content

Commit ca52153

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 5ef9c03 commit ca52153

12 files changed

+1246
-1297
lines changed

library/asyncio-eventloop.po

+396-393
Large diffs are not rendered by default.

library/asyncio-stream.po

+64-59
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@
66
# Translators:
77
# tomo, 2022
88
# Takeshi Nakazato, 2022
9-
# souma987, 2023
109
#
1110
#, fuzzy
1211
msgid ""
1312
msgstr ""
1413
"Project-Id-Version: Python 3.11\n"
1514
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-02-17 14:14+0000\n"
15+
"POT-Creation-Date: 2023-02-24 14:15+0000\n"
1716
"PO-Revision-Date: 2021-06-28 00:55+0000\n"
18-
"Last-Translator: souma987, 2023\n"
17+
"Last-Translator: Takeshi Nakazato, 2022\n"
1918
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/"
2019
"ja/)\n"
2120
"MIME-Version: 1.0\n"
@@ -228,48 +227,54 @@ msgstr ""
228227
"りに :func:`open_connection` や :func:`start_server` を使ってください。"
229228

230229
#: ../../library/asyncio-stream.rst:209
230+
msgid "Read up to *n* bytes from the stream."
231+
msgstr ""
232+
233+
#: ../../library/asyncio-stream.rst:211
231234
msgid ""
232-
"Read up to *n* bytes. If *n* is not provided, or set to ``-1``, read until "
233-
"EOF and return all read bytes."
235+
"If *n* is not provided or set to ``-1``, read until EOF, then return all "
236+
"read :class:`bytes`. If EOF was received and the internal buffer is empty, "
237+
"return an empty ``bytes`` object."
238+
msgstr ""
239+
240+
#: ../../library/asyncio-stream.rst:216
241+
msgid "If *n* is ``0``, return an empty ``bytes`` object immediately."
234242
msgstr ""
235-
"最大 *n* バイト読み込みます。*n* が指定されないか ``-1`` が指定されていた場"
236-
"合 EOF になるまで読み込み、読み込んだすべてのデータを返します。"
237243

238-
#: ../../library/asyncio-stream.rst:212
244+
#: ../../library/asyncio-stream.rst:218
239245
msgid ""
240-
"If EOF was received and the internal buffer is empty, return an empty "
241-
"``bytes`` object."
246+
"If *n* is positive, return at most *n* available ``bytes`` as soon as at "
247+
"least 1 byte is available in the internal buffer. If EOF is received before "
248+
"any byte is read, return an empty ``bytes`` object."
242249
msgstr ""
243-
"EOF を受信し、かつ内部バッファーが空の場合、空の ``bytes`` オブジェクトを返し"
244-
"ます。"
245250

246-
#: ../../library/asyncio-stream.rst:217
251+
#: ../../library/asyncio-stream.rst:225
247252
msgid ""
248253
"Read one line, where \"line\" is a sequence of bytes ending with ``\\n``."
249254
msgstr ""
250255
"1 行読み込みます。 \"\" とは、``\\n`` で終了するバイト列のシーケンスです。"
251256

252-
#: ../../library/asyncio-stream.rst:220
257+
#: ../../library/asyncio-stream.rst:228
253258
msgid ""
254259
"If EOF is received and ``\\n`` was not found, the method returns partially "
255260
"read data."
256261
msgstr ""
257262
"EOF を受信し、かつ ``\\n`` が見つからない場合、このメソッドは部分的に読み込ん"
258263
"だデータを返します。"
259264

260-
#: ../../library/asyncio-stream.rst:223
265+
#: ../../library/asyncio-stream.rst:231
261266
msgid ""
262267
"If EOF is received and the internal buffer is empty, return an empty "
263268
"``bytes`` object."
264269
msgstr ""
265270
"EOF を受信し、かつ内部バッファーが空の場合、空の ``bytes`` オブジェクトを返し"
266271
"ます。"
267272

268-
#: ../../library/asyncio-stream.rst:228
273+
#: ../../library/asyncio-stream.rst:236
269274
msgid "Read exactly *n* bytes."
270275
msgstr "厳密に *n* バイトのデータを読み出します。"
271276

272-
#: ../../library/asyncio-stream.rst:230
277+
#: ../../library/asyncio-stream.rst:238
273278
msgid ""
274279
"Raise an :exc:`IncompleteReadError` if EOF is reached before *n* can be "
275280
"read. Use the :attr:`IncompleteReadError.partial` attribute to get the "
@@ -279,19 +284,19 @@ msgstr ""
279284
"ます。部分的に読み出したデータを取得するには :attr:`IncompleteReadError."
280285
"partial` 属性を使ってください。"
281286

282-
#: ../../library/asyncio-stream.rst:236
287+
#: ../../library/asyncio-stream.rst:244
283288
msgid "Read data from the stream until *separator* is found."
284289
msgstr "*separator* が見つかるまでストリームからデータを読み出します。"
285290

286-
#: ../../library/asyncio-stream.rst:238
291+
#: ../../library/asyncio-stream.rst:246
287292
msgid ""
288293
"On success, the data and separator will be removed from the internal buffer "
289294
"(consumed). Returned data will include the separator at the end."
290295
msgstr ""
291296
"成功時には、データと区切り文字は内部バッファから削除されます (消費されます)。"
292297
"返されるデータの最後には区切り文字が含まれます。"
293298

294-
#: ../../library/asyncio-stream.rst:242
299+
#: ../../library/asyncio-stream.rst:250
295300
msgid ""
296301
"If the amount of data read exceeds the configured stream limit, a :exc:"
297302
"`LimitOverrunError` exception is raised, and the data is left in the "
@@ -301,7 +306,7 @@ msgstr ""
301306
"`LimitOverrunError` 例外が送出されます。このときデータは内部バッファーに残さ"
302307
"れ、再度読み出すことができます。"
303308

304-
#: ../../library/asyncio-stream.rst:246
309+
#: ../../library/asyncio-stream.rst:254
305310
msgid ""
306311
"If EOF is reached before the complete separator is found, an :exc:"
307312
"`IncompleteReadError` exception is raised, and the internal buffer is "
@@ -312,31 +317,31 @@ msgstr ""
312317
"外が送出され、内部バッファーがリセットされます。このとき :attr:"
313318
"`IncompleteReadError.partial` 属性は区切り文字の一部を含むかもしれません。"
314319

315-
#: ../../library/asyncio-stream.rst:255
320+
#: ../../library/asyncio-stream.rst:263
316321
msgid "Return ``True`` if the buffer is empty and :meth:`feed_eof` was called."
317322
msgstr ""
318323
"バッファーが空で :meth:`feed_eof` が呼ばれていた場合 ``True`` を返します。"
319324

320-
#: ../../library/asyncio-stream.rst:260
325+
#: ../../library/asyncio-stream.rst:268
321326
msgid "StreamWriter"
322327
msgstr "StreamWriter"
323328

324-
#: ../../library/asyncio-stream.rst:264
329+
#: ../../library/asyncio-stream.rst:272
325330
msgid ""
326331
"Represents a writer object that provides APIs to write data to the IO stream."
327332
msgstr ""
328333
"IO ストリームにデータを書き込むための API を提供するライターオブジェクトを表"
329334
"します。"
330335

331-
#: ../../library/asyncio-stream.rst:267
336+
#: ../../library/asyncio-stream.rst:275
332337
msgid ""
333338
"It is not recommended to instantiate *StreamWriter* objects directly; use :"
334339
"func:`open_connection` and :func:`start_server` instead."
335340
msgstr ""
336341
"*StreamWriter* オブジェクトを直接インスタンス化することは推奨されません; 代わ"
337342
"りに :func:`open_connection` や :func:`start_server` を使ってください。"
338343

339-
#: ../../library/asyncio-stream.rst:273
344+
#: ../../library/asyncio-stream.rst:281
340345
msgid ""
341346
"The method attempts to write the *data* to the underlying socket "
342347
"immediately. If that fails, the data is queued in an internal write buffer "
@@ -346,11 +351,11 @@ msgstr ""
346351
"込みに失敗した場合、データは送信可能になるまで内部の書き込みバッファーに格納"
347352
"されて待機します。"
348353

349-
#: ../../library/asyncio-stream.rst:277 ../../library/asyncio-stream.rst:289
354+
#: ../../library/asyncio-stream.rst:285 ../../library/asyncio-stream.rst:297
350355
msgid "The method should be used along with the ``drain()`` method::"
351356
msgstr "このメソッドは ``drain()`` メソッドと組み合わせて使うべきです::"
352357

353-
#: ../../library/asyncio-stream.rst:284
358+
#: ../../library/asyncio-stream.rst:292
354359
msgid ""
355360
"The method writes a list (or any iterable) of bytes to the underlying socket "
356361
"immediately. If that fails, the data is queued in an internal write buffer "
@@ -360,48 +365,48 @@ msgstr ""
360365
"を即座に書き込みます。書き込みに失敗した場合、データは送信可能になるまで内部"
361366
"の書き込みバッファーに格納されて待機します。"
362367

363-
#: ../../library/asyncio-stream.rst:296
368+
#: ../../library/asyncio-stream.rst:304
364369
msgid "The method closes the stream and the underlying socket."
365370
msgstr "このメソッドはストリームと背後にあるソケットをクローズします。"
366371

367-
#: ../../library/asyncio-stream.rst:298
372+
#: ../../library/asyncio-stream.rst:306
368373
msgid ""
369374
"The method should be used, though not mandatory, along with the "
370375
"``wait_closed()`` method::"
371376
msgstr ""
372377

373-
#: ../../library/asyncio-stream.rst:306
378+
#: ../../library/asyncio-stream.rst:314
374379
msgid ""
375380
"Return ``True`` if the underlying transport supports the :meth:`write_eof` "
376381
"method, ``False`` otherwise."
377382
msgstr ""
378383
"背後にあるトランスポートが :meth:`write_eof` メソッドをサポートしている場合 "
379384
"``True`` を返し、そうでない場合は ``False`` を返します。"
380385

381-
#: ../../library/asyncio-stream.rst:311
386+
#: ../../library/asyncio-stream.rst:319
382387
msgid ""
383388
"Close the write end of the stream after the buffered write data is flushed."
384389
msgstr ""
385390
"バッファーされた書き込みデータを全て書き込んでから、ストリームの書き込み側終"
386391
"端をクローズします。"
387392

388-
#: ../../library/asyncio-stream.rst:316
393+
#: ../../library/asyncio-stream.rst:324
389394
msgid "Return the underlying asyncio transport."
390395
msgstr "背後にある asyncio トランスポートを返します。"
391396

392-
#: ../../library/asyncio-stream.rst:320
397+
#: ../../library/asyncio-stream.rst:328
393398
msgid ""
394399
"Access optional transport information; see :meth:`BaseTransport."
395400
"get_extra_info` for details."
396401
msgstr ""
397402
"オプションのトランスポート情報にアクセスします。詳細は :meth:`BaseTransport."
398403
"get_extra_info` を参照してください。"
399404

400-
#: ../../library/asyncio-stream.rst:325
405+
#: ../../library/asyncio-stream.rst:333
401406
msgid "Wait until it is appropriate to resume writing to the stream. Example::"
402407
msgstr "ストリームへの書き込み再開に適切な状態になるまで待ちます。使用例::"
403408

404-
#: ../../library/asyncio-stream.rst:331
409+
#: ../../library/asyncio-stream.rst:339
405410
msgid ""
406411
"This is a flow control method that interacts with the underlying IO write "
407412
"buffer. When the size of the buffer reaches the high watermark, *drain()* "
@@ -415,65 +420,65 @@ msgstr ""
415420
"をブロックします。待ち受けの必要がない場合、 :meth:`drain` は即座にリターンし"
416421
"ます。"
417422

418-
#: ../../library/asyncio-stream.rst:341
423+
#: ../../library/asyncio-stream.rst:349
419424
msgid "Upgrade an existing stream-based connection to TLS."
420425
msgstr ""
421426

422-
#: ../../library/asyncio-stream.rst:343
427+
#: ../../library/asyncio-stream.rst:351
423428
msgid "Parameters:"
424429
msgstr "引数:"
425430

426-
#: ../../library/asyncio-stream.rst:345
431+
#: ../../library/asyncio-stream.rst:353
427432
msgid "*sslcontext*: a configured instance of :class:`~ssl.SSLContext`."
428433
msgstr "*sslcontext*: 構成済みの :class:`~ssl.SSLContext` インスタンスです。"
429434

430-
#: ../../library/asyncio-stream.rst:347
435+
#: ../../library/asyncio-stream.rst:355
431436
msgid ""
432437
"*server_hostname*: sets or overrides the host name that the target server's "
433438
"certificate will be matched against."
434439
msgstr ""
435440
"*server_hostname*: 対象のサーバーの証明書との照合に使われるホスト名を設定また"
436441
"は上書きします。"
437442

438-
#: ../../library/asyncio-stream.rst:350
443+
#: ../../library/asyncio-stream.rst:358
439444
msgid ""
440445
"*ssl_handshake_timeout* is the time in seconds to wait for the TLS handshake "
441446
"to complete before aborting the connection. ``60.0`` seconds if ``None`` "
442447
"(default)."
443448
msgstr ""
444449

445-
#: ../../library/asyncio-stream.rst:358
450+
#: ../../library/asyncio-stream.rst:366
446451
msgid ""
447452
"Return ``True`` if the stream is closed or in the process of being closed."
448453
msgstr ""
449454
"ストリームがクローズされたか、またはクローズ処理中の場合に ``True`` を返しま"
450455
"す。"
451456

452-
#: ../../library/asyncio-stream.rst:365
457+
#: ../../library/asyncio-stream.rst:373
453458
msgid "Wait until the stream is closed."
454459
msgstr "ストリームがクローズされるまで待機します。"
455460

456-
#: ../../library/asyncio-stream.rst:367
461+
#: ../../library/asyncio-stream.rst:375
457462
msgid ""
458463
"Should be called after :meth:`close` to wait until the underlying connection "
459464
"is closed, ensuring that all data has been flushed before e.g. exiting the "
460465
"program."
461466
msgstr ""
462467

463-
#: ../../library/asyncio-stream.rst:375
468+
#: ../../library/asyncio-stream.rst:383
464469
msgid "Examples"
465470
msgstr "使用例"
466471

467-
#: ../../library/asyncio-stream.rst:380
472+
#: ../../library/asyncio-stream.rst:388
468473
msgid "TCP echo client using streams"
469474
msgstr "ストリームを使った TCP Echo クライアント"
470475

471-
#: ../../library/asyncio-stream.rst:382
476+
#: ../../library/asyncio-stream.rst:390
472477
msgid "TCP echo client using the :func:`asyncio.open_connection` function::"
473478
msgstr ""
474479
":func:`asyncio.open_connection` 関数を使った TCP Echo クライアントです::"
475480

476-
#: ../../library/asyncio-stream.rst:406
481+
#: ../../library/asyncio-stream.rst:414
477482
msgid ""
478483
"The :ref:`TCP echo client protocol "
479484
"<asyncio_example_tcp_echo_client_protocol>` example uses the low-level :meth:"
@@ -483,15 +488,15 @@ msgstr ""
483488
"<asyncio_example_tcp_echo_client_protocol>` の例は低水準の :meth:`loop."
484489
"create_connection` メソッドを使っています。"
485490

486-
#: ../../library/asyncio-stream.rst:413
491+
#: ../../library/asyncio-stream.rst:421
487492
msgid "TCP echo server using streams"
488493
msgstr "ストリームを使った TCP Echo サーバー"
489494

490-
#: ../../library/asyncio-stream.rst:415
495+
#: ../../library/asyncio-stream.rst:423
491496
msgid "TCP echo server using the :func:`asyncio.start_server` function::"
492497
msgstr ":func:`asyncio.start_server` 関数を使った TCP Echo サーバーです::"
493498

494-
#: ../../library/asyncio-stream.rst:449
499+
#: ../../library/asyncio-stream.rst:457
495500
msgid ""
496501
"The :ref:`TCP echo server protocol "
497502
"<asyncio_example_tcp_echo_server_protocol>` example uses the :meth:`loop."
@@ -501,37 +506,37 @@ msgstr ""
501506
"<asyncio_example_tcp_echo_server_protocol>` の例は :meth:`loop."
502507
"create_server` メソッドを使っています。"
503508

504-
#: ../../library/asyncio-stream.rst:454
509+
#: ../../library/asyncio-stream.rst:462
505510
msgid "Get HTTP headers"
506511
msgstr "HTTP ヘッダーの取得"
507512

508-
#: ../../library/asyncio-stream.rst:456
513+
#: ../../library/asyncio-stream.rst:464
509514
msgid ""
510515
"Simple example querying HTTP headers of the URL passed on the command line::"
511516
msgstr ""
512517
"コマンドラインから渡された URL の HTTP ヘッダーを問い合わせる簡単な例です::"
513518

514-
#: ../../library/asyncio-stream.rst:495
519+
#: ../../library/asyncio-stream.rst:503
515520
msgid "Usage::"
516521
msgstr "使い方::"
517522

518-
#: ../../library/asyncio-stream.rst:499
523+
#: ../../library/asyncio-stream.rst:507
519524
msgid "or with HTTPS::"
520525
msgstr "または HTTPS を使用::"
521526

522-
#: ../../library/asyncio-stream.rst:507
527+
#: ../../library/asyncio-stream.rst:515
523528
msgid "Register an open socket to wait for data using streams"
524529
msgstr "ストリームを使ってデータを待つオープンソケットの登録"
525530

526-
#: ../../library/asyncio-stream.rst:509
531+
#: ../../library/asyncio-stream.rst:517
527532
msgid ""
528533
"Coroutine waiting until a socket receives data using the :func:"
529534
"`open_connection` function::"
530535
msgstr ""
531536
":func:`open_connection` 関数を使ってソケットがデータを受信するまで待つコルー"
532537
"チンです::"
533538

534-
#: ../../library/asyncio-stream.rst:544
539+
#: ../../library/asyncio-stream.rst:552
535540
msgid ""
536541
"The :ref:`register an open socket to wait for data using a protocol "
537542
"<asyncio_example_create_connection>` example uses a low-level protocol and "
@@ -541,7 +546,7 @@ msgstr ""
541546
"<asyncio_example_create_connection>` 例では、低水準のプロトコルと :meth:"
542547
"`loop.create_connection` メソッドを使っています。"
543548

544-
#: ../../library/asyncio-stream.rst:548
549+
#: ../../library/asyncio-stream.rst:556
545550
msgid ""
546551
"The :ref:`watch a file descriptor for read events "
547552
"<asyncio_example_watch_fd>` example uses the low-level :meth:`loop."

0 commit comments

Comments
 (0)