# 
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: 2022-01-06 13:00+0800\n"
"Last-Translator: Aspirant Zhang <admin@aspirantzhang.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh_CN\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"
msgstr "日志记录器"

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

#: ../../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:41
msgid "Test"
msgstr "测试"
