Skip to content

Commit 807f4d7

Browse files
[pl translation] Structural/Registry msg fix.
1 parent 2b9da6a commit 807f4d7

File tree

1 file changed

+4
-2
lines changed
  • locale/pl/LC_MESSAGES/Structural/Registry

1 file changed

+4
-2
lines changed

locale/pl/LC_MESSAGES/Structural/Registry/README.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ msgstr "Przeznaczenie"
2323
msgid ""
2424
"To implement a central storage for objects often used throughout the "
2525
"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!"
2728
msgstr ""
2829
"Pozwala zaimplementować centralny magazyn często używanych obiektów w aplikacji. "
2930
"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."
3133

3234
#: ../../Structural/Registry/README.rst:12
3335
msgid "Examples"

0 commit comments

Comments
 (0)