You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _translations/guide/po/es/glossary.md.po
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
msgid ""
7
7
msgstr ""
8
8
"Project-Id-Version: PACKAGE VERSION\n"
9
-
"POT-Creation-Date: 2025-09-11 10:15+0500\n"
9
+
"POT-Creation-Date: 2025-10-22 11:35+0000\n"
10
10
"PO-Revision-Date: 2025-09-11 10:15+0500\n"
11
11
"Last-Translator: Automatically generated\n"
12
12
"Language-Team: none\n"
@@ -42,7 +42,7 @@ msgstr ""
42
42
43
43
#. type: Plain text
44
44
#: ../../guide/en/glossary.md
45
-
msgid"Asset refers to a resource file. Typically, it contains JavaScript or CSS code but can be any static content accessed via HTTP."
45
+
msgid"Asset refers to a resource file. Typically, it contains JavaScript or CSS code but can be any static content accessed via HTTP. Read more in [\"Assets\"](views/asset.md)."
46
46
msgstr""
47
47
48
48
#. type: Title #
@@ -59,7 +59,7 @@ msgstr ""
59
59
60
60
#. type: Plain text
61
61
#: ../../guide/en/glossary.md
62
-
msgid"The Configuration may refer either to the process of setting properties of an object or to a configuration file that stores settings for an object, or a class of objects. Read more in [\"Configuration\"](concept/configuration.md)."
62
+
msgid"The Configuration may refer either to the process of setting properties of an object or to a configuration file that stores settings for an object, or a class of objects. Read more in [\"Configuration\"](concept/configuration.md)."
63
63
msgstr""
64
64
65
65
#. type: Title #
@@ -76,7 +76,7 @@ msgstr ""
76
76
77
77
#. type: Plain text
78
78
#: ../../guide/en/glossary.md
79
-
msgid"Dependency Injection is a programming technique where an object injects a dependent object. [\"DI\"](concept/di-container.md)"
79
+
msgid"Dependency Injection is a programming technique where an object injects a dependent object. Read more in [\"Dependency injection and container\"](concept/di-container.md)."
80
80
msgstr""
81
81
82
82
#. type: Title #
@@ -110,7 +110,7 @@ msgstr ""
110
110
111
111
#. type: Plain text
112
112
#: ../../guide/en/glossary.md
113
-
msgid"Middleware is a processor in the request processing stack. Given a request, it may either produce a response or do some action and pass processing to the next middleware. Read more in [\"Middleware\"](structure/middleware.md)."
113
+
msgid"Middleware is a processor in the request processing stack. Given a request, it may either produce a response or do some action and pass processing to the next middleware. Read more in [\"Middleware\"](structure/middleware.md)."
114
114
msgstr""
115
115
116
116
#. type: Title ##
@@ -121,7 +121,7 @@ msgstr ""
121
121
122
122
#. type: Plain text
123
123
#: ../../guide/en/glossary.md
124
-
msgid"The module is a sub-application that groups some code based on a use-case. It's typically used within the main application and may contain URL handlers or console commands."
124
+
msgid"The module is a namespace that groups some code based on a use-case. It's typically used within the main application and may contain any source code, define additional URL handlers or console commands."
125
125
msgstr""
126
126
127
127
#. type: Title #
@@ -138,7 +138,7 @@ msgstr ""
138
138
139
139
#. type: Plain text
140
140
#: ../../guide/en/glossary.md
141
-
msgid"Namespace refers to a [PHP language feature](https://www.php.net/manual/en/language.namespaces.php)."
141
+
msgid"Namespace refers to a [PHP language feature](https://www.php.net/manual/en/language.namespaces.php) to group multiple classes under a certain name."
142
142
msgstr""
143
143
144
144
#. type: Title #
@@ -189,7 +189,7 @@ msgstr ""
189
189
190
190
#. type: Plain text
191
191
#: ../../guide/en/glossary.md
192
-
msgid"A queue is similar to a stack. Queue follows First-In-First-Out methodology."
192
+
msgid"A queue is similar to a stack. Queue follows First-In-First-Out methodology. Yii has a [yiisoft/queue](https://github.com/yiisoft/queue) package."
193
193
msgstr""
194
194
195
195
#. type: Title #
@@ -206,5 +206,5 @@ msgstr ""
206
206
207
207
#. type: Plain text
208
208
#: ../../guide/en/glossary.md
209
-
msgid"A Vendor is an organization or individual developer providing code in the form of packages. It also may refer to [Composer's `vendor` directory](https://getcomposer.org/doc/)."
209
+
msgid"A Vendor is an organization or individual developer providing code in the form of packages. It also may refer to [Composer's `vendor` directory](https://getcomposer.org/doc/)."
"> If you haven't used Yii2, you can skip this section and get directly to \"[getting started](../start/installation.md)\"\n"
30
36
"> section.\n"
31
37
msgstr""
32
38
33
39
#. type: Plain text
34
-
#: en/intro/upgrade-from-v2.md
40
+
#:../../guide/en/intro/upgrade-from-v2.md
35
41
msgid"While sharing some common ideas and values, Yii 3 is conceptually different from Yii 2. There is no easy upgrade path, so first [check maintenance policy and end-of-life dates for Yii 2](https://www.yiiframework.com/release-cycle) and consider starting new projects on Yii 3 while keeping existing ones on Yii 2."
36
42
msgstr""
37
43
38
44
#. type: Title ##
39
-
#: en/intro/upgrade-from-v2.md
45
+
#:../../guide/en/intro/upgrade-from-v2.md
40
46
#, no-wrap
41
47
msgid"PHP requirements"
42
48
msgstr""
43
49
44
50
#. type: Plain text
45
-
#: en/intro/upgrade-from-v2.md
51
+
#:../../guide/en/intro/upgrade-from-v2.md
46
52
msgid"Yii3 requires PHP 8.2 or above. As a result, there are language features used that weren't used in Yii 2:"
msgid"It's a good idea to refactor your Yii 2 project before porting it to Yii 3. That would both make porting easier and benefit the project in question while it's not moved to Yii 3 yet."
118
124
msgstr""
119
125
120
126
#. type: Title ###
121
-
#: en/intro/upgrade-from-v2.md
127
+
#:../../guide/en/intro/upgrade-from-v2.md
122
128
#, no-wrap
123
129
msgid"Use DI instead of the service locator"
124
130
msgstr""
125
131
126
132
#. type: Plain text
127
-
#: en/intro/upgrade-from-v2.md
133
+
#:../../guide/en/intro/upgrade-from-v2.md
128
134
#, no-wrap
129
135
msgid""
130
136
"Since Yii 3 is forcing you to inject dependencies, it's a good idea to prepare and switch from using\n"
131
137
"service locator (`Yii::$app->`) to [DI container](https://www.yiiframework.com/doc/guide/2.0/en/concept-di-container).\n"
132
138
msgstr""
133
139
134
140
#. type: Plain text
135
-
#: en/intro/upgrade-from-v2.md
141
+
#:../../guide/en/intro/upgrade-from-v2.md
136
142
#, no-wrap
137
143
msgid""
138
144
"If usage of DI container is problematic for whatever reason, consider moving all calls to `Yii::$app->` to controller\n"
139
145
"actions and widgets and passing dependencies manually from a controller to what needs them.\n"
140
146
msgstr""
141
147
142
148
#. type: Plain text
143
-
#: en/intro/upgrade-from-v2.md
149
+
#:../../guide/en/intro/upgrade-from-v2.md
144
150
msgid"See [Dependency injection and container](../concept/di-container.md) for an explanation of the idea."
145
151
msgstr""
146
152
147
153
#. type: Title ###
148
-
#: en/intro/upgrade-from-v2.md
154
+
#:../../guide/en/intro/upgrade-from-v2.md
149
155
#, no-wrap
150
156
msgid"Introduce repositories for getting data"
151
157
msgstr""
152
158
153
159
#. type: Plain text
154
-
#: en/intro/upgrade-from-v2.md
160
+
#:../../guide/en/intro/upgrade-from-v2.md
155
161
msgid"Since Active Record isn't the only way to work with a database in Yii 3, consider introducing repositories that would hide details of getting data and gather them in a single place. You can later redo it:"
156
162
msgstr""
157
163
158
164
#. type: Fenced code block (php)
159
-
#: en/intro/upgrade-from-v2.md
165
+
#:../../guide/en/intro/upgrade-from-v2.md
160
166
#, no-wrap
161
167
msgid""
162
168
"final readonly class PostRepository\n"
@@ -175,93 +181,88 @@ msgid ""
175
181
msgstr""
176
182
177
183
#. type: Title ###
178
-
#: en/intro/upgrade-from-v2.md
184
+
#:../../guide/en/intro/upgrade-from-v2.md
179
185
#, no-wrap
180
186
msgid"Separate domain layer from infrastructure"
181
187
msgstr""
182
188
183
189
#. type: Plain text
184
-
#: en/intro/upgrade-from-v2.md
190
+
#:../../guide/en/intro/upgrade-from-v2.md
185
191
msgid"In case you have a rich complicated domain, it's a good idea to separate it from infrastructure provided by a framework that's all the business logic has to go to framework-independent classes."
186
192
msgstr""
187
193
188
194
#. type: Title ###
189
-
#: en/intro/upgrade-from-v2.md
195
+
#:../../guide/en/intro/upgrade-from-v2.md
190
196
#, no-wrap
191
197
msgid"Move more into components"
192
198
msgstr""
193
199
194
200
#. type: Plain text
195
-
#: en/intro/upgrade-from-v2.md
201
+
#:../../guide/en/intro/upgrade-from-v2.md
196
202
msgid"Yii 3 services are conceptually similar to Yii 2 components, so it's a good idea to move reusable parts of your application into components."
msgid"Default application templates are using [Docker](https://www.docker.com/get-started/) to run application. It's a good idea to learn how to use it and use it for your own projects since it provides a lot of benefits:"
214
221
msgstr""
215
222
216
223
#. type: Bullet: '1. '
217
-
#: en/intro/upgrade-from-v2.md
224
+
#:../../guide/en/intro/upgrade-from-v2.md
218
225
msgid"Exactly the same environment as in production."
219
226
msgstr""
220
227
221
228
#. type: Bullet: '2. '
222
-
#: en/intro/upgrade-from-v2.md
229
+
#:../../guide/en/intro/upgrade-from-v2.md
223
230
msgid"No need to install anything except Docker itself."
224
231
msgstr""
225
232
226
233
#. type: Bullet: '3. '
227
-
#: en/intro/upgrade-from-v2.md
234
+
#:../../guide/en/intro/upgrade-from-v2.md
228
235
msgid"Environment is per application, not per server."
229
236
msgstr""
230
237
231
238
#. type: Title ###
232
-
#: en/intro/upgrade-from-v2.md
239
+
#:../../guide/en/intro/upgrade-from-v2.md
233
240
#, no-wrap
234
241
msgid"Environment variables"
235
242
msgstr""
236
243
237
244
#. type: Plain text
238
-
#: en/intro/upgrade-from-v2.md
245
+
#:../../guide/en/intro/upgrade-from-v2.md
239
246
msgid"Yii3 application templates are using [environment variables](https://en.wikipedia.org/wiki/Environment_variable) to configure pars of the application. The concept is [very handy for Dockerized applications](https://12factor.net/) but might be alien to users of Yii 1.1 and Yii 2."
240
247
msgstr""
241
248
242
249
#. type: Title ###
243
-
#: en/intro/upgrade-from-v2.md
250
+
#:../../guide/en/intro/upgrade-from-v2.md
244
251
#, no-wrap
245
252
msgid"Handlers"
246
253
msgstr""
247
254
248
255
#. type: Plain text
249
-
#: en/intro/upgrade-from-v2.md
256
+
#:../../guide/en/intro/upgrade-from-v2.md
250
257
msgid"Unlike Yii2, Yii3 doesn't have controllers per se. Instead, it uses [handlers](../structure/handler.md) which are similar to controllers but different."
251
258
msgstr""
252
259
253
-
#. type: Title ###
254
-
#: en/intro/upgrade-from-v2.md
255
-
#, no-wrap
256
-
msgid"Application structure"
257
-
msgstr""
258
-
259
260
#. type: Plain text
260
-
#: en/intro/upgrade-from-v2.md
261
+
#:../../guide/en/intro/upgrade-from-v2.md
261
262
msgid"Suggested Yii3 application structure is different from Yii 2. It's described in [application structure](../structure/overview.md)."
262
263
msgstr""
263
264
264
265
#. type: Plain text
265
-
#: en/intro/upgrade-from-v2.md
266
+
#:../../guide/en/intro/upgrade-from-v2.md
266
267
msgid"Despite that, Yii3 is flexible, so it's still possible to use a structure similar to Yii 2 with Yii 3."
0 commit comments