8
8
msgstr ""
9
9
"Project-Id-Version : Python 3.7\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2018-07-09 08:32 +0900\n "
11
+ "POT-Creation-Date : 2018-07-30 08:42 +0900\n "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : Ikuru K <kanumaiku@gmail.com>, 2017\n "
14
14
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -391,13 +391,10 @@ msgstr "SQLite データベースコネクション。以下の属性やメソ
391
391
392
392
#: ../../library/sqlite3.rst:284
393
393
msgid ""
394
- "Get or set the current isolation level. :const:`None` for autocommit mode or "
395
- " one of \" DEFERRED\" , \" IMMEDIATE\" or \" EXCLUSIVE\" . See section "
394
+ "Get or set the current default isolation level. :const:`None` for autocommit"
395
+ " mode or one of \" DEFERRED\" , \" IMMEDIATE\" or \" EXCLUSIVE\" . See section "
396
396
":ref:`sqlite3-controlling-transactions` for a more detailed explanation."
397
397
msgstr ""
398
- "現在の分離レベルを取得または設定します。 :const:`None` で自動コミットモードまたは \" DEFERRED\" , "
399
- "\" IMMEDIATE\" , \" EXLUSIVE\" のどれかです。より詳しい説明は :ref:`sqlite3-controlling-"
400
- "transactions` 節を参照してください。"
401
398
402
399
#: ../../library/sqlite3.rst:290
403
400
msgid ""
@@ -1324,58 +1321,60 @@ msgstr "トランザクション制御"
1324
1321
1325
1322
#: ../../library/sqlite3.rst:1006
1326
1323
msgid ""
1327
- "By default, the :mod:`sqlite3` module opens transactions implicitly before a"
1328
- " Data Modification Language (DML) statement (i.e. "
1329
- "``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)."
1324
+ "The underlying ``sqlite3`` library operates in ``autocommit`` mode by "
1325
+ "default, but the Python :mod:`sqlite3` module by default does not."
1330
1326
msgstr ""
1331
1327
1332
- #: ../../library/sqlite3.rst:1010
1328
+ #: ../../library/sqlite3.rst:1009
1333
1329
msgid ""
1334
- "You can control which kind of ``BEGIN`` statements sqlite3 implicitly "
1335
- "executes (or none at all) via the *isolation_level* parameter to the "
1336
- ":func:`connect` call, or via the :attr:`isolation_level` property of "
1337
- "connections ."
1330
+ "``autocommit`` mode means that statements that modify the database take "
1331
+ "effect immediately. A ``BEGIN`` or ``SAVEPOINT`` statement disables "
1332
+ "``autocommit`` mode, and a ``COMMIT``, a ``ROLLBACK``, or a ``RELEASE`` that "
1333
+ " ends the outermost transaction, turns ``autocommit`` mode back on ."
1338
1334
msgstr ""
1339
- "sqlite3 が暗黙のうちに実行する ``BEGIN`` 文の種類(またはそういうものを使わないこと)を :func:`connect` 呼び出しの "
1340
- "*isolation_level* パラメータを通じて、または接続の :attr:`isolation_level` "
1341
- "プロパティを通じて、制御することができます。"
1342
1335
1343
1336
#: ../../library/sqlite3.rst:1014
1344
1337
msgid ""
1345
- "If you want **autocommit mode**, then set :attr:`isolation_level` to "
1346
- "``None``."
1347
- msgstr "**自動コミットモード** を使いたい場合は、 :attr:`isolation_level` は ``None`` にしてください。"
1338
+ "The Python :mod:`sqlite3` module by default issues a ``BEGIN`` statement "
1339
+ "implicitly before a Data Modification Language (DML) statement (i.e. "
1340
+ "``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)."
1341
+ msgstr ""
1348
1342
1349
- #: ../../library/sqlite3.rst:1016
1343
+ #: ../../library/sqlite3.rst:1018
1350
1344
msgid ""
1351
- "Otherwise leave it at its default, which will result in a plain \" BEGIN\" "
1352
- "statement, or set it to one of SQLite's supported isolation levels: "
1353
- "\" DEFERRED\" , \" IMMEDIATE\" or \" EXCLUSIVE\" ."
1345
+ "You can control which kind of ``BEGIN`` statements :mod:`sqlite3` implicitly"
1346
+ " executes via the *isolation_level* parameter to the :func:`connect` call, "
1347
+ "or via the :attr:`isolation_level` property of connections. If you specify "
1348
+ "no *isolation_level*, a plain ``BEGIN`` is used, which is equivalent to "
1349
+ "specifying ``DEFERRED``. Other possible values are ``IMMEDIATE`` and "
1350
+ "``EXCLUSIVE``."
1354
1351
msgstr ""
1355
- "そうでなければデフォルトのまま ``BEGIN`` 文を使い続けるか、SQLite がサポートする分離レベル \" DEFERRED\" , "
1356
- "\" IMMEDIATE\" または \" EXCLUSIVE\" を設定してください。"
1357
1352
1358
- #: ../../library/sqlite3.rst:1020
1353
+ #: ../../library/sqlite3.rst:1025
1359
1354
msgid ""
1360
- "The current transaction state is exposed through the "
1361
- ":attr:`Connection.in_transaction` attribute of the connection object."
1355
+ "You can disable the :mod:`sqlite3` module's implicit transaction management "
1356
+ "by setting :attr:`isolation_level` to ``None``. This will leave the "
1357
+ "underlying ``sqlite3`` library operating in ``autocommit`` mode. You can "
1358
+ "then completely control the transaction state by explicitly issuing "
1359
+ "``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, and ``RELEASE`` statements in your "
1360
+ "code."
1362
1361
msgstr ""
1363
1362
1364
- #: ../../library/sqlite3.rst:1023
1363
+ #: ../../library/sqlite3.rst:1031
1365
1364
msgid ""
1366
1365
":mod:`sqlite3` used to implicitly commit an open transaction before DDL "
1367
1366
"statements. This is no longer the case."
1368
1367
msgstr ""
1369
1368
1370
- #: ../../library/sqlite3.rst:1029
1369
+ #: ../../library/sqlite3.rst:1037
1371
1370
msgid "Using :mod:`sqlite3` efficiently"
1372
1371
msgstr ":mod:`sqlite3` の効率的な使い方"
1373
1372
1374
- #: ../../library/sqlite3.rst:1033
1373
+ #: ../../library/sqlite3.rst:1041
1375
1374
msgid "Using shortcut methods"
1376
1375
msgstr "ショートカットメソッドを使う"
1377
1376
1378
- #: ../../library/sqlite3.rst:1035
1377
+ #: ../../library/sqlite3.rst:1043
1379
1378
msgid ""
1380
1379
"Using the nonstandard :meth:`execute`, :meth:`executemany` and "
1381
1380
":meth:`executescript` methods of the :class:`Connection` object, your code "
@@ -1392,29 +1391,29 @@ msgstr ""
1392
1391
"オブジェクトは暗黙裡に生成されショートカットメソッドの戻り値として受け取ることができます。この方法を使えば、 ``SELECT`` "
1393
1392
"文を実行してその結果について反復することが、 :class:`Connection` オブジェクトに対する呼び出し一つで行なえます。"
1394
1393
1395
- #: ../../library/sqlite3.rst:1047
1394
+ #: ../../library/sqlite3.rst:1055
1396
1395
msgid "Accessing columns by name instead of by index"
1397
1396
msgstr "位置ではなく名前でカラムにアクセスする"
1398
1397
1399
- #: ../../library/sqlite3.rst:1049
1398
+ #: ../../library/sqlite3.rst:1057
1400
1399
msgid ""
1401
1400
"One useful feature of the :mod:`sqlite3` module is the built-in "
1402
1401
":class:`sqlite3.Row` class designed to be used as a row factory."
1403
1402
msgstr ""
1404
1403
":mod:`sqlite3` モジュールの有用な機能の一つに、行生成関数として使われるための :class:`sqlite3.Row` "
1405
1404
"クラスがあります。"
1406
1405
1407
- #: ../../library/sqlite3.rst:1052
1406
+ #: ../../library/sqlite3.rst:1060
1408
1407
msgid ""
1409
1408
"Rows wrapped with this class can be accessed both by index (like tuples) and"
1410
1409
" case-insensitively by name:"
1411
1410
msgstr "このクラスでラップされた行は、位置インデクス(タプルのような)でも大文字小文字を区別しない名前でもアクセスできます:"
1412
1411
1413
- #: ../../library/sqlite3.rst:1059
1412
+ #: ../../library/sqlite3.rst:1067
1414
1413
msgid "Using the connection as a context manager"
1415
1414
msgstr "コネクションをコンテキストマネージャーとして利用する"
1416
1415
1417
- #: ../../library/sqlite3.rst:1061
1416
+ #: ../../library/sqlite3.rst:1069
1418
1417
msgid ""
1419
1418
"Connection objects can be used as context managers that automatically commit"
1420
1419
" or rollback transactions. In the event of an exception, the transaction is"
@@ -1423,15 +1422,15 @@ msgstr ""
1423
1422
"Connection "
1424
1423
"オブジェクトはコンテキストマネージャーとして利用して、トランザクションを自動的にコミットしたりロールバックすることができます。例外が発生したときにトランザクションはロールバックされ、それ以外の場合、トランザクションはコミットされます:"
1425
1424
1426
- #: ../../library/sqlite3.rst:1070
1425
+ #: ../../library/sqlite3.rst:1078
1427
1426
msgid "Common issues"
1428
1427
msgstr "既知の問題"
1429
1428
1430
- #: ../../library/sqlite3.rst:1073
1429
+ #: ../../library/sqlite3.rst:1081
1431
1430
msgid "Multithreading"
1432
1431
msgstr "マルチスレッド"
1433
1432
1434
- #: ../../library/sqlite3.rst:1075
1433
+ #: ../../library/sqlite3.rst:1083
1435
1434
msgid ""
1436
1435
"Older SQLite versions had issues with sharing connections between threads. "
1437
1436
"That's why the Python module disallows sharing connections and cursors "
@@ -1441,17 +1440,17 @@ msgstr ""
1441
1440
"古いバージョンの SQLite はスレッド間でのコネクションの共有に問題がありました。その理由は、Python "
1442
1441
"のモジュールではスレッド間のコネクションとカーソルの共有ができないためです。依然としてそのようなことをしようとすると、実行時に例外を受け取るでしょう。"
1443
1442
1444
- #: ../../library/sqlite3.rst:1079
1443
+ #: ../../library/sqlite3.rst:1087
1445
1444
msgid ""
1446
1445
"The only exception is calling the :meth:`~Connection.interrupt` method, "
1447
1446
"which only makes sense to call from a different thread."
1448
1447
msgstr "唯一の例外は :meth:`~Connection.interrupt` メソッドで、これだけが異なるスレッドから呼び出せます。"
1449
1448
1450
- #: ../../library/sqlite3.rst:1083
1449
+ #: ../../library/sqlite3.rst:1091
1451
1450
msgid "Footnotes"
1452
1451
msgstr "脚注"
1453
1452
1454
- #: ../../library/sqlite3.rst:1084
1453
+ #: ../../library/sqlite3.rst:1092
1455
1454
msgid ""
1456
1455
"The sqlite3 module is not built with loadable extension support by default, "
1457
1456
"because some platforms (notably Mac OS X) have SQLite libraries which are "
0 commit comments