mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-29 11:10:19 +02:00
[translate] FactoryMethod
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# Copyright (C) 2011-2019, Dominik Liebler and contributors
|
# Copyright (C) 2011-2019, Dominik Liebler and contributors
|
||||||
# This file is distributed under the same license as the DesignPatternsPHP
|
# This file is distributed under the same license as the DesignPatternsPHP
|
||||||
# package.
|
# package.
|
||||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
|
# Sumita Takaki <sumita.takaki@gmail.com>, 2020.
|
||||||
#
|
#
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -11,7 +11,7 @@ msgstr ""
|
|||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-05-04 00:50+0900\n"
|
"POT-Creation-Date: 2020-05-04 00:50+0900\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\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"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
@@ -20,27 +20,31 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../../Creational/FactoryMethod/README.rst:2
|
#: ../../Creational/FactoryMethod/README.rst:2
|
||||||
msgid "`Factory Method`__"
|
msgid "`Factory Method`__"
|
||||||
msgstr ""
|
msgstr "`Factory Methodパターン`__"
|
||||||
|
|
||||||
#: ../../Creational/FactoryMethod/README.rst:5
|
#: ../../Creational/FactoryMethod/README.rst:5
|
||||||
msgid "Purpose"
|
msgid "Purpose"
|
||||||
msgstr ""
|
msgstr "目的"
|
||||||
|
|
||||||
#: ../../Creational/FactoryMethod/README.rst:7
|
#: ../../Creational/FactoryMethod/README.rst:7
|
||||||
msgid ""
|
msgid ""
|
||||||
"The good point over the SimpleFactory is you can subclass it to implement"
|
"The good point over the SimpleFactory is you can subclass it to implement"
|
||||||
" different ways to create objects."
|
" different ways to create objects."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"FacboryMethodパターンはSimpleFactoryパターンと比べて、"
|
||||||
|
"オブジェクト生成のために行う様々な実装を、サブクラスに任せることができる点が優れています。"
|
||||||
|
|
||||||
#: ../../Creational/FactoryMethod/README.rst:10
|
#: ../../Creational/FactoryMethod/README.rst:10
|
||||||
msgid "For simple cases, this abstract class could be just an interface."
|
msgid "For simple cases, this abstract class could be just an interface."
|
||||||
msgstr ""
|
msgstr "単純なケースとして、FactoryMethodクラスはただのインターフェースとして扱われます。"
|
||||||
|
|
||||||
#: ../../Creational/FactoryMethod/README.rst:12
|
#: ../../Creational/FactoryMethod/README.rst:12
|
||||||
msgid ""
|
msgid ""
|
||||||
"This pattern is a \"real\" Design Pattern because it achieves the "
|
"This pattern is a \"real\" Design Pattern because it achieves the "
|
||||||
"Dependency Inversion principle a.k.a the \"D\" in SOLID principles."
|
"Dependency Inversion principle a.k.a the \"D\" in SOLID principles."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"このFactoryMethodパターンは、SOLIDとして知られているソフトウェア設計の5つの原則のうち、「D」の依存性逆転の法則"
|
||||||
|
"(Dependency Inversion principle)を実現するための「実用的な」デザインパターンです。"
|
||||||
|
|
||||||
#: ../../Creational/FactoryMethod/README.rst:15
|
#: ../../Creational/FactoryMethod/README.rst:15
|
||||||
msgid ""
|
msgid ""
|
||||||
@@ -48,18 +52,20 @@ msgid ""
|
|||||||
"classes. This is the real trick compared to SimpleFactory or "
|
"classes. This is the real trick compared to SimpleFactory or "
|
||||||
"StaticFactory."
|
"StaticFactory."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"つまり、FactoryMethodクラスは具象クラスではなく、抽象クラスに依存するということです。"
|
||||||
|
"SimpleFactoryパターンや、StaticFactoryパターンと比較したときに、ここが異なる優れた点であると言えます。"
|
||||||
|
|
||||||
#: ../../Creational/FactoryMethod/README.rst:20
|
#: ../../Creational/FactoryMethod/README.rst:20
|
||||||
msgid "UML Diagram"
|
msgid "UML Diagram"
|
||||||
msgstr ""
|
msgstr "クラス図"
|
||||||
|
|
||||||
#: ../../Creational/FactoryMethod/README.rst:27
|
#: ../../Creational/FactoryMethod/README.rst:27
|
||||||
msgid "Code"
|
msgid "Code"
|
||||||
msgstr ""
|
msgstr "サンプルコード"
|
||||||
|
|
||||||
#: ../../Creational/FactoryMethod/README.rst:29
|
#: ../../Creational/FactoryMethod/README.rst:29
|
||||||
msgid "You can also find this code on `GitHub`_"
|
msgid "You can also find this code on `GitHub`_"
|
||||||
msgstr ""
|
msgstr "サンプルコードは `GitHub`_ でも確認することができます。"
|
||||||
|
|
||||||
#: ../../Creational/FactoryMethod/README.rst:31
|
#: ../../Creational/FactoryMethod/README.rst:31
|
||||||
msgid "Logger.php"
|
msgid "Logger.php"
|
||||||
@@ -87,7 +93,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../../Creational/FactoryMethod/README.rst:68
|
#: ../../Creational/FactoryMethod/README.rst:68
|
||||||
msgid "Test"
|
msgid "Test"
|
||||||
msgstr ""
|
msgstr "テスト"
|
||||||
|
|
||||||
#: ../../Creational/FactoryMethod/README.rst:70
|
#: ../../Creational/FactoryMethod/README.rst:70
|
||||||
msgid "Tests/FactoryMethodTest.php"
|
msgid "Tests/FactoryMethodTest.php"
|
||||||
|
Reference in New Issue
Block a user