#
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: David Wan <autoloadone@gmail.com>\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"

#: ../../Behavioral/Observer/README.rst:2
msgid "`Observer`__"
msgstr "`观察者模式`__"

#: ../../Behavioral/Observer/README.rst:5
msgid "Purpose"
msgstr "目的"

#: ../../Behavioral/Observer/README.rst:7
msgid ""
"To implement a publish/subscribe behaviour to an object, whenever a "
"\"Subject\" object changes its state, the attached \"Observers\" will be "
"notified. It is used to shorten the amount of coupled objects and uses loose"
" coupling instead."
msgstr ""
"要实现对象的发布/订阅行为，只要[Subject]对象改变它的状态，就会通知附加的[observer]。"
"它用于减轻对象的耦合度，并使用松耦合代替。"

#: ../../Behavioral/Observer/README.rst:13
msgid "Examples"
msgstr "例子"

#: ../../Behavioral/Observer/README.rst:15
msgid ""
"a message queue system is observed to show the progress of a job in a GUI"
msgstr ""
"通过观察消息队列系统，可以在GUI中显示作业的进度"

#: ../../Behavioral/Observer/README.rst:19
msgid "Note"
msgstr "注意"

#: ../../Behavioral/Observer/README.rst:21
msgid ""
"PHP already defines two interfaces that can help to implement this pattern: "
"SplObserver and SplSubject."
msgstr ""
"PHP已经定义了两个接口来帮助实现这个模式:SplObserver和SplSubject。"

#: ../../Behavioral/Observer/README.rst:25
msgid "UML Diagram"
msgstr "UML 图"

#: ../../Behavioral/Observer/README.rst:32
msgid "Code"
msgstr "代码"

#: ../../Behavioral/Observer/README.rst:34
msgid "You can also find this code on `GitHub`_"
msgstr "在 `GitHub`_ 上查看代码"

#: ../../Behavioral/Observer/README.rst:49
msgid "Test"
msgstr "测试"
