@@ -16,7 +16,7 @@ msgid ""
1616msgstr ""
1717"Project-Id-Version : Python 3.12\n "
1818"Report-Msgid-Bugs-To : \n "
19- "POT-Creation-Date : 2023-06-30 14:13 +0000\n "
19+ "POT-Creation-Date : 2023-07-07 14:14 +0000\n "
2020"PO-Revision-Date : 2021-06-28 01:13+0000\n "
2121"Last-Translator : HIdeo Haga, 2023\n "
2222"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -572,6 +572,11 @@ msgid ""
572572"its sole argument, and must return a value of a :ref:`type that SQLite "
573573"natively understands <sqlite3-types>`."
574574msgstr ""
575+ "*adapter* :term:`呼び出し可能オブジェクト <callable>` を登録して、 Python 型"
576+ "の *type* を SQLite の型に適合させます。適合関数(adapter)アダプターは、 "
577+ "Python 型 *type* の Python オブジェクトを唯一の引数として使用して呼び出さ"
578+ "れ、 :ref:`SQLite がネイティブに理解する型 <sqlite3-types>` の値を返す必要が"
579+ "あります。"
575580
576581#: ../../library/sqlite3.rst:424
577582msgid ""
@@ -582,6 +587,12 @@ msgid ""
582587"parameter *detect_types* of :func:`connect` for information regarding how "
583588"type detection works."
584589msgstr ""
590+ "*converter* :term:`呼び出し可能オブジェクト <callable>` を登録して、 "
591+ "*typename* 型の SQLite オブジェクトを指定の型の Python オブジェクトに変換しま"
592+ "す。変換関数(converter)、 *typename* 型のすべての SQLite 値に対して呼び出され"
593+ "ます。 変換関数には :class:`bytes` オブジェクトが渡され、目的の Python 型のオ"
594+ "ブジェクトを返す必要があります。型検出の仕組みについては、 :func:`connect` の"
595+ "パラメーター *detect_types* を参照してください。"
585596
586597#: ../../library/sqlite3.rst:432
587598msgid ""
@@ -651,6 +662,8 @@ msgid ""
651662"Flags that should be returned by the *authorizer_callback* :term:`callable` "
652663"passed to :meth:`Connection.set_authorizer`, to indicate whether:"
653664msgstr ""
665+ ":meth:`Connection.set_authorizer` に渡す :term:`呼び出し可能オブジェクト "
666+ "<callable>` が返す必要のあるフラグ。これらは以下の意味です:"
654667
655668#: ../../library/sqlite3.rst:490
656669msgid "Access is allowed (:const:`!SQLITE_OK`),"
@@ -895,6 +908,10 @@ msgid ""
895908"single optional parameter *factory*. If supplied, this must be a :term:"
896909"`callable` returning an instance of :class:`Cursor` or its subclasses."
897910msgstr ""
911+ ":class:`Cursor` オブジェクトを作成して返します。 cursor メソッドは、単一のオ"
912+ "プション・パラメーター *factory* を受け入れます。 *factory* を指定する場合、"
913+ "これは :class:`Cursor` またはそのサブクラスのインスタンスを返す :term:`呼び出"
914+ "し可能オブジェクト <callable>` である必要があります。"
898915
899916#: ../../library/sqlite3.rst:637
900917msgid ""
@@ -1035,6 +1052,10 @@ msgid ""
10351052"callable must return :ref:`a type natively supported by SQLite <sqlite3-"
10361053"types>`. Set to ``None`` to remove an existing SQL function."
10371054msgstr ""
1055+ "この SQL 関数が呼び出されたときに起動される :term:`呼び出し可能オブジェクト "
1056+ "<callable>` 。 この呼び出し可能オブジェクトは、 :ref:`SQLite によってネイティ"
1057+ "ブにサポートされる型 <sqlite3-types>` を返すす必要があります。 既存の SQL 関"
1058+ "数を削除するには、 ``None`` に設定します。"
10381059
10391060#: ../../library/sqlite3.rst:732
10401061msgid ""
@@ -1236,6 +1257,12 @@ msgid ""
12361257"`SQLITE_IGNORE` to signal how access to the column should be handled by the "
12371258"underlying SQLite library."
12381259msgstr ""
1260+ "データベース内のテーブルの列(column)にアクセスしようとするたびに起動される :"
1261+ "term:`呼び出し可能オブジェクト <callable>` *authorizer_callback* を登録しま"
1262+ "す。 このコールバックは背後の SQLite ライブラリによって列(column)へのアクセス"
1263+ "がどのように処理されるかを通知するために、 :const:`SQLITE_OK` または :const:"
1264+ "`SQLITE_DENY` または :const:`SQLITE_IGNORE` のいずれかを返さなければなりませ"
1265+ "ん。"
12391266
12401267#: ../../library/sqlite3.rst:958
12411268msgid ""
@@ -1282,6 +1309,10 @@ msgid ""
12821309"get called from SQLite during long-running operations, for example to update "
12831310"a GUI."
12841311msgstr ""
1312+ "SQLite 仮想マシンの命令を *n* 個実行するごとに呼び出されるように、 :term:`呼"
1313+ "び出し可能オブジェクト <callable>` *progress_handler* を登録します。これは、 "
1314+ "GUI の更新など、長時間実行される操作中に SQLite から呼び出されるようにしたい"
1315+ "場合に便利です。"
12851316
12861317#: ../../library/sqlite3.rst:982
12871318msgid ""
@@ -1305,6 +1336,8 @@ msgid ""
13051336"Register :term:`callable` *trace_callback* to be invoked for each SQL "
13061337"statement that is actually executed by the SQLite backend."
13071338msgstr ""
1339+ "SQLite バックエンドによって実際に実行される SQL 文ごとに起動される :term:`呼"
1340+ "び出し可能オブジェクト <callable>` *trace_callback* を登録します。"
13081341
13091342#: ../../library/sqlite3.rst:995
13101343msgid ""
@@ -1458,6 +1491,10 @@ msgid ""
14581491"number of pages still to be copied, and the *total* number of pages. "
14591492"Defaults to ``None``."
14601493msgstr ""
1494+ ":term:`呼び出し可能オブジェクト <callable>`を設定すると、バックアップの指定"
1495+ "ページ数単位の反復ごとに 3 つの整数引数で呼び出されます。 *status* は、最後の"
1496+ "反復時のステータスで、 *remaining* はまだコピーされていない残りのページ数"
1497+ "で、 *total* はコピーされるページの合計です。 デフォルトは ``None`` です。"
14611498
14621499#: ../../library/sqlite3.rst:1151
14631500msgid ""
@@ -1767,6 +1804,11 @@ msgid ""
17671804"the ``TEXT`` data type. By default, this attribute is set to :class:`str`. "
17681805"If you want to return ``bytes`` instead, set *text_factory* to ``bytes``."
17691806msgstr ""
1807+ ":class:`bytes` のパラメータを受け取り、そのテキスト表現を返す :term:`呼び出し"
1808+ "可能オブジェクト <callable>`です。呼び出し可能オブジェクトは ``TEXT`` データ"
1809+ "型である SQLite 値に対して呼び出されます。 デフォルトでは、 この属性は :"
1810+ "class:`str` に設定されています。代わりに ``bytes`` を返したい場合は、 "
1811+ "*text_factory* を ``bytes`` に設定してください。"
17701812
17711813#: ../../library/sqlite3.rst:1448
17721814msgid ""
@@ -2949,6 +2991,10 @@ msgid ""
29492991"control-autocommit` is recommended, while :ref:`sqlite3-transaction-control-"
29502992"isolation-level` retains the pre-Python 3.12 behaviour."
29512993msgstr ""
2994+ ":mod:`!sqlite3` は、データベース・トランザクションを開くかどうか、いつ、どの"
2995+ "ように開くかを制御する複数の方法を提供します。 :ref:`sqlite3-transaction-"
2996+ "control-autocommit` が推奨されますが、:ref:`sqlite3-transaction-control-"
2997+ "isolation-level` は Python 3.12 より前の動作を保持します。"
29522998
29532999#: ../../library/sqlite3.rst:2595
29543000msgid "Transaction control via the ``autocommit`` attribute"
0 commit comments