Skip to content

Commit f5fb6f4

Browse files
committed
New Crowdin updates (#2964)
* New translations current.json (French) * New translations current.json (Spanish) * New translations current.json (Japanese) * New translations current.json (Portuguese, Brazilian) * New translations updates.md (Japanese) * New translations error-handling.md (French) * New translations error-handling.md (Spanish) * New translations error-handling.md (Japanese) * New translations error-handling.md (Portuguese, Brazilian) * New translations updates.md (French) * New translations updates.md (Spanish) * New translations updates.md (Japanese) * New translations updates.md (Portuguese, Brazilian) * New translations orda-events.md (French) * New translations orda-events.md (Spanish) * New translations orda-events.md (Japanese) * New translations orda-events.md (Portuguese, Brazilian) * New translations version-20-r10.json (French) * New translations version-20-r10.json (Spanish) * New translations version-20-r10.json (Japanese) * New translations version-20-r10.json (Portuguese, Brazilian) * New translations version-20-r9.json (French) * New translations version-20-r9.json (Spanish) * New translations version-20-r9.json (Japanese) * New translations version-20-r9.json (Portuguese, Brazilian) * New translations updates.md (Japanese) * New translations components.md (Japanese) * New translations version-20-r8.json (French) * New translations version-20-r8.json (Spanish) * New translations version-20-r8.json (Japanese) * New translations version-20-r8.json (Portuguese, Brazilian) * New translations version-21.json (French) * New translations version-21.json (Spanish) * New translations version-21.json (Japanese) * New translations version-21.json (Portuguese, Brazilian) * New translations collectionclass.md (French) * New translations collectionclass.md (Spanish) * New translations collectionclass.md (Japanese) * New translations collectionclass.md (Portuguese, Brazilian) * New translations cryptokeyclass.md (French) * New translations cryptokeyclass.md (Spanish) * New translations cryptokeyclass.md (Japanese) * New translations cryptokeyclass.md (Portuguese, Brazilian) * New translations dataclassclass.md (French) * New translations dataclassclass.md (Spanish) * New translations dataclassclass.md (Japanese) * New translations dataclassclass.md (Portuguese, Brazilian) * New translations datastoreclass.md (French) * New translations datastoreclass.md (Spanish) * New translations datastoreclass.md (Japanese) * New translations datastoreclass.md (Portuguese, Brazilian) * New translations emailobjectclass.md (Portuguese, Brazilian) * New translations entityclass.md (French) * New translations entityclass.md (Spanish) * New translations entityclass.md (Japanese) * New translations entityclass.md (Portuguese, Brazilian) * New translations entityselectionclass.md (Japanese) * New translations httprequestclass.md (French) * New translations httprequestclass.md (Spanish) * New translations imaptransporterclass.md (French) * New translations imaptransporterclass.md (Spanish) * New translations imaptransporterclass.md (Japanese) * New translations imaptransporterclass.md (Portuguese, Brazilian) * New translations incomingmessageclass.md (French) * New translations incomingmessageclass.md (Spanish) * New translations incomingmessageclass.md (Japanese) * New translations incomingmessageclass.md (Portuguese, Brazilian) * New translations signalclass.md (Japanese) * New translations systemworkerclass.md (Spanish) * New translations systemworkerclass.md (Portuguese, Brazilian) * New translations tcpconnectionclass.md (Spanish) * New translations tcpconnectionclass.md (Japanese) * New translations tcpeventclass.md (French) * New translations tcpeventclass.md (Portuguese, Brazilian) * New translations webserverclass.md (Portuguese, Brazilian) * New translations websocketclass.md (French) * New translations websocketclass.md (Spanish) * New translations websocketclass.md (Japanese) * New translations websocketclass.md (Portuguese, Brazilian) * New translations websocketconnectionclass.md (Portuguese, Brazilian) * New translations cli.md (French) * New translations cli.md (Spanish) * New translations cli.md (Japanese) * New translations cli.md (Portuguese, Brazilian) * New translations log.md (Portuguese, Brazilian) * New translations classes.md (French) * New translations classes.md (Spanish) * New translations classes.md (Japanese) * New translations classes.md (Portuguese, Brazilian) * New translations dt_number.md (French) * New translations dt_number.md (Spanish) * New translations dt_number.md (Japanese) * New translations dt_number.md (Portuguese, Brazilian) * New translations error-handling.md (French) * New translations error-handling.md (Spanish) * New translations error-handling.md (Japanese) * New translations error-handling.md (Portuguese, Brazilian) * New translations debuglogfiles.md (French) * New translations debuglogfiles.md (Spanish) * New translations debuglogfiles.md (Japanese) * New translations debuglogfiles.md (Portuguese, Brazilian) * New translations building.md (Spanish) * New translations labels.md (Japanese) * New translations onafteredit.md (French) * New translations onafteredit.md (Spanish) * New translations onafteredit.md (Japanese) * New translations onafteredit.md (Portuguese, Brazilian) * New translations develop-components.md (French) * New translations develop-components.md (Spanish) * New translations develop-components.md (Japanese) * New translations develop-components.md (Portuguese, Brazilian) * New translations createstylesheet.md (French) * New translations createstylesheet.md (Spanish) * New translations createstylesheet.md (Japanese) * New translations createstylesheet.md (Portuguese, Brazilian) * New translations formeditor.md (French) * New translations formeditor.md (Spanish) * New translations formeditor.md (Japanese) * New translations formeditor.md (Portuguese, Brazilian) * New translations pictures.md (French) * New translations pictures.md (Spanish) * New translations pictures.md (Japanese) * New translations pictures.md (Portuguese, Brazilian) * New translations properties_markers.md (French) * New translations properties_markers.md (Spanish) * New translations properties_markers.md (Portuguese, Brazilian) * New translations button_overview.md (Spanish) * New translations button_overview.md (Japanese) * New translations button_overview.md (Portuguese, Brazilian) * New translations checkbox_overview.md (Spanish) * New translations dropdownlist_overview.md (Portuguese, Brazilian) * New translations listbox_overview.md (French) * New translations listbox_overview.md (Spanish) * New translations listbox_overview.md (Japanese) * New translations listbox_overview.md (Portuguese, Brazilian) * New translations properties_object.md (French) * New translations properties_object.md (Spanish) * New translations properties_object.md (Japanese) * New translations properties_object.md (Portuguese, Brazilian) * New translations properties_text.md (French) * New translations properties_text.md (Spanish) * New translations radio_overview.md (Spanish) * New translations write-class-method.md (French) * New translations write-class-method.md (Spanish) * New translations write-class-method.md (Japanese) * New translations write-class-method.md (Portuguese, Brazilian) * New translations command-name.md (French) * New translations command-name.md (Spanish) * New translations command-name.md (Japanese) * New translations compile-project.md (French) * New translations compile-project.md (Spanish) * New translations compile-project.md (Japanese) * New translations compile-project.md (Portuguese, Brazilian) * New translations dialog.md (French) * New translations dialog.md (Spanish) * New translations dialog.md (Japanese) * New translations dialog.md (Portuguese, Brazilian) * New translations folder.md (Japanese) * New translations form-edit.md (French) * New translations form-edit.md (Spanish) * New translations form-edit.md (Japanese) * New translations form-edit.md (Portuguese, Brazilian) * New translations form-event.md (French) * New translations form-event.md (Spanish) * New translations form-event.md (Japanese) * New translations form-event.md (Portuguese, Brazilian) * New translations form-load.md (French) * New translations form-load.md (Spanish) * New translations form-load.md (Japanese) * New translations form-load.md (Portuguese, Brazilian) * New translations form.md (French) * New translations form.md (Spanish) * New translations form.md (Japanese) * New translations form.md (Portuguese, Brazilian) * New translations license-info.md (French) * New translations license-info.md (Spanish) * New translations license-info.md (Japanese) * New translations license-info.md (Portuguese, Brazilian) * New translations new-collection.md (French) * New translations new-collection.md (Spanish) * New translations new-collection.md (Japanese) * New translations new-collection.md (Portuguese, Brazilian) * New translations new-shared-collection.md (Japanese) * New translations open-datastore.md (French) * New translations open-datastore.md (Spanish) * New translations print-form.md (French) * New translations print-form.md (Spanish) * New translations print-form.md (Japanese) * New translations print-form.md (Portuguese, Brazilian) * New translations process-activity.md (French) * New translations process-activity.md (Spanish) * New translations process-activity.md (Japanese) * New translations process-activity.md (Portuguese, Brazilian) * New translations process-info.md (French) * New translations process-number.md (French) * New translations process-number.md (Spanish) * New translations process-number.md (Japanese) * New translations process-number.md (Portuguese, Brazilian) * New translations session-info.md (Japanese) * New translations session-info.md (Portuguese, Brazilian) * New translations session-storage.md (French) * New translations session-storage.md (Japanese) * New translations session-storage.md (Portuguese, Brazilian) * New translations set-allowed-methods.md (French) * New translations set-allowed-methods.md (Spanish) * New translations set-allowed-methods.md (Japanese) * New translations set-allowed-methods.md (Portuguese, Brazilian) * New translations string.md (French) * New translations string.md (Spanish) * New translations boolean.md (French) * New translations string.md (French) * New translations this.md (Spanish) * New translations this.md (Japanese) * New translations wa-set-context.md (Spanish) * New translations zip-create-archive.md (French) * New translations zip-create-archive.md (Spanish) * New translations zip-create-archive.md (Japanese)
1 parent fe2440c commit f5fb6f4

File tree

217 files changed

+9081
-4870
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+9081
-4870
lines changed

i18n/es/docusaurus-plugin-content-docs/current.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@
12011201
},
12021202
"sidebar.docs.link.Build4D": {
12031203
"message": "Build4D",
1204-
"description": "The label for link Build4D in sidebar docs, linking to https://github.com/4d-depot/Build4D?tab=readme-ov-file#readme"
1204+
"description": "The label for link Build4D in sidebar docs, linking to https://github.com/4d/Build4D"
12051205
},
12061206
"sidebar.docs.doc.Log Files": {
12071207
"message": "Archivos de registro",

i18n/es/docusaurus-plugin-content-docs/current/Concepts/error-handling.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ Es muy recomendable instalar un método global de gestión de errores en 4D Serv
2121

2222
:::
2323

24-
## Error o estado
24+
## Predictable vs unpredictable errors
2525

26-
Muchas funciones de clase 4D, como `entity.save()` o `transporter.send()`, devuelven un objeto *status*. Este objeto se utiliza para almacenar errores "predecibles" en el contexto de ejecución, por ejemplo, una contraseña no válida, una entidad bloqueada, etc., que no detienen la ejecución del programa. Esta categoría de errores puede ser manejada por el código habitual.
26+
Many 4D class functions, such as [`entity.save()`](../API/EntityClass.md#save) or [`transporter.send()`](../API/SMTPTransporterClass.md#send), return a object containing *status* information. This object is used to store **predictable** errors in the runtime context, e.g. invalid password, locked entity, etc., that do not require to stop program execution. This category of errors, also named **silent errors** errors, can be handled by regular code. When such errors occur in an error handling context, i.e. a [`Try`](#tryexpression), [`Try/Catch`](#trycatchend-try) or an [error-handling method](#installing-an-error-handling-method), they do not interrupt the execution and do not trigger the error handling (e.g. the `Catch` part of the [`Try/Catch`](#trycatchend-try) is not executed). They are not listed in the [`Last errors`](../commands/last-errors.md) collection. The error is only returned in the `status` and `statusText` properties of the returned object. It can be processed according to your business logic.
2727

28-
Otros errores "imprevisibles" son el error de escritura en el disco, el fallo de la red o, en general, cualquier interrupción inesperada. Esta categoría de errores genera excepciones definidas por [un *código*, un *mensaje* y una *firma*](#error-codes) y necesita ser manejada a través de un método de gestión de errores o una palabra clave `Try()`.
28+
The other category of errors are **unpredictable** errors, also named **serious errors**. They include disk write error, network failure, or in general any unexpected interruption. This category of errors generates exceptions defined by [a *code*, a *message* and a *signature*](#error-codes). They interrupt the execution and trigger the error processing of the [`Try`](#tryexpression), [`Try/Catch`](#trycatchend-try) or [error-handling method](#installing-an-error-handling-method) features. They are listed in the [`Last errors`](../commands/last-errors.md) collection. Note that serious errors can also return values in the `status` and `statusText` properties, e.g. `dk status serious error` - "Other error".
2929

3030
## Instalación de un método de gestión de errores
3131

i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Lea [**Novedades en 4D 21**](https://blog.4d.com/en-whats-new-in-4d-21/), la ent
2626
- Lenguaje 4D:
2727
- New "trim" commands to remove leading and trailing spaces from a string: [`Trim`](../commands/trim.md), [`Trim start`](../commands/trim-start.md), and [`Trim end`](../commands/trim-end.md).
2828
- Los comandos [`Num`](../commands/num.md) y [`String`](../commands/string.md) han sido actualizados para soportar conversiones en diferentes bases (radix).
29+
- [**Fixed bug list**](https://bugs.4d.fr/fixedbugslist?version=21): list of all bugs that have been fixed in 4D 21.
2930

3031
#### Vista previa para desarrolladores
3132

i18n/es/docusaurus-plugin-content-docs/current/ORDA/orda-events.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,19 @@ When an error occurs in an event, the other events are stopped at the first rais
102102

103103
### Error object properties
104104

105-
| Propiedad | Tipo | Descripción | Set by the developer |
106-
| ------------------ | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
107-
| errCode | Integer | Same as for [`Last errors`](../commands/last-errors.md) command ||
108-
| message | Text | Same as for [`Last errors`](../commands/last-errors.md) command ||
109-
| extraDescription | Object | Free information to set up ||
110-
| seriousError | Boolean | Used only with validate events (see below). Will insert a specific `status` value in the [`save()`](../API/EntityClass.md#save) or [`drop()`](../API/EntityClass.md#drop) function:<li>If true: `dk status serious validation error`</li><li>If false: `dk status validation failed`</li> | Yes (default is false) |
111-
| componentSignature | Text | Always "DBEV" | No |
112-
113-
- The errors are stacked in the `errors` collection property of the **Result object** returned by the [`save()`](../API/EntityClass.md#save) or [`drop()`](../API/EntityClass.md#drop) functions.
114-
- In case of an error triggered by a **validate** event, the `fatalError` property allows you to insert a specific `status` and its associated `statusText` in the **Result object** returned by the [`save()`](../API/EntityClass.md#save) or [`drop()`](../API/EntityClass.md#drop) functions:
115-
- If **false**: `status` gets `dk status validation failed` and `statusText` gets "Mild Validation Error". Such errors do not require a [try catch](../Concepts/error-handling.md#trycatchend-try) and are not stacked in the errors returned by the [`Last errors`](../commands/last-errors.md) command.
116-
- If **true**: `status` gets `dk status serious validation error` and `statusText` gets "Serious Validation Error". Such errors require a [try catch](../Concepts/error-handling.md#trycatchend-try) and are not stacked in the errors returned by the [`Last errors`](../commands/last-errors.md) command. They are raised at the end of the event and reach the client requesting the save/drop action (REST client for example).
117-
- In case of an error triggered by a **saving/dropping** event, when an error object is returned, the error is always raised as a serious error (`dk status serious error`) whatever the `seriousError` property value.
105+
| Propiedad | Tipo | Descripción | Set by the developer |
106+
| ------------------ | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
107+
| errCode | Integer | Same as for [`Last errors`](../commands/last-errors.md) command ||
108+
| message | Text | Same as for [`Last errors`](../commands/last-errors.md) command ||
109+
| extraDescription | Object | Free information to set up ||
110+
| seriousError | Boolean | Used only with validate events (see below). <li>`True`: creates a [serious (unpredictable) error](../Concepts/error-handling.md#predictable-vs-unpredictable-errors) and triggers an exception. Adds the `dk status serious validation error` status</li><li>creates only a [silent (predictable) error](../Concepts/error-handling.md#predictable-vs-unpredictable-errors). Adds the `dk status validation failed` status</li> | Yes (default is false) |
111+
| componentSignature | Text | Always "DBEV" | No |
112+
113+
- [Serious errors](../Concepts/error-handling.md#predictable-vs-unpredictable-errors) are stacked in the `errors` collection property of the **Result object** returned by the [`save()`](../API/EntityClass.md#save) or [`drop()`](../API/EntityClass.md#drop) functions.
114+
- In case of an error triggered by a **validate** event, the `seriousError` property allows you to choose the level of the error to generate:
115+
- If **true**: a serious error is thrown and should be handled by the [error processing code](../Concepts/error-handling.md#predictable-vs-unpredictable-errors), such as a [try catch](../Concepts/error-handling.md#trycatchend-try). In the result object of the calling function, `status` gets `dk status serious validation error` and `statusText` gets "Serious Validation Error". The error is raised at the end of the event and reach the client requesting the save/drop action (REST client for example).
116+
- If **false** (default): a [silent (predictable) error is generated](../Concepts/error-handling.md#predictable-vs-unpredictable-errors). It does not trigger any exception and is not stacked in the errors returned by the [`Last errors`](../commands/last-errors.md) command. In the result object of the calling function, `status` gets `dk status validation failed` and `statusText` gets "Mild Validation Error".
117+
- In case of an error triggered by a **saving/dropping** event, when an error object is returned, the error is always raised as a serious error whatever the `seriousError` property value.
118118

119119
## Event function description
120120

i18n/es/docusaurus-plugin-content-docs/version-20-R10.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@
797797
},
798798
"sidebar.docs.link.Build4D": {
799799
"message": "Build4D",
800-
"description": "The label for link Build4D in sidebar docs, linking to https://github.com/4d-depot/Build4D?tab=readme-ov-file#readme"
800+
"description": "The label for link Build4D in sidebar docs, linking to https://github.com/4d/Build4D"
801801
},
802802
"sidebar.docs.doc.Log Files": {
803803
"message": "Archivos de registro",

0 commit comments

Comments
 (0)