Skip to content

Commit 6e4b8ef

Browse files
author
Dominik Liebler
authored
Merge pull request DesignPatternsPHP#300 from leonampd/master
Translating ServiceLocator, Repository and Delegation patterns to pt_BR
2 parents b7a3170 + 8eb06cf commit 6e4b8ef

File tree

3 files changed

+43
-26
lines changed

3 files changed

+43
-26
lines changed

locale/pt_BR/LC_MESSAGES/More/Delegation/README.po

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ msgstr ""
1010
"Project-Id-Version: DesignPatternsPHP 1.0\n"
1111
"Report-Msgid-Bugs-To: \n"
1212
"POT-Creation-Date: 2016-06-03 23:59+0200\n"
13-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13+
"PO-Revision-Date: 2017-08-21 23:09-0300\n"
14+
"Last-Translator: Leonam Pereira Dias <[email protected]>\n"
1515
"Language-Team: LANGUAGE <[email protected]>\n"
1616
"MIME-Version: 1.0\n"
1717
"Content-Type: text/plain; charset=utf-8\n"
@@ -20,11 +20,11 @@ msgstr ""
2020

2121
#: ../../More/Delegation/README.rst:2
2222
msgid "`Delegation`__"
23-
msgstr ""
23+
msgstr "`Delegação`__"
2424

2525
#: ../../More/Delegation/README.rst:5
2626
msgid "Purpose"
27-
msgstr ""
27+
msgstr "Objetivo"
2828

2929
#: ../../More/Delegation/README.rst:7
3030
msgid ""
@@ -34,29 +34,35 @@ msgid ""
3434
" while TeamLead delegates writeCode to JuniorDeveloper's writeBadCode "
3535
"function. This inverts the responsibility so that Usage is unknowingly "
3636
"executing writeBadCode."
37-
msgstr ""
37+
msgstr "Demonstrar o padrão Delegação (Delegator) onde, um objeto, ao invés de executar"
38+
" uma de suas tarefas definidas, delega essa tarefa a um objeto associado. "
39+
" Neste caso TeamLead declara writeCode e Usage o usa,"
40+
" enquanto TeamLead delega writeCode ao método writeBadCode de JuniorDeveloper. "
41+
" Esta implementação inverte a responsabilidade de modo que Usage não tem conhecimento da "
42+
" execução do método writeBadCode."
3843

3944
#: ../../More/Delegation/README.rst:10
4045
msgid "Examples"
41-
msgstr ""
46+
msgstr "Exemplos"
4247

4348
#: ../../More/Delegation/README.rst:12
4449
msgid ""
4550
"Please review JuniorDeveloper.php, TeamLead.php, and then Usage.php to "
4651
"see it all tied together."
47-
msgstr ""
52+
msgstr "Por favor, veja JuniorDeveloper.php, TeamLead.php e depois Usage.php para "
53+
"ver tudo de maneira conjunta"
4854

4955
#: ../../More/Delegation/README.rst:15
5056
msgid "UML Diagram"
51-
msgstr ""
57+
msgstr "Diagrama UML"
5258

5359
#: ../../More/Delegation/README.rst:22
5460
msgid "Code"
55-
msgstr ""
61+
msgstr "Código"
5662

5763
#: ../../More/Delegation/README.rst:24
5864
msgid "You can also find this code on `GitHub`_"
59-
msgstr ""
65+
msgstr "Você também pode encontrar esse código no `Github`_"
6066

6167
#: ../../More/Delegation/README.rst:26
6268
msgid "Usage.php"
@@ -77,4 +83,3 @@ msgstr ""
7783
#: ../../More/Delegation/README.rst:47
7884
msgid "Tests/DelegationTest.php"
7985
msgstr ""
80-

locale/pt_BR/LC_MESSAGES/More/Repository/README.po

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
#
1+
#
22
msgid ""
33
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: YEAR-MO-DA HO:MI+ZONE\n"
8-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
7+
"PO-Revision-Date: 2017-08-07 23:53-0300\n"
8+
"Last-Translator: Leonam Pereira Dias <[email protected]>\n"
99
"Language-Team: LANGUAGE <[email protected]>\n"
1010
"MIME-Version: 1.0\n"
1111
"Content-Type: text/plain; charset=UTF-8\n"
1212
"Content-Transfer-Encoding: 8bit\n"
1313

1414
#: ../../More/Repository/README.rst:2
1515
msgid "Repository"
16-
msgstr ""
16+
msgstr "Repositório"
1717

1818
#: ../../More/Repository/README.rst:5
1919
msgid "Purpose"
20-
msgstr ""
20+
msgstr "Objetivo"
2121

2222
#: ../../More/Repository/README.rst:7
2323
msgid ""
@@ -44,6 +44,8 @@ msgid ""
4444
"Doctrine 2 ORM: there is Repository that mediates between Entity and DBAL "
4545
"and contains methods to retrieve objects"
4646
msgstr ""
47+
"Doctrine 2 ORM: existe um Repositório que faz a mediação entre Entity e DBAL "
48+
" contendo métodos para recuperação de objetos"
4749

4850
#: ../../More/Repository/README.rst:20
4951
msgid "Laravel Framework"

locale/pt_BR/LC_MESSAGES/More/ServiceLocator/README.po

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,34 @@ 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: YEAR-MO-DA HO:MI+ZONE\n"
8-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9-
"Language-Team: LANGUAGE <[email protected]>\n"
7+
"PO-Revision-Date: 2017-10-14 12:00-0300\n"
8+
"Last-Translator: Leonam Pereira Dias <[email protected]>\n"
9+
"Language-Team: pt_BR <[email protected]>\n"
1010
"MIME-Version: 1.0\n"
1111
"Content-Type: text/plain; charset=UTF-8\n"
1212
"Content-Transfer-Encoding: 8bit\n"
1313

1414
#: ../../More/ServiceLocator/README.rst:2
1515
msgid "`Service Locator`__"
16-
msgstr ""
16+
msgstr "Localizador de Serviço"
1717

1818
#: ../../More/ServiceLocator/README.rst:5
1919
msgid "Purpose"
20-
msgstr ""
20+
msgstr "Objetivo"
2121

2222
#: ../../More/ServiceLocator/README.rst:7
2323
msgid ""
2424
"To implement a loosely coupled architecture in order to get better testable,"
2525
" maintainable and extendable code. DI pattern and Service Locator pattern "
2626
"are an implementation of the Inverse of Control pattern."
2727
msgstr ""
28+
"Oferece uma arquitetura desacoplada garantindo testabilidade"
29+
" manutenibilidade e extensão de um código. Injeção de dependências e Localizador de Serviços "
30+
"s'ao implementações do padrão de Inversão de dependências."
2831

2932
#: ../../More/ServiceLocator/README.rst:12
3033
msgid "Usage"
31-
msgstr ""
34+
msgstr "Uso"
3235

3336
#: ../../More/ServiceLocator/README.rst:14
3437
msgid ""
@@ -37,29 +40,36 @@ msgid ""
3740
"of the application without knowing its implementation. You can configure and"
3841
" inject the Service Locator object on bootstrap."
3942
msgstr ""
43+
"Com ``Localizador de Serviço`` é possível registrar um serviço para uma determinada interface."
44+
" Usando esta interface é possível obter esse serviço e usá-la dentro de outras classes "
45+
" da aplicação sem conhecimento de sua implementação. É possível configurar e"
46+
" injetar a instancia de um Localizador de Serviço no _bootstrap_."
4047

4148
#: ../../More/ServiceLocator/README.rst:20
4249
msgid "Examples"
43-
msgstr ""
50+
msgstr "Exemplos"
4451

4552
#: ../../More/ServiceLocator/README.rst:22
4653
msgid ""
4754
"Zend Framework 2 uses Service Locator to create and share services used in "
4855
"the framework(i.e. EventManager, ModuleManager, all custom user services "
4956
"provided by modules, etc...)"
5057
msgstr ""
58+
"Zend Framework 2 faz uso do Localizador de Serviço para criar e compartilhar serviços usados no "
59+
"framework (Ex: EventManager, ModuleManager, todos os serviços customizados "
60+
"fornecidos por módulos, etc...)"
5161

5262
#: ../../More/ServiceLocator/README.rst:27
5363
msgid "UML Diagram"
54-
msgstr ""
64+
msgstr "Diagrama UML"
5565

5666
#: ../../More/ServiceLocator/README.rst:34
5767
msgid "Code"
58-
msgstr ""
68+
msgstr "Código"
5969

6070
#: ../../More/ServiceLocator/README.rst:36
6171
msgid "You can also find this code on `GitHub`_"
62-
msgstr ""
72+
msgstr "Você também pode encontrar este código no `Github`_"
6373

6474
#: ../../More/ServiceLocator/README.rst:38
6575
msgid "ServiceLocatorInterface.php"

0 commit comments

Comments
 (0)