Skip to content

Commit 6b34fa1

Browse files
Updated README.po of Simple Factory pattern
Simple Factory pattern in Creational section.
1 parent 7ef325a commit 6b34fa1

File tree

1 file changed

+13
-6
lines changed
  • locale/pt_BR/LC_MESSAGES/Creational/SimpleFactory

1 file changed

+13
-6
lines changed

locale/pt_BR/LC_MESSAGES/Creational/SimpleFactory/README.po

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ msgstr ""
44
"Project-Id-Version: DesignPatternsPHP 1.0\n"
55
"Report-Msgid-Bugs-To: \n"
66
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
7-
"PO-Revision-Date: 2017-08-03 21:02-0300\n"
8-
"Last-Translator: Leonam Pereira Dias <leonam.pd@gmail.com>\n"
7+
"PO-Revision-Date: 2019-04-10 15:35-0300\n"
8+
"Previous-Translator: Leonam Pereira Dias <leonam.pd@gmail.com>\n"
9+
"Last-Translator: Pablo Juan Garcia <contato@pablogarcia.com.br>\n"
910
"Language-Team: LANGUAGE <LL@li.org>\n"
1011
"MIME-Version: 1.0\n"
1112
"Content-Type: text/plain; charset=UTF-8\n"
@@ -25,11 +26,13 @@ msgstr "SimpleFactory (Fábrica Simples) é uma implementação mais simples do
2526

2627
#: ../../Creational/SimpleFactory/README.rst:9
2728
msgid ""
28-
"It differs from the static factory because it is NOT static and as you know:"
29-
" static => global => evil!"
29+
"It differs from the static factory because it is not static. "
30+
"Therefore, you can have multiple factories, differently parameterized, you can subclass it and you can mock it. "
31+
"It always should be preferred over a static factory!"
3032
msgstr ""
31-
"Diferencia-se do padrão de Fábrica estática porque não faz uso de implementação estática e como você sabe"
32-
" estático => escopo global => caos!"
33+
"Diferencia-se do padrão de Fábrica Estática porque não é estático. "
34+
"Assim sendo, você precisa ter múltiplas fábricas, diferentemente parametrizadas, você pode ter subclasses disto e "
35+
"pode simular isto. Este padrão deve ser sempre preferido sobre o padrão de Fábrica Estática!"
3336

3437
#: ../../Creational/SimpleFactory/README.rst:12
3538
msgid ""
@@ -51,6 +54,10 @@ msgstr "Código"
5154
msgid "You can also find this code on `GitHub`_"
5255
msgstr "Você também pode encontrar esse código no `GitHub`_"
5356

57+
#: ../../Creational/SimpleFactory/README.rst:37
58+
msgid "Usage"
59+
msgstr "Uso"
60+
5461
#: ../../Creational/SimpleFactory/README.rst:52
5562
msgid "Test"
5663
msgstr "Teste"

0 commit comments

Comments
 (0)