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

Skip to content

Commit 1dd3906

Browse files
[po] auto sync
1 parent 61bd724 commit 1dd3906

29 files changed

Lines changed: 1008 additions & 885 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.49%", "updated_at": "2023-09-15T15:42:31Z"}
1+
{"translation": "89.68%", "updated_at": "2023-09-17T05:42:16Z"}

about.po

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@
55
#
66
# Translators:
77
# Rafael Fontenelle <[email protected]>, 2023
8-
# Lu <[email protected]>, 2023
98
#
109
#, fuzzy
1110
msgid ""
1211
msgstr ""
1312
"Project-Id-Version: Python 3.11\n"
1413
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-09-08 14:42+0000\n"
14+
"POT-Creation-Date: 2023-09-15 14:42+0000\n"
1615
"PO-Revision-Date: 2023-05-24 02:08+0000\n"
17-
"Last-Translator: Lu <lu2github@gmail.com>, 2023\n"
16+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
1817
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=UTF-8\n"
@@ -70,7 +69,7 @@ msgstr "Fredrik Lundh 的 Alternative Python Reference 项目, Sphinx 从中
7069

7170
#: ../../about.rst:31
7271
msgid "Contributors to the Python Documentation"
73-
msgstr "Python 文档贡献者"
72+
msgstr "Python 文档的贡献者"
7473

7574
#: ../../about.rst:33
7675
msgid ""

c-api/dict.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-09-08 14:42+0000\n"
14+
"POT-Creation-Date: 2023-09-15 14:42+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:08+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -94,6 +94,8 @@ msgid ""
9494
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
9595
":c:expr:`PyObject*`."
9696
msgstr ""
97+
"这与 :c:func:`PyDict_SetItem` 相同,但 *key* 被指定为 :c:expr:`const char*` UTF-8 "
98+
"编码的字节串,而不是 :c:expr:`PyObject*`。"
9799

98100
#: ../../c-api/dict.rst:80
99101
msgid ""
@@ -112,6 +114,8 @@ msgid ""
112114
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
113115
":c:expr:`PyObject*`."
114116
msgstr ""
117+
"这与 :c:func:`PyDict_DelItem` 相同,但 *key* 被指定为 :c:expr:`const char*` UTF-8 "
118+
"编码的字节串,而不是 :c:expr:`PyObject*`。"
115119

116120
#: ../../c-api/dict.rst:95
117121
msgid ""

c-api/init.po

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.11\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-09-08 14:42+0000\n"
16+
"POT-Creation-Date: 2023-09-15 14:42+0000\n"
1717
"PO-Revision-Date: 2023-05-24 02:09+0000\n"
1818
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -578,19 +578,22 @@ msgid ""
578578
"If :c:func:`Py_FinalizeEx` is called, this function will need to be called "
579579
"again in order to affect subsequent calls to :c:func:`Py_Initialize`."
580580
msgstr ""
581+
"如果调用了 :c:func:`Py_FinalizeEx`,则需要再次调用该函数以便影响对 :c:func:`Py_Initialize` 的后续调用。"
581582

582583
#: ../../c-api/init.rst:348
583584
msgid ""
584585
"Returns ``0`` if successful, a nonzero value on error (e.g. calling after "
585586
"the interpreter has already been initialized)."
586-
msgstr ""
587+
msgstr "成功时返回 ``0``,出错时返回非零值(例如在解释器已被初始化后再调用)。"
587588

588589
#: ../../c-api/init.rst:363
589590
msgid ""
590591
"This API is kept for backward compatibility: setting "
591592
":c:member:`PyConfig.program_name` should be used instead, see :ref:`Python "
592593
"Initialization Configuration <init-config>`."
593594
msgstr ""
595+
"此 API 被保留用于向下兼容:应当改为设置 :c:member:`PyConfig.program_name`,参见 :ref:`Python "
596+
"初始化配置 <init-config>`。"
594597

595598
#: ../../c-api/init.rst:367
596599
msgid ""
@@ -605,6 +608,10 @@ msgid ""
605608
"execution. No code in the Python interpreter will change the contents of "
606609
"this storage."
607610
msgstr ""
611+
"如果要调用该函数,应当在首次调用 :c:func:`Py_Initialize` 之前调用它。 它将告诉解释器程序的 :c:func:`main` "
612+
"函数的 ``argv[0]`` 参数的值(转换为宽字符)。 :c:func:`Py_GetPath` "
613+
"和下面的某些其他函数会使用它在相对于解释器的位置上查找可执行文件的 Python 运行时库。 默认值是 ``'python'``。 "
614+
"参数应当指向静态存储中的一个以零值结束的宽字符串,其内容在程序执行期间不会发生改变。 Python 解释器中的任何代码都不会改变该存储的内容。"
608615

609616
#: ../../c-api/init.rst:378 ../../c-api/init.rst:529 ../../c-api/init.rst:644
610617
#: ../../c-api/init.rst:680 ../../c-api/init.rst:706
@@ -619,18 +626,19 @@ msgid ""
619626
"default. The returned string points into static storage; the caller should "
620627
"not modify its value."
621628
msgstr ""
629+
"返回用 :c:func:`Py_SetProgramName` 设置的程序名称,或默认的名称。 返回的字符串指向静态存储;调用者不应修改其值。"
622630

623631
#: ../../c-api/init.rst:392 ../../c-api/init.rst:411 ../../c-api/init.rst:452
624632
#: ../../c-api/init.rst:471 ../../c-api/init.rst:495 ../../c-api/init.rst:718
625633
msgid ""
626634
"This function should not be called before :c:func:`Py_Initialize`, otherwise"
627635
" it returns ``NULL``."
628-
msgstr ""
636+
msgstr "此函数不应在 :c:func:`Py_Initialize` 之前被调用,否则将返回 ``NULL``。"
629637

630638
#: ../../c-api/init.rst:395 ../../c-api/init.rst:414 ../../c-api/init.rst:455
631639
#: ../../c-api/init.rst:474 ../../c-api/init.rst:500 ../../c-api/init.rst:721
632640
msgid "It now returns ``NULL`` if called before :c:func:`Py_Initialize`."
633-
msgstr ""
641+
msgstr "现在如果它在 :c:func:`Py_Initialize` 之前被调用将返回 ``NULL``。"
634642

635643
#: ../../c-api/init.rst:401
636644
msgid ""
@@ -799,20 +807,20 @@ msgstr "``'Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam'``"
799807
msgid ""
800808
"The returned string points into static storage; the caller should not modify"
801809
" its value. The value is available to Python code as ``sys.copyright``."
802-
msgstr ""
810+
msgstr "返回的字符串指向静态存储;调用者不应修改其值。 Python 代码可通过 ``sys.copyright`` 获取该值。"
803811

804812
#: ../../c-api/init.rst:586
805813
msgid ""
806814
"Return an indication of the compiler used to build the current Python "
807815
"version, in square brackets, for example::"
808-
msgstr ""
816+
msgstr "返回用于编译当前 Python 版本的编译器指令,为带方括号的形式,例如::"
809817

810818
#: ../../c-api/init.rst:593 ../../c-api/init.rst:607
811819
msgid ""
812820
"The returned string points into static storage; the caller should not modify"
813821
" its value. The value is available to Python code as part of the variable "
814822
"``sys.version``."
815-
msgstr ""
823+
msgstr "返回的字符串指向静态存储;调用者不应修改其值。 Python 代码可以从变量 ``sys.version`` 中获取该值。"
816824

817825
#: ../../c-api/init.rst:600
818826
msgid ""
@@ -1128,11 +1136,11 @@ msgstr ""
11281136

11291137
#: ../../c-api/init.rst:921
11301138
msgid "This thread's interpreter state."
1131-
msgstr ""
1139+
msgstr "该线程的解释器状态。"
11321140

11331141
#: ../../c-api/init.rst:932
11341142
msgid "Deprecated function which does nothing."
1135-
msgstr ""
1143+
msgstr "不执行任何操作的已弃用函数。"
11361144

11371145
#: ../../c-api/init.rst:934
11381146
msgid ""
@@ -1141,13 +1149,13 @@ msgstr "在 Python 3.6 及更老的版本中,此函数会在 GIL 不存在时
11411149

11421150
#: ../../c-api/init.rst:936
11431151
msgid "The function now does nothing."
1144-
msgstr ""
1152+
msgstr "此函数现在不执行任何操作。"
11451153

11461154
#: ../../c-api/init.rst:939
11471155
msgid ""
11481156
"This function is now called by :c:func:`Py_Initialize()`, so you don't have "
11491157
"to call it yourself anymore."
1150-
msgstr ""
1158+
msgstr "该函数现在由 :c:func:`Py_Initialize()` 调用,因此你无需再自行调用它。"
11511159

11521160
#: ../../c-api/init.rst:943
11531161
msgid ""
@@ -2298,67 +2306,67 @@ msgstr "Py_GetPath()"
22982306

22992307
#: ../../c-api/init.rst:461
23002308
msgid "executable (in module sys)"
2301-
msgstr ""
2309+
msgstr "executable (在 sys 模块中)"
23022310

23032311
#: ../../c-api/init.rst:480
23042312
msgid "Py_SetPath()"
2305-
msgstr ""
2313+
msgstr "Py_SetPath()"
23062314

23072315
#: ../../c-api/init.rst:549 ../../c-api/init.rst:591 ../../c-api/init.rst:605
23082316
msgid "version (in module sys)"
2309-
msgstr ""
2317+
msgstr "version (在 sys 模块中)"
23102318

23112319
#: ../../c-api/init.rst:561
23122320
msgid "platform (in module sys)"
2313-
msgstr ""
2321+
msgstr "platform (在 sys 模块中)"
23142322

23152323
#: ../../c-api/init.rst:578
23162324
msgid "copyright (in module sys)"
2317-
msgstr ""
2325+
msgstr "copyright (在 sys 模块中)"
23182326

23192327
#: ../../c-api/init.rst:614
23202328
msgid "Py_FatalError()"
2321-
msgstr ""
2329+
msgstr "Py_FatalError()"
23222330

23232331
#: ../../c-api/init.rst:614
23242332
msgid "argv (in module sys)"
2325-
msgstr ""
2333+
msgstr "argv (在 sys 模块中)"
23262334

23272335
#: ../../c-api/init.rst:730
23282336
msgid "global interpreter lock"
23292337
msgstr "global interpreter lock -- 全局解释器锁"
23302338

23312339
#: ../../c-api/init.rst:730
23322340
msgid "interpreter lock"
2333-
msgstr ""
2341+
msgstr "解释器锁"
23342342

23352343
#: ../../c-api/init.rst:730
23362344
msgid "lock, interpreter"
2337-
msgstr ""
2345+
msgstr "锁,解释器"
23382346

23392347
#: ../../c-api/init.rst:743
23402348
msgid "setswitchinterval() (in module sys)"
2341-
msgstr ""
2349+
msgstr "setswitchinterval() (在 sys 模块中)"
23422350

23432351
#: ../../c-api/init.rst:752 ../../c-api/init.rst:752
23442352
msgid "PyThreadState"
2345-
msgstr ""
2353+
msgstr "PyThreadState"
23462354

23472355
#: ../../c-api/init.rst:779
23482356
msgid "Py_BEGIN_ALLOW_THREADS"
2349-
msgstr ""
2357+
msgstr "Py_BEGIN_ALLOW_THREADS"
23502358

23512359
#: ../../c-api/init.rst:779
23522360
msgid "Py_END_ALLOW_THREADS"
2353-
msgstr ""
2361+
msgstr "Py_END_ALLOW_THREADS"
23542362

23552363
#: ../../c-api/init.rst:795 ../../c-api/init.rst:926
23562364
msgid "PyEval_RestoreThread()"
2357-
msgstr ""
2365+
msgstr "PyEval_RestoreThread()"
23582366

23592367
#: ../../c-api/init.rst:795 ../../c-api/init.rst:926
23602368
msgid "PyEval_SaveThread()"
2361-
msgstr ""
2369+
msgstr "PyEval_SaveThread()"
23622370

23632371
#: ../../c-api/init.rst:926
23642372
msgid "PyEval_AcquireThread()"

c-api/mapping.po

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-09-08 14:42+0000\n"
14+
"POT-Creation-Date: 2023-09-15 14:42+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:09+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -56,24 +56,30 @@ msgid ""
5656
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
5757
":c:expr:`PyObject*`."
5858
msgstr ""
59+
"这与 :c:func:`PyObject_GetItem` 相同,但 *key* 被指定为 :c:expr:`const char*` UTF-8 "
60+
"编码的字节串,而不是 :c:expr:`PyObject*`。"
5961

6062
#: ../../c-api/mapping.rst:38
6163
msgid ""
6264
"This is the same as :c:func:`PyObject_SetItem`, but *key* is specified as a "
6365
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
6466
":c:expr:`PyObject*`."
6567
msgstr ""
68+
"这与 :c:func:`PyObject_SetItem` 相同,但 *key* 被指定为 :c:expr:`const char*` UTF-8 "
69+
"编码的字节串,而不是 :c:expr:`PyObject*`。"
6670

6771
#: ../../c-api/mapping.rst:45
6872
msgid "This is an alias of :c:func:`PyObject_DelItem`."
69-
msgstr ""
73+
msgstr "这是 :c:func:`PyObject_DelItem` 的一个别名。"
7074

7175
#: ../../c-api/mapping.rst:50
7276
msgid ""
7377
"This is the same as :c:func:`PyObject_DelItem`, but *key* is specified as a "
7478
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
7579
":c:expr:`PyObject*`."
7680
msgstr ""
81+
"这与 :c:func:`PyObject_DelItem` 相同,但 *key* 被指定为 :c:expr:`const char*` UTF-8 "
82+
"编码的字节串,而不是 :c:expr:`PyObject*`。"
7783

7884
#: ../../c-api/mapping.rst:57
7985
msgid ""
@@ -90,20 +96,26 @@ msgid ""
9096
"are silently ignored. For proper error handling, use "
9197
":c:func:`PyObject_GetItem()` instead."
9298
msgstr ""
99+
"在调用 :meth:`~object.__getitem__` 方法时发生的异常将被静默地忽略。 想要进行适当的错误处理,请改用 "
100+
":c:func:`PyObject_GetItem()`。"
93101

94102
#: ../../c-api/mapping.rst:70
95103
msgid ""
96104
"This is the same as :c:func:`PyMapping_HasKey`, but *key* is specified as a "
97105
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
98106
":c:expr:`PyObject*`."
99107
msgstr ""
108+
"这与 :c:func:`PyMapping_HasKey` 相同,但 *key* 被指定为 :c:expr:`const char*` UTF-8 "
109+
"编码的字节串,而不是 :c:expr:`PyObject*`。"
100110

101111
#: ../../c-api/mapping.rst:76
102112
msgid ""
103113
"Exceptions that occur when this calls :meth:`~object.__getitem__` method or "
104114
"while creating the temporary :class:`str` object are silently ignored. For "
105115
"proper error handling, use :c:func:`PyMapping_GetItemString` instead."
106116
msgstr ""
117+
"在调用 :meth:`~object.__getitem__` 方法或创建临时 :class:`str` 对象时发生的异常将被忽略。 "
118+
"想要进行适当的错误处理,请改用 :c:func:`PyMapping_GetItemString`。"
107119

108120
#: ../../c-api/mapping.rst:84
109121
msgid ""

c-api/object.po

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.11\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-09-08 14:42+0000\n"
14+
"POT-Creation-Date: 2023-09-15 14:42+0000\n"
1515
"PO-Revision-Date: 2023-05-24 02:09+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2023\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -74,6 +74,8 @@ msgid ""
7474
" as a :c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
7575
":c:expr:`PyObject*`."
7676
msgstr ""
77+
"这与 :c:func:`PyObject_HasAttr` 相同,但 *attr_name* 被指定为 :c:expr:`const char*` "
78+
"UTF-8 编码的字节串,而不是 :c:expr:`PyObject*`。"
7779

7880
#: ../../c-api/object.rst:51
7981
msgid ""
@@ -101,6 +103,8 @@ msgid ""
101103
" as a :c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
102104
":c:expr:`PyObject*`."
103105
msgstr ""
106+
"这与 :c:func:`PyObject_GetAttr` 相同,但 *attr_name* 被指定为 :c:expr:`const char*` "
107+
"UTF-8 编码的字节串,而不是 :c:expr:`PyObject*`。"
104108

105109
#: ../../c-api/object.rst:73
106110
msgid ""
@@ -140,6 +144,8 @@ msgid ""
140144
" as a :c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
141145
":c:expr:`PyObject*`."
142146
msgstr ""
147+
"这与 :c:func:`PyObject_SetAttr` 相同,但 *attr_name* 被指定为 :c:expr:`const char*` "
148+
"UTF-8 编码的字节串,而不是 :c:expr:`PyObject*`。"
143149

144150
#: ../../c-api/object.rst:99
145151
msgid ""
@@ -178,6 +184,8 @@ msgid ""
178184
" as a :c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
179185
":c:expr:`PyObject*`."
180186
msgstr ""
187+
"这与 :c:func:`PyObject_DelAttr` 相同,但 *attr_name* 被指定为 :c:expr:`const char*` "
188+
"UTF-8 编码的字节串,而不是 :c:expr:`PyObject*`。"
181189

182190
#: ../../c-api/object.rst:130
183191
msgid ""

0 commit comments

Comments
 (0)