@@ -147,13 +147,20 @@ msgid ""
147
147
"``real_value`` can be any type. This method does no decoding in :class:"
148
148
"`BaseCookie` --- it exists so it can be overridden."
149
149
msgstr ""
150
+ "文字列表現のタプル ``(real_value, coded_value)`` を返します。 ``real_value`` "
151
+ "の型はどのようなものでも許容されます。このメソッドは :class:`BaseCookie` にお"
152
+ "いてデコードを行わず、オーバーライドされるためにだけ存在します。"
150
153
151
154
#: ../../library/http.cookies.rst:87
152
155
msgid ""
153
156
"Return a tuple ``(real_value, coded_value)``. *val* can be any type, but "
154
157
"``coded_value`` will always be converted to a string. This method does no "
155
158
"encoding in :class:`BaseCookie` --- it exists so it can be overridden."
156
159
msgstr ""
160
+ "タプル ``(real_value, coded_value)`` を返します。 *val* の型はどのようなもの"
161
+ "でも許容されますが、 ``coded_value`` は常に文字列に変換されます。このメソッド"
162
+ "は :class:`BaseCookie` においてエンコードを行わず、オーバーライドされるために"
163
+ "だけ存在します。"
157
164
158
165
#: ../../library/http.cookies.rst:92
159
166
msgid ""
@@ -264,6 +271,9 @@ msgid ""
264
271
"send the cookie along with cross-site requests. This helps to mitigate CSRF "
265
272
"attacks. Valid values for this attribute are\" Strict\" and\" Lax\" ."
266
273
msgstr ""
274
+ ":attr:`samesite` 属性は、ブラウザーがクロスサイトリクエストに加えて cookie の"
275
+ "送信も禁止することを指定します。これは CSRF 攻撃の軽減に役立ちます。この属性"
276
+ "い有効な値は、\" Strict\" と\" Lax\" です。"
267
277
268
278
#: ../../library/http.cookies.rst:152
269
279
msgid "The keys are case-insensitive and their default value is ``''``."
@@ -282,6 +292,8 @@ msgid ""
282
292
"Attributes :attr:`~Morsel.key`, :attr:`~Morsel.value` and :attr:`~Morsel."
283
293
"coded_value` are read-only. Use :meth:`~Morsel.set` for setting them."
284
294
msgstr ""
295
+ ":attr:`~Morsel.key` と :attr:`~Morsel.value` 、 :attr:`~Morsel.coded_value` "
296
+ "属性は読み出し専用です。設定には、 :meth:`~Morsel.set` を使用してください。"
285
297
286
298
#: ../../library/http.cookies.rst:163
287
299
msgid "Added support for the :attr:`samesite` attribute."