mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-05-02 04:38:16 +02:00
Merge pull request #294 from leonampd/master
Translate creational patterns to pt-br
This commit is contained in:
commit
24e1db7b2a
@ -1,4 +1,4 @@
|
||||
#
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: DesignPatternsPHP 1.0\n"
|
||||
@ -90,7 +90,7 @@ msgstr ""
|
||||
|
||||
#: ../../Creational/FactoryMethod/README.rst:74
|
||||
msgid "Test"
|
||||
msgstr ""
|
||||
msgstr "Teste"
|
||||
|
||||
#: ../../Creational/FactoryMethod/README.rst:76
|
||||
msgid "Tests/FactoryMethodTest.php"
|
||||
|
@ -1,11 +1,11 @@
|
||||
#
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: DesignPatternsPHP 1.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"PO-Revision-Date: 2017-08-03 00:33-0300\n"
|
||||
"Last-Translator: Leonam Pereira Dias <leonam.pd@gmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@ -20,40 +20,44 @@ msgid ""
|
||||
"**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND "
|
||||
"MAINTAINABILITY USE DEPENDENCY INJECTION!**"
|
||||
msgstr ""
|
||||
"**ESTE É CONSIDERADO UM ANTI-PATTERN! PARA MELHOR TESTABILIDADE E"
|
||||
"MANUTENIBILIDADE USE INJEÇÃO DE DEPENDÊNCIAS"
|
||||
|
||||
#: ../../Creational/Multiton/README.rst:8
|
||||
msgid "Purpose"
|
||||
msgstr ""
|
||||
msgstr "Objetivos"
|
||||
|
||||
#: ../../Creational/Multiton/README.rst:10
|
||||
msgid ""
|
||||
"To have only a list of named instances that are used, like a singleton but "
|
||||
"with n instances."
|
||||
msgstr ""
|
||||
"Para se ter uma lista conhecida de instâncias utilizáveis, como um singleton mas"
|
||||
"com n instâncias"
|
||||
|
||||
#: ../../Creational/Multiton/README.rst:14
|
||||
msgid "Examples"
|
||||
msgstr ""
|
||||
msgstr "Exemplos"
|
||||
|
||||
#: ../../Creational/Multiton/README.rst:16
|
||||
msgid "2 DB Connectors, e.g. one for MySQL, the other for SQLite"
|
||||
msgstr ""
|
||||
msgstr "2 conexões à bancos de dados. Exemplo: uma para MySQL e outra para SQLite"
|
||||
|
||||
#: ../../Creational/Multiton/README.rst:17
|
||||
msgid "multiple Loggers (one for debug messages, one for errors)"
|
||||
msgstr ""
|
||||
msgstr "multiplos Loggers (um para mensagens de debug, outro para erros)"
|
||||
|
||||
#: ../../Creational/Multiton/README.rst:20
|
||||
msgid "UML Diagram"
|
||||
msgstr ""
|
||||
msgstr "Diagrama UML"
|
||||
|
||||
#: ../../Creational/Multiton/README.rst:27
|
||||
msgid "Code"
|
||||
msgstr ""
|
||||
msgstr "Código"
|
||||
|
||||
#: ../../Creational/Multiton/README.rst:29
|
||||
msgid "You can also find this code on `GitHub`_"
|
||||
msgstr ""
|
||||
msgstr "Você também pode encontrar esse código no `GitHub`_"
|
||||
|
||||
#: ../../Creational/Multiton/README.rst:31
|
||||
msgid "Multiton.php"
|
||||
|
@ -1,11 +1,11 @@
|
||||
#
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: DesignPatternsPHP 1.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"PO-Revision-Date: 2017-08-03 21:03-0300\n"
|
||||
"Last-Translator: Leonam Pereira Dias <leonam.pd@gmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@ -13,39 +13,43 @@ msgstr ""
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:2
|
||||
msgid "`Prototype`__"
|
||||
msgstr ""
|
||||
msgstr "`Protótipo`"
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:5
|
||||
msgid "Purpose"
|
||||
msgstr ""
|
||||
msgstr "Objetivo"
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:7
|
||||
msgid ""
|
||||
"To avoid the cost of creating objects the standard way (new Foo()) and "
|
||||
"instead create a prototype and clone it."
|
||||
msgstr ""
|
||||
"Para evitar o custo da criação tradicional de objetos (new Foo()) e "
|
||||
"criar um protótipo deste e cloná-los"
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:11
|
||||
msgid "Examples"
|
||||
msgstr ""
|
||||
msgstr "Exemplos"
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:13
|
||||
msgid ""
|
||||
"Large amounts of data (e.g. create 1,000,000 rows in a database at once via "
|
||||
"a ORM)."
|
||||
msgstr ""
|
||||
"Uma grande quantidade de dados. Exemplo: a criação de 1,000.000 linhas em um banco de dados via "
|
||||
"um ORM"
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:17
|
||||
msgid "UML Diagram"
|
||||
msgstr ""
|
||||
msgstr "Diagrama UML"
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:24
|
||||
msgid "Code"
|
||||
msgstr ""
|
||||
msgstr "Código"
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:26
|
||||
msgid "You can also find this code on `GitHub`_"
|
||||
msgstr ""
|
||||
msgstr "Você também encontra este código no `GitHub`_"
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:28
|
||||
msgid "index.php"
|
||||
@ -65,4 +69,4 @@ msgstr ""
|
||||
|
||||
#: ../../Creational/Prototype/README.rst:53
|
||||
msgid "Test"
|
||||
msgstr ""
|
||||
msgstr "Teste"
|
||||
|
@ -1,11 +1,11 @@
|
||||
#
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: DesignPatternsPHP 1.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"PO-Revision-Date: 2017-08-03 21:02-0300\n"
|
||||
"Last-Translator: Leonam Pereira Dias <leonam.pd@gmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@ -13,39 +13,43 @@ msgstr ""
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:2
|
||||
msgid "Simple Factory"
|
||||
msgstr ""
|
||||
msgstr "Fábrica Simples"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:5
|
||||
msgid "Purpose"
|
||||
msgstr ""
|
||||
msgstr "Objetivo"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:7
|
||||
msgid "SimpleFactory is a simple factory pattern."
|
||||
msgstr ""
|
||||
msgstr "SimpleFactory (Fábrica Simples) é uma implementação mais simples do padrão fábrica"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:9
|
||||
msgid ""
|
||||
"It differs from the static factory because it is NOT static and as you know:"
|
||||
" static => global => evil!"
|
||||
msgstr ""
|
||||
"Diferencia-se do padrão de Fábrica estática porque não faz uso de implementação estática e como você sabe"
|
||||
" estático => escopo global => caos!"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:12
|
||||
msgid ""
|
||||
"Therefore, you can have multiple factories, differently parametrized, you "
|
||||
"can subclass it and you can mock-up it."
|
||||
msgstr ""
|
||||
"Deste modo, você pode ter múltiplas fábricas, diferentemente parametrizadas, permitindo"
|
||||
" a extensão da mesma permitindo a criação de dublês"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:16
|
||||
msgid "UML Diagram"
|
||||
msgstr ""
|
||||
msgstr "Diagrama UML"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:23
|
||||
msgid "Code"
|
||||
msgstr ""
|
||||
msgstr "Código"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:25
|
||||
msgid "You can also find this code on `GitHub`_"
|
||||
msgstr ""
|
||||
msgstr "Você também pode encontrar esse código no `GitHub`_"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:27
|
||||
msgid "SimpleFactory.php"
|
||||
@ -65,7 +69,7 @@ msgstr ""
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:52
|
||||
msgid "Test"
|
||||
msgstr ""
|
||||
msgstr "Teste"
|
||||
|
||||
#: ../../Creational/SimpleFactory/README.rst:54
|
||||
msgid "Tests/SimpleFactoryTest.php"
|
||||
|
@ -1,11 +1,11 @@
|
||||
#
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: DesignPatternsPHP 1.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"PO-Revision-Date: 2017-08-03 21:02-0300\n"
|
||||
"Last-Translator: Leonam Pereira Dias <leonam.pd@gmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@ -20,47 +20,54 @@ msgid ""
|
||||
"**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND "
|
||||
"MAINTAINABILITY USE DEPENDENCY INJECTION!**"
|
||||
msgstr ""
|
||||
"**CONSIDERADO UM ANTI-PATTERN! PARA MELHOR TESTABILIDADE E "
|
||||
"MANUTENIBILIDADE USE INJEÇÃO DEPENDÊNCIAS"
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:8
|
||||
msgid "Purpose"
|
||||
msgstr ""
|
||||
msgstr "Objetivo"
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:10
|
||||
msgid ""
|
||||
"To have only one instance of this object in the application that will handle"
|
||||
" all calls."
|
||||
msgstr ""
|
||||
"Ter uma única instância da classe na aplicação que será responsável por gerenciar"
|
||||
"todas as chamadas a ela"
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:14
|
||||
msgid "Examples"
|
||||
msgstr ""
|
||||
msgstr "Exemplos"
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:16
|
||||
msgid "DB Connector"
|
||||
msgstr ""
|
||||
msgstr "Conexão ao banco de dados"
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:17
|
||||
msgid ""
|
||||
"Logger (may also be a Multiton if there are many log files for several "
|
||||
"purposes)"
|
||||
msgstr ""
|
||||
"Logger (pode ser necessário um Multiton se houverem mais de um arquivo de log para diferentes "
|
||||
"necessidades"
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:19
|
||||
msgid ""
|
||||
"Lock file for the application (there is only one in the filesystem ...)"
|
||||
msgstr ""
|
||||
"Arquivo de lock para a aplicação (existe apenas um em todo o sistema de arquivos ...)"
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:23
|
||||
msgid "UML Diagram"
|
||||
msgstr ""
|
||||
msgstr "Diagrama UML"
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:30
|
||||
msgid "Code"
|
||||
msgstr ""
|
||||
msgstr "Código"
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:32
|
||||
msgid "You can also find this code on `GitHub`_"
|
||||
msgstr ""
|
||||
msgstr "Você também pode encontrar esse código no `GitHub`_"
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:34
|
||||
msgid "Singleton.php"
|
||||
@ -68,7 +75,7 @@ msgstr ""
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:41
|
||||
msgid "Test"
|
||||
msgstr ""
|
||||
msgstr "Teste"
|
||||
|
||||
#: ../../Creational/Singleton/README.rst:43
|
||||
msgid "Tests/SingletonTest.php"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: DesignPatternsPHP 1.0\n"
|
||||
@ -13,11 +13,11 @@ msgstr ""
|
||||
|
||||
#: ../../Creational/StaticFactory/README.rst:2
|
||||
msgid "Static Factory"
|
||||
msgstr ""
|
||||
msgstr "Fábrica Estática"
|
||||
|
||||
#: ../../Creational/StaticFactory/README.rst:5
|
||||
msgid "Purpose"
|
||||
msgstr ""
|
||||
msgstr "Objetivo"
|
||||
|
||||
#: ../../Creational/StaticFactory/README.rst:7
|
||||
msgid ""
|
||||
@ -27,6 +27,8 @@ msgid ""
|
||||
"method to create all types of objects it can create. It is usually named "
|
||||
"``factory`` or ``build``."
|
||||
msgstr ""
|
||||
"Semelhante à Fábrica Abstrata, este padrão é utilizado para a criação de um conjunto de"
|
||||
" objetos relacionados ou dependentes. A diferença entre o padrão "
|
||||
|
||||
#: ../../Creational/StaticFactory/README.rst:14
|
||||
msgid "Examples"
|
||||
|
@ -4,8 +4,8 @@ msgstr ""
|
||||
"Project-Id-Version: DesignPatternsPHP 1.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-05-29 12:18+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"PO-Revision-Date: 2016-03-13 14:26-0300\n"
|
||||
"Last-Translator: Leonam Pereira Dias <leonam.pd@gmail.com>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@ -13,11 +13,11 @@ msgstr ""
|
||||
|
||||
#: ../../Structural/Adapter/README.rst:2
|
||||
msgid "`Adapter / Wrapper`__"
|
||||
msgstr ""
|
||||
msgstr "Adaptador"
|
||||
|
||||
#: ../../Structural/Adapter/README.rst:5
|
||||
msgid "Purpose"
|
||||
msgstr ""
|
||||
msgstr "Objetivo"
|
||||
|
||||
#: ../../Structural/Adapter/README.rst:7
|
||||
msgid ""
|
||||
@ -26,10 +26,14 @@ msgid ""
|
||||
"incompatible interfaces by providing its interface to clients while using "
|
||||
"the original interface."
|
||||
msgstr ""
|
||||
"Para adaptar (compatibilizar) uma interface de uma classe a outra interface. Um "
|
||||
"adapter permite que classes trabalhem juntas quando, normalmente isso não seria possível "
|
||||
"devido imcompatibilidade, provendo sua interface para seus clientes enquanto usa a"
|
||||
"interface original"
|
||||
|
||||
#: ../../Structural/Adapter/README.rst:13
|
||||
msgid "Examples"
|
||||
msgstr ""
|
||||
msgstr "Exemplos"
|
||||
|
||||
#: ../../Structural/Adapter/README.rst:15
|
||||
msgid "DB Client libraries adapter"
|
||||
@ -39,19 +43,25 @@ msgstr ""
|
||||
msgid ""
|
||||
"using multiple different webservices and adapters normalize data so that the"
|
||||
" outcome is the same for all"
|
||||
msgstr ""
|
||||
msgstr "usando diversos webservices e adapters para normalizar os dados de modo que"
|
||||
" a saída seja sempre a mesma"
|
||||
|
||||
#: ../../Structural/Adapter/README.rst:20
|
||||
msgid "UML Diagram"
|
||||
msgstr ""
|
||||
msgstr "Diagrama UML"
|
||||
|
||||
#: ../../Structural/Adapter/README.rst:27
|
||||
msgid "Code"
|
||||
msgstr ""
|
||||
msgstr "Código"
|
||||
|
||||
#: ../../Structural/Adapter/README.rst:29
|
||||
<<<<<<< HEAD
|
||||
msgid "You can also find these code on `GitHub`_"
|
||||
msgstr "Você também pode encontrar este código no `Github`_"
|
||||
=======
|
||||
msgid "You can also find this code on `GitHub`_"
|
||||
msgstr ""
|
||||
>>>>>>> c1f0faccc8503a78a1b4cae192aaef127a2edb02
|
||||
|
||||
#: ../../Structural/Adapter/README.rst:31
|
||||
msgid "PaperBookInterface.php"
|
||||
|
Loading…
x
Reference in New Issue
Block a user