Skip to content

Commit 7997c63

Browse files
[po] auto sync
1 parent 7bc0cfb commit 7997c63

File tree

6 files changed

+1192
-1237
lines changed

6 files changed

+1192
-1237
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.27%", "updated_at": "2025-04-04T07:55:34Z"}
1+
{"translation": "81.21%", "updated_at": "2025-04-04T14:56:09Z"}

faq/programming.po

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.13\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2025-02-21 14:16+0000\n"
22+
"POT-Creation-Date: 2025-04-04 14:18+0000\n"
2323
"PO-Revision-Date: 2021-06-28 00:52+0000\n"
2424
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2025\n"
2525
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1866,9 +1866,9 @@ msgstr ""
18661866

18671867
#: ../../faq/programming.rst:990
18681868
msgid ""
1869-
"Is there an equivalent to Perl's chomp() for removing trailing newlines from"
1870-
" strings?"
1871-
msgstr "是否有与Perl 的chomp() 等效的方法,用于从字符串中删除尾随换行符?"
1869+
"Is there an equivalent to Perl's ``chomp()`` for removing trailing newlines "
1870+
"from strings?"
1871+
msgstr ""
18721872

18731873
#: ../../faq/programming.rst:992
18741874
msgid ""
@@ -1902,8 +1902,8 @@ msgid ""
19021902
msgstr "由于通常只在一次读取一行文本时才需要这样做,所以使用 ``S.rstrip()`` 这种方式工作得很好。"
19031903

19041904
#: ../../faq/programming.rst:1009
1905-
msgid "Is there a scanf() or sscanf() equivalent?"
1906-
msgstr "是否有 scanf() 或 sscanf() 的等价函数?"
1905+
msgid "Is there a ``scanf()`` or ``sscanf()`` equivalent?"
1906+
msgstr ""
19071907

19081908
#: ../../faq/programming.rst:1011
19091909
msgid "Not as such."
@@ -1929,8 +1929,8 @@ msgid ""
19291929
msgstr "对于更复杂的输入解析,正则表达式相比 C 的 ``sscanf`` 更为强大也更为适合。"
19301930

19311931
#: ../../faq/programming.rst:1024
1932-
msgid "What does 'UnicodeDecodeError' or 'UnicodeEncodeError' error mean?"
1933-
msgstr "'UnicodeDecodeError' 或 'UnicodeEncodeError' 错误是什么意思?"
1932+
msgid "What does ``UnicodeDecodeError`` or ``UnicodeEncodeError`` error mean?"
1933+
msgstr ""
19341934

19351935
#: ../../faq/programming.rst:1026
19361936
msgid "See the :ref:`unicode-howto`."
@@ -1951,14 +1951,9 @@ msgid ""
19511951
">>> r'C:\\this\\will\\not\\work\\'\n"
19521952
" File \"<stdin>\", line 1\n"
19531953
" r'C:\\this\\will\\not\\work\\'\n"
1954-
" ^\n"
1954+
" ^\n"
19551955
"SyntaxError: unterminated string literal (detected at line 1)"
19561956
msgstr ""
1957-
">>> r'C:\\this\\will\\not\\work\\'\n"
1958-
" File \"<stdin>\", line 1\n"
1959-
" r'C:\\this\\will\\not\\work\\'\n"
1960-
" ^\n"
1961-
"SyntaxError: unterminated string literal (detected at line 1)"
19621957

19631958
#: ../../faq/programming.rst:1042
19641959
msgid ""

library/cmath.po

Lines changed: 45 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2024, Python Software Foundation
2+
# Copyright (C) 2001-2025, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.13\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2024-11-08 14:16+0000\n"
20+
"POT-Creation-Date: 2025-04-04 14:18+0000\n"
2121
"PO-Revision-Date: 2021-06-28 00:56+0000\n"
2222
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2323
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -124,15 +124,12 @@ msgstr "下面的函数可用于原生直角坐标与极坐标的相互转换。
124124

125125
#: ../../library/cmath.rst:60
126126
msgid ""
127-
"Return the phase of *x* (also known as the *argument* of *x*), as a float. "
128-
"``phase(x)`` is equivalent to ``math.atan2(x.imag, x.real)``. The result "
127+
"Return the phase of *z* (also known as the *argument* of *z*), as a float. "
128+
"``phase(z)`` is equivalent to ``math.atan2(z.imag, z.real)``. The result "
129129
"lies in the range [-\\ *π*, *π*], and the branch cut for this operation lies"
130130
" along the negative real axis. The sign of the result is the same as the "
131-
"sign of ``x.imag``, even when ``x.imag`` is zero::"
131+
"sign of ``z.imag``, even when ``z.imag`` is zero::"
132132
msgstr ""
133-
"将 *x* 的相位 (或称 *x* 的 *参数*) 作为一个浮点数返回。 ``phase(x)`` 等价于 ``math.atan2(x.imag, "
134-
"x.real)``。 结果将位于 [-\\ *π*, *π*] 范围内,且此操作的支割线将位于负实轴上。 结果的符号将与 ``x.imag`` "
135-
"的符号相同,即使 ``x.imag`` 的值为零::"
136133

137134
#: ../../library/cmath.rst:66
138135
msgid ""
@@ -148,155 +145,144 @@ msgstr ""
148145

149146
#: ../../library/cmath.rst:74
150147
msgid ""
151-
"The modulus (absolute value) of a complex number *x* can be computed using "
148+
"The modulus (absolute value) of a complex number *z* can be computed using "
152149
"the built-in :func:`abs` function. There is no separate :mod:`cmath` module"
153150
" function for this operation."
154151
msgstr ""
155-
"一个复数 *x* 的模数(绝对值)可以通过内置函数 :func:`abs` 计算。没有单独的 :mod:`cmath` 模块函数用于这个操作。"
156152

157153
#: ../../library/cmath.rst:81
158154
msgid ""
159-
"Return the representation of *x* in polar coordinates. Returns a pair ``(r,"
160-
" phi)`` where *r* is the modulus of *x* and phi is the phase of *x*. "
161-
"``polar(x)`` is equivalent to ``(abs(x), phase(x))``."
155+
"Return the representation of *z* in polar coordinates. Returns a pair ``(r,"
156+
" phi)`` where *r* is the modulus of *z* and *phi* is the phase of *z*. "
157+
"``polar(z)`` is equivalent to ``(abs(z), phase(z))``."
162158
msgstr ""
163-
"在极坐标中返回 *x* 的表达方式。返回一个数对 ``(r, phi)``,*r* 是 *x* 的模数,*phi* 是 *x* 的相位角。 "
164-
"``polar(x)`` 相当于 ``(abs(x), phase(x))``。"
165159

166160
#: ../../library/cmath.rst:89
167161
msgid ""
168-
"Return the complex number *x* with polar coordinates *r* and *phi*. "
162+
"Return the complex number *z* with polar coordinates *r* and *phi*. "
169163
"Equivalent to ``complex(r * math.cos(phi), r * math.sin(phi))``."
170164
msgstr ""
171-
"使用极坐标形式 *r* 和 *phi* 返回复数 *x* 的值。 相当于 ``complex(r * math.cos(phi), r * "
172-
"math.sin(phi))``。"
173165

174166
#: ../../library/cmath.rst:94
175167
msgid "Power and logarithmic functions"
176168
msgstr "幂函数与对数函数"
177169

178170
#: ../../library/cmath.rst:98
179171
msgid ""
180-
"Return *e* raised to the power *x*, where *e* is the base of natural "
172+
"Return *e* raised to the power *z*, where *e* is the base of natural "
181173
"logarithms."
182-
msgstr "返回 *e* 的 *x* 次方,*e* 是自然对数的底数。"
174+
msgstr ""
183175

184176
#: ../../library/cmath.rst:104
185177
msgid ""
186-
"Returns the logarithm of *x* to the given *base*. If the *base* is not "
187-
"specified, returns the natural logarithm of *x*. There is one branch cut, "
178+
"Return the logarithm of *z* to the given *base*. If the *base* is not "
179+
"specified, returns the natural logarithm of *z*. There is one branch cut, "
188180
"from 0 along the negative real axis to -∞."
189181
msgstr ""
190-
"返回 *x* 的以 *base* 为底的对数。 如果没有指定 *base*,则返回 *x* 的自然对数。 存在一条支割线,即沿着负实轴从 0 到 -∞。"
191182

192183
#: ../../library/cmath.rst:111
193184
msgid ""
194-
"Return the base-10 logarithm of *x*. This has the same branch cut as "
185+
"Return the base-10 logarithm of *z*. This has the same branch cut as "
195186
":func:`log`."
196-
msgstr "返回底数为 10 的 *x* 的对数。它具有与 :func:`log` 相同的支割线。"
187+
msgstr ""
197188

198189
#: ../../library/cmath.rst:117
199190
msgid ""
200-
"Return the square root of *x*. This has the same branch cut as :func:`log`."
201-
msgstr "返回 *x* 的平方根。 它具有与 :func:`log` 相同的支割线。"
191+
"Return the square root of *z*. This has the same branch cut as :func:`log`."
192+
msgstr ""
202193

203194
#: ../../library/cmath.rst:121
204195
msgid "Trigonometric functions"
205196
msgstr "三角函数"
206197

207198
#: ../../library/cmath.rst:125
208199
msgid ""
209-
"Return the arc cosine of *x*. There are two branch cuts: One extends right "
200+
"Return the arc cosine of *z*. There are two branch cuts: One extends right "
210201
"from 1 along the real axis to ∞. The other extends left from -1 along the "
211202
"real axis to -∞."
212-
msgstr "返回 *x* 的反余弦。 存在两条支割线:一条沿着实轴从 1 到 ∞。 另一条沿着实轴从 -1 向左延伸到 -∞。"
203+
msgstr ""
213204

214205
#: ../../library/cmath.rst:132
215206
msgid ""
216-
"Return the arc sine of *x*. This has the same branch cuts as :func:`acos`."
217-
msgstr "返回 *x* 的反正弦。它与 :func:`acos` 有相同的支割线。"
207+
"Return the arc sine of *z*. This has the same branch cuts as :func:`acos`."
208+
msgstr ""
218209

219210
#: ../../library/cmath.rst:137
220211
msgid ""
221-
"Return the arc tangent of *x*. There are two branch cuts: One extends from "
212+
"Return the arc tangent of *z*. There are two branch cuts: One extends from "
222213
"``1j`` along the imaginary axis to ``∞j``. The other extends from ``-1j`` "
223214
"along the imaginary axis to ``-∞j``."
224215
msgstr ""
225-
"返回 *x* 的反正切。 存在两条支割线:一条沿着虚轴从 ``1j`` 延伸到 ``∞j``。 另一条沿着虚轴从 ``-1j`` 延伸到 "
226-
"``-∞j``。"
227216

228217
#: ../../library/cmath.rst:144
229-
msgid "Return the cosine of *x*."
230-
msgstr "返回 *x* 的余弦。"
218+
msgid "Return the cosine of *z*."
219+
msgstr ""
231220

232221
#: ../../library/cmath.rst:149
233-
msgid "Return the sine of *x*."
234-
msgstr "返回 *x* 的正弦。"
222+
msgid "Return the sine of *z*."
223+
msgstr ""
235224

236225
#: ../../library/cmath.rst:154
237-
msgid "Return the tangent of *x*."
238-
msgstr "返回 *x* 的正切。"
226+
msgid "Return the tangent of *z*."
227+
msgstr ""
239228

240229
#: ../../library/cmath.rst:158
241230
msgid "Hyperbolic functions"
242231
msgstr "双曲函数"
243232

244233
#: ../../library/cmath.rst:162
245234
msgid ""
246-
"Return the inverse hyperbolic cosine of *x*. There is one branch cut, "
235+
"Return the inverse hyperbolic cosine of *z*. There is one branch cut, "
247236
"extending left from 1 along the real axis to -∞."
248-
msgstr "返回 *x* 的反双曲余弦。 存在一条支割线,沿着实轴从 1 向左延伸到 -∞。"
237+
msgstr ""
249238

250239
#: ../../library/cmath.rst:168
251240
msgid ""
252-
"Return the inverse hyperbolic sine of *x*. There are two branch cuts: One "
241+
"Return the inverse hyperbolic sine of *z*. There are two branch cuts: One "
253242
"extends from ``1j`` along the imaginary axis to ``∞j``. The other extends "
254243
"from ``-1j`` along the imaginary axis to ``-∞j``."
255244
msgstr ""
256-
"返回 *x* 的反双曲正弦。 存在两条支割线:一条沿着虚轴从 ``1j`` 延伸到 ``∞j``。 另一条沿着虚轴从 ``-1j`` 延伸到 "
257-
"``-∞j``。"
258245

259246
#: ../../library/cmath.rst:175
260247
msgid ""
261-
"Return the inverse hyperbolic tangent of *x*. There are two branch cuts: One"
248+
"Return the inverse hyperbolic tangent of *z*. There are two branch cuts: One"
262249
" extends from ``1`` along the real axis to ``∞``. The other extends from "
263250
"``-1`` along the real axis to ``-∞``."
264251
msgstr ""
265-
"返回 *x* 反双曲正切。 存在两条支割线:一条沿着实轴从 ``1`` 延伸到 ``∞``。 另一条沿着实轴从 ``-1`` 延伸到 ``-∞``。"
266252

267253
#: ../../library/cmath.rst:182
268-
msgid "Return the hyperbolic cosine of *x*."
269-
msgstr "返回 *x* 的双曲余弦值。"
254+
msgid "Return the hyperbolic cosine of *z*."
255+
msgstr ""
270256

271257
#: ../../library/cmath.rst:187
272-
msgid "Return the hyperbolic sine of *x*."
273-
msgstr "返回 *x* 的双曲正弦值。"
258+
msgid "Return the hyperbolic sine of *z*."
259+
msgstr ""
274260

275261
#: ../../library/cmath.rst:192
276-
msgid "Return the hyperbolic tangent of *x*."
277-
msgstr "返回 *x* 的双曲正切值。"
262+
msgid "Return the hyperbolic tangent of *z*."
263+
msgstr ""
278264

279265
#: ../../library/cmath.rst:196
280266
msgid "Classification functions"
281267
msgstr "分类函数"
282268

283269
#: ../../library/cmath.rst:200
284270
msgid ""
285-
"Return ``True`` if both the real and imaginary parts of *x* are finite, and "
271+
"Return ``True`` if both the real and imaginary parts of *z* are finite, and "
286272
"``False`` otherwise."
287-
msgstr "如果 *x* 的实部和虚部都是有限的,则返回 ``True``,否则返回 ``False``。"
273+
msgstr ""
288274

289275
#: ../../library/cmath.rst:208
290276
msgid ""
291-
"Return ``True`` if either the real or the imaginary part of *x* is an "
277+
"Return ``True`` if either the real or the imaginary part of *z* is an "
292278
"infinity, and ``False`` otherwise."
293-
msgstr "如果 *x* 的实部或者虚部是无穷大的,则返回 ``True``,否则返回 ``False``。"
279+
msgstr ""
294280

295281
#: ../../library/cmath.rst:214
296282
msgid ""
297-
"Return ``True`` if either the real or the imaginary part of *x* is a NaN, "
283+
"Return ``True`` if either the real or the imaginary part of *z* is a NaN, "
298284
"and ``False`` otherwise."
299-
msgstr "如果 *x* 的实部或者虚部是 NaN,则返回 ``True`` ,否则返回 ``False``。"
285+
msgstr ""
300286

301287
#: ../../library/cmath.rst:220
302288
msgid ""

0 commit comments

Comments
 (0)