88# mollinaca, 2021
99# 渋川よしき <yoshiki@shibu.jp>, 2021
1010# Arihiro TAKASE, 2023
11+ # souma987, 2023
1112#
1213#, fuzzy
1314msgid ""
1415msgstr ""
1516"Project-Id-Version : Python 3.12\n "
1617"Report-Msgid-Bugs-To : \n "
17- "POT-Creation-Date : 2023-06-09 14:13 +0000\n "
18+ "POT-Creation-Date : 2023-06-23 14:14 +0000\n "
1819"PO-Revision-Date : 2021-06-28 00:53+0000\n "
19- "Last-Translator : Arihiro TAKASE , 2023\n "
20+ "Last-Translator : souma987 , 2023\n "
2021"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
2122"ja/)\n "
2223"MIME-Version : 1.0\n "
@@ -415,7 +416,7 @@ msgid ""
415416"Custom validators need to inherit from :class:`Validator` and must supply a :"
416417"meth:`validate` method to test various restrictions as needed."
417418msgstr ""
418- "カスタムバリデータを作成するには :class:`Valicator ` を継承し、 :meth:"
419+ "カスタムバリデータを作成するには :class:`Validator ` を継承し、 :meth:"
419420"`validate` メソッドを作成して必要に応じてさまざまな制約の検証を行います。"
420421
421422#: ../../howto/descriptor.rst:368
@@ -687,6 +688,10 @@ msgid ""
687688"code. That is why calling :meth:`__getattribute__` directly or with "
688689"``super().__getattribute__`` will bypass :meth:`__getattr__` entirely."
689690msgstr ""
691+ ":meth:`__getattribute__` のコードには :meth:`__getattr__` のフックが無いこと"
692+ "に注意してください。このため、直接 :meth:`__getattribute__` を呼び出すか、 "
693+ "``super().__getattribute__`` で呼び出すと、 :meth:`__getattr__` が完全にバイ"
694+ "パスされます。"
690695
691696#: ../../howto/descriptor.rst:723
692697msgid ""
@@ -695,6 +700,9 @@ msgid ""
695700"`__getattribute__` raises an :exc:`AttributeError`. Their logic is "
696701"encapsulated in a helper function:"
697702msgstr ""
703+ "その代わりに、 :meth:`__getattribute__` が :exc:`AttributeError` を発出したと"
704+ "きに :meth:`__getattr__` を呼び出すのは、ドット演算子と :func:`getattr` の責"
705+ "任です。これらのロジックはヘルパー関数にカプセル化されています:"
698706
699707#: ../../howto/descriptor.rst:773
700708msgid "Invocation from a class"
@@ -867,6 +875,9 @@ msgid ""
867875"could be used to implement an `object relational mapping <https://en."
868876"wikipedia.org/wiki/Object%E2%80%93relational_mapping>`_."
869877msgstr ""
878+ "以下のコードは、 `オブジェクト関係マッピング <https://en.wikipedia.org/wiki/"
879+ "Object%E2%80%93relational_mapping>`_ を実装するのにデータディスクリプタを使う"
880+ "方法を示した、簡略化された骨格です。"
870881
871882#: ../../howto/descriptor.rst:854
872883msgid ""
@@ -1207,6 +1218,10 @@ msgid ""
12071218"attributes necessary to make the wrapper look like the wrapped function: "
12081219"``__name__``, ``__qualname__``, ``__doc__``, and ``__annotations__``."
12091220msgstr ""
1221+ ":func:`functools.update_wrapper` の呼び出しは、根底にある関数を参照する "
1222+ "``__wrapped__`` 属性を追加します。また、ラッパーがラップされた関数のように見"
1223+ "えるよう、必要な属性を追加します: ``__name__``、 ``__qualname__`` 、 "
1224+ "``__doc__`` 、と ``__annotations__`` 。"
12101225
12111226#: ../../howto/descriptor.rst:1359
12121227msgid "Class methods"
@@ -1254,6 +1269,10 @@ msgid ""
12541269"decorators. For example, a classmethod and property could be chained "
12551270"together. In Python 3.11, this functionality was deprecated."
12561271msgstr ""
1272+ "``hasattr(type(self.f), '__get__')`` のコードパスは、 :func:`classmethod` が"
1273+ "チェーンされたデコレータをサポートするよう、 Python 3.9 で追加されました。例"
1274+ "えば、クラスメソッドとプロパティをチェーンすることができます。この機能は、 "
1275+ "Python 3.11 で非推奨となりました。"
12571276
12581277#: ../../howto/descriptor.rst:1502
12591278msgid ""
@@ -1263,6 +1282,10 @@ msgid ""
12631282"wrapped function: ``__name__``, ``__qualname__``, ``__doc__``, and "
12641283"``__annotations__``."
12651284msgstr ""
1285+ "``ClassMethod`` の中の :func:`functools.update_wrapper` の呼び出しは、根底に"
1286+ "ある関数を参照する ``__wrapped__`` 属性を追加します。また、ラッパーがラップさ"
1287+ "れた関数のように見えるよう、必要な属性を追加します: ``__name__`` 、 "
1288+ "``__qualname__`` 、 ``__doc__`` 、と ``__annotations__`` 。"
12661289
12671290#: ../../howto/descriptor.rst:1510
12681291msgid "Member objects and __slots__"
0 commit comments