Skip to content

Commit 007e935

Browse files
[po] auto sync
1 parent 7c17dd4 commit 007e935

Some content is hidden

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

54 files changed

+2104
-2220
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.48%", "updated_at": "2024-07-15T15:47:17Z"}
1+
{"translation": "95.17%", "updated_at": "2024-07-19T15:46:54Z"}

c-api/arg.po

Lines changed: 127 additions & 153 deletions
Large diffs are not rendered by default.

c-api/complex.po

Lines changed: 51 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, 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-
# 叶浚安 <ye.pandaaaa906@gmail.com>, 2021
8-
# Freesand Leo <yuqinju@163.com>, 2023
7+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
98
#
109
#, fuzzy
1110
msgid ""
1211
msgstr ""
1312
"Project-Id-Version: Python 3.12\n"
1413
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-07-29 02:08+0000\n"
16-
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
17-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2023\n"
14+
"POT-Creation-Date: 2024-07-19 14:50+0000\n"
15+
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
16+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\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"
@@ -52,130 +51,144 @@ msgid ""
5251
"The C structure which corresponds to the value portion of a Python complex "
5352
"number object. Most of the functions for dealing with complex number "
5453
"objects use structures of this type as input or output values, as "
55-
"appropriate. It is defined as::"
56-
msgstr "这是一个对应Python复数对象的值部分的C结构体。绝大部分处理复数对象的函数都用这类型的结构体作为输入或者输出值,它可近似地定义为:"
54+
"appropriate."
55+
msgstr ""
56+
57+
#: ../../c-api/complex.rst:33
58+
msgid "The structure is defined as::"
59+
msgstr ""
5760

58-
#: ../../c-api/complex.rst:39
61+
#: ../../c-api/complex.rst:43
5962
msgid ""
6063
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
6164
"representation."
6265
msgstr "返回两个复数的和,用 C 类型 :c:type:`Py_complex` 表示。"
6366

64-
#: ../../c-api/complex.rst:45
67+
#: ../../c-api/complex.rst:49
6568
msgid ""
6669
"Return the difference between two complex numbers, using the C "
6770
":c:type:`Py_complex` representation."
6871
msgstr "返回两个复数的差,用 C 类型 :c:type:`Py_complex` 表示。"
6972

70-
#: ../../c-api/complex.rst:51
73+
#: ../../c-api/complex.rst:55
7174
msgid ""
7275
"Return the negation of the complex number *num*, using the C "
7376
":c:type:`Py_complex` representation."
7477
msgstr "返回复数 *num* 的负值,用 C :c:type:`Py_complex` 表示。"
7578

76-
#: ../../c-api/complex.rst:57
79+
#: ../../c-api/complex.rst:61
7780
msgid ""
7881
"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
7982
"representation."
8083
msgstr "返回两个复数的乘积,用 C 类型 :c:type:`Py_complex` 表示。"
8184

82-
#: ../../c-api/complex.rst:63
85+
#: ../../c-api/complex.rst:67
8386
msgid ""
8487
"Return the quotient of two complex numbers, using the C :c:type:`Py_complex`"
8588
" representation."
8689
msgstr "返回两个复数的商,用 C 类型 :c:type:`Py_complex` 表示。"
8790

88-
#: ../../c-api/complex.rst:66
91+
#: ../../c-api/complex.rst:70
8992
msgid ""
9093
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to "
9194
":c:macro:`!EDOM`."
9295
msgstr "如果 *divisor* 为空,则此方法将返回零并将 :c:data:`errno` 设为 :c:macro:`!EDOM`。"
9396

94-
#: ../../c-api/complex.rst:72
97+
#: ../../c-api/complex.rst:76
9598
msgid ""
9699
"Return the exponentiation of *num* by *exp*, using the C "
97100
":c:type:`Py_complex` representation."
98101
msgstr "返回 *num* 的 *exp* 次幂,用 C 类型 :c:type:`Py_complex` 表示。"
99102

100-
#: ../../c-api/complex.rst:75
103+
#: ../../c-api/complex.rst:79
101104
msgid ""
102105
"If *num* is null and *exp* is not a positive real number, this method "
103106
"returns zero and sets :c:data:`errno` to :c:macro:`!EDOM`."
104107
msgstr ""
105108
"如果 *num* 为空且 *exp* 不是正实数,则此方法将返回零并将 :c:data:`errno` 设为 :c:macro:`!EDOM`。"
106109

107-
#: ../../c-api/complex.rst:80
110+
#: ../../c-api/complex.rst:84
108111
msgid "Complex Numbers as Python Objects"
109112
msgstr "表示复数的Python对象"
110113

111-
#: ../../c-api/complex.rst:85
114+
#: ../../c-api/complex.rst:89
112115
msgid ""
113116
"This subtype of :c:type:`PyObject` represents a Python complex number "
114117
"object."
115118
msgstr "这个C类型 :c:type:`PyObject` 的子类型代表一个 Python 复数对象。"
116119

117-
#: ../../c-api/complex.rst:90
120+
#: ../../c-api/complex.rst:94
118121
msgid ""
119122
"This instance of :c:type:`PyTypeObject` represents the Python complex number"
120123
" type. It is the same object as :class:`complex` in the Python layer."
121124
msgstr ""
122125
"这是个属于 :c:type:`PyTypeObject` 的代表Python复数类型的实例。在Python层面的类型 :class:`complex` "
123126
"是同一个对象。"
124127

125-
#: ../../c-api/complex.rst:96
128+
#: ../../c-api/complex.rst:100
126129
msgid ""
127130
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of "
128131
":c:type:`PyComplexObject`. This function always succeeds."
129132
msgstr ""
130133
"如果它的参数是一个 :c:type:`PyComplexObject` 或者 :c:type:`PyComplexObject` 的子类型则返回真值。 "
131134
"此函数总是会成功执行。"
132135

133-
#: ../../c-api/complex.rst:102
136+
#: ../../c-api/complex.rst:106
134137
msgid ""
135138
"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
136139
"subtype of :c:type:`PyComplexObject`. This function always succeeds."
137140
msgstr ""
138141
"如果它的参数是一个 :c:type:`PyComplexObject` 但不是 :c:type:`PyComplexObject` 的子类型则返回真值。"
139142
" 此函数总是会成功执行。"
140143

141-
#: ../../c-api/complex.rst:108
144+
#: ../../c-api/complex.rst:112
142145
msgid ""
143146
"Create a new Python complex number object from a C :c:type:`Py_complex` "
144-
"value."
145-
msgstr "根据C类型 :c:type:`Py_complex` 的值生成一个新的Python复数对象。"
146-
147-
#: ../../c-api/complex.rst:113
148-
msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
149-
msgstr "根据 *real* 和 *imag* 返回一个新的C类型 :c:type:`PyComplexObject` 对象。"
147+
"value. Return ``NULL`` with an exception set on error."
148+
msgstr ""
150149

151150
#: ../../c-api/complex.rst:118
151+
msgid ""
152+
"Return a new :c:type:`PyComplexObject` object from *real* and *imag*. Return"
153+
" ``NULL`` with an exception set on error."
154+
msgstr ""
155+
156+
#: ../../c-api/complex.rst:124
152157
msgid "Return the real part of *op* as a C :c:expr:`double`."
153158
msgstr "以 C 类型 :c:expr:`double` 返回 *op* 的实部。"
154159

155-
#: ../../c-api/complex.rst:123
160+
#: ../../c-api/complex.rst:126
161+
msgid ""
162+
"Upon failure, this method returns ``-1.0`` with an exception set, so one "
163+
"should call :c:func:`PyErr_Occurred` to check for errors."
164+
msgstr ""
165+
166+
#: ../../c-api/complex.rst:132
156167
msgid "Return the imaginary part of *op* as a C :c:expr:`double`."
157168
msgstr "以 C 类型 :c:expr:`double` 返回 *op* 的虚部。"
158169

159-
#: ../../c-api/complex.rst:128
170+
#: ../../c-api/complex.rst:137
160171
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
161172
msgstr "返回复数 *op* 的C类型 :c:type:`Py_complex` 值。"
162173

163-
#: ../../c-api/complex.rst:130
174+
#: ../../c-api/complex.rst:139
164175
msgid ""
165176
"If *op* is not a Python complex number object but has a "
166177
":meth:`~object.__complex__` method, this method will first be called to "
167178
"convert *op* to a Python complex number object. If :meth:`!__complex__` is "
168179
"not defined then it falls back to :meth:`~object.__float__`. If "
169180
":meth:`!__float__` is not defined then it falls back to "
170-
":meth:`~object.__index__`. Upon failure, this method returns ``-1.0`` as a "
171-
"real value."
181+
":meth:`~object.__index__`."
172182
msgstr ""
173-
"如果 *op* 不是一个 Python 复数对象但是具有 :meth:`~object.__complex__` 方法,则会先调用该方法将 *op* "
174-
"转换为 Python 复数对象。 如果 :meth:`!__complex__` 未定义则将回退至 :meth:`~object.__float__`。"
175-
" 如果 :meth:`!__float__` 未定义则将回退至 :meth:`~object.__index__`。 当失败时,该方法将返回实数值 "
176-
"``-1.0``。"
177183

178-
#: ../../c-api/complex.rst:137
184+
#: ../../c-api/complex.rst:145
185+
msgid ""
186+
"Upon failure, this method returns :c:type:`Py_complex` with "
187+
":c:member:`~Py_complex.real` set to ``-1.0`` and with an exception set, so "
188+
"one should call :c:func:`PyErr_Occurred` to check for errors."
189+
msgstr ""
190+
191+
#: ../../c-api/complex.rst:149
179192
msgid "Use :meth:`~object.__index__` if available."
180193
msgstr "如果可能将使用 :meth:`~object.__index__`。"
181194

c-api/float.po

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, 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-
# Alpha Du <alphanow@gmail.com>, 2021
8-
# 叶浚安 <ye.pandaaaa906@gmail.com>, 2021
9-
# Freesand Leo <yuqinju@163.com>, 2023
7+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
108
#
119
#, fuzzy
1210
msgid ""
1311
msgstr ""
1412
"Project-Id-Version: Python 3.12\n"
1513
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-07-21 14:13+0000\n"
17-
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
18-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2023\n"
14+
"POT-Creation-Date: 2024-07-19 14:50+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"
@@ -24,22 +22,20 @@ msgstr ""
2422
"Plural-Forms: nplurals=1; plural=0;\n"
2523

2624
#: ../../c-api/float.rst:6
27-
msgid "Floating Point Objects"
28-
msgstr "浮点数对象"
25+
msgid "Floating-Point Objects"
26+
msgstr ""
2927

3028
#: ../../c-api/float.rst:13
3129
msgid ""
32-
"This subtype of :c:type:`PyObject` represents a Python floating point "
30+
"This subtype of :c:type:`PyObject` represents a Python floating-point "
3331
"object."
34-
msgstr "这个C类型 :c:type:`PyObject` 的子类型代表一个Python浮点数对象。"
32+
msgstr ""
3533

3634
#: ../../c-api/float.rst:18
3735
msgid ""
38-
"This instance of :c:type:`PyTypeObject` represents the Python floating point"
36+
"This instance of :c:type:`PyTypeObject` represents the Python floating-point"
3937
" type. This is the same object as :class:`float` in the Python layer."
4038
msgstr ""
41-
"这是个属于C类型 :c:type:`PyTypeObject` 的代表Python浮点类型的实例。在Python层面的类型 :class:`float`"
42-
" 是同一个对象。"
4339

4440
#: ../../c-api/float.rst:24
4541
msgid ""
@@ -71,16 +67,12 @@ msgstr "根据 *v* 创建一个 :c:type:`PyFloatObject` 对象,失败时返回
7167
#: ../../c-api/float.rst:47
7268
msgid ""
7369
"Return a C :c:expr:`double` representation of the contents of *pyfloat*. If"
74-
" *pyfloat* is not a Python floating point object but has a "
70+
" *pyfloat* is not a Python floating-point object but has a "
7571
":meth:`~object.__float__` method, this method will first be called to "
7672
"convert *pyfloat* into a float. If :meth:`!__float__` is not defined then it"
7773
" falls back to :meth:`~object.__index__`. This method returns ``-1.0`` upon "
7874
"failure, so one should call :c:func:`PyErr_Occurred` to check for errors."
7975
msgstr ""
80-
"返回 *pyfloat* 的内容的 C :c:expr:`double` 表示形式。 如果 *pyfloat* 不是一个 Python "
81-
"浮点数对象但是具有 :meth:`~object.__float__` 方法,则会先调用此方法来将 *pyfloat* 转换为浮点数。 如果 "
82-
":meth:`!__float__` 未定义则将回退至 :meth:`~object.__index__`。 此方法在失败时将返回 "
83-
"``-1.0``,因此开发者应当调用 :c:func:`PyErr_Occurred` 来检测错误。"
8476

8577
#: ../../c-api/float.rst:54
8678
msgid "Use :meth:`~object.__index__` if available."
@@ -254,5 +246,5 @@ msgid "object"
254246
msgstr "object -- 对象"
255247

256248
#: ../../c-api/float.rst:8
257-
msgid "floating point"
258-
msgstr "浮点数"
249+
msgid "floating-point"
250+
msgstr ""

c-api/marshal.po

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, 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-
# Freesand Leo <yuqinju@163.com>, 2023
7+
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-07-14 14:14+0000\n"
15-
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
16-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2023\n"
14+
"POT-Creation-Date: 2024-07-19 14:50+0000\n"
15+
"PO-Revision-Date: 2024-05-11 00:32+0000\n"
16+
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -44,11 +44,9 @@ msgstr "数字值在存储时会将最低位字节放在开头。"
4444
msgid ""
4545
"The module supports two versions of the data format: version 0 is the "
4646
"historical version, version 1 shares interned strings in the file, and upon "
47-
"unmarshalling. Version 2 uses a binary format for floating point numbers. "
47+
"unmarshalling. Version 2 uses a binary format for floating-point numbers. "
4848
"``Py_MARSHAL_VERSION`` indicates the current file format (currently 2)."
4949
msgstr ""
50-
"此模块支持两种数据格式版本:第 0 版为历史版本,第 1 版本会在文件和 marshal 反序列化中共享固化的字符串。 第 2 "
51-
"版本会对浮点数使用二进制格式。 ``Py_MARSHAL_VERSION`` 指明了当前文件的格式(当前取值为 2)。"
5250

5351
#: ../../c-api/marshal.rst:24
5452
msgid ""

0 commit comments

Comments
 (0)