@@ -147,13 +147,20 @@ msgid ""
147147"``real_value`` can be any type. This method does no decoding in :class:"
148148"`BaseCookie` --- it exists so it can be overridden."
149149msgstr ""
150+ "文字列表現のタプル ``(real_value, coded_value)`` を返します。 ``real_value`` "
151+ "の型はどのようなものでも許容されます。このメソッドは :class:`BaseCookie` にお"
152+ "いてデコードを行わず、オーバーライドされるためにだけ存在します。"
150153
151154#: ../../library/http.cookies.rst:87
152155msgid ""
153156"Return a tuple ``(real_value, coded_value)``. *val* can be any type, but "
154157"``coded_value`` will always be converted to a string. This method does no "
155158"encoding in :class:`BaseCookie` --- it exists so it can be overridden."
156159msgstr ""
160+ "タプル ``(real_value, coded_value)`` を返します。 *val* の型はどのようなもの"
161+ "でも許容されますが、 ``coded_value`` は常に文字列に変換されます。このメソッド"
162+ "は :class:`BaseCookie` においてエンコードを行わず、オーバーライドされるために"
163+ "だけ存在します。"
157164
158165#: ../../library/http.cookies.rst:92
159166msgid ""
@@ -264,6 +271,9 @@ msgid ""
264271"send the cookie along with cross-site requests. This helps to mitigate CSRF "
265272"attacks. Valid values for this attribute are \" Strict\" and \" Lax\" ."
266273msgstr ""
274+ ":attr:`samesite` 属性は、ブラウザーがクロスサイトリクエストに加えて cookie の"
275+ "送信も禁止することを指定します。これは CSRF 攻撃の軽減に役立ちます。この属性"
276+ "い有効な値は、 \" Strict\" と \" Lax\" です。"
267277
268278#: ../../library/http.cookies.rst:152
269279msgid "The keys are case-insensitive and their default value is ``''``."
@@ -282,6 +292,8 @@ msgid ""
282292"Attributes :attr:`~Morsel.key`, :attr:`~Morsel.value` and :attr:`~Morsel."
283293"coded_value` are read-only. Use :meth:`~Morsel.set` for setting them."
284294msgstr ""
295+ ":attr:`~Morsel.key` と :attr:`~Morsel.value` 、 :attr:`~Morsel.coded_value` "
296+ "属性は読み出し専用です。設定には、 :meth:`~Morsel.set` を使用してください。"
285297
286298#: ../../library/http.cookies.rst:163
287299msgid "Added support for the :attr:`samesite` attribute."
0 commit comments