Skip to content

Commit 2b93f82

Browse files
samdarkgithub-actions[bot]
authored andcommitted
Update translation
1 parent f6a3955 commit 2b93f82

11 files changed

Lines changed: 366 additions & 358 deletions

_translations/po/es/guide_tutorial_using-yii-with-roadrunner.md.po

Lines changed: 47 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: PACKAGE VERSION\n"
9-
"POT-Creation-Date: 2025-12-24 08:02+0000\n"
9+
"POT-Creation-Date: 2026-03-05 14:13+0000\n"
1010
"PO-Revision-Date: 2025-09-04 11:19+0500\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
@@ -17,33 +17,31 @@ msgstr ""
1717
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1818

1919
#. type: Title ##
20-
#: ../src/en/cookbook/making-http-requests.md
21-
#: ../src/en/cookbook/sentry-integration.md
22-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
23-
#: ../src/en/guide/tutorial/using-yii-with-swoole.md
24-
#: ../src/en/guide/views/asset.md ../src/en/guide/views/view.md
25-
#: ../src/en/guide/views/widget.md
20+
#: ../src/cookbook/making-http-requests.md
21+
#: ../src/cookbook/sentry-integration.md
22+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
23+
#: ../src/guide/tutorial/using-yii-with-swoole.md ../src/guide/views/asset.md
24+
#: ../src/guide/views/view.md ../src/guide/views/widget.md
2625
#, no-wrap
2726
msgid "Installation"
2827
msgstr ""
2928

3029
#. type: Title ##
31-
#: ../src/en/cookbook/sentry-integration.md
32-
#: ../src/en/guide/concept/configuration.md
33-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
34-
#: ../src/en/guide/views/view-injections.md
30+
#: ../src/cookbook/sentry-integration.md ../src/guide/concept/configuration.md
31+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
32+
#: ../src/guide/views/view-injections.md
3533
#, no-wrap
3634
msgid "Configuration"
3735
msgstr ""
3836

3937
#. type: Title #
40-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
38+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
4139
#, no-wrap
4240
msgid "Using Yii with RoadRunner"
4341
msgstr ""
4442

4543
#. type: Plain text
46-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
44+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
4745
#, no-wrap
4846
msgid ""
4947
"[RoadRunner](https://roadrunner.dev/) is a Golang-powered application server that integrates well with PHP. It runs\n"
@@ -53,92 +51,95 @@ msgid ""
5351
msgstr ""
5452

5553
#. type: Plain text
56-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
54+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
5755
msgid "RoadRunner works on Linux, macOS and Windows. The best way to install it is to use a Composer:"
5856
msgstr ""
5957

6058
#. type: Fenced code block
61-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
59+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
6260
#, no-wrap
6361
msgid "composer require yiisoft/yii-runner-roadrunner\n"
6462
msgstr ""
6563

6664
#. type: Plain text
67-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
65+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
6866
msgid "After installation is done, run"
6967
msgstr ""
7068

7169
#. type: Fenced code block
72-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
70+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
7371
#, no-wrap
7472
msgid "./vendor/bin/rr get\n"
7573
msgstr ""
7674

7775
#. type: Plain text
78-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
76+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
7977
msgid "That would download ready to use RoadRunner server `rr` binary."
8078
msgstr ""
8179

8280
#. type: Plain text
83-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
81+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
8482
msgid "First, we need to configure the server itself. Create `/.rr.yaml` and add the following config:"
8583
msgstr ""
8684

8785
#. type: Fenced code block (yaml)
88-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
86+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
8987
#, no-wrap
9088
msgid ""
9189
"server:\n"
9290
" command: \"php worker.php\"\n"
91+
" env:\n"
92+
" YII_ENV: prod\n"
93+
" YII_DEBUG: false\n"
9394
"\n"
9495
"rpc:\n"
9596
" listen: tcp://127.0.0.1:6001\n"
9697
"\n"
9798
"http:\n"
9899
" address: :8080\n"
99100
" pool:\n"
100-
" num_workers: 4\n"
101-
" max_jobs: 64\n"
102-
" middleware: [\"static\", \"headers\"]\n"
101+
" debug: false # set to true for local development only\n"
102+
" supervisor:\n"
103+
" max_worker_memory: 192\n"
104+
" middleware: [static, gzip, headers, sendfile]\n"
103105
" static:\n"
104106
" dir: \"public\"\n"
105107
" forbid: [\".php\", \".htaccess\"]\n"
106108
" headers:\n"
107109
" response:\n"
108110
" \"Cache-Control\": \"no-cache\"\n"
109111
"\n"
110-
"reload:\n"
111-
" interval: 1s\n"
112-
" patterns: [ \".php\" ]\n"
113-
" services:\n"
114-
" http:\n"
115-
" recursive: true\n"
116-
" dirs: [ \".\" ]\n"
117-
"\n"
118112
"logs:\n"
119113
" mode: production\n"
120114
" level: warn\n"
121115
msgstr ""
122116

123117
#. type: Plain text
124-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
125-
msgid "We're specifying that entry script is `worker.php`, there should be three workers on port 8080, `public` directory files are static ones except `.php` and `.htaccess`. Also, we're sending an additional header."
118+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
119+
#, no-wrap
120+
msgid ""
121+
"> [!INFO]\n"
122+
"> Read more about TLS, HTTP/2, HTTP/3 configuration and other middleware [on the RoadRunner docs](https://docs.roadrunner.dev/docs/http/http).\n"
126123
msgstr ""
127124

128125
#. type: Plain text
129-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
126+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
127+
msgid "We're specifying that the entry script is `worker.php`, the server listens on port 8080, `public` directory files are served statically except `.php` and `.htaccess`. The `max_worker_memory` is a soft limit: if a worker exceeds 192 MB, it will restart after finishing its current request. Also, we're sending an additional header."
128+
msgstr ""
129+
130+
#. type: Plain text
131+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
130132
msgid "Create `/worker.php`:"
131133
msgstr ""
132134

133135
#. type: Fenced code block (php)
134-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
136+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
135137
#, no-wrap
136138
msgid ""
137139
"<?php\n"
138140
"\n"
139141
"declare(strict_types=1);\n"
140142
"\n"
141-
"\n"
142143
"use Yiisoft\\Yii\\Runner\\RoadRunner\\RoadRunnerApplicationRunner;\n"
143144
"\n"
144145
"ini_set('display_errors', 'stderr');\n"
@@ -149,41 +150,41 @@ msgid ""
149150
msgstr ""
150151

151152
#. type: Title ##
152-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
153-
#: ../src/en/guide/tutorial/using-yii-with-swoole.md
153+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
154+
#: ../src/guide/tutorial/using-yii-with-swoole.md
154155
#, no-wrap
155156
msgid "Starting a server"
156157
msgstr ""
157158

158159
#. type: Plain text
159-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
160-
#: ../src/en/guide/tutorial/using-yii-with-swoole.md
160+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
161+
#: ../src/guide/tutorial/using-yii-with-swoole.md
161162
msgid "To start a server, execute the following command:"
162163
msgstr ""
163164

164165
#. type: Fenced code block
165-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
166+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
166167
#, no-wrap
167-
msgid "./rr serve -d\n"
168+
msgid "./rr serve\n"
168169
msgstr ""
169170

170171
#. type: Title ##
171-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
172+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
172173
#, no-wrap
173174
msgid "On worker scope"
174175
msgstr ""
175176

176177
#. type: Bullet: '- '
177-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
178+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
178179
msgid "Each worker's scope is isolated from other workers. Memory isn't shared."
179180
msgstr ""
180181

181182
#. type: Bullet: '- '
182-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
183+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
183184
msgid "A single worker serves multiple requests where the scope is shared."
184185
msgstr ""
185186

186187
#. type: Bullet: '- '
187-
#: ../src/en/guide/tutorial/using-yii-with-roadrunner.md
188+
#: ../src/guide/tutorial/using-yii-with-roadrunner.md
188189
msgid "At each iteration of the event loop, every service that depends on state should be reset."
189190
msgstr ""

0 commit comments

Comments
 (0)