[translate] FactoryMethod

This commit is contained in:
tanden
2020-05-04 15:38:02 +09:00
parent bb190e5627
commit 38bbf071c5

View File

@@ -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 <EMAIL@ADDRESS>, 2020.
# Sumita Takaki <sumita.takaki@gmail.com>, 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 <EMAIL@ADDRESS>\n"
"Last-Translator: Sumita Takaki <sumita.takaki@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\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"