docs: improve Chinese translation for abstract factory

This commit is contained in:
aspirantzhang
2022-01-06 14:41:30 +08:00
parent b20a37133d
commit 17dc4c4fb3

View File

@@ -1,18 +1,15 @@
# #
# FULL NAME <EMAIL@ADDRESS>, 2015.
#
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-05-29 12:18+0200\n" "POT-Creation-Date: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: 2015-05-29 12:39+0200\n" "PO-Revision-Date: 2022-01-05 20:02+0800\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Aspirant Zhang <admin@aspirantzhang.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Gtranslator 2.91.6\n" "Language: zh_CN\n"
#: ../../Creational/AbstractFactory/README.rst:2 #: ../../Creational/AbstractFactory/README.rst:2
msgid "`Abstract Factory`__" msgid "`Abstract Factory`__"
@@ -28,8 +25,9 @@ msgid ""
"the created classes all implement the same interface. The client of the abstract factory does not " "the created classes all implement the same interface. The client of the abstract factory does not "
"care about how these objects are created, it just knows how they go together." "care about how these objects are created, it just knows how they go together."
msgstr "" msgstr ""
"创建一系列互相关联或依赖的对象时不需要指定将要创建的对象对应的类,因为这些将被创建的对象对应的类都实现了同一个接口。" "创建一系列互相关联或依赖的对象时,不指定他们具体的类。"
"抽象工厂的使用者不需要关心对象的创建过程,它只需要知道这些对象是如何协调工作的。" "因为这些创建的类通常都实现了同一个接口。"
"抽象工厂的客户端并不关心对象是如何创建的,而只知道它们是怎样组合的。"
#: ../../Creational/AbstractFactory/README.rst:13 #: ../../Creational/AbstractFactory/README.rst:13
msgid "UML Diagram" msgid "UML Diagram"