Skip to content

Commit 6c5de37

Browse files
[po] auto sync
1 parent 54e78c0 commit 6c5de37

15 files changed

Lines changed: 386 additions & 314 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "94.08%", "updated_at": "2024-07-20T06:57:25Z"}
1+
{"translation": "94.12%", "updated_at": "2024-07-20T20:57:23Z"}

c-api/number.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
# Translators:
77
# 心韵 方 <fxy9905@gmail.com>, 2024
88
# Azuk 443 <me@azuk.top>, 2024
9-
# Freesand Leo <yuqinju@163.com>, 2024
109
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
10+
# Freesand Leo <yuqinju@163.com>, 2024
1111
#
1212
#, fuzzy
1313
msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.13\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2024-07-19 14:16+0000\n"
17+
"POT-Creation-Date: 2024-07-20 00:52+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
19-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
19+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2020
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2121
"MIME-Version: 1.0\n"
2222
"Content-Type: text/plain; charset=UTF-8\n"
@@ -77,6 +77,9 @@ msgid ""
7777
"floating-point value when passed two integers. This is the equivalent of "
7878
"the Python expression ``o1 / o2``."
7979
msgstr ""
80+
"返回 *o1* 除以 *o2* 的数学值的合理近似值,或失败时返回 ``NULL``。 返回的是 \"近似值\" "
81+
"因为二进制浮点数本身就是近似值;不可能以二进制精确表示所有实数。 此函数可以在传入两个整数时返回一个浮点值。 此函数等价于 Python 表达式 "
82+
"``o1 / o2``。"
8083

8184
#: ../../c-api/number.rst:61
8285
msgid ""
@@ -213,6 +216,9 @@ msgid ""
213216
"place* when *o1* supports it. This is the equivalent of the Python statement"
214217
" ``o1 /= o2``."
215218
msgstr ""
219+
"返回 *o1* 除以 *o2* 的数学值的合理近似值,或失败时返回 ``NULL``。 返回的是 \"近似值\" "
220+
"因为二进制浮点数本身就是近似值;不可能以二进制精确表示所有实数。 此函数可以在传入两个整数时返回一个浮点数。 此运算在 *o1* 支持的时候会 *原地*"
221+
" 执行。此函数等价于 Python 语句 ``o1 /= o2``。"
216222

217223
#: ../../c-api/number.rst:188
218224
msgid ""

library/array.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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-07-19 14:16+0000\n"
20+
"POT-Creation-Date: 2024-07-20 00:52+0000\n"
2121
"PO-Revision-Date: 2021-06-28 00:54+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"
@@ -40,6 +40,8 @@ msgid ""
4040
"creation time by using a :dfn:`type code`, which is a single character. The"
4141
" following type codes are defined:"
4242
msgstr ""
43+
"此模块定义了一种对象类型,可以紧凑地表示由基本值(字符、整数、浮点数)组成的数组。数组是序列类型,其行为与列表非常相似,不同之处在于其中存储的对象类型是受限的,在数组对象创建时用单个字符的"
44+
" :dfn:`类型码` 来指定。已定义的类型码如下:"
4345

4446
#: ../../library/array.rst:19
4547
msgid "Type code"
@@ -479,6 +481,10 @@ msgid ""
479481
"must also be defined if it contains corresponding floating-point values. "
480482
"Examples::"
481483
msgstr ""
484+
"数组对象的字符串表示形式是 ``array(typecode, initializer)``。 如果数组为空则 *initializer* "
485+
"将被省略,否则如果 *typecode* 为 ``'u'`` 或 ``'w'`` 则为 Unicode 字符串,否则为由数字组成的列表。 只要 "
486+
":class:`~array.array` 类是使用 ``from array import array`` 导入的,该字符串表示形式就保证能使用 "
487+
":func:`eval` 转换回具有相同类型和值的数组。 如果它包含相应的浮点数值则还必须定义变量 ``inf`` 和 ``nan``。 例如::"
482488

483489
#: ../../library/array.rst:277
484490
msgid "Module :mod:`struct`"

library/colorsys.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.13\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-07-19 14:16+0000\n"
15+
"POT-Creation-Date: 2024-07-20 00:52+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:57+0000\n"
1717
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -40,6 +40,10 @@ msgid ""
4040
"coordinate is between 0 and 1, but the I and Q coordinates can be positive "
4141
"or negative. In all other spaces, the coordinates are all between 0 and 1."
4242
msgstr ""
43+
":mod:`colorsys` 模块定义了计算机显示器所用的 RGB (Red Green Blue) 色彩空间与三种其他色彩坐标系统 YIQ, HLS"
44+
" (Hue Lightness Saturation) 和 HSV (Hue Saturation Value) 表示的颜色值之间的双向转换。 "
45+
"所有这些色彩空间的坐标都使用浮点数值来表示。 在 YIQ 空间中,Y 坐标取值为 0 和 1 之间,而 I 和 Q 坐标均可以为正数或负数。 "
46+
"在所有其他空间中,坐标取值均为 0 和 1 之间。"
4347

4448
#: ../../library/colorsys.rst:23
4549
msgid ""

library/email.utils.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.13\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2024-07-19 14:16+0000\n"
18+
"POT-Creation-Date: 2024-07-20 00:52+0000\n"
1919
"PO-Revision-Date: 2021-06-28 01:05+0000\n"
2020
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2121
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -225,6 +225,8 @@ msgid ""
225225
":func:`time.gmtime` and :func:`time.localtime`, otherwise the current time "
226226
"is used."
227227
msgstr ""
228+
"可选的 *timeval* 如果给出,则是一个可被 :func:`time.gmtime` 和 :func:`time.localtime` "
229+
"接受的浮点数时间值,否则会使用当前时间。"
228230

229231
#: ../../library/email.utils.rst:166
230232
msgid ""

library/exceptions.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.13\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-07-19 14:16+0000\n"
16+
"POT-Creation-Date: 2024-07-20 00:52+0000\n"
1717
"PO-Revision-Date: 2021-06-28 01:05+0000\n"
1818
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -563,6 +563,9 @@ msgid ""
563563
"range. Because of the lack of standardization of floating-point exception "
564564
"handling in C, most floating-point operations are not checked."
565565
msgstr ""
566+
"当算术运算的结果大到无法表示时将被引发。 这对整数来说不可能发生(宁可引发 :exc:`MemoryError` 也不会放弃尝试)。 "
567+
"但是出于历史原因,有时也会在整数超出要求范围的情况下引发 OverflowError。 因为在 C "
568+
"中缺少对浮点异常处理的标准化,大多数浮点运算都不会做检查。"
566569

567570
#: ../../library/exceptions.rst:421
568571
msgid ""

library/fractions.po

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.13\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2024-07-19 14:16+0000\n"
17+
"POT-Creation-Date: 2024-07-20 00:52+0000\n"
1818
"PO-Revision-Date: 2021-06-28 01:06+0000\n"
1919
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2020
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -60,6 +60,15 @@ msgid ""
6060
"below.) The last version of the constructor expects a string or unicode "
6161
"instance. The usual form for this instance is::"
6262
msgstr ""
63+
"第一个版本要求 *numerator* 和 *denominator* 是 :class:`numbers.Rational` 的实例,并返回一个值为 "
64+
"``numerator/denominator`` 的新 :class:`Fraction` 实例。 如果 *denominator* 是 ``0`` "
65+
"则会引发 :exc:`ZeroDivisionError`。 第二个版本要求 *other_fraction* 是 "
66+
":class:`numbers.Rational` 的实例,并返回具有相同值的 :class:`Fraction` 实例。 接下来的两个版本接受 "
67+
":class:`float` 或 :class:`decimal.Decimal` 实例,并返回具有完全相同值的 :class:`Fraction` "
68+
"实例。 请注意由于二进制浮点运算通常存在的问题 (参见 :ref:`tut-fp-issues`),``Fraction(1.1)`` "
69+
"的参数并不完全等于 11/10,因此 ``Fraction(1.1)`` 也 *不会* 像人们所期望的那样返回 ``Fraction(11, "
70+
"10)``。 (请参阅下面 :meth:`limit_denominator` 方法的文档。) 最后一个版本的构造器接受一个字符串或 unicode "
71+
"实例。 该实例的通常形式为::"
6372

6473
#: ../../library/fractions.rst:43
6574
msgid ""

library/ftplib.po

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.13\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2024-05-11 18:37+0000\n"
17+
"POT-Creation-Date: 2024-07-20 00:52+0000\n"
1818
"PO-Revision-Date: 2021-06-28 01:06+0000\n"
1919
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2020
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -263,9 +263,9 @@ msgstr ""
263263
msgid "Retrieve a file in binary transfer mode."
264264
msgstr "以二进制传输模式获取一个文件。"
265265

266-
#: ../../library/ftplib.rst:245 ../../library/ftplib.rst:289
267-
msgid "An appropriate ``STOR`` command: :samp:`\"STOR {filename}\"`."
268-
msgstr "一个正确的 ``STOR`` 命令: :samp:`\"STOR {filename}\"`。"
266+
#: ../../library/ftplib.rst:245
267+
msgid "An appropriate ``RETR`` command: :samp:`\"RETR {filename}\"`."
268+
msgstr "一个正确的 ``RETR`` 命令: :samp:`\"RETR {filename}\"`。"
269269

270270
#: ../../library/ftplib.rst:248
271271
msgid ""
@@ -316,6 +316,10 @@ msgstr "如果 *val* 为 true,则打开“被动”模式,否则禁用被动
316316
msgid "Store a file in binary transfer mode."
317317
msgstr "以二进制传输模式存储一个文件。"
318318

319+
#: ../../library/ftplib.rst:289
320+
msgid "An appropriate ``STOR`` command: :samp:`\"STOR {filename}\"`."
321+
msgstr "一个正确的 ``STOR`` 命令: :samp:`\"STOR {filename}\"`。"
322+
319323
#: ../../library/ftplib.rst:292
320324
msgid ""
321325
"A file object (opened in binary mode) which is read until EOF, using its "

library/locale.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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-07-19 14:16+0000\n"
20+
"POT-Creation-Date: 2024-07-20 00:52+0000\n"
2121
"PO-Revision-Date: 2021-06-28 01:08+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"
@@ -664,6 +664,8 @@ msgid ""
664664
"point values, the decimal point is modified if appropriate. If *grouping* "
665665
"is ``True``, also takes the grouping into account."
666666
msgstr ""
667+
"根据当前的 :const:`LC_NUMERIC` 设置对数字 *val* 进行格式化。 此格式将遵循 ``%`` 运算符的约定。 "
668+
"对于浮点数值,会根据具体情况修改小数点。 如果 *grouping* 为 ``True``,还会将分组纳入考虑。"
667669

668670
#: ../../library/locale.rst:431
669671
msgid ""
@@ -707,7 +709,7 @@ msgstr "此函数将不适用于 'C' 语言区域,所以你必须先通过 :fu
707709
msgid ""
708710
"Formats a floating-point number using the same format as the built-in "
709711
"function ``str(float)``, but takes the decimal point into account."
710-
msgstr ""
712+
msgstr "对浮点数进行格式化,格式要求与内置函数 ``str(float)`` 相同,但会考虑小数点。"
711713

712714
#: ../../library/locale.rst:464
713715
msgid ""

library/marshal.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.13\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2024-07-19 14:16+0000\n"
18+
"POT-Creation-Date: 2024-07-20 00:52+0000\n"
1919
"PO-Revision-Date: 2021-06-28 01:09+0000\n"
2020
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2024\n"
2121
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -86,6 +86,11 @@ msgid ""
8686
"unmarshalled. For format *version* lower than 3, recursive lists, sets and "
8787
"dictionaries cannot be written (see below)."
8888
msgstr ""
89+
"并非所有 Python 对象类型都受到支持;通常,此模块只能写入和读取不依赖于特定 Python 调用发起方式的对象值。 "
90+
"下列类型是受支持的:布尔对象、整数、浮点数、复数、字符串、字节串、字节数组、元组、列表、集合、冻结集合、字典以及代码对象(如果 *allow_code*"
91+
" 为真值),需要了解的一点是元组、列表、集合、冻结集合和字典只在其所包含的值也受支持时才是受支持的。 单例对象 :const:`None`, "
92+
":const:`Ellipsis` 和 :exc:`StopIteration` 也可以执行 marshall 和 unmarshall。 对于 "
93+
"*version* 小于 3 的格式,将无法写入递归的列表、集合以及字典(见下文)。"
8994

9095
#: ../../library/marshal.rst:56
9196
msgid ""
@@ -222,6 +227,8 @@ msgid ""
222227
" for floating-point numbers. Version 3 adds support for object instancing "
223228
"and recursion. The current version is 4."
224229
msgstr ""
230+
"指明模块所使用的格式。 第 0 版为历史格式,第 1 版为共享固化的字符串,第 2 版对浮点数使用二进制格式。 第 3 "
231+
"版添加了对于对象实例化和递归的支持。 目前使用的为第 4 版。"
225232

226233
#: ../../library/marshal.rst:151
227234
msgid "Footnotes"

0 commit comments

Comments
 (0)