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

Commit978e47e

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parent82958af commit978e47e

File tree

6 files changed

+48
-3
lines changed

6 files changed

+48
-3
lines changed

‎library/email.examples.po

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,16 @@ msgid ""
4040
"First, let's see how to create and send a simple text message (both the text "
4141
"content and the addresses may contain unicode characters):"
4242
msgstr""
43+
"最初に、シンプルなテキストメッセージ (テキストコンテンツとアドレスの両方がユ"
44+
"ニコード文字を含み得る) を作成・送信する方法を見てみましょう:"
4345

4446
#:../../library/email.examples.rst:15
4547
msgid""
4648
"Parsing :rfc:`822` headers can easily be done by the using the classes from "
4749
"the :mod:`~email.parser` module:"
4850
msgstr""
51+
":rfc:`822` ヘッダーの解析は、 :mod:`~email.parser` モジュールにあるクラスを使"
52+
"用することにより、簡単に実現できます:"
4953

5054
#:../../library/email.examples.rst:21
5155
msgid""
@@ -78,16 +82,21 @@ msgid ""
7882
"image in the html part, and we save a copy of what we are going to send to "
7983
"disk, as well as sending it."
8084
msgstr""
85+
"代替のプレーンテキストバージョン付きの HTML メッセージを作成する方法の例で"
86+
"す。もう少し面白くするために、 HTML 部分に関連する画像を追加し、さらに送信だ"
87+
"けでなく、送信しようとしているもののコピーをディスクにも保存してみます。"
8188

8289
#:../../library/email.examples.rst:47
8390
msgid""
8491
"If we were sent the message from the last example, here is one way we could "
8592
"process it:"
8693
msgstr""
94+
"前の例のメッセージが送信されてきたら、これを処理する方法の一つは次のようなも"
95+
"のです:"
8796

8897
#:../../library/email.examples.rst:52
8998
msgid"Up to the prompt, the output from the above is:"
90-
msgstr""
99+
msgstr"プロンプトまでの、上記のプログラムの出力はこうなります:"
91100

92101
#:../../library/email.examples.rst:66
93102
msgid"Footnotes"

‎library/http.cookiejar.po

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,14 @@ msgid ""
169169
"secure protocols. For all other arguments, see the documentation for :class:"
170170
"`CookiePolicy` and :class:`DefaultCookiePolicy` objects."
171171
msgstr""
172+
"コンストラクタはキーワード引数しか取りません。 *blocked_domains* はドメイン名"
173+
"からなるシーケンスで、ここからは決してクッキーを受けとらないし、このドメイン"
174+
"にクッキーを返すこともありません。 *allowed_domains* が :const:`None` でない"
175+
"場合、クッキーを受けとり、返すのはこのシーケンスのドメインに限定されます。 "
176+
"*secure_protocols* は、安全なクッキーを追加できるプロトコルのシーケンスです。"
177+
"デフォルトでは、 *https* と *wss* (secure websocket) が安全なプロトコルとみな"
178+
"されます。これ以外の引数については :class:`CookiePolicy` および :class:"
179+
"`DefaultCookiePolicy` オブジェクトの説明をごらんください。"
172180

173181
#:../../library/http.cookiejar.rst:96
174182
msgid""
@@ -329,6 +337,8 @@ msgid ""
329337
"*request* object needs :attr:`origin_req_host` attribute. Dependency on a "
330338
"deprecated method :meth:`get_origin_req_host` has been removed."
331339
msgstr""
340+
"*request* オブジェクトには :attr:`origin_req_host` 属性が必要です。非推奨のメ"
341+
"ソッド :meth:`get_origin_req_host` への依存は解消されました。"
332342

333343
#:../../library/http.cookiejar.rst:177
334344
msgid""

‎library/http.cookies.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,20 @@ msgid ""
144144
"``real_value`` can be any type. This method does no decoding in :class:"
145145
"`BaseCookie` --- it exists so it can be overridden."
146146
msgstr""
147+
"文字列表現のタプル ``(real_value, coded_value)`` を返します。 ``real_value`` "
148+
"の型はどのようなものでも許容されます。このメソッドは :class:`BaseCookie` にお"
149+
"いてデコードを行わず、オーバーライドされるためにだけ存在します。"
147150

148151
#:../../library/http.cookies.rst:87
149152
msgid""
150153
"Return a tuple ``(real_value, coded_value)``. *val* can be any type, but "
151154
"``coded_value`` will always be converted to a string. This method does no "
152155
"encoding in :class:`BaseCookie` --- it exists so it can be overridden."
153156
msgstr""
157+
"タプル ``(real_value, coded_value)`` を返します。 *val* の型はどのようなもの"
158+
"でも許容されますが、 ``coded_value`` は常に文字列に変換されます。このメソッド"
159+
"は :class:`BaseCookie` においてエンコードを行わず、オーバーライドされるために"
160+
"だけ存在します。"
154161

155162
#:../../library/http.cookies.rst:92
156163
msgid""
@@ -261,6 +268,9 @@ msgid ""
261268
"send the cookie along with cross-site requests. This helps to mitigate CSRF "
262269
"attacks. Valid values for this attribute are\"Strict\" and\"Lax\"."
263270
msgstr""
271+
":attr:`samesite` 属性は、ブラウザーがクロスサイトリクエストに加えて cookie の"
272+
"送信も禁止することを指定します。これは CSRF 攻撃の軽減に役立ちます。この属性"
273+
"い有効な値は、\"Strict\"\"Lax\" です。"
264274

265275
#:../../library/http.cookies.rst:152
266276
msgid"The keys are case-insensitive and their default value is ``''``."
@@ -279,6 +289,8 @@ msgid ""
279289
"Attributes :attr:`~Morsel.key`, :attr:`~Morsel.value` and :attr:`~Morsel."
280290
"coded_value` are read-only. Use :meth:`~Morsel.set` for setting them."
281291
msgstr""
292+
":attr:`~Morsel.key` と :attr:`~Morsel.value` 、 :attr:`~Morsel.coded_value` "
293+
"属性は読み出し専用です。設定には、 :meth:`~Morsel.set` を使用してください。"
282294

283295
#:../../library/http.cookies.rst:163
284296
msgid"Added support for the :attr:`samesite` attribute."

‎library/http.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ msgstr "``UNAVAILABLE_FOR_LEGAL_REASONS``"
681681

682682
#:../../library/http.rst:109
683683
msgid"An HTTP Status Code to Report Legal Obstacles :rfc:`7725`"
684-
msgstr""
684+
msgstr"An HTTP Status Code to Report Legal Obstacles :rfc:`7725`"
685685

686686
#:../../library/http.rst:110
687687
msgid"``500``"

‎library/urllib.robotparser.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ msgid ""
9595
"apply to the *useragent* specified or the ``robots.txt`` entry for this "
9696
"parameter has invalid syntax, return ``None``."
9797
msgstr""
98+
"当該の *ユーザーエージェント* 用の ``robots.txt`` の ``Crawl-delay`` パラメー"
99+
"ターの値を返します。そのようなパラメーターが存在しないか、指定された *ユー"
100+
"ザーエージェント* にあてはまらない、もしくは ``robots.txt`` のこのパラメー"
101+
"ターのエントリの構文が無効な場合は、 ``None`` を返します。"
98102

99103
#:../../library/urllib.robotparser.rst:71
100104
msgid""
@@ -103,13 +107,21 @@ msgid ""
103107
"such parameter or it doesn't apply to the *useragent* specified or the "
104108
"``robots.txt`` entry for this parameter has invalid syntax, return ``None``."
105109
msgstr""
110+
"``robots.txt`` の ``Request-rate`` パラメーターの内容を :term:`named tuple` "
111+
"``RequestRate(requests, seconds)`` として返します。そのようなパラメーターが存"
112+
"在しないか、指定された *ユーザーエージェント* にあてはまらない、もしくは "
113+
"``robots.txt`` のこのパラメーターのエントリの構文が無効な場合は、 ``None`` を"
114+
"返します。"
106115

107116
#:../../library/urllib.robotparser.rst:81
108117
msgid""
109118
"Returns the contents of the ``Sitemap`` parameter from ``robots.txt`` in the "
110119
"form of a :func:`list`. If there is no such parameter or the ``robots.txt`` "
111120
"entry for this parameter has invalid syntax, return ``None``."
112121
msgstr""
122+
"``robots.txt`` の ``Sitemap`` パラメーターの内容を :func:`list` の形式で返し"
123+
"ます。そのようなパラメーターが存在しないか、 ``robots.txt`` のこのパラメー"
124+
"ターのエントリの構文が無効な場合は、 ``None`` を返します。"
113125

114126
#:../../library/urllib.robotparser.rst:89
115127
msgid""

‎library/xmlrpc.server.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ msgstr ""
157157

158158
#:../../library/xmlrpc.server.rst:93../../library/xmlrpc.server.rst:307
159159
msgid":meth:`register_function` can be used as a decorator."
160-
msgstr""
160+
msgstr":meth:`register_function` はデコレーターとして使用できます。"
161161

162162
#:../../library/xmlrpc.server.rst:99
163163
msgid""
@@ -258,6 +258,8 @@ msgid ""
258258
":meth:`register_function` can also be used as a decorator. The previous "
259259
"server example can register functions in a decorator way::"
260260
msgstr""
261+
":meth:`register_function` はデコレーターとしても使用できます。前のサーバーの"
262+
"例は、デコレーターの方法で関数を登録することもできます。"
261263

262264
#:../../library/xmlrpc.server.rst:225
263265
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp