Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3179b1c

Browse files
Autobuild bot on TravisCIcocoatomo
Autobuild bot on TravisCI
authored andcommitted
[skip ci] Update .po files
1 parent58b9082 commit3179b1c

File tree

1 file changed

+51
-48
lines changed

1 file changed

+51
-48
lines changed

‎library/socketserver.po

Lines changed: 51 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version:Python 3.8\n"
1616
"Report-Msgid-Bugs-To:\n"
17-
"POT-Creation-Date:2020-02-09 12:40+0000\n"
17+
"POT-Creation-Date:2020-03-20 13:04+0000\n"
1818
"PO-Revision-Date:2017-02-16 23:26+0000\n"
1919
"Last-Translator:Shun Sakurai, 2017\n"
2020
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -298,28 +298,31 @@ msgid ""
298298
msgstr""
299299

300300
#:../../library/socketserver.rst:239
301-
msgid"Tell the :meth:`serve_forever` loop to stop and wait until it does."
302-
msgstr":meth:`serve_forever` ループに停止するように指示し、停止されるまで待ちます。"
301+
msgid""
302+
"Tell the :meth:`serve_forever` loop to stop and wait until it does. "
303+
":meth:`shutdown` must be called while :meth:`serve_forever` is running in a "
304+
"different thread otherwise it will deadlock."
305+
msgstr""
303306

304-
#:../../library/socketserver.rst:244
307+
#:../../library/socketserver.rst:246
305308
msgid"Clean up the server. May be overridden."
306309
msgstr"サーバをクリーンアップします。上書き出来ます。"
307310

308-
#:../../library/socketserver.rst:249
311+
#:../../library/socketserver.rst:251
309312
msgid""
310313
"The family of protocols to which the server's socket belongs. Common "
311314
"examples are :const:`socket.AF_INET` and :const:`socket.AF_UNIX`."
312315
msgstr""
313316
"サーバのソケットが属しているプロトコルファミリです。一般的な値は :const:`socket.AF_INET` および "
314317
":const:`socket.AF_UNIX` です。"
315318

316-
#:../../library/socketserver.rst:255
319+
#:../../library/socketserver.rst:257
317320
msgid""
318321
"The user-provided request handler class; an instance of this class is "
319322
"created for each request."
320323
msgstr"ユーザが提供する要求処理クラスです; 要求ごとにこのクラスのインスタンスが生成されます。"
321324

322-
#:../../library/socketserver.rst:261
325+
#:../../library/socketserver.rst:263
323326
msgid""
324327
"The address on which the server is listening. The format of addresses "
325328
"varies depending on the protocol family; see the documentation for the "
@@ -328,24 +331,24 @@ msgid ""
328331
"``('127.0.0.1', 80)``, for example."
329332
msgstr""
330333

331-
#:../../library/socketserver.rst:270
334+
#:../../library/socketserver.rst:272
332335
msgid""
333336
"The socket object on which the server will listen for incoming requests."
334337
msgstr"サーバが入力の要求待ちを行うためのソケットオブジェクトです。"
335338

336-
#:../../library/socketserver.rst:273
339+
#:../../library/socketserver.rst:275
337340
msgid"The server classes support the following class variables:"
338341
msgstr"サーバクラスは以下のクラス変数をサポートします:"
339342

340-
#:../../library/socketserver.rst:279
343+
#:../../library/socketserver.rst:281
341344
msgid""
342345
"Whether the server will allow the reuse of an address. This defaults to "
343346
":const:`False`, and can be set in subclasses to change the policy."
344347
msgstr""
345348
"サーバがアドレスの再使用を許すかどうかを示す値です。この値は標準で :const:`False` "
346349
"で、サブクラスで再使用ポリシを変更するために設定することができます。"
347350

348-
#:../../library/socketserver.rst:285
351+
#:../../library/socketserver.rst:287
349352
msgid""
350353
"The size of the request queue. If it takes a long time to process a single "
351354
"request, any requests that arrive while the server is busy are placed into a"
@@ -357,15 +360,15 @@ msgstr ""
357360
":attr:`request_queue_size` 個まで待ち行列に置かれます。待ち行列が一杯になると、それ以降のクライアントからの要求は "
358361
"\"接続拒否 (Connection denied)\" エラーになります。標準の値は通常 5 ですが、この値はサブクラスで上書きすることができます。"
359362

360-
#:../../library/socketserver.rst:294
363+
#:../../library/socketserver.rst:296
361364
msgid""
362365
"The type of socket used by the server; :const:`socket.SOCK_STREAM` and "
363366
":const:`socket.SOCK_DGRAM` are two common values."
364367
msgstr""
365368
"サーバが使うソケットの型です; 一般的な2つの値は、 :const:`socket.SOCK_STREAM` と "
366369
":const:`socket.SOCK_DGRAM` です。"
367370

368-
#:../../library/socketserver.rst:300
371+
#:../../library/socketserver.rst:302
369372
msgid""
370373
"Timeout duration, measured in seconds, or :const:`None` if no timeout is "
371374
"desired. If :meth:`handle_request` receives no incoming requests within the"
@@ -374,7 +377,7 @@ msgstr ""
374377
"タイムアウト時間(秒)、もしくは、タイムアウトを望まない場合に :const:`None` 。 :meth:`handle_request` "
375378
"がこの時間内にリクエストを受信しない場合、 :meth:`handle_timeout` メソッドが呼ばれます。"
376379

377-
#:../../library/socketserver.rst:305
380+
#:../../library/socketserver.rst:307
378381
msgid""
379382
"There are various server methods that can be overridden by subclasses of "
380383
"base server classes like :class:`TCPServer`; these methods aren't useful to "
@@ -383,13 +386,13 @@ msgstr ""
383386
":class:`TCPServer` のような基底クラスのサブクラスで上書きできるサーバメソッドは多数あります; "
384387
"これらのメソッドはサーバオブジェクトの外部のユーザにとっては役にたたないものです。"
385388

386-
#:../../library/socketserver.rst:314
389+
#:../../library/socketserver.rst:316
387390
msgid""
388391
"Actually processes the request by instantiating :attr:`RequestHandlerClass` "
389392
"and calling its :meth:`~BaseRequestHandler.handle` method."
390393
msgstr""
391394

392-
#:../../library/socketserver.rst:320
395+
#:../../library/socketserver.rst:322
393396
msgid""
394397
"Must accept a request from the socket, and return a 2-tuple containing the "
395398
"*new* socket object to be used to communicate with the client, and the "
@@ -398,20 +401,20 @@ msgstr ""
398401
"ソケットから要求を受理して、クライアントとの通信に使われる *新しい* ソケットオブジェクト、およびクライアントのアドレスからなる、2 "
399402
"要素のタプルを返します。"
400403

401-
#:../../library/socketserver.rst:327
404+
#:../../library/socketserver.rst:329
402405
msgid""
403406
"This function is called if the :meth:`~BaseRequestHandler.handle` method of "
404407
"a :attr:`RequestHandlerClass` instance raises an exception. The default "
405408
"action is to print the traceback to standard error and continue handling "
406409
"further requests."
407410
msgstr""
408411

409-
#:../../library/socketserver.rst:332
412+
#:../../library/socketserver.rst:334
410413
msgid""
411414
"Now only called for exceptions derived from the :exc:`Exception` class."
412415
msgstr""
413416

414-
#:../../library/socketserver.rst:339
417+
#:../../library/socketserver.rst:341
415418
msgid""
416419
"This function is called when the :attr:`timeout` attribute has been set to a"
417420
" value other than :const:`None` and the timeout period has passed with no "
@@ -423,7 +426,7 @@ msgstr ""
423426
"以外に設定されて、リクエストがないままタイムアウト秒数が過ぎたときに呼ばれます。 "
424427
"fork型サーバーでのデフォルトの動作は、終了した子プロセスの情報を集めるようになっています。スレッド型サーバーではこのメソッドは何もしません。"
425428

426-
#:../../library/socketserver.rst:348
429+
#:../../library/socketserver.rst:350
427430
msgid""
428431
"Calls :meth:`finish_request` to create an instance of the "
429432
":attr:`RequestHandlerClass`. If desired, this function can create a new "
@@ -434,20 +437,20 @@ msgstr ""
434437
"のインスタンスを生成します。必要なら、この関数から新たなプロセスかスレッドを生成して要求を処理することができます; その処理は "
435438
":class:`ForkingMixIn` または :class:`ThreadingMixIn` クラスが行います。"
436439

437-
#:../../library/socketserver.rst:360
440+
#:../../library/socketserver.rst:362
438441
msgid""
439442
"Called by the server's constructor to activate the server. The default "
440443
"behavior for a TCP server just invokes :meth:`~socket.socket.listen` on the "
441444
"server's socket. May be overridden."
442445
msgstr""
443446

444-
#:../../library/socketserver.rst:367
447+
#:../../library/socketserver.rst:369
445448
msgid""
446449
"Called by the server's constructor to bind the socket to the desired "
447450
"address. May be overridden."
448451
msgstr"サーバのコンストラクタによって呼び出され、適切なアドレスにソケットをバインドします。このメソッドは上書きできます。"
449452

450-
#:../../library/socketserver.rst:373
453+
#:../../library/socketserver.rst:375
451454
msgid""
452455
"Must return a Boolean value; if the value is :const:`True`, the request will"
453456
" be processed, and if it's :const:`False`, the request will be denied. This"
@@ -458,31 +461,31 @@ msgstr ""
458461
"の場合には要求は拒否されます。サーバへのアクセス制御を実装するためにこの関数を上書きすることができます。標準の実装では常に :const:`True` "
459462
"を返します。"
460463

461-
#:../../library/socketserver.rst:379
464+
#:../../library/socketserver.rst:381
462465
msgid""
463466
"Support for the :term:`context manager` protocol was added. Exiting the "
464467
"context manager is equivalent to calling :meth:`server_close`."
465468
msgstr""
466469

467-
#:../../library/socketserver.rst:385
470+
#:../../library/socketserver.rst:387
468471
msgid"Request Handler Objects"
469472
msgstr""
470473

471-
#:../../library/socketserver.rst:389
474+
#:../../library/socketserver.rst:391
472475
msgid""
473476
"This is the superclass of all request handler objects. It defines the "
474477
"interface, given below. A concrete request handler subclass must define a "
475478
"new :meth:`handle` method, and can override any of the other methods. A new"
476479
" instance of the subclass is created for each request."
477480
msgstr""
478481

479-
#:../../library/socketserver.rst:398
482+
#:../../library/socketserver.rst:400
480483
msgid""
481484
"Called before the :meth:`handle` method to perform any initialization "
482485
"actions required. The default implementation does nothing."
483486
msgstr":meth:`handle` メソッドより前に呼び出され、何らかの必要な初期化処理を行います。標準の実装では何も行いません。"
484487

485-
#:../../library/socketserver.rst:404
488+
#:../../library/socketserver.rst:406
486489
msgid""
487490
"This function must do all the work required to service a request. The "
488491
"default implementation does nothing. Several instance attributes are "
@@ -495,14 +498,14 @@ msgstr ""
495498
":attr:`self.client_address` です; そしてサーバごとの情報にアクセスする場合には、サーバインスタンスを "
496499
":attr:`self.server` で取得できます。"
497500

498-
#:../../library/socketserver.rst:410
501+
#:../../library/socketserver.rst:412
499502
msgid""
500503
"The type of :attr:`self.request` is different for datagram or stream "
501504
"services. For stream services, :attr:`self.request` is a socket object; for"
502505
" datagram services, :attr:`self.request` is a pair of string and socket."
503506
msgstr""
504507

505-
#:../../library/socketserver.rst:417
508+
#:../../library/socketserver.rst:419
506509
msgid""
507510
"Called after the :meth:`handle` method to perform any clean-up actions "
508511
"required. The default implementation does nothing. If :meth:`setup` raises"
@@ -511,7 +514,7 @@ msgstr ""
511514
":meth:`handle` メソッドより後に呼び出され、何らかの必要なクリーンアップ処理を行います。標準の実装では何も行いません。 "
512515
":meth:`setup` メソッドが例外を送出した場合、このメソッドは呼び出されません。"
513516

514-
#:../../library/socketserver.rst:425
517+
#:../../library/socketserver.rst:427
515518
msgid""
516519
"These :class:`BaseRequestHandler` subclasses override the "
517520
":meth:`~BaseRequestHandler.setup` and :meth:`~BaseRequestHandler.finish` "
@@ -520,41 +523,41 @@ msgid ""
520523
"written, respectively, to get the request data or return data to the client."
521524
msgstr""
522525

523-
#:../../library/socketserver.rst:432
526+
#:../../library/socketserver.rst:434
524527
msgid""
525528
"The :attr:`rfile` attributes of both classes support the "
526529
":class:`io.BufferedIOBase` readable interface, and "
527530
":attr:`DatagramRequestHandler.wfile` supports the :class:`io.BufferedIOBase`"
528531
" writable interface."
529532
msgstr""
530533

531-
#:../../library/socketserver.rst:437
534+
#:../../library/socketserver.rst:439
532535
msgid""
533536
":attr:`StreamRequestHandler.wfile` also supports the "
534537
":class:`io.BufferedIOBase` writable interface."
535538
msgstr""
536539

537-
#:../../library/socketserver.rst:443
540+
#:../../library/socketserver.rst:445
538541
msgid"Examples"
539542
msgstr"使用例"
540543

541-
#:../../library/socketserver.rst:446
544+
#:../../library/socketserver.rst:448
542545
msgid":class:`socketserver.TCPServer` Example"
543546
msgstr":class:`socketserver.TCPServer` の例"
544547

545-
#:../../library/socketserver.rst:448../../library/socketserver.rst:547
548+
#:../../library/socketserver.rst:450../../library/socketserver.rst:549
546549
msgid"This is the server side::"
547550
msgstr"サーバサイドの例です::"
548551

549-
#:../../library/socketserver.rst:478
552+
#:../../library/socketserver.rst:480
550553
msgid""
551554
"An alternative request handler class that makes use of streams (file-like "
552555
"objects that simplify communication by providing the standard file "
553556
"interface)::"
554557
msgstr""
555558
"別の、ストリーム(標準のファイル型のインタフェースを利用して通信をシンプルにしたファイルライクオブジェクト)を使うリクエストハンドラクラスの例です::"
556559

557-
#:../../library/socketserver.rst:493
560+
#:../../library/socketserver.rst:495
558561
msgid""
559562
"The difference is that the ``readline()`` call in the second handler will "
560563
"call ``recv()`` multiple times until it encounters a newline character, "
@@ -564,49 +567,49 @@ msgstr ""
564567
"先ほどとの違いは、``readline()`` の呼び出しが、改行を受け取るまで ``recv()`` を複数回呼び出すことです。1回の "
565568
"``recv()`` の呼び出しは、クライアントから1回の ``sendall()`` 呼び出しで送信された分しか受け取りません。"
566569

567-
#:../../library/socketserver.rst:499../../library/socketserver.rst:571
570+
#:../../library/socketserver.rst:501../../library/socketserver.rst:573
568571
msgid"This is the client side::"
569572
msgstr"クライアントサイドの例::"
570573

571-
#:../../library/socketserver.rst:520../../library/socketserver.rst:646
574+
#:../../library/socketserver.rst:522../../library/socketserver.rst:648
572575
msgid"The output of the example should look something like this:"
573576
msgstr"この例の出力は次のようになります:"
574577

575-
#:../../library/socketserver.rst:522
578+
#:../../library/socketserver.rst:524
576579
msgid"Server:"
577580
msgstr""
578581

579-
#:../../library/socketserver.rst:532
582+
#:../../library/socketserver.rst:534
580583
msgid"Client:"
581584
msgstr""
582585

583-
#:../../library/socketserver.rst:545
586+
#:../../library/socketserver.rst:547
584587
msgid":class:`socketserver.UDPServer` Example"
585588
msgstr":class:`socketserver.UDPServer` の例"
586589

587-
#:../../library/socketserver.rst:590
590+
#:../../library/socketserver.rst:592
588591
msgid""
589592
"The output of the example should look exactly like for the TCP server "
590593
"example."
591594
msgstr"この例の出力は、TCPサーバーの例と全く同じようになります。"
592595

593-
#:../../library/socketserver.rst:594
596+
#:../../library/socketserver.rst:596
594597
msgid"Asynchronous Mixins"
595598
msgstr"非同期処理の Mix-in"
596599

597-
#:../../library/socketserver.rst:596
600+
#:../../library/socketserver.rst:598
598601
msgid""
599602
"To build asynchronous handlers, use the :class:`ThreadingMixIn` and "
600603
":class:`ForkingMixIn` classes."
601604
msgstr""
602605
"複数の接続を非同期に処理するハンドラを作るには、 :class:`ThreadingMixIn` か :class:`ForkingMixIn` "
603606
"クラスを利用します。"
604607

605-
#:../../library/socketserver.rst:599
608+
#:../../library/socketserver.rst:601
606609
msgid"An example for the :class:`ThreadingMixIn` class::"
607610
msgstr":class:`ThreadingMixIn` クラスの利用例::"
608611

609-
#:../../library/socketserver.rst:657
612+
#:../../library/socketserver.rst:659
610613
msgid""
611614
"The :class:`ForkingMixIn` class is used in the same way, except that the "
612615
"server will spawn a new process for each request. Available only on POSIX "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp