Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit24e1db7

Browse files
author
Dominik Liebler
authored
Merge pull requestDesignPatternsPHP#294 from leonampd/master
Translate creational patterns to pt-br
2 parentsc1f0fac +0f3c850 commit24e1db7

File tree

7 files changed

+84
-53
lines changed

7 files changed

+84
-53
lines changed

‎locale/pt_BR/LC_MESSAGES/Creational/FactoryMethod/README.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
#
22
msgid ""
33
msgstr ""
44
"Project-Id-Version:DesignPatternsPHP 1.0\n"
@@ -90,7 +90,7 @@ msgstr ""
9090

9191
#:../../Creational/FactoryMethod/README.rst:74
9292
msgid"Test"
93-
msgstr""
93+
msgstr"Teste"
9494

9595
#:../../Creational/FactoryMethod/README.rst:76
9696
msgid"Tests/FactoryMethodTest.php"

‎locale/pt_BR/LC_MESSAGES/Creational/Multiton/README.po‎

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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-03 00:33-0300\n"
8+
"Last-Translator:Leonam Pereira Dias <leonam.pd@gmail.com>\n"
99
"Language-Team:LANGUAGE <LL@li.org>\n"
1010
"MIME-Version:1.0\n"
1111
"Content-Type:text/plain; charset=UTF-8\n"
@@ -20,40 +20,44 @@ msgid ""
2020
"**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND "
2121
"MAINTAINABILITY USE DEPENDENCY INJECTION!**"
2222
msgstr""
23+
"**ESTE É CONSIDERADO UM ANTI-PATTERN! PARA MELHOR TESTABILIDADE E"
24+
"MANUTENIBILIDADE USE INJEÇÃO DE DEPENDÊNCIAS"
2325

2426
#:../../Creational/Multiton/README.rst:8
2527
msgid"Purpose"
26-
msgstr""
28+
msgstr"Objetivos"
2729

2830
#:../../Creational/Multiton/README.rst:10
2931
msgid""
3032
"To have only a list of named instances that are used, like a singleton but "
3133
"with n instances."
3234
msgstr""
35+
"Para se ter uma lista conhecida de instâncias utilizáveis, como um singleton mas"
36+
"com n instâncias"
3337

3438
#:../../Creational/Multiton/README.rst:14
3539
msgid"Examples"
36-
msgstr""
40+
msgstr"Exemplos"
3741

3842
#:../../Creational/Multiton/README.rst:16
3943
msgid"2 DB Connectors, e.g. one for MySQL, the other for SQLite"
40-
msgstr""
44+
msgstr"2 conexões à bancos de dados. Exemplo: uma para MySQL e outra para SQLite"
4145

4246
#:../../Creational/Multiton/README.rst:17
4347
msgid"multiple Loggers (one for debug messages, one for errors)"
44-
msgstr""
48+
msgstr"multiplos Loggers (um para mensagens de debug, outro para erros)"
4549

4650
#:../../Creational/Multiton/README.rst:20
4751
msgid"UML Diagram"
48-
msgstr""
52+
msgstr"Diagrama UML"
4953

5054
#:../../Creational/Multiton/README.rst:27
5155
msgid"Code"
52-
msgstr""
56+
msgstr"Código"
5357

5458
#:../../Creational/Multiton/README.rst:29
5559
msgid"You can also find this code on `GitHub`_"
56-
msgstr""
60+
msgstr"Você também pode encontrar esse código no `GitHub`_"
5761

5862
#:../../Creational/Multiton/README.rst:31
5963
msgid"Multiton.php"

‎locale/pt_BR/LC_MESSAGES/Creational/Prototype/README.po‎

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,55 @@
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-03 21:03-0300\n"
8+
"Last-Translator:Leonam Pereira Dias <leonam.pd@gmail.com>\n"
99
"Language-Team:LANGUAGE <LL@li.org>\n"
1010
"MIME-Version:1.0\n"
1111
"Content-Type:text/plain; charset=UTF-8\n"
1212
"Content-Transfer-Encoding:8bit\n"
1313

1414
#:../../Creational/Prototype/README.rst:2
1515
msgid"`Prototype`__"
16-
msgstr""
16+
msgstr"`Protótipo`"
1717

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

2222
#:../../Creational/Prototype/README.rst:7
2323
msgid""
2424
"To avoid the cost of creating objects the standard way (new Foo()) and "
2525
"instead create a prototype and clone it."
2626
msgstr""
27+
"Para evitar o custo da criação tradicional de objetos (new Foo()) e "
28+
"criar um protótipo deste e cloná-los"
2729

2830
#:../../Creational/Prototype/README.rst:11
2931
msgid"Examples"
30-
msgstr""
32+
msgstr"Exemplos"
3133

3234
#:../../Creational/Prototype/README.rst:13
3335
msgid""
3436
"Large amounts of data (e.g. create 1,000,000 rows in a database at once via "
3537
"a ORM)."
3638
msgstr""
39+
"Uma grande quantidade de dados. Exemplo: a criação de 1,000.000 linhas em um banco de dados via "
40+
"um ORM"
3741

3842
#:../../Creational/Prototype/README.rst:17
3943
msgid"UML Diagram"
40-
msgstr""
44+
msgstr"Diagrama UML"
4145

4246
#:../../Creational/Prototype/README.rst:24
4347
msgid"Code"
44-
msgstr""
48+
msgstr"Código"
4549

4650
#:../../Creational/Prototype/README.rst:26
4751
msgid"You can also find this code on `GitHub`_"
48-
msgstr""
52+
msgstr"Você também encontra este código no `GitHub`_"
4953

5054
#:../../Creational/Prototype/README.rst:28
5155
msgid"index.php"
@@ -65,4 +69,4 @@ msgstr ""
6569

6670
#:../../Creational/Prototype/README.rst:53
6771
msgid"Test"
68-
msgstr""
72+
msgstr"Teste"

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

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,55 @@
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-03 21:02-0300\n"
8+
"Last-Translator:Leonam Pereira Dias <leonam.pd@gmail.com>\n"
99
"Language-Team:LANGUAGE <LL@li.org>\n"
1010
"MIME-Version:1.0\n"
1111
"Content-Type:text/plain; charset=UTF-8\n"
1212
"Content-Transfer-Encoding:8bit\n"
1313

1414
#:../../Creational/SimpleFactory/README.rst:2
1515
msgid"Simple Factory"
16-
msgstr""
16+
msgstr"Fábrica Simples"
1717

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

2222
#:../../Creational/SimpleFactory/README.rst:7
2323
msgid"SimpleFactory is a simple factory pattern."
24-
msgstr""
24+
msgstr"SimpleFactory (Fábrica Simples) é uma implementação mais simples do padrão fábrica"
2525

2626
#:../../Creational/SimpleFactory/README.rst:9
2727
msgid""
2828
"It differs from the static factory because it is NOT static and as you know:"
2929
" static => global => evil!"
3030
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!"
3133

3234
#:../../Creational/SimpleFactory/README.rst:12
3335
msgid""
3436
"Therefore, you can have multiple factories, differently parametrized, you "
3537
"can subclass it and you can mock-up it."
3638
msgstr""
39+
"Deste modo, você pode ter múltiplas fábricas, diferentemente parametrizadas, permitindo"
40+
" a extensão da mesma permitindo a criação de dublês"
3741

3842
#:../../Creational/SimpleFactory/README.rst:16
3943
msgid"UML Diagram"
40-
msgstr""
44+
msgstr"Diagrama UML"
4145

4246
#:../../Creational/SimpleFactory/README.rst:23
4347
msgid"Code"
44-
msgstr""
48+
msgstr"Código"
4549

4650
#:../../Creational/SimpleFactory/README.rst:25
4751
msgid"You can also find this code on `GitHub`_"
48-
msgstr""
52+
msgstr"Você também pode encontrar esse código no `GitHub`_"
4953

5054
#:../../Creational/SimpleFactory/README.rst:27
5155
msgid"SimpleFactory.php"
@@ -65,7 +69,7 @@ msgstr ""
6569

6670
#:../../Creational/SimpleFactory/README.rst:52
6771
msgid"Test"
68-
msgstr""
72+
msgstr"Teste"
6973

7074
#:../../Creational/SimpleFactory/README.rst:54
7175
msgid"Tests/SimpleFactoryTest.php"

‎locale/pt_BR/LC_MESSAGES/Creational/Singleton/README.po‎

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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-03 21:02-0300\n"
8+
"Last-Translator:Leonam Pereira Dias <leonam.pd@gmail.com>\n"
99
"Language-Team:LANGUAGE <LL@li.org>\n"
1010
"MIME-Version:1.0\n"
1111
"Content-Type:text/plain; charset=UTF-8\n"
@@ -20,55 +20,62 @@ msgid ""
2020
"**THIS IS CONSIDERED TO BE AN ANTI-PATTERN! FOR BETTER TESTABILITY AND "
2121
"MAINTAINABILITY USE DEPENDENCY INJECTION!**"
2222
msgstr""
23+
"**CONSIDERADO UM ANTI-PATTERN! PARA MELHOR TESTABILIDADE E "
24+
"MANUTENIBILIDADE USE INJEÇÃO DEPENDÊNCIAS"
2325

2426
#:../../Creational/Singleton/README.rst:8
2527
msgid"Purpose"
26-
msgstr""
28+
msgstr"Objetivo"
2729

2830
#:../../Creational/Singleton/README.rst:10
2931
msgid""
3032
"To have only one instance of this object in the application that will handle"
3133
" all calls."
3234
msgstr""
35+
"Ter uma única instância da classe na aplicação que será responsável por gerenciar"
36+
"todas as chamadas a ela"
3337

3438
#:../../Creational/Singleton/README.rst:14
3539
msgid"Examples"
36-
msgstr""
40+
msgstr"Exemplos"
3741

3842
#:../../Creational/Singleton/README.rst:16
3943
msgid"DB Connector"
40-
msgstr""
44+
msgstr"Conexão ao banco de dados"
4145

4246
#:../../Creational/Singleton/README.rst:17
4347
msgid""
4448
"Logger (may also be a Multiton if there are many log files for several "
4549
"purposes)"
4650
msgstr""
51+
"Logger (pode ser necessário um Multiton se houverem mais de um arquivo de log para diferentes "
52+
"necessidades"
4753

4854
#:../../Creational/Singleton/README.rst:19
4955
msgid""
5056
"Lock file for the application (there is only one in the filesystem ...)"
5157
msgstr""
58+
"Arquivo de lock para a aplicação (existe apenas um em todo o sistema de arquivos ...)"
5259

5360
#:../../Creational/Singleton/README.rst:23
5461
msgid"UML Diagram"
55-
msgstr""
62+
msgstr"Diagrama UML"
5663

5764
#:../../Creational/Singleton/README.rst:30
5865
msgid"Code"
59-
msgstr""
66+
msgstr"Código"
6067

6168
#:../../Creational/Singleton/README.rst:32
6269
msgid"You can also find this code on `GitHub`_"
63-
msgstr""
70+
msgstr"Você também pode encontrar esse código no `GitHub`_"
6471

6572
#:../../Creational/Singleton/README.rst:34
6673
msgid"Singleton.php"
6774
msgstr""
6875

6976
#:../../Creational/Singleton/README.rst:41
7077
msgid"Test"
71-
msgstr""
78+
msgstr"Teste"
7279

7380
#:../../Creational/Singleton/README.rst:43
7481
msgid"Tests/SingletonTest.php"

‎locale/pt_BR/LC_MESSAGES/Creational/StaticFactory/README.po‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
#
22
msgid ""
33
msgstr ""
44
"Project-Id-Version:DesignPatternsPHP 1.0\n"
@@ -13,11 +13,11 @@ msgstr ""
1313

1414
#:../../Creational/StaticFactory/README.rst:2
1515
msgid"Static Factory"
16-
msgstr""
16+
msgstr"Fábrica Estática"
1717

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

2222
#:../../Creational/StaticFactory/README.rst:7
2323
msgid""
@@ -27,6 +27,8 @@ msgid ""
2727
"method to create all types of objects it can create. It is usually named "
2828
"``factory`` or ``build``."
2929
msgstr""
30+
"Semelhante à Fábrica Abstrata, este padrão é utilizado para a criação de um conjunto de"
31+
" objetos relacionados ou dependentes. A diferença entre o padrão "
3032

3133
#:../../Creational/StaticFactory/README.rst:14
3234
msgid"Examples"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp