Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a9d57d2

Browse files
committed
[po] auto sync bot
1 parent 30f057d commit a9d57d2

3 files changed

Lines changed: 3663 additions & 3623 deletions

File tree

library/sqlite3.po

Lines changed: 42 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"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"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: ww song <[email protected]>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -335,8 +335,8 @@ msgstr ""
335335

336336
#: ../../library/sqlite3.rst:284
337337
msgid ""
338-
"Get or set the current isolation level. :const:`None` for autocommit mode or"
339-
" one of \"DEFERRED\", \"IMMEDIATE\" or \"EXCLUSIVE\". See section "
338+
"Get or set the current default isolation level. :const:`None` for autocommit"
339+
" mode or one of \"DEFERRED\", \"IMMEDIATE\" or \"EXCLUSIVE\". See section "
340340
":ref:`sqlite3-controlling-transactions` for a more detailed explanation."
341341
msgstr ""
342342

@@ -1160,53 +1160,60 @@ msgstr ""
11601160

11611161
#: ../../library/sqlite3.rst:1006
11621162
msgid ""
1163-
"By default, the :mod:`sqlite3` module opens transactions implicitly before a"
1164-
" Data Modification Language (DML) statement (i.e. "
1165-
"``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)."
1163+
"The underlying ``sqlite3`` library operates in ``autocommit`` mode by "
1164+
"default, but the Python :mod:`sqlite3` module by default does not."
11661165
msgstr ""
11671166

1168-
#: ../../library/sqlite3.rst:1010
1167+
#: ../../library/sqlite3.rst:1009
11691168
msgid ""
1170-
"You can control which kind of ``BEGIN`` statements sqlite3 implicitly "
1171-
"executes (or none at all) via the *isolation_level* parameter to the "
1172-
":func:`connect` call, or via the :attr:`isolation_level` property of "
1173-
"connections."
1169+
"``autocommit`` mode means that statements that modify the database take "
1170+
"effect immediately. A ``BEGIN`` or ``SAVEPOINT`` statement disables "
1171+
"``autocommit`` mode, and a ``COMMIT``, a ``ROLLBACK``, or a ``RELEASE`` that"
1172+
" ends the outermost transaction, turns ``autocommit`` mode back on."
11741173
msgstr ""
11751174

11761175
#: ../../library/sqlite3.rst:1014
11771176
msgid ""
1178-
"If you want **autocommit mode**, then set :attr:`isolation_level` to "
1179-
"``None``."
1177+
"The Python :mod:`sqlite3` module by default issues a ``BEGIN`` statement "
1178+
"implicitly before a Data Modification Language (DML) statement (i.e. "
1179+
"``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)."
11801180
msgstr ""
11811181

1182-
#: ../../library/sqlite3.rst:1016
1182+
#: ../../library/sqlite3.rst:1018
11831183
msgid ""
1184-
"Otherwise leave it at its default, which will result in a plain \"BEGIN\" "
1185-
"statement, or set it to one of SQLite's supported isolation levels: "
1186-
"\"DEFERRED\", \"IMMEDIATE\" or \"EXCLUSIVE\"."
1184+
"You can control which kind of ``BEGIN`` statements :mod:`sqlite3` implicitly"
1185+
" executes via the *isolation_level* parameter to the :func:`connect` call, "
1186+
"or via the :attr:`isolation_level` property of connections. If you specify "
1187+
"no *isolation_level*, a plain ``BEGIN`` is used, which is equivalent to "
1188+
"specifying ``DEFERRED``. Other possible values are ``IMMEDIATE`` and "
1189+
"``EXCLUSIVE``."
11871190
msgstr ""
11881191

1189-
#: ../../library/sqlite3.rst:1020
1192+
#: ../../library/sqlite3.rst:1025
11901193
msgid ""
1191-
"The current transaction state is exposed through the "
1192-
":attr:`Connection.in_transaction` attribute of the connection object."
1194+
"You can disable the :mod:`sqlite3` module's implicit transaction management "
1195+
"by setting :attr:`isolation_level` to ``None``. This will leave the "
1196+
"underlying ``sqlite3`` library operating in ``autocommit`` mode. You can "
1197+
"then completely control the transaction state by explicitly issuing "
1198+
"``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, and ``RELEASE`` statements in your "
1199+
"code."
11931200
msgstr ""
11941201

1195-
#: ../../library/sqlite3.rst:1023
1202+
#: ../../library/sqlite3.rst:1031
11961203
msgid ""
11971204
":mod:`sqlite3` used to implicitly commit an open transaction before DDL "
11981205
"statements. This is no longer the case."
11991206
msgstr ""
12001207

1201-
#: ../../library/sqlite3.rst:1029
1208+
#: ../../library/sqlite3.rst:1037
12021209
msgid "Using :mod:`sqlite3` efficiently"
12031210
msgstr ""
12041211

1205-
#: ../../library/sqlite3.rst:1033
1212+
#: ../../library/sqlite3.rst:1041
12061213
msgid "Using shortcut methods"
12071214
msgstr ""
12081215

1209-
#: ../../library/sqlite3.rst:1035
1216+
#: ../../library/sqlite3.rst:1043
12101217
msgid ""
12111218
"Using the nonstandard :meth:`execute`, :meth:`executemany` and "
12121219
":meth:`executescript` methods of the :class:`Connection` object, your code "
@@ -1218,60 +1225,60 @@ msgid ""
12181225
":class:`Connection` object."
12191226
msgstr ""
12201227

1221-
#: ../../library/sqlite3.rst:1047
1228+
#: ../../library/sqlite3.rst:1055
12221229
msgid "Accessing columns by name instead of by index"
12231230
msgstr ""
12241231

1225-
#: ../../library/sqlite3.rst:1049
1232+
#: ../../library/sqlite3.rst:1057
12261233
msgid ""
12271234
"One useful feature of the :mod:`sqlite3` module is the built-in "
12281235
":class:`sqlite3.Row` class designed to be used as a row factory."
12291236
msgstr ""
12301237

1231-
#: ../../library/sqlite3.rst:1052
1238+
#: ../../library/sqlite3.rst:1060
12321239
msgid ""
12331240
"Rows wrapped with this class can be accessed both by index (like tuples) and"
12341241
" case-insensitively by name:"
12351242
msgstr ""
12361243

1237-
#: ../../library/sqlite3.rst:1059
1244+
#: ../../library/sqlite3.rst:1067
12381245
msgid "Using the connection as a context manager"
12391246
msgstr ""
12401247

1241-
#: ../../library/sqlite3.rst:1061
1248+
#: ../../library/sqlite3.rst:1069
12421249
msgid ""
12431250
"Connection objects can be used as context managers that automatically commit"
12441251
" or rollback transactions. In the event of an exception, the transaction is"
12451252
" rolled back; otherwise, the transaction is committed:"
12461253
msgstr ""
12471254

1248-
#: ../../library/sqlite3.rst:1070
1255+
#: ../../library/sqlite3.rst:1078
12491256
msgid "Common issues"
12501257
msgstr ""
12511258

1252-
#: ../../library/sqlite3.rst:1073
1259+
#: ../../library/sqlite3.rst:1081
12531260
msgid "Multithreading"
12541261
msgstr ""
12551262

1256-
#: ../../library/sqlite3.rst:1075
1263+
#: ../../library/sqlite3.rst:1083
12571264
msgid ""
12581265
"Older SQLite versions had issues with sharing connections between threads. "
12591266
"That's why the Python module disallows sharing connections and cursors "
12601267
"between threads. If you still try to do so, you will get an exception at "
12611268
"runtime."
12621269
msgstr ""
12631270

1264-
#: ../../library/sqlite3.rst:1079
1271+
#: ../../library/sqlite3.rst:1087
12651272
msgid ""
12661273
"The only exception is calling the :meth:`~Connection.interrupt` method, "
12671274
"which only makes sense to call from a different thread."
12681275
msgstr ""
12691276

1270-
#: ../../library/sqlite3.rst:1083
1277+
#: ../../library/sqlite3.rst:1091
12711278
msgid "Footnotes"
12721279
msgstr "脚注"
12731280

1274-
#: ../../library/sqlite3.rst:1084
1281+
#: ../../library/sqlite3.rst:1092
12751282
msgid ""
12761283
"The sqlite3 module is not built with loadable extension support by default, "
12771284
"because some platforms (notably Mac OS X) have SQLite libraries which are "

whatsnew/3.7.po

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-07-11 08:33+0900\n"
11+
"POT-Creation-Date: 2018-07-30 08:42+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: Kaizhao Zhang <[email protected]>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -3096,7 +3096,7 @@ msgid ""
30963096
"Smith in :issue:`29137`.)"
30973097
msgstr ""
30983098

3099-
#: ../../whatsnew/3.7.rst:2168 ../../whatsnew/3.7.rst:2434
3099+
#: ../../whatsnew/3.7.rst:2168 ../../whatsnew/3.7.rst:2440
31003100
msgid "Windows-only Changes"
31013101
msgstr ""
31023102

@@ -3443,11 +3443,19 @@ msgid ""
34433443
" :issue:`23835`.)"
34443444
msgstr ""
34453445

3446-
#: ../../whatsnew/3.7.rst:2411
3446+
#: ../../whatsnew/3.7.rst:2409
3447+
msgid ""
3448+
"Several undocumented internal imports were removed. One example is that "
3449+
"``os.errno`` is no longer available; use ``import errno`` directly instead. "
3450+
"Note that such undocumented internal imports may be removed any time without"
3451+
" notice, even in micro version releases."
3452+
msgstr ""
3453+
3454+
#: ../../whatsnew/3.7.rst:2417
34473455
msgid "Changes in the C API"
34483456
msgstr ""
34493457

3450-
#: ../../whatsnew/3.7.rst:2413
3458+
#: ../../whatsnew/3.7.rst:2419
34513459
msgid ""
34523460
"The function :c:func:`PySlice_GetIndicesEx` is considered unsafe for "
34533461
"resizable sequences. If the slice indices are not instances of "
@@ -3459,34 +3467,34 @@ msgid ""
34593467
"(Contributed by Serhiy Storchaka in :issue:`27867`.)"
34603468
msgstr ""
34613469

3462-
#: ../../whatsnew/3.7.rst:2424
3470+
#: ../../whatsnew/3.7.rst:2430
34633471
msgid "CPython bytecode changes"
34643472
msgstr ""
34653473

3466-
#: ../../whatsnew/3.7.rst:2426
3474+
#: ../../whatsnew/3.7.rst:2432
34673475
msgid ""
34683476
"There are two new opcodes: :opcode:`LOAD_METHOD` and :opcode:`CALL_METHOD`. "
34693477
"(Contributed by Yury Selivanov and INADA Naoki in :issue:`26110`.)"
34703478
msgstr ""
34713479

3472-
#: ../../whatsnew/3.7.rst:2429
3480+
#: ../../whatsnew/3.7.rst:2435
34733481
msgid ""
34743482
"The :opcode:`STORE_ANNOTATION` opcode has been removed. (Contributed by Mark"
34753483
" Shannon in :issue:`32550`.)"
34763484
msgstr ""
34773485

3478-
#: ../../whatsnew/3.7.rst:2436
3486+
#: ../../whatsnew/3.7.rst:2442
34793487
msgid ""
34803488
"The file used to override :data:`sys.path` is now called ``<python-"
34813489
"executable>._pth`` instead of ``'sys.path'``. See :ref:`finding_modules` for"
34823490
" more information. (Contributed by Steve Dower in :issue:`28137`.)"
34833491
msgstr ""
34843492

3485-
#: ../../whatsnew/3.7.rst:2443
3493+
#: ../../whatsnew/3.7.rst:2449
34863494
msgid "Other CPython implementation changes"
34873495
msgstr ""
34883496

3489-
#: ../../whatsnew/3.7.rst:2445
3497+
#: ../../whatsnew/3.7.rst:2451
34903498
msgid ""
34913499
"In preparation for potential future changes to the public CPython runtime "
34923500
"initialization API (see :pep:`432` for an initial, but somewhat outdated, "
@@ -3501,21 +3509,21 @@ msgid ""
35013509
"Stinner in a number of other issues). Some known details affected:"
35023510
msgstr ""
35033511

3504-
#: ../../whatsnew/3.7.rst:2458
3512+
#: ../../whatsnew/3.7.rst:2464
35053513
msgid ""
35063514
":c:func:`PySys_AddWarnOptionUnicode` is not currently usable by embedding "
35073515
"applications due to the requirement to create a Unicode object prior to "
35083516
"calling `Py_Initialize`. Use :c:func:`PySys_AddWarnOption` instead."
35093517
msgstr ""
35103518

3511-
#: ../../whatsnew/3.7.rst:2462
3519+
#: ../../whatsnew/3.7.rst:2468
35123520
msgid ""
35133521
"warnings filters added by an embedding application with "
35143522
":c:func:`PySys_AddWarnOption` should now more consistently take precedence "
35153523
"over the default filters set by the interpreter"
35163524
msgstr ""
35173525

3518-
#: ../../whatsnew/3.7.rst:2466
3526+
#: ../../whatsnew/3.7.rst:2472
35193527
msgid ""
35203528
"Due to changes in the way the default warnings filters are configured, "
35213529
"setting :c:data:`Py_BytesWarningFlag` to a value greater than one is no "
@@ -3525,15 +3533,15 @@ msgid ""
35253533
"``error::BytesWarning`` warnings filter added to convert them to exceptions."
35263534
msgstr ""
35273535

3528-
#: ../../whatsnew/3.7.rst:2473
3536+
#: ../../whatsnew/3.7.rst:2479
35293537
msgid ""
35303538
"Due to a change in the way docstrings are handled by the compiler, the "
35313539
"implicit ``return None`` in a function body consisting solely of a docstring"
35323540
" is now marked as occurring on the same line as the docstring, not on the "
35333541
"function's header line."
35343542
msgstr ""
35353543

3536-
#: ../../whatsnew/3.7.rst:2478
3544+
#: ../../whatsnew/3.7.rst:2484
35373545
msgid ""
35383546
"The current exception state has been moved from the frame object to the co-"
35393547
"routine. This simplified the interpreter and fixed a couple of obscure bugs "

0 commit comments

Comments
 (0)