Translated Visitor Pattern

Translated Visitor Pattern in Behavioral section.
This commit is contained in:
PabloGarciaComBR
2019-04-15 16:55:37 -03:00
parent 8a896e533f
commit 5ed4511735

View File

@@ -4,20 +4,20 @@ msgstr ""
"Project-Id-Version: DesignPatternsPHP 1.0\n" "Project-Id-Version: DesignPatternsPHP 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-05-29 12:18+0200\n" "POT-Creation-Date: 2015-05-29 12:18+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2019-04-15 14:00-0300\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Pablo Juan Garcia <contato@pablogarcia.com.br>\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"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: pt_BR\n"
#: ../../Behavioral/Visitor/README.rst:2 #: ../../Behavioral/Visitor/README.rst:2
msgid "`Visitor`__" msgid "`Visitor`__"
msgstr "" msgstr "`Visitante (Visitor)`__"
#: ../../Behavioral/Visitor/README.rst:5 #: ../../Behavioral/Visitor/README.rst:5
msgid "Purpose" msgid "Purpose"
msgstr "" msgstr "Objetivo"
#: ../../Behavioral/Visitor/README.rst:7 #: ../../Behavioral/Visitor/README.rst:7
msgid "" msgid ""
@@ -26,6 +26,10 @@ msgid ""
" classes have to define a contract to allow visitors (the ``Role::accept`` " " classes have to define a contract to allow visitors (the ``Role::accept`` "
"method in the example)." "method in the example)."
msgstr "" msgstr ""
"O Padrão Visitante deixa as suas operações terceirizadas em objetos para "
"outros objetos. A principal razão para fazer isto é manter a separação de "
"preocupações. Porém, classes precisam definir um contrato para permitir "
"visitantes (o método ``Role::accept`` no exemplo)."
#: ../../Behavioral/Visitor/README.rst:12 #: ../../Behavioral/Visitor/README.rst:12
msgid "" msgid ""
@@ -33,19 +37,22 @@ msgid ""
"In that case, each Visitor has to choose itself which method to invoke on " "In that case, each Visitor has to choose itself which method to invoke on "
"the visitor." "the visitor."
msgstr "" msgstr ""
"O contrato é uma classe abstrata, mas você pode ter também uma interface limpa. "
"Neste caso, cada visitante tem que escolher a si mesmo qual método invocar no "
"visitante."
#: ../../Behavioral/Visitor/README.rst:17 #: ../../Behavioral/Visitor/README.rst:17
msgid "UML Diagram" msgid "UML Diagram"
msgstr "" msgstr "Diagrama UML"
#: ../../Behavioral/Visitor/README.rst:24 #: ../../Behavioral/Visitor/README.rst:24
msgid "Code" msgid "Code"
msgstr "" msgstr "Código"
#: ../../Behavioral/Visitor/README.rst:26 #: ../../Behavioral/Visitor/README.rst:26
msgid "You can also find this code on `GitHub`_" msgid "You can also find this code on `GitHub`_"
msgstr "" msgstr "Você também pode encontrar este código no `GitHub`_"
#: ../../Behavioral/Visitor/README.rst:59 #: ../../Behavioral/Visitor/README.rst:59
msgid "Test" msgid "Test"
msgstr "" msgstr "Teste"