# 
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"

#: ../../Creational/Singleton/README.rst:2
msgid "`Singleton`__"
msgstr "`单例模式`__"

#: ../../Creational/Singleton/README.rst:4
msgid ""
"**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND "
"MAINTAINABILITY USE DEPENDENCY INJECTION!**"
msgstr "**单例模式已经被考虑列入到反模式中！请使用依赖注入获得更好的代码可测试性和可控性！**"

#: ../../Creational/Singleton/README.rst:8
msgid "Purpose"
msgstr "目标"

#: ../../Creational/Singleton/README.rst:10
msgid ""
"To have only one instance of this object in the application that will handle"
" all calls."
msgstr "使应用中只存在一个对象的实例，并且使这个单实例负责所有对该对象的调用。"

#: ../../Creational/Singleton/README.rst:14
msgid "Examples"
msgstr "例子"

#: ../../Creational/Singleton/README.rst:16
msgid "DB Connector"
msgstr "数据库连接器"

#: ../../Creational/Singleton/README.rst:17
msgid ""
"Logger (may also be a Multiton if there are many log files for several "
"purposes)"
msgstr "日志记录器 （可能有多个实例，比如有多个日志文件因为不同的目的记录不同到的日志）"

#: ../../Creational/Singleton/README.rst:19
msgid ""
"Lock file for the application (there is only one in the filesystem ...)"
msgstr ""
"应用锁文件 （理论上整个应用只有一个锁文件 ...）"

#: ../../Creational/Singleton/README.rst:23
msgid "UML Diagram"
msgstr "UML 图"

#: ../../Creational/Singleton/README.rst:30
msgid "Code"
msgstr "代码"

#: ../../Creational/Singleton/README.rst:32
msgid "You can also find this code on `GitHub`_"
msgstr "你可以在 `GitHub`_ 上找到这些代码"

#: ../../Creational/Singleton/README.rst:34
msgid "Singleton.php"
msgstr ""

#: ../../Creational/Singleton/README.rst:41
msgid "Test"
msgstr "测试"

#: ../../Creational/Singleton/README.rst:43
msgid "Tests/SingletonTest.php"
msgstr ""
