docs: improve Chinese translation for Prototype

This commit is contained in:
aspirantzhang 2022-01-06 17:06:15 +08:00
parent 37ba41bdb9
commit 0f3bd83003

View File

@ -4,12 +4,12 @@ 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: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2022-01-06 17:00+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"
"Language: zh_CN\n"
#: ../../Creational/Prototype/README.rst:2 #: ../../Creational/Prototype/README.rst:2
msgid "`Prototype`__" msgid "`Prototype`__"
@ -24,7 +24,7 @@ msgid ""
"To avoid the cost of creating objects the standard way (new Foo()) and " "To avoid the cost of creating objects the standard way (new Foo()) and "
"instead create a prototype and clone it." "instead create a prototype and clone it."
msgstr "" msgstr ""
"通过创建一个原型对象,然后复制原型对象来避免通过标准的方式创建大量的对象产生的开销(new Foo())。" "避免以标准方式new Foo()创建对象的成本而是创建一个原型prototype并克隆它。"
#: ../../Creational/Prototype/README.rst:11 #: ../../Creational/Prototype/README.rst:11
msgid "Examples" msgid "Examples"
@ -35,7 +35,7 @@ msgid ""
"Large amounts of data (e.g. create 1,000,000 rows in a database at once via " "Large amounts of data (e.g. create 1,000,000 rows in a database at once via "
"a ORM)." "a ORM)."
msgstr "" msgstr ""
"大量的数据对象(比如通过ORM获取1,000,000行数据库记录然后创建每一条记录对应的对象实体)" "大量数据(例如:通过 ORM 在数据库中创建百万行数据。)"
#: ../../Creational/Prototype/README.rst:17 #: ../../Creational/Prototype/README.rst:17
msgid "UML Diagram" msgid "UML Diagram"