Skip to content

Commit 07db8b7

Browse files
rustamwingithub-actions[bot]
authored andcommitted
Update translation
1 parent b2a1014 commit 07db8b7

35 files changed

+314
-288
lines changed

_translations/po/es/guide_start_creating-project.md.po

Lines changed: 9 additions & 5 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 13:00+0000\n"
9+
"POT-Creation-Date: 2025-12-26 09:52+0000\n"
1010
"PO-Revision-Date: 2025-09-04 11:19+0500\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
@@ -33,7 +33,7 @@ msgstr ""
3333
msgid ""
3434
"> [!NOTE]\n"
3535
"> If you want to use another web server,\n"
36-
"> see [\"Configuring web servers\"](../../../cookbook/en/configuring-webservers/general.md).\n"
36+
"> see [\"Configuring web servers\"](../../cookbook/configuring-webservers/general.md).\n"
3737
msgstr ""
3838

3939
#. type: Plain text
@@ -54,13 +54,17 @@ msgstr ""
5454

5555
#. type: Plain text
5656
#: ../src/guide/start/creating-project.md
57-
msgid "Docker users can run the following command:"
58-
msgstr ""
57+
#, fuzzy
58+
#| msgid "Events are raised like the following:"
59+
msgid "Docker users can run the following commands:"
60+
msgstr "Los eventos se lanzan de la siguiente forma:"
5961

6062
#. type: Fenced code block (sh)
6163
#: ../src/guide/start/creating-project.md
6264
#, no-wrap
63-
msgid "docker run --rm -it -v \"$(pwd):/app\" composer/composer create-project yiisoft/app your_project\n"
65+
msgid ""
66+
"docker run --rm -it -v \"$(pwd):/app\" composer/composer create-project yiisoft/app your_project\n"
67+
"sudo chown -R $(id -u):$(id -g) your_project\n"
6468
msgstr ""
6569

6670
#. type: Plain text

_translations/po/es/guide_start_databases.md.po

Lines changed: 8 additions & 12 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 13:00+0000\n"
9+
"POT-Creation-Date: 2025-12-26 09:52+0000\n"
1010
"PO-Revision-Date: 2025-09-04 11:19+0500\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
@@ -165,18 +165,13 @@ msgstr ""
165165

166166
#. type: Plain text
167167
#: ../src/guide/start/databases.md
168-
msgid "Let's use latest versions to be released. Change your `minimum-stability` to `dev` in `composer.json` first."
169-
msgstr ""
170-
171-
#. type: Plain text
172-
#: ../src/guide/start/databases.md
173-
msgid "Then we need a package to be installed:"
168+
msgid "First we need a package to be installed:"
174169
msgstr ""
175170

176171
#. type: Fenced code block (sh)
177172
#: ../src/guide/start/databases.md
178173
#, no-wrap
179-
msgid "make composer require yiisoft/db-pgsql dev-master\n"
174+
msgid "make composer require yiisoft/db-pgsql\n"
180175
msgstr ""
181176

182177
#. type: Plain text
@@ -260,7 +255,7 @@ msgstr ""
260255
#. type: Fenced code block (sh)
261256
#: ../src/guide/start/databases.md
262257
#, no-wrap
263-
msgid "composer require yiisoft/db-migration dev-master\n"
258+
msgid "make composer require yiisoft/db-migration\n"
264259
msgstr ""
265260

266261
#. type: Plain text
@@ -296,9 +291,6 @@ msgid ""
296291
"use Yiisoft\\Db\\Migration\\MigrationBuilder;\n"
297292
"use Yiisoft\\Db\\Migration\\RevertibleMigrationInterface;\n"
298293
"\n"
299-
"/**\n"
300-
" * Class M251102141707Page\n"
301-
" */\n"
302294
"final class M251102141707Page implements RevertibleMigrationInterface\n"
303295
"{\n"
304296
" public function up(MigrationBuilder $b): void\n"
@@ -350,6 +342,8 @@ msgstr ""
350342
msgid ""
351343
"<?php\n"
352344
"\n"
345+
"declare(strict_types=1);\n"
346+
"\n"
353347
"namespace App\\Web\\Page;\n"
354348
"\n"
355349
"use DateTimeImmutable;\n"
@@ -419,6 +413,8 @@ msgstr ""
419413
msgid ""
420414
"<?php\n"
421415
"\n"
416+
"declare(strict_types=1);\n"
417+
"\n"
422418
"namespace App\\Web\\Page;\n"
423419
"\n"
424420
"use DateTimeImmutable;\n"

_translations/po/es/guide_start_hello.md.po

Lines changed: 10 additions & 6 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 13:00+0000\n"
9+
"POT-Creation-Date: 2025-12-26 09:52+0000\n"
1010
"PO-Revision-Date: 2025-09-04 11:19+0500\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
@@ -95,8 +95,10 @@ msgid ""
9595
" private ResponseFactoryInterface $responseFactory,\n"
9696
" ) {}\n"
9797
"\n"
98-
" #[RouteArgument('message')]\n"
99-
" public function __invoke(string $message = 'Hello!'): ResponseInterface\n"
98+
" public function __invoke(\n"
99+
" #[RouteArgument('message')]\n"
100+
" string $message = 'Hello!'\n"
101+
" ): ResponseInterface\n"
100102
" {\n"
101103
" $response = $this->responseFactory->createResponse();\n"
102104
" $response->getBody()->write('The message is: ' . Html::encode($message));\n"
@@ -226,7 +228,7 @@ msgid "To use the view, you need to change `src/Web/Echo/Action.php`:"
226228
msgstr ""
227229

228230
#. type: Fenced code block (php)
229-
#: ../src/guide/start/hello.md ../src/guide/views/view.md
231+
#: ../src/guide/start/hello.md
230232
#, no-wrap
231233
msgid ""
232234
"<?php\n"
@@ -245,8 +247,10 @@ msgid ""
245247
" private ViewRenderer $viewRenderer,\n"
246248
" ) {}\n"
247249
"\n"
248-
" #[RouteArgument('message')]\n"
249-
" public function __invoke(string $message = 'Hello!'): ResponseInterface\n"
250+
" public function __invoke(\n"
251+
" #[RouteArgument('message')]\n"
252+
" string $message = 'Hello!'\n"
253+
" ): ResponseInterface\n"
250254
" {\n"
251255
" return $this->viewRenderer->render(__DIR__ . '/template', [\n"
252256
" 'message' => $message,\n"

_translations/po/es/guide_views_template-engines.md.po

Lines changed: 5 additions & 3 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 13:00+0000\n"
9+
"POT-Creation-Date: 2025-12-26 09:52+0000\n"
1010
"PO-Revision-Date: 2025-12-24 08:02+0000\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
@@ -259,10 +259,12 @@ msgstr ""
259259
#: ../src/guide/views/template-engines.md
260260
#, no-wrap
261261
msgid ""
262+
"use Yiisoft\\Container\\Reference;\n"
263+
"\n"
262264
"// In configuration\n"
263265
"'yiisoft/view' => [\n"
264266
" 'renderers' => [\n"
265-
" 'md' => App\\View\\MarkdownRenderer::class,\n"
267+
" 'md' => Reference::to(App\\View\\MarkdownRenderer::class),\n"
266268
" ],\n"
267269
"],\n"
268270
msgstr ""
@@ -286,7 +288,7 @@ msgid ""
286288
"\n"
287289
"Welcome, {{username}}!\n"
288290
"\n"
289-
"This is a markdown template with **bold** and *italic* text.\n"
291+
"This is a Markdown template with **bold** and *italic* text.\n"
290292
"\n"
291293
"- Feature 1\n"
292294
"- Feature 2\n"

_translations/po/es/guide_views_view.md.po

Lines changed: 30 additions & 31 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 13:00+0000\n"
9+
"POT-Creation-Date: 2025-12-26 09:52+0000\n"
1010
"PO-Revision-Date: 2025-12-24 08:02+0000\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
@@ -44,36 +44,6 @@ msgid ""
4444
"<p>The message is: <?= Html::encode($message) ?></p>\n"
4545
msgstr ""
4646

47-
#. type: Fenced code block (php)
48-
#: ../src/guide/start/hello.md ../src/guide/views/view.md
49-
#, no-wrap
50-
msgid ""
51-
"<?php\n"
52-
"\n"
53-
"declare(strict_types=1);\n"
54-
"\n"
55-
"namespace App\\Web\\Echo;\n"
56-
"\n"
57-
"use Psr\\Http\\Message\\ResponseInterface;\n"
58-
"use Yiisoft\\Router\\HydratorAttribute\\RouteArgument;\n"
59-
"use Yiisoft\\Yii\\View\\Renderer\\ViewRenderer;\n"
60-
"\n"
61-
"final readonly class Action\n"
62-
"{\n"
63-
" public function __construct(\n"
64-
" private ViewRenderer $viewRenderer,\n"
65-
" ) {}\n"
66-
"\n"
67-
" #[RouteArgument('message')]\n"
68-
" public function __invoke(string $message = 'Hello!'): ResponseInterface\n"
69-
" {\n"
70-
" return $this->viewRenderer->render(__DIR__ . '/template', [\n"
71-
" 'message' => $message,\n"
72-
" ]);\n"
73-
" }\n"
74-
"}\n"
75-
msgstr ""
76-
7747
#. type: Title ##
7848
#: ../src/guide/views/asset.md ../src/guide/views/view.md
7949
#: ../src/guide/views/widget.md
@@ -139,6 +109,35 @@ msgstr ""
139109
msgid "Here `$message` is a view data that is passed when you render a template with the help of `ViewRenderer`. For example, `src/Web/Echo/Action.php`:"
140110
msgstr ""
141111

112+
#. type: Fenced code block (php)
113+
#: ../src/guide/views/view.md
114+
#, no-wrap
115+
msgid ""
116+
"<?php\n"
117+
"\n"
118+
"declare(strict_types=1);\n"
119+
"\n"
120+
"namespace App\\Web\\Echo;\n"
121+
"\n"
122+
"use Psr\\Http\\Message\\ResponseInterface;\n"
123+
"use Yiisoft\\Router\\HydratorAttribute\\RouteArgument;\n"
124+
"use Yiisoft\\Yii\\View\\Renderer\\ViewRenderer;\n"
125+
"\n"
126+
"final readonly class Action\n"
127+
"{\n"
128+
" public function __construct(\n"
129+
" private ViewRenderer $viewRenderer,\n"
130+
" ) {}\n"
131+
"\n"
132+
" public function __invoke(#[RouteArgument('message')] string $message = 'Hello!'): ResponseInterface\n"
133+
" {\n"
134+
" return $this->viewRenderer->render(__DIR__ . '/template', [\n"
135+
" 'message' => $message,\n"
136+
" ]);\n"
137+
" }\n"
138+
"}\n"
139+
msgstr ""
140+
142141
#. type: Plain text
143142
#: ../src/guide/views/view.md
144143
msgid "First argument of the `render()` method is a path to the template file. In the `yiisoft/app`, template files are typically stored alongside their actions. The result is ready to be rendered to the browser so we return it immediately."

_translations/po/id/guide_start_creating-project.md.po

Lines changed: 6 additions & 4 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 13:00+0000\n"
9+
"POT-Creation-Date: 2025-12-26 09:52+0000\n"
1010
"PO-Revision-Date: 2025-09-04 11:19+0500\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
@@ -32,7 +32,7 @@ msgstr ""
3232
msgid ""
3333
"> [!NOTE]\n"
3434
"> If you want to use another web server,\n"
35-
"> see [\"Configuring web servers\"](../../../cookbook/en/configuring-webservers/general.md).\n"
35+
"> see [\"Configuring web servers\"](../../cookbook/configuring-webservers/general.md).\n"
3636
msgstr ""
3737

3838
#. type: Plain text
@@ -53,13 +53,15 @@ msgstr ""
5353

5454
#. type: Plain text
5555
#: ../src/guide/start/creating-project.md
56-
msgid "Docker users can run the following command:"
56+
msgid "Docker users can run the following commands:"
5757
msgstr ""
5858

5959
#. type: Fenced code block (sh)
6060
#: ../src/guide/start/creating-project.md
6161
#, no-wrap
62-
msgid "docker run --rm -it -v \"$(pwd):/app\" composer/composer create-project yiisoft/app your_project\n"
62+
msgid ""
63+
"docker run --rm -it -v \"$(pwd):/app\" composer/composer create-project yiisoft/app your_project\n"
64+
"sudo chown -R $(id -u):$(id -g) your_project\n"
6365
msgstr ""
6466

6567
#. type: Plain text

_translations/po/id/guide_start_databases.md.po

Lines changed: 8 additions & 12 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 13:00+0000\n"
9+
"POT-Creation-Date: 2025-12-26 09:52+0000\n"
1010
"PO-Revision-Date: 2025-09-04 11:19+0500\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
@@ -164,19 +164,14 @@ msgstr ""
164164

165165
#. type: Plain text
166166
#: ../src/guide/start/databases.md
167-
msgid "Let's use latest versions to be released. Change your `minimum-stability` to `dev` in `composer.json` first."
168-
msgstr ""
169-
170-
#. type: Plain text
171-
#: ../src/guide/start/databases.md
172-
msgid "Then we need a package to be installed:"
167+
msgid "First we need a package to be installed:"
173168
msgstr ""
174169

175170
#. type: Fenced code block (sh)
176171
#: ../src/guide/start/databases.md
177172
#, fuzzy, no-wrap
178173
#| msgid "composer require yiisoft/cache\n"
179-
msgid "make composer require yiisoft/db-pgsql dev-master\n"
174+
msgid "make composer require yiisoft/db-pgsql\n"
180175
msgstr "composer require yiisoft/cache\n"
181176

182177
#. type: Plain text
@@ -261,7 +256,7 @@ msgstr ""
261256
#: ../src/guide/start/databases.md
262257
#, fuzzy, no-wrap
263258
#| msgid "composer require yiisoft/cache\n"
264-
msgid "composer require yiisoft/db-migration dev-master\n"
259+
msgid "make composer require yiisoft/db-migration\n"
265260
msgstr "composer require yiisoft/cache\n"
266261

267262
#. type: Plain text
@@ -297,9 +292,6 @@ msgid ""
297292
"use Yiisoft\\Db\\Migration\\MigrationBuilder;\n"
298293
"use Yiisoft\\Db\\Migration\\RevertibleMigrationInterface;\n"
299294
"\n"
300-
"/**\n"
301-
" * Class M251102141707Page\n"
302-
" */\n"
303295
"final class M251102141707Page implements RevertibleMigrationInterface\n"
304296
"{\n"
305297
" public function up(MigrationBuilder $b): void\n"
@@ -351,6 +343,8 @@ msgstr ""
351343
msgid ""
352344
"<?php\n"
353345
"\n"
346+
"declare(strict_types=1);\n"
347+
"\n"
354348
"namespace App\\Web\\Page;\n"
355349
"\n"
356350
"use DateTimeImmutable;\n"
@@ -420,6 +414,8 @@ msgstr ""
420414
msgid ""
421415
"<?php\n"
422416
"\n"
417+
"declare(strict_types=1);\n"
418+
"\n"
423419
"namespace App\\Web\\Page;\n"
424420
"\n"
425421
"use DateTimeImmutable;\n"

0 commit comments

Comments
 (0)