Skip to content

Commit b4a54d7

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython a05dae23
1 parent 3a73cc9 commit b4a54d7

File tree

3 files changed

+234
-230
lines changed

3 files changed

+234
-230
lines changed

bugs.po

+11
Original file line numberDiff line numberDiff line change
@@ -247,3 +247,14 @@ msgstr ""
247247
"您可以在 `Python 開發者指南`_\\ 中找到如何開始修補 Python 的更多資訊。如果您"
248248
"有任何問題,\\ `核心導師郵寄清單`_\\ 是一個友善的地方,您可以在那裡得到,關"
249249
"於 Python 修正錯誤的過程中,所有問題的答案。"
250+
251+
#~ msgid ""
252+
#~ "The submission form has a number of fields. For the \"Title\" field, "
253+
#~ "enter a *very* short description of the problem; less than ten words is "
254+
#~ "good. In the \"Type\" field, select the type of your problem; also "
255+
#~ "select the \"Component\" and \"Versions\" to which the bug relates."
256+
#~ msgstr ""
257+
#~ "提交的表單中有幾個欄位。(譯者註:所有欄位請皆用英文輸入。)在「標題 "
258+
#~ "(Title)」欄位,輸入對該問題\\ *非常*\\ 簡短的描述;最好少於十個單字。在"
259+
#~ "「類型 (Type)」欄位,選擇您的問題類型;也要選擇與錯誤相關的「Component(組"
260+
#~ "件)」和「Versions(版本)」。"

library/sqlite3.po

+53-53
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-08-01 00:18+0000\n"
10+
"POT-Creation-Date: 2022-08-04 00:16+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:10+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -301,17 +301,16 @@ msgstr ""
301301
msgid ""
302302
"The :attr:`~Connection.isolation_level` of the connection, controlling "
303303
"whether and how transactions are implicitly opened. Can be ``\"DEFERRED\"`` "
304-
"(default), ``\"EXCLUSIVE\"`` or ``\"IMMEDIATE\"``; or :const:`None` to "
305-
"disable opening transactions implicitly. See :ref:`sqlite3-controlling-"
306-
"transactions` for more."
304+
"(default), ``\"EXCLUSIVE\"`` or ``\"IMMEDIATE\"``; or ``None`` to disable "
305+
"opening transactions implicitly. See :ref:`sqlite3-controlling-transactions` "
306+
"for more."
307307
msgstr ""
308308

309309
#: ../../library/sqlite3.rst:301
310310
msgid ""
311-
"If :const:`True` (default), only the creating thread may use the connection. "
312-
"If :const:`False`, the connection may be shared across multiple threads; if "
313-
"so, write operations should be serialized by the user to avoid data "
314-
"corruption."
311+
"If ``True`` (default), only the creating thread may use the connection. If "
312+
"``False``, the connection may be shared across multiple threads; if so, "
313+
"write operations should be serialized by the user to avoid data corruption."
315314
msgstr ""
316315

317316
#: ../../library/sqlite3.rst:308
@@ -328,7 +327,7 @@ msgstr ""
328327

329328
#: ../../library/sqlite3.rst:319
330329
msgid ""
331-
"If set to :const:`True`, *database* is interpreted as a :abbr:`URI (Uniform "
330+
"If set to ``True``, *database* is interpreted as a :abbr:`URI (Uniform "
332331
"Resource Identifier)` with a file path and an optional query string. The "
333332
"scheme part *must* be ``\"file:\"``, and the path can be relative or "
334333
"absolute. The query string allows passing parameters to SQLite, enabling "
@@ -390,10 +389,10 @@ msgstr ""
390389

391390
#: ../../library/sqlite3.rst:369
392391
msgid ""
393-
"Returns :const:`True` if the string *statement* contains one or more "
394-
"complete SQL statements terminated by semicolons. It does not verify that "
395-
"the SQL is syntactically correct, only that there are no unclosed string "
396-
"literals and the statement is terminated by a semicolon."
392+
"Returns ``True`` if the string *statement* contains one or more complete SQL "
393+
"statements terminated by semicolons. It does not verify that the SQL is "
394+
"syntactically correct, only that there are no unclosed string literals and "
395+
"the statement is terminated by a semicolon."
397396
msgstr ""
398397

399398
#: ../../library/sqlite3.rst:374
@@ -407,7 +406,7 @@ msgid ""
407406
"tracebacks in user-defined functions, aggregates, converters, authorizer "
408407
"callbacks etc. If you want to debug them, you can call this function with "
409408
"*flag* set to ``True``. Afterwards, you will get tracebacks from callbacks "
410-
"on ``sys.stderr``. Use :const:`False` to disable the feature again."
409+
"on ``sys.stderr``. Use ``False`` to disable the feature again."
411410
msgstr ""
412411

413412
#: ../../library/sqlite3.rst:393
@@ -436,11 +435,11 @@ msgstr ""
436435
#: ../../library/sqlite3.rst:411
437436
msgid ""
438437
"This attribute controls the :ref:`transaction handling <sqlite3-controlling-"
439-
"transactions>` performed by ``sqlite3``. If set to :const:`None`, "
440-
"transactions are never implicitly opened. If set to one of ``\"DEFERRED\"``, "
441-
"``\"IMMEDIATE\"``, or ``\"EXCLUSIVE\"``, corresponding to the underlying "
442-
"`SQLite transaction behaviour`_, implicit :ref:`transaction management "
443-
"<sqlite3-controlling-transactions>` is performed."
438+
"transactions>` performed by ``sqlite3``. If set to ``None``, transactions "
439+
"are never implicitly opened. If set to one of ``\"DEFERRED\"``, ``\"IMMEDIATE"
440+
"\"``, or ``\"EXCLUSIVE\"``, corresponding to the underlying `SQLite "
441+
"transaction behaviour`_, implicit :ref:`transaction management <sqlite3-"
442+
"controlling-transactions>` is performed."
444443
msgstr ""
445444

446445
#: ../../library/sqlite3.rst:419
@@ -457,8 +456,8 @@ msgstr ""
457456

458457
#: ../../library/sqlite3.rst:427
459458
msgid ""
460-
":const:`True` if a transaction is active (there are uncommitted changes), :"
461-
"const:`False` otherwise."
459+
"``True`` if a transaction is active (there are uncommitted changes), "
460+
"``False`` otherwise."
462461
msgstr ""
463462

464463
#: ../../library/sqlite3.rst:434
@@ -523,14 +522,14 @@ msgstr ""
523522
msgid ""
524523
"A callable that is called when the SQL function is invoked. The callable "
525524
"must return :ref:`a type natively supported by SQLite <sqlite3-types>`. Set "
526-
"to :const:`None` to remove an existing SQL function."
525+
"to ``None`` to remove an existing SQL function."
527526
msgstr ""
528527

529528
#: ../../library/sqlite3.rst:494
530529
msgid ""
531-
"If :const:`True`, the created SQL function is marked as `deterministic "
532-
"<https://sqlite.org/deterministic.html>`_, which allows SQLite to perform "
533-
"additional optimizations."
530+
"If ``True``, the created SQL function is marked as `deterministic <https://"
531+
"sqlite.org/deterministic.html>`_, which allows SQLite to perform additional "
532+
"optimizations."
534533
msgstr ""
535534

536535
#: ../../library/sqlite3.rst:0
@@ -570,7 +569,7 @@ msgid ""
570569
"the aggregate. * ``finalize()``: Return the final result of the aggregate "
571570
"as :ref:`a type natively supported by SQLite <sqlite3-types>`. The number "
572571
"of arguments that the ``step()`` method must accept is controlled by "
573-
"*n_arg*. Set to :const:`None` to remove an existing SQL aggregate function."
572+
"*n_arg*. Set to ``None`` to remove an existing SQL aggregate function."
574573
msgstr ""
575574

576575
#: ../../library/sqlite3.rst:525
@@ -594,7 +593,7 @@ msgid ""
594593
msgstr ""
595594

596595
#: ../../library/sqlite3.rst:534
597-
msgid "Set to :const:`None` to remove an existing SQL aggregate function."
596+
msgid "Set to ``None`` to remove an existing SQL aggregate function."
598597
msgstr ""
599598

600599
#: ../../library/sqlite3.rst:544
@@ -621,7 +620,7 @@ msgid "The following example shows a reverse sorting collation:"
621620
msgstr ""
622621

623622
#: ../../library/sqlite3.rst:556
624-
msgid "Remove a collation function by setting *callable* to :const:`None`."
623+
msgid "Remove a collation function by setting *callable* to ``None``."
625624
msgstr ""
626625

627626
#: ../../library/sqlite3.rst:561
@@ -643,12 +642,11 @@ msgstr ""
643642
#: ../../library/sqlite3.rst:575
644643
msgid ""
645644
"The first argument to the callback signifies what kind of operation is to be "
646-
"authorized. The second and third argument will be arguments or :const:`None` "
645+
"authorized. The second and third argument will be arguments or ``None`` "
647646
"depending on the first argument. The 4th argument is the name of the "
648647
"database (\"main\", \"temp\", etc.) if applicable. The 5th argument is the "
649648
"name of the inner-most trigger or view that is responsible for the access "
650-
"attempt or :const:`None` if this access attempt is directly from input SQL "
651-
"code."
649+
"attempt or ``None`` if this access attempt is directly from input SQL code."
652650
msgstr ""
653651

654652
#: ../../library/sqlite3.rst:582
@@ -670,7 +668,7 @@ msgstr ""
670668
#: ../../library/sqlite3.rst:594
671669
msgid ""
672670
"If you want to clear any previously installed progress handler, call the "
673-
"method with :const:`None` for *progress_handler*."
671+
"method with ``None`` for *progress_handler*."
674672
msgstr ""
675673

676674
#: ../../library/sqlite3.rst:597
@@ -697,8 +695,7 @@ msgid ""
697695
msgstr ""
698696

699697
#: ../../library/sqlite3.rst:615
700-
msgid ""
701-
"Passing :const:`None` as *trace_callback* will disable the trace callback."
698+
msgid "Passing ``None`` as *trace_callback* will disable the trace callback."
702699
msgstr ""
703700

704701
#: ../../library/sqlite3.rst:618
@@ -711,7 +708,7 @@ msgstr ""
711708
#: ../../library/sqlite3.rst:628
712709
msgid ""
713710
"Enable the SQLite engine to load SQLite extensions from shared libraries if "
714-
"*enabled* is :const:`True`; else, disallow loading SQLite extensions. SQLite "
711+
"*enabled* is ``True``; else, disallow loading SQLite extensions. SQLite "
715712
"extensions can define new functions, aggregates or whole new virtual table "
716713
"implementations. One well-known extension is the fulltext-search extension "
717714
"distributed with SQLite."
@@ -823,8 +820,8 @@ msgstr ""
823820
msgid ""
824821
"If set to a callable, it is invoked with three integer arguments for every "
825822
"backup iteration: the *status* of the last iteration, the *remaining* number "
826-
"of pages still to be copied, and the *total* number of pages. Defaults to :"
827-
"const:`None`."
823+
"of pages still to be copied, and the *total* number of pages. Defaults to "
824+
"``None``."
828825
msgstr ""
829826

830827
#: ../../library/sqlite3.rst:750
@@ -888,7 +885,7 @@ msgstr ""
888885

889886
#: ../../library/sqlite3.rst:828
890887
msgid ""
891-
"If :attr:`~Connection.isolation_level` is not :const:`None`, *sql* is an "
888+
"If :attr:`~Connection.isolation_level` is not ``None``, *sql* is an "
892889
"``INSERT``, ``UPDATE``, ``DELETE``, or ``REPLACE`` statement, and there is "
893890
"no open transaction, a transaction is implicitly opened before executing "
894891
"*sql*."
@@ -917,8 +914,8 @@ msgstr ""
917914

918915
#: ../../library/sqlite3.rst:875
919916
msgid ""
920-
"Fetch the next row of a query result set as a :class:`tuple`. Return :const:"
921-
"`None` if no more data is available."
917+
"Fetch the next row of a query result set as a :class:`tuple`. Return "
918+
"``None`` if no more data is available."
922919
msgstr ""
923920

924921
#: ../../library/sqlite3.rst:881
@@ -980,8 +977,8 @@ msgid ""
980977
"only updated after successful ``INSERT`` or ``REPLACE`` statements using "
981978
"the :meth:`execute` method. For other statements, after :meth:`executemany` "
982979
"or :meth:`executescript`, or if the insertion failed, the value of "
983-
"``lastrowid`` is left unchanged. The initial value of ``lastrowid`` is :"
984-
"const:`None`."
980+
"``lastrowid`` is left unchanged. The initial value of ``lastrowid`` is "
981+
"``None``."
985982
msgstr ""
986983

987984
#: ../../library/sqlite3.rst:935
@@ -1003,7 +1000,7 @@ msgstr ""
10031000
msgid ""
10041001
"Read-only attribute that provides the column names of the last query. To "
10051002
"remain compatible with the Python DB API, it returns a 7-tuple for each "
1006-
"column where the last six items of each tuple are :const:`None`."
1003+
"column where the last six items of each tuple are ``None``."
10071004
msgstr ""
10081005

10091006
#: ../../library/sqlite3.rst:951
@@ -1142,9 +1139,9 @@ msgstr ""
11421139
#: ../../library/sqlite3.rst:1108
11431140
msgid ""
11441141
"Exception raised in case a method or database API is not supported by the "
1145-
"underlying SQLite library. For example, setting *deterministic* to :const:"
1146-
"`True` in :meth:`~Connection.create_function`, if the underlying SQLite "
1147-
"library does not support deterministic functions. ``NotSupportedError`` is a "
1142+
"underlying SQLite library. For example, setting *deterministic* to ``True`` "
1143+
"in :meth:`~Connection.create_function`, if the underlying SQLite library "
1144+
"does not support deterministic functions. ``NotSupportedError`` is a "
11481145
"subclass of :exc:`DatabaseError`."
11491146
msgstr ""
11501147

@@ -1172,8 +1169,8 @@ msgid "SQLite type"
11721169
msgstr ""
11731170

11741171
#: ../../library/sqlite3.rst:1128 ../../library/sqlite3.rst:1145
1175-
msgid ":const:`None`"
1176-
msgstr ":const:`None`"
1172+
msgid "``None``"
1173+
msgstr ""
11771174

11781175
#: ../../library/sqlite3.rst:1128 ../../library/sqlite3.rst:1145
11791176
msgid "``NULL``"
@@ -1484,8 +1481,8 @@ msgstr ""
14841481

14851482
#: ../../library/sqlite3.rst:1430
14861483
msgid ""
1487-
"If the connection attribute :attr:`~Connection.isolation_level` is not :"
1488-
"const:`None`, new transactions are implicitly opened before :meth:`~Cursor."
1484+
"If the connection attribute :attr:`~Connection.isolation_level` is not "
1485+
"``None``, new transactions are implicitly opened before :meth:`~Cursor."
14891486
"execute` and :meth:`~Cursor.executemany` executes ``INSERT``, ``UPDATE``, "
14901487
"``DELETE``, or ``REPLACE`` statements. Use the :meth:`~Connection.commit` "
14911488
"and :meth:`~Connection.rollback` methods to respectively commit and roll "
@@ -1497,9 +1494,9 @@ msgstr ""
14971494

14981495
#: ../../library/sqlite3.rst:1442
14991496
msgid ""
1500-
"If :attr:`~Connection.isolation_level` is set to :const:`None`, no "
1501-
"transactions are implicitly opened at all. This leaves the underlying SQLite "
1502-
"library in `autocommit mode`_, but also allows the user to perform their own "
1497+
"If :attr:`~Connection.isolation_level` is set to ``None``, no transactions "
1498+
"are implicitly opened at all. This leaves the underlying SQLite library in "
1499+
"`autocommit mode`_, but also allows the user to perform their own "
15031500
"transaction handling using explicit SQL statements. The underlying SQLite "
15041501
"library autocommit mode can be queried using the :attr:`~Connection."
15051502
"in_transaction` attribute."
@@ -1518,5 +1515,8 @@ msgid ""
15181515
"statements. This is no longer the case."
15191516
msgstr ""
15201517

1518+
#~ msgid ":const:`None`"
1519+
#~ msgstr ":const:`None`"
1520+
15211521
#~ msgid "Footnotes"
15221522
#~ msgstr "註解"

0 commit comments

Comments
 (0)