66# Translators:
77# tomo, 2020
88# mollinaca, 2021
9+ # Takanori Suzuki <takanori@takanory.net>, 2021
910#
1011#, fuzzy
1112msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415"Report-Msgid-Bugs-To :\n "
1516"POT-Creation-Date :2021-01-01 16:06+0000\n "
1617"PO-Revision-Date :2020-05-30 12:13+0000\n "
17- "Last-Translator :mollinaca , 2021\n "
18+ "Last-Translator :Takanori Suzuki <takanori@takanory.net> , 2021\n "
1819"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
1920"MIME-Version :1.0\n "
2021"Content-Type :text/plain; charset=UTF-8\n "
@@ -208,6 +209,8 @@ msgid ""
208209"Raises an :ref:`auditing event <auditing>` ``urllib.Request`` with arguments"
209210" ``fullurl``, ``data``, ``headers``, ``method``."
210211msgstr ""
212+ "引数 ``fullurl``, ``data``, ``headers``, ``method`` を指定して :ref:`監査イベント "
213+ "<auditing>` ``urllib.Request``` を送出します。 "
211214
212215#: ../../library/urllib.request.rst:100
213216msgid ""
@@ -245,6 +248,8 @@ msgid ""
245248":func:`ssl.create_default_context` select the system's trusted CA "
246249"certificates for you."
247250msgstr ""
251+ "*cafile*, *capath* および *cadefault* は非推奨となったので、 *context* を使ってください。\n"
252+ "代わりに :meth:`ssl.SSLContext.load_cert_chain` を使うか、または :func:`ssl.create_default_context` にシステムが信頼する CA 証明書を選んでもらうかしてください。"
248253
249254#: ../../library/urllib.request.rst:130
250255msgid ""
@@ -761,7 +766,7 @@ msgstr ""
761766msgid ""
762767"boolean, indicates whether the request is unverifiable as defined by "
763768":rfc:`2965`."
764- msgstr ""
769+ msgstr "リクエストが :rfc:`2965` で定義された証明不能 (unverifiable) であるかどうかを示す論理値です。 "
765770
766771#: ../../library/urllib.request.rst:518
767772msgid ""
@@ -890,46 +895,55 @@ msgid ""
890895":meth:`<protocol>_open` --- signal that the handler knows how to open "
891896"*protocol* URLs."
892897msgstr ""
898+ ":meth:`<protocol>_open` --- ハンドラーが *protocol* の URL を開く方法を知っているかどうかを調べます。"
893899
894900#: ../../library/urllib.request.rst:627
895901msgid "See |protocol_open|_ for more information."
896- msgstr ""
902+ msgstr "詳細は、 |protocol_open|_ を参照してください。 "
897903
898904#: ../../library/urllib.request.rst:629
899905msgid ""
900906":meth:`http_error_\\ <type\\ >` --- signal that the handler knows how to "
901907"handle HTTP errors with HTTP error code *type*."
902908msgstr ""
909+ ":meth:`http_error_\\ <type\\ >` --- ハンドラーが HTTP エラーコード *type* "
910+ "の処理方法を知っていることを示すシグナルです。"
903911
904912#: ../../library/urllib.request.rst:632
905913msgid "See |http_error_nnn|_ for more information."
906- msgstr ""
914+ msgstr "詳細は、 |http_error_nnn|_ を参照してください。 "
907915
908916#: ../../library/urllib.request.rst:634
909917msgid ""
910918":meth:`<protocol>_error` --- signal that the handler knows how to handle "
911919"errors from (non-\\ ``http``) *protocol*."
912920msgstr ""
921+ ":meth:`<protocol>_error` --- ハンドラーが (``http`` でない) *protocol* "
922+ "のエラーを処理する方法を知っていることを示すシグナルです。"
913923
914924#: ../../library/urllib.request.rst:637
915925msgid ""
916926":meth:`<protocol>_request` --- signal that the handler knows how to pre-"
917927"process *protocol* requests."
918928msgstr ""
929+ ":meth:`<protocol>_request` --- ハンドラーが *protocol* "
930+ "リクエストのプリプロセス方法を知っていることを示すシグナルです。"
919931
920932#: ../../library/urllib.request.rst:640
921933msgid "See |protocol_request|_ for more information."
922- msgstr ""
934+ msgstr "詳細は、 |protocol_request|_ を参照してください。 "
923935
924936#: ../../library/urllib.request.rst:642
925937msgid ""
926938":meth:`<protocol>_response` --- signal that the handler knows how to post-"
927939"process *protocol* responses."
928940msgstr ""
941+ ":meth:`<protocol>_response` --- ハンドラーが *protocol* "
942+ "リクエストのポストプロセス方法を知っていることを示すシグナルです。"
929943
930944#: ../../library/urllib.request.rst:645
931945msgid "See |protocol_response|_ for more information."
932- msgstr ""
946+ msgstr "詳細は、 |protocol_response|_ を参照してください。 "
933947
934948#: ../../library/urllib.request.rst:654
935949msgid ""
@@ -957,6 +971,9 @@ msgid ""
957971"response code to determine the specific error handler; refer to the "
958972":meth:`http_error_\\ <type\\ >` methods of the handler classes."
959973msgstr ""
974+ "与えられたプロトコルにおけるエラーを処理します。このメソッドは与えられたプロトコルにおける登録済みのエラーハンドラを (プロトコル固有の) "
975+ "引数で呼び出します。 HTTP プロトコルは特殊なケースで、特定のエラーハンドラを選び出すのに HTTP レスポンスコードを使います; ハンドラクラスの"
976+ " :meth:`http_error_\\ <type\\ >` メソッドを参照してください。"
960977
961978#: ../../library/urllib.request.rst:672
962979msgid ""
@@ -980,6 +997,8 @@ msgid ""
980997"Every handler with a method named like :meth:`<protocol>_request` has that "
981998"method called to pre-process the request."
982999msgstr ""
1000+ ":meth:`<protocol>_request` "
1001+ "形式のメソッドを持つすべてのハンドラーに対してそのメソッドを呼び出し、リクエストのプリプロセスを行います。"
9831002
9841003#: ../../library/urllib.request.rst:682
9851004msgid ""
@@ -988,6 +1007,9 @@ msgid ""
9881007":const:`None` value (ie. a response), or raises an exception (usually "
9891008":exc:`~urllib.error.URLError`). Exceptions are allowed to propagate."
9901009msgstr ""
1010+ ":meth:`<protocol>_open` のようなメソッドでハンドラーが呼び出され、リクエストを処理します。このステージではハンドラーが非-\\ "
1011+ ":const:`None` 値 (例: レスポンス) か例外 (通常は :exc:`~urllib.error.URLError`) "
1012+ "を返した時点で終了します。例外は伝搬できます。"
9911013
9921014#: ../../library/urllib.request.rst:687
9931015msgid ""
@@ -997,6 +1019,10 @@ msgid ""
9971019"all such methods return :const:`None`, the algorithm is repeated for methods"
9981020" named :meth:`unknown_open`."
9991021msgstr ""
1022+ "実際には、上のアルゴリズムではまず :meth:`default_open` という名前のメソッドを呼び出します。このメソッドがすべて "
1023+ ":const:`None` を返す場合、同じアルゴリズムを繰り返して、今度は :meth:`<protocol>_open` "
1024+ "形式のメソッドを試します。メソッドがすべて :const:`None` を返すと、さらに同じアルゴリズムを繰り返して "
1025+ ":meth:`unknown_open` を呼び出します。"
10001026
10011027#: ../../library/urllib.request.rst:693
10021028msgid ""
@@ -1013,6 +1039,8 @@ msgid ""
10131039"Every handler with a method named like :meth:`<protocol>_response` has that "
10141040"method called to post-process the response."
10151041msgstr ""
1042+ ":meth:`<protocol>_response` "
1043+ "形式のメソッドを持つすべてのハンドラーに対してそのメソッドを呼び出し、リクエストのポストプロセスを行います。"
10161044
10171045#: ../../library/urllib.request.rst:704
10181046msgid "BaseHandler Objects"
@@ -1047,6 +1075,9 @@ msgid ""
10471075":meth:`<protocol>_request` or :meth:`<protocol>_response` methods are named "
10481076":class:`\\ *Processor`; all others are named :class:`\\ *Handler`."
10491077msgstr ""
1078+ "慣習的に、 :meth:`<protocol>_request` や :meth:`<protocol>_response` "
1079+ "といったメソッドを定義している サブクラスは :class:`\\ *Processor` と名づけ、その他は :class:`\\ * Handler`"
1080+ " と名づけることになっています"
10501081
10511082#: ../../library/urllib.request.rst:732
10521083msgid ""
@@ -1303,6 +1334,10 @@ msgid ""
13031334"calling ``request.set_proxy()``, and call the next handler in the chain to "
13041335"actually execute the protocol."
13051336msgstr ""
1337+ ":class:`ProxyHandler` は、コンストラクターで与えた辞書 *proxies* にプロキシが設定されているような *protocol*"
1338+ " すべてについて、メソッド :meth:`<protocol>_open` を持つことになります。このメソッドは "
1339+ "``request.set_proxy()`` "
1340+ "を呼び出して、リクエストがプロキシを通過できるように修正します。その後連鎖するハンドラーの中から次のハンドラーを呼び出して実際にプロトコルを実行します。"
13061341
13071342#: ../../library/urllib.request.rst:916
13081343msgid "HTTPPasswordMgr Objects"
@@ -1553,6 +1588,10 @@ msgid ""
15531588"will raise an :exc:`~urllib.error.HTTPError` if no other handler handles the"
15541589" error."
15551590msgstr ""
1591+ "200 以外のエラーコードの場合、これは単に :meth:`http_error_\\ <type\\ >` ハンドラーメソッドに "
1592+ ":meth:`OpenerDirector.error` "
1593+ "経由で処理を渡します。他にそのエラーを処理するハンドラーがない場合、:class:`HTTPDefaultErrorHandler` は最後に "
1594+ ":exc:`~urllib.error.HTTPError` を送出します。"
15561595
15571596#: ../../library/urllib.request.rst:1169
15581597msgid "Process HTTPS error responses."