# 
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/Strategy/README.rst:2
msgid "`Strategy`__"
msgstr "`策略模式`__"

#: ../../Behavioral/Strategy/README.rst:5
msgid "Terminology:"
msgstr "术语"

#: ../../Behavioral/Strategy/README.rst:7
msgid "Context"
msgstr "上下文"

#: ../../Behavioral/Strategy/README.rst:8
msgid "Strategy"
msgstr "策略"

#: ../../Behavioral/Strategy/README.rst:9
msgid "Concrete Strategy"
msgstr "具体的策略"

#: ../../Behavioral/Strategy/README.rst:12
msgid "Purpose"
msgstr "目的"

#: ../../Behavioral/Strategy/README.rst:14
msgid ""
"To separate strategies and to enable fast switching between them. Also this "
"pattern is a good alternative to inheritance (instead of having an abstract "
"class that is extended)."
msgstr ""
"分开策略，并使它们之间能够快速切换。"
"此外，这种模式也是继承的一种很好的替代方法(而不是扩展抽象类)"


#: ../../Behavioral/Strategy/README.rst:19
msgid "Examples"
msgstr "例子"

#: ../../Behavioral/Strategy/README.rst:21
msgid "sorting a list of objects, one strategy by date, the other by id"
msgstr "对对象列表进行排序，一种策略是根据日期，另一种策略是根据id"

#: ../../Behavioral/Strategy/README.rst:22
msgid ""
"simplify unit testing: e.g. switching between file and in-memory storage"
msgstr ""
"简化单元测试:例如在文件和内存存储之间切换"

#: ../../Behavioral/Strategy/README.rst:26
msgid "UML Diagram"
msgstr "UML 图"

#: ../../Behavioral/Strategy/README.rst:33
msgid "Code"
msgstr "代码"

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

#: ../../Behavioral/Strategy/README.rst:62
msgid "Test"
msgstr "测试"
