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

Skip to content

Commit 46f3459

Browse files
[po] auto sync
1 parent f096aa0 commit 46f3459

25 files changed

Lines changed: 5113 additions & 5248 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.64%", "updated_at": "2023-12-03T10:41:22Z"}
1+
{"translation": "90.27%", "updated_at": "2023-12-08T16:42:43Z"}

c-api/frame.po

Lines changed: 9 additions & 9 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-07-14 14:44+0000\n"
14+
"POT-Creation-Date: 2023-12-08 16:33+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"
@@ -86,8 +86,8 @@ msgid ""
8686
msgstr "参考返回一个 :term:`strong reference`,或者如果 *frame* 没有外部帧则返回 ``NULL``。"
8787

8888
#: ../../c-api/frame.rst:53
89-
msgid "Get the *frame*'s ``f_builtins`` attribute."
90-
msgstr "获取 *frame* 的 ``f_builtins`` 属性。"
89+
msgid "Get the *frame*'s :attr:`~frame.f_builtins` attribute."
90+
msgstr ""
9191

9292
#: ../../c-api/frame.rst:55 ../../c-api/frame.rst:86
9393
msgid "Return a :term:`strong reference`. The result cannot be ``NULL``."
@@ -118,20 +118,20 @@ msgid "Return a :term:`strong reference`, or ``NULL``."
118118
msgstr "返回一个 :term:`strong reference`,或者 ``NULL``。"
119119

120120
#: ../../c-api/frame.rst:84
121-
msgid "Get the *frame*'s ``f_globals`` attribute."
122-
msgstr "获取 *frame* 的 ``f_globals`` 属性。"
121+
msgid "Get the *frame*'s :attr:`~frame.f_globals` attribute."
122+
msgstr ""
123123

124124
#: ../../c-api/frame.rst:93
125-
msgid "Get the *frame*'s ``f_lasti`` attribute."
126-
msgstr "获取 *frame* 的 ``f_lasti`` 属性。"
125+
msgid "Get the *frame*'s :attr:`~frame.f_lasti` attribute."
126+
msgstr ""
127127

128128
#: ../../c-api/frame.rst:95
129129
msgid "Returns -1 if ``frame.f_lasti`` is ``None``."
130130
msgstr "如果 ``frame.f_lasti`` 为 ``None`` 则返回 -1。"
131131

132132
#: ../../c-api/frame.rst:102
133-
msgid "Get the *frame*'s ``f_locals`` attribute (:class:`dict`)."
134-
msgstr "获取 *frame* 的 ``f_locals`` 属性 (:class:`dict`)。"
133+
msgid "Get the *frame*'s :attr:`~frame.f_locals` attribute (:class:`dict`)."
134+
msgstr ""
135135

136136
#: ../../c-api/frame.rst:111
137137
msgid "Return the line number that *frame* is currently executing."

c-api/function.po

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2022, Python Software Foundation
2+
# Copyright (C) 2001-2023, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Kade For, 2021
8-
# Alpha Du <[email protected]>, 2021
9-
# allenjuly7 <[email protected]>, 2021
10-
# Josh Ouyang <[email protected]>, 2021
11-
# Freesand Leo <[email protected]>, 2021
7+
# Rafael Fontenelle <[email protected]>, 2023
128
#
139
#, fuzzy
1410
msgid ""
1511
msgstr ""
16-
"Project-Id-Version: Python 3.10\n"
12+
"Project-Id-Version: Python 3.11\n"
1713
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2022-11-04 14:28+0000\n"
19-
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
20-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
21-
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
14+
"POT-Creation-Date: 2023-12-08 16:33+0000\n"
15+
"PO-Revision-Date: 2023-05-24 02:08+0000\n"
16+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
17+
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2218
"MIME-Version: 1.0\n"
2319
"Content-Type: text/plain; charset=UTF-8\n"
2420
"Content-Transfer-Encoding: 8bit\n"
@@ -67,81 +63,88 @@ msgid ""
6763
"The function's docstring and name are retrieved from the code object. "
6864
"*__module__* is retrieved from *globals*. The argument defaults, annotations"
6965
" and closure are set to ``NULL``. *__qualname__* is set to the same value as"
70-
" the function's name."
66+
" the code object's :attr:`~codeobject.co_qualname` field."
7167
msgstr ""
72-
"从代码对象中提取函数的文档字符串和名称。 *__module__* 会从 *globals* 中提取。 参数 defaults, annotations"
73-
" 和 closure 设为 ``NULL``。 *__qualname__* 设为与函数名称相同的值。"
7468

75-
#: ../../c-api/function.rst:44
69+
#: ../../c-api/function.rst:45
7670
msgid ""
7771
"As :c:func:`PyFunction_New`, but also allows setting the function object's "
7872
"``__qualname__`` attribute. *qualname* should be a unicode object or "
7973
"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same "
80-
"value as its ``__name__`` attribute."
74+
"value as the code object's :attr:`~codeobject.co_qualname` field."
8175
msgstr ""
82-
"类似 :c:func:`PyFunction_New`,但还允许设置函数对象的 ``__qualname__`` 属性。 *qualname* 应当是 "
83-
"unicode 对象或 ``NULL``;如果是 ``NULL`` 则 ``__qualname__`` 属性设为与其 ``__name__`` "
84-
"属性相同的值。"
8576

86-
#: ../../c-api/function.rst:54
77+
#: ../../c-api/function.rst:55
8778
msgid "Return the code object associated with the function object *op*."
8879
msgstr "返回与函数对象 *op* 关联的代码对象。"
8980

90-
#: ../../c-api/function.rst:59
81+
#: ../../c-api/function.rst:60
9182
msgid ""
9283
"Return the globals dictionary associated with the function object *op*."
9384
msgstr "返回与函数对象*op*相关联的全局字典。"
9485

95-
#: ../../c-api/function.rst:64
86+
#: ../../c-api/function.rst:65
9687
msgid ""
9788
"Return a :term:`borrowed reference` to the *__module__* attribute of the "
9889
"function object *op*. It can be *NULL*."
9990
msgstr ""
10091
"向函数对象 *op* 的 *__module__* 属性返回一个 :term:`borrowed reference`。 该值可以为 *NULL*。"
10192

102-
#: ../../c-api/function.rst:67
93+
#: ../../c-api/function.rst:68
10394
msgid ""
10495
"This is normally a string containing the module name, but can be set to any "
10596
"other object by Python code."
10697
msgstr "这通常为一个包含模块名称的字符串,但可以通过 Python 代码设为任何其他对象。"
10798

108-
#: ../../c-api/function.rst:73
99+
#: ../../c-api/function.rst:74
109100
msgid ""
110101
"Return the argument default values of the function object *op*. This can be "
111102
"a tuple of arguments or ``NULL``."
112103
msgstr "返回函数对象 *op* 的参数默认值。 这可以是一个参数元组或 ``NULL``。"
113104

114-
#: ../../c-api/function.rst:79
105+
#: ../../c-api/function.rst:80
115106
msgid ""
116107
"Set the argument default values for the function object *op*. *defaults* "
117108
"must be ``Py_None`` or a tuple."
118109
msgstr "为函数对象 *op* 设置参数默认值。 *defaults* 必须为 ``Py_None`` 或一个元组。"
119110

120-
#: ../../c-api/function.rst:82 ../../c-api/function.rst:96
121-
#: ../../c-api/function.rst:110
111+
#: ../../c-api/function.rst:83 ../../c-api/function.rst:97
112+
#: ../../c-api/function.rst:111
122113
msgid "Raises :exc:`SystemError` and returns ``-1`` on failure."
123114
msgstr "失败时引发 :exc:`SystemError` 异常并返回 ``-1`` 。"
124115

125-
#: ../../c-api/function.rst:87
116+
#: ../../c-api/function.rst:88
126117
msgid ""
127118
"Return the closure associated with the function object *op*. This can be "
128119
"``NULL`` or a tuple of cell objects."
129120
msgstr "返回关联到函数对象 *op* 的闭包。 这可以是 ``NULL`` 或 cell 对象的元组。"
130121

131-
#: ../../c-api/function.rst:93
122+
#: ../../c-api/function.rst:94
132123
msgid ""
133124
"Set the closure associated with the function object *op*. *closure* must be "
134125
"``Py_None`` or a tuple of cell objects."
135126
msgstr "设置关联到函数对象 *op* 的闭包。 *closure* 必须为 ``Py_None`` 或 cell 对象的元组。"
136127

137-
#: ../../c-api/function.rst:101
128+
#: ../../c-api/function.rst:102
138129
msgid ""
139130
"Return the annotations of the function object *op*. This can be a mutable "
140131
"dictionary or ``NULL``."
141132
msgstr "返回函数对象 *op* 的标注。 这可以是一个可变字典或 ``NULL``。"
142133

143-
#: ../../c-api/function.rst:107
134+
#: ../../c-api/function.rst:108
144135
msgid ""
145136
"Set the annotations for the function object *op*. *annotations* must be a "
146137
"dictionary or ``Py_None``."
147138
msgstr "设置函数对象 *op* 的标注。 *annotations* 必须为一个字典或 ``Py_None``。"
139+
140+
#: ../../c-api/function.rst:8
141+
msgid "object"
142+
msgstr "object -- 对象"
143+
144+
#: ../../c-api/function.rst:8
145+
msgid "function"
146+
msgstr "function -- 函数"
147+
148+
#: ../../c-api/function.rst:20
149+
msgid "MethodType (in module types)"
150+
msgstr "MethodType (types 模块)"

c-api/import.po

Lines changed: 3 additions & 4 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-08-04 14:46+0000\n"
14+
"POT-Creation-Date: 2023-12-08 16:33+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"
@@ -188,10 +188,9 @@ msgstr ""
188188
#: ../../c-api/import.rst:140
189189
msgid ""
190190
"The module's :attr:`__file__` attribute will be set to the code object's "
191-
":attr:`!co_filename`. If applicable, :attr:`__cached__` will also be set."
191+
":attr:`~codeobject.co_filename`. If applicable, :attr:`__cached__` will "
192+
"also be set."
192193
msgstr ""
193-
"模块的 :attr:`__file__` 属性将被设为代码对象的 :attr:`!co_filename`。 如果适用,还将设置 "
194-
":attr:`__cached__`。"
195194

196195
#: ../../c-api/import.rst:144
197196
msgid ""

0 commit comments

Comments
 (0)