@@ -16,7 +16,7 @@ msgid ""
16
16
msgstr ""
17
17
"Project-Id-Version : Python 3.12\n "
18
18
"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 "
20
20
"PO-Revision-Date : 2021-06-28 01:13+0000\n "
21
21
"Last-Translator : HIdeo Haga, 2023\n "
22
22
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -572,6 +572,11 @@ msgid ""
572
572
"its sole argument, and must return a value of a :ref:`type that SQLite "
573
573
"natively understands <sqlite3-types>`."
574
574
msgstr ""
575
+ "*adapter* :term:`呼び出し可能オブジェクト <callable>` を登録して、 Python 型"
576
+ "の *type* を SQLite の型に適合させます。適合関数(adapter)アダプターは、 "
577
+ "Python 型 *type* の Python オブジェクトを唯一の引数として使用して呼び出さ"
578
+ "れ、 :ref:`SQLite がネイティブに理解する型 <sqlite3-types>` の値を返す必要が"
579
+ "あります。"
575
580
576
581
#: ../../library/sqlite3.rst:424
577
582
msgid ""
@@ -582,6 +587,12 @@ msgid ""
582
587
"parameter *detect_types* of :func:`connect` for information regarding how "
583
588
"type detection works."
584
589
msgstr ""
590
+ "*converter* :term:`呼び出し可能オブジェクト <callable>` を登録して、 "
591
+ "*typename* 型の SQLite オブジェクトを指定の型の Python オブジェクトに変換しま"
592
+ "す。変換関数(converter)、 *typename* 型のすべての SQLite 値に対して呼び出され"
593
+ "ます。 変換関数には :class:`bytes` オブジェクトが渡され、目的の Python 型のオ"
594
+ "ブジェクトを返す必要があります。型検出の仕組みについては、 :func:`connect` の"
595
+ "パラメーター *detect_types* を参照してください。"
585
596
586
597
#: ../../library/sqlite3.rst:432
587
598
msgid ""
@@ -651,6 +662,8 @@ msgid ""
651
662
"Flags that should be returned by the *authorizer_callback* :term:`callable` "
652
663
"passed to :meth:`Connection.set_authorizer`, to indicate whether:"
653
664
msgstr ""
665
+ ":meth:`Connection.set_authorizer` に渡す :term:`呼び出し可能オブジェクト "
666
+ "<callable>` が返す必要のあるフラグ。これらは以下の意味です:"
654
667
655
668
#: ../../library/sqlite3.rst:490
656
669
msgid "Access is allowed (:const:`!SQLITE_OK`),"
@@ -895,6 +908,10 @@ msgid ""
895
908
"single optional parameter *factory*. If supplied, this must be a :term:"
896
909
"`callable` returning an instance of :class:`Cursor` or its subclasses."
897
910
msgstr ""
911
+ ":class:`Cursor` オブジェクトを作成して返します。 cursor メソッドは、単一のオ"
912
+ "プション・パラメーター *factory* を受け入れます。 *factory* を指定する場合、"
913
+ "これは :class:`Cursor` またはそのサブクラスのインスタンスを返す :term:`呼び出"
914
+ "し可能オブジェクト <callable>` である必要があります。"
898
915
899
916
#: ../../library/sqlite3.rst:637
900
917
msgid ""
@@ -1035,6 +1052,10 @@ msgid ""
1035
1052
"callable must return :ref:`a type natively supported by SQLite <sqlite3-"
1036
1053
"types>`. Set to ``None`` to remove an existing SQL function."
1037
1054
msgstr ""
1055
+ "この SQL 関数が呼び出されたときに起動される :term:`呼び出し可能オブジェクト "
1056
+ "<callable>` 。 この呼び出し可能オブジェクトは、 :ref:`SQLite によってネイティ"
1057
+ "ブにサポートされる型 <sqlite3-types>` を返すす必要があります。 既存の SQL 関"
1058
+ "数を削除するには、 ``None`` に設定します。"
1038
1059
1039
1060
#: ../../library/sqlite3.rst:732
1040
1061
msgid ""
@@ -1236,6 +1257,12 @@ msgid ""
1236
1257
"`SQLITE_IGNORE` to signal how access to the column should be handled by the "
1237
1258
"underlying SQLite library."
1238
1259
msgstr ""
1260
+ "データベース内のテーブルの列(column)にアクセスしようとするたびに起動される :"
1261
+ "term:`呼び出し可能オブジェクト <callable>` *authorizer_callback* を登録しま"
1262
+ "す。 このコールバックは背後の SQLite ライブラリによって列(column)へのアクセス"
1263
+ "がどのように処理されるかを通知するために、 :const:`SQLITE_OK` または :const:"
1264
+ "`SQLITE_DENY` または :const:`SQLITE_IGNORE` のいずれかを返さなければなりませ"
1265
+ "ん。"
1239
1266
1240
1267
#: ../../library/sqlite3.rst:958
1241
1268
msgid ""
@@ -1282,6 +1309,10 @@ msgid ""
1282
1309
"get called from SQLite during long-running operations, for example to update "
1283
1310
"a GUI."
1284
1311
msgstr ""
1312
+ "SQLite 仮想マシンの命令を *n* 個実行するごとに呼び出されるように、 :term:`呼"
1313
+ "び出し可能オブジェクト <callable>` *progress_handler* を登録します。これは、 "
1314
+ "GUI の更新など、長時間実行される操作中に SQLite から呼び出されるようにしたい"
1315
+ "場合に便利です。"
1285
1316
1286
1317
#: ../../library/sqlite3.rst:982
1287
1318
msgid ""
@@ -1305,6 +1336,8 @@ msgid ""
1305
1336
"Register :term:`callable` *trace_callback* to be invoked for each SQL "
1306
1337
"statement that is actually executed by the SQLite backend."
1307
1338
msgstr ""
1339
+ "SQLite バックエンドによって実際に実行される SQL 文ごとに起動される :term:`呼"
1340
+ "び出し可能オブジェクト <callable>` *trace_callback* を登録します。"
1308
1341
1309
1342
#: ../../library/sqlite3.rst:995
1310
1343
msgid ""
@@ -1458,6 +1491,10 @@ msgid ""
1458
1491
"number of pages still to be copied, and the *total* number of pages. "
1459
1492
"Defaults to ``None``."
1460
1493
msgstr ""
1494
+ ":term:`呼び出し可能オブジェクト <callable>`を設定すると、バックアップの指定"
1495
+ "ページ数単位の反復ごとに 3 つの整数引数で呼び出されます。 *status* は、最後の"
1496
+ "反復時のステータスで、 *remaining* はまだコピーされていない残りのページ数"
1497
+ "で、 *total* はコピーされるページの合計です。 デフォルトは ``None`` です。"
1461
1498
1462
1499
#: ../../library/sqlite3.rst:1151
1463
1500
msgid ""
@@ -1767,6 +1804,11 @@ msgid ""
1767
1804
"the ``TEXT`` data type. By default, this attribute is set to :class:`str`. "
1768
1805
"If you want to return ``bytes`` instead, set *text_factory* to ``bytes``."
1769
1806
msgstr ""
1807
+ ":class:`bytes` のパラメータを受け取り、そのテキスト表現を返す :term:`呼び出し"
1808
+ "可能オブジェクト <callable>`です。呼び出し可能オブジェクトは ``TEXT`` データ"
1809
+ "型である SQLite 値に対して呼び出されます。 デフォルトでは、 この属性は :"
1810
+ "class:`str` に設定されています。代わりに ``bytes`` を返したい場合は、 "
1811
+ "*text_factory* を ``bytes`` に設定してください。"
1770
1812
1771
1813
#: ../../library/sqlite3.rst:1448
1772
1814
msgid ""
@@ -2949,6 +2991,10 @@ msgid ""
2949
2991
"control-autocommit` is recommended, while :ref:`sqlite3-transaction-control-"
2950
2992
"isolation-level` retains the pre-Python 3.12 behaviour."
2951
2993
msgstr ""
2994
+ ":mod:`!sqlite3` は、データベース・トランザクションを開くかどうか、いつ、どの"
2995
+ "ように開くかを制御する複数の方法を提供します。 :ref:`sqlite3-transaction-"
2996
+ "control-autocommit` が推奨されますが、:ref:`sqlite3-transaction-control-"
2997
+ "isolation-level` は Python 3.12 より前の動作を保持します。"
2952
2998
2953
2999
#: ../../library/sqlite3.rst:2595
2954
3000
msgid "Transaction control via the ``autocommit`` attribute"
0 commit comments