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

Skip to content

Commit 8e639f8

Browse files
committed
[po] auto sync bot
1 parent 84f7e8e commit 8e639f8

1 file changed

Lines changed: 22 additions & 23 deletions

File tree

library/importlib.po

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
# Fei Yin <[email protected]>, 2018
99
# Zombie110year <[email protected]>, 2019
1010
# Meng Du <[email protected]>, 2019
11-
# Freesand Leo <[email protected]>, 2019
1211
# leollon <[email protected]>, 2019
12+
# Freesand Leo <[email protected]>, 2019
1313
#
1414
#, fuzzy
1515
msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2020
"PO-Revision-Date: 2017-02-16 23:15+0000\n"
21-
"Last-Translator: leollon <mssm.good@outlook.com>, 2019\n"
21+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
2222
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2323
"MIME-Version: 1.0\n"
2424
"Content-Type: text/plain; charset=UTF-8\n"
@@ -465,7 +465,7 @@ msgid ""
465465
"``None`` is returned."
466466
msgstr ""
467467
"一个用于查找指定的模块中 :term:`loader` 的遗留方法。如果这是最高层级的导入,*path* 的值将会是 ``None``。 "
468-
"否则,这是一个查找子包或者模块的方法并且 *path* 的值将会是来自父包的 :attr:``__path__`` 的值。如果未发现加载器,返回 "
468+
"否则,这是一个查找子包或者模块的方法并且 *path* 的值将会是来自父包的 :attr:``__path__`` 的值。 如果未发现加载器,返回 "
469469
"``None``。"
470470

471471
#: ../../library/importlib.rst:288
@@ -616,7 +616,7 @@ msgstr ""
616616

617617
#: ../../library/importlib.rst:400
618618
msgid ":meth:`~importlib.abc.Loader.create_module` must also be defined."
619-
msgstr ""
619+
msgstr ":meth:`~importlib.abc.Loader.create_module` 也必须被定义。"
620620

621621
#: ../../library/importlib.rst:405
622622
msgid ""
@@ -634,11 +634,10 @@ msgid ""
634634
"modules already in :data:`sys.modules` before the loader began execution "
635635
"should be left alone (see :func:`importlib.util.module_for_loader`)."
636636
msgstr ""
637-
"如果请求的模块已经存在 "
638-
":data:`sys.modules`,应该使用并且重新加载那个模块。否则加载器应该是创建一个新的模块并且在任何家过程开始之前将这个新模块插入到 "
639-
":data:`sys.modules` 中,来阻止递归导入。如果加载器插入了一个模块并且加载失败了,加载器必须从 :data:`sys.modules`"
640-
" 中将这个模块移除。在加载器开始执行之前,已经在 :data:`sys.modules` 中的模块应该被忽略(查看 "
641-
":func:`importlib.util.module_for_loader`)。"
637+
"如果请求的模块已经存在 :data:`sys.modules`,应该使用并且重新加载那个模块。 "
638+
"否则加载器应该是创建一个新的模块并且在任何家过程开始之前将这个新模块插入到 :data:`sys.modules` 中,来阻止递归导入。 "
639+
"如果加载器插入了一个模块并且加载失败了,加载器必须从 :data:`sys.modules` 中将这个模块移除。在加载器开始执行之前,已经在 "
640+
":data:`sys.modules` 中的模块应该被忽略 (查看 :func:`importlib.util.module_for_loader`)。"
642641

643642
#: ../../library/importlib.rst:418
644643
msgid ""
@@ -648,15 +647,15 @@ msgstr "加载器应该在模块上面设置几个属性。(要知道当重新
648647

649648
#: ../../library/importlib.rst:423
650649
msgid ":attr:`__name__`"
651-
msgstr ""
650+
msgstr ":attr:`__name__`"
652651

653652
#: ../../library/importlib.rst:423
654653
msgid "The name of the module."
655654
msgstr "模块的名字"
656655

657656
#: ../../library/importlib.rst:427
658657
msgid ":attr:`__file__`"
659-
msgstr ""
658+
msgstr ":attr:`__file__`"
660659

661660
#: ../../library/importlib.rst:426
662661
msgid ""
@@ -665,7 +664,7 @@ msgstr "模块数据存储的路径(不是为了内置的模块而设置)"
665664

666665
#: ../../library/importlib.rst:431
667666
msgid ":attr:`__cached__`"
668-
msgstr ""
667+
msgstr ":attr:`__cached__`"
669668

670669
#: ../../library/importlib.rst:430
671670
msgid ""
@@ -675,7 +674,7 @@ msgstr "被存储或应该被存储的模块的编译版本的路径(当这个
675674

676675
#: ../../library/importlib.rst:435
677676
msgid ":attr:`__path__`"
678-
msgstr ""
677+
msgstr ":attr:`__path__`"
679678

680679
#: ../../library/importlib.rst:434
681680
msgid ""
@@ -685,7 +684,7 @@ msgstr "指定在一个包中搜索路径的一个字符串列表。这个属性
685684

686685
#: ../../library/importlib.rst:441
687686
msgid ":attr:`__package__`"
688-
msgstr ""
687+
msgstr ":attr:`__package__`"
689688

690689
#: ../../library/importlib.rst:438
691690
msgid ""
@@ -694,12 +693,12 @@ msgid ""
694693
":func:`importlib.util.module_for_loader` decorator can handle the details "
695694
"for :attr:`__package__`."
696695
msgstr ""
697-
"模块/包的父包。如果这个模块是最上层的,那么它是一个为空字符串的值。 "
698-
":func:`importlib.util.module_for_loader`装饰器可以处理 :attr:`__package__`的细节。"
696+
"模块/包的父包。如果这个模块是最上层的,那么它是一个为空字符串的值。 :func:`importlib.util.module_for_loader` "
697+
"装饰器可以处理 :attr:`__package__` 的细节。"
699698

700699
#: ../../library/importlib.rst:446
701700
msgid ":attr:`__loader__`"
702-
msgstr ""
701+
msgstr ":attr:`__loader__`"
703702

704703
#: ../../library/importlib.rst:444
705704
msgid ""
@@ -708,7 +707,7 @@ msgid ""
708707
"for :attr:`__package__`."
709708
msgstr ""
710709
"用来加载那个模块的加载器。 :func:`importlib.util.module_for_loader` 装饰器可以处理 "
711-
":attr:`__package__`的细节。"
710+
":attr:`__package__` 的细节。"
712711

713712
#: ../../library/importlib.rst:448
714713
msgid ""
@@ -721,7 +720,7 @@ msgid ""
721720
"Raise :exc:`ImportError` when called instead of :exc:`NotImplementedError`. "
722721
"Functionality provided when :meth:`exec_module` is available."
723722
msgstr ""
724-
"当这个方法被调用的时候,引起 :exc:`ImportError`  异常而不是 :exc:`NotImplementedError`当 "
723+
"当这个方法被调用的时候,引起 :exc:`ImportError` 异常而不是 :exc:`NotImplementedError`当 "
725724
":meth:`exec_module` 可用的时候,由 :meth:`exec_module` 提供功能。"
726725

727726
#: ../../library/importlib.rst:456
@@ -731,15 +730,15 @@ msgid ""
731730
"load_module(). The import machinery takes care of all the other "
732731
"responsibilities of load_module() when exec_module() is implemented."
733732
msgstr ""
734-
"加载模块推荐的使用的 API 是 :meth:`exec_module`(和 "
735-
":meth:`create_module`)。加载器应该实现它而不是`load_module()`。当`exec_module()`被实现的时候,导入机制关心的是`load_module()`所有其他的责任。"
733+
"加载模块推荐的使用的 API 是 :meth:`exec_module` (和 :meth:`create_module`)。 加载器应该实现它而不是 "
734+
"load_module()。 当 exec_module() 被实现的时候,导入机制关心的是 load_module() 所有其他的责任。"
736735

737736
#: ../../library/importlib.rst:465
738737
msgid ""
739738
"A legacy method which when implemented calculates and returns the given "
740739
"module's repr, as a string. The module type's default repr() will use the "
741740
"result of this method as appropriate."
742-
msgstr "一个遗留方法,在实现时计算并返回给定模块的repr,作为字符串。 模块类型的默认repr()将根据需要使用此方法的结果。"
741+
msgstr "一个遗留方法,在实现时计算并返回给定模块的 repr,作为字符串。 模块类型的默认 repr() 将根据需要使用此方法的结果。"
743742

744743
#: ../../library/importlib.rst:471
745744
msgid "Made optional instead of an abstractmethod."
@@ -752,7 +751,7 @@ msgstr "现在导入机制会自动地关注这个方法。"
752751
#: ../../library/importlib.rst:480
753752
msgid ""
754753
"An :term:`abstract base class` to provide the ability to read *resources*."
755-
msgstr "提供读取 *resources* 能力的一个:term:`抽象基类`。"
754+
msgstr "提供读取 *resources* 能力的一个:term:`abstract base class`。"
756755

757756
#: ../../library/importlib.rst:483
758757
msgid ""

0 commit comments

Comments
 (0)