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

Skip to content

Commit 32f4890

Browse files
[po] auto sync
1 parent 2471d5c commit 32f4890

17 files changed

Lines changed: 743 additions & 682 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.74%", "updated_at": "2023-08-26T05:56:54Z"}
1+
{"translation": "89.79%", "updated_at": "2023-08-26T08:57:44Z"}

c-api/exceptions.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ msgid ""
2424
msgstr ""
2525
"Project-Id-Version: Python 3.12\n"
2626
"Report-Msgid-Bugs-To: \n"
27-
"POT-Creation-Date: 2023-08-25 14:13+0000\n"
27+
"POT-Creation-Date: 2023-08-25 22:29+0000\n"
2828
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
2929
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
3030
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -327,6 +327,9 @@ msgid ""
327327
":exc:`OSError` as a third parameter to be used to define the "
328328
":attr:`!filename` attribute of the exception instance."
329329
msgstr ""
330+
"与 :c:func:`PyErr_SetFromWindowsErr` 类似,额外的不同点是如果 *filename* 不为 ``NULL`` "
331+
",则会使用文件系统编码格式 (:func:`os.fsdecode`) 进行解码并作为第三个参数传递给 :exc:`OSError` "
332+
"的构造器用于定义异常实例的 :attr:`!filename` 属性。"
330333

331334
#: ../../c-api/exceptions.rst:236
332335
msgid ""
@@ -335,6 +338,8 @@ msgid ""
335338
" of :exc:`OSError` as a third parameter to be used to define the "
336339
":attr:`!filename` attribute of the exception instance."
337340
msgstr ""
341+
"与 :c:func:`PyErr_SetExcFromWindowsErr` 类似,额外的不同点是如果 *filename* 不为 "
342+
"``NULL``,它将作为第三个参数传递给 :exc:`OSError` 的构造器用于定义异常实例的 :attr:`!filename` 属性。"
338343

339344
#: ../../c-api/exceptions.rst:246
340345
msgid ""

extending/newtypes.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.12\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2023-08-25 14:13+0000\n"
21+
"POT-Creation-Date: 2023-08-25 22:29+0000\n"
2222
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
2323
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2424
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -372,6 +372,8 @@ msgid ""
372372
"As with the :c:member:`~PyTypeObject.tp_methods` table, a sentinel entry "
373373
"with a :c:member:`~PyMethodDef.ml_name` value of ``NULL`` is required."
374374
msgstr ""
375+
"与 :c:member:`~PyTypeObject.tp_methods` 表一样,需要有一个值为 ``NULL`` 的 "
376+
":c:member:`~PyMethodDef.ml_name` 哨兵条目。"
375377

376378
#: ../../extending/newtypes.rst:315
377379
msgid "Type-specific Attribute Management"

faq/design.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.12\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2023-08-25 14:13+0000\n"
20+
"POT-Creation-Date: 2023-08-25 22:29+0000\n"
2121
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
2222
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2323
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -902,6 +902,9 @@ msgid ""
902902
" actually do this correctly, but it's trivial to check this property in a "
903903
"test suite."
904904
msgstr ""
905+
"适当的测试规程能像完善的接口规范一样帮助在 Python 构建大型的复杂应用程序。 事实上,它能做得更好因为接口规范无法测试程序的某些属性。 "
906+
"例如,:meth:`!list.append` 方法被期望向某个内部列表的末尾添加新元素;接口规范无法测试你的 :meth:`!list.append`"
907+
" 实现是否真的能正确执行该操作,但在测试套件中检查该属性却是很容易的。"
905908

906909
#: ../../faq/design.rst:592
907910
msgid ""

howto/isolating-extensions.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.12\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2023-08-25 14:13+0000\n"
17+
"POT-Creation-Date: 2023-08-25 22:29+0000\n"
1818
"PO-Revision-Date: 2022-11-05 19:48+0000\n"
1919
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2020
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -137,6 +137,8 @@ msgid ""
137137
"multiple module objects corresponding to a single extension can even be "
138138
"loaded in a single interpreter."
139139
msgstr ""
140+
"Python 的 C API 不是专注于解释器级状态,而是演化为更好地支持更细粒度的 *模块级* 状态。 这意味着 C 层级数据应当关联到 "
141+
"*模块对象*。 每个解释器都会创建自己的模块对象,保持数据的相互分隔。 要测试这种分隔,甚至可以在单个解释器中加载对应于单个扩展的多个模块对象。"
140142

141143
#: ../../howto/isolating-extensions.rst:72
142144
msgid ""

library/asyncio-dev.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.12\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2023-08-25 14:13+0000\n"
18+
"POT-Creation-Date: 2023-08-25 22:29+0000\n"
1919
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
2020
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2121
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -174,7 +174,7 @@ msgstr ""
174174

175175
#: ../../library/asyncio-dev.rst:102
176176
msgid "To handle signals the event loop must be run in the main thread."
177-
msgstr ""
177+
msgstr "为了能处理信号事件循环必须在主线程中运行。"
178178

179179
#: ../../library/asyncio-dev.rst:105
180180
msgid ""

0 commit comments

Comments
 (0)