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

Skip to content

Commit 7ea0db5

Browse files
committed
[po] auto sync bot
1 parent 8c241bf commit 7ea0db5

2 files changed

Lines changed: 26 additions & 10 deletions

File tree

faq/gui.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#
66
# Translators:
77
# dgy18787 <[email protected]>, 2019
8+
# Freesand Leo <[email protected]>, 2019
89
# 443 <[email protected]>, 2019
910
# Kade For, 2019
10-
# Freesand Leo <[email protected]>, 2019
1111
#
1212
#, fuzzy
1313
msgid ""
@@ -16,7 +16,7 @@ msgstr ""
1616
"Report-Msgid-Bugs-To: \n"
1717
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1818
"PO-Revision-Date: 2017-02-16 17:43+0000\n"
19-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
19+
"Last-Translator: Kade For, 2019\n"
2020
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2121
"MIME-Version: 1.0\n"
2222
"Content-Type: text/plain; charset=UTF-8\n"
@@ -243,8 +243,8 @@ msgid ""
243243
"point to them at run-time using the :envvar:`TCL_LIBRARY` and "
244244
":envvar:`TK_LIBRARY` environment variables."
245245
msgstr ""
246-
"一种解决方法是将程序与Tcl和Tk库一同发布,并且在运行时使用环境变量 :envvar:`TCL_LIBRARY` 和 "
247-
":envvar:`TK_LIBRARY` 指向他们的位置。"
246+
"一种解决方法是将程序与 Tcl 和 Tk 库一同发布,并且在运行时使用环境变量 :envvar:`TCL_LIBRARY` 和 "
247+
":envvar:`TK_LIBRARY` 指向他们的位置。"
248248

249249
#: ../../faq/gui.rst:129
250250
msgid ""
@@ -278,8 +278,8 @@ msgid ""
278278
"function which will be called from the Tk mainloop when I/O is possible on a"
279279
" file descriptor. See :ref:`tkinter-file-handlers`."
280280
msgstr ""
281-
"在 Windows 以外的其他平台上可以,你甚至不需要使用线程! 但是你必须修身修改一下你的 I/O 代码。 Tk 有与 Xt 的 "
282-
":c:func:`XtAddInput()` 对应的调用,它允许你注册一个回调函数,当一个文件描述器可以进行 I/O 操作的时候,Tk "
281+
"在 Windows 以外的其他平台上可以,你甚至不需要使用线程! 但是你必须稍微修改一下你的 I/O 代码。 Tk 有与 Xt 的 "
282+
":c:func:`XtAddInput()` 对应的调用,它允许你注册一个回调函数,当一个文件描述符可以进行 I/O 操作的时候,Tk "
283283
"主循环将会调用这个回调函数。 参见 :ref:`tkinter-file-handlers`。"
284284

285285
#: ../../faq/gui.rst:151

library/sqlite3.po

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,13 +262,17 @@ msgid ""
262262
" the module-level :func:`register_converter` function allow you to easily do"
263263
" that."
264264
msgstr ""
265+
"SQLite 原生只支持5种类型:TEXT,INTEGER,REAL,BLOB 和 NULL。如果你想用其它类型,你必须自己添加相应的支持。使用 "
266+
"*detect_types* 参数和模块级别的 :func:`register_converter` 函数注册**转换器** 可以简单的实现。"
265267

266268
#: ../../library/sqlite3.rst:197
267269
msgid ""
268270
"*detect_types* defaults to 0 (i. e. off, no type detection), you can set it "
269271
"to any combination of :const:`PARSE_DECLTYPES` and :const:`PARSE_COLNAMES` "
270272
"to turn type detection on."
271273
msgstr ""
274+
"*detect_types* 默认为0(即关闭,没有类型检测)。你也可以组合 :const:`PARSE_DECLTYPES` 和 "
275+
":const:`PARSE_COLNAMES` 来开启类型检测。"
272276

273277
#: ../../library/sqlite3.rst:201
274278
msgid ""
@@ -278,6 +282,8 @@ msgid ""
278282
"threads with the same connection writing operations should be serialized by "
279283
"the user to avoid data corruption."
280284
msgstr ""
285+
"默认情况下,*check_same_thread* 为 :const:`True`,只有当前的线程可以使用该连接。 如果设置为 "
286+
":const:`False`,则多个线程可以共享返回的连接。 当多个线程使用同一个连接的时候,用户应该把写操作进行序列化,以避免数据损坏。"
281287

282288
#: ../../library/sqlite3.rst:206
283289
msgid ""
@@ -286,10 +292,13 @@ msgid ""
286292
" and make :func:`connect` use your class instead by providing your class for"
287293
" the *factory* parameter."
288294
msgstr ""
295+
"默认情况下,当调用 connect 方法的时候,:mod:`sqlite3` 模块使用了它的 :class:`Connection` "
296+
"类。当然,你也可以创建 :class:`Connection` 类的子类,然后创建提供了 *factory* 参数的 :func:`connect` "
297+
"方法。"
289298

290299
#: ../../library/sqlite3.rst:211
291300
msgid "Consult the section :ref:`sqlite3-types` of this manual for details."
292-
msgstr ""
301+
msgstr "详情请查阅当前手册的 :ref:`sqlite3-types` 部分。"
293302

294303
#: ../../library/sqlite3.rst:213
295304
msgid ""
@@ -298,29 +307,33 @@ msgid ""
298307
"that are cached for the connection, you can set the *cached_statements* "
299308
"parameter. The currently implemented default is to cache 100 statements."
300309
msgstr ""
310+
":mod:`sqlite3` 模块在内部使用语句缓存来避免 SQL 解析开销。 如果要显式设置当前连接可以缓存的语句数,可以设置 "
311+
"*cached_statements* 参数。 当前实现的默认值是缓存100条语句。"
301312

302313
#: ../../library/sqlite3.rst:218
303314
msgid ""
304315
"If *uri* is true, *database* is interpreted as a URI. This allows you to "
305316
"specify options. For example, to open a database in read-only mode you can "
306317
"use::"
307-
msgstr ""
318+
msgstr "如果 *uri* 为真,则 *database* 被解释为 URI。 它允许您指定选项。 例如,以只读模式打开数据库:"
308319

309320
#: ../../library/sqlite3.rst:224
310321
msgid ""
311322
"More information about this feature, including a list of recognized options,"
312323
" can be found in the `SQLite URI documentation "
313324
"<https://www.sqlite.org/uri.html>`_."
314325
msgstr ""
326+
"有关此功能的更多信息,包括已知选项的列表,可以在 ` SQLite URI 文档 <https://www.sqlite.org/uri.html>`_"
327+
" 中找到。"
315328

316329
#: ../../library/sqlite3.rst:227
317330
msgid "Added the *uri* parameter."
318-
msgstr ""
331+
msgstr "增加了 *uri* 参数。"
319332

320333
#: ../../library/sqlite3.rst:230
321334
msgid ""
322335
"*database* can now also be a :term:`path-like object`, not only a string."
323-
msgstr ""
336+
msgstr "*database* 现在可以是一个 :term:`path-like object` 对象了,不仅仅是字符串。"
324337

325338
#: ../../library/sqlite3.rst:236
326339
msgid ""
@@ -331,6 +344,9 @@ msgid ""
331344
"*typename* and the name of the type in your query are matched in case-"
332345
"insensitive manner."
333346
msgstr ""
347+
"注册一个回调对象 *callable*, 用来转换数据库中的字节串为自定的 Python 类型。所有类型为 *typename* "
348+
"的数据库的值在转换时,都会调用这个回调对象。通过指定 :func:`connect` 函数的 *detect-types* "
349+
"参数来设置类型检测的方式。注意,*typename* 与查询语句中的类型名进行匹配时不区分大小写。"
334350

335351
#: ../../library/sqlite3.rst:245
336352
msgid ""

0 commit comments

Comments
 (0)