1212# Nozomu Kaneko <nozom.kaneko@gmail.com>, 2023
1313# Takeshi Nakazato, 2023
1414# tomo, 2023
15- # Takanori Suzuki <takanori@takanory.net>, 2023
1615# righteous righteous, 2023
16+ # Takanori Suzuki <takanori@takanory.net>, 2023
1717#
1818#, fuzzy
1919msgid ""
2020msgstr ""
2121"Project-Id-Version : Python 3.12\n "
2222"Report-Msgid-Bugs-To : \n "
23- "POT-Creation-Date : 2023-12-15 14:14 +0000\n "
23+ "POT-Creation-Date : 2023-12-29 14:13 +0000\n "
2424"PO-Revision-Date : 2021-06-28 01:19+0000\n "
25- "Last-Translator : righteous righteous , 2023\n "
25+ "Last-Translator : Takanori Suzuki <takanori@takanory.net> , 2023\n "
2626"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
2727"ja/)\n "
2828"MIME-Version : 1.0\n "
@@ -428,7 +428,7 @@ msgstr ""
428428
429429#: ../../reference/compound_stmts.rst:398
430430msgid ":keyword:`!else` clause"
431- msgstr ""
431+ msgstr ":keyword:`!else` 節 "
432432
433433#: ../../reference/compound_stmts.rst:400
434434msgid ""
@@ -545,20 +545,27 @@ msgstr ""
545545msgid ""
546546"The context manager's :meth:`~object.__enter__` is loaded for later use."
547547msgstr ""
548+ "コンテキストマネージャの :meth:`~object.__enter__` メソッドが、後で使うために"
549+ "ロードされます。"
548550
549551#: ../../reference/compound_stmts.rst:494
550552msgid "The context manager's :meth:`~object.__exit__` is loaded for later use."
551553msgstr ""
554+ "コンテキストマネージャの :meth:`~object.__exit__` メソッドが、後で使うために"
555+ "ロードされます。"
552556
553557#: ../../reference/compound_stmts.rst:496
554558msgid "The context manager's :meth:`~object.__enter__` method is invoked."
555559msgstr ""
560+ "コンテキストマネージャの :meth:`~object.__enter__` メソッドが呼ばれます。"
556561
557562#: ../../reference/compound_stmts.rst:498
558563msgid ""
559564"If a target was included in the :keyword:`with` statement, the return value "
560565"from :meth:`~object.__enter__` is assigned to it."
561566msgstr ""
567+ ":keyword:`with` 文にターゲットが含まれていたら、それに :meth:`~object."
568+ "__enter__` からの戻り値が代入されます。"
562569
563570#: ../../reference/compound_stmts.rst:503
564571msgid ""
@@ -568,6 +575,11 @@ msgid ""
568575"target list, it will be treated the same as an error occurring within the "
569576"suite would be. See step 7 below."
570577msgstr ""
578+ ":keyword:`with` 文は、 :meth:`~object.__enter__` メソッドがエラーなく終了した"
579+ "場合には :meth:`~object.__exit__` が常に呼ばれることを保証します。ですので、"
580+ "もしターゲットリストへの代入中にエラーが発生した場合には、これはそのスイート"
581+ "の中で発生したエラーと同じように扱われます。以下のステップ 7 を参照してくださ"
582+ "い。"
571583
572584#: ../../reference/compound_stmts.rst:509
573585msgid "The suite is executed."
@@ -580,6 +592,10 @@ msgid ""
580592"passed as arguments to :meth:`~object.__exit__`. Otherwise, three :const:"
581593"`None` arguments are supplied."
582594msgstr ""
595+ "コンテキストマネージャの :meth:`~object.__exit__` メソッドが呼ばれます。ス"
596+ "イートが例外によって終了されたのなら、その例外の型、値、トレースバックが :"
597+ "meth:`~object.__exit__` に引数として渡されます。そうでなければ、 3 つの :"
598+ "const:`None` 引数が与えられます。"
583599
584600#: ../../reference/compound_stmts.rst:516
585601msgid ""
@@ -588,13 +604,19 @@ msgid ""
588604"return value was true, the exception is suppressed, and execution continues "
589605"with the statement following the :keyword:`with` statement."
590606msgstr ""
607+ "スイートが例外により終了され、 :meth:`~object.__exit__` メソッドからの戻り値"
608+ "が偽(false)ならば、例外が再送出されます。この戻り値が真(true)ならば例外は"
609+ "抑制され、実行は :keyword:`with` 文の次の文から続きます。"
591610
592611#: ../../reference/compound_stmts.rst:521
593612msgid ""
594613"If the suite was exited for any reason other than an exception, the return "
595614"value from :meth:`~object.__exit__` is ignored, and execution proceeds at "
596615"the normal location for the kind of exit that was taken."
597616msgstr ""
617+ "もしそのスイートが例外でない何らかの理由で終了した場合、その :meth:`~object."
618+ "__exit__` からの戻り値は無視されて、実行は発生した終了の種類に応じた通常の位"
619+ "置から継続します。"
598620
599621#: ../../reference/compound_stmts.rst:525
600622#: ../../reference/compound_stmts.rst:1537
@@ -1214,7 +1236,7 @@ msgstr ""
12141236
12151237#: ../../reference/compound_stmts.rst:943
12161238msgid "Sequence Patterns"
1217- msgstr ""
1239+ msgstr "シーケンスパターン "
12181240
12191241#: ../../reference/compound_stmts.rst:945
12201242msgid ""
@@ -1328,11 +1350,11 @@ msgstr ""
13281350
13291351#: ../../reference/compound_stmts.rst:1016
13301352msgid "check ``<subject>`` is a sequence"
1331- msgstr ""
1353+ msgstr "``<subject>`` がシーケンスかをチェックする "
13321354
13331355#: ../../reference/compound_stmts.rst:1017
13341356msgid "``len(subject) == <N>``"
1335- msgstr ""
1357+ msgstr "``len(subject) == <N>`` "
13361358
13371359#: ../../reference/compound_stmts.rst:1018
13381360msgid ""
@@ -1350,7 +1372,7 @@ msgstr ""
13501372
13511373#: ../../reference/compound_stmts.rst:1025
13521374msgid "Mapping Patterns"
1353- msgstr ""
1375+ msgstr "マッピングパターン "
13541376
13551377#: ../../reference/compound_stmts.rst:1027
13561378msgid ""
@@ -1411,23 +1433,23 @@ msgstr ""
14111433
14121434#: ../../reference/compound_stmts.rst:1066
14131435msgid "check ``<subject>`` is a mapping"
1414- msgstr ""
1436+ msgstr "``<subject>`` がマッピングかをチェックする "
14151437
14161438#: ../../reference/compound_stmts.rst:1067
14171439msgid "``KEY1 in <subject>``"
1418- msgstr ""
1440+ msgstr "``KEY1 in <subject>`` "
14191441
14201442#: ../../reference/compound_stmts.rst:1068
14211443msgid "``P1`` matches ``<subject>[KEY1]``"
1422- msgstr ""
1444+ msgstr "``P1`` は ``<subject>[KEY1]`` にマッチする "
14231445
14241446#: ../../reference/compound_stmts.rst:1069
14251447msgid "... and so on for the corresponding KEY/pattern pair."
14261448msgstr ""
14271449
14281450#: ../../reference/compound_stmts.rst:1075
14291451msgid "Class Patterns"
1430- msgstr ""
1452+ msgstr "クラスパターン "
14311453
14321454#: ../../reference/compound_stmts.rst:1077
14331455msgid ""
@@ -1543,7 +1565,7 @@ msgstr ""
15431565
15441566#: ../../reference/compound_stmts.rst:1144
15451567msgid ":ref:`class-pattern-matching`"
1546- msgstr ""
1568+ msgstr ":ref:`class-pattern-matching` "
15471569
15481570#: ../../reference/compound_stmts.rst:1147
15491571msgid ""
@@ -1566,7 +1588,7 @@ msgstr ":class:`bool`"
15661588
15671589#: ../../reference/compound_stmts.rst:1153
15681590msgid ":class:`bytearray`"
1569- msgstr ""
1591+ msgstr ":class:`bytearray` "
15701592
15711593#: ../../reference/compound_stmts.rst:1154
15721594msgid ":class:`bytes`"
@@ -1620,7 +1642,7 @@ msgstr ""
16201642
16211643#: ../../reference/compound_stmts.rst:1170
16221644msgid "``isinstance(<subject>, CLS)``"
1623- msgstr ""
1645+ msgstr "``isinstance(<subject>, CLS)`` "
16241646
16251647#: ../../reference/compound_stmts.rst:1171
16261648msgid "convert ``P1`` to a keyword pattern using ``CLS.__match_args__``"
@@ -1632,11 +1654,11 @@ msgstr ""
16321654
16331655#: ../../reference/compound_stmts.rst:1174
16341656msgid "``hasattr(<subject>, \" attr\" )``"
1635- msgstr ""
1657+ msgstr "``hasattr(<subject>, \" attr \" )`` "
16361658
16371659#: ../../reference/compound_stmts.rst:1175
16381660msgid "``P2`` matches ``<subject>.attr``"
1639- msgstr ""
1661+ msgstr "``P2`` は ``<subject>.attr`` にマッチする "
16401662
16411663#: ../../reference/compound_stmts.rst:1177
16421664msgid "... and so on for the corresponding keyword argument/pattern pair."
0 commit comments