fix creational

This commit is contained in:
didacusabella
2021-10-09 14:22:13 +02:00
parent 1ea91bcadf
commit 89e5db2c51
5 changed files with 15 additions and 21 deletions

View File

@@ -25,7 +25,7 @@ msgid ""
"To create series of related or dependent objects without specifying their " "To create series of related or dependent objects without specifying their "
"concrete classes. Usually the created classes all implement the same " "concrete classes. Usually the created classes all implement the same "
"interface. The client of the abstract factory does not care about how these " "interface. The client of the abstract factory does not care about how these "
"objects are created, he just knows how they go together." "objects are created, it just knows how they go together."
msgstr "" msgstr ""
"Crea una serie di oggetti correlati o dipendenti tra loro senza specificare le loro" "Crea una serie di oggetti correlati o dipendenti tra loro senza specificare le loro"
"classe concrete. Solitamente le classi create implementano tutte la medesima interfaccia. " "classe concrete. Solitamente le classi create implementano tutte la medesima interfaccia. "
@@ -42,7 +42,7 @@ msgstr "Codice"
#: ../../Creational/AbstractFactory/README.rst:22 #: ../../Creational/AbstractFactory/README.rst:22
msgid "You can also find this code on `GitHub`_" msgid "You can also find this code on `GitHub`_"
msgstr "Vous pouvez également trouver ce code sur `GitHub`_" msgstr "Potete trovare questo codice anche su `GitHub`_"
#: ../../Creational/AbstractFactory/README.rst:85 #: ../../Creational/AbstractFactory/README.rst:85
msgid "Test" msgid "Test"

View File

@@ -66,7 +66,7 @@ msgstr "Codice"
#: ../../Creational/Builder/README.rst:22 #: ../../Creational/Builder/README.rst:22
msgid "You can also find this code on `GitHub`_" msgid "You can also find this code on `GitHub`_"
msgstr "Vous pouvez également trouver ce code sur `GitHub`_" msgstr "Potete trovare questo codice anche su `GitHub`_"
#: ../../Creational/Builder/README.rst:85 #: ../../Creational/Builder/README.rst:85
msgid "Test" msgid "Test"

View File

@@ -23,14 +23,14 @@ msgstr "Scopo"
#: ../../Creational/FactoryMethod/README.rst:7 #: ../../Creational/FactoryMethod/README.rst:7
msgid "" msgid ""
"The good point over the SimpleFactory is you can subclass it to implement " "The good point over the SimpleFactory is you can subclass it to implement "
"different ways to create objects" "different ways to create objects."
msgstr "" msgstr ""
"Un vantaggio rispetto al SimpleFactory è che puoi creare delle sottoclassi " "Un vantaggio rispetto al SimpleFactory è che puoi creare delle sottoclassi "
"per diverfificare la creazione degli oggetti" "per diverfificare la creazione degli oggetti."
#: ../../Creational/FactoryMethod/README.rst:10 #: ../../Creational/FactoryMethod/README.rst:10
msgid "For simple case, this abstract class could be just an interface" msgid "For simple case, this abstract class could be just an interface."
msgstr "Per casi semplici, questa classe astratta può essere anche solo un interfaccia" msgstr "Per casi semplici, questa classe astratta può essere anche solo un interfaccia."
#: ../../Creational/FactoryMethod/README.rst:12 #: ../../Creational/FactoryMethod/README.rst:12
msgid "" msgid ""

View File

@@ -40,7 +40,7 @@ msgid ""
"low. The pooled object is obtained in predictable time when creation of the " "low. The pooled object is obtained in predictable time when creation of the "
"new objects (especially over network) may take variable time." "new objects (especially over network) may take variable time."
msgstr "" msgstr ""
"Il pooing degli oggetti può offrire un aumento delle prestazioni significative in situazioni " "Il pooling degli oggetti può offrire un aumento delle prestazioni significative in situazioni "
"dove il costo per inizializzare un'instanza di una classe è alto, la percentuale di istanziazione " "dove il costo per inizializzare un'instanza di una classe è alto, la percentuale di istanziazione "
"è alta e il numero di instanze in uno in qualune momento è basso. L'oggetto ottento dalla pool " "è alta e il numero di instanze in uno in qualune momento è basso. L'oggetto ottento dalla pool "
"ha tempi prevedibili quando la creazione di nuove oggetti (soprattuto in rete) richiede del tempo." "ha tempi prevedibili quando la creazione di nuove oggetti (soprattuto in rete) richiede del tempo."

View File

@@ -22,23 +22,17 @@ msgstr "Scopo"
#: ../../Creational/SimpleFactory/README.rst:7 #: ../../Creational/SimpleFactory/README.rst:7
msgid "SimpleFactory is a simple factory pattern." msgid "SimpleFactory is a simple factory pattern."
msgstr "SimpleFactory è un semplice factory pattern" msgstr "SimpleFactory è un semplice factory pattern."
#: ../../Creational/SimpleFactory/README.rst:9 #: ../../Creational/SimpleFactory/README.rst:9
msgid "" msgid ""
"It differs from the static factory because it is NOT static and as you know:" "It differs from the static factory because it is not static. Therefore, you can have multiple factories, "
" static => global => evil!" "differently parameterized, you can subclass it and you can mock it. It always should be preferred "
"over a static factory!"
msgstr "" msgstr ""
"Differisce dalla static factory perchè NON è statico e come dovreste sapere:" "Differisce dalla static factory perchè non è statico. Inoltre, potete avere factory multiple "
" static => global => male!" "parametrizzate differentemente, creare delle sottoclassi e degli oggetti mock. Dovrebbe essere sempre "
"preferia rispetto alla factory statica!"
#: ../../Creational/SimpleFactory/README.rst:12
msgid ""
"Therefore, you can have multiple factories, differently parametrized, you "
"can subclass it and you can mock-up it."
msgstr ""
"Inoltre potete avere factory multiple, parametrizzate in maniera diversa, "
"dalle quali creare delle sottoclassi da cui poter creare degli oggetti mock"
#: ../../Creational/SimpleFactory/README.rst:13 #: ../../Creational/SimpleFactory/README.rst:13
msgid "UML Diagram" msgid "UML Diagram"