8
8
msgstr ""
9
9
"Project-Id-Version : Python 3.6\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2018-07-09 13:49 +0900\n "
11
+ "POT-Creation-Date : 2018-07-30 14:00 +0900\n "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : tomo🐧, 2018\n "
14
14
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -381,13 +381,10 @@ msgstr "SQLite データベースコネクション。以下の属性やメソ
381
381
382
382
#: ../../library/sqlite3.rst:277
383
383
msgid ""
384
- "Get or set the current isolation level. :const:`None` for autocommit mode or "
385
- " one of \" DEFERRED\" , \" IMMEDIATE\" or \" EXCLUSIVE\" . See section "
384
+ "Get or set the current default isolation level. :const:`None` for autocommit"
385
+ " mode or one of \" DEFERRED\" , \" IMMEDIATE\" or \" EXCLUSIVE\" . See section "
386
386
":ref:`sqlite3-controlling-transactions` for a more detailed explanation."
387
387
msgstr ""
388
- "現在の分離レベルを取得または設定します。 :const:`None` で自動コミットモードまたは \" DEFERRED\" , "
389
- "\" IMMEDIATE\" , \" EXLUSIVE\" のどれかです。より詳しい説明は :ref:`sqlite3-controlling-"
390
- "transactions` 節を参照してください。"
391
388
392
389
#: ../../library/sqlite3.rst:283
393
390
msgid ""
@@ -1263,58 +1260,60 @@ msgstr "トランザクション制御"
1263
1260
1264
1261
#: ../../library/sqlite3.rst:949
1265
1262
msgid ""
1266
- "By default, the :mod:`sqlite3` module opens transactions implicitly before a"
1267
- " Data Modification Language (DML) statement (i.e. "
1268
- "``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)."
1263
+ "The underlying ``sqlite3`` library operates in ``autocommit`` mode by "
1264
+ "default, but the Python :mod:`sqlite3` module by default does not."
1269
1265
msgstr ""
1270
1266
1271
- #: ../../library/sqlite3.rst:953
1267
+ #: ../../library/sqlite3.rst:952
1272
1268
msgid ""
1273
- "You can control which kind of ``BEGIN`` statements sqlite3 implicitly "
1274
- "executes (or none at all) via the *isolation_level* parameter to the "
1275
- ":func:`connect` call, or via the :attr:`isolation_level` property of "
1276
- "connections ."
1269
+ "``autocommit`` mode means that statements that modify the database take "
1270
+ "effect immediately. A ``BEGIN`` or ``SAVEPOINT`` statement disables "
1271
+ "``autocommit`` mode, and a ``COMMIT``, a ``ROLLBACK``, or a ``RELEASE`` that "
1272
+ " ends the outermost transaction, turns ``autocommit`` mode back on ."
1277
1273
msgstr ""
1278
- "sqlite3 が暗黙のうちに実行する ``BEGIN`` 文の種類(またはそういうものを使わないこと)を :func:`connect` 呼び出しの "
1279
- "*isolation_level* パラメータを通じて、または接続の :attr:`isolation_level` "
1280
- "プロパティを通じて、制御することができます。"
1281
1274
1282
1275
#: ../../library/sqlite3.rst:957
1283
1276
msgid ""
1284
- "If you want **autocommit mode**, then set :attr:`isolation_level` to "
1285
- "``None``."
1286
- msgstr "**自動コミットモード** を使いたい場合は、 :attr:`isolation_level` は ``None`` にしてください。"
1277
+ "The Python :mod:`sqlite3` module by default issues a ``BEGIN`` statement "
1278
+ "implicitly before a Data Modification Language (DML) statement (i.e. "
1279
+ "``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)."
1280
+ msgstr ""
1287
1281
1288
- #: ../../library/sqlite3.rst:959
1282
+ #: ../../library/sqlite3.rst:961
1289
1283
msgid ""
1290
- "Otherwise leave it at its default, which will result in a plain \" BEGIN\" "
1291
- "statement, or set it to one of SQLite's supported isolation levels: "
1292
- "\" DEFERRED\" , \" IMMEDIATE\" or \" EXCLUSIVE\" ."
1284
+ "You can control which kind of ``BEGIN`` statements :mod:`sqlite3` implicitly"
1285
+ " executes via the *isolation_level* parameter to the :func:`connect` call, "
1286
+ "or via the :attr:`isolation_level` property of connections. If you specify "
1287
+ "no *isolation_level*, a plain ``BEGIN`` is used, which is equivalent to "
1288
+ "specifying ``DEFERRED``. Other possible values are ``IMMEDIATE`` and "
1289
+ "``EXCLUSIVE``."
1293
1290
msgstr ""
1294
- "そうでなければデフォルトのまま ``BEGIN`` 文を使い続けるか、SQLite がサポートする分離レベル \" DEFERRED\" , "
1295
- "\" IMMEDIATE\" または \" EXCLUSIVE\" を設定してください。"
1296
1291
1297
- #: ../../library/sqlite3.rst:963
1292
+ #: ../../library/sqlite3.rst:968
1298
1293
msgid ""
1299
- "The current transaction state is exposed through the "
1300
- ":attr:`Connection.in_transaction` attribute of the connection object."
1294
+ "You can disable the :mod:`sqlite3` module's implicit transaction management "
1295
+ "by setting :attr:`isolation_level` to ``None``. This will leave the "
1296
+ "underlying ``sqlite3`` library operating in ``autocommit`` mode. You can "
1297
+ "then completely control the transaction state by explicitly issuing "
1298
+ "``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, and ``RELEASE`` statements in your "
1299
+ "code."
1301
1300
msgstr ""
1302
1301
1303
- #: ../../library/sqlite3.rst:966
1302
+ #: ../../library/sqlite3.rst:974
1304
1303
msgid ""
1305
1304
":mod:`sqlite3` used to implicitly commit an open transaction before DDL "
1306
1305
"statements. This is no longer the case."
1307
1306
msgstr ""
1308
1307
1309
- #: ../../library/sqlite3.rst:972
1308
+ #: ../../library/sqlite3.rst:980
1310
1309
msgid "Using :mod:`sqlite3` efficiently"
1311
1310
msgstr ":mod:`sqlite3` の効率的な使い方"
1312
1311
1313
- #: ../../library/sqlite3.rst:976
1312
+ #: ../../library/sqlite3.rst:984
1314
1313
msgid "Using shortcut methods"
1315
1314
msgstr "ショートカットメソッドを使う"
1316
1315
1317
- #: ../../library/sqlite3.rst:978
1316
+ #: ../../library/sqlite3.rst:986
1318
1317
msgid ""
1319
1318
"Using the nonstandard :meth:`execute`, :meth:`executemany` and "
1320
1319
":meth:`executescript` methods of the :class:`Connection` object, your code "
@@ -1331,29 +1330,29 @@ msgstr ""
1331
1330
"オブジェクトは暗黙裡に生成されショートカットメソッドの戻り値として受け取ることができます。この方法を使えば、 ``SELECT`` "
1332
1331
"文を実行してその結果について反復することが、 :class:`Connection` オブジェクトに対する呼び出し一つで行なえます。"
1333
1332
1334
- #: ../../library/sqlite3.rst:990
1333
+ #: ../../library/sqlite3.rst:998
1335
1334
msgid "Accessing columns by name instead of by index"
1336
1335
msgstr "位置ではなく名前でカラムにアクセスする"
1337
1336
1338
- #: ../../library/sqlite3.rst:992
1337
+ #: ../../library/sqlite3.rst:1000
1339
1338
msgid ""
1340
1339
"One useful feature of the :mod:`sqlite3` module is the built-in "
1341
1340
":class:`sqlite3.Row` class designed to be used as a row factory."
1342
1341
msgstr ""
1343
1342
":mod:`sqlite3` モジュールの有用な機能の一つに、行生成関数として使われるための :class:`sqlite3.Row` "
1344
1343
"クラスがあります。"
1345
1344
1346
- #: ../../library/sqlite3.rst:995
1345
+ #: ../../library/sqlite3.rst:1003
1347
1346
msgid ""
1348
1347
"Rows wrapped with this class can be accessed both by index (like tuples) and"
1349
1348
" case-insensitively by name:"
1350
1349
msgstr "このクラスでラップされた行は、位置インデクス(タプルのような)でも大文字小文字を区別しない名前でもアクセスできます:"
1351
1350
1352
- #: ../../library/sqlite3.rst:1002
1351
+ #: ../../library/sqlite3.rst:1010
1353
1352
msgid "Using the connection as a context manager"
1354
1353
msgstr "コネクションをコンテキストマネージャーとして利用する"
1355
1354
1356
- #: ../../library/sqlite3.rst:1004
1355
+ #: ../../library/sqlite3.rst:1012
1357
1356
msgid ""
1358
1357
"Connection objects can be used as context managers that automatically commit"
1359
1358
" or rollback transactions. In the event of an exception, the transaction is"
@@ -1362,15 +1361,15 @@ msgstr ""
1362
1361
"Connection "
1363
1362
"オブジェクトはコンテキストマネージャーとして利用して、トランザクションを自動的にコミットしたりロールバックすることができます。例外が発生したときにトランザクションはロールバックされ、それ以外の場合、トランザクションはコミットされます:"
1364
1363
1365
- #: ../../library/sqlite3.rst:1013
1364
+ #: ../../library/sqlite3.rst:1021
1366
1365
msgid "Common issues"
1367
1366
msgstr "既知の問題"
1368
1367
1369
- #: ../../library/sqlite3.rst:1016
1368
+ #: ../../library/sqlite3.rst:1024
1370
1369
msgid "Multithreading"
1371
1370
msgstr "マルチスレッド"
1372
1371
1373
- #: ../../library/sqlite3.rst:1018
1372
+ #: ../../library/sqlite3.rst:1026
1374
1373
msgid ""
1375
1374
"Older SQLite versions had issues with sharing connections between threads. "
1376
1375
"That's why the Python module disallows sharing connections and cursors "
@@ -1380,17 +1379,17 @@ msgstr ""
1380
1379
"古いバージョンの SQLite はスレッド間でのコネクションの共有に問題がありました。その理由は、Python "
1381
1380
"のモジュールではスレッド間のコネクションとカーソルの共有ができないためです。依然としてそのようなことをしようとすると、実行時に例外を受け取るでしょう。"
1382
1381
1383
- #: ../../library/sqlite3.rst:1022
1382
+ #: ../../library/sqlite3.rst:1030
1384
1383
msgid ""
1385
1384
"The only exception is calling the :meth:`~Connection.interrupt` method, "
1386
1385
"which only makes sense to call from a different thread."
1387
1386
msgstr "唯一の例外は :meth:`~Connection.interrupt` メソッドで、これだけが異なるスレッドから呼び出せます。"
1388
1387
1389
- #: ../../library/sqlite3.rst:1026
1388
+ #: ../../library/sqlite3.rst:1034
1390
1389
msgid "Footnotes"
1391
1390
msgstr "脚注"
1392
1391
1393
- #: ../../library/sqlite3.rst:1027
1392
+ #: ../../library/sqlite3.rst:1035
1394
1393
msgid ""
1395
139
3F1A
4
"The sqlite3 module is not built with loadable extension support by default, "
1396
1395
"because some platforms (notably Mac OS X) have SQLite libraries which are "
0 commit comments