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

Skip to content

Commit 5bf813e

Browse files
committed
[po] auto sync bot
1 parent 940a0cd commit 5bf813e

2 files changed

Lines changed: 19 additions & 6 deletions

File tree

reference/datamodel.po

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2827,13 +2827,13 @@ msgstr "元类的潜在作用非常广泛。已经过尝试的设想包括枚举
28272827

28282828
#: ../../reference/datamodel.rst:2012
28292829
msgid "Customizing instance and subclass checks"
2830-
msgstr ""
2830+
msgstr "自定义实例及子类检查"
28312831

28322832
#: ../../reference/datamodel.rst:2014
28332833
msgid ""
28342834
"The following methods are used to override the default behavior of the "
28352835
":func:`isinstance` and :func:`issubclass` built-in functions."
2836-
msgstr ""
2836+
msgstr "以下方法被用来重载 :func:`isinstance` 和 :func:`issubclass` 内置函数的默认行为。"
28372837

28382838
#: ../../reference/datamodel.rst:2017
28392839
msgid ""
@@ -2842,20 +2842,26 @@ msgid ""
28422842
"base classes\" to any class or type (including built-in types), including "
28432843
"other ABCs."
28442844
msgstr ""
2845+
"特别地,元类 :class:`abc.ABCMeta` "
2846+
"实现了这些方法以便允许将抽象基类(ABC)作为“虚拟基类”添加到任何类或类型(包括内置类型),包括其他 ABC 之中。"
28452847

28462848
#: ../../reference/datamodel.rst:2024
28472849
msgid ""
28482850
"Return true if *instance* should be considered a (direct or indirect) "
28492851
"instance of *class*. If defined, called to implement ``isinstance(instance, "
28502852
"class)``."
28512853
msgstr ""
2854+
"如果 *instance* 应被视为 *class* 的一个(直接或间接)实例则返回真值。如果定义了此方法,则会被调用以实现 "
2855+
"``isinstance(instance, class)``。"
28522856

28532857
#: ../../reference/datamodel.rst:2031
28542858
msgid ""
28552859
"Return true if *subclass* should be considered a (direct or indirect) "
28562860
"subclass of *class*. If defined, called to implement ``issubclass(subclass,"
28572861
" class)``."
28582862
msgstr ""
2863+
"Return true 如果 *subclass* 应被视为 *class* 的一个(直接或间接)子类则返回真值。如果定义了此方法,则会被调用以实现 "
2864+
"``issubclass(subclass, class)``。"
28592865

28602866
#: ../../reference/datamodel.rst:2036
28612867
msgid ""
@@ -2864,10 +2870,11 @@ msgid ""
28642870
"consistent with the lookup of special methods that are called on instances, "
28652871
"only in this case the instance is itself a class."
28662872
msgstr ""
2873+
"请注意这些方法的查找是基于类的类型(元类)。它们不能作为类方法在实际的类中被定义。这与基于实例被调用的特殊方法的查找是一致的,只有在此情况下实例本身被当作是类。"
28672874

28682875
#: ../../reference/datamodel.rst:2047
28692876
msgid ":pep:`3119` - Introducing Abstract Base Classes"
2870-
msgstr ""
2877+
msgstr ":pep:`3119` - 引入抽象基类"
28712878

28722879
#: ../../reference/datamodel.rst:2044
28732880
msgid ""

whatsnew/2.6.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,20 @@
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6+
# Translators:
7+
# QR Wang <[email protected]>, 2018
8+
# Shengjing Zhu <[email protected]>, 2018
9+
# Fei Yin <[email protected]>, 2018
10+
# Freesand Leo <[email protected]>, 2018
11+
#
612
#, fuzzy
713
msgid ""
814
msgstr ""
915
"Project-Id-Version: Python 3.7\n"
1016
"Report-Msgid-Bugs-To: \n"
1117
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13-
"Last-Translator: Fei Yin <icebirds@163.com>, 2018\n"
18+
"PO-Revision-Date: 2017-02-16 23:43+0000\n"
19+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2018\n"
1420
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1521
"MIME-Version: 1.0\n"
1622
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1425,7 +1431,7 @@ msgstr ""
14251431

14261432
#: ../../whatsnew/2.6.rst:1303
14271433
msgid ":pep:`3119` - Introducing Abstract Base Classes"
1428-
msgstr ""
1434+
msgstr ":pep:`3119` - 引入抽象基类"
14291435

14301436
#: ../../whatsnew/2.6.rst:1302
14311437
msgid ""

0 commit comments

Comments
 (0)