Skip to content

Commit c19c270

Browse files
samdarkgithub-actions[bot]
authored andcommitted
Update translation
1 parent 3826935 commit c19c270

39 files changed

+5771
-616
lines changed

_translations/po/es/guide_databases_db-migrations.md.po

Lines changed: 856 additions & 46 deletions
Large diffs are not rendered by default.

_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-25 22:40+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: 23 additions & 27 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-25 22:40+0000\n"
1010
"PO-Revision-Date: 2025-09-04 11:19+0500\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
@@ -16,6 +16,22 @@ msgstr ""
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1818

19+
#. type: Fenced code block (sh)
20+
#: ../src/guide/databases/db-migrations.md ../src/guide/start/databases.md
21+
#, no-wrap
22+
msgid "make composer require yiisoft/db-migration\n"
23+
msgstr ""
24+
25+
#. type: Fenced code block (php)
26+
#: ../src/guide/databases/db-migrations.md ../src/guide/start/databases.md
27+
#, no-wrap
28+
msgid ""
29+
"'yiisoft/db-migration' => [\n"
30+
" 'newMigrationNamespace' => 'App\\\\Migration',\n"
31+
" 'sourceNamespaces' => ['App\\\\Migration'],\n"
32+
"],\n"
33+
msgstr ""
34+
1935
#. type: Title #
2036
#: ../src/guide/index.md ../src/guide/start/databases.md
2137
#, no-wrap
@@ -165,18 +181,13 @@ msgstr ""
165181

166182
#. type: Plain text
167183
#: ../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:"
184+
msgid "First we need a package to be installed:"
174185
msgstr ""
175186

176187
#. type: Fenced code block (sh)
177188
#: ../src/guide/start/databases.md
178189
#, no-wrap
179-
msgid "make composer require yiisoft/db-pgsql dev-master\n"
190+
msgid "make composer require yiisoft/db-pgsql\n"
180191
msgstr ""
181192

182193
#. type: Plain text
@@ -257,27 +268,11 @@ msgstr ""
257268
msgid "To use migrations we need another package installed:"
258269
msgstr ""
259270

260-
#. type: Fenced code block (sh)
261-
#: ../src/guide/start/databases.md
262-
#, no-wrap
263-
msgid "composer require yiisoft/db-migration dev-master\n"
264-
msgstr ""
265-
266271
#. type: Plain text
267272
#: ../src/guide/start/databases.md
268273
msgid "Create a directory to store migrations `src/Migration` right in the project root. Add the following configuration to `config/common/params.php`:"
269274
msgstr ""
270275

271-
#. type: Fenced code block (php)
272-
#: ../src/guide/start/databases.md
273-
#, no-wrap
274-
msgid ""
275-
"'yiisoft/db-migration' => [\n"
276-
" 'newMigrationNamespace' => 'App\\\\Migration',\n"
277-
" 'sourceNamespaces' => ['App\\\\Migration'],\n"
278-
"],\n"
279-
msgstr ""
280-
281276
#. type: Plain text
282277
#: ../src/guide/start/databases.md
283278
msgid "Now you can use `make yii migrate:create page` to create a new migration. For our example we need a `page` table with some columns:"
@@ -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-25 22:40+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-25 22:40+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: 31 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-25 22:40+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,36 @@ 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+
" #[RouteArgument('message')]\n"
133+
" public function __invoke(string $message = 'Hello!'): ResponseInterface\n"
134+
" {\n"
135+
" return $this->viewRenderer->render(__DIR__ . '/template', [\n"
136+
" 'message' => $message,\n"
137+
" ]);\n"
138+
" }\n"
139+
"}\n"
140+
msgstr ""
141+
142142
#. type: Plain text
143143
#: ../src/guide/views/view.md
144144
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."

0 commit comments

Comments
 (0)