@@ -62,17 +62,19 @@ msgstr ""
62
62
63
63
#: ../../library/sqlite3.rst:34
64
64
msgid "This document includes four main sections:"
65
- msgstr ""
65
+ msgstr "この文書には大きく分けて 4 つの節があります: "
66
66
67
67
#: ../../library/sqlite3.rst:36
68
68
msgid ":ref:`sqlite3-tutorial` teaches how to use the :mod:`!sqlite3` module."
69
- msgstr ""
69
+ msgstr ":ref:`sqlite3-tutorial` :mod:`!sqlite3` モジュールの使い方を学びます。 "
70
70
71
71
#: ../../library/sqlite3.rst:37
72
72
msgid ""
73
73
":ref:`sqlite3-reference` describes the classes and functions this module "
74
74
"defines."
75
75
msgstr ""
76
+ ":ref:`sqlite3-reference` このモジュールが定義するクラスと関数について説明しま"
77
+ "す。"
76
78
77
79
#: ../../library/sqlite3.rst:39
78
80
msgid ":ref:`sqlite3-howtos` details how to handle specific tasks."
@@ -83,6 +85,8 @@ msgid ""
83
85
":ref:`sqlite3-explanation` provides in-depth background on transaction "
84
86
"control."
85
87
msgstr ""
88
+ ":ref:`sqlite3-explanation` トランザクション制御の背景をより深く掘り下げて説明"
89
+ "します。"
86
90
87
91
#: ../../library/sqlite3.rst:47
88
92
msgid "https://www.sqlite.org"
@@ -305,28 +309,30 @@ msgstr ""
305
309
306
310
#: ../../library/sqlite3.rst:238
307
311
msgid ":ref:`sqlite3-placeholders`"
308
- msgstr ""
312
+ msgstr ":ref:`sqlite3-placeholders` "
309
313
310
314
#: ../../library/sqlite3.rst:239
311
315
msgid ":ref:`sqlite3-adapters`"
312
- msgstr ""
316
+ msgstr ":ref:`sqlite3-adapters` "
313
317
314
318
#: ../../library/sqlite3.rst:240
315
319
msgid ":ref:`sqlite3-converters`"
316
- msgstr ""
320
+ msgstr ":ref:`sqlite3-converters` "
317
321
318
322
#: ../../library/sqlite3.rst:241 ../../library/sqlite3.rst:557
319
323
msgid ":ref:`sqlite3-connection-context-manager`"
320
- msgstr ""
324
+ msgstr ":ref:`sqlite3-connection-context-manager` "
321
325
322
326
#: ../../library/sqlite3.rst:242
323
327
msgid ":ref:`sqlite3-howto-row-factory`"
324
- msgstr ""
328
+ msgstr ":ref:`sqlite3-howto-row-factory` "
325
329
326
330
#: ../../library/sqlite3.rst:244
327
331
msgid ""
328
332
":ref:`sqlite3-explanation` for in-depth background on transaction control."
329
333
msgstr ""
334
+ ":ref:`トランザクション制御 <sqlite3-explanation>` トランザクション制御の背景"
335
+ "についてより深く掘り下げた説明。"
330
336
331
337
#: ../../library/sqlite3.rst:249
332
338
msgid "Reference"
@@ -394,6 +400,12 @@ msgid ""
394
400
"opening transactions implicitly. See :ref:`sqlite3-controlling-transactions` "
395
401
"for more."
396
402
msgstr ""
403
+ "接続(connection)の :attr:`~Connection.isolation_level` は、 トランザクション"
404
+ "が暗黙に開かれるかどうかと、どのように開かれるかを制御し、その値は "
405
+ "``\" DEFERRED\" `` (これがデフォルトです)または ``\" EXCLUSIVE\" `` または "
406
+ "``\" IMMEDIATE\" `` のいずれか、または、トランザクションを暗黙に開くことができ"
407
+ "なくなる ``None`` です。詳細は :ref:`sqlite3-controlling-transactions` を参照"
408
+ "してください。"
397
409
398
410
#: ../../library/sqlite3.rst:301
399
411
msgid ""
@@ -403,18 +415,28 @@ msgid ""
403
415
"operations may need to be serialized by the user to avoid data corruption. "
404
416
"See :attr:`threadsafety` for more information."
405
417
msgstr ""
418
+ "``True`` (これがデフォルトです)なら、データベース接続を作成したスレッド以外の"
419
+ "スレッドがデータベース接続を使用すると、 :exc:`ProgrammingError` が送出されま"
420
+ "す。 ``False`` なら、接続は複数のスレッドからアクセスできます。ただし、データ"
421
+ "の破損を避けるために、ユーザーによる書き込み操作の直列化が必要になることがあ"
422
+ "ります。詳細は :attr:`threadsafety` を参照してください。"
406
423
407
424
#: ../../library/sqlite3.rst:310
408
425
msgid ""
409
426
"A custom subclass of :class:`Connection` to create the connection with, if "
410
427
"not the default :class:`Connection` class."
411
428
msgstr ""
429
+ "デフォルトの :class:`Connection` クラスでない場合に接続(connection)を作成す"
430
+ "る :class:`Connection` のカスタム・サブクラスです。"
412
431
413
432
#: ../../library/sqlite3.rst:314
414
433
msgid ""
415
434
"The number of statements that :mod:`!sqlite3` should internally cache for "
416
435
"this connection, to avoid parsing overhead. By default, 128 statements."
417
436
msgstr ""
437
+ ":mod:`!sqlite3` がこの接続(connection)のために内部的にキャッシュするSQL文"
438
+ "(statements)の数で、 パース時のオーバーヘッドを回避します。 デフォルトでは、"
439
+ "128 文(statements)です。"
418
440
419
441
#: ../../library/sqlite3.rst:319
420
442
msgid ""
@@ -424,6 +446,12 @@ msgid ""
424
446
"absolute. The query string allows passing parameters to SQLite, enabling "
425
447
"various :ref:`sqlite3-uri-tricks`."
426
448
msgstr ""
449
+ "``True`` に設定すると、 *database* は、ファイル・パス(path)とオプションのクエ"
450
+ "リ文字列を含む :abbr:`URI (Uniform Resource Identifier)` として解釈されま"
451
+ "す。 スキームの部分は ``\" file:\" `` でなければならず、パス(path)は相対パスま"
452
+ "たは絶対パスにすることができます。 クエリ文字列により、 パラメーターを "
453
+ "SQLite に渡すことができ、さまざまな :ref:`sqlite3-uri-tricks` が有効になりま"
454
+ "す。"
427
455
428
456
#: ../../library/sqlite3.rst:0
429
457
msgid "Return type"
@@ -447,16 +475,18 @@ msgstr ""
447
475
448
476
#: ../../library/sqlite3.rst:333
449
477
msgid "The *uri* parameter."
450
- msgstr ""
478
+ msgstr "*uri* パラメーター。 "
451
479
452
480
#: ../../library/sqlite3.rst:336
453
481
msgid ""
454
482
"*database* can now also be a :term:`path-like object`, not only a string."
455
483
msgstr ""
484
+ "*database* は、文字列だけでなく、 :term:`path-like object` にすることもできる"
485
+ "ようになりました。"
456
486
457
487
#: ../../library/sqlite3.rst:339
458
488
msgid "The ``sqlite3.connect/handle`` auditing event."
459
- msgstr ""
489
+ msgstr "監査イベント ``sqlite3.connect/handle`` "
460
490
461
491
#: ../../library/sqlite3.rst:344
462
492
msgid ""
@@ -1893,7 +1923,7 @@ msgstr ""
1893
1923
1894
1924
#: ../../library/sqlite3.rst:1832
1895
1925
msgid "How to use placeholders to bind values in SQL queries"
1896
- msgstr ""
1926
+ msgstr "プレースホルダを使用して SQL クエリに値を結び付ける方法 "
1897
1927
1898
1928
#: ../../library/sqlite3.rst:1834
1899
1929
msgid ""
@@ -2099,7 +2129,7 @@ msgstr ""
2099
2129
2100
2130
#: ../../library/sqlite3.rst:2220
2101
2131
msgid "How to work with SQLite URIs"
2102
- msgstr ""
2132
+ msgstr "SQLite URI の操作方法 "
2103
2133
2104
2134
#: ../../library/sqlite3.rst:2222
2105
2135
msgid "Some useful URI tricks include:"
@@ -2211,6 +2241,16 @@ msgid ""
2211
2241
"sqlite3` implicitly executes – via the :attr:`~Connection.isolation_level` "
2212
2242
"attribute."
2213
2243
msgstr ""
2244
+ "接続属性 :attr:`~Connection.isolation_level` が ``None`` で無いのなら、 :"
2245
+ "meth:`~Cursor.execute` や :meth:`~Cursor.executemany` が ``INSERT`` または "
2246
+ "``UPDATE`` または ``DELETE`` または ``REPLACE`` 文を実行する前に新しいトラン"
2247
+ "ザクションが暗黙に開かれます。それ以外のSQL文では暗黙のトランザクション処理は"
2248
+ "行われません。 :meth:`~Connection.commit` メソッドや :meth:`~Connection."
2249
+ "rollback` メソッドを使用して、 保留中のトランザクションをそれぞれコミットおよ"
2250
+ "びロールバックします。あなたは、背後にある SQLite ライブラリのトランザクショ"
2251
+ "ンの振る舞い(`SQLite transaction behaviour`_) — つまり、 sqlite3 が暗黙に実行"
2252
+ "する ``BEGIN`` 文の有無とその種類 – を、 :attr:`~Connection.isolation_level` "
2253
+ "属性を介して選択できます。"
2214
2254
2215
2255
#: ../../library/sqlite3.rst:2379
2216
2256
msgid ""
@@ -2221,16 +2261,27 @@ msgid ""
2221
2261
"library autocommit mode can be queried using the :attr:`~Connection."
2222
2262
"in_transaction` attribute."
2223
2263
msgstr ""
2264
+ ":attr:`~Connection.isolation_level` が ``None`` に設定されていると、トランザ"
2265
+ "クションは暗黙に開かれません。これにより、背後にある SQLite ライブラリを自動"
2266
+ "コミット・モード(`autocommit mode`_)にしたまま、 明示的な SQL 文を使用して、 "
2267
+ "ユーザが独自のトランザクション処理を行えるようにします。背後にある SQLite ラ"
2268
+ "イブラリの自動コミット・モードは、 :attr:`~Connection.in_transaction` 属性を"
2269
+ "使用して問い合わせできます。"
2224
2270
2225
2271
#: ../../library/sqlite3.rst:2387
2226
2272
msgid ""
2227
2273
"The :meth:`~Cursor.executescript` method implicitly commits any pending "
2228
2274
"transaction before execution of the given SQL script, regardless of the "
2229
2275
"value of :attr:`~Connection.isolation_level`."
2230
2276
msgstr ""
2277
+ ":meth:`~Cursor.executescript` メソッドは、 :attr:`~Connection."
2278
+ "isolation_level` の値に関係なく、与えられた SQL スクリプトの実行前に、保留中"
2279
+ "のトランザクションを暗黙にコミットします。"
2231
2280
2232
2281
#: ../../library/sqlite3.rst:2391
2233
2282
msgid ""
2234
2283
":mod:`!sqlite3` used to implicitly commit an open transaction before DDL "
2235
2284
"statements. This is no longer the case."
2236
2285
msgstr ""
2286
+ ":mod:`!sqlite3` は、 DDL文の前に、開いているトランザクションを暗黙にコミット"
2287
+ "していました。これはもはや当てはまりません。"
0 commit comments