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

Skip to content

Commit 0e32759

Browse files
[po] auto sync
1 parent 5c11cb7 commit 0e32759

5 files changed

Lines changed: 44 additions & 25 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "88.92%", "updated_at": "2023-08-26T08:42:06Z"}
1+
{"translation": "88.94%", "updated_at": "2023-08-30T15:42:52Z"}

library/os.po

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <[email protected]>, 2023
87
# Rafael Fontenelle <[email protected]>, 2023
8+
# 钟旭尧 <[email protected]>, 2023
9+
# Freesand Leo <[email protected]>, 2023
910
#
1011
#, fuzzy
1112
msgid ""
1213
msgstr ""
1314
"Project-Id-Version: Python 3.11\n"
1415
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-08-25 14:43+0000\n"
16+
"POT-Creation-Date: 2023-08-25 22:59+0000\n"
1617
"PO-Revision-Date: 2023-05-24 02:18+0000\n"
17-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
18+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2023\n"
1819
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -429,6 +430,8 @@ msgid ""
429430
"cause memory leaks. Refer to the system documentation for "
430431
":c:func:`!putenv`."
431432
msgstr ""
433+
"在某些平台上,包括 FreeBSD 和 macOS,设置 ``environ`` 可能导致内存泄漏。 请参阅 :c:func:`!putenv` "
434+
"的系统文档。"
432435

433436
#: ../../library/os.rst:220
434437
msgid ""
@@ -3682,7 +3685,7 @@ msgstr "文件生成号。"
36823685

36833686
#: ../../library/os.rst:2909
36843687
msgid "Time of file creation."
3685-
msgstr ""
3688+
msgstr "文件创建时的时间。"
36863689

36873690
#: ../../library/os.rst:2911
36883691
msgid ""

library/re.po

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <[email protected]>, 2023
87
# Rafael Fontenelle <[email protected]>, 2023
8+
# 钟旭尧 <[email protected]>, 2023
9+
# Freesand Leo <[email protected]>, 2023
910
#
1011
#, fuzzy
1112
msgid ""
1213
msgstr ""
1314
"Project-Id-Version: Python 3.11\n"
1415
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-08-25 20:36+0000\n"
16+
"POT-Creation-Date: 2023-08-25 22:59+0000\n"
1617
"PO-Revision-Date: 2023-05-24 02:19+0000\n"
17-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
18+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2023\n"
1819
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -63,6 +64,11 @@ msgid ""
6364
" the future this will become a :exc:`SyntaxError`. This behaviour will "
6465
"happen even if it is a valid escape sequence for a regular expression."
6566
msgstr ""
67+
"正则表达式使用反斜杠字符 (``'\\'``) 来表示特殊形式或允许使用特殊字符而不表达其特殊含义。 这与 Python "
68+
"为相同目的在字符串字面量中使用相同字符的做法相冲突;例如,要匹配一个反斜杠字面量,我们可能不得不写``'\\\\\\\\'`` "
69+
"作为模式字符串,因为正则表达式必须是 ``\\\\``,而每个反斜杠必须在正则 Python 字符串字面量中表示为 ``\\\\``。 另外,请注意 "
70+
"Python 在字符串字面中使用反斜杠时,任何无效的转义序列现在都会生成 :exc:`DeprecationWarning` ,将来会变成 "
71+
":exc:`SyntaxError`。 即使它是正则表达式的有效转义序列,这种行为也会发生。"
6672

6773
#: ../../library/re.rst:36
6874
msgid ""
@@ -1936,8 +1942,8 @@ msgid ""
19361942
"ace, \"k\" for king, \"q\" for queen, \"j\" for jack, \"t\" for 10, and "
19371943
"\"2\" through \"9\" representing the card with that value."
19381944
msgstr ""
1939-
"假设你在写一个扑克程序,一个玩家的一手牌为五个字符的串,每个字符表示一张牌,\"a\" 就是 A, \"k\" K, \"q\" Q, \"j\" "
1940-
"J, \"t\" 10, \"2\"\"9\" 表示2 到 9。"
1945+
"假设你在写一个扑克程序,一个玩家的一手牌为5个字符的字符串,每个字符表示一张牌,\"a\" 就是 A, \"k\" 就是 K, \"q\" 就是 Q, "
1946+
"\"j\"就是 J, \"t\" 就是 10, \"2\"\"9\" 表示2 到 9。"
19411947

19421948
#: ../../library/re.rst:1498
19431949
msgid "To see if a given string is a valid hand, one could do the following::"

library/typing.po

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <[email protected]>, 2023
87
# Rafael Fontenelle <[email protected]>, 2023
8+
# 钟旭尧 <[email protected]>, 2023
9+
# Freesand Leo <[email protected]>, 2023
910
#
1011
#, fuzzy
1112
msgid ""
1213
msgstr ""
1314
"Project-Id-Version: Python 3.11\n"
1415
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-08-18 14:42+0000\n"
16+
"POT-Creation-Date: 2023-08-25 22:59+0000\n"
1617
"PO-Revision-Date: 2023-05-24 02:21+0000\n"
17-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
18+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2023\n"
1819
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -492,7 +493,7 @@ msgstr ""
492493
msgid ""
493494
"For most containers in Python, the typing system assumes that all elements "
494495
"in the container will be of the same type. For example::"
495-
msgstr ""
496+
msgstr "对于 Python 中的大多数容器,类型系统假定容器中的所有元素都是相同类型的。例如:"
496497

497498
#: ../../library/typing.rst:390
498499
msgid ""
@@ -502,6 +503,8 @@ msgid ""
502503
" indicates the type of the keys, and the second indicates the type of the "
503504
"values."
504505
msgstr ""
506+
":class:`list` 只接受一个类型参数,因此类型检查程序会对上述对 ``y`` 的赋值报错。同样, "
507+
":class:`~collections.abc.Mapping` 只接受两个类型参数:第一个参数表示键的类型,第二个参数表示值的类型。 "
505508

506509
#: ../../library/typing.rst:396
507510
msgid ""
@@ -510,6 +513,8 @@ msgid ""
510513
"For this reason, tuples are special-cased in Python's typing system. "
511514
":class:`tuple` accepts *any number* of type arguments::"
512515
msgstr ""
516+
"然而,与大多数其它 Python 容器不同的是,在 Python 惯用代码中,元组中的元素并不都是相同类型的,这种情况很常见。因此,在 Python "
517+
"的类型系统中,元组被特殊化了。:class:`tuple` 接受*任意数量*的类型参数:"
513518

514519
#: ../../library/typing.rst:412
515520
msgid ""
@@ -518,10 +523,12 @@ msgid ""
518523
" use ``tuple[()]``. Using plain ``tuple`` as an annotation is equivalent to "
519524
"using ``tuple[Any, ...]``::"
520525
msgstr ""
526+
"要表示一个 *任意* 长度的元组,并使其中所有元素的类型都为``T`` ,请使用``tuple[T, ...]`` "
527+
"。要表示空元组,请使用``tuple[()]`` 。使用``tuple`` 作为注释等同于使用``tuple[Any, ...]``:"
521528

522529
#: ../../library/typing.rst:435
523530
msgid "The type of class objects"
524-
msgstr ""
531+
msgstr "类对象 的类型"
525532

526533
#: ../../library/typing.rst:437
527534
msgid ""
@@ -583,7 +590,7 @@ msgstr ":class:`Generic` 类型变量的参数应各不相同。下列代码就
583590

584591
#: ../../library/typing.rst:545
585592
msgid "You can use multiple inheritance with :class:`Generic`::"
586-
msgstr ""
593+
msgstr "您可以通过 :class:`Generic` 来使用多重继承:"
587594

588595
#: ../../library/typing.rst:555
589596
msgid ""
@@ -603,7 +610,7 @@ msgstr ""
603610

604611
#: ../../library/typing.rst:578
605612
msgid "User-defined generic type aliases are also supported. Examples::"
606-
msgstr ""
613+
msgstr "用户定义的通用类型别名也同样被支持。示例:"
607614

608615
#: ../../library/typing.rst:595
609616
msgid ":class:`Generic` no longer has a custom metaclass."
@@ -770,7 +777,7 @@ msgstr "模块内容"
770777
msgid ""
771778
"The ``typing`` module defines the following classes, functions and "
772779
"decorators."
773-
msgstr ""
780+
msgstr "``typing`` 模块定义了以下类、函数和装饰器。"
774781

775782
#: ../../library/typing.rst:764
776783
msgid "Special typing primitives"
@@ -811,7 +818,7 @@ msgstr ""
811818

812819
#: ../../library/typing.rst:788
813820
msgid "Definition::"
814-
msgstr ""
821+
msgstr "定义:"
815822

816823
#: ../../library/typing.rst:792
817824
msgid ""

whatsnew/3.11.po

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
# WH-2099 <[email protected]>, 2023
88
# Freesand Leo <[email protected]>, 2023
99
# Rafael Fontenelle <[email protected]>, 2023
10+
# 钟旭尧 <[email protected]>, 2023
1011
#
1112
#, fuzzy
1213
msgid ""
1314
msgstr ""
1415
"Project-Id-Version: Python 3.11\n"
1516
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2023-08-25 14:43+0000\n"
17+
"POT-Creation-Date: 2023-08-25 22:59+0000\n"
1718
"PO-Revision-Date: 2023-05-24 02:23+0000\n"
18-
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
19+
"Last-Translator: 钟旭尧 <python_zhong@qq.com>, 2023\n"
1920
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
@@ -786,8 +787,8 @@ msgid ""
786787
"Added the :class:`~asyncio.Runner` class, which exposes the machinery used "
787788
"by :func:`~asyncio.run`. (Contributed by Andrew Svetlov in :gh:`91218`.)"
788789
msgstr ""
789-
"增加了 :class:`~asyncio.Runner` 类,该类对外公开了 :func:`~asyncio.run` 所使用的机制。 (由 "
790-
"Andrew Svetlov 在 :gh:`91218` 中贡献。).)"
790+
"增加了 :class:`~asyncio.Runner` 类,该类对外公开了 :func:`~asyncio.run` 所使用的机制。(由 Andrew"
791+
" Svetlov 在 :gh:`91218` 中贡献。)"
791792

792793
#: ../../whatsnew/3.11.rst:595
793794
msgid ""
@@ -829,7 +830,7 @@ msgstr ""
829830
":meth:`~asyncio.loop.sock_recvfrom` 和 "
830831
":meth:`~asyncio.loop.sock_recvfrom_into`。 这些函数在 "
831832
":class:`~asyncio.SelectorEventLoop` 和 :class:`~asyncio.ProactorEventLoop` "
832-
"中均有实现。 (由 Alex Grönholm 在 :issue:`46805` 中贡献。).)"
833+
"中均有实现。(由 Alex Grönholm 在 :issue:`46805` 中贡献。)"
833834

834835
#: ../../whatsnew/3.11.rst:615
835836
msgid ""
@@ -852,7 +853,7 @@ msgid ""
852853
"around :func:`~os.chdir`. (Contributed by Filipe Laíns in :issue:`25625`)"
853854
msgstr ""
854855
"增加了非并行安全的 :func:`~contextlib.chdir` 上下文管理器用来改变当前工作目录并在退出时恢复它。 是 "
855-
":func:`~os.chdir` 的简单包装器。 (由 Filipe Laíns 在 :issue:`25625` 中贡献))"
856+
":func:`~os.chdir` 的简单包装器。(由 Filipe Laíns 在 :issue:`25625` 中贡献)"
856857

857858
#: ../../whatsnew/3.11.rst:634
858859
msgid "dataclasses"
@@ -4751,6 +4752,8 @@ msgid ""
47514752
":c:func:`!PyFrame_BlockSetup` and :c:func:`!PyFrame_BlockPop` have been "
47524753
"removed. (Contributed by Mark Shannon in :issue:`40222`.)"
47534754
msgstr ""
4755+
":c:func:`!PyFrame_BlockSetup` 和 :c:func:`!PyFrame_BlockPop` 已被移除。(由 Mark "
4756+
"Shannon 在 :issue:`40222` 中贡献。)"
47544757

47554758
#: ../../whatsnew/3.11.rst:2625
47564759
msgid "Remove the following math macros using the ``errno`` variable:"

0 commit comments

Comments
 (0)