1111# Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017
1212# Arihiro TAKASE, 2017
1313# Osamu NAKAMURA, 2017
14- # tomo, 2018
14+ # tomo, 2019
1515#
1616#, fuzzy
1717msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020"Report-Msgid-Bugs-To : \n "
2121"POT-Creation-Date : 2019-04-16 10:57+0900\n "
2222"PO-Revision-Date : 2017-02-16 23:10+0000\n "
23- "Last-Translator : tomo, 2018 \n "
23+ "Last-Translator : tomo, 2019 \n "
2424"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
2525"MIME-Version : 1.0\n "
2626"Content-Type : text/plain; charset=UTF-8\n "
@@ -117,6 +117,9 @@ msgid ""
117117"converting :exc:`KeyError` to :exc:`AttributeError`), while leaving the old "
118118"exception available in :attr:`__context__` for introspection when debugging."
119119msgstr ""
120+ ":keyword:`from` に続く式は例外か ``None`` でなくてはなりません。\n"
121+ "式は送出される例外の :attr:`__cause__` として設定されます。\n"
122+ ":attr:`__cause__` を設定することは、 :attr:`__suppress_context__` 属性を暗黙的に ``True`` に設定することにもなるので、 ``raise new_exc from None`` を使うことで効率的に古い例外を新しいもので置き換えて表示する (例えば、 :exc:`KeyError` を :exc:`AttributeError` に置き換え)、古い例外はデバッグ時の調査で使えるよう :attr:`__context__` に残すことができます。"
120123
121124#: ../../library/exceptions.rst:59
122125msgid ""
@@ -245,7 +248,7 @@ msgstr ""
245248
246249#: ../../library/exceptions.rst:157
247250msgid "Not currently used."
248- msgstr ""
251+ msgstr "現在は使われていません。 "
249252
250253#: ../../library/exceptions.rst:162
251254msgid ""
@@ -545,6 +548,8 @@ msgid ""
545548"is converted into a :exc:`RuntimeError` (retaining the :exc:`StopIteration` "
546549"as the new exception's cause)."
547550msgstr ""
551+ "ジェネレータのコードが直接的あるいは間接的に :exc:`StopIteration` を送出する場合は、 :exc:`RuntimeError` "
552+ "に変換されます (:exc:`StopIteration` は変換後の例外の原因として保持されます)。"
548553
549554#: ../../library/exceptions.rst:374
550555msgid ""
@@ -557,12 +562,16 @@ msgid ""
557562"Introduced the RuntimeError transformation via ``from __future__ import "
558563"generator_stop``, see :pep:`479`."
559564msgstr ""
565+ "``from __future__ import generator_stop`` による RuntimeError への変換が導入されました。 "
566+ ":pep:`479` を参照してください。"
560567
561568#: ../../library/exceptions.rst:382
562569msgid ""
563570"Enable :pep:`479` for all code by default: a :exc:`StopIteration` error "
564571"raised in a generator is transformed into a :exc:`RuntimeError`."
565572msgstr ""
573+ ":pep:`479` が全てのコードでデフォルトで有効化されました: ジェネレータから送出された :exc:`StopIteration` は "
574+ ":exc:`RuntimeError` に変換されます。"
566575
567576#: ../../library/exceptions.rst:388
568577msgid ""
@@ -762,6 +771,8 @@ msgid ""
762771" type but an inappropriate value, and the situation is not described by a "
763772"more precise exception such as :exc:`IndexError`."
764773msgstr ""
774+ "演算子や関数が、正しい型だが適切でない値を持つ引数を受け取ったときや、 :exc:`IndexError` "
775+ "のようなより詳細な例外では記述できない状況で送出されます。"
765776
766777#: ../../library/exceptions.rst:535
767778msgid ""
@@ -955,6 +966,7 @@ msgid ""
955966"The following exceptions are used as warning categories; see the :ref"
956967":`warning-categories` documentation for more details."
957968msgstr ""
969+ "次の例外は警告カテゴリとして使われます。詳細については :ref:`warning-categories` のドキュメントを参照してください。"
958970
959971#: ../../library/exceptions.rst:678
960972msgid "Base class for warning categories."
@@ -968,20 +980,22 @@ msgstr "ユーザコードによって生成される警告の基底クラスで
968980msgid ""
969981"Base class for warnings about deprecated features when those warnings are "
970982"intended for other Python developers."
971- msgstr ""
983+ msgstr "他の Python 開発者へ向けて警告を発するときの、廃止予定の機能についての警告の基底クラスです。 "
972984
973985#: ../../library/exceptions.rst:694
974986msgid ""
975987"Base class for warnings about features which are obsolete and expected to be"
976988" deprecated in the future, but are not deprecated at the moment."
977- msgstr ""
989+ msgstr "古くなって将来的に廃止される予定だが、今のところは廃止されていない機能についての警告の基底クラスです。 "
978990
979991#: ../../library/exceptions.rst:698
980992msgid ""
981993"This class is rarely used as emitting a warning about a possible upcoming "
982994"deprecation is unusual, and :exc:`DeprecationWarning` is preferred for "
983995"already active deprecations."
984996msgstr ""
997+ "近々起こる可能性のある機能廃止について警告を発することはまれなので、このクラスはめったに使われず、既に決まっている廃止については "
998+ ":exc:`DeprecationWarning` が望ましいです。"
985999
9861000#: ../../library/exceptions.rst:705
9871001msgid "Base class for warnings about dubious syntax."
@@ -995,7 +1009,7 @@ msgstr "あいまいなランタイム挙動に対する警告の基底クラス
9951009msgid ""
9961010"Base class for warnings about deprecated features when those warnings are "
9971011"intended for end users of applications that are written in Python."
998- msgstr ""
1012+ msgstr "Python で書かれたアプリケーションのエンドユーザーへ向けて警告を発するときの、廃止予定の機能についての警告の基底クラスです。 "
9991013
10001014#: ../../library/exceptions.rst:721
10011015msgid "Base class for warnings about probable mistakes in module imports."
@@ -1015,6 +1029,8 @@ msgid ""
10151029"Base class for warnings related to resource usage. Ignored by the default "
10161030"warning filters."
10171031msgstr ""
1032+ "リソースの使用に関連した警告の基底クラスです。\n"
1033+ "デフォルトの警告フィルタでは無視されます。"
10181034
10191035#: ../../library/exceptions.rst:744
10201036msgid "Exception hierarchy"
0 commit comments