fix behavioral

This commit is contained in:
didacusabella
2021-10-09 14:48:59 +02:00
parent b5fba9a25c
commit 01e7158627
7 changed files with 13 additions and 13 deletions

View File

@@ -43,7 +43,7 @@ msgstr ""
#: ../../Behavioral/ChainOfResponsibilities/README.rst:16 #: ../../Behavioral/ChainOfResponsibilities/README.rst:16
msgid "a Spam filter" msgid "a Spam filter"
msgstr "Un filtro anti spam" msgstr "Un filtro anti spam."
#: ../../Behavioral/ChainOfResponsibilities/README.rst:17 #: ../../Behavioral/ChainOfResponsibilities/README.rst:17
msgid "" msgid ""
@@ -51,7 +51,7 @@ msgid ""
"\"misses\" it delegates the call to the database interface" "\"misses\" it delegates the call to the database interface"
msgstr "" msgstr ""
"Caching : il primo oggetto è un istanza ad esempio dell'interfaccia Memcached," "Caching : il primo oggetto è un istanza ad esempio dell'interfaccia Memcached,"
" la quale se fa \"miss\", delega la chiamata ad un terfaccia del database." " la quale se fa \"miss\", delega la chiamata ad un'interfaccia del database."
#: ../../Behavioral/ChainOfResponsibilities/README.rst:13 #: ../../Behavioral/ChainOfResponsibilities/README.rst:13
msgid "UML Diagram" msgid "UML Diagram"

View File

@@ -53,8 +53,7 @@ msgstr "Esempi"
#: ../../Behavioral/Command/README.rst:23 #: ../../Behavioral/Command/README.rst:23
msgid "" msgid ""
"A text editor : all events are Command which can be undone, stacked and " "A text editor : all events are commands which can be undone, stacked and saved."
"saved."
msgstr "" msgstr ""
"Un editor di testo: tutti gli eventi sono Command i quali possono essere annullati, " "Un editor di testo: tutti gli eventi sono Command i quali possono essere annullati, "
"impilati e salvati." "impilati e salvati."

View File

@@ -46,7 +46,7 @@ msgid ""
"suited for this! Often you would want to implement the Countable interface " "suited for this! Often you would want to implement the Countable interface "
"too, to allow ``count($object)`` on your iterable object" "too, to allow ``count($object)`` on your iterable object"
msgstr "" msgstr ""
"La libreria standard di PHP (SPL) definisce un interfaccia Iterator che è ideale" "La libreria standard di PHP (SPL) definisce un'interfaccia Iterator che è ideale"
"per applicare il pattern! Spesso si implementa anche l'intefaccia Countable " "per applicare il pattern! Spesso si implementa anche l'intefaccia Countable "
"così da poter chiamare count($object) sul vostro oggetto iterabili." "così da poter chiamare count($object) sul vostro oggetto iterabili."

View File

@@ -22,14 +22,15 @@ msgstr "Scopo"
#: ../../Behavioral/Memento/README.rst:7 #: ../../Behavioral/Memento/README.rst:7
msgid "" msgid ""
"It provides the ability to restore an object to it's previous state (undo" "It provides the ability to restore an object to it's previous state (undo "
" via rollback) or to gain access to state of the object, without " "via rollback) or to gain access to state of the object, without revealing "
"revealing it's implementation (i.e., the object is not required to have a" "it's implementation (i.e., the object is not required to have a function "
" functional for return the current state)." "to return the current state)."
msgstr "" msgstr ""
"Permette di ripristinare lo stato precedenti di un oggetto (annullamento tramite rollback) " "Permette di ripristinare lo stato precedenti di un oggetto (annullamento tramite rollback) "
"o di ottenere accesso allo stato di quest'ultimo senza rivelarne l'implementazione " "o di ottenere accesso allo stato di quest'ultimo senza rivelarne l'implementazione "
"(ad esempio all'oggetto non è richiesta una funziona per restituire il suo stato corrente)." "(ad esempio all'oggetto non è richiesta una funziona per restituire "
"il suo stato corrente)."
#: ../../Behavioral/Memento/README.rst:12 #: ../../Behavioral/Memento/README.rst:12
msgid "" msgid ""

View File

@@ -50,7 +50,7 @@ msgid ""
msgstr "" msgstr ""
"I metodi che restituisco un oggetto o null dovrebbero invece restituire l'oggetto o il " "I metodi che restituisco un oggetto o null dovrebbero invece restituire l'oggetto o il "
"``NullObject``. Questi ``NullObjects`` semplificano il codice cosicchè " "``NullObject``. Questi ``NullObjects`` semplificano il codice cosicchè "
"``if (!is_null($obj)) { $obj->callSomething() ; }`` con il seguente ``$obj->callSomething() ; ``" "``if (!is_null($obj)) { $obj->callSomething() ; }`` con il seguente ``$obj->callSomething() ;`` "
"eliminado il controllo condizionale nel codice del client." "eliminado il controllo condizionale nel codice del client."
#: ../../Behavioral/NullObject/README.rst:22 #: ../../Behavioral/NullObject/README.rst:22

View File

@@ -30,7 +30,7 @@ msgid ""
"subclasses of this abstract template \"finish\" the behavior of an " "subclasses of this abstract template \"finish\" the behavior of an "
"algorithm." "algorithm."
msgstr "" msgstr ""
"Lo avete già oncontrato molte volte. L'odea è di permette alle " "Lo avete già oncontrato molte volte. L'idea è di permette alle "
"sottoclassi di questa classe astratta di \"completare\" il comportamento " "sottoclassi di questa classe astratta di \"completare\" il comportamento "
"di un algoritmo." "di un algoritmo."

View File

@@ -28,7 +28,7 @@ msgid ""
"method in the example)." "method in the example)."
msgstr "" msgstr ""
"Il Visitor Pattern permette di esternalizzare operazioni su degli oggetti ad altri. " "Il Visitor Pattern permette di esternalizzare operazioni su degli oggetti ad altri. "
"La ragione principale è di separare le responsabilità, Le classi devono definire un contratto " "La ragione principale è di separare le responsabilità. Le classi devono definire un contratto "
"per interagire con i visitor (il metodo ``Role::accept`` ad esempio)." "per interagire con i visitor (il metodo ``Role::accept`` ad esempio)."
#: ../../Behavioral/Visitor/README.rst:12 #: ../../Behavioral/Visitor/README.rst:12