File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
locale/pl/LC_MESSAGES/Structural/Registry Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,13 @@ msgstr "Przeznaczenie"
23
23
msgid ""
24
24
"To implement a central storage for objects often used throughout the "
25
25
"application, is typically implemented using an abstract class with only "
26
- "static methods (or using the Singleton pattern)"
26
+ "static methods (or using the Singleton pattern). Remember that this introduces "
27
+ "global state, which should be avoided at all times! Instead implement it using Dependency Injection!"
27
28
msgstr ""
28
29
"Pozwala zaimplementować centralny magazyn często używanych obiektów w aplikacji. "
29
30
"Zwykle jest implementowany przy użyciu klasy abstrakcyjnej posiadającej tylko "
30
- "statyczne metody lub przy użyciu wzroca Singleton."
31
+ "statyczne metody lub przy użyciu wzroca Singleton. Zwróć uwagę, że Rejestr wprowadza globalny stan, "
32
+ "czego powinno się unikać za wszelką cenę! Zamiast Rejestru powinieneś zaimplementować wzorzec Wstrzykiwania zależności."
31
33
32
34
#: ../../Structural/Registry/README.rst:12
33
35
msgid "Examples"
You can’t perform that action at this time.
0 commit comments