mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-09 06:11:05 +02:00
#
msgid ""
msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../../Structural/Composite/README.rst:2
msgid "`Composite`__"
msgstr "`组合模式`__"
#: ../../Structural/Composite/README.rst:5
msgid "Purpose"
msgstr "目的"
#: ../../Structural/Composite/README.rst:7
msgid ""
"To treat a group of objects the same way as a single instance of the object."
msgstr "以单个对象的方式来对待一组对象"
#: ../../Structural/Composite/README.rst:11
msgid "Examples"
msgstr "例子"
#: ../../Structural/Composite/README.rst:13
msgid ""
"a form class instance handles all its form elements like a single instance "
"of the form, when ``render()`` is called, it subsequently runs through all "
"its child elements and calls ``render()`` on them"
msgstr ""
"form类的实例包含多个子元素,而它也像单个子元素那样响应render()请求,当"
"调用 ``render()`` 方法时,它会历遍所有的子元素,调用 ``render()`` 方法"
#: ../../Structural/Composite/README.rst:20
msgid "UML Diagram"
msgstr "UML 图"
#: ../../Structural/Composite/README.rst:27
msgid "Code"
msgstr "代码"
#: ../../Structural/Composite/README.rst:29
msgid "You can also find this code on `GitHub`_"
msgstr "你可以在 `GitHub`_ 上找到这些代码"
#: ../../Structural/Composite/README.rst:56
msgid "Test"
msgstr "测试"