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

Skip to content

Commit 49bad1e

Browse files
[po] auto sync
1 parent fe41c23 commit 49bad1e

3 files changed

Lines changed: 19 additions & 16 deletions

File tree

library/ast.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# Dai Xu <[email protected]>, 2021
1313
# Alpha Du <[email protected]>, 2021
1414
# Bryan不可思议, 2022
15-
# BlueGlassBlock, 2022
15+
# Nyuan Zhang, 2022
1616
# Freesand Leo <[email protected]>, 2022
1717
#
1818
#, fuzzy

library/contextlib.po

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# zeroswan <[email protected]>, 2020
1111
# Heyi Tang <[email protected]>, 2020
1212
# Freesand Leo <[email protected]>, 2022
13+
# Nyuan Zhang, 2022
1314
#
1415
#, fuzzy
1516
msgid ""
@@ -18,7 +19,7 @@ msgstr ""
1819
"Report-Msgid-Bugs-To: \n"
1920
"POT-Creation-Date: 2021-06-05 06:33+0000\n"
2021
"PO-Revision-Date: 2017-02-16 23:04+0000\n"
21-
"Last-Translator: Freesand Leo <[email protected]>, 2022\n"
22+
"Last-Translator: Nyuan Zhang, 2022\n"
2223
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2324
"MIME-Version: 1.0\n"
2425
"Content-Type: text/plain; charset=UTF-8\n"
@@ -491,31 +492,31 @@ msgstr ""
491492
msgid ""
492493
"The :meth:`close` method is not implemented, :meth:`aclose` must be used "
493494
"instead."
494-
msgstr ""
495+
msgstr ":meth:`close` 方法没有被实现,使用 :meth:`aclose` 替代。"
495496

496497
#: ../../library/contextlib.rst:470
497498
msgid ""
498499
"Similar to :meth:`enter_context` but expects an asynchronous context "
499500
"manager."
500-
msgstr ""
501+
msgstr "与 :meth:`enter_context` 相近,但是需要一个异步上下文管理器。"
501502

502503
#: ../../library/contextlib.rst:475
503504
msgid ""
504505
"Similar to :meth:`push` but expects either an asynchronous context manager "
505506
"or a coroutine function."
506-
msgstr ""
507+
msgstr "与 :meth:`push` 相近,但是需要一个异步上下文管理器或协程函数。"
507508

508509
#: ../../library/contextlib.rst:480
509510
msgid "Similar to :meth:`callback` but expects a coroutine function."
510-
msgstr ""
511+
msgstr "与 :meth:`callback` 相近,但是需要一个协程函数。"
511512

512513
#: ../../library/contextlib.rst:484
513514
msgid "Similar to :meth:`close` but properly handles awaitables."
514-
msgstr ""
515+
msgstr "和 :meth:`close` 相近,但是它正确处理了可等待对象。"
515516

516517
#: ../../library/contextlib.rst:486
517518
msgid "Continuing the example for :func:`asynccontextmanager`::"
518-
msgstr ""
519+
msgstr "从 :func:`asynccontextmanager` 的例子继续:"
519520

520521
#: ../../library/contextlib.rst:498
521522
msgid "Examples and Recipes"
@@ -550,7 +551,7 @@ msgstr ""
550551

551552
#: ../../library/contextlib.rst:528
552553
msgid "Catching exceptions from ``__enter__`` methods"
553-
msgstr ""
554+
msgstr "捕获 ``__enter__`` 方法产生的异常"
554555

555556
#: ../../library/contextlib.rst:530
556557
msgid ""
@@ -574,7 +575,7 @@ msgstr ""
574575

575576
#: ../../library/contextlib.rst:555
576577
msgid "Cleaning up in an ``__enter__`` implementation"
577-
msgstr ""
578+
msgstr "在一个 ``__enter__`` 方法的实现中进行清理"
578579

579580
#: ../../library/contextlib.rst:557
580581
msgid ""
@@ -644,13 +645,13 @@ msgstr ""
644645

645646
#: ../../library/contextlib.rst:675
646647
msgid "Using a context manager as a function decorator"
647-
msgstr ""
648+
msgstr "将上下文管理器作为函数装饰器使用"
648649

649650
#: ../../library/contextlib.rst:677
650651
msgid ""
651652
":class:`ContextDecorator` makes it possible to use a context manager in both"
652653
" an ordinary ``with`` statement and also as a function decorator."
653-
msgstr ""
654+
msgstr ":class:`ContextDecorator` 类允许将上下文管理器作为函数装饰器使用,而不仅在 ``with`` 语句块中使用。"
654655

655656
#: ../../library/contextlib.rst:680
656657
msgid ""
@@ -663,11 +664,11 @@ msgstr ""
663664

664665
#: ../../library/contextlib.rst:701
665666
msgid "Instances of this class can be used as both a context manager::"
666-
msgstr ""
667+
msgstr "这个类的实例既可以被用作上下文管理器:"
667668

668669
#: ../../library/contextlib.rst:707
669670
msgid "And also as a function decorator::"
670-
msgstr ""
671+
msgstr "也可以被用作函数装饰器:"
671672

672673
#: ../../library/contextlib.rst:714
673674
msgid ""
@@ -676,6 +677,8 @@ msgid ""
676677
":meth:`__enter__`. If that value is needed, then it is still necessary to "
677678
"use an explicit ``with`` statement."
678679
msgstr ""
680+
"使用上下文管理器作为函数装饰器时,有一个额外限制:没有办法得到 :meth:`__enter__` 的返回值。如果需要返回值,你仍然需要显式使用 "
681+
"``with`` 语句。"
679682

680683
#: ../../library/contextlib.rst:722
681684
msgid ":pep:`343` - The \"with\" statement"

library/importlib.metadata.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# eric R <[email protected]>, 2019
88
# Alpha Du <[email protected]>, 2019
99
# Freesand Leo <[email protected]>, 2019
10-
# BlueGlassBlock, 2022
10+
# Nyuan Zhang, 2022
1111
#
1212
#, fuzzy
1313
msgid ""
@@ -16,7 +16,7 @@ msgstr ""
1616
"Report-Msgid-Bugs-To: \n"
1717
"POT-Creation-Date: 2021-07-18 06:55+0000\n"
1818
"PO-Revision-Date: 2019-09-01 14:41+0000\n"
19-
"Last-Translator: BlueGlassBlock, 2022\n"
19+
"Last-Translator: Nyuan Zhang, 2022\n"
2020
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2121
"MIME-Version: 1.0\n"
2222
"Content-Type: text/plain; charset=UTF-8\n"

0 commit comments

Comments
 (0)