Skip to content

Commit 16cde74

Browse files
Merge pull request DesignPatternsPHP#507 from smithalex/main
Fix mismatched string references for russian l10n. Translate NULL-object examples
2 parents 41c623c + 0d68af0 commit 16cde74

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

locale/ru/LC_MESSAGES/Behavioral/Command/README.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ msgstr "Примеры"
5555

5656
#: ../../Behavioral/Command/README.rst:23
5757
msgid ""
58-
"A text editor : all events are Command which can be undone, stacked and "
58+
"A text editor : all events are commands which can be undone, stacked and "
5959
"saved."
6060
msgstr ""
6161
"текстовый редактор: все события являются Командами, которые могут быть "

locale/ru/LC_MESSAGES/Behavioral/NullObject/README.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ msgstr "Примеры"
6161

6262
#: ../../Behavioral/NullObject/README.rst:24
6363
msgid "Null logger or null output to preserve a standard way of interaction between objects, even if the shouldn't do anything"
64-
msgstr ""
64+
msgstr "Объекты Null-логгер или Null-вывод поддерживают стандартный вид взаимодействий между объектами, даже если они ничего не делают"
6565

6666
#: ../../Behavioral/NullObject/README.rst:26
6767
msgid "null handler in a Chain of Responsibilities pattern"
68-
msgstr "null handler in a Chain of Responsibilities pattern"
68+
msgstr "Null-обработчик в шаблоне Цепочка Обязанностей (Chain of Responsibilities)"
6969

7070
#: ../../Behavioral/NullObject/README.rst:27
7171
msgid "null command in a Command pattern"
72-
msgstr "null command in a Command pattern"
72+
msgstr "Null-команда в шаблоне Команда (Command)"
7373

7474
#: ../../Behavioral/NullObject/README.rst:30
7575
msgid "UML Diagram"

locale/ru/LC_MESSAGES/Creational/AbstractFactory/README.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ msgid ""
2626
"To create series of related or dependent objects without specifying their "
2727
"concrete classes. Usually the created classes all implement the same "
2828
"interface. The client of the abstract factory does not care about how these "
29-
"objects are created, he just knows how they go together."
29+
"objects are created, it just knows how they go together."
3030
msgstr ""
3131
"Создать ряд связанных или зависимых объектов без указания их конкретных "
3232
"классов. Обычно создаваемые классы стремятся реализовать один и тот же "

locale/ru/LC_MESSAGES/Structural/Facade/README.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ msgstr "Назначение"
2323

2424
#: ../../Structural/Facade/README.rst:7
2525
msgid ""
26-
"The primary goal of a Facade Pattern is not to avoid you having to read the"
27-
"manual of a complex API. It's only a side-effect. The first goal is to"
26+
"The primary goal of a Facade Pattern is not to avoid you having to read the "
27+
"manual of a complex API. It's only a side-effect. The first goal is to "
2828
"reduce coupling and follow the Law of Demeter."
2929
msgstr ""
3030
"Основная цель паттерна Фасад заключается не в том, чтобы помешать вам "

0 commit comments

Comments
 (0)