From 8a7d423e8e386b73cbbdf6c3852e4d8700f47f6b Mon Sep 17 00:00:00 2001 From: tanden Date: Mon, 4 May 2020 10:26:29 +0900 Subject: [PATCH 01/11] [modify] add locale/ja --- .../ChainOfResponsibilities/README.po | 87 ++++++++++++ .../LC_MESSAGES/Behavioral/Command/README.po | 114 ++++++++++++++++ .../LC_MESSAGES/Behavioral/Iterator/README.po | 83 ++++++++++++ .../LC_MESSAGES/Behavioral/Mediator/README.po | 82 ++++++++++++ .../LC_MESSAGES/Behavioral/Memento/README.po | 124 ++++++++++++++++++ .../Behavioral/NullObject/README.po | 110 ++++++++++++++++ .../LC_MESSAGES/Behavioral/Observer/README.po | 82 ++++++++++++ locale/ja/LC_MESSAGES/Behavioral/README.po | 32 +++++ .../Behavioral/Specification/README.po | 88 +++++++++++++ .../ja/LC_MESSAGES/Behavioral/State/README.po | 75 +++++++++++ .../LC_MESSAGES/Behavioral/Strategy/README.po | 99 ++++++++++++++ .../Behavioral/TemplateMethod/README.po | 91 +++++++++++++ .../LC_MESSAGES/Behavioral/Visitor/README.po | 83 ++++++++++++ .../Creational/AbstractFactory/README.po | 92 +++++++++++++ .../LC_MESSAGES/Creational/Builder/README.po | 118 +++++++++++++++++ .../Creational/FactoryMethod/README.po | 95 ++++++++++++++ .../ja/LC_MESSAGES/Creational/Pool/README.po | 85 ++++++++++++ .../Creational/Prototype/README.po | 76 +++++++++++ locale/ja/LC_MESSAGES/Creational/README.po | 34 +++++ .../Creational/SimpleFactory/README.po | 72 ++++++++++ .../Creational/Singleton/README.po | 80 +++++++++++ .../Creational/StaticFactory/README.po | 73 +++++++++++ locale/ja/LC_MESSAGES/More/EAV/README.po | 74 +++++++++++ locale/ja/LC_MESSAGES/More/README.po | 24 ++++ .../ja/LC_MESSAGES/More/Repository/README.po | 97 ++++++++++++++ .../LC_MESSAGES/More/ServiceLocator/README.po | 93 +++++++++++++ locale/ja/LC_MESSAGES/README.po | 47 +++++++ .../LC_MESSAGES/Structural/Adapter/README.po | 90 +++++++++++++ .../LC_MESSAGES/Structural/Bridge/README.po | 78 +++++++++++ .../Structural/Composite/README.po | 81 ++++++++++++ .../Structural/DataMapper/README.po | 89 +++++++++++++ .../Structural/Decorator/README.po | 82 ++++++++++++ .../Structural/DependencyInjection/README.po | 92 +++++++++++++ .../LC_MESSAGES/Structural/Facade/README.po | 95 ++++++++++++++ .../Structural/FluentInterface/README.po | 70 ++++++++++ .../Structural/Flyweight/README.po | 73 +++++++++++ .../ja/LC_MESSAGES/Structural/Proxy/README.po | 75 +++++++++++ locale/ja/LC_MESSAGES/Structural/README.po | 31 +++++ .../LC_MESSAGES/Structural/Registry/README.po | 65 +++++++++ 39 files changed, 3131 insertions(+) create mode 100644 locale/ja/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po create mode 100644 locale/ja/LC_MESSAGES/Behavioral/Command/README.po create mode 100644 locale/ja/LC_MESSAGES/Behavioral/Iterator/README.po create mode 100644 locale/ja/LC_MESSAGES/Behavioral/Mediator/README.po create mode 100644 locale/ja/LC_MESSAGES/Behavioral/Memento/README.po create mode 100644 locale/ja/LC_MESSAGES/Behavioral/NullObject/README.po create mode 100644 locale/ja/LC_MESSAGES/Behavioral/Observer/README.po create mode 100644 locale/ja/LC_MESSAGES/Behavioral/README.po create mode 100644 locale/ja/LC_MESSAGES/Behavioral/Specification/README.po create mode 100644 locale/ja/LC_MESSAGES/Behavioral/State/README.po create mode 100644 locale/ja/LC_MESSAGES/Behavioral/Strategy/README.po create mode 100644 locale/ja/LC_MESSAGES/Behavioral/TemplateMethod/README.po create mode 100644 locale/ja/LC_MESSAGES/Behavioral/Visitor/README.po create mode 100644 locale/ja/LC_MESSAGES/Creational/AbstractFactory/README.po create mode 100644 locale/ja/LC_MESSAGES/Creational/Builder/README.po create mode 100644 locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po create mode 100644 locale/ja/LC_MESSAGES/Creational/Pool/README.po create mode 100644 locale/ja/LC_MESSAGES/Creational/Prototype/README.po create mode 100644 locale/ja/LC_MESSAGES/Creational/README.po create mode 100644 locale/ja/LC_MESSAGES/Creational/SimpleFactory/README.po create mode 100644 locale/ja/LC_MESSAGES/Creational/Singleton/README.po create mode 100644 locale/ja/LC_MESSAGES/Creational/StaticFactory/README.po create mode 100644 locale/ja/LC_MESSAGES/More/EAV/README.po create mode 100644 locale/ja/LC_MESSAGES/More/README.po create mode 100644 locale/ja/LC_MESSAGES/More/Repository/README.po create mode 100644 locale/ja/LC_MESSAGES/More/ServiceLocator/README.po create mode 100644 locale/ja/LC_MESSAGES/README.po create mode 100644 locale/ja/LC_MESSAGES/Structural/Adapter/README.po create mode 100644 locale/ja/LC_MESSAGES/Structural/Bridge/README.po create mode 100644 locale/ja/LC_MESSAGES/Structural/Composite/README.po create mode 100644 locale/ja/LC_MESSAGES/Structural/DataMapper/README.po create mode 100644 locale/ja/LC_MESSAGES/Structural/Decorator/README.po create mode 100644 locale/ja/LC_MESSAGES/Structural/DependencyInjection/README.po create mode 100644 locale/ja/LC_MESSAGES/Structural/Facade/README.po create mode 100644 locale/ja/LC_MESSAGES/Structural/FluentInterface/README.po create mode 100644 locale/ja/LC_MESSAGES/Structural/Flyweight/README.po create mode 100644 locale/ja/LC_MESSAGES/Structural/Proxy/README.po create mode 100644 locale/ja/LC_MESSAGES/Structural/README.po create mode 100644 locale/ja/LC_MESSAGES/Structural/Registry/README.po diff --git a/locale/ja/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po b/locale/ja/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po new file mode 100644 index 0000000..dbab20f --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/ChainOfResponsibilities/README.po @@ -0,0 +1,87 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:2 +msgid "`Chain Of Responsibilities`__" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:7 +msgid "" +"To build a chain of objects to handle a call in sequential order. If one " +"object cannot handle a call, it delegates the call to the next in the " +"chain and so forth." +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:12 +msgid "Examples" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:14 +msgid "" +"logging framework, where each chain element decides autonomously what to " +"do with a log message" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:16 +msgid "a Spam filter" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:17 +msgid "" +"Caching: first object is an instance of e.g. a Memcached Interface, if " +"that \"misses\" it delegates the call to the database interface" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:21 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:28 +msgid "Code" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:30 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:32 +msgid "Handler.php" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:38 +msgid "Responsible/FastStorage.php" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:44 +msgid "Responsible/SlowStorage.php" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:51 +msgid "Test" +msgstr "" + +#: ../../Behavioral/ChainOfResponsibilities/README.rst:53 +msgid "Tests/ChainTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Behavioral/Command/README.po b/locale/ja/LC_MESSAGES/Behavioral/Command/README.po new file mode 100644 index 0000000..d172a3c --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/Command/README.po @@ -0,0 +1,114 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Behavioral/Command/README.rst:2 +msgid "`Command`__" +msgstr "" + +#: ../../Behavioral/Command/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Command/README.rst:7 +msgid "To encapsulate invocation and decoupling." +msgstr "" + +#: ../../Behavioral/Command/README.rst:9 +msgid "" +"We have an Invoker and a Receiver. This pattern uses a \"Command\" to " +"delegate the method call against the Receiver and presents the same " +"method \"execute\". Therefore, the Invoker just knows to call \"execute\"" +" to process the Command of the client. The Receiver is decoupled from the" +" Invoker." +msgstr "" + +#: ../../Behavioral/Command/README.rst:15 +msgid "" +"The second aspect of this pattern is the undo(), which undoes the method " +"execute(). Command can also be aggregated to combine more complex " +"commands with minimum copy-paste and relying on composition over " +"inheritance." +msgstr "" + +#: ../../Behavioral/Command/README.rst:21 +msgid "Examples" +msgstr "" + +#: ../../Behavioral/Command/README.rst:23 +msgid "" +"A text editor : all events are commands which can be undone, stacked and " +"saved." +msgstr "" + +#: ../../Behavioral/Command/README.rst:25 +msgid "" +"big CLI tools use subcommands to distribute various tasks and pack them " +"in \"modules\", each of these can be implemented with the Command pattern" +" (e.g. vagrant)" +msgstr "" + +#: ../../Behavioral/Command/README.rst:30 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Command/README.rst:37 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Command/README.rst:39 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Behavioral/Command/README.rst:41 +msgid "Command.php" +msgstr "" + +#: ../../Behavioral/Command/README.rst:47 +msgid "UndoableCommand.php" +msgstr "" + +#: ../../Behavioral/Command/README.rst:53 +msgid "HelloCommand.php" +msgstr "" + +#: ../../Behavioral/Command/README.rst:59 +msgid "AddMessageDateCommand.php" +msgstr "" + +#: ../../Behavioral/Command/README.rst:65 +msgid "Receiver.php" +msgstr "" + +#: ../../Behavioral/Command/README.rst:71 +msgid "Invoker.php" +msgstr "" + +#: ../../Behavioral/Command/README.rst:78 +msgid "Test" +msgstr "" + +#: ../../Behavioral/Command/README.rst:80 +msgid "Tests/CommandTest.php" +msgstr "" + +#: ../../Behavioral/Command/README.rst:86 +msgid "Tests/UndoableCommandTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Behavioral/Iterator/README.po b/locale/ja/LC_MESSAGES/Behavioral/Iterator/README.po new file mode 100644 index 0000000..24bc50c --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/Iterator/README.po @@ -0,0 +1,83 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Behavioral/Iterator/README.rst:2 +msgid "`Iterator`__" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:7 +msgid "" +"To make an object iterable and to make it appear like a collection of " +"objects." +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:10 +msgid "Examples" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:12 +msgid "" +"to process a file line by line by just running over all lines (which have" +" an object representation) for a file (which of course is an object, too)" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:17 +msgid "Note" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:19 +msgid "" +"Standard PHP Library (SPL) defines an interface Iterator which is best " +"suited for this! Often you would want to implement the Countable " +"interface too, to allow ``count($object)`` on your iterable object" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:24 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:31 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:33 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:35 +msgid "Book.php" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:41 +msgid "BookList.php" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:48 +msgid "Test" +msgstr "" + +#: ../../Behavioral/Iterator/README.rst:50 +msgid "Tests/IteratorTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Behavioral/Mediator/README.po b/locale/ja/LC_MESSAGES/Behavioral/Mediator/README.po new file mode 100644 index 0000000..77f1e67 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/Mediator/README.po @@ -0,0 +1,82 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Behavioral/Mediator/README.rst:2 +msgid "`Mediator`__" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:7 +msgid "" +"This pattern provides an easy way to decouple many components working " +"together. It is a good alternative to Observer IF you have a \"central " +"intelligence\", like a controller (but not in the sense of the MVC)." +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:11 +msgid "" +"All components (called Colleague) are only coupled to the Mediator " +"interface and it is a good thing because in OOP, one good friend is " +"better than many. This is the key-feature of this pattern." +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:16 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:23 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:25 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:27 +msgid "Mediator.php" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:33 +msgid "Colleague.php" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:39 +msgid "Ui.php" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:45 +msgid "UserRepository.php" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:51 +msgid "UserRepositoryUiMediator.php" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:58 +msgid "Test" +msgstr "" + +#: ../../Behavioral/Mediator/README.rst:60 +msgid "Tests/MediatorTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Behavioral/Memento/README.po b/locale/ja/LC_MESSAGES/Behavioral/Memento/README.po new file mode 100644 index 0000000..bf5ea90 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/Memento/README.po @@ -0,0 +1,124 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Behavioral/Memento/README.rst:2 +msgid "`Memento`__" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:7 +msgid "" +"It provides the ability to restore an object to it's previous state (undo" +" via rollback) or to gain access to state of the object, without " +"revealing it's implementation (i.e., the object is not required to have a" +" function to return the current state)." +msgstr "" + +#: ../../Behavioral/Memento/README.rst:12 +msgid "" +"The memento pattern is implemented with three objects: the Originator, a " +"Caretaker and a Memento." +msgstr "" + +#: ../../Behavioral/Memento/README.rst:15 +msgid "" +"Memento – an object that *contains a concrete unique snapshot of state* " +"of any object or resource: string, number, array, an instance of class " +"and so on. The uniqueness in this case does not imply the prohibition " +"existence of similar states in different snapshots. That means the state " +"can be extracted as the independent clone. Any object stored in the " +"Memento should be *a full copy of the original object rather than a " +"reference* to the original object. The Memento object is a \"opaque " +"object\" (the object that no one can or should change)." +msgstr "" + +#: ../../Behavioral/Memento/README.rst:24 +msgid "" +"Originator – it is an object that contains the *actual state of an " +"external object is strictly specified type*. Originator is able to create" +" a unique copy of this state and return it wrapped in a Memento. The " +"Originator does not know the history of changes. You can set a concrete " +"state to Originator from the outside, which will be considered as actual." +" The Originator must make sure that given state corresponds the allowed " +"type of object. Originator may (but not should) have any methods, but " +"they *they can't make changes to the saved object state*." +msgstr "" + +#: ../../Behavioral/Memento/README.rst:33 +msgid "" +"Caretaker *controls the states history*. He may make changes to an " +"object; take a decision to save the state of an external object in the " +"Originator; ask from the Originator snapshot of the current state; or set" +" the Originator state to equivalence with some snapshot from history." +msgstr "" + +#: ../../Behavioral/Memento/README.rst:39 +msgid "Examples" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:41 +msgid "The seed of a pseudorandom number generator" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:42 +msgid "The state in a finite state machine" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:43 +msgid "" +"Control for intermediate states of `ORM Model " +"`_ before saving" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:46 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:53 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:55 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:57 +msgid "Memento.php" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:63 +msgid "State.php" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:69 +msgid "Ticket.php" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:76 +msgid "Test" +msgstr "" + +#: ../../Behavioral/Memento/README.rst:78 +msgid "Tests/MementoTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Behavioral/NullObject/README.po b/locale/ja/LC_MESSAGES/Behavioral/NullObject/README.po new file mode 100644 index 0000000..eff1f46 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/NullObject/README.po @@ -0,0 +1,110 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Behavioral/NullObject/README.rst:2 +msgid "`Null Object`__" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:7 +msgid "" +"NullObject is not a GoF design pattern but a schema which appears " +"frequently enough to be considered a pattern. It has the following " +"benefits:" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:11 +msgid "Client code is simplified" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:12 +msgid "Reduces the chance of null pointer exceptions" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:13 +msgid "Fewer conditionals require less test cases" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:15 +msgid "" +"Methods that return an object or null should instead return an object or " +"``NullObject``. ``NullObject``\\ s simplify boilerplate code such as ``if" +" (!is_null($obj)) { $obj->callSomething(); }`` to just " +"``$obj->callSomething();`` by eliminating the conditional check in client" +" code." +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:22 +msgid "Examples" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:24 +msgid "" +"Null logger or null output to preserve a standard way of interaction " +"between objects, even if the shouldn't do anything" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:25 +msgid "null handler in a Chain of Responsibilities pattern" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:26 +msgid "null command in a Command pattern" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:29 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:36 +msgid "Code" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:38 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:40 +msgid "Service.php" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:46 +msgid "Logger.php" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:52 +msgid "PrintLogger.php" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:58 +msgid "NullLogger.php" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:65 +msgid "Test" +msgstr "" + +#: ../../Behavioral/NullObject/README.rst:67 +msgid "Tests/LoggerTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Behavioral/Observer/README.po b/locale/ja/LC_MESSAGES/Behavioral/Observer/README.po new file mode 100644 index 0000000..9a59a60 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/Observer/README.po @@ -0,0 +1,82 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\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 "" + +#: ../../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 "" + +#: ../../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 "" + +#: ../../Behavioral/Observer/README.rst:25 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:32 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:34 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:36 +msgid "User.php" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:42 +msgid "UserObserver.php" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:49 +msgid "Test" +msgstr "" + +#: ../../Behavioral/Observer/README.rst:51 +msgid "Tests/ObserverTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Behavioral/README.po b/locale/ja/LC_MESSAGES/Behavioral/README.po new file mode 100644 index 0000000..fd59d54 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/README.po @@ -0,0 +1,32 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Behavioral/README.rst:2 +msgid "`Behavioral`__" +msgstr "" + +#: ../../Behavioral/README.rst:4 +msgid "" +"In software engineering, behavioral design patterns are design patterns " +"that identify common communication patterns between objects and realize " +"these patterns. By doing so, these patterns increase flexibility in " +"carrying out this communication." +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Behavioral/Specification/README.po b/locale/ja/LC_MESSAGES/Behavioral/Specification/README.po new file mode 100644 index 0000000..50286b2 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/Specification/README.po @@ -0,0 +1,88 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Behavioral/Specification/README.rst:2 +msgid "`Specification`__" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:7 +msgid "" +"Builds a clear specification of business rules, where objects can be " +"checked against. The composite specification class has one method called " +"``isSatisfiedBy`` that returns either true or false depending on whether " +"the given object satisfies the specification." +msgstr "" + +#: ../../Behavioral/Specification/README.rst:13 +msgid "Examples" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:15 +msgid "`RulerZ `__" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:18 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:25 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:27 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:29 +msgid "Item.php" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:35 +msgid "Specification.php" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:41 +msgid "OrSpecification.php" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:47 +msgid "PriceSpecification.php" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:53 +msgid "AndSpecification.php" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:59 +msgid "NotSpecification.php" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:66 +msgid "Test" +msgstr "" + +#: ../../Behavioral/Specification/README.rst:68 +msgid "Tests/SpecificationTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Behavioral/State/README.po b/locale/ja/LC_MESSAGES/Behavioral/State/README.po new file mode 100644 index 0000000..d83e492 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/State/README.po @@ -0,0 +1,75 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Behavioral/State/README.rst:2 +msgid "`State`__" +msgstr "" + +#: ../../Behavioral/State/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/State/README.rst:7 +msgid "" +"Encapsulate varying behavior for the same routine based on an object's " +"state. This can be a cleaner way for an object to change its behavior at " +"runtime without resorting to large monolithic conditional statements." +msgstr "" + +#: ../../Behavioral/State/README.rst:12 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/State/README.rst:19 +msgid "Code" +msgstr "" + +#: ../../Behavioral/State/README.rst:21 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Behavioral/State/README.rst:23 +msgid "OrderContext.php" +msgstr "" + +#: ../../Behavioral/State/README.rst:29 +msgid "State.php" +msgstr "" + +#: ../../Behavioral/State/README.rst:35 +msgid "StateCreated.php" +msgstr "" + +#: ../../Behavioral/State/README.rst:41 +msgid "StateShipped.php" +msgstr "" + +#: ../../Behavioral/State/README.rst:47 +msgid "StateDone.php" +msgstr "" + +#: ../../Behavioral/State/README.rst:54 +msgid "Test" +msgstr "" + +#: ../../Behavioral/State/README.rst:56 +msgid "Tests/StateTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Behavioral/Strategy/README.po b/locale/ja/LC_MESSAGES/Behavioral/Strategy/README.po new file mode 100644 index 0000000..97b2cca --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/Strategy/README.po @@ -0,0 +1,99 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\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 "" + +#: ../../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 "" + +#: ../../Behavioral/Strategy/README.rst:33 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:35 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:37 +msgid "Context.php" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:43 +msgid "Comparator.php" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:49 +msgid "DateComparator.php" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:55 +msgid "IdComparator.php" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:62 +msgid "Test" +msgstr "" + +#: ../../Behavioral/Strategy/README.rst:64 +msgid "Tests/StrategyTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Behavioral/TemplateMethod/README.po b/locale/ja/LC_MESSAGES/Behavioral/TemplateMethod/README.po new file mode 100644 index 0000000..225eee6 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/TemplateMethod/README.po @@ -0,0 +1,91 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Behavioral/TemplateMethod/README.rst:2 +msgid "`Template Method`__" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:7 +msgid "Template Method is a behavioral design pattern." +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:9 +msgid "" +"Perhaps you have encountered it many times already. The idea is to let " +"subclasses of this abstract template \"finish\" the behavior of an " +"algorithm." +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:13 +msgid "" +"A.k.a the \"Hollywood principle\": \"Don't call us, we call you.\" This " +"class is not called by subclasses but the inverse. How? With abstraction " +"of course." +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:17 +msgid "" +"In other words, this is a skeleton of algorithm, well-suited for " +"framework libraries. The user has just to implement one method and the " +"superclass do the job." +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:21 +msgid "" +"It is an easy way to decouple concrete classes and reduce copy-paste, " +"that's why you'll find it everywhere." +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:25 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:32 +msgid "Code" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:34 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:36 +msgid "Journey.php" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:42 +msgid "BeachJourney.php" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:48 +msgid "CityJourney.php" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:55 +msgid "Test" +msgstr "" + +#: ../../Behavioral/TemplateMethod/README.rst:57 +msgid "Tests/JourneyTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Behavioral/Visitor/README.po b/locale/ja/LC_MESSAGES/Behavioral/Visitor/README.po new file mode 100644 index 0000000..b9df67b --- /dev/null +++ b/locale/ja/LC_MESSAGES/Behavioral/Visitor/README.po @@ -0,0 +1,83 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Behavioral/Visitor/README.rst:2 +msgid "`Visitor`__" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:7 +msgid "" +"The Visitor Pattern lets you outsource operations on objects to other " +"objects. The main reason to do this is to keep a separation of concerns. " +"But classes have to define a contract to allow visitors (the " +"``Role::accept`` method in the example)." +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:12 +msgid "" +"The contract is an abstract class but you can have also a clean " +"interface. In that case, each Visitor has to choose itself which method " +"to invoke on the visitor." +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:17 +msgid "UML Diagram" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:24 +msgid "Code" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:26 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:28 +msgid "RoleVisitor.php" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:34 +msgid "RecordingVisitor.php" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:40 +msgid "Role.php" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:46 +msgid "User.php" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:52 +msgid "Group.php" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:59 +msgid "Test" +msgstr "" + +#: ../../Behavioral/Visitor/README.rst:61 +msgid "Tests/VisitorTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/ja/LC_MESSAGES/Creational/AbstractFactory/README.po new file mode 100644 index 0000000..2cc5ddb --- /dev/null +++ b/locale/ja/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -0,0 +1,92 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Creational/AbstractFactory/README.rst:2 +msgid "`Abstract Factory`__" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:7 +msgid "" +"To create series of related or dependent objects without specifying their" +" concrete classes. Usually the created classes all implement the same " +"interface. The client of the abstract factory does not care about how " +"these objects are created, it just knows how they go together." +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:13 +msgid "UML Diagram" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:20 +msgid "Code" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:22 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:24 +msgid "WriterFactory.php" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:30 +msgid "CsvWriter.php" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:36 +msgid "JsonWriter.php" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:42 +msgid "UnixCsvWriter.php" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:48 +msgid "UnixJsonWriter.php" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:54 +msgid "UnixWriterFactory.php" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:60 +msgid "WinCsvWriter.php" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:66 +msgid "WinJsonWriter.php" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:72 +msgid "WinWriterFactory.php" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:79 +msgid "Test" +msgstr "" + +#: ../../Creational/AbstractFactory/README.rst:81 +msgid "Tests/AbstractFactoryTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Creational/Builder/README.po b/locale/ja/LC_MESSAGES/Creational/Builder/README.po new file mode 100644 index 0000000..6b1c3f0 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Creational/Builder/README.po @@ -0,0 +1,118 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Creational/Builder/README.rst:2 +msgid "`Builder`__" +msgstr "" + +#: ../../Creational/Builder/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Creational/Builder/README.rst:7 +msgid "Builder is an interface that build parts of a complex object." +msgstr "" + +#: ../../Creational/Builder/README.rst:9 +msgid "" +"Sometimes, if the builder has a better knowledge of what it builds, this " +"interface could be an abstract class with default methods (aka adapter)." +msgstr "" + +#: ../../Creational/Builder/README.rst:12 +msgid "" +"If you have a complex inheritance tree for objects, it is logical to have" +" a complex inheritance tree for builders too." +msgstr "" + +#: ../../Creational/Builder/README.rst:15 +msgid "" +"Note: Builders have often a fluent interface, see the mock builder of " +"PHPUnit for example." +msgstr "" + +#: ../../Creational/Builder/README.rst:19 +msgid "Examples" +msgstr "" + +#: ../../Creational/Builder/README.rst:21 +msgid "PHPUnit: Mock Builder" +msgstr "" + +#: ../../Creational/Builder/README.rst:24 +msgid "UML Diagram" +msgstr "" + +#: ../../Creational/Builder/README.rst:31 +msgid "Code" +msgstr "" + +#: ../../Creational/Builder/README.rst:33 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Creational/Builder/README.rst:35 +msgid "Director.php" +msgstr "" + +#: ../../Creational/Builder/README.rst:41 +msgid "Builder.php" +msgstr "" + +#: ../../Creational/Builder/README.rst:47 +msgid "TruckBuilder.php" +msgstr "" + +#: ../../Creational/Builder/README.rst:53 +msgid "CarBuilder.php" +msgstr "" + +#: ../../Creational/Builder/README.rst:59 +msgid "Parts/Vehicle.php" +msgstr "" + +#: ../../Creational/Builder/README.rst:65 +msgid "Parts/Truck.php" +msgstr "" + +#: ../../Creational/Builder/README.rst:71 +msgid "Parts/Car.php" +msgstr "" + +#: ../../Creational/Builder/README.rst:77 +msgid "Parts/Engine.php" +msgstr "" + +#: ../../Creational/Builder/README.rst:83 +msgid "Parts/Wheel.php" +msgstr "" + +#: ../../Creational/Builder/README.rst:89 +msgid "Parts/Door.php" +msgstr "" + +#: ../../Creational/Builder/README.rst:96 +msgid "Test" +msgstr "" + +#: ../../Creational/Builder/README.rst:98 +msgid "Tests/DirectorTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po new file mode 100644 index 0000000..3d624cd --- /dev/null +++ b/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -0,0 +1,95 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Creational/FactoryMethod/README.rst:2 +msgid "`Factory Method`__" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:7 +msgid "" +"The good point over the SimpleFactory is you can subclass it to implement" +" different ways to create objects." +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:10 +msgid "For simple cases, this abstract class could be just an interface." +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:12 +msgid "" +"This pattern is a \"real\" Design Pattern because it achieves the " +"Dependency Inversion principle a.k.a the \"D\" in SOLID principles." +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:15 +msgid "" +"It means the FactoryMethod class depends on abstractions, not concrete " +"classes. This is the real trick compared to SimpleFactory or " +"StaticFactory." +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:20 +msgid "UML Diagram" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:27 +msgid "Code" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:29 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:31 +msgid "Logger.php" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:37 +msgid "StdoutLogger.php" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:43 +msgid "FileLogger.php" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:49 +msgid "LoggerFactory.php" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:55 +msgid "StdoutLoggerFactory.php" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:61 +msgid "FileLoggerFactory.php" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:68 +msgid "Test" +msgstr "" + +#: ../../Creational/FactoryMethod/README.rst:70 +msgid "Tests/FactoryMethodTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Creational/Pool/README.po b/locale/ja/LC_MESSAGES/Creational/Pool/README.po new file mode 100644 index 0000000..7ca5757 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Creational/Pool/README.po @@ -0,0 +1,85 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Creational/Pool/README.rst:2 +msgid "`Pool`__" +msgstr "" + +#: ../../Creational/Pool/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Creational/Pool/README.rst:7 +msgid "" +"The **object pool pattern** is a software creational design pattern that " +"uses a set of initialized objects kept ready to use – a \"pool\" – rather" +" than allocating and destroying them on demand. A client of the pool will" +" request an object from the pool and perform operations on the returned " +"object. When the client has finished, it returns the object, which is a " +"specific type of factory object, to the pool rather than destroying it." +msgstr "" + +#: ../../Creational/Pool/README.rst:14 +msgid "" +"Object pooling can offer a significant performance boost in situations " +"where the cost of initializing a class instance is high, the rate of " +"instantiation of a class is high, and the number of instances in use at " +"any one time is low. The pooled object is obtained in predictable time " +"when creation of the new objects (especially over network) may take " +"variable time." +msgstr "" + +#: ../../Creational/Pool/README.rst:21 +msgid "" +"However these benefits are mostly true for objects that are expensive " +"with respect to time, such as database connections, socket connections, " +"threads and large graphic objects like fonts or bitmaps. In certain " +"situations, simple object pooling (that hold no external resources, but " +"only occupy memory) may not be efficient and could decrease performance." +msgstr "" + +#: ../../Creational/Pool/README.rst:28 +msgid "UML Diagram" +msgstr "" + +#: ../../Creational/Pool/README.rst:35 +msgid "Code" +msgstr "" + +#: ../../Creational/Pool/README.rst:37 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Creational/Pool/README.rst:39 +msgid "WorkerPool.php" +msgstr "" + +#: ../../Creational/Pool/README.rst:45 +msgid "StringReverseWorker.php" +msgstr "" + +#: ../../Creational/Pool/README.rst:52 +msgid "Test" +msgstr "" + +#: ../../Creational/Pool/README.rst:54 +msgid "Tests/PoolTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Creational/Prototype/README.po b/locale/ja/LC_MESSAGES/Creational/Prototype/README.po new file mode 100644 index 0000000..32c3202 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Creational/Prototype/README.po @@ -0,0 +1,76 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Creational/Prototype/README.rst:2 +msgid "`Prototype`__" +msgstr "" + +#: ../../Creational/Prototype/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Creational/Prototype/README.rst:7 +msgid "" +"To avoid the cost of creating objects the standard way (new Foo()) and " +"instead create a prototype and clone it." +msgstr "" + +#: ../../Creational/Prototype/README.rst:11 +msgid "Examples" +msgstr "" + +#: ../../Creational/Prototype/README.rst:13 +msgid "" +"Large amounts of data (e.g. create 1,000,000 rows in a database at once " +"via a ORM)." +msgstr "" + +#: ../../Creational/Prototype/README.rst:17 +msgid "UML Diagram" +msgstr "" + +#: ../../Creational/Prototype/README.rst:24 +msgid "Code" +msgstr "" + +#: ../../Creational/Prototype/README.rst:26 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Creational/Prototype/README.rst:28 +msgid "BookPrototype.php" +msgstr "" + +#: ../../Creational/Prototype/README.rst:34 +msgid "BarBookPrototype.php" +msgstr "" + +#: ../../Creational/Prototype/README.rst:40 +msgid "FooBookPrototype.php" +msgstr "" + +#: ../../Creational/Prototype/README.rst:47 +msgid "Test" +msgstr "" + +#: ../../Creational/Prototype/README.rst:49 +msgid "Tests/PrototypeTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Creational/README.po b/locale/ja/LC_MESSAGES/Creational/README.po new file mode 100644 index 0000000..cd14ab0 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Creational/README.po @@ -0,0 +1,34 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Creational/README.rst:2 +msgid "`Creational`__" +msgstr "" + +#: ../../Creational/README.rst:4 +msgid "" +"In software engineering, creational design patterns are design patterns " +"that deal with object creation mechanisms, trying to create objects in a " +"manner suitable to the situation. The basic form of object creation could" +" result in design problems or added complexity to the design. Creational " +"design patterns solve this problem by somehow controlling this object " +"creation." +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Creational/SimpleFactory/README.po b/locale/ja/LC_MESSAGES/Creational/SimpleFactory/README.po new file mode 100644 index 0000000..71517bb --- /dev/null +++ b/locale/ja/LC_MESSAGES/Creational/SimpleFactory/README.po @@ -0,0 +1,72 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Creational/SimpleFactory/README.rst:2 +msgid "Simple Factory" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:7 +msgid "SimpleFactory is a simple factory pattern." +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:9 +msgid "" +"It differs from the static factory because it is not static. Therefore, " +"you can have multiple factories, differently parameterized, you can " +"subclass it and you can mock it. It always should be preferred over a " +"static factory!" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:14 +msgid "UML Diagram" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:21 +msgid "Code" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:23 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:25 +msgid "SimpleFactory.php" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:31 +msgid "Bicycle.php" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:38 +msgid "Usage" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:48 +msgid "Test" +msgstr "" + +#: ../../Creational/SimpleFactory/README.rst:50 +msgid "Tests/SimpleFactoryTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Creational/Singleton/README.po b/locale/ja/LC_MESSAGES/Creational/Singleton/README.po new file mode 100644 index 0000000..240c5c6 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Creational/Singleton/README.po @@ -0,0 +1,80 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\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:18 +msgid "Lock file for the application (there is only one in the filesystem ...)" +msgstr "" + +#: ../../Creational/Singleton/README.rst:22 +msgid "UML Diagram" +msgstr "" + +#: ../../Creational/Singleton/README.rst:29 +msgid "Code" +msgstr "" + +#: ../../Creational/Singleton/README.rst:31 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Creational/Singleton/README.rst:33 +msgid "Singleton.php" +msgstr "" + +#: ../../Creational/Singleton/README.rst:40 +msgid "Test" +msgstr "" + +#: ../../Creational/Singleton/README.rst:42 +msgid "Tests/SingletonTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Creational/StaticFactory/README.po b/locale/ja/LC_MESSAGES/Creational/StaticFactory/README.po new file mode 100644 index 0000000..2f937c5 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Creational/StaticFactory/README.po @@ -0,0 +1,73 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Creational/StaticFactory/README.rst:2 +msgid "Static Factory" +msgstr "" + +#: ../../Creational/StaticFactory/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Creational/StaticFactory/README.rst:7 +msgid "" +"Similar to the AbstractFactory, this pattern is used to create series of " +"related or dependent objects. The difference between this and the " +"abstract factory pattern is that the static factory pattern uses just one" +" static method to create all types of objects it can create. It is " +"usually named ``factory`` or ``build``." +msgstr "" + +#: ../../Creational/StaticFactory/README.rst:14 +msgid "UML Diagram" +msgstr "" + +#: ../../Creational/StaticFactory/README.rst:21 +msgid "Code" +msgstr "" + +#: ../../Creational/StaticFactory/README.rst:23 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Creational/StaticFactory/README.rst:25 +msgid "StaticFactory.php" +msgstr "" + +#: ../../Creational/StaticFactory/README.rst:31 +msgid "Formatter.php" +msgstr "" + +#: ../../Creational/StaticFactory/README.rst:37 +msgid "FormatString.php" +msgstr "" + +#: ../../Creational/StaticFactory/README.rst:43 +msgid "FormatNumber.php" +msgstr "" + +#: ../../Creational/StaticFactory/README.rst:50 +msgid "Test" +msgstr "" + +#: ../../Creational/StaticFactory/README.rst:52 +msgid "Tests/StaticFactoryTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/More/EAV/README.po b/locale/ja/LC_MESSAGES/More/EAV/README.po new file mode 100644 index 0000000..f5cceee --- /dev/null +++ b/locale/ja/LC_MESSAGES/More/EAV/README.po @@ -0,0 +1,74 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../More/EAV/README.rst:2 +msgid "`Entity-Attribute-Value (EAV)`__" +msgstr "" + +#: ../../More/EAV/README.rst:4 +msgid "" +"The Entity–attribute–value (EAV) pattern in order to implement EAV model " +"with PHP." +msgstr "" + +#: ../../More/EAV/README.rst:7 +msgid "Purpose" +msgstr "" + +#: ../../More/EAV/README.rst:9 +msgid "" +"The Entity–attribute–value (EAV) model is a data model to describe " +"entities where the number of attributes (properties, parameters) that can" +" be used to describe them is potentially vast, but the number that will " +"actually apply to a given entity is relatively modest." +msgstr "" + +#: ../../More/EAV/README.rst:15 +msgid "UML Diagram" +msgstr "" + +#: ../../More/EAV/README.rst:22 +msgid "Code" +msgstr "" + +#: ../../More/EAV/README.rst:24 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../More/EAV/README.rst:26 +msgid "Entity.php" +msgstr "" + +#: ../../More/EAV/README.rst:32 +msgid "Attribute.php" +msgstr "" + +#: ../../More/EAV/README.rst:38 +msgid "Value.php" +msgstr "" + +#: ../../More/EAV/README.rst:45 +msgid "Test" +msgstr "" + +#: ../../More/EAV/README.rst:47 +msgid "Tests/EAVTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/More/README.po b/locale/ja/LC_MESSAGES/More/README.po new file mode 100644 index 0000000..89f0769 --- /dev/null +++ b/locale/ja/LC_MESSAGES/More/README.po @@ -0,0 +1,24 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../More/README.rst:2 +msgid "More" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/More/Repository/README.po b/locale/ja/LC_MESSAGES/More/Repository/README.po new file mode 100644 index 0000000..6e07a0b --- /dev/null +++ b/locale/ja/LC_MESSAGES/More/Repository/README.po @@ -0,0 +1,97 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../More/Repository/README.rst:2 +msgid "Repository" +msgstr "" + +#: ../../More/Repository/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../More/Repository/README.rst:7 +msgid "" +"Mediates between the domain and data mapping layers using a collection-" +"like interface for accessing domain objects. Repository encapsulates the " +"set of objects persisted in a data store and the operations performed " +"over them, providing a more object-oriented view of the persistence " +"layer. Repository also supports the objective of achieving a clean " +"separation and one-way dependency between the domain and data mapping " +"layers." +msgstr "" + +#: ../../More/Repository/README.rst:16 +msgid "Examples" +msgstr "" + +#: ../../More/Repository/README.rst:18 +msgid "" +"Doctrine 2 ORM: there is Repository that mediates between Entity and DBAL" +" and contains methods to retrieve objects" +msgstr "" + +#: ../../More/Repository/README.rst:20 +msgid "Laravel Framework" +msgstr "" + +#: ../../More/Repository/README.rst:23 +msgid "UML Diagram" +msgstr "" + +#: ../../More/Repository/README.rst:30 +msgid "Code" +msgstr "" + +#: ../../More/Repository/README.rst:32 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../More/Repository/README.rst:34 +msgid "Post.php" +msgstr "" + +#: ../../More/Repository/README.rst:40 +msgid "PostId.php" +msgstr "" + +#: ../../More/Repository/README.rst:46 +msgid "PostStatus.php" +msgstr "" + +#: ../../More/Repository/README.rst:52 +msgid "PostRepository.php" +msgstr "" + +#: ../../More/Repository/README.rst:58 +msgid "Persistence.php" +msgstr "" + +#: ../../More/Repository/README.rst:64 +msgid "InMemoryPersistence.php" +msgstr "" + +#: ../../More/Repository/README.rst:71 +msgid "Test" +msgstr "" + +#: ../../More/Repository/README.rst:73 +msgid "Tests/PostRepositoryTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/More/ServiceLocator/README.po b/locale/ja/LC_MESSAGES/More/ServiceLocator/README.po new file mode 100644 index 0000000..90ad256 --- /dev/null +++ b/locale/ja/LC_MESSAGES/More/ServiceLocator/README.po @@ -0,0 +1,93 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../More/ServiceLocator/README.rst:2 +msgid "`Service Locator`__" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:4 +msgid "**THIS IS CONSIDERED TO BE AN ANTI-PATTERN!**" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:6 +msgid "" +"Service Locator is considered for some people an anti-pattern. It " +"violates the Dependency Inversion principle. Service Locator hides class'" +" dependencies instead of exposing them as you would do using the " +"Dependency Injection. In case of changes of those dependencies you risk " +"to break the functionality of classes which are using them, making your " +"system difficult to maintain." +msgstr "" + +#: ../../More/ServiceLocator/README.rst:10 +msgid "Purpose" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:12 +msgid "" +"To implement a loosely coupled architecture in order to get better " +"testable, maintainable and extendable code. DI pattern and Service " +"Locator pattern are an implementation of the Inverse of Control pattern." +msgstr "" + +#: ../../More/ServiceLocator/README.rst:17 +msgid "Usage" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:19 +msgid "" +"With ``ServiceLocator`` you can register a service for a given interface." +" By using the interface you can retrieve the service and use it in the " +"classes of the application without knowing its implementation. You can " +"configure and inject the Service Locator object on bootstrap." +msgstr "" + +#: ../../More/ServiceLocator/README.rst:25 +msgid "UML Diagram" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:32 +msgid "Code" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:34 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:36 +msgid "Service.php" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:42 +msgid "ServiceLocator.php" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:48 +msgid "LogService.php" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:55 +msgid "Test" +msgstr "" + +#: ../../More/ServiceLocator/README.rst:57 +msgid "Tests/ServiceLocatorTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/README.po b/locale/ja/LC_MESSAGES/README.po new file mode 100644 index 0000000..8f3f99f --- /dev/null +++ b/locale/ja/LC_MESSAGES/README.po @@ -0,0 +1,47 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../README.rst:5 +msgid "DesignPatternsPHP" +msgstr "" + +#: ../../README.rst:19 +msgid "" +"This is a collection of known `design patterns`_ and some sample code how" +" to implement them in PHP. Every pattern has a small list of examples." +msgstr "" + +#: ../../README.rst:22 +msgid "" +"I think the problem with patterns is that often people do know them but " +"don't know when to apply which." +msgstr "" + +#: ../../README.rst:26 +msgid "Patterns" +msgstr "" + +#: ../../README.rst:28 +msgid "" +"The patterns can be structured in roughly three different categories. " +"Please click on **the title of every pattern's page** for a full " +"explanation of the pattern on Wikipedia." +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Structural/Adapter/README.po b/locale/ja/LC_MESSAGES/Structural/Adapter/README.po new file mode 100644 index 0000000..e815ae2 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Structural/Adapter/README.po @@ -0,0 +1,90 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Structural/Adapter/README.rst:2 +msgid "`Adapter / Wrapper`__" +msgstr "" + +#: ../../Structural/Adapter/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Adapter/README.rst:7 +msgid "" +"To translate one interface for a class into a compatible interface. An " +"adapter allows classes to work together that normally could not because " +"of incompatible interfaces by providing its interface to clients while " +"using the original interface." +msgstr "" + +#: ../../Structural/Adapter/README.rst:13 +msgid "Examples" +msgstr "" + +#: ../../Structural/Adapter/README.rst:15 +msgid "DB Client libraries adapter" +msgstr "" + +#: ../../Structural/Adapter/README.rst:16 +msgid "" +"using multiple different webservices and adapters normalize data so that " +"the outcome is the same for all" +msgstr "" + +#: ../../Structural/Adapter/README.rst:20 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Adapter/README.rst:27 +msgid "Code" +msgstr "" + +#: ../../Structural/Adapter/README.rst:29 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Structural/Adapter/README.rst:31 +msgid "Book.php" +msgstr "" + +#: ../../Structural/Adapter/README.rst:37 +msgid "PaperBook.php" +msgstr "" + +#: ../../Structural/Adapter/README.rst:43 +msgid "EBook.php" +msgstr "" + +#: ../../Structural/Adapter/README.rst:49 +msgid "EBookAdapter.php" +msgstr "" + +#: ../../Structural/Adapter/README.rst:55 +msgid "Kindle.php" +msgstr "" + +#: ../../Structural/Adapter/README.rst:62 +msgid "Test" +msgstr "" + +#: ../../Structural/Adapter/README.rst:64 +msgid "Tests/AdapterTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Structural/Bridge/README.po b/locale/ja/LC_MESSAGES/Structural/Bridge/README.po new file mode 100644 index 0000000..f9d64c3 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Structural/Bridge/README.po @@ -0,0 +1,78 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Structural/Bridge/README.rst:2 +msgid "`Bridge`__" +msgstr "" + +#: ../../Structural/Bridge/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Bridge/README.rst:7 +msgid "" +"Decouple an abstraction from its implementation so that the two can vary " +"independently." +msgstr "" + +#: ../../Structural/Bridge/README.rst:11 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Bridge/README.rst:18 +msgid "Code" +msgstr "" + +#: ../../Structural/Bridge/README.rst:20 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Structural/Bridge/README.rst:22 +msgid "Formatter.php" +msgstr "" + +#: ../../Structural/Bridge/README.rst:28 +msgid "PlainTextFormatter.php" +msgstr "" + +#: ../../Structural/Bridge/README.rst:34 +msgid "HtmlFormatter.php" +msgstr "" + +#: ../../Structural/Bridge/README.rst:40 +msgid "Service.php" +msgstr "" + +#: ../../Structural/Bridge/README.rst:46 +msgid "HelloWorldService.php" +msgstr "" + +#: ../../Structural/Bridge/README.rst:52 +msgid "PingService.php" +msgstr "" + +#: ../../Structural/Bridge/README.rst:59 +msgid "Test" +msgstr "" + +#: ../../Structural/Bridge/README.rst:61 +msgid "Tests/BridgeTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Structural/Composite/README.po b/locale/ja/LC_MESSAGES/Structural/Composite/README.po new file mode 100644 index 0000000..f3052c5 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Structural/Composite/README.po @@ -0,0 +1,81 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Structural/Composite/README.rst:2 +msgid "`Composite`__" +msgstr "" + +#: ../../Structural/Composite/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Composite/README.rst:7 +msgid "" +"To treat a group of objects the same way as a single instance of the " +"object." +msgstr "" + +#: ../../Structural/Composite/README.rst:11 +msgid "Examples" +msgstr "" + +#: ../../Structural/Composite/README.rst:13 +msgid "" +"a form class instance handles all its form elements like a single " +"instance of the form, when ``render()`` is called, it subsequently runs " +"through all its child elements and calls ``render()`` on them" +msgstr "" + +#: ../../Structural/Composite/README.rst:18 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Composite/README.rst:25 +msgid "Code" +msgstr "" + +#: ../../Structural/Composite/README.rst:27 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Structural/Composite/README.rst:29 +msgid "Renderable.php" +msgstr "" + +#: ../../Structural/Composite/README.rst:35 +msgid "Form.php" +msgstr "" + +#: ../../Structural/Composite/README.rst:41 +msgid "InputElement.php" +msgstr "" + +#: ../../Structural/Composite/README.rst:47 +msgid "TextElement.php" +msgstr "" + +#: ../../Structural/Composite/README.rst:54 +msgid "Test" +msgstr "" + +#: ../../Structural/Composite/README.rst:56 +msgid "Tests/CompositeTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Structural/DataMapper/README.po b/locale/ja/LC_MESSAGES/Structural/DataMapper/README.po new file mode 100644 index 0000000..f0a7b67 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Structural/DataMapper/README.po @@ -0,0 +1,89 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Structural/DataMapper/README.rst:2 +msgid "`Data Mapper`__" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:7 +msgid "" +"A Data Mapper, is a Data Access Layer that performs bidirectional " +"transfer of data between a persistent data store (often a relational " +"database) and an in memory data representation (the domain layer). The " +"goal of the pattern is to keep the in memory representation and the " +"persistent data store independent of each other and the data mapper " +"itself. The layer is composed of one or more mappers (or Data Access " +"Objects), performing the data transfer. Mapper implementations vary in " +"scope. Generic mappers will handle many different domain entity types, " +"dedicated mappers will handle one or a few." +msgstr "" + +#: ../../Structural/DataMapper/README.rst:17 +msgid "" +"The key point of this pattern is, unlike Active Record pattern, the data " +"model follows Single Responsibility Principle." +msgstr "" + +#: ../../Structural/DataMapper/README.rst:21 +msgid "Examples" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:23 +msgid "" +"DB Object Relational Mapper (ORM) : Doctrine2 uses DAO named as " +"\"EntityRepository\"" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:27 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:34 +msgid "Code" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:36 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:38 +msgid "User.php" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:44 +msgid "UserMapper.php" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:50 +msgid "StorageAdapter.php" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:57 +msgid "Test" +msgstr "" + +#: ../../Structural/DataMapper/README.rst:59 +msgid "Tests/DataMapperTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Structural/Decorator/README.po b/locale/ja/LC_MESSAGES/Structural/Decorator/README.po new file mode 100644 index 0000000..71272fd --- /dev/null +++ b/locale/ja/LC_MESSAGES/Structural/Decorator/README.po @@ -0,0 +1,82 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Structural/Decorator/README.rst:2 +msgid "`Decorator`__" +msgstr "" + +#: ../../Structural/Decorator/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Decorator/README.rst:7 +msgid "To dynamically add new functionality to class instances." +msgstr "" + +#: ../../Structural/Decorator/README.rst:10 +msgid "Examples" +msgstr "" + +#: ../../Structural/Decorator/README.rst:12 +msgid "" +"Web Service Layer: Decorators JSON and XML for a REST service (in this " +"case, only one of these should be allowed of course)" +msgstr "" + +#: ../../Structural/Decorator/README.rst:16 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Decorator/README.rst:23 +msgid "Code" +msgstr "" + +#: ../../Structural/Decorator/README.rst:25 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Structural/Decorator/README.rst:27 +msgid "Booking.php" +msgstr "" + +#: ../../Structural/Decorator/README.rst:33 +msgid "BookingDecorator.php" +msgstr "" + +#: ../../Structural/Decorator/README.rst:39 +msgid "DoubleRoomBooking.php" +msgstr "" + +#: ../../Structural/Decorator/README.rst:45 +msgid "ExtraBed.php" +msgstr "" + +#: ../../Structural/Decorator/README.rst:51 +msgid "WiFi.php" +msgstr "" + +#: ../../Structural/Decorator/README.rst:58 +msgid "Test" +msgstr "" + +#: ../../Structural/Decorator/README.rst:60 +msgid "Tests/DecoratorTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Structural/DependencyInjection/README.po b/locale/ja/LC_MESSAGES/Structural/DependencyInjection/README.po new file mode 100644 index 0000000..64d3ac6 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Structural/DependencyInjection/README.po @@ -0,0 +1,92 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Structural/DependencyInjection/README.rst:2 +msgid "`Dependency Injection`__" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:7 +msgid "" +"To implement a loosely coupled architecture in order to get better " +"testable, maintainable and extendable code." +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:11 +msgid "Usage" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:13 +msgid "" +"``DatabaseConfiguration`` gets injected and ``DatabaseConnection`` will " +"get all that it needs from ``$config``. Without DI, the configuration " +"would be created directly in ``DatabaseConnection``, which is not very " +"good for testing and extending it." +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:19 +msgid "Examples" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:21 +msgid "" +"The Doctrine2 ORM uses dependency injection e.g. for configuration that " +"is injected into a ``Connection`` object. For testing purposes, one can " +"easily create a mock object of the configuration and inject that into the" +" ``Connection`` object" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:25 +msgid "" +"many frameworks already have containers for DI that create objects via a " +"configuration array and inject them where needed (i.e. in Controllers)" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:30 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:37 +msgid "Code" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:39 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:41 +msgid "DatabaseConfiguration.php" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:47 +msgid "DatabaseConnection.php" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:54 +msgid "Test" +msgstr "" + +#: ../../Structural/DependencyInjection/README.rst:56 +msgid "Tests/DependencyInjectionTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Structural/Facade/README.po b/locale/ja/LC_MESSAGES/Structural/Facade/README.po new file mode 100644 index 0000000..de56435 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Structural/Facade/README.po @@ -0,0 +1,95 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Structural/Facade/README.rst:2 +msgid "`Facade`__" +msgstr "" + +#: ../../Structural/Facade/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Facade/README.rst:7 +msgid "" +"The primary goal of a Facade Pattern is not to avoid you having to read " +"the manual of a complex API. It's only a side-effect. The first goal is " +"to reduce coupling and follow the Law of Demeter." +msgstr "" + +#: ../../Structural/Facade/README.rst:11 +msgid "" +"A Facade is meant to decouple a client and a sub-system by embedding many" +" (but sometimes just one) interface, and of course to reduce complexity." +msgstr "" + +#: ../../Structural/Facade/README.rst:15 +msgid "A facade does not forbid you the access to the sub-system" +msgstr "" + +#: ../../Structural/Facade/README.rst:16 +msgid "You can (you should) have multiple facades for one sub-system" +msgstr "" + +#: ../../Structural/Facade/README.rst:18 +msgid "" +"That's why a good facade has no ``new`` in it. If there are multiple " +"creations for each method, it is not a Facade, it's a Builder or a " +"[Abstract\\|Static\\|Simple] Factory [Method]." +msgstr "" + +#: ../../Structural/Facade/README.rst:22 +msgid "" +"The best facade has no ``new`` and a constructor with interface-type-" +"hinted parameters. If you need creation of new instances, use a Factory " +"as argument." +msgstr "" + +#: ../../Structural/Facade/README.rst:27 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Facade/README.rst:34 +msgid "Code" +msgstr "" + +#: ../../Structural/Facade/README.rst:36 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Structural/Facade/README.rst:38 +msgid "Facade.php" +msgstr "" + +#: ../../Structural/Facade/README.rst:44 +msgid "OperatingSystem.php" +msgstr "" + +#: ../../Structural/Facade/README.rst:50 +msgid "Bios.php" +msgstr "" + +#: ../../Structural/Facade/README.rst:57 +msgid "Test" +msgstr "" + +#: ../../Structural/Facade/README.rst:59 +msgid "Tests/FacadeTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Structural/FluentInterface/README.po b/locale/ja/LC_MESSAGES/Structural/FluentInterface/README.po new file mode 100644 index 0000000..f09347b --- /dev/null +++ b/locale/ja/LC_MESSAGES/Structural/FluentInterface/README.po @@ -0,0 +1,70 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Structural/FluentInterface/README.rst:2 +msgid "`Fluent Interface`__" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:7 +msgid "" +"To write code that is easy readable just like sentences in a natural " +"language (like English)." +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:11 +msgid "Examples" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:13 +msgid "Doctrine2's QueryBuilder works something like that example class below" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:15 +msgid "PHPUnit uses fluent interfaces to build mock objects" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:18 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:25 +msgid "Code" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:27 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:29 +msgid "Sql.php" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:36 +msgid "Test" +msgstr "" + +#: ../../Structural/FluentInterface/README.rst:38 +msgid "Tests/FluentInterfaceTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Structural/Flyweight/README.po b/locale/ja/LC_MESSAGES/Structural/Flyweight/README.po new file mode 100644 index 0000000..5637390 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Structural/Flyweight/README.po @@ -0,0 +1,73 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Structural/Flyweight/README.rst:2 +msgid "`Flyweight`__" +msgstr "" + +#: ../../Structural/Flyweight/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Flyweight/README.rst:7 +msgid "" +"To minimise memory usage, a Flyweight shares as much as possible memory " +"with similar objects. It is needed when a large amount of objects is used" +" that don't differ much in state. A common practice is to hold state in " +"external data structures and pass them to the flyweight object when " +"needed." +msgstr "" + +#: ../../Structural/Flyweight/README.rst:12 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Flyweight/README.rst:19 +msgid "Code" +msgstr "" + +#: ../../Structural/Flyweight/README.rst:21 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Structural/Flyweight/README.rst:23 +msgid "Text.php" +msgstr "" + +#: ../../Structural/Flyweight/README.rst:29 +msgid "Word.php" +msgstr "" + +#: ../../Structural/Flyweight/README.rst:35 +msgid "Character.php" +msgstr "" + +#: ../../Structural/Flyweight/README.rst:41 +msgid "TextFactory.php" +msgstr "" + +#: ../../Structural/Flyweight/README.rst:48 +msgid "Test" +msgstr "" + +#: ../../Structural/Flyweight/README.rst:50 +msgid "Tests/FlyweightTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Structural/Proxy/README.po b/locale/ja/LC_MESSAGES/Structural/Proxy/README.po new file mode 100644 index 0000000..5005c24 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Structural/Proxy/README.po @@ -0,0 +1,75 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Structural/Proxy/README.rst:2 +msgid "`Proxy`__" +msgstr "" + +#: ../../Structural/Proxy/README.rst:5 +msgid "Purpose" +msgstr "" + +#: ../../Structural/Proxy/README.rst:7 +msgid "To interface to anything that is expensive or impossible to duplicate." +msgstr "" + +#: ../../Structural/Proxy/README.rst:10 +msgid "Examples" +msgstr "" + +#: ../../Structural/Proxy/README.rst:12 +msgid "" +"Doctrine2 uses proxies to implement framework magic (e.g. lazy " +"initialization) in them, while the user still works with his own entity " +"classes and will never use nor touch the proxies" +msgstr "" + +#: ../../Structural/Proxy/README.rst:17 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Proxy/README.rst:24 +msgid "Code" +msgstr "" + +#: ../../Structural/Proxy/README.rst:26 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Structural/Proxy/README.rst:28 +msgid "BankAccount.php" +msgstr "" + +#: ../../Structural/Proxy/README.rst:34 +msgid "HeavyBankAccount.php" +msgstr "" + +#: ../../Structural/Proxy/README.rst:40 +msgid "BankAccountProxy.php" +msgstr "" + +#: ../../Structural/Proxy/README.rst:47 +msgid "Test" +msgstr "" + +#: ../../Structural/Proxy/README.rst:49 +msgid "ProxyTest.php" +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Structural/README.po b/locale/ja/LC_MESSAGES/Structural/README.po new file mode 100644 index 0000000..2c97c84 --- /dev/null +++ b/locale/ja/LC_MESSAGES/Structural/README.po @@ -0,0 +1,31 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\n" + +#: ../../Structural/README.rst:2 +msgid "`Structural`__" +msgstr "" + +#: ../../Structural/README.rst:4 +msgid "" +"In Software Engineering, Structural Design Patterns are Design Patterns " +"that ease the design by identifying a simple way to realize relationships" +" between entities." +msgstr "" + diff --git a/locale/ja/LC_MESSAGES/Structural/Registry/README.po b/locale/ja/LC_MESSAGES/Structural/Registry/README.po new file mode 100644 index 0000000..c7b4e9a --- /dev/null +++ b/locale/ja/LC_MESSAGES/Structural/Registry/README.po @@ -0,0 +1,65 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2011-2019, Dominik Liebler and contributors +# This file is distributed under the same license as the DesignPatternsPHP +# package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: DesignPatternsPHP 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-05-04 00:50+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.8.0\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:13 +msgid "UML Diagram" +msgstr "" + +#: ../../Structural/Registry/README.rst:20 +msgid "Code" +msgstr "" + +#: ../../Structural/Registry/README.rst:22 +msgid "You can also find this code on `GitHub`_" +msgstr "" + +#: ../../Structural/Registry/README.rst:24 +msgid "Registry.php" +msgstr "" + +#: ../../Structural/Registry/README.rst:30 +msgid "Service.php" +msgstr "" + +#: ../../Structural/Registry/README.rst:37 +msgid "Test" +msgstr "" + +#: ../../Structural/Registry/README.rst:39 +msgid "Tests/RegistryTest.php" +msgstr "" + From fcd6a8e0c66133a134627da4058779f620cfc342 Mon Sep 17 00:00:00 2001 From: tanden Date: Mon, 4 May 2020 11:21:48 +0900 Subject: [PATCH 02/11] [translate] README.po --- locale/ja/LC_MESSAGES/README.po | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/locale/ja/LC_MESSAGES/README.po b/locale/ja/LC_MESSAGES/README.po index 8f3f99f..fb70619 100644 --- a/locale/ja/LC_MESSAGES/README.po +++ b/locale/ja/LC_MESSAGES/README.po @@ -2,7 +2,7 @@ # Copyright (C) 2011-2019, Dominik Liebler and contributors # This file is distributed under the same license as the DesignPatternsPHP # package. -# FIRST AUTHOR , 2020. +# Sumita Takaki , 2020. # #, fuzzy msgid "" @@ -11,7 +11,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-04 00:50+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"Last-Translator: Sumita Takaki \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -20,23 +20,26 @@ msgstr "" #: ../../README.rst:5 msgid "DesignPatternsPHP" -msgstr "" +msgstr "デザインパターンPHP" #: ../../README.rst:19 msgid "" "This is a collection of known `design patterns`_ and some sample code how" " to implement them in PHP. Every pattern has a small list of examples." msgstr "" +"`デザインパターン`_ として知られているソフトウェアの設計パターンをPHPでどう実装するのか、カタログ形式にまとめたものです。" +"すべてのパターンにはサンプルコードがついています。" #: ../../README.rst:22 msgid "" "I think the problem with patterns is that often people do know them but " "don't know when to apply which." msgstr "" +"デザインパターンを知ってはいるものの、それを実際にどんな時に使えばよいか、いまひとつわからないことが多いと思います。" #: ../../README.rst:26 msgid "Patterns" -msgstr "" +msgstr "パターン" #: ../../README.rst:28 msgid "" @@ -44,4 +47,7 @@ msgid "" "Please click on **the title of every pattern's page** for a full " "explanation of the pattern on Wikipedia." msgstr "" +"パターンは大まかに3つのカテゴリーに分けることができます。" +"各ページの **タイトル** をクリックすると、それぞれのデザインパターンのWikipediaの記事に飛ぶようになっているので、" +"詳細な解説はそちらで確認してみてください。" From 00f507b35bb8a547c9c248ceb7a17f91c155c1de Mon Sep 17 00:00:00 2001 From: tanden Date: Mon, 4 May 2020 13:40:05 +0900 Subject: [PATCH 03/11] [translate] AbstractFactory --- .../Creational/AbstractFactory/README.po | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/locale/ja/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/ja/LC_MESSAGES/Creational/AbstractFactory/README.po index 2cc5ddb..5347049 100644 --- a/locale/ja/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/ja/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -2,7 +2,7 @@ # Copyright (C) 2011-2019, Dominik Liebler and contributors # This file is distributed under the same license as the DesignPatternsPHP # package. -# FIRST AUTHOR , 2020. +# Sumita Takaki , 2020. # #, fuzzy msgid "" @@ -11,7 +11,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-04 00:50+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"Last-Translator: Sumita Takaki \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -20,11 +20,11 @@ msgstr "" #: ../../Creational/AbstractFactory/README.rst:2 msgid "`Abstract Factory`__" -msgstr "" +msgstr "`Abstract Factoryパターン`__" #: ../../Creational/AbstractFactory/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "目的" #: ../../Creational/AbstractFactory/README.rst:7 msgid "" @@ -33,18 +33,22 @@ msgid "" "interface. The client of the abstract factory does not care about how " "these objects are created, it just knows how they go together." msgstr "" +"具体的なクラスを指定せずに、互いに関連・依存し合う一連のオブジェクト郡を生成します。" +"一般に、生成された全てのクラスは同じインターフェースを実装します。" +"AbstractFactoryクラスを利用するClientクラスは、これらのオブジェクト郡がどのように連携するかについては知っていますが、" +"どのように生成されたかについて把握する必要はありません。" #: ../../Creational/AbstractFactory/README.rst:13 msgid "UML Diagram" -msgstr "" +msgstr "クラス図" #: ../../Creational/AbstractFactory/README.rst:20 msgid "Code" -msgstr "" +msgstr "サンプルコード" #: ../../Creational/AbstractFactory/README.rst:22 msgid "You can also find this code on `GitHub`_" -msgstr "" +msgstr "サンプルコードは `GitHub`_ でも確認することができます。" #: ../../Creational/AbstractFactory/README.rst:24 msgid "WriterFactory.php" @@ -84,7 +88,7 @@ msgstr "" #: ../../Creational/AbstractFactory/README.rst:79 msgid "Test" -msgstr "" +msgstr "テスト" #: ../../Creational/AbstractFactory/README.rst:81 msgid "Tests/AbstractFactoryTest.php" From bb190e5627c330932c71248ad4ac963fdc80a939 Mon Sep 17 00:00:00 2001 From: tanden Date: Mon, 4 May 2020 13:42:22 +0900 Subject: [PATCH 04/11] [translate] Builder --- .../LC_MESSAGES/Creational/Builder/README.po | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/locale/ja/LC_MESSAGES/Creational/Builder/README.po b/locale/ja/LC_MESSAGES/Creational/Builder/README.po index 6b1c3f0..5d6d806 100644 --- a/locale/ja/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/ja/LC_MESSAGES/Creational/Builder/README.po @@ -2,7 +2,7 @@ # Copyright (C) 2011-2019, Dominik Liebler and contributors # This file is distributed under the same license as the DesignPatternsPHP # package. -# FIRST AUTHOR , 2020. +# Sumita Takaki , 2020. # #, fuzzy msgid "" @@ -11,7 +11,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-04 00:50+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"Last-Translator: Sumita Takaki \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -20,53 +20,58 @@ msgstr "" #: ../../Creational/Builder/README.rst:2 msgid "`Builder`__" -msgstr "" +msgstr "`Builderパターン`__" #: ../../Creational/Builder/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "目的" #: ../../Creational/Builder/README.rst:7 msgid "Builder is an interface that build parts of a complex object." -msgstr "" +msgstr "オブジェクトを組み合わせて、複雑なオブジェクトを構築するインターフェースをBuilderクラスと呼びます。" #: ../../Creational/Builder/README.rst:9 msgid "" "Sometimes, if the builder has a better knowledge of what it builds, this " "interface could be an abstract class with default methods (aka adapter)." msgstr "" +"ときに、Builderクラス自身が何を構築するのか知っている場合、このインターフェースはデフォルトメソッド" +"を持つ抽象クラスとなります(Adapterパターン)。" #: ../../Creational/Builder/README.rst:12 msgid "" "If you have a complex inheritance tree for objects, it is logical to have" " a complex inheritance tree for builders too." msgstr "" +"オブジェクトの複雑な継承ツリーがある場合、Builderクラスにも複雑な継承ツリーがあっておかしくありません。" #: ../../Creational/Builder/README.rst:15 msgid "" "Note: Builders have often a fluent interface, see the mock builder of " "PHPUnit for example." msgstr "" +"注: Builderクラスの多くは、流れるようなインターフェース(fluent interface)を持っています。" +"例としてPHPUnitのモックビルダーをご覧ください。" #: ../../Creational/Builder/README.rst:19 msgid "Examples" -msgstr "" +msgstr "例" #: ../../Creational/Builder/README.rst:21 msgid "PHPUnit: Mock Builder" -msgstr "" +msgstr "PHPUnit: モックビルダー" #: ../../Creational/Builder/README.rst:24 msgid "UML Diagram" -msgstr "" +msgstr "クラス図" #: ../../Creational/Builder/README.rst:31 msgid "Code" -msgstr "" +msgstr "サンプルコード" #: ../../Creational/Builder/README.rst:33 msgid "You can also find this code on `GitHub`_" -msgstr "" +msgstr "サンプルコードは `GitHub`_ でも確認することができます。" #: ../../Creational/Builder/README.rst:35 msgid "Director.php" @@ -110,7 +115,7 @@ msgstr "" #: ../../Creational/Builder/README.rst:96 msgid "Test" -msgstr "" +msgstr "テスト" #: ../../Creational/Builder/README.rst:98 msgid "Tests/DirectorTest.php" From 38bbf071c56a508da122ec53869686a532da8881 Mon Sep 17 00:00:00 2001 From: tanden Date: Mon, 4 May 2020 15:38:02 +0900 Subject: [PATCH 05/11] [translate] FactoryMethod --- .../Creational/FactoryMethod/README.po | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po index 3d624cd..596d908 100644 --- a/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -2,7 +2,7 @@ # Copyright (C) 2011-2019, Dominik Liebler and contributors # This file is distributed under the same license as the DesignPatternsPHP # package. -# FIRST AUTHOR , 2020. +# Sumita Takaki , 2020. # #, fuzzy msgid "" @@ -11,7 +11,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-04 00:50+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"Last-Translator: Sumita Takaki \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -20,27 +20,31 @@ msgstr "" #: ../../Creational/FactoryMethod/README.rst:2 msgid "`Factory Method`__" -msgstr "" +msgstr "`Factory Methodパターン`__" #: ../../Creational/FactoryMethod/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "目的" #: ../../Creational/FactoryMethod/README.rst:7 msgid "" "The good point over the SimpleFactory is you can subclass it to implement" " different ways to create objects." msgstr "" +"FacboryMethodパターンはSimpleFactoryパターンと比べて、" +"オブジェクト生成のために行う様々な実装を、サブクラスに任せることができる点が優れています。" #: ../../Creational/FactoryMethod/README.rst:10 msgid "For simple cases, this abstract class could be just an interface." -msgstr "" +msgstr "単純なケースとして、FactoryMethodクラスはただのインターフェースとして扱われます。" #: ../../Creational/FactoryMethod/README.rst:12 msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " "Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" +"このFactoryMethodパターンは、SOLIDとして知られているソフトウェア設計の5つの原則のうち、「D」の依存性逆転の法則" +"(Dependency Inversion principle)を実現するための「実用的な」デザインパターンです。" #: ../../Creational/FactoryMethod/README.rst:15 msgid "" @@ -48,18 +52,20 @@ msgid "" "classes. This is the real trick compared to SimpleFactory or " "StaticFactory." msgstr "" +"つまり、FactoryMethodクラスは具象クラスではなく、抽象クラスに依存するということです。" +"SimpleFactoryパターンや、StaticFactoryパターンと比較したときに、ここが異なる優れた点であると言えます。" #: ../../Creational/FactoryMethod/README.rst:20 msgid "UML Diagram" -msgstr "" +msgstr "クラス図" #: ../../Creational/FactoryMethod/README.rst:27 msgid "Code" -msgstr "" +msgstr "サンプルコード" #: ../../Creational/FactoryMethod/README.rst:29 msgid "You can also find this code on `GitHub`_" -msgstr "" +msgstr "サンプルコードは `GitHub`_ でも確認することができます。" #: ../../Creational/FactoryMethod/README.rst:31 msgid "Logger.php" @@ -87,7 +93,7 @@ msgstr "" #: ../../Creational/FactoryMethod/README.rst:68 msgid "Test" -msgstr "" +msgstr "テスト" #: ../../Creational/FactoryMethod/README.rst:70 msgid "Tests/FactoryMethodTest.php" From 9b9a04c8adb6c47cc910b7261a7453d0ae1a756e Mon Sep 17 00:00:00 2001 From: tanden Date: Mon, 4 May 2020 16:26:23 +0900 Subject: [PATCH 06/11] [modify] add space between pattern-name and pattern --- .../ja/LC_MESSAGES/Creational/AbstractFactory/README.po | 2 +- locale/ja/LC_MESSAGES/Creational/Builder/README.po | 4 ++-- locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/locale/ja/LC_MESSAGES/Creational/AbstractFactory/README.po b/locale/ja/LC_MESSAGES/Creational/AbstractFactory/README.po index 5347049..a93ece9 100644 --- a/locale/ja/LC_MESSAGES/Creational/AbstractFactory/README.po +++ b/locale/ja/LC_MESSAGES/Creational/AbstractFactory/README.po @@ -20,7 +20,7 @@ msgstr "" #: ../../Creational/AbstractFactory/README.rst:2 msgid "`Abstract Factory`__" -msgstr "`Abstract Factoryパターン`__" +msgstr "`Abstract Factory パターン`__" #: ../../Creational/AbstractFactory/README.rst:5 msgid "Purpose" diff --git a/locale/ja/LC_MESSAGES/Creational/Builder/README.po b/locale/ja/LC_MESSAGES/Creational/Builder/README.po index 5d6d806..d6ed157 100644 --- a/locale/ja/LC_MESSAGES/Creational/Builder/README.po +++ b/locale/ja/LC_MESSAGES/Creational/Builder/README.po @@ -20,7 +20,7 @@ msgstr "" #: ../../Creational/Builder/README.rst:2 msgid "`Builder`__" -msgstr "`Builderパターン`__" +msgstr "`Builder パターン`__" #: ../../Creational/Builder/README.rst:5 msgid "Purpose" @@ -36,7 +36,7 @@ msgid "" "interface could be an abstract class with default methods (aka adapter)." msgstr "" "ときに、Builderクラス自身が何を構築するのか知っている場合、このインターフェースはデフォルトメソッド" -"を持つ抽象クラスとなります(Adapterパターン)。" +"を持つ抽象クラスとなります(Adapter パターン)。" #: ../../Creational/Builder/README.rst:12 msgid "" diff --git a/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po index 596d908..db96081 100644 --- a/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -20,7 +20,7 @@ msgstr "" #: ../../Creational/FactoryMethod/README.rst:2 msgid "`Factory Method`__" -msgstr "`Factory Methodパターン`__" +msgstr "`Factory Method パターン`__" #: ../../Creational/FactoryMethod/README.rst:5 msgid "Purpose" @@ -31,7 +31,7 @@ msgid "" "The good point over the SimpleFactory is you can subclass it to implement" " different ways to create objects." msgstr "" -"FacboryMethodパターンはSimpleFactoryパターンと比べて、" +"FacboryMethod パターンはSimpleFactory パターンと比べて、" "オブジェクト生成のために行う様々な実装を、サブクラスに任せることができる点が優れています。" #: ../../Creational/FactoryMethod/README.rst:10 @@ -43,7 +43,7 @@ msgid "" "This pattern is a \"real\" Design Pattern because it achieves the " "Dependency Inversion principle a.k.a the \"D\" in SOLID principles." msgstr "" -"このFactoryMethodパターンは、SOLIDとして知られているソフトウェア設計の5つの原則のうち、「D」の依存性逆転の法則" +"このFactoryMethod パターンは、SOLIDとして知られているソフトウェア設計の5つの原則のうち、「D」の依存性逆転の法則" "(Dependency Inversion principle)を実現するための「実用的な」デザインパターンです。" #: ../../Creational/FactoryMethod/README.rst:15 @@ -53,7 +53,7 @@ msgid "" "StaticFactory." msgstr "" "つまり、FactoryMethodクラスは具象クラスではなく、抽象クラスに依存するということです。" -"SimpleFactoryパターンや、StaticFactoryパターンと比較したときに、ここが異なる優れた点であると言えます。" +"SimpleFactory パターンや、StaticFactory パターンと比較したときに、ここが異なる優れた点であると言えます。" #: ../../Creational/FactoryMethod/README.rst:20 msgid "UML Diagram" From 35ba7060cc1ccbdd47b43f71ff1ce28237d81196 Mon Sep 17 00:00:00 2001 From: tanden Date: Mon, 4 May 2020 16:46:30 +0900 Subject: [PATCH 07/11] [translate] Pool --- .../ja/LC_MESSAGES/Creational/Pool/README.po | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/locale/ja/LC_MESSAGES/Creational/Pool/README.po b/locale/ja/LC_MESSAGES/Creational/Pool/README.po index 7ca5757..74e869d 100644 --- a/locale/ja/LC_MESSAGES/Creational/Pool/README.po +++ b/locale/ja/LC_MESSAGES/Creational/Pool/README.po @@ -20,11 +20,11 @@ msgstr "" #: ../../Creational/Pool/README.rst:2 msgid "`Pool`__" -msgstr "" +msgstr "`Object Pool パターン`__" #: ../../Creational/Pool/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "目的" #: ../../Creational/Pool/README.rst:7 msgid "" @@ -35,6 +35,10 @@ msgid "" "object. When the client has finished, it returns the object, which is a " "specific type of factory object, to the pool rather than destroying it." msgstr "" +"**Object Pool パターン** は、オブジェクトを必要な場合に割当て利用後に破棄するのではなく、" +"初期化済みのいつでも利用可能なオブジェクトを\"プール\"に保持し、それらを使用する生成に関するデザインパターンです。" +"このプールのClientクラスは、プールにオブジェクトを要求し、プールから返却されたオブジェクトを使用します。" +"クライアントはオブジェクトの使用終了後、オブジェクト(特定の型のFacboryオブジェクト)を破棄するでのはなくプールに返却します。" #: ../../Creational/Pool/README.rst:14 msgid "" @@ -45,6 +49,11 @@ msgid "" "when creation of the new objects (especially over network) may take " "variable time." msgstr "" +"オブジェクトプーリングは、クラスインスタンスの初期化のコストが高く、" +"クラスをインスタンス化する割合が高く、一度に使用されるインスタンスの数が少ない状況で、" +"パフォーマンスを大幅に向上させることができます。" +"また、新しいオブジェクトの生成に時間がかかる可能性がある場合(特にネットワーク経由での生成の場合)に、プールされたオブジェクトを取得することで" +"予測可能な時間でオブジェクトを得ることができるようになります。" #: ../../Creational/Pool/README.rst:21 msgid "" @@ -54,18 +63,22 @@ msgid "" "situations, simple object pooling (that hold no external resources, but " "only occupy memory) may not be efficient and could decrease performance." msgstr "" +"しかし、これらのメリットは、データベース接続、ソケット接続、スレッド、フォントやビットマップのような大きなグラフィックオブジェクトなど、" +"時間に関してコストがかかるオブジェクトのほとんどに当てはまります。" +"特定の状況下では、単純なオブジェクトプーリング(外部リソースを保持せず、メモリを占有するだけ)" +"は効率的でなく、パフォーマンスが低下する可能性があります。" #: ../../Creational/Pool/README.rst:28 msgid "UML Diagram" -msgstr "" +msgstr "クラス図" #: ../../Creational/Pool/README.rst:35 msgid "Code" -msgstr "" +msgstr "サンプルコード" #: ../../Creational/Pool/README.rst:37 msgid "You can also find this code on `GitHub`_" -msgstr "" +msgstr "サンプルコードは `GitHub`_ でも確認することができます。" #: ../../Creational/Pool/README.rst:39 msgid "WorkerPool.php" @@ -77,7 +90,7 @@ msgstr "" #: ../../Creational/Pool/README.rst:52 msgid "Test" -msgstr "" +msgstr "テスト" #: ../../Creational/Pool/README.rst:54 msgid "Tests/PoolTest.php" From 2e23dca8572b7f76648a9af973d2f40ef6b360c5 Mon Sep 17 00:00:00 2001 From: tanden Date: Tue, 5 May 2020 11:39:02 +0900 Subject: [PATCH 08/11] [translate] Prototype --- .../Creational/Prototype/README.po | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/locale/ja/LC_MESSAGES/Creational/Prototype/README.po b/locale/ja/LC_MESSAGES/Creational/Prototype/README.po index 32c3202..dedfbe1 100644 --- a/locale/ja/LC_MESSAGES/Creational/Prototype/README.po +++ b/locale/ja/LC_MESSAGES/Creational/Prototype/README.po @@ -2,7 +2,7 @@ # Copyright (C) 2011-2019, Dominik Liebler and contributors # This file is distributed under the same license as the DesignPatternsPHP # package. -# FIRST AUTHOR , 2020. +# Sumita Takaki , 2020. # #, fuzzy msgid "" @@ -11,7 +11,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-04 00:50+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"Last-Translator: Sumita Takaki \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -20,39 +20,42 @@ msgstr "" #: ../../Creational/Prototype/README.rst:2 msgid "`Prototype`__" -msgstr "" +msgstr "`Prototype パターン`__" #: ../../Creational/Prototype/README.rst:5 msgid "Purpose" -msgstr "" +msgstr "目的" #: ../../Creational/Prototype/README.rst:7 msgid "" "To avoid the cost of creating objects the standard way (new Foo()) and " "instead create a prototype and clone it." msgstr "" +"オブジェクトを新しく生成する(new Foo())コストをかける代わりに" +"プロトタイプを生成して、それをコピーする。" #: ../../Creational/Prototype/README.rst:11 msgid "Examples" -msgstr "" +msgstr "例" #: ../../Creational/Prototype/README.rst:13 msgid "" "Large amounts of data (e.g. create 1,000,000 rows in a database at once " "via a ORM)." msgstr "" +"大容量のデータ(例:1,000,000行のデータをORM経由でデータベースに作成する)" #: ../../Creational/Prototype/README.rst:17 msgid "UML Diagram" -msgstr "" +msgstr "クラス図" #: ../../Creational/Prototype/README.rst:24 msgid "Code" -msgstr "" +msgstr "サンプルコード" #: ../../Creational/Prototype/README.rst:26 msgid "You can also find this code on `GitHub`_" -msgstr "" +msgstr "サンプルコードは `GitHub`_ でも確認することができます。" #: ../../Creational/Prototype/README.rst:28 msgid "BookPrototype.php" @@ -68,7 +71,7 @@ msgstr "" #: ../../Creational/Prototype/README.rst:47 msgid "Test" -msgstr "" +msgstr "テスト" #: ../../Creational/Prototype/README.rst:49 msgid "Tests/PrototypeTest.php" From 7a590d12b8ba3a8ccac575ca50de58bfae103a4a Mon Sep 17 00:00:00 2001 From: tanden Date: Tue, 5 May 2020 12:10:13 +0900 Subject: [PATCH 09/11] [translate] Creational README --- locale/ja/LC_MESSAGES/Creational/README.po | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/locale/ja/LC_MESSAGES/Creational/README.po b/locale/ja/LC_MESSAGES/Creational/README.po index cd14ab0..23137c5 100644 --- a/locale/ja/LC_MESSAGES/Creational/README.po +++ b/locale/ja/LC_MESSAGES/Creational/README.po @@ -2,7 +2,7 @@ # Copyright (C) 2011-2019, Dominik Liebler and contributors # This file is distributed under the same license as the DesignPatternsPHP # package. -# FIRST AUTHOR , 2020. +# Sumita Takaki , 2020. # #, fuzzy msgid "" @@ -11,7 +11,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-04 00:50+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"Last-Translator: Sumita Takaki \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -20,7 +20,7 @@ msgstr "" #: ../../Creational/README.rst:2 msgid "`Creational`__" -msgstr "" +msgstr "`生成に関するパターン`__" #: ../../Creational/README.rst:4 msgid "" @@ -31,4 +31,8 @@ msgid "" "design patterns solve this problem by somehow controlling this object " "creation." msgstr "" +"ソフトウェアエンジニアリングにおいて、生成に関するパターンは、" +"オブジェクトの生成メカニズムを扱うデザインパターンであり、状況に適した方法でオブジェクトを生成するためのものです。" +"原始的な方法でのオブジェクトの生成は、設計に問題を引き起こしたり、複雑にする可能性があります。" +"生成に関するデザインパターンは、オブジェクトの生成をいずれかの方法でコントロールすることによってこの問題を解決します。" From c9c7376c2ba99b0c9607a6544abce3cc38e8729f Mon Sep 17 00:00:00 2001 From: tanden Date: Tue, 5 May 2020 13:20:39 +0900 Subject: [PATCH 10/11] [translate] Singleton --- .../Creational/Singleton/README.po | 27 ++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/locale/ja/LC_MESSAGES/Creational/Singleton/README.po b/locale/ja/LC_MESSAGES/Creational/Singleton/README.po index 240c5c6..cc21253 100644 --- a/locale/ja/LC_MESSAGES/Creational/Singleton/README.po +++ b/locale/ja/LC_MESSAGES/Creational/Singleton/README.po @@ -2,7 +2,7 @@ # Copyright (C) 2011-2019, Dominik Liebler and contributors # This file is distributed under the same license as the DesignPatternsPHP # package. -# FIRST AUTHOR , 2020. +# Sumita Takaki , 2020. # #, fuzzy msgid "" @@ -11,7 +11,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-04 00:50+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"Last-Translator: Sumita Takaki \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" @@ -20,51 +20,54 @@ msgstr "" #: ../../Creational/Singleton/README.rst:2 msgid "`Singleton`__" -msgstr "" +msgstr "`シングルトン パターン`__" #: ../../Creational/Singleton/README.rst:4 msgid "" "**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND " "MAINTAINABILITY USE DEPENDENCY INJECTION!**" msgstr "" +"**これはアンチパターンと捉えるべきです!" +"よりよいテスト性と保守性のために、「依存性の注入」(Dependency injection)を使用してください!**" #: ../../Creational/Singleton/README.rst:8 msgid "Purpose" -msgstr "" +msgstr "目的" #: ../../Creational/Singleton/README.rst:10 msgid "" "To have only one instance of this object in the application that will " "handle all calls." msgstr "" +"オブジェクトへの呼び出しを行うアプリケーション内で、そのオブジェクトのインスタンスが1つだけしか存在しないことを保証するために使用されます。" #: ../../Creational/Singleton/README.rst:14 msgid "Examples" -msgstr "" +msgstr "例" #: ../../Creational/Singleton/README.rst:16 msgid "DB Connector" -msgstr "" +msgstr "DBコネクター" #: ../../Creational/Singleton/README.rst:17 msgid "Logger" -msgstr "" +msgstr "ロガー" #: ../../Creational/Singleton/README.rst:18 msgid "Lock file for the application (there is only one in the filesystem ...)" -msgstr "" +msgstr "アプリケーションのロックファイル(ファイルシステムには一つしかありません...)" #: ../../Creational/Singleton/README.rst:22 msgid "UML Diagram" -msgstr "" +msgstr "クラス図" #: ../../Creational/Singleton/README.rst:29 msgid "Code" -msgstr "" +msgstr "サンプルコード" #: ../../Creational/Singleton/README.rst:31 msgid "You can also find this code on `GitHub`_" -msgstr "" +msgstr "サンプルコードは `GitHub`_ でも確認することができます。" #: ../../Creational/Singleton/README.rst:33 msgid "Singleton.php" @@ -72,7 +75,7 @@ msgstr "" #: ../../Creational/Singleton/README.rst:40 msgid "Test" -msgstr "" +msgstr "テスト" #: ../../Creational/Singleton/README.rst:42 msgid "Tests/SingletonTest.php" From c31cc8779ca2eab2a051272bdeda15e2336c9b22 Mon Sep 17 00:00:00 2001 From: tanden Date: Sun, 7 Jun 2020 17:43:46 +0900 Subject: [PATCH 11/11] [modify] factory method --- locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po b/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po index db96081..2e35d32 100644 --- a/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po +++ b/locale/ja/LC_MESSAGES/Creational/FactoryMethod/README.po @@ -32,7 +32,7 @@ msgid "" " different ways to create objects." msgstr "" "FacboryMethod パターンはSimpleFactory パターンと比べて、" -"オブジェクト生成のために行う様々な実装を、サブクラスに任せることができる点が優れています。" +"オブジェクト生成のために行う様々な実装を、サブクラスに任せる点が優れています。" #: ../../Creational/FactoryMethod/README.rst:10 msgid "For simple cases, this abstract class could be just an interface." @@ -53,7 +53,7 @@ msgid "" "StaticFactory." msgstr "" "つまり、FactoryMethodクラスは具象クラスではなく、抽象クラスに依存するということです。" -"SimpleFactory パターンや、StaticFactory パターンと比較したときに、ここが異なる優れた点であると言えます。" +"この部分が、SimpleFactory パターンや、StaticFactory パターンと比較したときに、優れていると言えます。" #: ../../Creational/FactoryMethod/README.rst:20 msgid "UML Diagram"