mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-01 20:50:15 +02:00
Translated Null Object page text
Translating Null Object in Behavioral section.
This commit is contained in:
@@ -4,38 +4,41 @@ 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"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"PO-Revision-Date: 2019-04-11 12:30-0300\n"
|
||||
"Last-Translator: Pablo Juan Garcia <contato@pablogarcia.com.br>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: pt_BR\n"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:2
|
||||
msgid "`Null Object`__"
|
||||
msgstr ""
|
||||
msgstr "`Objeto Nulo (Null Object)`__"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:5
|
||||
msgid "Purpose"
|
||||
msgstr ""
|
||||
msgstr "Objetivo"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:7
|
||||
msgid ""
|
||||
"NullObject is not a GoF design pattern but a schema which appears frequently"
|
||||
" enough to be considered a pattern. It has the following benefits:"
|
||||
msgstr ""
|
||||
"Objeto Nulo (Null Object) não é um padrão de projeto GoF, mas um esquema o "
|
||||
"qual aparece com frequencia suficiente para ser considerado um padrão. Ele tem "
|
||||
"os seguintes benefícios:"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:11
|
||||
msgid "Client code is simplified"
|
||||
msgstr ""
|
||||
msgstr "Código do cliente é simplificado"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:12
|
||||
msgid "Reduces the chance of null pointer exceptions"
|
||||
msgstr ""
|
||||
msgstr "Reduz a chance de exceções de ponto nulo (null pointer exceptions)"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:13
|
||||
msgid "Fewer conditionals require less test cases"
|
||||
msgstr ""
|
||||
msgstr "Menores condicionais requerem menos casos de teste"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:15
|
||||
msgid ""
|
||||
@@ -45,39 +48,44 @@ msgid ""
|
||||
"``$obj->callSomething();`` by eliminating the conditional check in client "
|
||||
"code."
|
||||
msgstr ""
|
||||
"Métodos que retornam um objeto ou nulo devem ao invés disso, retornar um "
|
||||
"objeto ou ``NullObject``. ``NullObject``\\ é simplesmente código boilerplate como ``if "
|
||||
"(!is_null($obj)) { $obj->callSomething(); }`` para apenas "
|
||||
"``$obj->callSomething();`` eliminando então a checagem condicional no código "
|
||||
"cliente."
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:22
|
||||
msgid "Examples"
|
||||
msgstr ""
|
||||
msgstr "Exemplos"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:24
|
||||
msgid "Symfony2: null logger of profiler"
|
||||
msgstr ""
|
||||
msgstr "Symfony2: logger nulo do profiler"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:25
|
||||
msgid "Symfony2: null output in Symfony/Console"
|
||||
msgstr ""
|
||||
msgstr "Symfony2: saída nula em Symfony/Console"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:26
|
||||
msgid "null handler in a Chain of Responsibilities pattern"
|
||||
msgstr ""
|
||||
msgstr "manipulador nulo em um padrão de Cadeia de Responsabilidades (Chain of Responsibilities)"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:27
|
||||
msgid "null command in a Command pattern"
|
||||
msgstr ""
|
||||
msgstr "commando nulo em um padrão Comando (Command)"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:30
|
||||
msgid "UML Diagram"
|
||||
msgstr ""
|
||||
msgstr "Diagrama UML"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:37
|
||||
msgid "Code"
|
||||
msgstr ""
|
||||
msgstr "Código"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:39
|
||||
msgid "You can also find this code on `GitHub`_"
|
||||
msgstr ""
|
||||
msgstr "Você também pode encontrar este código no `GitHub`_"
|
||||
|
||||
#: ../../Behavioral/NullObject/README.rst:66
|
||||
msgid "Test"
|
||||
msgstr ""
|
||||
msgstr "Teste"
|
||||
|
Reference in New Issue
Block a user