Skip to content

Commit dc7f8ef

Browse files
[po] auto sync
1 parent 09c7fc2 commit dc7f8ef

File tree

8 files changed

+50
-38
lines changed

8 files changed

+50
-38
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "94.19%", "updated_at": "2024-08-23T20:28:27Z"}
1+
{"translation": "94.22%", "updated_at": "2024-08-30T20:29:16Z"}

library/array.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-08-23 16:12+0000\n"
14+
"POT-Creation-Date: 2024-08-30 16:14+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:21+0000\n"
1616
"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"
@@ -51,7 +51,7 @@ msgstr "Python 类型"
5151

5252
#: ../../library/array.rst:19
5353
msgid "Minimum size in bytes"
54-
msgstr "以字节为单位的最小大小"
54+
msgstr "最小字节数"
5555

5656
#: ../../library/array.rst:19
5757
msgid "Notes"

library/turtle.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-08-23 16:12+0000\n"
14+
"POT-Creation-Date: 2024-08-30 16:14+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:22+0000\n"
1616
"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"
@@ -2336,7 +2336,9 @@ msgid ""
23362336
"If you want to use no fill color (i.e. make the turtle transparent), you "
23372337
"have to write ``fillcolor = \"\"`` (but all nonempty strings must not have "
23382338
"quotes in the cfg file)."
2339-
msgstr "如果你想使用无填充色(即让海龟变透明),则你必须写 ``fillcolor = \"\"`` (但在cfg文件中,所有非空字符串都不可加引号)。"
2339+
msgstr ""
2340+
"如果你想使用无填充色(即让海龟变透明),则你必须写 ``fillcolor = \"\"`` (但在but all nonempty strings "
2341+
"must not have quotes in the cfg 文件中所有非空字符串都不可加引号)。"
23402342

23412343
#: ../../library/turtle.rst:2354
23422344
msgid ""

whatsnew/2.3.po

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-08-23 16:12+0000\n"
14+
"POT-Creation-Date: 2024-08-30 16:14+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:23+0000\n"
1616
"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"
@@ -146,7 +146,7 @@ msgid ""
146146
"the rest of this section."
147147
msgstr ""
148148
"在 Python 2.2 中,生成器作为一个可选特性被添加,需要通过 ``from __future__ import generators`` "
149-
"指令来启用。 在 2.3 版本中,生成器不再需要特别启用,现在总是存在;这意味着 :keyword:`yield` 现在始终是一个关键字。 "
149+
"指令来启用。 在 2.3 版本中,生成器不再需要特别启用,现在总是存在;这意味着 :keyword:`yield` 现在始终是一个关键字。 "
150150
"本节的其余部分是从《Python 2.2的新特性》文档中复制的生成器描述;如果你在 Python 2.2 发布时已经阅读过,可以跳过本节的其余部分。"
151151

152152
#: ../../whatsnew/2.3.rst:136
@@ -177,7 +177,7 @@ msgid ""
177177
"this is detected by Python's bytecode compiler which compiles the function "
178178
"specially as a result."
179179
msgstr ""
180-
"一个新的关键字 :keyword:`yield` 被引入用于生成器。 任何包含 :keyword:`!yield` 语句的函数都是生成器函数;这由 "
180+
"一个新的关键字 :keyword:`yield` 被引入用于生成器。 任何包含 :keyword:`!yield` 语句的函数都是生成器函数;这由 "
181181
"Python 的字节码编译器检测到,并因此对函数进行特殊编译。"
182182

183183
#: ../../whatsnew/2.3.rst:156
@@ -529,7 +529,7 @@ msgid ""
529529
msgstr ""
530530
"Python 2.3 中新增了一个用于编写日志的标准软件包 :mod:`logging`。 "
531531
"它为生成日志输出提供了一个强大而灵活的机制,这些输出可以通过各种方式进行过滤和处理。用标准格式编写的配置文件可以用来控制程序的日志行为。 Python "
532-
"包含的处理程序可以将日志记录写入标准错误、文件或套接字,发送到系统日志,甚至通过电子邮件发送到特定地址;当然,您也可以编写自己的处理程序类。"
532+
"包含的处理器可以将日志记录写入标准错误、文件或套接字,发送到系统日志,甚至通过电子邮件发送到特定地址;当然,您也可以编写自己的处理器类。"
533533

534534
#: ../../whatsnew/2.3.rst:453
535535
msgid ""
@@ -717,8 +717,8 @@ msgid ""
717717
"inserting an XML character reference or HTML entity reference into the "
718718
"converted string."
719719
msgstr ""
720-
"将 Unicode 字符串编码为字节字符串时,可能会遇到无法编码的字符。 到目前为止,Python 允许将错误处理指定为 \"strict\" (引发"
721-
" :exc:`UnicodeError`)、\"ignore\" (跳过该字符) 或 \"replace\" (在输出字符串中使用问号),其中 "
720+
"将 Unicode 字符串编码为字节字符串时,可能会遇到无法编码的字符。 到目前为止,Python 允许将错误处理指定为 \"strict\" (引发 "
721+
":exc:`UnicodeError`)、\"ignore\" (跳过该字符) 或 \"replace\" (在输出字符串中使用问号),其中 "
722722
"\"strict\" 是默认行为。 可能需要指定对此类错误的其他处理方式,例如在转换后的字符串中插入 XML 字符引用或 HTML 实体引用。"
723723

724724
#: ../../whatsnew/2.3.rst:630
@@ -1036,7 +1036,7 @@ msgid ""
10361036
"assignment to extended and regular slices. Assignment to a regular slice "
10371037
"can be used to change the length of the sequence::"
10381038
msgstr ""
1039-
"如果您有一个可变序列,如列表或数组,您可以对扩展切片进行赋值或删除,但对扩展切片的赋值与对常规切片的赋值有一些区别。对常规片段的赋值可以用来改变序列的长度:"
1039+
"如果你有一个可变序列如列表或数组,你可以对扩展切片进行赋值或删除,但对扩展切片的赋值与对常规切片的赋值有一些区别。对常规片段的赋值可以用来改变序列的长度:"
10401040

10411041
#: ../../whatsnew/2.3.rst:900
10421042
msgid ""
@@ -1047,7 +1047,7 @@ msgstr "扩展分片则没有这种灵活性。 在为扩展分片赋值时,
10471047

10481048
#: ../../whatsnew/2.3.rst:917
10491049
msgid "Deletion is more straightforward::"
1050-
msgstr "删除更为直接:"
1050+
msgstr "删除操作更为直观:"
10511051

10521052
#: ../../whatsnew/2.3.rst:928
10531053
msgid ""
@@ -1057,7 +1057,7 @@ msgstr ""
10571057

10581058
#: ../../whatsnew/2.3.rst:934
10591059
msgid "Or use slice objects directly in subscripts::"
1060-
msgstr "或者直接在下标中使用切分对象:"
1060+
msgstr "或者直接在下标中使用切片对象:"
10611061

10621062
#: ../../whatsnew/2.3.rst:939
10631063
msgid ""
@@ -1538,11 +1538,11 @@ msgstr "(由 Peter Åstrand 贡献。)"
15381538
msgid ""
15391539
"The :mod:`grp`, :mod:`pwd`, and :mod:`resource` modules now return enhanced "
15401540
"tuples::"
1541-
msgstr ""
1541+
msgstr "现在 :mod:`grp`, :mod:`pwd` 和 :mod:`resource` 模块将返回加强版的元组::"
15421542

15431543
#: ../../whatsnew/2.3.rst:1304
15441544
msgid "The :mod:`gzip` module can now handle files exceeding 2 GiB."
1545-
msgstr ""
1545+
msgstr "现在 :mod:`gzip` 模块能够处理超过 2 GiB 的文件。"
15461546

15471547
#: ../../whatsnew/2.3.rst:1306
15481548
msgid ""
@@ -2395,26 +2395,28 @@ msgstr "移植到 Python 2.3"
23952395
msgid ""
23962396
"This section lists previously described changes that may require changes to "
23972397
"your code:"
2398-
msgstr ""
2398+
msgstr "本节列出了先前描述的可能需要修改你的代码的改变:"
23992399

24002400
#: ../../whatsnew/2.3.rst:2020
24012401
msgid ""
24022402
":keyword:`yield` is now always a keyword; if it's used as a variable name in"
24032403
" your code, a different name must be chosen."
2404-
msgstr ""
2404+
msgstr "现在 :keyword:`yield` 始终是一个关键字;如果它在你的代码中被用作变量名,则必须选择不同的名称。"
24052405

24062406
#: ../../whatsnew/2.3.rst:2023
24072407
msgid ""
24082408
"For strings *X* and *Y*, ``X in Y`` now works if *X* is more than one "
24092409
"character long."
2410-
msgstr ""
2410+
msgstr "对于字符串 *X* 和 *Y*,``X in Y`` 现在当 *X* 长度超过一个字符时也是有效的。"
24112411

24122412
#: ../../whatsnew/2.3.rst:2026
24132413
msgid ""
24142414
"The :func:`int` type constructor will now return a long integer instead of "
24152415
"raising an :exc:`OverflowError` when a string or floating-point number is "
24162416
"too large to fit into an integer."
24172417
msgstr ""
2418+
"现在 :func:`int` 类型构造器在字符串或浮点数因太大而无法以整数类型来容纳时将返回一个长整数而不是引发 "
2419+
":exc:`OverflowError`。"
24182420

24192421
#: ../../whatsnew/2.3.rst:2030
24202422
msgid ""

whatsnew/2.4.po

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-04-26 19:05+0000\n"
14+
"POT-Creation-Date: 2024-08-30 16:14+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:23+0000\n"
1616
"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"
@@ -93,13 +93,17 @@ msgid ""
9393
"is immutable and hashable, it may be used as a dictionary key or as a member"
9494
" of another set."
9595
msgstr ""
96+
":func:`frozenset` 类型是 :func:`set` 的不可变版本。 "
97+
"由于它是不可变且不可哈希的对象,因而可被用作字典的键或另一个集合的成员。"
9698

9799
#: ../../whatsnew/2.4.rst:75
98100
msgid ""
99101
"The :mod:`sets` module remains in the standard library, and may be useful if"
100102
" you wish to subclass the :class:`Set` or :class:`ImmutableSet` classes. "
101103
"There are currently no plans to deprecate the module."
102104
msgstr ""
105+
":mod:`sets` 模块仍被保留在标准库中,如果你想要子类化 :class:`Set` 或 :class:`ImmutableSet` "
106+
"类时会很有用处。 目前还没有弃用该模块的计划。"
103107

104108
#: ../../whatsnew/2.4.rst:83
105109
msgid ":pep:`218` - Adding a Built-In Set Object Type"
@@ -886,11 +890,11 @@ msgstr "其他语言特性修改"
886890
msgid ""
887891
"Here are all of the changes that Python 2.4 makes to the core Python "
888892
"language."
889-
msgstr ""
893+
msgstr "以下是 Python 2.4 针对核心 Python 语言的所有改变。"
890894

891895
#: ../../whatsnew/2.4.rst:778
892896
msgid "Decorators for functions and methods were added (:pep:`318`)."
893-
msgstr ""
897+
msgstr "增加了用于函数和方法的装饰器 (:pep:`318`)。"
894898

895899
#: ../../whatsnew/2.4.rst:780
896900
msgid ""
@@ -1753,7 +1757,7 @@ msgstr "移植到 Python 2.4"
17531757
msgid ""
17541758
"This section lists previously described changes that may require changes to "
17551759
"your code:"
1756-
msgstr ""
1760+
msgstr "本节列出了先前描述的可能需要修改你的代码的改变:"
17571761

17581762
#: ../../whatsnew/2.4.rst:1515
17591763
msgid ""

whatsnew/2.5.po

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-08-02 16:01+0000\n"
14+
"POT-Creation-Date: 2024-08-30 16:14+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:23+0000\n"
1616
"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"
@@ -51,6 +51,10 @@ msgid ""
5151
" SQLite database module (:mod:`sqlite`), and the :mod:`ctypes` module for "
5252
"calling C functions."
5353
msgstr ""
54+
"Python 2.5 中的变化是语言本身和标准库改进的有趣混合。 我想,库的加强对 Python "
55+
"的用户社区来说会更重要一些,因为增加了多个被广泛应用的包。 新增模块包括用于 XML 处理的 ElementTree "
56+
"(:mod:`xml.etree`),SQLite 数据库模块 (:mod:`sqlite`),以及用于调用 C 函数的 :mod:`ctypes` "
57+
"模块。"
5458

5559
#: ../../whatsnew/2.5.rst:23
5660
msgid ""
@@ -762,13 +766,13 @@ msgstr ""
762766
msgid ""
763767
"The :mod:`threading` module's locks and condition variables also support "
764768
"the ':keyword:`with`' statement::"
765-
msgstr ""
769+
msgstr ":mod:`threading` 模块的加锁和条件变量也支持 ':keyword:`with`' 语句::"
766770

767771
#: ../../whatsnew/2.5.rst:622
768772
msgid ""
769773
"The lock is acquired before the block is executed and always released once "
770774
"the block is complete."
771-
msgstr ""
775+
msgstr "这个锁会在代码块被执行之前锁定并总是会在代码块完成之后释放。"
772776

773777
#: ../../whatsnew/2.5.rst:625
774778
msgid ""
@@ -2691,7 +2695,7 @@ msgstr "移植到Python 2.5"
26912695
msgid ""
26922696
"This section lists previously described changes that may require changes to "
26932697
"your code:"
2694-
msgstr ""
2698+
msgstr "本节列出了先前描述的可能需要修改你的代码的改变:"
26952699

26962700
#: ../../whatsnew/2.5.rst:2233
26972701
msgid ""

whatsnew/2.6.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.10\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-08-02 16:01+0000\n"
16+
"POT-Creation-Date: 2024-08-30 16:14+0000\n"
1717
"PO-Revision-Date: 2022-11-05 17:23+0000\n"
1818
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -424,13 +424,13 @@ msgstr ""
424424
msgid ""
425425
"The :mod:`threading` module's locks and condition variables also support "
426426
"the ':keyword:`with`' statement::"
427-
msgstr ""
427+
msgstr ":mod:`threading` 模块的加锁和条件变量也支持 ':keyword:`with`' 语句::"
428428

429429
#: ../../whatsnew/2.6.rst:309
430430
msgid ""
431431
"The lock is acquired before the block is executed and always released once "
432432
"the block is complete."
433-
msgstr ""
433+
msgstr "这个锁会在代码块被执行之前锁定并总是会在代码块完成之后释放。"
434434

435435
#: ../../whatsnew/2.6.rst:312
436436
msgid ""
@@ -1532,7 +1532,7 @@ msgstr "PEP 3129: 类装饰器"
15321532
msgid ""
15331533
"Decorators have been extended from functions to classes. It's now legal to "
15341534
"write::"
1535-
msgstr ""
1535+
msgstr "装饰器已从函数扩展到类。 现在可以合法地编写::"
15361536

15371537
#: ../../whatsnew/2.6.rst:1373
15381538
msgid "This is equivalent to::"
@@ -1548,7 +1548,7 @@ msgstr "PEP 由 Collin Winter 撰写"
15481548

15491549
#: ../../whatsnew/2.6.rst:1390
15501550
msgid "PEP 3141: A Type Hierarchy for Numbers"
1551-
msgstr ""
1551+
msgstr "PEP 3141: 数字的类型层级结构"
15521552

15531553
#: ../../whatsnew/2.6.rst:1392
15541554
msgid ""

whatsnew/3.3.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.10\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-08-23 16:12+0000\n"
14+
"POT-Creation-Date: 2024-08-30 16:14+0000\n"
1515
"PO-Revision-Date: 2022-11-05 17:23+0000\n"
1616
"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"
@@ -352,7 +352,7 @@ msgid ""
352352
"bit more memory, because Python may have to maintain two versions of each "
353353
"string (in the legacy format and in the new efficient storage)."
354354
msgstr ""
355-
"在 C API 方面,:pep:`393` 完全向后兼容。 旧的 API 至少还能使用五年。 使用传统 API "
355+
"在 C API 方面,:pep:`393` 完全向下兼容。 旧的 API 至少还能使用五年。 使用传统 API "
356356
"的应用程序不会完全受益于内存的减少,或者更糟的是,可能会使用更多的内存,因为 Python 可能需要维护每个字符串的两个版本(传统格式和新的高效存储)。"
357357

358358
#: ../../whatsnew/3.3.rst:227
@@ -370,14 +370,14 @@ msgid ""
370370
"between narrow and wide builds no longer exists and Python now behaves like "
371371
"a wide build, even under Windows."
372372
msgstr ""
373-
"Python 现在始终支持全部 Unicode 码位,包括非 BMP 码位 (即从 ``U+0000`` 到 ``U+10FFFF``)。 "
373+
"Python 现在始终支持全部 Unicode 码位,包括非 BMP 码位 (即从``U+0000`` 到 ``U+10FFFF``)。 "
374374
"窄编译版本和宽编译版本之间的区别已不复存在,Python 现在的行为就像宽编译版本,甚至在 Windows 下也是如此。"
375375

376376
#: ../../whatsnew/3.3.rst:236
377377
msgid ""
378378
"With the death of narrow builds, the problems specific to narrow builds have"
379379
" also been fixed, for example:"
380-
msgstr "例如,随着窄编译版本的消亡,窄编译版本特有的问题也得到了解决:"
380+
msgstr "随着窄编译版本的消亡,窄编译版本特有的问题也得到了解决,例如:"
381381

382382
#: ../../whatsnew/3.3.rst:239
383383
msgid ""
@@ -509,8 +509,8 @@ msgid ""
509509
" add the newly installed Python to the system PATH. (Contributed by Brian "
510510
"Curtin in :issue:`3561`.)"
511511
msgstr ""
512-
"除了启动器之外,Windows 安装程序现在还包含一个选项,可将新安装的 Python 添加到系统 PATH 中。 (由 Brian Curtin 在"
513-
" :issue:`3561` 中贡献)。"
512+
"除了启动器之外,Windows 安装程序现在还包含一个选项,可将新安装的 Python 添加到系统 PATH 中。 (由 Brian Curtin 在 "
513+
":issue:`3561` 中贡献)。"
514514

515515
#: ../../whatsnew/3.3.rst:317
516516
msgid ":pep:`397` - Python Launcher for Windows"

0 commit comments

Comments
 (0)