Skip to content

Commit 6a503de

Browse files
committed
Start translating concept_configuration in guide
1 parent 1a94f4e commit 6a503de

File tree

1 file changed

+50
-13
lines changed

1 file changed

+50
-13
lines changed

_translations/guide/po/ru/concept_configuration.md.po

Lines changed: 50 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,54 +5,55 @@
55
#
66
msgid ""
77
msgstr ""
8-
"Project-Id-Version: PACKAGE VERSION\n"
8+
"Project-Id-Version: \n"
99
"POT-Creation-Date: 2025-09-04 11:19+0500\n"
10-
"PO-Revision-Date: 2025-09-04 11:19+0500\n"
10+
"PO-Revision-Date: 2025-10-01 13:33+0500\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
1313
"Language: ru\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18+
"X-Generator: Poedit 3.7\n"
1819

1920
#. type: Title ##
2021
#: en/concept/configuration.md en/tutorial/using-yii-with-roadrunner.md
2122
#: en/views/view-injections.md
22-
#, fuzzy, no-wrap
23+
#, no-wrap
2324
msgid "Configuration"
24-
msgstr "конфигурация может быть:"
25+
msgstr "Конфигурация"
2526

2627
#. type: Plain text
2728
#: en/concept/configuration.md
2829
msgid "There are many ways to configure your application. We will focus on concepts used in the [default project template](https://github.com/yiisoft/app)."
29-
msgstr ""
30+
msgstr "Существует множество способов настройки приложения. Мы сосредоточимся на концепциях, используемых в [шаблоне проекта по умолчанию](https://github.com/yiisoft/app)."
3031

3132
#. type: Plain text
3233
#: en/concept/configuration.md
3334
msgid "Yii3 configs are part of the application. You can change many aspects of how the application works by editing configuration under `config/`."
34-
msgstr ""
35+
msgstr "Конфигурации Yii3 являются частью приложения. Вы можете изменить многие аспекты работы приложения, отредактировав конфигурацию в папке `config/`."
3536

3637
#. type: Title ##
3738
#: en/concept/configuration.md
3839
#, no-wrap
3940
msgid "Config plugin"
40-
msgstr ""
41+
msgstr "Плагин конфигурации"
4142

4243
#. type: Plain text
4344
#: en/concept/configuration.md
4445
msgid "In the application template [yiisoft/config](https://github.com/yiisoft/config) is used. Since writing all application configurations from scratch is a tedious process, many packages offer default configs, and the plugin helps with copying these into the application."
45-
msgstr ""
46+
msgstr "В шаблоне приложения используется плагин [yiisoft/config](https://github.com/yiisoft/config). Поскольку написание всех конфигураций приложения с нуля - утомительный процесс, многие пакеты предлагают готовые конфигурации по умолчанию, а плагин помогает скопировать их в приложение."
4647

4748
#. type: Plain text
4849
#: en/concept/configuration.md
4950
msgid "To offer default configs, `composer.json` of the package has to have `config-plugin` section. When installing or updating packages with Composer, the plugin reads `config-plugin` sections for each dependency, copies files themselves to application `config/packages/` if they don't yet exist and writes a merge plan to `config/packages/merge_plan.php`. The merge plan defines how to merge the configs into a single big array ready to be passed to [DI container](di-container.md)."
50-
msgstr ""
51+
msgstr "Чтобы предлагать конфигурации по умолчанию, файл `composer.json` пакета должен содержать раздел `config-plugin`. При установке или обновлении пакетов с помощью Composer плагин считывает разделы `config-plugin` для каждой зависимости, копирует сами файлы в папку `config/packages/` приложения, если они ещё не существуют, и записывает план слияния в `config/packages/merge_plan.php`. План слияния определяет, как объединить конфигурации в один большой массив, готовый к передаче в [DI-контейнер] (di-container.md)."
5152

5253
#. type: Plain text
5354
#: en/concept/configuration.md
5455
msgid "Take a look at what's in the \"yiisoft/app\" `composer.json` by default:"
55-
msgstr ""
56+
msgstr "Посмотрите, что находится в `composer.json` \"yiisoft/app\" по умолчанию:"
5657

5758
#. type: Fenced code block (json)
5859
#: en/concept/configuration.md
@@ -96,6 +97,43 @@ msgid ""
9697
" \"routes\": \"config/routes.php\"\n"
9798
"},\n"
9899
msgstr ""
100+
"\"config-plugin-options\": {\n"
101+
" \"output-directory\": \"config/packages\"\n"
102+
"},\n"
103+
"\"config-plugin\": {\n"
104+
" \"common\": \"config/common/*.php\",\n"
105+
" \"params\": [\n"
106+
" \"config/params.php\",\n"
107+
" \"?config/params-local.php\"\n"
108+
" ],\n"
109+
" \"web\": [\n"
110+
" \"$common\",\n"
111+
" \"config/web/*.php\"\n"
112+
" ],\n"
113+
" \"console\": [\n"
114+
" \"$common\",\n"
115+
" \"config/console/*.php\"\n"
116+
" ],\n"
117+
" \"events\": \"config/events.php\",\n"
118+
" \"events-web\": [\n"
119+
" \"$events\",\n"
120+
" \"config/events-web.php\"\n"
121+
" ],\n"
122+
" \"events-console\": [\n"
123+
" \"$events\",\n"
124+
" \"config/events-console.php\"\n"
125+
" ],\n"
126+
" \"providers\": \"config/providers.php\",\n"
127+
" \"providers-web\": [\n"
128+
" \"$providers\",\n"
129+
" \"config/providers-web.php\"\n"
130+
" ],\n"
131+
" \"providers-console\": [\n"
132+
" \"$providers\",\n"
133+
" \"config/providers-console.php\"\n"
134+
" ],\n"
135+
" \"routes\": \"config/routes.php\"\n"
136+
"},\n"
99137

100138
#. type: Plain text
101139
#: en/concept/configuration.md
@@ -171,10 +209,9 @@ msgstr ""
171209

172210
#. type: Title ###
173211
#: en/concept/configuration.md
174-
#, fuzzy, no-wrap
175-
#| msgid "Secure server configuration"
212+
#, no-wrap
176213
msgid "Container configuration"
177-
msgstr "Безопасная конфигурация сервера"
214+
msgstr "Конфигурация контейнера"
178215

179216
#. type: Plain text
180217
#: en/concept/configuration.md

0 commit comments

Comments
 (0)