Skip to content

Commit 0f3bd83

Browse files
committed
docs: improve Chinese translation for Prototype
1 parent 37ba41b commit 0f3bd83

File tree

1 file changed

+5
-5
lines changed
  • locale/zh_CN/LC_MESSAGES/Creational/Prototype

1 file changed

+5
-5
lines changed

locale/zh_CN/LC_MESSAGES/Creational/Prototype/README.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ msgstr ""
44
"Project-Id-Version: DesignPatternsPHP 1.0\n"
55
"Report-Msgid-Bugs-To: \n"
66
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
7-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9-
"Language-Team: LANGUAGE <LL@li.org>\n"
7+
"PO-Revision-Date: 2022-01-06 17:00+0800\n"
8+
"Last-Translator: Aspirant Zhang <admin@aspirantzhang.com>\n"
109
"MIME-Version: 1.0\n"
1110
"Content-Type: text/plain; charset=UTF-8\n"
1211
"Content-Transfer-Encoding: 8bit\n"
12+
"Language: zh_CN\n"
1313

1414
#: ../../Creational/Prototype/README.rst:2
1515
msgid "`Prototype`__"
@@ -24,7 +24,7 @@ msgid ""
2424
"To avoid the cost of creating objects the standard way (new Foo()) and "
2525
"instead create a prototype and clone it."
2626
msgstr ""
27-
"通过创建一个原型对象,然后复制原型对象来避免通过标准的方式创建大量的对象产生的开销(new Foo())。"
27+
"避免以标准方式(new Foo())创建对象的成本,而是创建一个原型(prototype)并克隆它。"
2828

2929
#: ../../Creational/Prototype/README.rst:11
3030
msgid "Examples"
@@ -35,7 +35,7 @@ msgid ""
3535
"Large amounts of data (e.g. create 1,000,000 rows in a database at once via "
3636
"a ORM)."
3737
msgstr ""
38-
"大量的数据对象(比如通过ORM获取1,000,000行数据库记录然后创建每一条记录对应的对象实体)"
38+
"大量数据(例如:通过 ORM 在数据库中创建百万行数据。)"
3939

4040
#: ../../Creational/Prototype/README.rst:17
4141
msgid "UML Diagram"

0 commit comments

Comments
 (0)