Skip to content

Commit a31d8ff

Browse files
Translated Null Object page text
Translating Null Object in Behavioral section.
1 parent 6827888 commit a31d8ff

File tree

1 file changed

+25
-17
lines changed
  • locale/pt_BR/LC_MESSAGES/Behavioral/NullObject

1 file changed

+25
-17
lines changed

locale/pt_BR/LC_MESSAGES/Behavioral/NullObject/README.po

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,41 @@ 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 <LL@li.org>\n"
7+
"PO-Revision-Date: 2019-04-11 12:30-0300\n"
8+
"Last-Translator: Pablo Juan Garcia <contato@pablogarcia.com.br>\n"
109
"MIME-Version: 1.0\n"
1110
"Content-Type: text/plain; charset=UTF-8\n"
1211
"Content-Transfer-Encoding: 8bit\n"
12+
"Language: pt_BR\n"
1313

1414
#: ../../Behavioral/NullObject/README.rst:2
1515
msgid "`Null Object`__"
16-
msgstr ""
16+
msgstr "`Objeto Nulo (Null Object)`__"
1717

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

2222
#: ../../Behavioral/NullObject/README.rst:7
2323
msgid ""
2424
"NullObject is not a GoF design pattern but a schema which appears frequently"
2525
" enough to be considered a pattern. It has the following benefits:"
2626
msgstr ""
27+
"Objeto Nulo (Null Object) não é um padrão de projeto GoF, mas um esquema o "
28+
"qual aparece com frequencia suficiente para ser considerado um padrão. Ele tem "
29+
"os seguintes benefícios:"
2730

2831
#: ../../Behavioral/NullObject/README.rst:11
2932
msgid "Client code is simplified"
30-
msgstr ""
33+
msgstr "Código do cliente é simplificado"
3134

3235
#: ../../Behavioral/NullObject/README.rst:12
3336
msgid "Reduces the chance of null pointer exceptions"
34-
msgstr ""
37+
msgstr "Reduz a chance de exceções de ponto nulo (null pointer exceptions)"
3538

3639
#: ../../Behavioral/NullObject/README.rst:13
3740
msgid "Fewer conditionals require less test cases"
38-
msgstr ""
41+
msgstr "Menores condicionais requerem menos casos de teste"
3942

4043
#: ../../Behavioral/NullObject/README.rst:15
4144
msgid ""
@@ -45,39 +48,44 @@ msgid ""
4548
"``$obj->callSomething();`` by eliminating the conditional check in client "
4649
"code."
4750
msgstr ""
51+
"Métodos que retornam um objeto ou nulo devem ao invés disso, retornar um "
52+
"objeto ou ``NullObject``. ``NullObject``\\ é simplesmente código boilerplate como ``if "
53+
"(!is_null($obj)) { $obj->callSomething(); }`` para apenas "
54+
"``$obj->callSomething();`` eliminando então a checagem condicional no código "
55+
"cliente."
4856

4957
#: ../../Behavioral/NullObject/README.rst:22
5058
msgid "Examples"
51-
msgstr ""
59+
msgstr "Exemplos"
5260

5361
#: ../../Behavioral/NullObject/README.rst:24
5462
msgid "Symfony2: null logger of profiler"
55-
msgstr ""
63+
msgstr "Symfony2: logger nulo do profiler"
5664

5765
#: ../../Behavioral/NullObject/README.rst:25
5866
msgid "Symfony2: null output in Symfony/Console"
59-
msgstr ""
67+
msgstr "Symfony2: saída nula em Symfony/Console"
6068

6169
#: ../../Behavioral/NullObject/README.rst:26
6270
msgid "null handler in a Chain of Responsibilities pattern"
63-
msgstr ""
71+
msgstr "manipulador nulo em um padrão de Cadeia de Responsabilidades (Chain of Responsibilities)"
6472

6573
#: ../../Behavioral/NullObject/README.rst:27
6674
msgid "null command in a Command pattern"
67-
msgstr ""
75+
msgstr "commando nulo em um padrão Comando (Command)"
6876

6977
#: ../../Behavioral/NullObject/README.rst:30
7078
msgid "UML Diagram"
71-
msgstr ""
79+
msgstr "Diagrama UML"
7280

7381
#: ../../Behavioral/NullObject/README.rst:37
7482
msgid "Code"
75-
msgstr ""
83+
msgstr "Código"
7684

7785
#: ../../Behavioral/NullObject/README.rst:39
7886
msgid "You can also find this code on `GitHub`_"
79-
msgstr ""
87+
msgstr "Você também pode encontrar este código no `GitHub`_"
8088

8189
#: ../../Behavioral/NullObject/README.rst:66
8290
msgid "Test"
83-
msgstr ""
91+
msgstr "Teste"

0 commit comments

Comments
 (0)