66# Translators:
77# tomo, 2019
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:02+0000\n "
1617"PO-Revision-Date : 2019-09-01 03:31+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 "
@@ -232,6 +233,8 @@ msgid ""
232233":func:`ssl.create_default_context` select the system's trusted CA "
233234"certificates for you."
234235msgstr ""
236+ "*cafile*, *capath* および *cadefault* は非推奨となったので、 *context* を使ってください。\n"
237+ "代わりに :meth:`ssl.SSLContext.load_cert_chain` を使うか、または :func:`ssl.create_default_context` にシステムが信頼する CA 証明書を選んでもらうかしてください。"
235238
236239#: ../../library/urllib.request.rst:123
237240msgid ""
@@ -747,7 +750,7 @@ msgstr ""
747750msgid ""
748751"boolean, indicates whether the request is unverifiable as defined by "
749752":rfc:`2965`."
750- msgstr ""
753+ msgstr "リクエストが :rfc:`2965` で定義された証明不能 (unverifiable) であるかどうかを示す論理値です。 "
751754
752755#: ../../library/urllib.request.rst:511
753756msgid ""
@@ -876,46 +879,55 @@ msgid ""
876879":meth:`<protocol>_open` --- signal that the handler knows how to open "
877880"*protocol* URLs."
878881msgstr ""
882+ ":meth:`<protocol>_open` --- ハンドラーが *protocol* の URL を開く方法を知っているかどうかを調べます。"
879883
880884#: ../../library/urllib.request.rst:620
881885msgid "See |protocol_open|_ for more information."
882- msgstr ""
886+ msgstr "詳細は、 |protocol_open|_ を参照してください。 "
883887
884888#: ../../library/urllib.request.rst:622
885889msgid ""
886890":meth:`http_error_\\ <type\\ >` --- signal that the handler knows how to "
887891"handle HTTP errors with HTTP error code *type*."
888892msgstr ""
893+ ":meth:`http_error_\\ <type\\ >` --- ハンドラーが HTTP エラーコード *type* "
894+ "の処理方法を知っていることを示すシグナルです。"
889895
890896#: ../../library/urllib.request.rst:625
891897msgid "See |http_error_nnn|_ for more information."
892- msgstr ""
898+ msgstr "詳細は、 |http_error_nnn|_ を参照してください。 "
893899
894900#: ../../library/urllib.request.rst:627
895901msgid ""
896902":meth:`<protocol>_error` --- signal that the handler knows how to handle "
897903"errors from (non-\\ ``http``) *protocol*."
898904msgstr ""
905+ ":meth:`<protocol>_error` --- ハンドラーが (``http`` でない) *protocol* "
906+ "のエラーを処理する方法を知っていることを示すシグナルです。"
899907
900908#: ../../library/urllib.request.rst:630
901909msgid ""
902910":meth:`<protocol>_request` --- signal that the handler knows how to pre-"
903911"process *protocol* requests."
904912msgstr ""
913+ ":meth:`<protocol>_request` --- ハンドラーが *protocol* "
914+ "リクエストのプリプロセス方法を知っていることを示すシグナルです。"
905915
906916#: ../../library/urllib.request.rst:633
907917msgid "See |protocol_request|_ for more information."
908- msgstr ""
918+ msgstr "詳細は、 |protocol_request|_ を参照してください。 "
909919
910920#: ../../library/urllib.request.rst:635
911921msgid ""
912922":meth:`<protocol>_response` --- signal that the handler knows how to post-"
913923"process *protocol* responses."
914924msgstr ""
925+ ":meth:`<protocol>_response` --- ハンドラーが *protocol* "
926+ "リクエストのポストプロセス方法を知っていることを示すシグナルです。"
915927
916928#: ../../library/urllib.request.rst:638
917929msgid "See |protocol_response|_ for more information."
918- msgstr ""
930+ msgstr "詳細は、 |protocol_response|_ を参照してください。 "
919931
920932#: ../../library/urllib.request.rst:647
921933msgid ""
@@ -943,6 +955,9 @@ msgid ""
943955"response code to determine the specific error handler; refer to the "
944956":meth:`http_error_\\ <type\\ >` methods of the handler classes."
945957msgstr ""
958+ "与えられたプロトコルにおけるエラーを処理します。このメソッドは与えられたプロトコルにおける登録済みのエラーハンドラを (プロトコル固有の) "
959+ "引数で呼び出します。 HTTP プロトコルは特殊なケースで、特定のエラーハンドラを選び出すのに HTTP レスポンスコードを使います; ハンドラクラスの"
960+ " :meth:`http_error_\\ <type\\ >` メソッドを参照してください。"
946961
947962#: ../../library/urllib.request.rst:665
948963msgid ""
@@ -966,6 +981,8 @@ msgid ""
966981"Every handler with a method named like :meth:`<protocol>_request` has that "
967982"method called to pre-process the request."
968983msgstr ""
984+ ":meth:`<protocol>_request` "
985+ "形式のメソッドを持つすべてのハンドラーに対してそのメソッドを呼び出し、リクエストのプリプロセスを行います。"
969986
970987#: ../../library/urllib.request.rst:675
971988msgid ""
@@ -974,6 +991,9 @@ msgid ""
974991":const:`None` value (ie. a response), or raises an exception (usually "
975992":exc:`~urllib.error.URLError`). Exceptions are allowed to propagate."
976993msgstr ""
994+ ":meth:`<protocol>_open` のようなメソッドでハンドラーが呼び出され、リクエストを処理します。このステージではハンドラーが非-\\ "
995+ ":const:`None` 値 (例: レスポンス) か例外 (通常は :exc:`~urllib.error.URLError`) "
996+ "を返した時点で終了します。例外は伝搬できます。"
977997
978998#: ../../library/urllib.request.rst:680
979999msgid ""
@@ -983,6 +1003,10 @@ msgid ""
9831003"all such methods return :const:`None`, the algorithm is repeated for methods"
9841004" named :meth:`unknown_open`."
9851005msgstr ""
1006+ "実際には、上のアルゴリズムではまず :meth:`default_open` という名前のメソッドを呼び出します。このメソッドがすべて "
1007+ ":const:`None` を返す場合、同じアルゴリズムを繰り返して、今度は :meth:`<protocol>_open` "
1008+ "形式のメソッドを試します。メソッドがすべて :const:`None` を返すと、さらに同じアルゴリズムを繰り返して "
1009+ ":meth:`unknown_open` を呼び出します。"
9861010
9871011#: ../../library/urllib.request.rst:686
9881012msgid ""
@@ -999,6 +1023,8 @@ msgid ""
9991023"Every handler with a method named like :meth:`<protocol>_response` has that "
10001024"method called to post-process the response."
10011025msgstr ""
1026+ ":meth:`<protocol>_response` "
1027+ "形式のメソッドを持つすべてのハンドラーに対してそのメソッドを呼び出し、リクエストのポストプロセスを行います。"
10021028
10031029#: ../../library/urllib.request.rst:697
10041030msgid "BaseHandler Objects"
@@ -1033,6 +1059,9 @@ msgid ""
10331059":meth:`<protocol>_request` or :meth:`<protocol>_response` methods are named "
10341060":class:`\\ *Processor`; all others are named :class:`\\ *Handler`."
10351061msgstr ""
1062+ "慣習的に、 :meth:`<protocol>_request` や :meth:`<protocol>_response` "
1063+ "といったメソッドを定義している サブクラスは :class:`\\ *Processor` と名づけ、その他は :class:`\\ * Handler`"
1064+ " と名づけることになっています"
10361065
10371066#: ../../library/urllib.request.rst:725
10381067msgid ""
@@ -1289,6 +1318,10 @@ msgid ""
12891318"calling ``request.set_proxy()``, and call the next handler in the chain to "
12901319"actually execute the protocol."
12911320msgstr ""
1321+ ":class:`ProxyHandler` は、コンストラクターで与えた辞書 *proxies* にプロキシが設定されているような *protocol*"
1322+ " すべてについて、メソッド :meth:`<protocol>_open` を持つことになります。このメソッドは "
1323+ "``request.set_proxy()`` "
1324+ "を呼び出して、リクエストがプロキシを通過できるように修正します。その後連鎖するハンドラーの中から次のハンドラーを呼び出して実際にプロトコルを実行します。"
12921325
12931326#: ../../library/urllib.request.rst:909
12941327msgid "HTTPPasswordMgr Objects"
@@ -1539,6 +1572,10 @@ msgid ""
15391572"will raise an :exc:`~urllib.error.HTTPError` if no other handler handles the"
15401573" error."
15411574msgstr ""
1575+ "200 以外のエラーコードの場合、これは単に :meth:`http_error_\\ <type\\ >` ハンドラーメソッドに "
1576+ ":meth:`OpenerDirector.error` "
1577+ "経由で処理を渡します。他にそのエラーを処理するハンドラーがない場合、:class:`HTTPDefaultErrorHandler` は最後に "
1578+ ":exc:`~urllib.error.HTTPError` を送出します。"
15421579
15431580#: ../../library/urllib.request.rst:1162
15441581msgid "Process HTTPS error responses."
0 commit comments