mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-28 18:50:11 +02:00
[pl translation] Structural/Registry msg fix.
This commit is contained in:
@@ -23,11 +23,13 @@ msgstr "Przeznaczenie"
|
||||
msgid ""
|
||||
"To implement a central storage for objects often used throughout the "
|
||||
"application, is typically implemented using an abstract class with only "
|
||||
"static methods (or using the Singleton pattern)"
|
||||
"static methods (or using the Singleton pattern). Remember that this introduces "
|
||||
"global state, which should be avoided at all times! Instead implement it using Dependency Injection!"
|
||||
msgstr ""
|
||||
"Pozwala zaimplementować centralny magazyn często używanych obiektów w aplikacji. "
|
||||
"Zwykle jest implementowany przy użyciu klasy abstrakcyjnej posiadającej tylko "
|
||||
"statyczne metody lub przy użyciu wzroca Singleton."
|
||||
"statyczne metody lub przy użyciu wzroca Singleton. Zwróć uwagę, że Rejestr wprowadza globalny stan, "
|
||||
"czego powinno się unikać za wszelką cenę! Zamiast Rejestru powinieneś zaimplementować wzorzec Wstrzykiwania zależności."
|
||||
|
||||
#: ../../Structural/Registry/README.rst:12
|
||||
msgid "Examples"
|
||||
|
Reference in New Issue
Block a user