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

Skip to content

Commit 3948716

Browse files
[po] auto sync
1 parent 491c2c9 commit 3948716

70 files changed

Lines changed: 2695 additions & 2374 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.45%", "updated_at": "2024-07-27T02:50:14Z"}
1+
{"translation": "95.32%", "updated_at": "2024-08-03T17:46:59Z"}

c-api/file.po

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,16 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Alpha Du <[email protected]>, 2021
8-
# Bryan不可思议, 2023
9-
# Freesand Leo <[email protected]>, 2024
7+
# Rafael Fontenelle <[email protected]>, 2024
108
#
119
#, fuzzy
1210
msgid ""
1311
msgstr ""
14-
"Project-Id-Version: Python 3.13\n"
12+
"Project-Id-Version: Python 3.12\n"
1513
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-05-10 22:05-0300\n"
17-
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
18-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
14+
"POT-Creation-Date: 2024-08-02 14:51+0000\n"
15+
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
16+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1917
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2018
"MIME-Version: 1.0\n"
2119
"Content-Type: text/plain; charset=UTF-8\n"
@@ -103,33 +101,33 @@ msgid ""
103101
msgstr "重写 :func:`io.open_code` 的正常行为,将其形参通过所提供的处理程序来传递。"
104102

105103
#: ../../c-api/file.rst:68
106-
msgid "The *handler* is a function of type:"
107-
msgstr ""
104+
msgid "The handler is a function of type:"
105+
msgstr "处理器函数的类型为:"
108106

109-
#: ../../c-api/file.rst:73
107+
#: ../../c-api/file.rst:72
110108
msgid ""
111109
"Equivalent of :c:expr:`PyObject *(\\*)(PyObject *path, void *userData)`, "
112110
"where *path* is guaranteed to be :c:type:`PyUnicodeObject`."
113111
msgstr ""
114112
"等价于 :c:expr:`PyObject *(\\*)(PyObject *path, void *userData)`,其中 *path* 会确保为"
115113
" :c:type:`PyUnicodeObject`。"
116114

117-
#: ../../c-api/file.rst:77
115+
#: ../../c-api/file.rst:76
118116
msgid ""
119117
"The *userData* pointer is passed into the hook function. Since hook "
120118
"functions may be called from different runtimes, this pointer should not "
121119
"refer directly to Python state."
122120
msgstr "*userData* 指针会被传入钩子函数。 因于钩子函数可能由不同的运行时调用,该指针不应直接指向 Python 状态。"
123121

124-
#: ../../c-api/file.rst:81
122+
#: ../../c-api/file.rst:80
125123
msgid ""
126124
"As this hook is intentionally used during import, avoid importing new "
127125
"modules during its execution unless they are known to be frozen or available"
128126
" in ``sys.modules``."
129127
msgstr ""
130128
"鉴于这个钩子专门在导入期间使用的,请避免在新模块执行期间进行导入操作,除非已知它们为冻结状态或者是在 ``sys.modules`` 中可用。"
131129

132-
#: ../../c-api/file.rst:85
130+
#: ../../c-api/file.rst:84
133131
msgid ""
134132
"Once a hook has been set, it cannot be removed or replaced, and later calls "
135133
"to :c:func:`PyFile_SetOpenCodeHook` will fail. On failure, the function "
@@ -138,17 +136,15 @@ msgstr ""
138136
"一旦钩子被设定,它就不能被移除或替换,之后对 :c:func:`PyFile_SetOpenCodeHook` "
139137
"的调用也将失败,如果解释器已经被初始化,函数将返回 -1 并设置一个异常。"
140138

141-
#: ../../c-api/file.rst:89
139+
#: ../../c-api/file.rst:88
142140
msgid "This function is safe to call before :c:func:`Py_Initialize`."
143141
msgstr "此函数可以安全地在 :c:func:`Py_Initialize` 之前调用。"
144142

145-
#: ../../c-api/file.rst:91
146-
msgid ""
147-
"Raises an :ref:`auditing event <auditing>` ``setopencodehook`` with no "
148-
"arguments."
149-
msgstr "引发一个 :ref:`审计事件 <auditing>` ``setopencodehook``,不附带任何参数。"
143+
#: ../../c-api/file.rst:90
144+
msgid "Raises an auditing event setopencodehook with no arguments."
145+
msgstr ""
150146

151-
#: ../../c-api/file.rst:101
147+
#: ../../c-api/file.rst:100
152148
msgid ""
153149
"Write object *obj* to file object *p*. The only supported flag for *flags* "
154150
"is :c:macro:`Py_PRINT_RAW`; if given, the :func:`str` of the object is "
@@ -158,7 +154,7 @@ msgstr ""
158154
"将对象 *obj* 写入文件对象 *p*。 *flags* 唯一支持的旗标是 :c:macro:`Py_PRINT_RAW`;如果给定,则写入对象的 "
159155
":func:`str` 而不是 :func:`repr`。 成功时返回 ``0``,失败时返回 ``-1``;将设置适当的异常。"
160156

161-
#: ../../c-api/file.rst:109
157+
#: ../../c-api/file.rst:108
162158
msgid ""
163159
"Write string *s* to file object *p*. Return ``0`` on success or ``-1`` on "
164160
"failure; the appropriate exception will be set."
@@ -176,6 +172,6 @@ msgstr "文件"
176172
msgid "EOFError (built-in exception)"
177173
msgstr "EOFError (内置异常)"
178174

179-
#: ../../c-api/file.rst:99
175+
#: ../../c-api/file.rst:98
180176
msgid "Py_PRINT_RAW (C macro)"
181177
msgstr "Py_PRINT_RAW (C 宏)"

c-api/init.po

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Rafael Fontenelle <[email protected]>, 2024
87
# Freesand Leo <[email protected]>, 2024
9-
# lit, 2024
8+
# Rafael Fontenelle <[email protected]>, 2024
109
#
1110
#, fuzzy
1211
msgid ""
1312
msgstr ""
1413
"Project-Id-Version: Python 3.12\n"
1514
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-06-28 14:50+0000\n"
15+
"POT-Creation-Date: 2024-08-02 14:51+0000\n"
1716
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
18-
"Last-Translator: lit, 2024\n"
17+
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1918
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2019
"MIME-Version: 1.0\n"
2120
"Content-Type: text/plain; charset=UTF-8\n"
@@ -25,7 +24,7 @@ msgstr ""
2524

2625
#: ../../c-api/init.rst:8
2726
msgid "Initialization, Finalization, and Threads"
28-
msgstr "初始化,终结和线程"
27+
msgstr "初始化,最终化和线程"
2928

3029
#: ../../c-api/init.rst:10
3130
msgid "See also :ref:`Python Initialization Configuration <init-config>`."
@@ -652,14 +651,14 @@ msgid ""
652651
"thread and the main interpreter. This should never be called while "
653652
":c:func:`Py_RunMain` is running."
654653
msgstr ""
655-
"由于这是 :c:func:`Py_Initialize` 的逆操作,它应该在同一解释器下的同一线程中被调用,即主线程和主解释器。此函数不应在 "
656-
":c:func:`Py_RunMain` 还在运行时被调用。"
654+
"由于这是 :c:func:`Py_Initialize` 的逆向操作,因而它应当在激活同一解释器的同一线程中被调用。 这意味着主线程和主解释器。 当 "
655+
":c:func:`Py_RunMain` 仍然运行时则绝不应调用此函数。"
657656

658657
#: ../../c-api/init.rst:398
659658
msgid ""
660659
"Normally the return value is ``0``. If there were errors during finalization"
661660
" (flushing buffered data), ``-1`` is returned."
662-
msgstr ""
661+
msgstr "通常返回值为 ``0``。 如果在最终化(刷新缓冲的数据)期间发生错误,则返回 ``-1``。"
663662

664663
#: ../../c-api/init.rst:402
665664
msgid ""
@@ -695,10 +694,8 @@ msgstr ""
695694

696695
#: ../../c-api/init.rst:421
697696
msgid ""
698-
"Raises an :ref:`auditing event <auditing>` "
699-
"``cpython._PySys_ClearAuditHooks`` with no arguments."
697+
"Raises an auditing event cpython._PySys_ClearAuditHooks with no arguments."
700698
msgstr ""
701-
"引发一个 :ref:`审计事件 <auditing>` ``cpython._PySys_ClearAuditHooks``,不附带任何参数。"
702699

703700
#: ../../c-api/init.rst:427
704701
msgid ""
@@ -1659,10 +1656,8 @@ msgstr "创建一个新的解释器状态对象。 不需要持有全局解释
16591656

16601657
#: ../../c-api/init.rst:1227
16611658
msgid ""
1662-
"Raises an :ref:`auditing event <auditing>` "
1663-
"``cpython.PyInterpreterState_New`` with no arguments."
1659+
"Raises an auditing event cpython.PyInterpreterState_New with no arguments."
16641660
msgstr ""
1665-
"引发一个 :ref:`审计事件 <auditing>` ``cpython.PyInterpreterState_New``,不附带任何参数。"
16661661

16671662
#: ../../c-api/init.rst:1232
16681663
msgid ""
@@ -1672,10 +1667,8 @@ msgstr "重置解释器状态对象中的所有信息。 必须持有全局解
16721667

16731668
#: ../../c-api/init.rst:1235
16741669
msgid ""
1675-
"Raises an :ref:`auditing event <auditing>` "
1676-
"``cpython.PyInterpreterState_Clear`` with no arguments."
1670+
"Raises an auditing event cpython.PyInterpreterState_Clear with no arguments."
16771671
msgstr ""
1678-
"引发一个 :ref:`审计事件 <auditing>` ``cpython.PyInterpreterState_Clear``,不附带任何参数。"
16791672

16801673
#: ../../c-api/init.rst:1240
16811674
msgid ""

c-api/init_config.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-07-26 14:49+0000\n"
14+
"POT-Creation-Date: 2024-07-29 04:36+0000\n"
1515
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
1616
"Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -652,6 +652,9 @@ msgid ""
652652
":c:member:`PyConfig.argv`, parsing arguments twice would parse the "
653653
"application options as Python options."
654654
msgstr ""
655+
":c:func:`PyConfig_Read` 函数对 :c:member:`PyConfig.argv` 参数只会解析一次:在参数解析完成后 "
656+
":c:member:`PyConfig.parse_argv` 将被设为 ``2``。 由于 Python 参数是从 "
657+
":c:member:`PyConfig.argv` 提取的,因此解析参数两次会将应用程序选项解析为 Python 选项。"
655658

656659
#: ../../c-api/init_config.rst:507
657660
msgid ""

0 commit comments

Comments
 (0)