mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-03 03:32:49 +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/Registry/README.rst:2 msgid "`Registry`__" msgstr "`注册模式`__" #: ../../Structural/Registry/README.rst:5 msgid "Purpose" msgstr "目的" #: ../../Structural/Registry/README.rst:7 msgid "" "To implement a central storage for objects often used throughout the application, is typically " "implemented using an abstract class with only static methods (or using the Singleton pattern). " "Remember that this introduces global state, which should be avoided at all times! Instead " "implement it using Dependency Injection!" msgstr "" "为应用中常用的对象实现一个中央存储,通常用一个只有静态方法的抽象类来实现" "(或者使用单例模式)" #: ../../Structural/Registry/README.rst:20 msgid "UML Diagram" msgstr "UML 图" #: ../../Structural/Registry/README.rst:27 msgid "Code" msgstr "代码" #: ../../Structural/Registry/README.rst:29 msgid "You can also find this code on `GitHub`_" msgstr "你可以在 `GitHub`_ 上找到这些代码" #: ../../Structural/Registry/README.rst:38 msgid "Test" msgstr "测试"