From 38bbf071c56a508da122ec53869686a532da8881 Mon Sep 17 00:00:00 2001 From: tanden Date: Mon, 4 May 2020 15:38:02 +0900 Subject: [PATCH] [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"