diff --git a/README.md b/README.md index 9d9812599eb708..c65701a70d88a4 100644 --- a/README.md +++ b/README.md @@ -356,3 +356,52 @@ contents of the_category_.json files: Translate commit (dry-run) — pour prévisualiser Translate commit (apply + commit) — pour appliquer et committer 4. Coller le SHA du commit quand demandé + +5. ## GRAM + +| Character | r value | +|----------|---------| +| B | a_bool | +| X | noarg | +| A | a_text | +| S | _AnyText | +| a | _AnyText | +| R | _ETENDU | +| l | _LONGENTIER | +| L | _AnyNum | +| D | a_date | +| T | a_temps | +| o | a_object | +| U | a_pointe | +| u | _PtrNum | +| E | a_expr | +| e | a_expr | +| v | a_var | +| V | a_var | +| $ | a_var | +| C | a_champ | +| y | a_champouvar | +| Y | a_champouvar | +| W | a_ficouchamp | +| F | a_fichier | +| f | a_fichierstrict | +| * | a_etoile | +| # | a_dif | +| & | a_et | +| ! | a_ou | +| = | a_egal | +| Z | a_restant | +| j | a_collection | +| p | a_picture | +| b | a_blob | +| > | a_sup / a_supegal / a_supouinf | +| < | a_inf / a_infegal | +| + | a_fourch | +| % | a_contient_keyword | +| 179 (³) | a_supegal | +| 178 (²) | a_infegal | +| 177 (±) | a_fourch | +| 199 (Ç) | a_supouinf | +| 164 (¤) | a_contient_keyword | +| default | (assert) | + diff --git a/docs/Develop/async.md b/docs/Develop/async.md index 3b0e4335599517..51cd28f3661a21 100644 --- a/docs/Develop/async.md +++ b/docs/Develop/async.md @@ -15,16 +15,18 @@ Synchronous execution is used when: - Task execution must follow a strict order. - Performance impact is minimal (e.g., quick operations). - Running in a single-threaded context where blocking is acceptable. -- Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. + + +Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. #### Asynchronous Execution -Asynchronous execution is **event-driven** and allows tasks other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. +Asynchronous execution is **event-driven** and allows other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. Asynchronous execution is used when: - An operation takes a long time (e.g., waiting for a server response). - Responsiveness is critical (e.g., UI interactions). -- Performing background tasks, network communication, or parallel processing. +- Background tasks, network communication, or parallel processing are performed. Choosing Between Synchronous and Asynchronous Execution: @@ -110,7 +112,7 @@ Several 4D classes support asynchronous processing: - [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. - [`WebSocketServer`](../API/WebSocketServerClass.md) – Manages WebSocket server connections. -All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asychronously when a *reponse* event is fired. +All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. We recommend the following sequence: diff --git a/docs/language-legacy/HTTP/http-get.md b/docs/language-legacy/HTTP/http-get.md index 523060ecb54225..c31157af218400 100644 --- a/docs/language-legacy/HTTP/http-get.md +++ b/docs/language-legacy/HTTP/http-get.md @@ -5,17 +5,17 @@ slug: /commands/http-get displayed_sidebar: docs --- -**HTTP Get** ( *url* : Text ; *response* : Text, Blob, Picture, Object {; *headerNames* : Text array ; *headerValues* : Text array}{; *} ) : Integer +**HTTP Get** ( *url* : Text ; *response* : Text, Blob, Picture, Object, Collection {; *headerNames* : Text array ; *headerValues* : Text array}{; *} ) : Integer
| Parameter | Type | | Description | | --- | --- | --- | --- | | url | Text | → | URL to which to send the request | -| response | Text, Blob, Picture, Object | ← | Result of request | +| response | Text, Blob, Picture, Object, Collection | ← | Result of request | | headerNames | Text array | ↔ | *in:* Header names of the request
*out:* Returned header names | | headerValues | Text array | ↔ | *in:* Header values of the request
*out:* Returned header values | -| * | Operator | → | If passed, connection is maintained (keep-alive)If omitted, connection is closed automatically | +| * | Operator | → | If passed, connection is maintained (keep-alive)
If omitted, connection is closed automatically | | Function result | Integer | ← | HTTP status code |
@@ -51,7 +51,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] For example, you can pass the following strings: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* During HTTPS requests, authority of the certificate is not checked. diff --git a/docs/language-legacy/HTTP/http-request.md b/docs/language-legacy/HTTP/http-request.md index 0ca2a8888306f6..7e55149773c226 100644 --- a/docs/language-legacy/HTTP/http-request.md +++ b/docs/language-legacy/HTTP/http-request.md @@ -17,7 +17,7 @@ displayed_sidebar: docs | response | Text, Blob, Picture, Object, Collection | ← | Result of request | | headerNames | Text array | ↔ | *in:* Header names of the request
*out:* Returned header names | | headerValues | Text array | ↔ | *in:* Header values of the request
*out:* Returned header values | -| * | Operator | → | If passed, connection is maintained (keep-alive)If omitted, connection is closed automatically | +| * | Operator | → | If passed, connection is maintained (keep-alive)
If omitted, connection is closed automatically | | Function result | Integer | ← | HTTP status code | @@ -65,7 +65,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] For example, you can pass the following strings: ``` -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* During HTTPS requests, authority of the certificate is not checked. diff --git a/i18n/es/code.json b/i18n/es/code.json index eaf2e1f851af46..aa53307163f14b 100644 --- a/i18n/es/code.json +++ b/i18n/es/code.json @@ -858,7 +858,7 @@ "description": "The text before tool call" }, "theme.SearchModal.askAiScreen.duringToolCallText": { - "message": "Searching for ", + "message": "Buscar por ", "description": "The text during tool call" }, "theme.SearchModal.askAiScreen.afterToolCallText": { @@ -870,7 +870,7 @@ "description": "The submit question text for footer" }, "theme.SearchModal.footer.backToSearchText": { - "message": "Back to search", + "message": "Volver a buscar", "description": "The back to search text for footer" }, "REST API": { diff --git a/i18n/es/docusaurus-plugin-content-docs/current.json b/i18n/es/docusaurus-plugin-content-docs/current.json index 844aeb63281037..d5a51748797c16 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current.json +++ b/i18n/es/docusaurus-plugin-content-docs/current.json @@ -1292,11 +1292,11 @@ "description": "The label for the doc item 'Sessions' in sidebar 'docs', linking to the doc Desktop/desktop-sessions" }, "sidebar.docs.category.Exploring Projects": { - "message": "Exploring Projects", + "message": "Explorar los proyectos", "description": "The label for category 'Exploring Projects' in sidebar 'docs'" }, "sidebar.docs.category.Database Structure": { - "message": "Database Structure", + "message": "Estructura de la base de datos", "description": "The label for category 'Database Structure' in sidebar 'docs'" }, "sidebar.docs.category.Methods & Classes": { diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/ClassClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/ClassClass.md index fc198ae4076a2d..3a3d737d1452be 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/ClassClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/ClassClass.md @@ -3,7 +3,7 @@ id: ClassClass title: Class --- -Cuando una clase usuario es [definida](Concepts/classes.md#class-definition) en el proyecto, se carga en el entorno del lenguaje 4D. Una clase es un objeto en sí mismo, de la clase "Class", que tiene propiedades y una función. +Cuando una clase usuario es [definida](../Project/code-overview.md#creating-classes) en el proyecto, se carga en el entorno del lenguaje 4D. Una clase es un objeto en sí mismo, de la clase "Class", que tiene propiedades y una función. ### Resumen diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/SessionClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/SessionClass.md index 209af2e04de1eb..19fb5623c34c77 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/SessionClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/SessionClass.md @@ -855,7 +855,7 @@ Cuando se crea un objeto `Session`, la propiedad `.storage` está vacía. Esta p En cliente/servidor, el objeto `.storage` de la sesión de usuario remota **no** es el mismo en el servidor y en el cliente. -When a remote user session and a web session are [shared using an OTP](../Desktop/sessions.md#sharing-a-desktop-session-for-web-accesses), they also share the same `.storage` object on the server, even if the OTP was [created](#createotp) from the session on the client side. +When a remote user session and a web session are [shared using an OTP](../Desktop/sessions.md#sharing-a-remote-session-for-web-accesses), they also share the same `.storage` object on the server, even if the OTP was [created](#createotp) from the session on the client side. :::tip diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Admin/data-collect.md b/i18n/es/docusaurus-plugin-content-docs/current/Admin/data-collect.md index e296967e83521d..a946d456db01c3 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Admin/data-collect.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Admin/data-collect.md @@ -124,7 +124,7 @@ También se recogen algunos datos a intervalos regulares. | totalExecutionTime | Number | Tiempo total de ejecución de la CPU: suma de todos los tipos de peticiones | | totalRequests | Number | Total requests: sum of web, REST, SOAP, SQL, and internal traffic | | webServer | Object | Objeto que contiene información sobre el servidor web | -| webServer.bytesIn | Number | Bytes received by the Web server | +| webServer.bytesIn | Number | Bytes recibidos por el servidor web | | webServer.bytesOut | Number | Bytes sent by the Web server | | webServer.hits | Number | Number of hits on the Web server | | webServer.executionTime | Number | Tiempo de ejecución de la CPU para el servidor Web | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/classes.md b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/classes.md index d35d16aedcbd84..7d138bfc1e708b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/classes.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/classes.md @@ -67,7 +67,7 @@ Las clases disponibles son accesibles desde sus class stores. Hay dos class stor -El comando `cs` devuelve el almacén de clases de usuario para el proyecto o componente actual. Devuelve todas las clases de usuario [definidas](#class-definition) en el proyecto o componente abierto. Por defecto, sólo las [clases ORDA](ORDA/ordaClasses.md) están disponibles. +El comando `cs` devuelve el almacén de clases de usuario para el proyecto o componente actual. Devuelve todas las clases de usuario [definidas](../Project/code-overview.md#creating-classes) en el proyecto o componente abierto. Por defecto, sólo las [clases ORDA](ORDA/ordaClasses.md) están disponibles. #### Ejemplo @@ -844,7 +844,7 @@ $myList := cs.ItemInventory.me.itemList ::: -## `local` and `server` +## `local` y `server` In [client/server architecture](../Desktop/clientServer.md), `local` and `server` keywords allow you to specify where you want the function to be executed: client-side, or server-side. Controlling the execution location is useful for performance reasons or to implement business logic features. @@ -930,7 +930,7 @@ The `server` keyword is useless for [ORDA data model functions](../ORDA/ordaClas `server` function parameters and result must be [**streamable**](./dt_object.md#streaming-support). For example, [4D.Datastore](../API/DataStoreClass.md), [File handle](../API/FileHandleClass.md), or [WebServer](../API/WebServerClass.md) are non-streamable classes but [4D.File](../API/FileClass.md) is streamable. -This feature is particularly useful in the context of [remote user sessions](../Desktop/sessions.md#remote-user-sessions), allowing you to implement the business logic in a [session singleton](#shared-or-session-singleton-functions) to share it accross all the processes of the session, thus extending the functionalities of the [`Session`](../commands/session) command. In this case, you might want the relevant business logic to be executed **on the server** so that all the session information is gathered on the server. +This feature is particularly useful in the context of [remote user sessions](../Desktop/sessions.md#remote-user-sessions), allowing you to implement the business logic in a [session singleton](../Concepts/classes.md#session-singleton) to share it accross all the processes of the session, thus extending the functionalities of the [`Session`](../commands/session) command. In this case, you might want the relevant business logic to be executed **on the server** so that all the session information is gathered on the server. By default, shared or session singleton functions are executed locally. Adding the `server` keyword in the class function definition makes 4D use the singleton instance on the server. Note that this can result of an instantiation of the singleton on the server if no instance exists yet. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/methods.md b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/methods.md index 852dd195c97abd..8ea2c1cc0c5e94 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/methods.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/methods.md @@ -13,13 +13,13 @@ El tamaño máximo de un método está limitado a 2 GB de texto o 32.000 líneas En el lenguaje 4D, hay varias categorías de métodos. La categoría depende de cómo se les pueda llamar: -| Tipo | Contexto de llamada | Acepta los parámetros | Descripción | -| ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **Métodos proyecto** | Por demanda, cuando se llama al nombre del método proyecto (ver [Llamando a métodos proyecto](#calling-project-methods)) | Sí | Puede contener código para ejecutar acciones personalizadas. Una vez creado un método proyecto, pasa a formar parte del lenguaje del proyecto. | -| **Método objeto (widget)** | Automático, cuando un evento involucra al objeto al que se asocia el método | No | Propiedad de un objeto formulario (también llamado widget) | -| **Método formulario** | Automático, cuando un evento involucra al formulario al que se asocia el método | No | Propiedad de un formulario. Puede utilizar un método formulario para gestionar datos y objetos, pero generalmente es más sencillo y eficiente utilizar un método objeto para estos fines. | -| **Trigger** (o *método tabla*) | Automático, cada vez que se manipulan los registros de una tabla (Añadir, Eliminar y Modificar) | No | Propiedad de una tabla. Los triggers son métodos que pueden evitar operaciones "ilegales" con los registros de su base. | -| **Método base** | Automático, cuando se produce un evento de la sesión de trabajo | Sí (predefinido) | Hay 16 métodos base en 4D. | -| **Class** | Automatically called when an object of the class is instantiated or when a function of the class is executed on an object instance in any other methods or in a [database field](../Develop/field-properties.md#class). | sí (funciones de clase) | A **Class** is used to declare and configure the class [constructor](./classes.md#class-constructor), [properties](./classes.md#property*), and [functions](./classes.md#function) of objects. Ver [**Clases**](classes.md) | +| Tipo | Contexto de llamada | Acepta los parámetros | Descripción | +| ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| **Métodos proyecto** | On demand, when the project method name [is called](../Project/project-method-properties.md) | Sí | Puede contener código para ejecutar acciones personalizadas. Una vez creado un método proyecto, pasa a formar parte del lenguaje del proyecto. | +| **Método objeto (widget)** | Automático, cuando un evento involucra al objeto al que se asocia el método | No | Propiedad de un objeto formulario (también llamado widget) | +| **Método formulario** | Automático, cuando un evento involucra al formulario al que se asocia el método | No | Propiedad de un formulario. Puede utilizar un método formulario para gestionar datos y objetos, pero generalmente es más sencillo y eficiente utilizar un método objeto para estos fines. | +| **Trigger** (o *método tabla*) | Automático, cada vez que se manipulan los registros de una tabla (Añadir, Eliminar y Modificar) | No | Propiedad de una tabla. Los triggers son métodos que pueden evitar operaciones "ilegales" con los registros de su base. | +| **Método base** | Automático, cuando se produce un evento de la sesión de trabajo | Sí (predefinido) | Hay 16 métodos base en 4D. | +| **Class** | Automatically called when an object of the class is instantiated or when a function of the class is executed on an object instance in any other methods or in a [database field](../Develop/field-properties.md#class). | sí (funciones de clase) | A **Class** is used to declare and configure the class [constructor](./classes.md#class-constructor), [properties](./classes.md#property), and [functions](./classes.md#function) of objects. Ver [**Clases**](classes.md) | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md index ccd266f50d9bae..973cc96750bb4f 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md @@ -454,13 +454,13 @@ In the 4D language documentation, the following parameter types can be used. | Campo | Una referencia a un campo perteneciente a una tabla. | ORDER BY([Person];[Person]Name) | | Integer | A whole number without decimal part. | $Sel:=ds.Employee.newSelection(dk keep ordered) | | Integer array | Un array que contiene valores enteros. | ARRAY INTEGER($numbers;10) | -| Longint array | Un array que contiene valores enteros largos. | ARRAY LONGINT($values;10) | +| Array entero largo | Un array que contiene valores enteros largos. | ARRAY LONGINT($values;10) | | Object array | An array containing objects. | ARRAY OBJECT($objects;10) | | Object | Contenedor de datos estructurados compuesto por pares llave/valor. | $entity.fromObject($o) | | Operador | Siempre \*. | QUERY([Person];[Person]Name="Smith";\*) | -| Picture array | An array containing pictures. | ARRAY PICTURE($images;10) | +| Array de imágenes | An array containing pictures. | ARRAY PICTURE($images;10) | | Picture | Un valor de imagen gráfica. | READ PICTURE FILE($pic;"image.png") | -| Pointer array | An array containing pointers. | ARRAY POINTER($ptrs;10) | +| Array de punteros | An array containing pointers. | ARRAY POINTER($ptrs;10) | | Puntero | Una referencia a otra variable, campo u objeto. | If(Is nil pointer($ptr)) | | Real array | Un array que contiene números reales. | ARRAY REAL($values;10) | | Real | A floating-point numeric value. | $vlResult:=Int(123.4) | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Desktop/clientServer.md b/i18n/es/docusaurus-plugin-content-docs/current/Desktop/clientServer.md index 20f413c898ce6c..1424da2e3451fa 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Desktop/clientServer.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Desktop/clientServer.md @@ -131,20 +131,20 @@ In a client/server application, it is important to know where your code will be The following table summarizes where the code is executed by default and how to switch its execution location (if allowed). Note that **local** means that the code will be executed on the machine from where it is actually called. -| Code | Ejecución por defecto | How to switch | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| [ORDA data model functions](../ORDA/ordaClasses.md) | server | use `local` keyword in function definition | -| ORDA computed attribute functions [`get()`](../ORDA/ordaClasses.md#function-get-attributename), [`set()`](../ORDA/ordaClasses.md#function-set-attributename) | server | use `local` keyword in function definition | -| ORDA computed attribute functions [`query()`](../ORDA/ordaClasses.md#function-query-attributename), [`orderBy()`](../ORDA/ordaClasses.md#function-orderby-attributename) | server | n/a | -| ORDA event functions [(general)](../ORDA/orda-events.md) | server | n/a | -| ORDA event function [`constructor()`](../ORDA/ordaClasses.md#class-constructor-1) | local | n/a | -| ORDA event function [`event touched()`](../ORDA/orda-events.md#function-event-touched) | server | use `local` keyword in function definition | -| [User class functions](../Concepts/classes.md#function) | local | n/a | -| [Shared or session singleton function](../Concepts/classes.md#singleton-classes) | local | use `server` keyword in function definition | -| Trigger | server | n/a | -| Project method called from a client | client | check [**Execute on server** option](../Project/project-method-properties.md#execute-on-server). The code is executed in the twin process of the [user session process](./sessions.md#remote-user-sessions-remote-user-sessions) | -| | | call [`Execute on server`](../commands/execute-on-server) command. The code is executed in the [Stored procedures session](./sessions.md#stored-procedure-sessions-stored-procedure-sessions) | -| Project method called from a stored procedure on the server | server | llame al comando [`EXECUTE ON CLIENT`](../commands/execute-on-client). The target client must have been [registered](../commands/register-client) | -| Object method | local | n/a | -| Database methods: | server | n/a | -| Database methods: | client | n/a | \ No newline at end of file +| Code | Ejecución por defecto | Cómo cambiar | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [ORDA data model functions](../ORDA/ordaClasses.md) | server | use `local` keyword in function definition | +| ORDA computed attribute functions [`get()`](../ORDA/ordaClasses.md#function-get-attributename), [`set()`](../ORDA/ordaClasses.md#function-set-attributename) | server | use `local` keyword in function definition | +| ORDA computed attribute functions [`query()`](../ORDA/ordaClasses.md#function-query-attributename), [`orderBy()`](../ORDA/ordaClasses.md#function-orderby-attributename) | server | n/a | +| ORDA event functions [(general)](../ORDA/orda-events.md) | server | n/a | +| ORDA event function [`constructor()`](../ORDA/ordaClasses.md#class-constructor-1) | local | n/a | +| ORDA event function [`event touched()`](../ORDA/orda-events.md#function-event-touched) | server | use `local` keyword in function definition | +| [User class functions](../Concepts/classes.md#function) | local | n/a | +| [Shared or session singleton function](../Concepts/classes.md#singleton-classes) | local | use `server` keyword in function definition | +| Trigger | server | n/a | +| Project method called from a client | client | check [**Execute on server** option](../Project/project-method-properties.md#execute-on-server). The code is executed in the twin process of the [user session process](./sessions.md#remote-user-sessions) | +| | | call [`Execute on server`](../commands/execute-on-server) command. The code is executed in the [Stored procedures session](./sessions.md#stored-procedure-sessions) | +| Project method called from a stored procedure on the server | server | llame al comando [`EXECUTE ON CLIENT`](../commands/execute-on-client). The target client must have been [registered](../commands/register-client) | +| Método objeto | local | n/a | +| Database methods: | server | n/a | +| Database methods: | client | n/a | \ No newline at end of file diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Desktop/sessions.md b/i18n/es/docusaurus-plugin-content-docs/current/Desktop/sessions.md index 6ac83681f7c0c1..1cece080114966 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Desktop/sessions.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Desktop/sessions.md @@ -164,7 +164,7 @@ Una sesión independiente es la sesión de un solo usuario que se ejecuta cuando ### Utilización -La sesión autónoma se puede utilizar para desarrollar y probar su aplicación cliente/servidor y su interacción con sesiones web y [compartir OTP](#sharing-a-desktop-session-for-web-accesses). Puede utilizar el objeto `session` en su código en sesión autónoma igual que el objeto `session` de las sesiones remotas. +La sesión autónoma se puede utilizar para desarrollar y probar su aplicación cliente/servidor y su interacción con sesiones web y [compartir OTP](#sharing-a-remote-session-for-web-accesses). Puede utilizar el objeto `session` en su código en sesión autónoma igual que el objeto `session` de las sesiones remotas. ### Disponibilidad diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Develop/async.md b/i18n/es/docusaurus-plugin-content-docs/current/Develop/async.md index 2d16a25f5e420f..521873b104f0a5 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Develop/async.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Develop/async.md @@ -16,21 +16,22 @@ Synchronous execution is used when: - La ejecución de las tareas debe seguir un orden estricto. - El impacto en el rendimiento es mínimo (por ejemplo, operaciones rápidas). - Se ejecuta en un contexto de un solo hilo donde el bloqueo es aceptable. -- La ejecución síncrona bloquea la interfaz de usuario y es más adecuada para tareas rápidas y ordenadas en las que el bloqueo es aceptable. + +La ejecución síncrona bloquea la interfaz de usuario y es más adecuada para tareas rápidas y ordenadas en las que el bloqueo es aceptable. #### Ejecución asíncrona -La ejecución asincrónica es **event-driiven** y permite que otras operaciones se completen. Se basa en **callbacks**, **workers** y **event handlers** para gestionar el flujo de ejecución. +Asynchronous execution is **event-driven** and allows other operations to complete. Se basa en **callbacks**, **workers** y **event handlers** para gestionar el flujo de ejecución. La ejecución asíncrona se utiliza cuando: - Una operación tarda mucho tiempo (por ejemplo, esperando una respuesta del servidor). - La capacidad de respuesta es fundamental (por ejemplo, las interacciones de la interfaz de usuario). -- Realización de tareas en segundo plano, comunicación en red o procesamiento paralelo. +- Background tasks, network communication, or parallel processing are performed. Elegir entre ejecución síncrona y asíncrona: -| Scenario | Mejor enfoque | +| Escenario | Mejor enfoque | | ------------------------------------------------------ | ------------- | | Operaciones rápidas con un procesamiento mínimo | **Síncrono** | | Tareas que requieren un orden de ejecución estricto | **Síncrono** | @@ -41,31 +42,31 @@ Elegir entre ejecución síncrona y asíncrona: ## Principios básicos -4D ofrece capacidades integradas de **ejecución asíncrona** a través de varias clases y comandos. These allow background task execution, network communication, and large data processing, while waiting other operations to complete without blocking the current process. +4D ofrece capacidades integradas de **ejecución asíncrona** a través de varias clases y comandos. Permiten la ejecución de tareas en segundo plano, la comunicación en red y el procesamiento de grandes volúmenes de datos, mientras se espera a que se completen otras operaciones sin bloquear el proceso actual. -The general concept of asynchronous event management in 4D is based on an asynchronous messaging model using **workers** (processes that listen to events) and **callbacks** (functions or formulas automatically invoked when an event occurs). Instead of waiting for a result (synchronous mode), you provide a function that will be automatically called when the desired event occurs. Las retrollamadas se pueden pasar como funciones clase (recomendado) o como objetos Formula. +El concepto general de gestión de eventos asíncronos en 4D se basa en un modelo de mensajería asíncrona que utiliza **workers** (procesos que escuchan eventos) y **callbacks** (funciones o fórmulas invocadas automáticamente cuando se produce un evento). En lugar de esperar un resultado (modo sincrónico), proporciona una función que será llamada automáticamente cuando ocurra el evento deseado. Las retrollamadas se pueden pasar como funciones clase (recomendado) o como objetos Formula. -This model is common to [`CALL WORKER`](../commands/call-worker), [`CALL FORM`](../commands/call-form), and [classes that support aynchronous execution](#asynchronous-programming-with-4d-classes). Todos estos comandos/clases inician una operación que se ejecuta en segundo plano. La sentencia que lanza la operación retorna inmediatamente, sin esperar a que la operación finalice. +Este modelo es común a [`CALL WORKER`](../commands/call-worker), [`CALL FORM`](../commands/call-form), y [clases que soportan la ejecución ayncrónica](#asynchronous-programming-with-4d-classes). Todos estos comandos/clases inician una operación que se ejecuta en segundo plano. La sentencia que lanza la operación retorna inmediatamente, sin esperar a que la operación finalice. ### Workers -Asynchronous programming relies on a system of [**workers**](../Develop/processes.md#worker-processes) (worker processes), which allows code to be executed in parallel without blocking the main process. This is particularly useful for long tasks (such as HTTP calls, executing external processes, background processing), while keeping the user interface responsive. +La programación asíncrona se basa en un sistema de [**workers**](../Develop/processes.md#worker-processes) (procesos workers), que permite ejecutar código en paralelo sin bloquear el proceso principal. Esto resulta especialmente útil para tareas largas (como llamadas HTTP, ejecución de procesos externos, procesamiento en segundo plano), al tiempo que se mantiene la capacidad de respuesta de la interfaz de usuario. -Using worker processes in asynchronous programming **is mandatory** since "classic" processes automatically terminate their execution when the process method ends, thus using callbacks is not possible. Un proceso worker permanece vivo y puede **escuchar eventos**. +Utilizar procesos worker en programación asíncrona **es obligatorio** ya que los procesos "clásicos" terminan automáticamente su ejecución cuando el método del proceso finaliza, por lo que utilizar retrollamadas no es posible. Un proceso worker permanece vivo y puede **escuchar eventos**. -### Event queue (mailbox) +### Cola de eventos (buzón) Cada worker (o ventana de formulario para [`CALL FORM`](../commands/call-form)) tiene su propia cola de mensajes. [`CALL WORKER`](../commands/call-worker) o [`CALL FORM`](../commands/call-form) simplemente envía un mensaje a esta cola. El worker trata los mensajes uno a uno, en el orden en que llegan, dentro de su propio contexto. Se conservan las variables de proceso, las selecciones actuales, etc. ### Comunicación bidireccional mediante mensajes -El proceso llamante envía un mensaje y el worker lo ejecuta. The worker can in turn post a message (via [`CALL WORKER`](../commands/call-worker) or [`CALL FORM`](../commands/call-form)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). Este mecanismo sustituye al retorno clásico de las llamadas síncronas. +El proceso llamante envía un mensaje y el worker lo ejecuta. El worker puede publicar a su vez un mensaje (a través de [`CALL WORKER`](../commands/call-worker) o [`CALL FORM`](../commands/call-form)) de vuelta a la persona que llama u otro worker para notificar un evento (finalización de tarea, datos recibidos, error, progreso, etc.). Este mecanismo sustituye al retorno clásico de las llamadas síncronas. -### Event listening +### Escucha de eventos -In event-driven development, it is obvious that some code must be able to listen for incoming events. Events can be generated by the user interface (such as a mouse click on an object or a keyboard key pressed) or by any other interaction such as an http request or the end of another action. For example, when a form is displayed using the `DIALOG` command, user actions can trigger events that your code can process. Al hacer clic en un botón se activará el código asociado al botón. +En el desarrollo dirigido por eventos, es obvio que parte del código debe ser capaz de escuchar los eventos entrantes. Los eventos pueden ser generados por la interfaz de usuario (como un clic del ratón sobre un objeto o la pulsación de una tecla del teclado) o por cualquier otra interacción, como una petición http o el final de otra acción. Por ejemplo, cuando se muestra un formulario utilizando el comando `DIALOG`, las acciones del usuario pueden desencadenar eventos que su código puede procesar. Al hacer clic en un botón se activará el código asociado al botón. -In the context of asynchronous execution, the following features place your code in listening mode: +En el contexto de la ejecución asíncrona, las siguientes funcionalidades colocan su código en modo de escucha: - [`CALL WORKER`](../commands/call-worker) ejecuta el código para el que ha sido llamado, luego vuelve a un estado de escucha desde donde puede ser llamado posteriormente. - [`CALL FORM`](../commands/call-form) abre un formulario y lo hace escuchar los mensajes entrantes de la cola de eventos. @@ -77,21 +78,21 @@ Los eventos se activan automáticamente durante el flujo de ejecución y se pasa ### Contexto de ejecución de retrollamada -When 4D execute one of your callbacks, it does so in the context of the current process (worker), i.e. if your object is instantiated inside a form, the callback function will be executed in the context of that same form. +Cuando 4D ejecuta una de sus retrollamdas, lo hace en el contexto del proceso actual (worker), es decir, si su objeto está instanciado dentro de un formulario, la función callback se ejecutará en el contexto de ese mismo formulario. -For callbacks to work properly in fully asynchronous mode, the operation should generally be launched from a worker (via `CALL WORKER`). If launched from a process handling UI, some callbacks may not be called until the UI is listening events. +Para que las retrollamadas funcionen correctamente en modo totalmente asíncrono, la operación debe lanzarse generalmente desde un worker (mediante `CALL WORKER`). Si se lanza desde un proceso que maneja la interfaz de usuario, algunas retrollamadas pueden no ser invocadas hasta que la interfaz de usuario esté escuchando eventos. -### Releasing an asynchronous object +### Liberar un objeto asíncrono En 4D, todos los objetos son liberados [cuando no existen más referencias](../Concepts/dt_object.md#resources) a ellos en memoria. Esto suele ocurrir al final de la ejecución de un método para variables locales. Para las clases asíncronas, 4D mantiene siempre una **referencia adicional** en el proceso que instanciaba el objeto. Esta referencia sólo se libera cuando finaliza la operación, es decir, después de que se active el evento `onTerminate`. Esta referencia automática permite a su objeto sobrevivir aunque no lo haya mencionado específicamente en una variable. -Si desea "forzar" la liberación de un objeto en cualquier momento, utilice un `. hutdown()` o función `terminate()`; desencadena el evento 'onTerminate\` así libera el objeto. +Si desea "forzar" la liberación de un objeto en cualquier momento, utilice un `. hutdown()` o función `terminate()`; desencadena el evento 'onTerminate\\` así libera el objeto. ### Ejemplos que ilustran el concepto común -| Feature | Lanzamiento asíncrono | Callback / Event Handling | +| Funcionalidad | Lanzamiento asíncrono | Retrollamada / Gestión de eventos | | ------------------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | | CALL WORKER | CALL WORKER("wk"; "MyMethod"; $params) | MyMethod se llama con $params | | CALL FORM | CALL FORM($win; "MyMethod"; $params) | MyMethod se llama con $params | @@ -109,23 +110,23 @@ Varias clases 4D soportan el procesamiento asíncrono: - [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. - [`WebSocketServer`](../API/WebSocketServerClass.md) - Gestiona las conexiones del servidor WebSocket. -Todas estas clases siguen las mismas reglas de ejecución asíncrona. Su constructor acepta un parámetro *options* que se usa para configurar su objeto asíncrono. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. Por ejemplo, puede crear una función `onResponse()` en la clase, que será llamada automáticamente de forma asíncrona cuando se dispare un evento *reponse*. +Todas estas clases siguen las mismas reglas de ejecución asíncrona. Su constructor acepta un parámetro *options* que se usa para configurar su objeto asíncrono. Se recomienda que el objeto *options* sea una instancia de [user class](../Concepts/classes.md) que tenga funciones de retrollamada. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. Recomendamos la siguiente secuencia: -1. You create the user class where you declare callback functions, for example a `cs.Params` with `onError()` and `onResponse()` functions. +1. Se crea la clase usuario donde se declaran las funciones de retrollamada, por ejemplo un `cs.Params` con las funciones `onError()` y `onResponse()`. 2. Instanciará la clase usuario (en nuestro ejemplo utilizando `cs.Params.new()`) que configurará su objeto asíncrono. -3. You call the constructor of the 4D class (for example `4D.SystemWorker.new()`) and pass the *options* object as parameter. Inicia las operaciones pasadas inmediatamente sin demora. +3. Se llama al constructor de la clase 4D (por ejemplo `4D.SystemWorker.new()`) y se pasa el objeto *options* como parámetro. Inicia las operaciones pasadas inmediatamente sin demora. -Here is a full example of implementation of an *options* object based upon a user class: +He aquí un ejemplo completo de implementación de un objeto *options* basado en una clase usuario: ```4d -// asynchronous code creation -var $options:=cs.Params.new(10) //see cs.Params class code below +//creación asíncrona de código +var $options:=cs.Params.new(10) //ver código clase cs.Params abajo var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users ";$options) -// "Params" class +// Clase "Params" Class constructor ($timeout : Real) This.dataType:="text" @@ -157,7 +158,7 @@ Function _createFile($title : Text; $textBody : Text) Tenga en cuenta que `onResponse`, `onData`, `onDataError` y `onTerminate` son funciones soportadas por [`4D.SystemWorker`](../API/SystemWorkerClass.md). -Once the user class is instantiated; 4D is put in [event listening](#event-listening) mode, in which case 4D can [trigger an event](#event-triggering) that calls the corresponding function in the user class. +Una vez instanciada la clase usuario; 4D se pone en modo [escucha de eventos](#event-listening), en cuyo caso 4D puede [disparar un evento](#event-triggering) que llame a la función correspondiente en la clase usuario. :::tip @@ -173,7 +174,7 @@ var $options.onResponse:=Formula(myMethod) Incluso cuando se utiliza código moderno y asíncrono, puede ser necesario introducir cierto grado de ejecución síncrona. Por ejemplo, puede querer que una función espere un cierto tiempo para obtener un resultado. Podría ser el caso de conexiones de red rápidas garantizadas o workers del sistema. A continuación, puede forzar la ejecución sincrónica utilizando la función `wait()`. -The **`.wait()`** function pauses execution of the current process and puts 4D in [event listening](#event-listening) mode. Keep in mind that it will trigger events received from any sources, not only from the object on which the `wait()` function was called. +La función **`.wait()`** pausa la ejecución del proceso actual y pone a 4D en modo [escucha de eventos](#event-listening). Tenga en cuenta que activará eventos recibidos de cualquier fuente, no sólo del objeto sobre el que se llamó a la función `wait()`. La función `wait()` retorna cuando el evento `onTerminate` ha sido disparado en el objeto, o cuando el tiempo de espera suministrado (si existe) ha expirado. Por consiguiente, puede salir explícitamente de un `.wait()` llamando a `shutdown()` o `terminate()` desde dentro de una retrollamda. En caso contrario, se sale de `.wait()` cuando finaliza la operación en curso. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Extensions/develop-components.md b/i18n/es/docusaurus-plugin-content-docs/current/Extensions/develop-components.md index d12a6a2cb13f1f..2db5b1e46daa09 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Extensions/develop-components.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Extensions/develop-components.md @@ -68,7 +68,7 @@ Puede editar el código de un componente siempre que se cumplan las siguientes c - el proyecto host está ejecutando interpretaciones, - el componente ha sido [cargado en modo interpretado](../Project/components.md#interpreted-and-compiled-components) y el código fuente está disponible, -- los archivos de los componentes se almacenan localmente (es decir, no se [descargan de GitHub](../Project/components.md#adding-a-github-dependency)). +- los archivos de los componentes se almacenan localmente (es decir, no se [descargan de GitHub](../Project/components.md#adding-a-github-or-gitlab-dependency)). En este contexto, puede abrir, editar y guardar el código de su componente en el Editor de código del proyecto local desde dos lugares: diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Extensions/overview.md b/i18n/es/docusaurus-plugin-content-docs/current/Extensions/overview.md index 6752b3bf7a0256..66c700a3337fac 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Extensions/overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Extensions/overview.md @@ -18,8 +18,7 @@ La [arquitectura del proyecto] 4D (../Project/architecture.md) es abierta y pued 4D propone diferentes componentes a la comunidad 4D, cubriendo muchas necesidades de desarrollo. Todos los componentes 4D se pueden encontrar en el [**repositorio github de 4D**](https://github.com/4d). -A subset of these components is listed by default in the Github panel of the [Dependency Manager](../Project/components.md#adding-a-github-dependency), including: -including: +A subset of these components is listed by default in the Github panel of the [Dependency Manager](../Project/components.md#adding-a-github-or-gitlab-dependency), including: | Componente | Repositorio Github | Descripción | Principales funcionalidades | | -------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/es/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md b/i18n/es/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md index 5341abe50d5f35..5439cdd610be13 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md @@ -42,7 +42,7 @@ Un archivo CSS definido a nivel de formulario anulará la(s) hoja(s) de estilo p ## Clase de formulario -Nombre de una [clase usuario](../Concepts/classes.md#class-definition) existente para asociar al formulario. The user class can belong to the host project or to a [component](../Extensions/develop-components.md#sharing-of-classes), in which case the formal syntax is "[*componentNameSpace*](../settings/general.md#component-namespace-in-the-class-store).className". +Name of an existing [user class](../Project/code-overview.md#user-classes) to associate to the form. The user class can belong to the host project or to a [component](../Extensions/develop-components.md#sharing-of-classes), in which case the formal syntax is "[*componentNameSpace*](../settings/general.md#component-namespace-in-the-class-store).className". Asociar una clase al formulario ofrece las siguientes ventajas: diff --git a/i18n/es/docusaurus-plugin-content-docs/current/FormObjects/listbox-column.md b/i18n/es/docusaurus-plugin-content-docs/current/FormObjects/listbox-column.md index 885ceb51a2bbea..4a7283efb71d11 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/FormObjects/listbox-column.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/FormObjects/listbox-column.md @@ -17,30 +17,30 @@ Puede definir propiedades estándar (texto, color de fondo, etc.) para cada colu ## Eventos de formulario soportados {#supported-form-events} -| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event) para las propiedades principales) | Comentarios | -| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| On After Edit | | | -| On After Keystroke | | | -| On After Sort | | *Las fórmulas compuestas no se pueden ordenar.
(por ejemplo, This.firstName + This.lastName)* | -| On Alternative Click | | *List box array únicamente* | -| On Before Data Entry | | | -| On Before Keystroke | | | -| On Begin Drag Over | | | -| On Clicked | | | -| On Column Moved | | | -| On Column Resize | | | -| On Data Change | | | -| On Double Clicked | | | -| On Drag Over | | | -| On Drop | | | -| On Footer Click | | *List box arrays, selección actual y selección temporal únicamente* | -| On Getting Focus | | *Propiedades adicionales devueltas sólo al editar una celda* | -| On Header Click | | | -| On Load | | | -| On Losing Focus | | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | -| On Row Moved | | *List box array únicamente* | -| On Unload | | | -| On Validate | | | +| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event) para las propiedades principales) | Comentarios | +| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| On After Edit | | | +| On After Keystroke | | | +| On After Sort | | \*Las fórmulas compuestas no se pueden ordenar.
(por ejemplo, This.firstName + This.lastName)_ | +| On Alternative Click | | *List box array únicamente* | +| On Before Data Entry | | | +| On Before Keystroke | | | +| On Begin Drag Over | | | +| On Clicked | | | +| On Column Moved | | | +| On Column Resize | | | +| On Data Change | | | +| On Double Clicked | | | +| On Drag Over | | | +| On Drop | | | +| On Footer Click | | *List box arrays, selección actual y selección temporal únicamente* | +| On Getting Focus | | *Propiedades adicionales devueltas sólo al editar una celda* | +| On Header Click | | | +| On Load | | | +| On Losing Focus | | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | +| On Row Moved | | *List box array únicamente* | +| On Unload | | | +| On Validate | | | ## Arrays de objetos en columnas @@ -60,8 +60,11 @@ Las propiedades estándar relacionadas con las coordenadas, el tamaño y el esti Sin embargo, el tema Fuente de datos no está disponible para las columnas objeto del list box. De hecho, el contenido de cada celda de la columna se basa en los atributos presentes en el elemento correspondiente del array de objetos. Cada elemento de array puede definir: -the value type (mandatory): text, color, event, etc. the value itself (optional): used for input/output. -the cell content display (optional): button, list, etc. additional settings (optional): depend on the value type To define these properties, you need to set the appropriate attributes in the object (available attributes are listed below). Por ejemplo, puede escribir "¡Hola Mundo!" en una columna objeto utilizando este sencillo código: +the value type (mandatory): text, color, event, etc. +the value itself (optional): used for input/output. +the cell content display (optional): button, list, etc. +additional settings (optional): depend on the value type +To define these properties, you need to set the appropriate attributes in the object (available attributes are listed below). Por ejemplo, puede escribir "¡Hola Mundo!" en una columna objeto utilizando este sencillo código: ```4d ARRAY OBJECT(obColumn;0) //column array diff --git a/i18n/es/docusaurus-plugin-content-docs/current/FormObjects/listbox-object.md b/i18n/es/docusaurus-plugin-content-docs/current/FormObjects/listbox-object.md index c0eefa3248cfcc..dacf8ff7aa12e0 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/FormObjects/listbox-object.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/FormObjects/listbox-object.md @@ -1,6 +1,6 @@ --- id: listbox-object -title: List Box Object +title: Objeto List Box --- ## List box de tipo array @@ -30,7 +30,7 @@ LIST TO ARRAY("ListName";varCol) En este tipo de list box, cada columna puede estar asociada a un campo (por ejemplo `[Employees]LastName)` o a una expresión. La expresión puede basarse en uno o más campos (por ejemplo, `[Employees]FirstName+" "[Employees]LastName`) o puede ser simplemente una fórmula (por ejemplo `String(Milliseconds)`). La expresión también puede ser un método proyecto, una variable o un elemento de array. You can use the [`LISTBOX SET COLUMN FORMULA`](../commands/listbox-set-column-formula) and [`LISTBOX INSERT COLUMN FORMULA`](../commands/listbox-insert-column-formula) commands to modify columns programmatically. -A continuación, el contenido de cada línea se evalúa en función de una selección de registros: la **selección actual** de una tabla o una **selección temporal**. +The contents of each row is then evaluated according to a selection of records: the **current selection** of a table or a **named selection**. En el caso de un list box basado en la selección actual de una tabla, cualquier modificación realizada desde la base de datos se refleja automáticamente en el list box, y viceversa. Por lo tanto, la selección actual es siempre la misma en ambos lugares. @@ -137,41 +137,41 @@ Las propiedades soportadas dependen del tipo de list box. ## Eventos de formulario soportados {#supported-form-events} -| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event) para las propiedades principales) | Comentarios | -| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| On After Edit | | | -| On After Keystroke | | | -| On After Sort | | *Las fórmulas compuestas no se pueden ordenar.
(por ejemplo, This.firstName + This.lastName)* | -| On Alternative Click | | *List box array únicamente* | -| On Before Data Entry | | | -| On Before Keystroke | | | -| On Begin Drag Over | | | -| On Clicked | | | -| On Close Detail | | *List box Selección actual y Selección temporal únicamente* | -| On Collapse | | *List box jerárquicos únicamente* | -| On Column Moved | | | -| On Column Resize | | | -| On Data Change | | | -| On Delete Action | | | -| On Display Detail | | | -| On Double Clicked | | | -| On Drag Over | | | -| On Drop | | | -| On Expand | | *List box jerárquicos únicamente* | -| On Footer Click | | *List box arrays, selección actual y selección temporal únicamente* | -| On Getting Focus | | *Propiedades adicionales devueltas sólo al editar una celda* | -| On Header Click | | | -| On Load | | | -| On Losing Focus | | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | -| On Mouse Enter | | | -| On Mouse Leave | | | -| On Mouse Move | | | -| On Open Detail | | *List box Selección actual y Selección temporal únicamente* | -| On Row Moved | | *List box array únicamente* | -| On Scroll | | | -| On Selection Change | | | -| On Unload | | | -| On Validate | | | +| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event) para las propiedades principales) | Comentarios | +| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| On After Edit | | | +| On After Keystroke | | | +| On After Sort | | \*Las fórmulas compuestas no se pueden ordenar.
(por ejemplo, This.firstName + This.lastName)_ | +| On Alternative Click | | *List box array únicamente* | +| On Before Data Entry | | | +| On Before Keystroke | | | +| On Begin Drag Over | | | +| On Clicked | | | +| On Close Detail | | *List box Selección actual y Selección temporal únicamente* | +| On Collapse | | *List box jerárquicos únicamente* | +| On Column Moved | | | +| On Column Resize | | | +| On Data Change | | | +| On Delete Action | | | +| On Display Detail | | | +| On Double Clicked | | | +| On Drag Over | | | +| On Drop | | | +| On Expand | | *List box jerárquicos únicamente* | +| On Footer Click | | *List box arrays, selección actual y selección temporal únicamente* | +| On Getting Focus | | *Propiedades adicionales devueltas sólo al editar una celda* | +| On Header Click | | | +| On Load | | | +| On Losing Focus | | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | +| On Mouse Enter | | | +| On Mouse Leave | | | +| On Mouse Move | | | +| On Open Detail | | *List box Selección actual y Selección temporal únicamente* | +| On Row Moved | | *List box array únicamente* | +| On Scroll | | | +| On Selection Change | | | +| On Unload | | | +| On Validate | | | ### Propiedades adicionales {#additional-properties} diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md b/i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md index 4edef371468b67..5947c6998f1ab7 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md @@ -5,7 +5,7 @@ title: Notas del lanzamiento ## 4D 21 R3 -Lea [**Novedades en 4D 21 R3**](https://blog.4d.com/whats-new-in-4d-21-r3/), la entrada del blog que muestra todas las nuevas funcionalidades y mejoras en 4D 21 R3. +Lea [**Novedades en 4D 21 R3**](https://blog.4d.com/es/whats-new-in-4d-21-r3/), la entrada del blog que muestra todas las nuevas funcionalidades y mejoras en 4D 21 R3. #### Lo más destacado diff --git a/i18n/es/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md b/i18n/es/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md index afe9319d733766..c73cfafeda2295 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md @@ -28,7 +28,7 @@ Gracias a esta funcionalidad, toda la lógica de negocio de su aplicación 4D pu ![](../assets/en/ORDA/api.png) -Además, 4D [precrea automáticamente](#creating-classes) las clases para cada objeto del modelo de datos disponible. +Además, 4D [precrea automáticamente](../Project/code-overview.md#creating-classes) las clases para cada objeto del modelo de datos disponible. ## Arquitectura @@ -45,7 +45,7 @@ Todas las clases de modelo de datos ORDA se exponen como propiedades del class s | cs._DataClassName_Entity | cs.EmployeeEntity | [`dataClass.get()`](API/DataClassClass.md#get), [`dataClass.new()`](API/DataClassClass.md#new), [`entitySelection.first()`](API/EntitySelectionClass.md#first), [`entitySelection.last()`](API/EntitySelectionClass.md#last), [`entity.previous()`](API/EntityClass.md#previous), [`entity.next()`](API/EntityClass.md#next), [`entity.first()`](API/EntityClass.md#first), [`entity.last()`](API/EntityClass.md#last), [`entity.clone()`](API/EntityClass.md#clone) | | cs._DataClassName_Selection | cs.EmployeeSelection | [`dataClass.query()`](API/DataClassClass.md#query), [`entitySelection.query()`](API/EntitySelectionClass.md#query), [`dataClass.all()`](API/DataClassClass.md#all), [`dataClass.fromCollection()`](API/DataClassClass.md#fromcollection), [`dataClass.newSelection()`](API/DataClassClass.md#newselection), [`entitySelection.drop()`](API/EntitySelectionClass.md#drop), [`entity.getSelection()`](API/EntityClass.md#getselection), [`entitySelection.and()`](API/EntitySelectionClass.md#and), [`entitySelection.minus()`](API/EntitySelectionClass.md#minus), [`entitySelection.or()`](API/EntitySelectionClass.md#or), [`entitySelection.orderBy()`](API/EntitySelectionClass.md#or), [`entitySelection.orderByFormula()`](API/EntitySelectionClass.md#orderbyformula), [`entitySelection.slice()`](API/EntitySelectionClass.md#slice), `Create entity selection` | -> Las clases usuario ORDA se almacenan como archivos de clase estándar (.4dm) en la subcarpeta Classes del proyecto [(ver más abajo)](#class-files). +> ORDA user classes are stored as regular class files (.4dm) in the Classes subfolder of the project. Además, las instancias de objeto de clases usuario de los modelos de datos ORDA se benefician de las propiedades y funciones de sus padres: @@ -269,7 +269,7 @@ End if Al crear o editar clases de modelos de datos, debe prestar atención a las siguientes reglas: - Dado que se utilizan para definir nombres de clase DataClass automáticos en el [class store](Concepts/classes.md#class-stores) **cs**, las tablas 4D deben nombrarse para evitar todo conflicto en el espacio de nombres **cs**. En particular: - - No dé el mismo nombre a una tabla 4D y a una [clase de usuarios](../Concepts/classes.md#class-definition). En tal caso, el constructor de la clase usuario queda inutilizado (el compilador devuelve una advertencia). + - No dé el mismo nombre a una tabla 4D y a una [clase de usuarios](../Project/code-overview.md#creating-classes). En tal caso, el constructor de la clase usuario queda inutilizado (el compilador devuelve una advertencia). - No utilice un nombre reservado para una tabla 4D (por ejemplo, "DataClass"). - Al definir una clase, asegúrese de que la instrucción [`Class extends`](../Concepts/classes.md#class-extends-classname) coincida exactamente con el nombre de la clase padre (recuerde que son sensibles a mayúsculas y minúsculas). Por ejemplo, `Class extends EntitySelection` para una clase de selección de entidades. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Project/components.md b/i18n/es/docusaurus-plugin-content-docs/current/Project/components.md index f974da1cdf1c3d..6f81bb8ceb2f28 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Project/components.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Project/components.md @@ -49,7 +49,7 @@ Esta sección describe cómo trabajar con componentes en los entornos **4D** y * Para cargar un componente en su proyecto 4D, usted puede: - copie los archivos de componentes en la carpeta [**Components** de su proyecto](architecture.md#components) (las carpetas de paquetes de componentes interpretados deben llevar el sufijo ".4dbase", ver arriba), -- o bien, declare el componente en el archivo **dependencies.json** de su proyecto; esto se hace automáticamente para los archivos locales cuando [**añade una dependencia utilizando la interfaz del gestor de dependencias**](#adding-a-github-dependency). +- o bien, declare el componente en el archivo **dependencies.json** de su proyecto; esto se hace automáticamente para los archivos locales cuando [**añade una dependencia utilizando la interfaz del gestor de dependencias**](#adding-a-github-or-gitlab-dependency). Los componentes declarados en el archivo **dependencies.json** pueden almacenarse en diferentes ubicaciones: @@ -256,7 +256,7 @@ When a release is created in GitHub or GitLab, it is associated to a **tag** and :::note -Si seleccionas la regla de dependencia [**Seguir la versión 4D**](#defining-a-github-dependency-version-range), necesita usar una [convención de nomenclatura específica para las etiquetas](#naming-conventions-for-4d-version-tags). +Si seleccionas la regla de dependencia [**Seguir la versión 4D**](#defining-a-dependency-version-range), necesita usar una [convención de nomenclatura específica para las etiquetas](#naming-conventions-for-4d-version-tags). ::: @@ -524,7 +524,7 @@ Once the connection is established, an icon ![dependency-gitlogo](../assets/en/P :::note -If the component is stored on a [private repository](#private-repositories) and your personal token is missing, an error message is displayed and a **Add a personal access token...** button is displayed (see [Providing your access token](#providing-your-access-token)). +If the component is stored on a [private repository](#authentication-and-tokens) and your personal token is missing, an error message is displayed and a **Add a personal access token...** button is displayed (see [Providing your access token](#providing-your-access-token)). ::: @@ -571,7 +571,7 @@ Las actualizaciones de las dependencias se comprueban periódicamente en GitHub. :::note -Si suministra un [token de acceso](#providing-your-github-access-token), las verificiones se realizan con mayor frecuencia, ya que GitHub permite entonces una mayor frecuencia de solicitudes a los repositorios. +Si suministra un [token de acceso](#providing-your-access-token), las verificiones se realizan con mayor frecuencia, ya que GitHub permite entonces una mayor frecuencia de solicitudes a los repositorios. ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md b/i18n/es/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md index 2504a5a0708d4c..48fe6967ca2909 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md @@ -26,11 +26,11 @@ La forma más fácil de instalar 4D View Pro en un proyecto abierto es utilizar 1. Abra la ventana [Dependency Manager](../Project/components.md). 2. Haga clic en el botón **+** para añadir un componente. 3. Haga clic en la pestaña **GitHub**. -4. Select **4d/4D-ViewPro** in the [default list of components](../Extensions/overview.md) and (recommended) **Follow 4D version** as [Dependency rule](../Project/components.md#defining-a-github-dependency-version-range), then click **Add**. +4. Select **4d/4D-ViewPro** in the [default list of components](../Extensions/overview.md) and (recommended) **Follow 4D version** as [Dependency rule](../Project/components.md#defining-a-dependency-version-range), then click **Add**. ![](../assets/en/ViewPro/install.png) -Una vez reiniciado el proyecto, el componente 4D View Pro se instala como una [dependencia Github](../Project/components.md#adding-a-github-dependency). +Una vez reiniciado el proyecto, el componente 4D View Pro se instala como una [dependencia Github](../Project/components.md#adding-a-github-or-gitlab-dependency). 4D View Pro requiere una licencia. Es necesario activar esta licencia en su aplicación para poder utilizar sus funcionalidades. Cuando se utiliza este componente sin licencia, el contenido de un objeto que requiere una función de 4D View Pro no se muestra en tiempo de ejecución, sino que se muestra un mensaje de error: diff --git a/i18n/es/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIProviders.md b/i18n/es/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIProviders.md index 39879bb87dea61..2f2edd225fd759 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIProviders.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/aikit/Classes/OpenAIProviders.md @@ -123,7 +123,7 @@ Each object in the collection contains: | Propiedad | Tipo | Descripción | | ----------- | ---- | --------------------------------- | | `name` | Text | Model alias name | -| `proveedor` | Text | Provider name | +| `proveedor` | Text | Nombre del proveedor | | `model` | Text | Model ID to use with the provider | #### Ejemplo @@ -150,7 +150,7 @@ var $client := cs.AIKit.OpenAI.new() $client.chat.completions.create($messages; {model: "openai:gpt-5.1"}) ``` -This is resolved internally to: +Esto se resuelve internamente: 1. Split `"openai:gpt-5.1"` into provider=`"openai"` and model=`"gpt-5.1"` 2. Look up the `"openai"` provider configuration @@ -172,7 +172,7 @@ var $client := cs.AIKit.OpenAI.new() $client.chat.completions.create($messages; {model: ":my-gpt"}) ``` -This is resolved internally to: +Esto se resuelve internamente: 1. Look up `"my-gpt"` in the `models` configuration 2. Find its `provider` (e.g., `"openai"`) and `model` (e.g., `"gpt-5.1"`) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md b/i18n/es/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md index f047cea40e9d66..c392a58731ef4a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md @@ -25,16 +25,16 @@ Si está acostumbrado a codificar con **VS Code**, también puede utilizar este Cada ventana del Editor de Código tiene una barra de herramientas que ofrece acceso instantáneo a las funciones básicas relacionadas con la ejecución y edición de código. -| Elemento | Icono | Descripción | -| ------------------------------------ | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **Ejecución del método** | ![execute-method](../assets/en/code-editor/execute-method.png) | Cuando se trabaja con métodos, cada ventana del Editor de Código tiene un botón que puede utilizarse para ejecutar el método actual. Utilizando el menú asociado a este botón, puede elegir el tipo de ejecución:Para más información sobre la ejecución de métodos, ver [Llamada a métodos proyecto](../Concepts/methods.md#calling-project-methods). | -| **Buscar en el método** | ![search-icon](../assets/en/code-editor/search.png) | Muestra el [*Área de búsqueda*](#find-and-replace). | -| **Macros** | ![macros-button](../assets/en/code-editor/macros.png) | Inserta una macro en la selección. Haga clic en la flecha desplegable para mostrar una lista de macros disponibles. Para obtener más información sobre como crear e instanciar macros, consulte [Macros](#macros). | -| **Expandir todo/Contraer todo** | ![expand-collapse-button](../assets/en/code-editor/expand-collapse-all.png) | Estos botones permiten expandir o contraer todas las estructuras de flujo de control del código. | -| **Información del método** | ![method-information-icon](../assets/en/code-editor/method-information.png) | Muestra el diálogo [Propiedades del método](../Project/project-method-properties.md) (sólo métodos proyecto). | -| **Últimos valores del portapapeles** | ![last-clipboard-values-icon](../assets/en/code-editor/last-clipboard-values.png) | Muestra los últimos valores almacenados en el portapapeles. | -| **Portapapeles** | ![clipboard icons](../assets/en/code-editor/clipboards.png) | Nueve portapapeles disponibles en el editor de código. Puede [utilizar estos portapapeles](#clipboards) haciendo clic directamente en ellos o utilizando los atajos de teclado. Puede utilizar la opción [Preferencias](Preferences/methods.md#options-1) para ocultarlas. | -| **Menú desplegable de navegación** | ![code-navigation-icons](../assets/en/code-editor/tags.png) | Le permite navegar dentro de métodos y clases con contenido etiquetado automáticamente o marcadores declarados manualmente. Ver abajo | +| Elemento | Icono | Descripción | +| ------------------------------------ | --------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **Ejecución del método** | ![execute-method](../assets/en/code-editor/execute-method.png) | Cuando se trabaja con métodos, cada ventana del Editor de Código tiene un botón que puede utilizarse para ejecutar el método actual. Using the menu associated with this button, you can choose the type of execution:For more information on method execution, see [Project Methods](../Project/project-method-properties.md). | +| **Buscar en el método** | ![search-icon](../assets/en/code-editor/search.png) | Muestra el [*Área de búsqueda*](#find-and-replace). | +| **Macros** | ![macros-button](../assets/en/code-editor/macros.png) | Inserta una macro en la selección. Haga clic en la flecha desplegable para mostrar una lista de macros disponibles. Para obtener más información sobre como crear e instanciar macros, consulte [Macros](#macros). | +| **Expandir todo/Contraer todo** | ![expand-collapse-button](../assets/en/code-editor/expand-collapse-all.png) | Estos botones permiten expandir o contraer todas las estructuras de flujo de control del código. | +| **Información del método** | ![method-information-icon](../assets/en/code-editor/method-information.png) | Muestra el diálogo [Propiedades del método](../Project/project-method-properties.md) (sólo métodos proyecto). | +| **Últimos valores del portapapeles** | ![last-clipboard-values-icon](../assets/en/code-editor/last-clipboard-values.png) | Muestra los últimos valores almacenados en el portapapeles. | +| **Portapapeles** | ![clipboard icons](../assets/en/code-editor/clipboards.png) | Nueve portapapeles disponibles en el editor de código. Puede [utilizar estos portapapeles](#clipboards) haciendo clic directamente en ellos o utilizando los atajos de teclado. Puede utilizar la opción [Preferencias](Preferences/methods.md#options-1) para ocultarlas. | +| **Menú desplegable de navegación** | ![code-navigation-icons](../assets/en/code-editor/tags.png) | Le permite navegar dentro de métodos y clases con contenido etiquetado automáticamente o marcadores declarados manualmente. Ver abajo | ### Área de edición diff --git a/i18n/es/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-get.md b/i18n/es/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-get.md index 6785c1df53a069..587494bdc3a51a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-get.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-get.md @@ -52,7 +52,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por ejemplo, puede pasar las siguientes cadenas: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Durante las peticiones HTTPS, la autoridad del certificado no se verifica. diff --git a/i18n/es/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-request.md b/i18n/es/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-request.md index 3a0d3e6e4f85f0..ccd1b547ab8aae 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-request.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-request.md @@ -65,7 +65,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por ejemplo, puede pasar las siguientes cadenas: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Durante las peticiones HTTPS, la autoridad del certificado no se verifica. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md index 5423d93287e06b..abccd8d36130eb 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md @@ -178,7 +178,7 @@ Camino de la carpeta donde **.characterSet** : Number
**.characterSet** : Text -The conjunto de caracteres que el servidor web 4D debe utilizar para comunicarse con los navegadores conectados a la aplicación. El valor por defecto depende del lenguaje del sistema operativo. Puede ser un entero MIBEnum o una cadena Name, identificadores [definidos por IANA](http://www.iana.org/assignments/character-sets/character-sets.xhtml). Aquí está la lista de identificadores correspondientes a los conjuntos de caracteres soportados por el servidor web 4D: +El conjunto de caracteres que el servidor web 4D debe utilizar para comunicarse con los navegadores conectados a la aplicación. El valor por defecto depende del lenguaje del sistema operativo. Puede ser un entero MIBEnum o una cadena Name, identificadores [definidos por IANA](http://www.iana.org/assignments/character-sets/character-sets.xhtml). Aquí está la lista de identificadores correspondientes a los conjuntos de caracteres soportados por el servidor web 4D: - 4 = ISO-8859-1 - 12 = ISO-8859-9 @@ -203,7 +203,7 @@ The conjunto de caracteres que **.cipherSuite** : Text -The lista de cifrado utilizada para el protocolo seguro. Define la prioridad de los algoritmos de cifrado implementados por el servidor web de 4D. Puede ser una secuencia de cadenas separadas por dos puntos (por ejemplo "ECDHE-RSA-AES128-..."). Ver la [página de cifrados](https://www.openssl.org/docs/manmaster/man1/ciphers.html) en el sitio OpenSSL. +El lista de cifrado utilizada para el protocolo seguro. Define la prioridad de los algoritmos de cifrado implementados por el servidor web de 4D. Puede ser una secuencia de cadenas separadas por dos puntos (por ejemplo "ECDHE-RSA-AES128-..."). Ver la [página de cifrados](https://www.openssl.org/docs/manmaster/man1/ciphers.html) en el sitio OpenSSL. @@ -214,7 +214,7 @@ The lista de cifrado utilizada p **.CORSEnabled** : Boolean -The estado del servicio CORS (*Cross-origin resource sharing*) para el servidor web. Por razones de seguridad, las peticiones "cross-domain" están prohibidas por defecto a nivel del navegador. Cuando está habilitado (True), las llamadas XHR (por ejemplo, peticiones REST) de páginas web fuera del dominio pueden ser permitidas en su aplicación (necesita definir la lista de direcciones permitidas en la lista de dominios CORS, ver `CORSSettings` abajo). Cuando se desactiva (False, por defecto), se ignoran todas las peticiones cruzadas enviadas con CORS. Cuando se activa (True) y un dominio o método no permitido envía una solicitud de sitio cruzado, se rechaza con una respuesta de error "403 - prohibido". +El estado del servicio CORS (*Cross-origin resource sharing*) para el servidor web. Por razones de seguridad, las peticiones "cross-domain" están prohibidas por defecto a nivel del navegador. Cuando está habilitado (True), las llamadas XHR (por ejemplo, peticiones REST) de páginas web fuera del dominio pueden ser permitidas en su aplicación (necesita definir la lista de direcciones permitidas en la lista de dominios CORS, ver `CORSSettings` abajo). Cuando se desactiva (False, por defecto), se ignoran todas las peticiones cruzadas enviadas con CORS. Cuando se activa (True) y un dominio o método no permitido envía una solicitud de sitio cruzado, se rechaza con una respuesta de error "403 - prohibido". Por defecto: False (desactivado) @@ -255,7 +255,7 @@ Contiene el lista de hosts y m **.debugLog** : Number -The estado del archivo de log de las peticiones HTTP (HTTPDebugLog_nn.txt, almacenado en la carpeta "Logs" de la aplicación -- nn es el número del archivo). +El estado del archivo de log de las peticiones HTTP (HTTPDebugLog_nn.txt, almacenado en la carpeta "Logs" de la aplicación -- nn es el número del archivo). - 0 = desactivado - 1 = activado sin partes del cuerpo (en este caso se suministra el tamaño del cuerpo) @@ -272,7 +272,7 @@ The estado del archivo de log de la **.defaultHomepage** : Text -The nombre de la página de inicio por defecto o "" para no enviar la página de inicio personalizada. +El nombre de la página de inicio por defecto o "" para no enviar la página de inicio personalizada. @@ -283,7 +283,7 @@ The nombre de la página de **.HSTSEnabled** : Boolean -The estado del HTTP Strict Transport Security (HSTS). HSTS permite al servidor web declarar que los navegadores sólo deben interactuar con él a través de conexiones HTTPS seguras. Los navegadores registrarán la información HSTS la primera vez que reciban una respuesta del servidor web, luego cualquier solicitud HTTP futura se transformará automáticamente en solicitudes HTTPS. El tiempo que esta información es almacenada por el navegador se especifica con la propiedad `HSTSMaxAge`. HSTS requiere que HTTPS esté activado en el servidor. HTTP también debe estar activado para permitir las conexiones cliente iniciales. +El estado del HTTP Strict Transport Security (HSTS). HSTS permite al servidor web declarar que los navegadores sólo deben interactuar con él a través de conexiones HTTPS seguras. Los navegadores registrarán la información HSTS la primera vez que reciban una respuesta del servidor web, luego cualquier solicitud HTTP futura se transformará automáticamente en solicitudes HTTPS. El tiempo que esta información es almacenada por el navegador se especifica con la propiedad `HSTSMaxAge`. HSTS requiere que HTTPS esté activado en el servidor. HTTP también debe estar activado para permitir las conexiones cliente iniciales. @@ -296,7 +296,7 @@ The estado del HTTP Strict Trans **.HSTSMaxAge** : Number -The duración máxima (en segundos) de activación de HSTS para cada nueva conexión cliente. Esta información se almacena del lado del cliente durante el tiempo especificado. +El duración máxima (en segundos) de activación de HSTS para cada nueva conexión cliente. Esta información se almacena del lado del cliente durante el tiempo especificado. Valor por defecto: 63072000 (2 años). @@ -309,7 +309,7 @@ Valor por defecto: 63072000 (2 años). **.HTTPCompressionLevel** : Number -The nivel de compresión para todos los intercambios HTTP comprimidos para el servidor HTTP 4D (peticiones clientes o respuestas servidor). Este selector permite optimizar los intercambios priorizando la velocidad de ejecución (menos compresión) o la cantidad de compresión (menos velocidad). +El nivel de compresión para todos los intercambios HTTP comprimidos para el servidor HTTP 4D (peticiones clientes o respuestas servidor). Este selector permite optimizar los intercambios priorizando la velocidad de ejecución (menos compresión) o la cantidad de compresión (menos velocidad). Valores posibles: @@ -327,7 +327,7 @@ Valores posibles: **.HTTPCompressionThreshold** : Number -The umbral de tamaño (bytes) de las peticiones por debajo del cual no se deben comprimir los intercambios. Este parámetro es útil para evitar la pérdida de tiempo de la máquina al comprimir los intercambios pequeños. +El umbral de tamaño (bytes) de las peticiones por debajo del cual no se deben comprimir los intercambios. Este parámetro es útil para evitar la pérdida de tiempo de la máquina al comprimir los intercambios pequeños. Umbral de compresión por defecto = 1024 bytes @@ -340,7 +340,7 @@ Umbral de compresión por defecto = 1024 bytes **.HTTPEnabled** : Boolean -The estado del protocolo HTTP. +El estado del protocolo HTTP. @@ -351,7 +351,7 @@ The estado del protocolo HTTP**.HTTPPort** : Number -The número de puerto IP de escucha para HTTP. +El número de puerto IP de escucha para HTTP. Por defecto = 80 @@ -364,7 +364,7 @@ Por defecto = 80 **.HTTPTrace** : Boolean -The activación de `HTTP TRACE`. Por razones de seguridad, por defecto el servidor web rechaza las peticiones `HTTP TRACE` con un error 405. Cuando se activa, el servidor web responde a las peticiones `HTTP TRACE` con la línea de petición, el encabezado y el cuerpo. +El activación de `HTTP TRACE`. Por razones de seguridad, por defecto el servidor web rechaza las peticiones `HTTP TRACE` con un error 405. Cuando se activa, el servidor web responde a las peticiones `HTTP TRACE` con la línea de petición, el encabezado y el cuerpo. @@ -375,7 +375,7 @@ The activación de `HTTP TRACE`**.HTTPSEnabled** : Boolean -The estado del protocolo HTTPS. +El estado del protocolo HTTPS. @@ -386,7 +386,7 @@ The estado del protocolo HTTPS< **.HTTPSPort** : Number -The número de puerto IP de escucha para HTTPS. +El número de puerto IP de escucha para HTTPS. Por defecto = 443 @@ -400,7 +400,7 @@ Por defecto = 443 > Esta propiedad no se devuelve en [modo sesiones escalables](#scalablesession). -The duración de vida (en minutos) de los procesos de sesión legacy inactivos. Al final del tiempo de espera, el proceso se mata en el servidor, se llama al método base `On Web Legacy Close Session` y se destruye el contexto de la sesión heredada. +El duración de vida (en minutos) de los procesos de sesión legacy inactivos. Al final del tiempo de espera, el proceso se mata en el servidor, se llama al método base `On Web Legacy Close Session` y se destruye el contexto de la sesión heredada. Por defecto = 480 minutos @@ -414,7 +414,7 @@ Por defecto = 480 minutos > Esta propiedad no se devuelve en [modo sesiones escalables](#scalablesession). -The duración de vida (en minutos) de las sesiones legacy inactivas (duración definida en la cookie). Al final de este periodo, la cookie de sesión expira y deja de ser enviada por el cliente HTTP. +El duración de vida (en minutos) de las sesiones legacy inactivas (duración definida en la cookie). Al final de este periodo, la cookie de sesión expira y deja de ser enviada por el cliente HTTP. Por defecto = 480 minutos @@ -427,7 +427,7 @@ Por defecto = 480 minutos **.IPAddressToListen** : Text -The Dirección IP en la que el servidor web 4D recibirá las peticiones HTTP. Por defecto, no se define ninguna dirección específica. Se soportan tanto los formatos de cadena IPv6 como los IPv4. +El Dirección IP en la que el servidor web 4D recibirá las peticiones HTTP. Por defecto, no se define ninguna dirección específica. Se soportan tanto los formatos de cadena IPv6 como los IPv4. @@ -440,7 +440,7 @@ The Dirección IP en la qu *Propiedad de sólo lectura* -The estado de ejecución del servidor web. +El estado de ejecución del servidor web. @@ -466,7 +466,7 @@ Contiene `True` si las sesiones **.logRecording** : Number -The valor de registro del log de peticiones (logweb.txt). +El valor de registro del log de peticiones (logweb.txt). - 0 = No registrar (por defecto) - 1 = Registro en formato CLF @@ -483,7 +483,7 @@ The valor de registro del log d **.maxConcurrentProcesses** : Number -The número máximo de procesos web simultáneos soportados por el servidor web. Cuando se alcance este número (menos uno), 4D no creará ningún otro proceso y devolverá el estado HTTP 503 - Servicio no disponible a todas las nuevas peticiones. +El número máximo de procesos web simultáneos soportados por el servidor web. Cuando se alcance este número (menos uno), 4D no creará ningún otro proceso y devolverá el estado HTTP 503 - Servicio no disponible a todas las nuevas peticiones. Valores posibles: 500000 - 2147483647 @@ -523,7 +523,7 @@ Contiene el número máximo de s **.minTLSVersion** : Number -The versión mínima de TLS aceptada para las conexiones. Se rechazarán los intentos de conexión de clientes que sólo soporten versiones inferiores a la mínima. +El versión mínima de TLS aceptada para las conexiones. Se rechazarán los intentos de conexión de clientes que sólo soporten versiones inferiores a la mínima. Valores posibles: @@ -545,7 +545,7 @@ Valores posibles: *Propiedad de sólo lectura* -The nombre de la aplicación del servidor web. +El nombre de la aplicación del servidor web. @@ -558,7 +558,7 @@ The nombre de la aplicación del servid *Propiedad de sólo lectura* -The versión de la librería OpenSSL utilizada. +El versión de la librería OpenSSL utilizada. @@ -571,7 +571,7 @@ The versión de la librería *Propiedad de sólo lectura* -The disponibilidad de PFS en el servidor. +El disponibilidad de PFS en el servidor. @@ -581,7 +581,7 @@ The disponibilidad de **.rootFolder** : Text -The ruta de la carpeta raíz del servidor web. La ruta se formatea en la ruta completa POSIX utilizando filesystems. Cuando se utiliza esta propiedad en el parámetro `settings`, puede ser un objeto `Folder`. +El ruta de la carpeta raíz del servidor web. La ruta se formatea en la ruta completa POSIX utilizando filesystems. Cuando se utiliza esta propiedad en el parámetro `settings`, puede ser un objeto `Folder`. @@ -607,7 +607,7 @@ Contiene `True` si las sesio **.sessionCookieDomain** : Text -The campo "domain" de la cookie de sesión. Se utiliza para controlar el alcance de las cookies de sesión. Si define, por ejemplo, el valor "/*.4d.fr" para este selector, el cliente sólo enviará una cookie cuando la solicitud se dirija al dominio ".4d.fr", lo que excluye a los servidores que alojan datos estáticos externos. +El campo "domain" de la cookie de sesión. Se utiliza para controlar el alcance de las cookies de sesión. Si define, por ejemplo, el valor "/*.4d.fr" para este selector, el cliente sólo enviará una cookie cuando la solicitud se dirija al dominio ".4d.fr", lo que excluye a los servidores que alojan datos estáticos externos. @@ -618,7 +618,7 @@ The campo "domain" de la **.sessionCookieName** : Text -The nombre de la cookie utilizada para almacenar el ID de sesión. +El nombre de la cookie utilizada para almacenar el ID de sesión. *Propiedad de sólo lectura* @@ -631,7 +631,7 @@ The nombre de la cookie ut **.sessionCookiePath** : Text -The campo "path" de la cookie de sesión. Se utiliza para controlar el alcance de las cookies de sesión. Si define, por ejemplo, el valor "/4DACTION" para este selector, el cliente sólo enviará una cookie para las peticiones dinámicas que empiecen por 4DACTION, y no para las imágenes, páginas estáticas, etc. +El campo "path" de la cookie de sesión. Se utiliza para controlar el alcance de las cookies de sesión. Si define, por ejemplo, el valor "/4DACTION" para este selector, el cliente sólo enviará una cookie para las peticiones dinámicas que empiecen por 4DACTION, y no para las imágenes, páginas estáticas, etc. @@ -650,7 +650,7 @@ The campo "path" de la coo **.sessionCookieSameSite** : Text -The valor de la cookie de session "SameSite". Valores posibles (utilizando constantes): +El valor de la cookie de session "SameSite". Valores posibles (utilizando constantes): | Constante | Valor | Descripción | | ------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -671,7 +671,7 @@ Ver la descripción de [Session Cookie SameSite](WebServer/webServerConfig.md#se > Esta propiedad no se utiliza en el modo [sesiones escalables](#scalablesession) (no hay validación de la dirección IP). -The validación de la dirección IP para las cookies de sesión. Por razones de seguridad, por defecto el servidor web comprueba la dirección IP de cada solicitud que contiene una cookie de sesión y la rechaza si esta dirección no coincide con la dirección IP utilizada para crear la cookie. En algunas aplicaciones específicas, es posible que desee desactivar esta validación y aceptar las cookies de sesión, incluso cuando sus direcciones IP no coinciden. Por ejemplo, cuando los dispositivos móviles cambian entre las redes WiFi y 3G/4G, su dirección IP cambiará. En este caso, puede permitir que los clientes puedan seguir utilizando sus sesiones web incluso cuando las direcciones IP cambien (esta configuración reduce el nivel de seguridad de su aplicación). +El validación de la dirección IP para las cookies de sesión. Por razones de seguridad, por defecto el servidor web comprueba la dirección IP de cada solicitud que contiene una cookie de sesión y la rechaza si esta dirección no coincide con la dirección IP utilizada para crear la cookie. En algunas aplicaciones específicas, es posible que desee desactivar esta validación y aceptar las cookies de sesión, incluso cuando sus direcciones IP no coinciden. Por ejemplo, cuando los dispositivos móviles cambian entre las redes WiFi y 3G/4G, su dirección IP cambiará. En este caso, puede permitir que los clientes puedan seguir utilizando sus sesiones web incluso cuando las direcciones IP cambien (esta configuración reduce el nivel de seguridad de su aplicación). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-column.md b/i18n/es/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-column.md index 9666ee7c9085e3..0d49faeffd15df 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-column.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-column.md @@ -18,30 +18,30 @@ Vertical - [Relleno vertical](properties_CoordinatesAndSizing.md#vertical-paddin ## Eventos formulario soportados -| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](https://doc.4d.com/4Dv20/4D/20.6/FORM-Event.301-7487450.en.html) para las propiedades principales) | Comentarios | -| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| On After Edit |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | -| On After Keystroke |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | -| On After Sort |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [nombreEncabezado](./listbox-object#additional-properties)
  • | *Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)* | -| On Alternative Click |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | *List box array únicamente* | -| On Before Data Entry |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | -| On Before Keystroke |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | -| On Begin Drag Over |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | -| On Clicked |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | -| On Column Moved |
  • [nombreColumna](./listbox-object#additional-properties)
  • [nuevaPosicion](./listbox-object#additional-properties)
  • [antiguaPosicion](./listbox-object#additional-properties)
  • | | -| On Column Resize |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [nuevoTamaño](./listbox-object#additional-properties)
  • [antiguoTamano](./listbox-object#additional-properties)
  • | | -| On Data Change |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | -| On Double Clicked |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | -| On Drag Over |
  • [area](./listbox-object#additional-properties)
  • [nombreArea](./listbox-object#additional-properties)
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [linea](./listbox-object#additional-properties)
  • | | -| On Drop |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | -| On Footer Click |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [nombrePie](./listbox-object#additional-properties)
  • | *List box arrays, selección actual y selección temporal únicamente* | -| On Getting Focus |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | *Propiedades adicionales devueltas sólo al editar una celda* | -| On Header Click |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [nombreEncabezado](./listbox-object#additional-properties)
  • | | -| On Load | | | -| On Losing Focus |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | -| On Row Moved |
  • [nuevaPosicion](./listbox-object#additional-properties)
  • [antiguaPosicion](./listbox-object#additional-properties)
  • | *List box array únicamente* | -| On Scroll |
  • [horizontalScroll](./listbox-object#additional-properties)
  • [verticalScroll](./listbox-object#additional-properties)
  • | | -| On Unload | | | +| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](https://doc.4d.com/4Dv20/4D/20.6/FORM-Event.301-7487450.en.html) para las propiedades principales) | Comentarios | +| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| On After Edit |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | +| On After Keystroke |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | +| On After Sort |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [nombreEncabezado](./listbox-object#additional-properties)
  • | \*Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)_ | +| On Alternative Click |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | *List box array únicamente* | +| On Before Data Entry |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | +| On Before Keystroke |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | +| On Begin Drag Over |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | +| On Clicked |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | +| On Column Moved |
  • [nombreColumna](./listbox-object#additional-properties)
  • [nuevaPosicion](./listbox-object#additional-properties)
  • [antiguaPosicion](./listbox-object#additional-properties)
  • | | +| On Column Resize |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [nuevoTamaño](./listbox-object#additional-properties)
  • [antiguoTamano](./listbox-object#additional-properties)
  • | | +| On Data Change |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | +| On Double Clicked |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | +| On Drag Over |
  • [area](./listbox-object#additional-properties)
  • [nombreArea](./listbox-object#additional-properties)
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [linea](./listbox-object#additional-properties)
  • | | +| On Drop |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | | +| On Footer Click |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [nombrePie](./listbox-object#additional-properties)
  • | *List box arrays, selección actual y selección temporal únicamente* | +| On Getting Focus |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | *Propiedades adicionales devueltas sólo al editar una celda* | +| On Header Click |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [nombreEncabezado](./listbox-object#additional-properties)
  • | | +| On Load | | | +| On Losing Focus |
  • [columna](./listbox-object#additional-properties)
  • [nombreColumna](./listbox-object#additional-properties)
  • [línea](./listbox-object#additional-properties)
  • | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | +| On Row Moved |
  • [nuevaPosicion](./listbox-object#additional-properties)
  • [antiguaPosicion](./listbox-object#additional-properties)
  • | *List box array únicamente* | +| On Scroll |
  • [horizontalScroll](./listbox-object#additional-properties)
  • [verticalScroll](./listbox-object#additional-properties)
  • | | +| On Unload | | | ## Arrays de objetos en columnas @@ -61,8 +61,11 @@ Las propiedades estándar relacionadas con las coordenadas, el tamaño y el esti Sin embargo, el tema Fuente de datos no está disponible para las columnas objeto del list box. De hecho, el contenido de cada celda de la columna se basa en los atributos presentes en el elemento correspondiente del array de objetos. Cada elemento de array puede definir: -the value type (mandatory): text, color, event, etc. the value itself (optional): used for input/output. -the cell content display (optional): button, list, etc. additional settings (optional): depend on the value type To define these properties, you need to set the appropriate attributes in the object (available attributes are listed below). Por ejemplo, puede escribir "¡Hola Mundo!" en una columna objeto utilizando este sencillo código: +the value type (mandatory): text, color, event, etc. +the value itself (optional): used for input/output. +the cell content display (optional): button, list, etc. +additional settings (optional): depend on the value type +To define these properties, you need to set the appropriate attributes in the object (available attributes are listed below). Por ejemplo, puede escribir "¡Hola Mundo!" en una columna objeto utilizando este sencillo código: ```4d ARRAY OBJECT(obColumn;0) //array de columnas diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-object.md b/i18n/es/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-object.md index dd960966966fd2..216043e7825ed7 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-object.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-object.md @@ -1,6 +1,6 @@ --- id: listbox-object -title: List Box Object +title: Objeto List Box --- ## List box de tipo array @@ -30,7 +30,7 @@ LIST TO ARRAY("ListName";varCol) En este tipo de list box, cada columna puede estar asociada a un campo (por ejemplo `[Employees]LastName)` o a una expresión. La expresión puede basarse en uno o más campos (por ejemplo, `[Employees]FirstName+" "[Employees]LastName`) o puede ser simplemente una fórmula (por ejemplo `String(Milliseconds)`). La expresión también puede ser un método proyecto, una variable o un elemento de array. La expresión también puede ser un método proyecto, una variable o un elemento de array. -A continuación, el contenido de cada línea se evalúa en función de una selección de registros: la **selección actual** de una tabla o una **selección temporal**. +The contents of each row is then evaluated according to a selection of records: the **current selection** of a table or a **named selection**. En el caso de un list box basado en la selección actual de una tabla, cualquier modificación realizada desde la base de datos se refleja automáticamente en el list box, y viceversa. Por lo tanto, la selección actual es siempre la misma en ambos lugares. @@ -129,40 +129,40 @@ Las propiedades soportadas dependen del tipo de list box. ### Eventos formulario soportados -| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](https://doc.4d.com/4Dv18/4D/18/FORM-Event.301-4522191.en.html) para las propiedades principales) | Comentarios | -| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| On After Edit |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | -| On After Keystroke |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | -| On After Sort |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [headerName](#additional-properties)
  • | *Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)* | -| On Alternative Click |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | *List box array únicamente* | -| On Before Data Entry |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | -| On Before Keystroke |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | -| On Begin Drag Over |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | -| On Clicked |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | -| On Close Detail |
  • [row](#propiedades adicionales)
  • | *List box Selección actual y Selección temporal únicamente* | -| On Collapse |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | *List box jerárquicos únicamente* | -| On Column Moved |
  • [columnName](#additional-properties)
  • [newPosition](#additional-properties)
  • [oldPosition](#additional-properties)
  • | | -| On Column Resize |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [newSize](#additional-properties)
  • [oldSize](#additional-properties)
  • | | -| On Data Change |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | -| On Delete Action |
  • [row](#propiedades adicionales)
  • | | -| On Display Detail |
  • [isRowSelected](#additional-properties)
  • [row](#additional-properties)
  • | | -| On Double Clicked |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | -| On Drag Over |
  • [area](#additional-properties)
  • [areaName](#additional-properties)
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | -| On Drop |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | -| On Expand |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | *List box jerárquicos únicamente* | -| On Footer Click |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [footerName](#additional-properties)
  • | *List box arrays, selección actual y selección temporal únicamente* | -| On Getting Focus |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | *Propiedades adicionales devueltas sólo al editar una celda* | -| On Header Click |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [headerName](#additional-properties)
  • | | -| On Load | | | -| On Losing Focus |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | -| On Mouse Enter |
  • [area](#additional-properties)
  • [areaName](#additional-properties)
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | -| On Mouse Leave | | | -| On Mouse Move |
  • [area](#additional-properties)
  • [areaName](#additional-properties)
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | -| On Open Detail |
  • [row](#propiedades adicionales)
  • | *List box Selección actual y Selección temporal únicamente* | -| On Row Moved |
  • [newPosition](#additional-properties)
  • [oldPosition](#additional-properties)
  • | *List box array únicamente* | -| On Selection Change | | | -| On Scroll |
  • [horizontalScroll](#additional-properties)
  • [verticalScroll](#additional-properties)
  • | | -| On Unload | | | +| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](https://doc.4d.com/4Dv18/4D/18/FORM-Event.301-4522191.en.html) para las propiedades principales) | Comentarios | +| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| On After Edit |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | +| On After Keystroke |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | +| On After Sort |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [headerName](#additional-properties)
  • | \*Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)_ | +| On Alternative Click |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | *List box array únicamente* | +| On Before Data Entry |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | +| On Before Keystroke |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | +| On Begin Drag Over |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | +| On Clicked |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | +| On Close Detail |
  • [row](#propiedades adicionales)
  • | *List box Selección actual y Selección temporal únicamente* | +| On Collapse |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | *List box jerárquicos únicamente* | +| On Column Moved |
  • [columnName](#additional-properties)
  • [newPosition](#additional-properties)
  • [oldPosition](#additional-properties)
  • | | +| On Column Resize |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [newSize](#additional-properties)
  • [oldSize](#additional-properties)
  • | | +| On Data Change |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | +| On Delete Action |
  • [row](#propiedades adicionales)
  • | | +| On Display Detail |
  • [isRowSelected](#additional-properties)
  • [row](#additional-properties)
  • | | +| On Double Clicked |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | +| On Drag Over |
  • [area](#additional-properties)
  • [areaName](#additional-properties)
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | +| On Drop |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | | +| On Expand |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | *List box jerárquicos únicamente* | +| On Footer Click |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [footerName](#additional-properties)
  • | *List box arrays, selección actual y selección temporal únicamente* | +| On Getting Focus |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | *Propiedades adicionales devueltas sólo al editar una celda* | +| On Header Click |
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [headerName](#additional-properties)
  • | | +| On Load | | | +| On Losing Focus |
  • [columna](#additional-properties)
  • [nombreColumna](#additional-properties)
  • [línea](#additional-properties)
  • | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | +| On Mouse Enter |
  • [area](#additional-properties)
  • [areaName](#additional-properties)
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | +| On Mouse Leave | | | +| On Mouse Move |
  • [area](#additional-properties)
  • [areaName](#additional-properties)
  • [column](#additional-properties)
  • [columnName](#additional-properties)
  • [row](#additional-properties)
  • | | +| On Open Detail |
  • [row](#propiedades adicionales)
  • | *List box Selección actual y Selección temporal únicamente* | +| On Row Moved |
  • [newPosition](#additional-properties)
  • [oldPosition](#additional-properties)
  • | *List box array únicamente* | +| On Selection Change | | | +| On Scroll |
  • [horizontalScroll](#additional-properties)
  • [verticalScroll](#additional-properties)
  • | | +| On Unload | | | #### Propiedades adicionales {#additional-properties} diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20/ViewPro/method-list.md b/i18n/es/docusaurus-plugin-content-docs/version-20/ViewPro/method-list.md index 721ddaca935aa9..ba7bf08205188d 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20/ViewPro/method-list.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20/ViewPro/method-list.md @@ -2961,10 +2961,10 @@ End if
    -|Parameter|Type| |Description| +|Parámetro|Tipo| |Descripción| |---|---|---|---| -|rangeObj |Object|->|Range object| -|Result |Collection|<-|Collection of values| +|rangoObj |Object|->|Objeto Rango| +|Resultado |Collection|<-|Collection of values|
    @@ -3015,10 +3015,10 @@ $result:=VP Get values(VP Cells("ViewProArea";2;3;5;3))
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| -|Result |Object|<-|Object containing the workbook options| +|vpAreaName |Text|->|Nombre del objeto formulario área 4d View Pro| +|Resultado |Object|<-|Object containing the workbook options|
    @@ -3524,9 +3524,9 @@ VP SET NUM VALUE($name;285;"$#,###.00")
    -|Parameter|Type||Description| +|Parámetro|Tipo| |Descripción| |---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| +|vpAreaName |Text|->|Nombre del objeto formulario del área 4D View Pro|
    @@ -4828,11 +4828,11 @@ VP SET COLUMN ATTRIBUTES($column;$properties)
    -|Parameter|Type||Description| -|---|---|---|---| -|vpAreaName|Text|->|4D View Pro area form object name| -|columnCount|Integer|->|Number of columns| -|sheet|Integer|->|Sheet index (current sheet if omitted)| +|Parámetro|Tipo||Descripción| +|---|-|-|-|-|-| +|vpAreaName|Text|->|Nombre del objeto de formulario del área 4D View Pro| +|columnCount|Integer|->|Número de columnas| +|sheet|Integer|->|Índice de hoja (hoja actual si se omite)|
    @@ -4871,16 +4871,16 @@ VP SET COLUMN COUNT("ViewProArea";5)
    -|Parameter|Type| |Description| +|Parámetro|Tipo| |Descripción| |---|---|---|---| -|vpAreaName| Text|->|4D View Pro area form object name| -|sheet|Integer|->|Index of the new current sheet| +|vpAreaName| Text|->|Nombre del objeto de formulario del área 4D View Pro| +|sheet|Integer|->|Índice de la nueva hoja actual|
    #### Descripción -El comando `VP SET CURRENT SHEET` establece la hoja actual en *vpAreaName* . La hoja actual es la hoja seleccionada en el documento. +El comando `VP SET CURRENT SHEET` define la hoja actual en *vpAreaName* . La hoja actual es la hoja seleccionada en el documento. En *vpAreaName*, pase el nombre del área 4D View Pro. @@ -4915,10 +4915,10 @@ VP SET CURRENT SHEET("ViewProArea";2)
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| -|formulaObj |Object|->|Formula object| +|vpAreaName |Text|->|Nombre del objeto del formulario del área 4D View Pro| +|formulaObj |Object|->|Objeto fórmula|
    @@ -5008,13 +5008,13 @@ End case
    -|Parameter|Type||Description| -|---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| -|dataObj|Object|->|Data object to load in the data context| -|dataColl|Collection|->|Data collection to load in the data context| -|options |Object|->|Additional options| -|sheet|Integer|->|Sheet index| +|Parámetro|Tipo||Descripción| +|---|-|-|-|-|-| +|vpAreaName |Text|->|Nombre del objeto del formulario del área 4D View Pro| +|dataObj|Object|->|Objeto de datos a cargar en el contexto de datos| +|dataColl|Collection|->|Colección de datos a cargar en el contexto de datos| +|options |Object|->|Opciones adicionales| +|sheet|Integer|->|Índice de hoja|
    @@ -5144,12 +5144,12 @@ Este es el resultado una vez que se generan las columnas:
    -|Parameter|Type||Description| -|---|---|---|---| -|rangeObj |Object|->|Range object| -|dateValue |Date|->|Date value to set| -|timeValue |Time|->|Time value to set| -|formatPattern |Text|->|Format of value| +|Parámetro|Tipo||Descripción| +|---|---|-|---| +|rangeObj |Object|->|Objeto de rango| +|dateValue |Date|->|Valor de fecha a definir| +|timeValue |Time|->|Valor de hora a definir| +|formatPattern |Text|->|Formato del valor|
    @@ -5188,11 +5188,11 @@ VP SET DATE TIME VALUE(VP Cell("ViewProArea";3;9);!2024-12-18!;?14:30:10?;vk pat
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|rangeObj |Object|->|Range object| -|dateValue |Date|->|Date value to set| -|formatPattern |Text|->|Format of value| +|rangeObj |Object|->|Rango objeto| +|dateValue |Date|->|Valor fecha a definir| +|Formato |Text|->|Formato de valor|
    @@ -5238,11 +5238,11 @@ VP SET DATE VALUE(VP Cell("ViewProArea";4;6);!2005-01-15!;vk pattern month day)
    -|Parameter|Type||Description| -|---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| -|styleObj |Object|->|Style object| -|sheet|Integer|->|Sheet index (default = current sheet)| +|Parámetro|Tipo||Descripción| +|---|---|-|---| +|vpAreaName |Text|->|Nombre del objeto de formulario del área 4D View Pro| +|styleObj |Object|->|Objeto de estilo| +|sheet|Integer|->|Índice de hoja (por defecto = hoja actual)|
    @@ -5283,11 +5283,11 @@ VP SET DEFAULT STYLE("myDoc";$style)
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|rangeObj |Object|->|Range object| -|field |Pointer|->|Reference to field in virtual structure| -|formatPattern |Text|->|Format of field| +|rangeObj |Object|->|Objeto Rango| +|field |Pointer|->|Referencia al campo en estructura virtual| +|formatPattern |Text|->|Formato de campo|
    @@ -5295,7 +5295,7 @@ VP SET DEFAULT STYLE("myDoc";$style) El comando `VP SET FIELD` asigna un campo virtual de la base 4D a un rango de celdas designado. -En *rangeObj*, pase un rango de la(s) celda(s) cuyo valor desea indicar. In *rangeObj*, pass a range of the cell(s) whose value you want to specify. +En *rangeObj*, pase un rango de la(s) celda(s) cuyo valor desea indicar. Si *rangeObj* incluye varias celdas, el campo especificado se vinculará en cada celda. El parámetro *field* indica un [campo virtual](formulas.md#referencing-fields-using-the-virtual-structure) de la base 4D que se asignará al *rangeObj*. El nombre de la estructura virtual para el *field* se puede ver en la barra de fórmulas. Si alguna de las celdas de *rangeObj* tiene contenido, se sustituirá por *field*. @@ -5321,11 +5321,11 @@ VP SET FIELD(VP Cell("ViewProArea";5;2);->[TableName]Field)
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|rangeObj |Object|->|Range object| -|formula |Text|->|Formula or 4D method| -|formatPattern |Text|->|Format of field| +|rangeObj |Object|->|Objeto rango| +|formula |Text|->|Formula o método 4D| +|formatPattern|Texto|->|Formato de campo|
    @@ -5376,10 +5376,10 @@ VP SET FORMULA($range; "SUM(A1,B7,C11)") //"," para separar los parámetros
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|rangeObj |Object|->|Cell range object| -|formulasCol |Collection|->|Collection of formulas| +|rangeObj |Object|->|Objeto de rango de celda| +|formulasCol |Collection|->|Colección de fórmulas|
    @@ -5440,11 +5440,11 @@ VP SET FORMULAS(VP Cell("ViewProArea";0;0);$formulas) // Asignar a celdas
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| -|paneObj |Object|->|Object containing frozen column and row information| -|sheet|Integer|->|Sheet index (current sheet if omitted)| +|vpAreaName |Text|->|Nombre del objeto del formulario del área 4D View Pro| +|paneObj |Object|->|Objeto que contiene información congelada de columnas y filas| +|sheet|Integer|->|Índice de la hoja (hoja actual si se omite)|
    @@ -5500,11 +5500,11 @@ VP SET FROZEN PANES("ViewProArea";$panes)
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|rangeObj |Object|->|Range object| -|numberValue |Number|->|Number value to set| -|formatPattern |Text|->|Format of value| +|rangeObj |Object|->|objeto Rango| +|numberValue |Number|->|Valor numérico a definir| +|formatPattern |Text|->|Formato de valor|
    @@ -5540,11 +5540,11 @@ VP SET NUM VALUE(VP Cell("ViewProArea";3;2);12.356;"_($* #,##0.00_)")
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|vpAreaName |Text|->|4D View Pro area name| -|printInfo |Object|->|Object containing printing attributes| -|sheet|Integer|->|Sheet index (current sheet if omitted)| +|vpAreaName |Text|->|Nombre de área de 4D View Pro| +|printInfo |Object|->|Objeto que contiene atributos de impresión| +|sheet|Integer|->|Índice de hoja (hoja actual si se omite)|
    @@ -5616,10 +5616,10 @@ El PDF:
    -|Parameter|Type||Description| -|---|---|---|---| -|rangeObj |Object|->|Range of rows| -|propertyObj |Object|->|Object containing row properties| +|Parámetro|Tipo||Descripción| +|---|---|-|---| +|rangeObj |Object|->|Rango de filas| +|propertyObj |Object|->|Objeto que contiene propiedades de fila|
    @@ -5667,11 +5667,11 @@ VP SET ROW ATTRIBUTES($row;$properties)
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| -|rowCount |Integer|->|Number of rows| -|sheet|Integer|->|Sheet index (current sheet if omitted)| +|vpAreaName|Text|->|Nombre del objeto de formulario del área 4D View Pro| +|rowCount |Integer|->|Número de líneas| +|sheet|Integer|->|Índice de hoja (hoja actual si se omite)|
    @@ -5743,10 +5743,10 @@ VP SET SELECTION($currentSelection)
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| -|number |Integer|->|Number of sheets| +|vpAreaName |Text|->|Nombre del objeto de formulario del área 4D View Pro| +|number |Integer|->|Número de hojas|
    @@ -5783,11 +5783,11 @@ VP SET SHEET COUNT("ViewProArea";3)
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| -|name|Text|->|New name for the sheet| -|sheet|Integer|->|Index of the sheet to be renamed| +|vpAreaName |Text|->|Nombre del objeto de formulario del área 4D View Pro| +|name|Text|->|Nuevo nombre para la hoja| +|sheet|Integer|->|Índice de la hoja a renombrar|
    @@ -5832,11 +5832,11 @@ VP SET SHEET NAME("ViewProArea";"Total first quarter";2)
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|vpAreaName |Text|->|4D View Pro area name| -|sheetOptions |Object|->|Sheet option(s) to set| -|sheet |Integer|->|Sheet index (current sheet if omitted)| +|vpAreaName |Text|->|Nombre del área de 4D View Pro| +|sheetOptions |Object|->|Opciones de hoja a configurar|| +|sheet |Integer|->|Índice de hojas (hoja actual si se omite)|
    @@ -5954,11 +5954,11 @@ Resultado:
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| -|visible|Boolean|->|Print lines displayed if True (default), hidden if False| -|sheet|Integer|->|Sheet index (current sheet if omitted)| +|vpAreaName |Text|->|Nombre del objeto de formulario del área 4D View Pro| +|visible|Boolean|->|Líneas de impresión mostradas si es True (por defecto), ocultas si es False| +|sheet|Integer|->|Índice de hoja (hoja actual si se omite)|
    @@ -6012,13 +6012,13 @@ Con un salto de página:
    -|Parameter|Type| |Description| -|---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| -|tableName|Text|->|Table name| -|column|Integer|->|Index of the column in the table| -|attributes |Object|->|Attribute(s) to apply to the *column*| -|sheet |Integer|->|Sheet index (current sheet if omitted)| +|Parámetro|Tipo| |Descripción| +||---|-|-|---| +|vpAreaName |Text|->|Nombre del objeto formulario del área 4D View Pro| +|tableName|Text|->|Nombre de la tabla| +|column|Integer|->|Índice de la columna en la tabla| +|attributes |Object|->|Atributo(s) a aplicar a *column*| +|sheet |Integer|->|Índice de hoja (hoja actual si se omite)|
    @@ -6117,11 +6117,11 @@ VP SET TABLE COLUMN ATTRIBUTES("ViewProArea"; "PeopleTable"; 0; \
    -|Parameter|Type| |Description| -|---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| -|tableName|Text|->|Table name| -|options|[cs.ViewPro.TableTheme](classes.md#tabletheme)|->|Table theme properties to modify| +|Parámetro|Tipo| |Descripción| +||---|-|-|-|-|-| +|vpAreaName |Text|->|Nombre del objeto del formulario del área 4D View Pro| +|tableName|Text|->|Nombre de la tabla| +|options|[cs.ViewPro.TableTheme](classes.md#tabletheme)|->Propiedades del tema de la tabla a modificar|
    @@ -6200,11 +6200,11 @@ VP SET TABLE THEME("ViewProArea"; "myTable"; $param)
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|rangeObj |Object|->|Range object| -|textValue |Text|->|Text value to set| -|formatPattern |Text|->|Format of value| +|rangeObj |Object|->|Rango objeto| +|textValue |Text|->|Valor texto a definir| +|Formato |Text|->|Formato de valor|
    @@ -6236,11 +6236,11 @@ VP SET TEXT VALUE(VP Cell("ViewProArea";3;2);"Test 4D View Pro")
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|rangeObj |Object|->|Range object| -|timeValue |Time|->|Time value to set| -|formatPattern |Text|->|Format of value| +|rangeObj |Object|->|Objeto Rango| +|timeValue |Time|->|Valor de tiempo a establecer| +|formatPattern |Text|->|Formato de valor|
    @@ -6276,10 +6276,10 @@ VP SET TIME VALUE(VP Cell("ViewProArea";5;2);?12:15:06?;vk pattern long time)
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|rangeObj |Object|->|Range object| -|valueObj |Object|->|Cell values and format options| +|rangeObj |Object|->|Objetivo Rango | +|ValueObj |Object|->|Valores de celda y opciones de formato|
    @@ -6395,10 +6395,10 @@ VP SET VALUES(VP Cell("ViewProArea";2;1);$param)
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| -|optionObj |Object|->|Object containing the workbook options to be set| +|vpAreaName |Text|->|Nombre del objeto del formulario del área 4D View Pro| +|optionObj |Object|->|Objeto que contiene las opciones del libro de trabajo a configurar|
    @@ -6503,11 +6503,11 @@ VP SET WORKBOOK OPTIONS("ViewProArea";$workbookOptions)
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|rangeObj |Object|->|Range object| -|vPos |Integer|->|Vertical view position of cell or row| -|hPos |Integer|->|Horizontal view position of cell or row| +|rangeObj |Object|->|Objeto rango| +|vPos |Integer|->|Posición vertical de la celda o fila| +|hPos |Integer|->|Posición horizontal de la celda o fila|
    @@ -6567,9 +6567,9 @@ Resultado:
    -|Parameter|Type||Description| +|Parámetro|Tipo||Descripción| |---|---|---|---| -|vpAreaName |Text|->|4D View Pro area form object name| +|vpAreaName |Text|->|4D View Pro nombre del objeto|
    diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Admin/data-collect.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Admin/data-collect.md index e296967e83521d..a946d456db01c3 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Admin/data-collect.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Admin/data-collect.md @@ -124,7 +124,7 @@ También se recogen algunos datos a intervalos regulares. | totalExecutionTime | Number | Tiempo total de ejecución de la CPU: suma de todos los tipos de peticiones | | totalRequests | Number | Total requests: sum of web, REST, SOAP, SQL, and internal traffic | | webServer | Object | Objeto que contiene información sobre el servidor web | -| webServer.bytesIn | Number | Bytes received by the Web server | +| webServer.bytesIn | Number | Bytes recibidos por el servidor web | | webServer.bytesOut | Number | Bytes sent by the Web server | | webServer.hits | Number | Number of hits on the Web server | | webServer.executionTime | Number | Tiempo de ejecución de la CPU para el servidor Web | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Concepts/dt_date.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Concepts/dt_date.md index 6d34b557eb3d1f..ed6de8c251ddf8 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Concepts/dt_date.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Concepts/dt_date.md @@ -52,7 +52,7 @@ Una fecha null es especificada por *!00-00-00!*. Como las fechas en JavaScript son objetos, se envían a 4D como texto que contiene su forma JSON como cualquier otro objeto. Este principio se aplica en particular cuando se utilizan [comandos JSON](../commands/theme/JSON.md) o [Áreas Web](../FormObjects/webArea_overview.md). -The JSON form of JavaScript Date objects follows the ISO 8601 standard, for example "2013-08-23T00:00:00Z". Es su responsabilidad convertir este texto en una fecha 4D. Hay dos soluciones disponibles: +La forma JSON de los objetos Date JavaScript sigue el estándar ISO 8601, por ejemplo "2013-08-23T00:00:00Z". Es su responsabilidad convertir este texto en una fecha 4D. Hay dos soluciones disponibles: Utilizando el comando [`JSON Parse`](../commands-legacy/json-parse.md): @@ -70,10 +70,10 @@ Utilizando el comando [`Date`](../commands-legacy/date.md): $date4D:=Date($dateIso) ``` -Note the difference between these two solutions: [`JSON Parse`](../commands-legacy/json-parse.md) respects the [conversion mode set using the `SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md#dates-inside-objects-85) (if any), while [`Date`](../commands-legacy/date.md) is not subject to this. Conversión usando el comando [`Date`](../commands-legacy/date.md) siempre tiene en cuenta la zona horaria local. +Observe la diferencia entre estas dos soluciones: [`JSON Parse`](../commands-legacy/json-parse.md) respeta el [modo de conversión definido con `SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md#dates-inside-objects-85) (si existe), mientras que [`Date`](../commands-legacy/date.md) no está sujeto a esto. Conversión usando el comando [`Date`](../commands-legacy/date.md) siempre tiene en cuenta la zona horaria local. :::note -When the current date storage setting is [`date type`](../commands-legacy/set-database-parameter.md#dates-inside-objects-85) (default), JSON date strings in "YYYY-MM-DD" format are automatically handled as date values by the [`JSON Parse`](../commands-legacy/json-parse.md) and [`Date`](../commands-legacy/date.md) commands. +Cuando la configuración actual de almacenamiento de fecha es [`date type`](../commands-legacy/set-database-parameter.md#dates-inside-objects-85) (por defecto), las cadenas de fecha JSON en formato "YYYY-MM-DD" son manejadas automáticamente como valores de fecha por los comandos [`JSON Parse`](../commands-legacy/json-parse.md) y [`Date`](../commands-legacy/date.md). ::: \ No newline at end of file diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md index 5ac8698a955222..6e92e45b855d0b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md @@ -428,5 +428,5 @@ Las siguientes convenciones se utilizan en la documentación del lenguaje 4D: - los caracteres{ }`(llaves) indican parámetros opcionales. Por ejemplo,`.delete( { option : Integer } )\` significa que el parámetro *option* puede omitirse al llamar a la función. - la palabra clave `any` se utiliza para parámetros que pueden ser de cualquier tipo (número, texto, booleano, fecha, hora, objeto, colección...). -- the `; *...param* : Type` notation indicates from 0 to an unlimited number of parameters of the same type. Por ejemplo, `.concat( value : any { ;...valueN : any } ) : Collection` significa que se puede pasar a la función un número ilimitado de valores de cualquier tipo. -- the `...(*param* : Type ; *param2* : Type)` notation indicates from 1 to an unlimited number of groups of parameters. Por ejemplo, `COLLECTION TO ARRAY ( collection : Collection ; array : Array {; propertyName : Text}{; ...(array : Array ; propertyName : Text) } )` significa que se puede pasar al comando un número ilimitado de valores de pareja de tipo array/texto. +- la notación `; *...param* : Type` indica de 0 a un número ilimitado de parámetros del mismo tipo. Por ejemplo, `.concat( value : any { ;...valueN : any } ) : Collection` significa que se puede pasar a la función un número ilimitado de valores de cualquier tipo. +- la notación `...(*param* : Type ; *param2* : Type)` indica de 1 a un número ilimitado de grupos de parámetros. Por ejemplo, `COLLECTION TO ARRAY ( collection : Collection ; array : Array {; propertyName : Text}{; ...(array : Array ; propertyName : Text) } )` significa que se puede pasar al comando un número ilimitado de valores de pareja de tipo array/texto. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Desktop/sessions.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Desktop/sessions.md index 6091c05c176fae..8d954b8b4f8646 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Desktop/sessions.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Desktop/sessions.md @@ -110,8 +110,8 @@ Cuando se crea un token OTP en un entorno cliente/servidor, es necesario ejecuta :::tip Entrada de blog relacionada -[Embed Qodly pages in a 4D web area without extra cost](https://blog.4d.com/share-your-4d-remote-client-session-with-web-accesses/)
    -[Enhance your Desktop Interface with Web widgets using 4D Qodly Pro](https://blog.4d.com/build-modern-hybrid-desktop-apps-with-4d-and-qodly-pro/) +[Integra las páginas Qodly en un área web 4D sin costo adicional](https://blog.4d.com/share-your-4d-remote-client-session-with-web-accesses/)
    +[Mejora su interfaz de escritorio con widgets Web utilizando 4D Qodly Pro](https://blog.4d.com/build-modern-hybrid-desktop-apps-with-4d-and-qodly-pro/) ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md index 3768dfe8e87634..dec858d2dca47b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md @@ -3,34 +3,35 @@ id: async title: Ejecución asíncrona --- -4D supports both **synchronous** and **asynchronous** execution modes, allowing developers to choose the best approach based on performance, responsiveness, and workload distribution. +4D soporta modos de ejecución **sincrónicas** y **asíncronas**, permitiendo a los desarrolladores elegir el mejor enfoque basado en el rendimiento, la respuesta y la distribución de la carga de trabajo. ## Básicos #### Ejecución sincrónica -Synchronous execution follows a **sequential** flow, a step-by-step where each instruction must complete before the next one starts. Esto significa que el hilo de ejecución se bloquea hasta que finaliza la operación. +La ejecución síncrona sigue un flujo **secuencial**, un paso a paso en el que cada instrucción debe completarse antes de que comience la siguiente. Esto significa que el hilo de ejecución se bloquea hasta que finaliza la operación. -Synchronous execution is used when: +La ejecución síncrona se utiliza cuando: - La ejecución de las tareas debe seguir un orden estricto. - El impacto en el rendimiento es mínimo (por ejemplo, operaciones rápidas). - Se ejecuta en un contexto de un solo hilo donde el bloqueo es aceptable. -- La ejecución síncrona bloquea la interfaz de usuario y es más adecuada para tareas rápidas y ordenadas en las que el bloqueo es aceptable. + +La ejecución síncrona bloquea la interfaz de usuario y es más adecuada para tareas rápidas y ordenadas en las que el bloqueo es aceptable. #### Ejecución asíncrona -La ejecución asincrónica es **event-driiven** y permite que otras operaciones se completen. Se basa en **callbacks**, **workers** y **event handlers** para gestionar el flujo de ejecución. +Asynchronous execution is **event-driven** and allows other operations to complete. Se basa en **callbacks**, **workers** y **event handlers** para gestionar el flujo de ejecución. La ejecución asíncrona se utiliza cuando: - Una operación tarda mucho tiempo (por ejemplo, esperando una respuesta del servidor). - La capacidad de respuesta es fundamental (por ejemplo, las interacciones de la interfaz de usuario). -- Realización de tareas en segundo plano, comunicación en red o procesamiento paralelo. +- Background tasks, network communication, or parallel processing are performed. Elegir entre ejecución síncrona y asíncrona: -| Scenario | Mejor enfoque | +| Escenario | Mejor enfoque | | ------------------------------------------------------ | ------------- | | Operaciones rápidas con un procesamiento mínimo | **Síncrono** | | Tareas que requieren un orden de ejecución estricto | **Síncrono** | @@ -41,31 +42,31 @@ Elegir entre ejecución síncrona y asíncrona: ## Principios básicos -4D ofrece capacidades integradas de **ejecución asíncrona** a través de varias clases y comandos. These allow background task execution, network communication, and large data processing, while waiting other operations to complete without blocking the current process. +4D ofrece capacidades integradas de **ejecución asíncrona** a través de varias clases y comandos. Permiten la ejecución de tareas en segundo plano, la comunicación en red y el procesamiento de grandes volúmenes de datos, mientras se espera a que se completen otras operaciones sin bloquear el proceso actual. -The general concept of asynchronous event management in 4D is based on an asynchronous messaging model using **workers** (processes that listen to events) and **callbacks** (functions or formulas automatically invoked when an event occurs). Instead of waiting for a result (synchronous mode), you provide a function that will be automatically called when the desired event occurs. Las retrollamadas se pueden pasar como funciones clase (recomendado) o como objetos Formula. +El concepto general de gestión de eventos asíncronos en 4D se basa en un modelo de mensajería asíncrona que utiliza **workers** (procesos que escuchan eventos) y **callbacks** (funciones o fórmulas invocadas automáticamente cuando se produce un evento). En lugar de esperar un resultado (modo sincrónico), proporciona una función que será llamada automáticamente cuando ocurra el evento deseado. Las retrollamadas se pueden pasar como funciones clase (recomendado) o como objetos Formula. -This model is common to [`CALL WORKER`](../commands-legacy/call-worker.md), [`CALL FORM`](../commands-legacy/call-form.md), and [classes that support aynchronous execution](#asynchronous-programming-with-4d-classes). Todos estos comandos/clases inician una operación que se ejecuta en segundo plano. La sentencia que lanza la operación retorna inmediatamente, sin esperar a que la operación finalice. +Este modelo es común a [`CALL WORKER`](../commands-legacy/call-worker.md), [`CALL FORM`](../commands-legacy/call-form.md), y [clases que soportan la ejecución ayncrónica](#asynchronous-programming-with-4d-classes). Todos estos comandos/clases inician una operación que se ejecuta en segundo plano. La sentencia que lanza la operación retorna inmediatamente, sin esperar a que la operación finalice. ### Workers -Asynchronous programming relies on a system of [**workers**](../Develop/processes.md#worker-processes) (worker processes), which allows code to be executed in parallel without blocking the main process. This is particularly useful for long tasks (such as HTTP calls, executing external processes, background processing), while keeping the user interface responsive. +La programación asíncrona se basa en un sistema de [**workers**](../Develop/processes.md#worker-processes) (procesos workers), que permite ejecutar código en paralelo sin bloquear el proceso principal. Esto resulta especialmente útil para tareas largas (como llamadas HTTP, ejecución de procesos externos, procesamiento en segundo plano), al tiempo que se mantiene la capacidad de respuesta de la interfaz de usuario. -Using worker processes in asynchronous programming **is mandatory** since "classic" processes automatically terminate their execution when the process method ends, thus using callbacks is not possible. Un proceso worker permanece vivo y puede **escuchar eventos**. +Utilizar procesos worker en programación asíncrona **es obligatorio** ya que los procesos "clásicos" terminan automáticamente su ejecución cuando el método del proceso finaliza, por lo que utilizar retrollamadas no es posible. Un proceso worker permanece vivo y puede **escuchar eventos**. -### Event queue (mailbox) +### Cola de eventos (buzón) -Cada worker (o ventana de formulario para [`CALL FORM`](../commands-legacy/call-form.md)) tiene su propia cola de mensajes. [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md) simply posts a message to this queue. El worker trata los mensajes uno a uno, en el orden en que llegan, dentro de su propio contexto. Se conservan las variables de proceso, las selecciones actuales, etc. +Cada worker (o ventana de formulario para [`CALL FORM`](../commands-legacy/call-form.md)) tiene su propia cola de mensajes. [`CALL WORKER`](../commands-legacy/call-worker.md) o [`CALL FORM`](../commands-legacy/call-form.md) simplemente envía un mensaje a esta cola. El worker trata los mensajes uno a uno, en el orden en que llegan, dentro de su propio contexto. Se conservan las variables de proceso, las selecciones actuales, etc. ### Comunicación bidireccional mediante mensajes -El proceso llamante envía un mensaje y el worker lo ejecuta. The worker can in turn post a message (via [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). Este mecanismo sustituye al retorno clásico de las llamadas síncronas. +El proceso llamante envía un mensaje y el worker lo ejecuta. El worker puede publicar a su vez un mensaje (a través de [`CALL WORKER`](../commands-legacy/call-worker.md) o [`CALL FORM`](../commands-legacy/call-form.md)) de vuelta a la persona que llama u otro worker para notificar un evento (finalización de tarea, datos recibidos, error, progreso, etc.). Este mecanismo sustituye al retorno clásico de las llamadas síncronas. -### Event listening +### Escucha de eventos -In event-driven development, it is obvious that some code must be able to listen for incoming events. Events can be generated by the user interface (such as a mouse click on an object or a keyboard key pressed) or by any other interaction such as an http request or the end of another action. For example, when a form is displayed using the `DIALOG` command, user actions can trigger events that your code can process. Al hacer clic en un botón se activará el código asociado al botón. +En el desarrollo dirigido por eventos, es obvio que parte del código debe ser capaz de escuchar los eventos entrantes. Los eventos pueden ser generados por la interfaz de usuario (como un clic del ratón sobre un objeto o la pulsación de una tecla del teclado) o por cualquier otra interacción, como una petición http o el final de otra acción. Por ejemplo, cuando se muestra un formulario utilizando el comando `DIALOG`, las acciones del usuario pueden desencadenar eventos que su código puede procesar. Al hacer clic en un botón se activará el código asociado al botón. -In the context of asynchronous execution, the following features place your code in listening mode: +En el contexto de la ejecución asíncrona, las siguientes funcionalidades colocan su código en modo de escucha: - [`CALL WORKER`](../commands-legacy/call-worker.md) ejecuta el código para el que ha sido llamado, luego vuelve a un estado de escucha desde donde puede ser llamado posteriormente. - [`CALL FORM`](../commands-legacy/call-form.md) abre un formulario y lo hace escuchar los mensajes entrantes de la cola de eventos. @@ -77,21 +78,21 @@ Los eventos se activan automáticamente durante el flujo de ejecución y se pasa ### Contexto de ejecución de retrollamada -When 4D execute one of your callbacks, it does so in the context of the current process (worker), i.e. if your object is instantiated inside a form, the callback function will be executed in the context of that same form. +Cuando 4D ejecuta una de sus retrollamdas, lo hace en el contexto del proceso actual (worker), es decir, si su objeto está instanciado dentro de un formulario, la función callback se ejecutará en el contexto de ese mismo formulario. -For callbacks to work properly in fully asynchronous mode, the operation should generally be launched from a worker (via `CALL WORKER`). If launched from a process handling UI, some callbacks may not be called until the UI is listening events. +Para que las retrollamadas funcionen correctamente en modo totalmente asíncrono, la operación debe lanzarse generalmente desde un worker (mediante `CALL WORKER`). Si se lanza desde un proceso que maneja la interfaz de usuario, algunas retrollamadas pueden no ser invocadas hasta que la interfaz de usuario esté escuchando eventos. -### Releasing an asynchronous object +### Liberar un objeto asíncrono En 4D, todos los objetos son liberados [cuando no existen más referencias](../Concepts/dt_object.md#resources) a ellos en memoria. Esto suele ocurrir al final de la ejecución de un método para variables locales. Para las clases asíncronas, 4D mantiene siempre una **referencia adicional** en el proceso que instanciaba el objeto. Esta referencia sólo se libera cuando finaliza la operación, es decir, después de que se active el evento `onTerminate`. Esta referencia automática permite a su objeto sobrevivir aunque no lo haya mencionado específicamente en una variable. -Si desea "forzar" la liberación de un objeto en cualquier momento, utilice un `. hutdown()` o función `terminate()`; desencadena el evento 'onTerminate\` así libera el objeto. +Si desea "forzar" la liberación de un objeto en cualquier momento, utilice un `. hutdown()` o función `terminate()`; desencadena el evento 'onTerminate\\` así libera el objeto. ### Ejemplos que ilustran el concepto común -| Feature | Lanzamiento asíncrono | Callback / Event Handling | +| Funcionalidad | Lanzamiento asíncrono | Retrollamada / Gestión de eventos | | ------------------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | | CALL WORKER | CALL WORKER("wk"; "MyMethod"; $params) | MyMethod se llama con $params | | CALL FORM | CALL FORM($win; "MyMethod"; $params) | MyMethod se llama con $params | @@ -109,23 +110,23 @@ Varias clases 4D soportan el procesamiento asíncrono: - [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. - [`WebSocketServer`](../API/WebSocketServerClass.md) - Gestiona las conexiones del servidor WebSocket. -Todas estas clases siguen las mismas reglas de ejecución asíncrona. Su constructor acepta un parámetro *options* que se usa para configurar su objeto asíncrono. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. Por ejemplo, puede crear una función `onResponse()` en la clase, que será llamada automáticamente de forma asíncrona cuando se dispare un evento *reponse*. +Todas estas clases siguen las mismas reglas de ejecución asíncrona. Su constructor acepta un parámetro *options* que se usa para configurar su objeto asíncrono. Se recomienda que el objeto *options* sea una instancia de [user class](../Concepts/classes.md) que tenga funciones de retrollamada. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. Recomendamos la siguiente secuencia: -1. You create the user class where you declare callback functions, for example a `cs.Params` with `onError()` and `onResponse()` functions. +1. Se crea la clase usuario donde se declaran las funciones de retrollamada, por ejemplo un `cs.Params` con las funciones `onError()` y `onResponse()`. 2. Instanciará la clase usuario (en nuestro ejemplo utilizando `cs.Params.new()`) que configurará su objeto asíncrono. -3. You call the constructor of the 4D class (for example `4D.SystemWorker.new()`) and pass the *options* object as parameter. Inicia las operaciones pasadas inmediatamente sin demora. +3. Se llama al constructor de la clase 4D (por ejemplo `4D.SystemWorker.new()`) y se pasa el objeto *options* como parámetro. Inicia las operaciones pasadas inmediatamente sin demora. -Here is a full example of implementation of an *options* object based upon a user class: +He aquí un ejemplo completo de implementación de un objeto *options* basado en una clase usuario: ```4d -// asynchronous code creation -var $options:=cs.Params.new(10) //see cs.Params class code below +//creación asíncrona de código +var $options:=cs.Params.new(10) //ver código clase cs.Params abajo var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users ";$options) -// "Params" class +// Clase "Params" Class constructor ($timeout : Real) This.dataType:="text" @@ -157,7 +158,7 @@ Function _createFile($title : Text; $textBody : Text) Tenga en cuenta que `onResponse`, `onData`, `onDataError` y `onTerminate` son funciones soportadas por [`4D.SystemWorker`](../API/SystemWorkerClass.md). -Once the user class is instantiated; 4D is put in [event listening](#event-listening) mode, in which case 4D can [trigger an event](#event-triggering) that calls the corresponding function in the user class. +Una vez instanciada la clase usuario; 4D se pone en modo [escucha de eventos](#event-listening), en cuyo caso 4D puede [disparar un evento](#event-triggering) que llame a la función correspondiente en la clase usuario. :::tip @@ -173,7 +174,7 @@ var $options.onResponse:=Formula(myMethod) Incluso cuando se utiliza código moderno y asíncrono, puede ser necesario introducir cierto grado de ejecución síncrona. Por ejemplo, puede querer que una función espere un cierto tiempo para obtener un resultado. Podría ser el caso de conexiones de red rápidas garantizadas o workers del sistema. A continuación, puede forzar la ejecución sincrónica utilizando la función `wait()`. -The **`.wait()`** function pauses execution of the current process and puts 4D in [event listening](#event-listening) mode. Keep in mind that it will trigger events received from any sources, not only from the object on which the `wait()` function was called. +La función **`.wait()`** pausa la ejecución del proceso actual y pone a 4D en modo [escucha de eventos](#event-listening). Tenga en cuenta que activará eventos recibidos de cualquier fuente, no sólo del objeto sobre el que se llamó a la función `wait()`. La función `wait()` retorna cuando el evento `onTerminate` ha sido disparado en el objeto, o cuando el tiempo de espera suministrado (si existe) ha expirado. Por consiguiente, puede salir explícitamente de un `.wait()` llamando a `shutdown()` o `terminate()` desde dentro de una retrollamda. En caso contrario, se sale de `.wait()` cuando finaliza la operación en curso. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Extensions/overview.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Extensions/overview.md index 58d518c399a5f2..a7cc470a27ca9b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Extensions/overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/Extensions/overview.md @@ -5,7 +5,7 @@ title: Extendiendo aplicaciones 4D ## Generalidades -La [arquitectura del proyecto] 4D (../Project/architecture.md) es abierta y puede ampliarse de diferentes maneras. Si necesita una funcionalidad que no está disponible de forma nativa en 4D, siempre puede integrarla en su aplicación de diversas maneras, por ejemplo: +La [arquitectura de los [proyectos 4D](../Project/architecture.md) es abierta y puede ampliarse de diferentes maneras. Si necesita una funcionalidad que no está disponible de forma nativa en 4D, siempre puede integrarla en su aplicación de diversas maneras, por ejemplo: - Los [**workers del sistema**](../API/SystemWorkerClass.md) permiten al código 4D llamar a cualquier proceso externo (un comando shell, PHP, cualquier script, etc.) y supervisar su ejecución. - Los [**comandos SQL**](../commands/theme/SQL) permiten conectar y utilizar diversas fuentes de datos SQL. @@ -18,8 +18,7 @@ La [arquitectura del proyecto] 4D (../Project/architecture.md) es abierta y pued 4D propone diferentes componentes a la comunidad 4D, cubriendo muchas necesidades de desarrollo. Todos los componentes 4D se pueden encontrar en el [**repositorio github de 4D**](https://github.com/4d). -A subset of these components is listed by default in the Github panel of the [Dependency Manager](../Project/components.md#adding-a-github-dependency), including: -including: +Un subconjunto de estos componentes se muestra por defecto en el panel de Github del [Administrador de dependencias](../Project/components.md#adding-a-github-dependency), incluyendo: | Componente | Repositorio Github | Descripción | Principales funcionalidades | | -------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormEditor/createStylesheet.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormEditor/createStylesheet.md index b929315a0156fa..a5f3f5ecfa7286 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormEditor/createStylesheet.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormEditor/createStylesheet.md @@ -206,7 +206,7 @@ text[text|=Hello] ### Consultas de medios -Las consultas de medios permiten aplicar estilos basados en condiciones específicas. 4D supports media queries for **color schemes** and **platform themes**. +Las consultas de medios permiten aplicar estilos basados en condiciones específicas. 4D soporta media queries para **esquemas de color** y **temas de plataforma**. Una consulta de medios está formada por características y valores de medios (por ejemplo, `:`). @@ -246,27 +246,27 @@ Este CSS define una combinación de colores para el texto y el fondo del texto e ##### Ejemplo 2 ```css -/* Default style (all themes and modes) */ +/* Estilo por defecto (todos los temas y modos) */ .textLabel { fontFamily: "Segoe UI"; } -/* Fluent UI theme*/ +/* Tema Fluent UI*/ @media (form-theme: fluent-ui) { .textLabel { stroke: #2A2A2A; fontSize: 14px; } - /* dark mode */ - @media (prefers-color-scheme: dark) { + /* modo oscuro */ + @media (prefiere-esquema-de-color: oscuro) { .textLabel { - stroke: #E0E0E0; + trazo: #E0E0E0; } } } -/* Windows classic theme */ +/* Tema clásico de Windows */ @media (form-theme: win-classic) { .textLabel { stroke: #000000; diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormEditor/properties_FormProperties.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormEditor/properties_FormProperties.md index 9d58c74f9d67e8..650932fe7ff7c6 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormEditor/properties_FormProperties.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormEditor/properties_FormProperties.md @@ -10,11 +10,10 @@ title: Propiedades de los formularios > La propiedad de combinación de colores sólo se aplica en macOS y [Windows con el tema Fluent UI](../settings/interface.md#use-fluent-ui-on-windows). > ). -Esta propiedad define el esquema de colores para el formulario. By default when the property is not set, the value for a color scheme is **inherited** (the form uses the scheme defined at the [application level](../commands-legacy/get-application-color-scheme.md)). Esto se puede cambiar para el formulario a una de las dos opciones siguientes: +Esta propiedad define el esquema de colores para el formulario. Por defecto, cuando la propiedad no está establecida, el valor de un esquema de color es **heredado** (el formulario utiliza el esquema definido en el [nivel de aplicación](../commands-legacy/get-application-color-scheme.md)). Esto se puede cambiar para el formulario a una de las dos opciones siguientes: - dark -- texto claro sobre fondo oscuro -- light - dark text on a light background - > A defined color scheme can not be overridden by a CSS. +- light - texto oscuro en un fondo claro > El número de caracteres para el título de una ventana está limitado a 31. @@ -34,9 +33,9 @@ Un archivo CSS definido a nivel de formulario anulará la(s) hoja(s) de estilo p #### Gramática JSON -| Nombre | Tipos de datos | Valores posibles | -| ------ | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| css | cadena o colección | CSS file path(s) provided as:
  • a string (a file for both platforms)
  • a collection of strings (a list of files for both platform)
  • a collection of {"path":string;"media":"mac" \\ | +| Nombre | Tipos de datos | Valores posibles | +| ------ | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| css | cadena o colección | Rutas de archivos CSS proporcionadas como:
  • una cadena (un archivo para ambas plataformas)
  • una colección de cadenas (una lista de archivos para ambas plataformas)
  • una colección de objetos {"path":string; media":"mac" | "win"}
  • | --- @@ -82,7 +81,7 @@ El nombre del formulario está definido por el nombre de la carpeta que contiene ## Tema del formulario en Windows -Esta propiedad le permite seleccionar explícitamente el tema de interfaz que desea que se utilice cuando el formulario se ejecute en Windows. By default, forms inherit from the [global project theme settings](../settings/interface.md) but you can override this setting for each form. +Esta propiedad le permite seleccionar explícitamente el tema de interfaz que desea que se utilice cuando el formulario se ejecute en Windows. Por defecto, los formularios heredan de la [configuración global del tema del proyecto](../settings/interface.md) pero puede anular esta configuración para cada formulario. Valores disponibles: diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox-column.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox-column.md index e05a887e8c9617..38cd7a65699e13 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox-column.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox-column.md @@ -13,34 +13,35 @@ Puede definir propiedades estándar (texto, color de fondo, etc.) para cada colu ## Propiedades específicas de columna {#column-specific-properties} -[Alpha Format](properties_Display.md#alpha-format) - [Alternate Background Color](properties_BackgroundAndBorder.md#alternate-background-color) - [Automatic Row Height](properties_CoordinatesAndSizing.md#automatic-row-height) - [Background Color](properties_BackgroundAndBorder.md#background-color--fill-color) - [Background Color Expression](properties_BackgroundAndBorder.md#background-color-expression) - [Bold](properties_Text.md#bold) - [Choice List](properties_DataSource.md#choice-list) - [Class](properties_Object.md#css-class) - [Context Menu](properties_Entry.md#context-menu) - [Data Type (selection and collection list box column)](properties_DataSource.md#data-type-list) - [Date Format](properties_Display.md#date-format) - [Default Values](properties_DataSource.md#default-list-of-values) - [Display Type](properties_Display.md#display-type) - [Enterable](properties_Entry.md#enterable) - [Entry Filter](properties_Entry.md#entry-filter) - [Excluded List](properties_RangeOfValues.md#excluded-list) - [Expression](properties_DataSource.md#expression) - [Expression Type (array list box column)](properties_Object.md#expression-type) - [Font](properties_Text.md#font) - [Font Color](properties_Text.md#font-color) - [Horizontal Alignment](properties_Text.md#horizontal-alignment) - [Horizontal Padding](properties_CoordinatesAndSizing.md#horizontal-padding) - [Italic](properties_Text.md#italic) - [Invisible](properties_Display.md#visibility) - [Maximum Width](properties_CoordinatesAndSizing.md#maximum-width) - [Method](properties_Action.md#method) - [Minimum Width](properties_CoordinatesAndSizing.md#minimum-width) - [Multi-style](properties_Text.md#multi-style) - [Number Format](properties_Display.md#number-format) - [Object Name](properties_Object.md#object-name) - [Picture Format](properties_Display.md#picture-format) - [Resizable](properties_ResizingOptions.md#resizable) - [Required List](properties_RangeOfValues.md#required-list) - [Row Background Color Array](properties_BackgroundAndBorder.md#row-background-color-array) - [Row Font Color Array](properties_Text.md#row-font-color-array) - [Row Style Array](properties_Text.md#row-style-array) - [Save as](properties_DataSource.md#save-as) - [Style Expression](properties_Text.md#style-expression) - [Text when False/Text when True](properties_Display.md#text-when-falsetext-when-true) - [Time Format](properties_Display.md#time-format) - [Truncate with ellipsis](properties_Display.md#truncate-with-ellipsis) - [Underline](properties_Text.md#underline) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Alignment](properties_Text.md#vertical-alignment) - [Vertical Padding](properties_CoordinatesAndSizing.md#vertical-padding) - [Width](properties_CoordinatesAndSizing.md#width) - [Wordwrap](properties_Display.md#wordwrap) +[Formato Alfa](properties_Display.md#alpha-format) - [Color de fondo alternativo](properties_BackgroundAndBorder.md#alternate-background-color) - [Altura de línea automática](properties_CoordinatesAndSizing.md#automatic-row-height) - [Color de fondo](properties_BackgroundAndBorder.md#background-color--fill-color) - [Expresión de color de fondo](properties_BackgroundAndBorder.md#background-color-expression) - [Negrita](properties_Text.md#bold) - [Lista de selección](properties_DataSource.md#choice-list) - [Clase](properties_Object.md#css-class) - [Menú contexto](properties_Entry.md#context-menu) - [Tipo de datos (selección y columna de list box colección)](properties_DataSource.md#data-type-list) - [Formato Fecha](properties_Display.md#date-format) - [Valores por defecto](properties_DataSource.md#default-list-of-values) - [Tipo de visualización](properties_Display.md#display-type) - [Editable](properties_Entry.md#enterable) - [Filtro de entrada](properties_Entry.md#entry-filter) - [Lista excluída](properties_RangeOfValues.md#excluded-list) - [Expresión](properties_DataSource.md#expression) - [Tipo de expresión (array list box column)](properties_Object.md#expression-type) - [Fuente](properties_Text.md#font) - [Color de fuente](properties_Text.md#font-color) - [Alineación Horizontal](properties_Text.md#horizontal-alignment) - [Relleno Horizontal](properties_CoordinatesAndSizing.md#horizontal-padding) - [Itálica](properties_Text.md#italic) - [Invisible](properties_Display.md#visibility) - [Ancho máximo](properties_CoordinatesAndSizing.md#maximum-width) - [Método](properties_Action.md#method) - [Ancho mínimo](properties_CoordinatesAndSizing.md#minimum-width) - [Multiestilo](properties_Text.md#multi-style) - [Formato número](properties_Display.md#number-format) - [Nombre de objeto](properties_Object.md#object-name) - [Formato Imagen](properties_Display.md#picture-format) - [Redimensionable](properties_ResizingOptions.md#resizable) - [Lista requerida](properties_RangeOfValues.md#required-list) - [Array de color de fondo de línea](properties_BackgroundAndBorder.md#row-background-color-array) - [Array de color de fuente de línea](properties_Text.md#row-font-color-) - [Array de estilo de línea](properties_Text.md#row-style-array) - [Guardar como](properties_DataSource.md#save-as) - [Expresión de estilo](properties_Text.md#style-expression) - [Texto cuando False/Texto cuando True](properties_Display.md#text-when-falsetext-when-true) - [Formato Hora](properties_Display.md#time-format) - [Truncar con elipsis](properties_Display.md#truncate-with-ellipsis) - [Subrayar](properties_Text.md#underline) - [Variable o Expresión](properties_Object.md#variable-or-expression) - Alineación +Vertical - [Relleno vertical](properties_CoordinatesAndSizing.md#vertical-padding) - [Ancho](properties_CoordinatesAndSizing.md#width) - [Ajuste de palabras](properties_Display.md#wordwrap) ## Eventos de formulario soportados {#supported-form-events} -| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event.md) para las propiedades principales) | Comentarios | -| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| On After Edit | | | -| On After Keystroke | | | -| On After Sort | | *Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)* | -| On Alternative Click | | *List box array únicamente* | -| On Before Data Entry | | | -| On Before Keystroke | | | -| On Begin Drag Over | | | -| On Clicked | | | -| On Column Moved | | | -| On Column Resize | | | -| On Data Change | | | -| On Double Clicked | | | -| On Drag Over | | | -| On Drop | | | -| On Footer Click | | *List box arrays, selección actual y selección temporal únicamente* | -| On Getting Focus | | *Propiedades adicionales devueltas sólo al editar una celda* | -| On Header Click | | | -| On Load | | | -| On Losing Focus | | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | -| On Row Moved | | *List box array únicamente* | -| On Scroll | | | -| On Unload | | | +| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event.md) para las propiedades principales) | Comentarios | +| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| On After Edit | | | +| On After Keystroke | | | +| On After Sort | | \*Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)_ | +| On Alternative Click | | *List box array únicamente* | +| On Before Data Entry | | | +| On Before Keystroke | | | +| On Begin Drag Over | | | +| On Clicked | | | +| On Column Moved | | | +| On Column Resize | | | +| On Data Change | | | +| On Double Clicked | | | +| On Drag Over | | | +| On Drop | | | +| On Footer Click | | *List box arrays, selección actual y selección temporal únicamente* | +| On Getting Focus | | *Propiedades adicionales devueltas sólo al editar una celda* | +| On Header Click | | | +| On Load | | | +| On Losing Focus | | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | +| On Row Moved | | *List box array únicamente* | +| On Scroll | | | +| On Unload | | | ## Arrays de objetos en columnas @@ -60,14 +61,17 @@ Las propiedades estándar relacionadas con las coordenadas, el tamaño y el esti Sin embargo, el tema Fuente de datos no está disponible para las columnas objeto del list box. De hecho, el contenido de cada celda de la columna se basa en los atributos presentes en el elemento correspondiente del array de objetos. Cada elemento de array puede definir: -the value type (mandatory): text, color, event, etc. the value itself (optional): used for input/output. -the cell content display (optional): button, list, etc. additional settings (optional): depend on the value type To define these properties, you need to set the appropriate attributes in the object (available attributes are listed below). Por ejemplo, puede escribir "¡Hola Mundo!" en una columna objeto utilizando este sencillo código: +el tipo de valor (obligatorio): texto, color, evento, etc. +el valor en sí (opcional): utilizado para la entrada/salida. +la visualización del contenido de la celda (opcional): botón, lista, etc. +ajustes adicionales (opcional): dependen del tipo de valor +Para definir estas propiedades, debe establecer los atributos apropiados en el objeto (los atributos disponibles se enumeran a continuación). Por ejemplo, puede escribir "¡Hola Mundo!" en una columna objeto utilizando este sencillo código: ```4d -ARRAY OBJECT(obColumn;0) //column array - var $ob : Object //first element - OB SET($ob;"valueType";"text") //defines the value type (mandatory) - OB SET($ob;"value";"Hello World!") //defines the value +ARRAY OBJECT(obColumn;0) //array de columnas + var $ob : Object //primer elemento + OB SET($ob; "valueType"; "text") //define el tipo de valor (obligatorio) + OB SET($ob; "value"; "Hello World!") //define el valor APPEND TO ARRAY(obColumn;$ob) ``` @@ -146,17 +150,17 @@ El único atributo obligatorio es "valueType" y sus valores soportados son "text Los valores de las celdas se almacenan en el atributo "value". Este atributo se utiliza tanto para la entrada como para la salida. También puede utilizarse para definir valores por defecto cuando se utilizan listas (ver a continuación). ```4d - ARRAY OBJECT(obColumn;0) //column array + ARRAY OBJECT(obColumn;0) //array de columnas var $ob1;$ob2;$ob3 : Object var $entry:="Hello world!" - OB SET($ob1;"valueType";"text") - OB SET($ob1;"value";$entry) // if the user enters a new value, $entry will contain the edited value + OB SET($ob1; "valueType"; "text") + OB SET($ob1; "value";$entry) // si el usuario introduce un nuevo valor, $entry contendrá el valor editado - OB SET($ob2;"valueType";"real") + OB SET($ob2; "valueType"; "real") OB SET($ob2;"value";2/3) - OB SET($ob3;"valueType";"boolean") - OB SET($ob3;"value";True) + OB SET($ob3; "valueType"; "boolean") + OB SET($ob3; "value";True) APPEND TO ARRAY(obColumn;$ob1) APPEND TO ARRAY(obColumn;$ob2) @@ -283,7 +287,7 @@ Ejemplos: var $ob : Object OB SET($ob;"valueType";"integer") OB SET($ob;"saveAs";"reference") - OB SET($ob;"value";2) //displays London by default + OB SET($ob;"value";2) //muestra London por defecto OB SET($ob;"requiredListReference";<>List) ``` diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox-object.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox-object.md index adfaf50453562f..41e8eec9498ecf 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox-object.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox-object.md @@ -1,18 +1,18 @@ --- id: listbox-object -title: List Box Object +title: Objeto List Box --- ## List box de tipo array En un list box de tipo array, cada columna debe estar asociada a un array unidimensional 4D; se pueden utilizar todos los tipos de array, a excepción de los arrays de punteros. El número de líneas se basa en el número de elementos del array. -Por defecto, 4D asigna el nombre "ColumnX" a cada columna. You can change it, as well as other column properties, in the [column properties](./listbox-column.md). The display format for each column can also be defined using the [`OBJECT SET FORMAT`](../commands-legacy/object-set-format.md) command. +Por defecto, 4D asigna el nombre "ColumnX" a cada columna. Puede cambiarlo, así como las otras propiedades de la columna, en las [propiedades de las columnas](./listbox-column.md). El formato de visualización de cada columna también puede definirse mediante el comando [`OBJECT SET FORMAT`](../commands-legacy/object-set-format.md). > Los list boxes de tipo array pueden mostrarse en [modo jerárquico](listbox_overview.md#hierarchical-list-boxes), con mecanismos específicos. Con los list box de tipo array, los valores introducidos o mostrados se gestionan utilizando el lenguaje 4D. También puede asociar una [lista de opciones](properties_DataSource.md#choice-list) con una columna para controlar la entrada de datos. -The values of columns are managed using high-level List box commands (such as [`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows) or [`LISTBOX DELETE ROWS`](../commands-legacy/listbox-delete-rows.md)) as well as array manipulation commands. Por ejemplo, para inicializar el contenido de una columna, puede utilizar la siguiente instrucción: +Los valores de las columnas se gestionan mediante comandos de alto nivel de List box (como [`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows) o [`LISTBOX DELETE ROWS`](../commands-legacy/listbox-delete-rows.md)), así como comandos de manipulación de arrays. Por ejemplo, para inicializar el contenido de una columna, puede utilizar la siguiente instrucción: ```4d ARRAY TEXT(varCol;size) @@ -28,9 +28,9 @@ LIST TO ARRAY("ListName";varCol) ## List box de tipo selección -En este tipo de list box, cada columna puede estar asociada a un campo (por ejemplo `[Employees]LastName)` o a una expresión. La expresión puede basarse en uno o más campos (por ejemplo, `[Employees]FirstName+" "[Employees]LastName`) o puede ser simplemente una fórmula (por ejemplo `String(Milliseconds)`). La expresión también puede ser un método proyecto, una variable o un elemento de array. You can use the [`LISTBOX SET COLUMN FORMULA`](../commands-legacy/listbox-set-column-formula.md) and [`LISTBOX INSERT COLUMN FORMULA`](../commands-legacy/listbox-insert-column-formula.md) commands to modify columns programmatically. +En este tipo de list box, cada columna puede estar asociada a un campo (por ejemplo `[Employees]LastName)` o a una expresión. La expresión puede basarse en uno o más campos (por ejemplo, `[Employees]FirstName+" "[Employees]LastName`) o puede ser simplemente una fórmula (por ejemplo `String(Milliseconds)`). La expresión también puede ser un método proyecto, una variable o un elemento de array. Puede utilizar los comandos [`LISTBOX SET COLUMN FORMULA`](../commands-legacy/listbox-set-column-formula.md) y [`LISTBOX INSERT COLUMN FORMULA`](../commands-legacy/listbox-insert-column-formula.md) para modificar columnas por programación. -A continuación, el contenido de cada línea se evalúa en función de una selección de registros: la **selección actual** de una tabla o una **selección temporal**. +El contenido de cada fila se evalúa según una selección de registros: la **selección actual** de una tabla o una **selección temporal**. En el caso de un list box basado en la selección actual de una tabla, cualquier modificación realizada desde la base de datos se refleja automáticamente en el list box, y viceversa. Por lo tanto, la selección actual es siempre la misma en ambos lugares. @@ -137,40 +137,40 @@ Las propiedades soportadas dependen del tipo de list box. ## Eventos de formulario soportados {#supported-form-events} -| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event.md) para las propiedades principales) | Comentarios | -| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| On After Edit | | | -| On After Keystroke | | | -| On After Sort | | *Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)* | -| On Alternative Click | | *List box array únicamente* | -| On Before Data Entry | | | -| On Before Keystroke | | | -| On Begin Drag Over | | | -| On Clicked | | | -| On Close Detail | | *List box Selección actual y Selección temporal únicamente* | -| On Collapse | | *List box jerárquicos únicamente* | -| On Column Moved | | | -| On Column Resize | | | -| On Data Change | | | -| On Delete Action | | | -| On Display Detail | | | -| On Double Clicked | | | -| On Drag Over | | | -| On Drop | | | -| On Expand | | *List box jerárquicos únicamente* | -| On Footer Click | | *List box arrays, selección actual y selección temporal únicamente* | -| On Getting Focus | | *Propiedades adicionales devueltas sólo al editar una celda* | -| On Header Click | | | -| On Load | | | -| On Losing Focus | | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | -| On Mouse Enter | | | -| On Mouse Leave | | | -| On Mouse Move | | | -| On Open Detail | | *List box Selección actual y Selección temporal únicamente* | -| On Row Moved | | *List box array únicamente* | -| On Selection Change | | | -| On Scroll | | | -| On Unload | | | +| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event.md) para las propiedades principales) | Comentarios | +| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| On After Edit | | | +| On After Keystroke | | | +| On After Sort | | \*Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)_ | +| On Alternative Click | | *List box array únicamente* | +| On Before Data Entry | | | +| On Before Keystroke | | | +| On Begin Drag Over | | | +| On Clicked | | | +| On Close Detail | | *List box Selección actual y Selección temporal únicamente* | +| On Collapse | | *List box jerárquicos únicamente* | +| On Column Moved | | | +| On Column Resize | | | +| On Data Change | | | +| On Delete Action | | | +| On Display Detail | | | +| On Double Clicked | | | +| On Drag Over | | | +| On Drop | | | +| On Expand | | *List box jerárquicos únicamente* | +| On Footer Click | | *List box arrays, selección actual y selección temporal únicamente* | +| On Getting Focus | | *Propiedades adicionales devueltas sólo al editar una celda* | +| On Header Click | | | +| On Load | | | +| On Losing Focus | | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | +| On Mouse Enter | | | +| On Mouse Leave | | | +| On Mouse Move | | | +| On Open Detail | | *List box Selección actual y Selección temporal únicamente* | +| On Row Moved | | *List box array únicamente* | +| On Selection Change | | | +| On Scroll | | | +| On Unload | | | ### Propiedades adicionales {#additional-properties} diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox_overview.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox_overview.md index eb3ad1c9cd12fb..f0dbade789cf65 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox_overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox_overview.md @@ -59,7 +59,7 @@ Hay varios tipos de list box, con sus propios comportamientos y propiedades espe Se puede configurar completamente un objeto list box a través de sus propiedades, y también se puede gestionar dinámicamente por programación. -The 4D Language includes a dedicated "List Box" theme for list box commands, but commands from various other themes, such as "Object properties" commands or [`EDIT ITEM`](../commands/edit-item), [`Displayed line number`](../commands/displayed-line-number) commands can also be used. Para mayor información consulte la página [List Box Commands Summary](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) del manual *Lenguaje 4D*. +El Lenguaje 4D incluye un tema "List Box" dedicado para los comandos de List Box, pero también se pueden utilizar comandos de otros temas, como los comandos "Propiedades de objeto" o los comandos [`EDIT ITEM`](../commands/edit-item), [`Displayed line number`](../commands/displayed-line-number). Para mayor información consulte la página [resumen de comandos de List Box](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) del *manual de Lenguaje 4D*. ## Gestión de entrada @@ -244,14 +244,14 @@ Puede activar o desactivar la ordenación usuario estándar desactivando la prop El soporte de ordenación estándar depende del tipo de list box: -| Tipo de list box | Soporte de ordenación estándar | Comentarios | -| ------------------------------ | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| Colección de objetos | Sí | | -| Colección de valores escalares | No | Utilice la ordenación personalizada con la función [`orderBy()`](../API/CollectionClass.md#orderby) | -| Entity selection | Sí | | -| Selección actual | Sí | Sólo se pueden ordenar las expresiones simples (por ejemplo, `[Table_1]Campo_2`) | -| Selección temporal | No | | -| Arrays | Sí | Las columnas vinculadas a arrays de imágenes y punteros no se pueden ordenar | +| Tipo de list box | Soporte de ordenación estándar | Comentarios | +| ------------------------------ | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Colección de objetos | Sí | | +| Colección de valores escalares | No | Utilice la ordenación personalizada con la función [`orderBy()`](../API/CollectionClass.md#orderby) | +| Entity selection | Sí | | +| Selección actual | Sí | Sólo se pueden ordenar las expresiones simples (por ejemplo, `[Table_1]Campo_2`) | +| Selección temporal | No | | +| Arrays | Sí | Las columnas vinculadas a arrays de imágenes y punteros no se pueden ordenar | ### Ordenación personalizada @@ -321,7 +321,7 @@ Los principios de prioridad y de herencia se observan cuando la misma propiedad 3. Arrays/métodos de Listbox 4. Propiedades de la columna 5. Propiedades de list box -6. (lowest priority) Meta Info expression (for collection or entity selection list boxes) +6. (prioridad más baja) Expresión Meta Info (para list boxes de tipo colección o selección de entidades) Por ejemplo, si define un estilo de fuente en las propiedades del list box y otro mediante un array de estilos para la columna, se tendrá en cuenta este último. @@ -570,7 +570,7 @@ El uso de los eventos de formulario `On Expand` y `On Collapse` puede superar es En este caso, debe llenar y vaciar los arrays por código. Los principios que deben aplicarse son: -- Cuando se muestra el list box, sólo se debe llenar el primer array. However, you must create a second array with empty values so that the list box displays the expand/collapse buttons: +- Cuando se muestra el list box, sólo se debe llenar el primer array. Sin embargo, debe crear un segundo array con valores vacíos para que el list box muestre los botones desplegar/contraer: ![](../assets/en/FormObjects/hierarch15.png) - Cuando un usuario hace clic en un botón de expandir, puede procesar el evento `On Expand`. El comando [`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) devuelve la celda en cuestión y permite construir la jerarquía adecuada: se llena el primer array con los valores repetidos y el segundo con los valores enviados desde el comando [`SELECTION TO ARRAY`](../commands/selection-to-array) y se insertan tantas líneas como sean necesarias en el list box mediante el comando [`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_TextAndPicture.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_TextAndPicture.md index e5325fefbbe672..e49e23b0f9d883 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_TextAndPicture.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_TextAndPicture.md @@ -294,13 +294,13 @@ Es importante señalar que la propiedad "Con menú emergente" sólo gestiona el #### Gramática JSON -| Nombre | Tipos de datos | Valores posibles | -| :------------- | -------------- | ------------------------------------------------------------- | -| popupPlacement | string | | +| Nombre | Tipos de datos | Valores posibles | +| :------------- | -------------- | ------------------------------------------------------------------ | +| popupPlacement | string | | #### Objetos soportados -[Toolbar Button](button_overview.md#toolbar) - [Bevel Button](button_overview.md#bevel) - [Rounded Bevel Button](button_overview.md#rounded-bevel) - [OS X Gradient Button](button_overview.md#os-x-gradient) - [OS X Textured Button](button_overview.md#os-x-textured) - [Office XP Button](button_overview.md#office-xp) - [Custom](button_overview.md#custom) +[Botón de barra de herramientas](button_overview.md#toolbar) - [Botón biselado](button_overview.md#bevel) - [Botón biselado redondeado](button_overview.md#rounded-bevel) - [Botón de degradado OS X](button_overview.md#os-x-gradient) - [Botón con textura OS X](button_overview.md#os-x-textured) - [Botón Office XP](button_overview.md#office-xp) - [Personalizado](button_overview.md#custom) #### Comandos diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_WebArea.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_WebArea.md index c073246b04fb27..3c327b4d17a973 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_WebArea.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_WebArea.md @@ -29,7 +29,7 @@ Cuando esta propiedad está activada, se instancia un objeto JavaScript especial Nombre de una variable de tipo Longint. Esta variable recibirá un valor entre 0 y 100, que representa el porcentaje de finalización de la carga de la página en el área web. Actualizado automáticamente por 4D, no puede ser modificado manualmente. -> As of 4D 19 R5, this variable is only updated on Windows if the Web area [uses the embedded Web rendering engine](properties_WebArea.md#use-embedded-web-rendering-engine). +> A partir de 4D 19 R5, esta variable solo se actualiza en Windows si el área Web [utiliza el motor de renderizado Web anidado](properties_WebArea.md#use-embedded-web-rendering-engine). #### Gramática JSON @@ -85,16 +85,16 @@ Esta opción permite elegir entre dos motores de renderizado para el área web, > En Windows, si Microsoft Edge WebView2 no está instalado, 4D utiliza el motor integrado como motor de renderizado del sistema. Para saber si está instalado en su sistema, busque "Microsoft Edge WebView2 Runtime" en su panel de aplicaciones. -- **marcado** - `valor JSON: anidado`: en este caso, 4D utiliza Chromium Embedded Framework (CEF). La utilización del motor web integrado significa que la representación de las áreas web y su funcionamiento en su aplicación son idénticos independientemente de la plataforma utilizada para ejecutar 4D (no obstante, pueden observarse ligeras variaciones de píxeles o diferencias relacionadas con la implementación de la red). When this option is chosen, you no longer benefit from automatic updates of the Web engine performed by the operating system; however, [new versions of the engines are regularly provided through 4D](../Notes/updates.md#library-table). +- **marcado** - `valor JSON: anidado`: en este caso, 4D utiliza Chromium Embedded Framework (CEF). La utilización del motor web integrado significa que la representación de las áreas web y su funcionamiento en su aplicación son idénticos independientemente de la plataforma utilizada para ejecutar 4D (no obstante, pueden observarse ligeras variaciones de píxeles o diferencias relacionadas con la implementación de la red). Cuando se elige esta opción, ya no se beneficia de las actualizaciones automáticas del motor Web realizadas por el sistema operativo; sin embargo, [las nuevas versiones de los motores se proporcionan regularmente a través de 4D](../Notes/updates.md#library-table). El motor CEF tiene las siguientes limitaciones: -- [`WA SET PAGE CONTENT`](../commands-legacy/wa-set-page-content.md): using this command requires that at least one page is already loaded in the area (through a call to [`WA OPEN URL`](../commands-legacy/wa-open-url.md) or an assignment to the URL variable associated to the area). -- When URL drops are enabled by the `WA enable URL drop` selector of the [`WA SET PREFERENCE`](../commands-legacy/wa-set-preference.md) command, the first drop must be preceded by at least one call to [`WA OPEN URL`](../commands-legacy/wa-open-url.md) or one assignment to the URL variable associated to the area. +- [`WA SET PAGE CONTENT`](../commands-legacy/wa-set-page-content.md): el uso de este comando requiere que al menos una página ya esté cargada en el área (mediante una llamada a [`WA OPEN URL`](../commands-legacy/wa-open-url.md) o una asignación a la variable URL asociada al área). +- Cuando se habilita soltar URL mediante el selector `WA enable URL drop` del comando [`WA SET PREFERENCE`](../commands-legacy/wa-set-preference.md), la primera caída debe ir precedida de al menos una llamada a [`WA OPEN URL`](../commands-legacy/wa-open-url.md) o una asignación a la variable URL asociada al área. :::note -Puede personalizar los parámetros del área de CEF creando un [archivo de configuración 4DCEFParameters.json] local (webArea_overview.md#4dcefparametersjson). +Puede personalizar los parámetros del área de CEF creando un [archivo de configuración local [4DCEFParameters.json](webArea_overview.md#4dcefparametersjson). ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/webArea_overview.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/webArea_overview.md index 5dbbfb98dc7ad5..83ca9da2a5a55f 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/webArea_overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/FormObjects/webArea_overview.md @@ -11,11 +11,11 @@ Varias [acciones estándar](#standard-actions) dedicadas, numerosos [comandos de ## Mostrar páginas Qodly -Web areas can be used to display [Qodly pages](https://developer.4d.com/qodly/4DQodlyPro/pageLoaders/pageLoaderOverview) and provide 4D desktop application users with modern, CSS-based web interface. +Las áreas web pueden utilizarse para mostrar [páginas Qodly](https://developer.4d.com/qodly/4DQodlyPro/pageLoaders/pageLoaderOverview) y proporcionar a los usuarios de la aplicación de escritorio 4D una moderna interfaz web basada en CSS. -You can embed a Qodly page inside a Web Area and then update [Qodly sources](https://developer.4d.com/qodly/4DQodlyPro/pageLoaders/qodlySources) from 4D by calling [`WA EXECUTE JAVASCRIPT FUNCTION`](../commands-legacy/wa-execute-javascript-function.md). +Puede integrar una página Qodly en un área Web y luego actualizar [las fuentes Qodly](https://developer.4d.com/qodly/4DQodlyPro/pageLoaders/qodlySources) desde 4D llamando a [`WA EXECUTE JAVASCRIPT FUNCTION`](../commands-legacy/wa-execute-javascript-function.md). -In 4D client/server applications, Qodly pages inside Web areas can [share their session with the remote user](../Desktop/sessions.md#sharing-a-desktop-session-for-web-accesses) for a high level of security. +En las aplicaciones cliente/servidor 4D, las páginas Qodly en las áreas Web pueden [compartir su sesión con el usuario remoto](../Desktop/sessions.md#sharing-a-desktop-session-for-web-accesses) para un alto nivel de seguridad. :::tip Entrada de blog relacionada @@ -32,7 +32,7 @@ Se pueden asociar dos variables específicas a cada área web: - [`URL`](properties_WebArea.md#url) --para controlar la URL mostrada por el área web - [`Progression`](properties_WebArea.md#progression) -- para controlar el porcentaje de carga de la página mostrada en el área web. -> As of 4D 19 R5, the Progression variable is no longer updated in Web Areas using the [Windows system rendering engine](./webArea_overview.md#web-rendering-engine). +> A partir de 4D 19 R5, la variable Progression ya no se actualiza en las Áreas Web que utilizan el [motor de renderizado del sistema Windows](./webArea_overview.md#web-rendering-engine). ### Motor de renderización web @@ -134,11 +134,11 @@ En lugar de utilizar un método independiente, también podemos utilizar una fun Define una clase usuario 4D "SumCalculator" con una función `calcSum` que recibe parámetros y devuelve su suma: ```4d -// SumCalculator user class +// Clase usuario SumCalculator -Function calcSum(... : Real) -> $sum : Real - // receives n Real type parameters - // and returns a Real +Función calcSum(... : Real) -> $sum : Real + // recibe n parámetros de tipo Real + // y devuelve un Real var $i; $n : Integer $n := Count parameters @@ -222,11 +222,11 @@ Puede visualizar y utilizar un inspector web dentro de las áreas web de sus for Para mostrar el inspector Web, puede ejecutar el comando `WA OPEN WEB INSPECTOR` o utilizar el menú contextual del área web. -- **Execute the `WA OPEN WEB INSPECTOR` command**
    - This command can be used directly with onscreen (form object) and offscreen web areas. +- \*\*Ejecute el comando `WA OPEN WEB INSPECTOR`
    + Este comando se puede utilizar directamente con áreas web en pantalla (objeto formulario) y fuera de ella. -- **Use the web area context menu**
    - This feature can only be used with onscreen web areas and requires that the following conditions are met: +- **Utilizar el menú contextual del área web**
    + Esta función sólo puede utilizarse con áreas web en pantalla y requiere que se cumplan las siguientes condiciones: - el [menú contextual](properties_Entry.md#context-menu) del área web está activado - el uso del inspector está expresamente autorizado en el área mediante la siguiente declaración: ```4d @@ -243,7 +243,7 @@ Cuando haya realizado los ajustes como se ha descrito anteriormente, entonces te ## Propiedades soportadas -[Access 4D methods](properties_WebArea.md#access-4d-methods) - [Border Line Style](properties_BackgroundAndBorder.md#border-line-style) - [Bottom](properties_CoordinatesAndSizing.md#bottom) - [Class](properties_Object.md#css-class) - [Context Menu](properties_Entry.md#context-menu) - [Height](properties_CoordinatesAndSizing.md#height) - [Horizontal Sizing](properties_ResizingOptions.md#horizontal-sizing) - [Left](properties_CoordinatesAndSizing.md#left) - [Method](properties_Action.md#method) - [Object Name](properties_Object.md#object-name) - [Progression](properties_WebArea.md#progression) - [Right](properties_CoordinatesAndSizing.md#right) - [Top](properties_CoordinatesAndSizing.md#top) - [Type](properties_Object.md#type) - [URL](properties_WebArea.md#url) - [Use embedded Web rendering engine](properties_WebArea.md#use-embedded-web-rendering-engine) - [Variable or Expression](properties_Object.md#variable-or-expression) - [Vertical Sizing](properties_ResizingOptions.md#vertical-sizing) - [Visibilty](properties_Display.md#visibility) - [Width](properties_CoordinatesAndSizing.md#width) +[Acceso a métodos 4D](properties_WebArea.md#access-4d-methods) - [Estilo de línea de borde](properties_BackgroundAndBorder.md#border-line-style) - [Fondo](properties_CoordinatesAndSizing.md#bottom) - [Clase](properties_Object.md#css-class) - [Menú contextual](properties_Entry.md#context-menu) - [Altura](properties_CoordinatesAndSizing.md#height) - [Tamaño horizontal](properties_ResizingOptions.md#horizontal-sizing) - [Izquierda](properties_CoordinatesAndSizing.md#left) - [Método](properties_Action.md#method) - [Nombre del objeto](properties_Object.md#nombre-del-objeto) - [Progresión](properties_WebArea.md#progression) - [Derecha](properties_CoordinatesAndSizing.md#right) - [Arriba](properties_CoordinatesAndSizing.md#top) - [Tipo](properties_Object.md#type) - [URL](properties_WebArea.md#url) - [Usar motor de renderizado web incrustado](properties_WebArea.md#use-embedded-web-rendering-engine) - [Variable o expresión](properties_Object.md#variable-or-expression) - [Tamaño vertical](properties_ResizingOptions.md#vertical-sizing) - [Visibilidad](properties_Display.md#visibility) - [Ancho](properties_CoordinatesAndSizing.md#width) ## 4DCEFParameters.json diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-document.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-document.md index 7103664cffcabe..e11a4322d31b03 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-document.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-document.md @@ -35,14 +35,14 @@ Puede pasar un *filePath* o *fileObj*: Puede omitir el parámetro *format*, en cuyo caso deberá especificar la extensión en *filePath*. También puede pasar una constante del tema *4D Write Pro Constants* en el parámetro *format*. En este caso, 4D añade la extensión apropiada al nombre del archivo si es necesario. Se soportan los siguientes formatos: -| Constante | Valor | Comentario | -| -------------------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk 4wp | 4 | El documento 4D Write Pro se guarda en un formato de archivo nativo (HTML comprimido e imágenes guardadas en una carpeta separada). Se incluyen las etiquetas específicas 4D y no se calculan las expresiones 4D. Este formato es especialmente adecuado para guardar y archivar documentos 4D Write Pro en disco sin pérdida alguna. | -| wk docx | 7 | Extensión .docx. El documento 4D Write Pro se guarda en formato Microsoft Word. Compatibilidad certificada con Microsoft Word 2010 y versiones posteriores.
    The document parts exported are: Note that some 4D Write Pro settings may not be available or may behave differently in Microsoft Word. | -| wk mime html | 1 | El documento 4D Write Pro se guarda como HTML MIME estándar con documentos HTML e imágenes anidadas como partes MIME (codificadas en base64). Se calculan las expresiones y se eliminan las etiquetas específicas de 4D y los enlaces de métodos. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). This format is particularly suitable for sending HTML emails. | -| wk pdf | 5 | Extensión .pdf. El documento 4D Write Pro se guarda en formato PDF, según el modo vista Página. The following metadata is exported in a PDF document: Title / Author / Subject / Content creator
    **Notes**: | -| wk svg | 8 | La página del documento 4D Write Pro se guarda en formato SVG, según el modo vista Página. **Nota:** al exportar a SVG, sólo puede exportar una página cada vez. Utilice el wk page index para especificar qué página exportar. | -| wk web page complete | 2 | Extensión .htm o .html. El documento se guarda como HTML estándar y sus recursos se guardan por separado. Se eliminan las etiquetas 4D y los enlaces a métodos 4D y se calculan las expresiones. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). Only text boxes anchored to embedded view are exported (as divs). | +| Constante | Valor | Comentario | +| -------------------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk 4wp | 4 | El documento 4D Write Pro se guarda en un formato de archivo nativo (HTML comprimido e imágenes guardadas en una carpeta separada). Se incluyen las etiquetas específicas 4D y no se calculan las expresiones 4D. Este formato es especialmente adecuado para guardar y archivar documentos 4D Write Pro en disco sin pérdida alguna. | +| wk docx | 7 | Extensión .docx. El documento 4D Write Pro se guarda en formato Microsoft Word. Compatibilidad certificada con Microsoft Word 2010 y versiones posteriores.
    Las partes del documento exportadas son: Tenga en cuenta que algunos ajustes de 4D Write Pro pueden no estar disponibles o comportarse de forma diferente en Microsoft Word. | +| wk mime html | 1 | El documento 4D Write Pro se guarda como HTML MIME estándar con documentos HTML e imágenes anidadas como partes MIME (codificadas en base64). Se calculan las expresiones y se eliminan las etiquetas específicas de 4D y los enlaces de métodos. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). Este formato es especialmente adecuado para enviar correos electrónicos HTML. | +| wk pdf | 5 | Extensión .pdf. El documento 4D Write Pro se guarda en formato PDF, según el modo vista Página. Los siguientes metadatos se exportan en un documento PDF: Título / Autor / Asunto / Creador del contenido
    **Notas**: | +| wk svg | 8 | La página del documento 4D Write Pro se guarda en formato SVG, según el modo vista Página. **Nota:** al exportar a SVG, sólo puede exportar una página cada vez. Utilice el wk page index para especificar qué página exportar. | +| wk web page complete | 2 | Extensión .htm o .html. El documento se guarda como HTML estándar y sus recursos se guardan por separado. Se eliminan las etiquetas 4D y los enlaces a métodos 4D y se calculan las expresiones. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). Only text boxes anchored to embedded view are exported (as divs). | **Notas:** @@ -53,7 +53,7 @@ Puede omitir el parámetro *format*, en cuyo caso deberá especificar la extensi ### Parámetro option -Pass in *option* an object containing the values to define the properties of the exported document. Las siguientes propiedades están disponibles: +Pase en *option* un objeto que contenga los valores para definir las propiedades del documento exportado. Las siguientes propiedades están disponibles: | Constante | Valor | Comentario | | ------------------------------------------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -69,7 +69,7 @@ Pass in *option* an object containing the values to define the properties of the | wk pdfa version | pdfaVersion | Exporta PDF conforme a una versión PDF/A. Para más información sobre las propiedades y versiones de PDF/A, consulte la [página PDF/A en Wikipedia](https://en.wikipedia.org/wiki/PDF/A). Valores posibles:
  • `wk pdfa2`: exporta a la versión "PDF/A-2"
  • `wk pdfa3`: exporta a la versión "PDF/A-3"
  • **Nota:** en macOS, `wk pdfa2` puede exportar a PDF/A-2 o PDF/A-3 o superior, dependiendo de la implementación de la plataforma. Además, `wk pdfa3` significa "exporta a *al menos* PDF/A-3". En Windows, el archivo PDF de salida siempre será igual a la conformidad deseada. | | wk recompute formulas | recomputeFormulas | Define si las fórmulas deben volver a calcularse cuando se exportan. Valores posibles:
  • true - Valor por defecto. Se vuelven a calcular todas las fórmulas
  • false - No se vuelven a calcular las fórmulas
  • | | wk visible background and anchored elements | visibleBackground | Muestra o exporta imágenes/color de fondo, imágenes ancladas y cuadros de texto (para mostrar, efecto visible sólo en modo de vista Página o Anidado). Valores posibles: True/False | -| wk visible empty images | visibleEmptyImages | Muestra o exporta un rectángulo negro por defecto para las imágenes que no se pueden cargar o calcular (imágenes vacías o imágenes en un formato no compatible). Valores posibles: True/False. Valor por defecto: True. If value is False, missing image elements will not be displayed at all even if they have borders, width, height, or background; this may impact the page layout for inline images. | +| wk visible empty images | visibleEmptyImages | Muestra o exporta un rectángulo negro por defecto para las imágenes que no se pueden cargar o calcular (imágenes vacías o imágenes en un formato no compatible). Valores posibles: True/False. Valor por defecto: True. Si el valor es False, los elementos de imagen que falten no se mostrarán en absoluto aunque tengan bordes, ancho, alto o fondo; esto puede afectar al diseño de la página para las imágenes en línea. | | wk visible footers | visibleFooters | Muestra o exporta los pies de página (para la visualización, efecto visible sólo en el modo vista Página). Valores posibles: True/False | | wk visible headers | visibleHeaders | Muestra o exporta los encabezados (para la visualización, efecto visible sólo en el modo vista Página). Valores posibles: True/False | | wk visible references | visibleReferences | Muestra o exporta todas las expresiones 4D insertadas en el documento como referencias. Valores posibles: True/False | @@ -97,20 +97,20 @@ La siguiente tabla indica la *option* disponible por *format* de exportación: | wk visible references | \- | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (por defecto: false) | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (por defecto: false) | | wk whitespace | \- | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (por defecto: "pre-wrap") | \- | ![](../../assets/en/WritePro/commands/pict5058606.en.png) (por defecto: "pre-wrap") | \- | -**Compatibility Note:** Passing a *longint* value in *option* is supported for compatibility reasons, but it is recommended to use an object parameter. +**Nota de compatibilidad:** pasar un valor *longint* en *option* se soporta por razones de compatibilidad, pero se recomienda usar un parámetro object. ### colección wk files La propiedad wk files permite [exportar un PDF con archivos adjuntos](https://blog.4d.com/4d-write-pro-export-to-pdf-with-enclosures). Esta propiedad debe contener una colección de objetos que describan los archivos que se integrarán en el documento final. Cada objeto de la colección puede contener las siguientes propiedades: -| **Propiedad** | **Tipo** | **Description** | -| ------------- | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| name | Text | Nombre de archivo. Opcional si se utiliza la propiedad *file*, en cuyo caso el nombre se infiere por defecto a partir del nombre del archivo. Obligatorio si se utiliza la propiedad *data* (excepto para el primer archivo de una exportación Factur-X, en cuyo caso el nombre del archivo es automáticamente "factur-x.xml", ver abajo) | -| description | Text | Opcional. Si se omite, el valor por defecto para el primer archivo de exportación a Factur-X es "Factur-X/ZUGFeRD Invoice", en caso contrario vacío. | -| mimeType | Text | Opcional. Si se omite, el valor predeterminado puede adivinarse normalmente a partir de la extensión del archivo; de lo contrario, se utiliza "application/octet-stream". Si se pasa, asegúrese de utilizar un tipo mime ISO, de lo contrario el archivo exportado podría no ser válido. | -| data | Texto o BLOB | Obligatorio si falta la propiedad *file* | -| file | Objeto 4D.File | Obligatorio si falta la propiedad *data*, ignorado en caso contrario. | -| relationship | Text | Opcional. Si se omite, el valor por defecto es "Data". Possible values for Factur-X first file: | +| **Propiedad** | **Tipo** | **Description** | +| ------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| name | Text | Nombre de archivo. Opcional si se utiliza la propiedad *file*, en cuyo caso el nombre se infiere por defecto a partir del nombre del archivo. Obligatorio si se utiliza la propiedad *data* (excepto para el primer archivo de una exportación Factur-X, en cuyo caso el nombre del archivo es automáticamente "factur-x.xml", ver abajo) | +| description | Text | Opcional. Si se omite, el valor por defecto para el primer archivo de exportación a Factur-X es "Factur-X/ZUGFeRD Invoice", en caso contrario vacío. | +| mimeType | Text | Opcional. Si se omite, el valor predeterminado puede adivinarse normalmente a partir de la extensión del archivo; de lo contrario, se utiliza "application/octet-stream". Si se pasa, asegúrese de utilizar un tipo mime ISO, de lo contrario el archivo exportado podría no ser válido. | +| data | Texto o BLOB | Obligatorio si falta la propiedad *file* | +| file | Objeto 4D.File | Obligatorio si falta la propiedad *data*, ignorado en caso contrario. | +| relationship | Text | Opcional. Si se omite, el valor por defecto es "Data". Valores posibles para el primer archivo de Factur-X: | Si el parámetro *option* también contiene una propiedad wk factur x, entonces el primer elemento de la colección wk files debe ser el fichero xml de la factura Factur-X (ZUGFeRD) (ver más abajo). @@ -270,7 +270,7 @@ WP EXPORT DOCUMENT(WParea; $file; wk docx; $options) ## Ver también -[4D QPDF (Component) - PDF Get attachments](https://github.com/4d/4D-QPDF)
    +[4D QPDF (Componente) - PDF Get attachments](https://github.com/4d/4D-QPDF)
    [Exporting to HTML and MIME HTML formats](../user-legacy/exporting-to-html-and-mime-html-formats.md)
    [Importing and Exporting in .docx format](../user-legacy/importing-and-exporting-in-docx-format.md)
    [Blog post - 4D Write Pro: Electronic invoice generation](https://blog.4d.com/4d-write-pro-electronic-invoice-generation)
    diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-variable.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-variable.md index 231857bc3e90fd..6dde913623443d 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-variable.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-variable.md @@ -34,14 +34,14 @@ En *destination*, pase la variable que quiere llenar con el objeto exportado de En el parámetro *format*, pase una constante del tema *4D Write Pro Constants* para definir el formato de exportación que desea utilizar. Cada formato está relacionado con un uso específico. Se soportan los siguientes formatos: -| Constante | Tipo | Valor | Comentario | -| ------------------- | ------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk 4wp | Integer | 4 | El documento 4D Write Pro se guarda en un formato de archivo nativo (HTML comprimido e imágenes guardadas en una carpeta separada). Se incluyen las etiquetas específicas 4D y no se calculan las expresiones 4D. Este formato es especialmente adecuado para guardar y archivar documentos 4D Write Pro en disco sin pérdida alguna. | -| wk docx | Integer | 7 | Extensión .docx. El documento 4D Write Pro se guarda en formato Microsoft Word. Compatibilidad certificada con Microsoft Word 2010 y versiones posteriores.
    The document parts exported are: Note that some 4D Write Pro settings may not be available or may behave differently in Microsoft Word. | -| wk mime html | Integer | 1 | El documento 4D Write Pro se guarda como HTML MIME estándar con documentos HTML e imágenes anidadas como partes MIME (codificadas en base64). Se calculan las expresiones y se eliminan las etiquetas específicas de 4D y los enlaces de métodos. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). This format is particularly suitable for sending HTML emails. | -| wk pdf | Integer | 5 | Extensión .pdf. El documento 4D Write Pro se guarda en formato PDF, según el modo vista Página. Los siguientes metadatos se exportan en un documento PDF: Título Autor Asunto Creador del contenido **Notas**: Las expresiones se congelan automáticamente al exportar el documento Los enlaces a métodos NO se exportan | -| wk svg | Integer | 8 | La página del documento 4D Write Pro se guarda en formato SVG, según el modo vista Página. **Nota:** al exportar a SVG, sólo puede exportar una página cada vez. Utilice el wk page index para especificar qué página exportar. | -| wk web page html 4D | Integer | 3 | El documento 4D Write Pro se guarda como HTML e incluye etiquetas específicas 4D; cada expresión se inserta como un espacio inseparable. Como este formato no tiene pérdidas, es apropiado para almacenar propósitos en un campo de texto. | +| Constante | Tipo | Valor | Comentario | +| ------------------- | ------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk 4wp | Integer | 4 | El documento 4D Write Pro se guarda en un formato de archivo nativo (HTML comprimido e imágenes guardadas en una carpeta separada). Se incluyen las etiquetas específicas 4D y no se calculan las expresiones 4D. Este formato es especialmente adecuado para guardar y archivar documentos 4D Write Pro en disco sin pérdida alguna. | +| wk docx | Integer | 7 | Extensión .docx. El documento 4D Write Pro se guarda en formato Microsoft Word. Compatibilidad certificada con Microsoft Word 2010 y versiones posteriores.
    The document parts exported are: Tenga en cuenta que algunos ajustes de 4D Write Pro pueden no estar disponibles o comportarse de forma diferente en Microsoft Word. | +| wk mime html | Integer | 1 | El documento 4D Write Pro se guarda como HTML MIME estándar con documentos HTML e imágenes anidadas como partes MIME (codificadas en base64). Se calculan las expresiones y se eliminan las etiquetas específicas de 4D y los enlaces de métodos. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). This format is particularly suitable for sending HTML emails. | +| wk pdf | Integer | 5 | Extensión .pdf. El documento 4D Write Pro se guarda en formato PDF, según el modo vista Página. Los siguientes metadatos se exportan en un documento PDF: Título Autor Asunto Creador del contenido **Notas**: Las expresiones se congelan automáticamente al exportar el documento Los enlaces a métodos NO se exportan | +| wk svg | Integer | 8 | La página del documento 4D Write Pro se guarda en formato SVG, según el modo vista Página. **Nota:** al exportar a SVG, sólo puede exportar una página cada vez. Utilice el wk page index para especificar qué página exportar. | +| wk web page html 4D | Integer | 3 | El documento 4D Write Pro se guarda como HTML e incluye etiquetas específicas 4D; cada expresión se inserta como un espacio inseparable. Como este formato no tiene pérdidas, es apropiado para almacenar propósitos en un campo de texto. | **Notas:** diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-get.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-get.md index 2484657b991183..9c8dd582df92ea 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-get.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-get.md @@ -52,7 +52,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por ejemplo, puede pasar las siguientes cadenas: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Durante las peticiones HTTPS, la autoridad del certificado no se verifica. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-request.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-request.md index a9a31202971f07..39f0fef63e414b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-request.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-request.md @@ -65,7 +65,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por ejemplo, puede pasar las siguientes cadenas: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Durante las peticiones HTTPS, la autoridad del certificado no se verifica. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3.json b/i18n/es/docusaurus-plugin-content-docs/version-21-R3.json index 4a197468507c27..9dc7af624f0a82 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3.json +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3.json @@ -20,11 +20,11 @@ "description": "The generated-index page title for category 'Project & IDE' in sidebar 'docs'" }, "sidebar.docs.category.Exploring Projects": { - "message": "Exploring Projects", + "message": "Explorar los proyectos", "description": "The label for category 'Exploring Projects' in sidebar 'docs'" }, "sidebar.docs.category.Database Structure": { - "message": "Database Structure", + "message": "Estructura de la base de datos", "description": "The label for category 'Database Structure' in sidebar 'docs'" }, "sidebar.docs.category.Methods & Classes": { diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Admin/data-collect.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Admin/data-collect.md index e296967e83521d..a946d456db01c3 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Admin/data-collect.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Admin/data-collect.md @@ -124,7 +124,7 @@ También se recogen algunos datos a intervalos regulares. | totalExecutionTime | Number | Tiempo total de ejecución de la CPU: suma de todos los tipos de peticiones | | totalRequests | Number | Total requests: sum of web, REST, SOAP, SQL, and internal traffic | | webServer | Object | Objeto que contiene información sobre el servidor web | -| webServer.bytesIn | Number | Bytes received by the Web server | +| webServer.bytesIn | Number | Bytes recibidos por el servidor web | | webServer.bytesOut | Number | Bytes sent by the Web server | | webServer.hits | Number | Number of hits on the Web server | | webServer.executionTime | Number | Tiempo de ejecución de la CPU para el servidor Web | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Concepts/classes.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Concepts/classes.md index ad9a371a378d93..9c49847c00d8c0 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Concepts/classes.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Concepts/classes.md @@ -844,7 +844,7 @@ $myList := cs.ItemInventory.me.itemList ::: -## `local` and `server` +## `local` y `server` In [client/server architecture](../Desktop/clientServer.md), `local` and `server` keywords allow you to specify where you want the function to be executed: client-side, or server-side. Controlling the execution location is useful for performance reasons or to implement business logic features. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Concepts/quick-tour.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Concepts/quick-tour.md index ccd266f50d9bae..973cc96750bb4f 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Concepts/quick-tour.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Concepts/quick-tour.md @@ -454,13 +454,13 @@ In the 4D language documentation, the following parameter types can be used. | Campo | Una referencia a un campo perteneciente a una tabla. | ORDER BY([Person];[Person]Name) | | Integer | A whole number without decimal part. | $Sel:=ds.Employee.newSelection(dk keep ordered) | | Integer array | Un array que contiene valores enteros. | ARRAY INTEGER($numbers;10) | -| Longint array | Un array que contiene valores enteros largos. | ARRAY LONGINT($values;10) | +| Array entero largo | Un array que contiene valores enteros largos. | ARRAY LONGINT($values;10) | | Object array | An array containing objects. | ARRAY OBJECT($objects;10) | | Object | Contenedor de datos estructurados compuesto por pares llave/valor. | $entity.fromObject($o) | | Operador | Siempre \*. | QUERY([Person];[Person]Name="Smith";\*) | -| Picture array | An array containing pictures. | ARRAY PICTURE($images;10) | +| Array de imágenes | An array containing pictures. | ARRAY PICTURE($images;10) | | Picture | Un valor de imagen gráfica. | READ PICTURE FILE($pic;"image.png") | -| Pointer array | An array containing pointers. | ARRAY POINTER($ptrs;10) | +| Array de punteros | An array containing pointers. | ARRAY POINTER($ptrs;10) | | Puntero | Una referencia a otra variable, campo u objeto. | If(Is nil pointer($ptr)) | | Real array | Un array que contiene números reales. | ARRAY REAL($values;10) | | Real | A floating-point numeric value. | $vlResult:=Int(123.4) | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Desktop/clientServer.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Desktop/clientServer.md index 20f413c898ce6c..41f3073f7f1362 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Desktop/clientServer.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Desktop/clientServer.md @@ -131,7 +131,7 @@ In a client/server application, it is important to know where your code will be The following table summarizes where the code is executed by default and how to switch its execution location (if allowed). Note that **local** means that the code will be executed on the machine from where it is actually called. -| Code | Ejecución por defecto | How to switch | +| Code | Ejecución por defecto | Cómo cambiar | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | [ORDA data model functions](../ORDA/ordaClasses.md) | server | use `local` keyword in function definition | | ORDA computed attribute functions [`get()`](../ORDA/ordaClasses.md#function-get-attributename), [`set()`](../ORDA/ordaClasses.md#function-set-attributename) | server | use `local` keyword in function definition | @@ -145,6 +145,6 @@ The following table summarizes where the code is executed by default and how to | Project method called from a client | client | check [**Execute on server** option](../Project/project-method-properties.md#execute-on-server). The code is executed in the twin process of the [user session process](./sessions.md#remote-user-sessions-remote-user-sessions) | | | | call [`Execute on server`](../commands/execute-on-server) command. The code is executed in the [Stored procedures session](./sessions.md#stored-procedure-sessions-stored-procedure-sessions) | | Project method called from a stored procedure on the server | server | llame al comando [`EXECUTE ON CLIENT`](../commands/execute-on-client). The target client must have been [registered](../commands/register-client) | -| Object method | local | n/a | +| Método objeto | local | n/a | | Database methods: | server | n/a | | Database methods: | client | n/a | \ No newline at end of file diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md index 2d16a25f5e420f..521873b104f0a5 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md @@ -16,21 +16,22 @@ Synchronous execution is used when: - La ejecución de las tareas debe seguir un orden estricto. - El impacto en el rendimiento es mínimo (por ejemplo, operaciones rápidas). - Se ejecuta en un contexto de un solo hilo donde el bloqueo es aceptable. -- La ejecución síncrona bloquea la interfaz de usuario y es más adecuada para tareas rápidas y ordenadas en las que el bloqueo es aceptable. + +La ejecución síncrona bloquea la interfaz de usuario y es más adecuada para tareas rápidas y ordenadas en las que el bloqueo es aceptable. #### Ejecución asíncrona -La ejecución asincrónica es **event-driiven** y permite que otras operaciones se completen. Se basa en **callbacks**, **workers** y **event handlers** para gestionar el flujo de ejecución. +Asynchronous execution is **event-driven** and allows other operations to complete. Se basa en **callbacks**, **workers** y **event handlers** para gestionar el flujo de ejecución. La ejecución asíncrona se utiliza cuando: - Una operación tarda mucho tiempo (por ejemplo, esperando una respuesta del servidor). - La capacidad de respuesta es fundamental (por ejemplo, las interacciones de la interfaz de usuario). -- Realización de tareas en segundo plano, comunicación en red o procesamiento paralelo. +- Background tasks, network communication, or parallel processing are performed. Elegir entre ejecución síncrona y asíncrona: -| Scenario | Mejor enfoque | +| Escenario | Mejor enfoque | | ------------------------------------------------------ | ------------- | | Operaciones rápidas con un procesamiento mínimo | **Síncrono** | | Tareas que requieren un orden de ejecución estricto | **Síncrono** | @@ -41,31 +42,31 @@ Elegir entre ejecución síncrona y asíncrona: ## Principios básicos -4D ofrece capacidades integradas de **ejecución asíncrona** a través de varias clases y comandos. These allow background task execution, network communication, and large data processing, while waiting other operations to complete without blocking the current process. +4D ofrece capacidades integradas de **ejecución asíncrona** a través de varias clases y comandos. Permiten la ejecución de tareas en segundo plano, la comunicación en red y el procesamiento de grandes volúmenes de datos, mientras se espera a que se completen otras operaciones sin bloquear el proceso actual. -The general concept of asynchronous event management in 4D is based on an asynchronous messaging model using **workers** (processes that listen to events) and **callbacks** (functions or formulas automatically invoked when an event occurs). Instead of waiting for a result (synchronous mode), you provide a function that will be automatically called when the desired event occurs. Las retrollamadas se pueden pasar como funciones clase (recomendado) o como objetos Formula. +El concepto general de gestión de eventos asíncronos en 4D se basa en un modelo de mensajería asíncrona que utiliza **workers** (procesos que escuchan eventos) y **callbacks** (funciones o fórmulas invocadas automáticamente cuando se produce un evento). En lugar de esperar un resultado (modo sincrónico), proporciona una función que será llamada automáticamente cuando ocurra el evento deseado. Las retrollamadas se pueden pasar como funciones clase (recomendado) o como objetos Formula. -This model is common to [`CALL WORKER`](../commands/call-worker), [`CALL FORM`](../commands/call-form), and [classes that support aynchronous execution](#asynchronous-programming-with-4d-classes). Todos estos comandos/clases inician una operación que se ejecuta en segundo plano. La sentencia que lanza la operación retorna inmediatamente, sin esperar a que la operación finalice. +Este modelo es común a [`CALL WORKER`](../commands/call-worker), [`CALL FORM`](../commands/call-form), y [clases que soportan la ejecución ayncrónica](#asynchronous-programming-with-4d-classes). Todos estos comandos/clases inician una operación que se ejecuta en segundo plano. La sentencia que lanza la operación retorna inmediatamente, sin esperar a que la operación finalice. ### Workers -Asynchronous programming relies on a system of [**workers**](../Develop/processes.md#worker-processes) (worker processes), which allows code to be executed in parallel without blocking the main process. This is particularly useful for long tasks (such as HTTP calls, executing external processes, background processing), while keeping the user interface responsive. +La programación asíncrona se basa en un sistema de [**workers**](../Develop/processes.md#worker-processes) (procesos workers), que permite ejecutar código en paralelo sin bloquear el proceso principal. Esto resulta especialmente útil para tareas largas (como llamadas HTTP, ejecución de procesos externos, procesamiento en segundo plano), al tiempo que se mantiene la capacidad de respuesta de la interfaz de usuario. -Using worker processes in asynchronous programming **is mandatory** since "classic" processes automatically terminate their execution when the process method ends, thus using callbacks is not possible. Un proceso worker permanece vivo y puede **escuchar eventos**. +Utilizar procesos worker en programación asíncrona **es obligatorio** ya que los procesos "clásicos" terminan automáticamente su ejecución cuando el método del proceso finaliza, por lo que utilizar retrollamadas no es posible. Un proceso worker permanece vivo y puede **escuchar eventos**. -### Event queue (mailbox) +### Cola de eventos (buzón) Cada worker (o ventana de formulario para [`CALL FORM`](../commands/call-form)) tiene su propia cola de mensajes. [`CALL WORKER`](../commands/call-worker) o [`CALL FORM`](../commands/call-form) simplemente envía un mensaje a esta cola. El worker trata los mensajes uno a uno, en el orden en que llegan, dentro de su propio contexto. Se conservan las variables de proceso, las selecciones actuales, etc. ### Comunicación bidireccional mediante mensajes -El proceso llamante envía un mensaje y el worker lo ejecuta. The worker can in turn post a message (via [`CALL WORKER`](../commands/call-worker) or [`CALL FORM`](../commands/call-form)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). Este mecanismo sustituye al retorno clásico de las llamadas síncronas. +El proceso llamante envía un mensaje y el worker lo ejecuta. El worker puede publicar a su vez un mensaje (a través de [`CALL WORKER`](../commands/call-worker) o [`CALL FORM`](../commands/call-form)) de vuelta a la persona que llama u otro worker para notificar un evento (finalización de tarea, datos recibidos, error, progreso, etc.). Este mecanismo sustituye al retorno clásico de las llamadas síncronas. -### Event listening +### Escucha de eventos -In event-driven development, it is obvious that some code must be able to listen for incoming events. Events can be generated by the user interface (such as a mouse click on an object or a keyboard key pressed) or by any other interaction such as an http request or the end of another action. For example, when a form is displayed using the `DIALOG` command, user actions can trigger events that your code can process. Al hacer clic en un botón se activará el código asociado al botón. +En el desarrollo dirigido por eventos, es obvio que parte del código debe ser capaz de escuchar los eventos entrantes. Los eventos pueden ser generados por la interfaz de usuario (como un clic del ratón sobre un objeto o la pulsación de una tecla del teclado) o por cualquier otra interacción, como una petición http o el final de otra acción. Por ejemplo, cuando se muestra un formulario utilizando el comando `DIALOG`, las acciones del usuario pueden desencadenar eventos que su código puede procesar. Al hacer clic en un botón se activará el código asociado al botón. -In the context of asynchronous execution, the following features place your code in listening mode: +En el contexto de la ejecución asíncrona, las siguientes funcionalidades colocan su código en modo de escucha: - [`CALL WORKER`](../commands/call-worker) ejecuta el código para el que ha sido llamado, luego vuelve a un estado de escucha desde donde puede ser llamado posteriormente. - [`CALL FORM`](../commands/call-form) abre un formulario y lo hace escuchar los mensajes entrantes de la cola de eventos. @@ -77,21 +78,21 @@ Los eventos se activan automáticamente durante el flujo de ejecución y se pasa ### Contexto de ejecución de retrollamada -When 4D execute one of your callbacks, it does so in the context of the current process (worker), i.e. if your object is instantiated inside a form, the callback function will be executed in the context of that same form. +Cuando 4D ejecuta una de sus retrollamdas, lo hace en el contexto del proceso actual (worker), es decir, si su objeto está instanciado dentro de un formulario, la función callback se ejecutará en el contexto de ese mismo formulario. -For callbacks to work properly in fully asynchronous mode, the operation should generally be launched from a worker (via `CALL WORKER`). If launched from a process handling UI, some callbacks may not be called until the UI is listening events. +Para que las retrollamadas funcionen correctamente en modo totalmente asíncrono, la operación debe lanzarse generalmente desde un worker (mediante `CALL WORKER`). Si se lanza desde un proceso que maneja la interfaz de usuario, algunas retrollamadas pueden no ser invocadas hasta que la interfaz de usuario esté escuchando eventos. -### Releasing an asynchronous object +### Liberar un objeto asíncrono En 4D, todos los objetos son liberados [cuando no existen más referencias](../Concepts/dt_object.md#resources) a ellos en memoria. Esto suele ocurrir al final de la ejecución de un método para variables locales. Para las clases asíncronas, 4D mantiene siempre una **referencia adicional** en el proceso que instanciaba el objeto. Esta referencia sólo se libera cuando finaliza la operación, es decir, después de que se active el evento `onTerminate`. Esta referencia automática permite a su objeto sobrevivir aunque no lo haya mencionado específicamente en una variable. -Si desea "forzar" la liberación de un objeto en cualquier momento, utilice un `. hutdown()` o función `terminate()`; desencadena el evento 'onTerminate\` así libera el objeto. +Si desea "forzar" la liberación de un objeto en cualquier momento, utilice un `. hutdown()` o función `terminate()`; desencadena el evento 'onTerminate\\` así libera el objeto. ### Ejemplos que ilustran el concepto común -| Feature | Lanzamiento asíncrono | Callback / Event Handling | +| Funcionalidad | Lanzamiento asíncrono | Retrollamada / Gestión de eventos | | ------------------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | | CALL WORKER | CALL WORKER("wk"; "MyMethod"; $params) | MyMethod se llama con $params | | CALL FORM | CALL FORM($win; "MyMethod"; $params) | MyMethod se llama con $params | @@ -109,23 +110,23 @@ Varias clases 4D soportan el procesamiento asíncrono: - [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. - [`WebSocketServer`](../API/WebSocketServerClass.md) - Gestiona las conexiones del servidor WebSocket. -Todas estas clases siguen las mismas reglas de ejecución asíncrona. Su constructor acepta un parámetro *options* que se usa para configurar su objeto asíncrono. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. Por ejemplo, puede crear una función `onResponse()` en la clase, que será llamada automáticamente de forma asíncrona cuando se dispare un evento *reponse*. +Todas estas clases siguen las mismas reglas de ejecución asíncrona. Su constructor acepta un parámetro *options* que se usa para configurar su objeto asíncrono. Se recomienda que el objeto *options* sea una instancia de [user class](../Concepts/classes.md) que tenga funciones de retrollamada. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. Recomendamos la siguiente secuencia: -1. You create the user class where you declare callback functions, for example a `cs.Params` with `onError()` and `onResponse()` functions. +1. Se crea la clase usuario donde se declaran las funciones de retrollamada, por ejemplo un `cs.Params` con las funciones `onError()` y `onResponse()`. 2. Instanciará la clase usuario (en nuestro ejemplo utilizando `cs.Params.new()`) que configurará su objeto asíncrono. -3. You call the constructor of the 4D class (for example `4D.SystemWorker.new()`) and pass the *options* object as parameter. Inicia las operaciones pasadas inmediatamente sin demora. +3. Se llama al constructor de la clase 4D (por ejemplo `4D.SystemWorker.new()`) y se pasa el objeto *options* como parámetro. Inicia las operaciones pasadas inmediatamente sin demora. -Here is a full example of implementation of an *options* object based upon a user class: +He aquí un ejemplo completo de implementación de un objeto *options* basado en una clase usuario: ```4d -// asynchronous code creation -var $options:=cs.Params.new(10) //see cs.Params class code below +//creación asíncrona de código +var $options:=cs.Params.new(10) //ver código clase cs.Params abajo var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users ";$options) -// "Params" class +// Clase "Params" Class constructor ($timeout : Real) This.dataType:="text" @@ -157,7 +158,7 @@ Function _createFile($title : Text; $textBody : Text) Tenga en cuenta que `onResponse`, `onData`, `onDataError` y `onTerminate` son funciones soportadas por [`4D.SystemWorker`](../API/SystemWorkerClass.md). -Once the user class is instantiated; 4D is put in [event listening](#event-listening) mode, in which case 4D can [trigger an event](#event-triggering) that calls the corresponding function in the user class. +Una vez instanciada la clase usuario; 4D se pone en modo [escucha de eventos](#event-listening), en cuyo caso 4D puede [disparar un evento](#event-triggering) que llame a la función correspondiente en la clase usuario. :::tip @@ -173,7 +174,7 @@ var $options.onResponse:=Formula(myMethod) Incluso cuando se utiliza código moderno y asíncrono, puede ser necesario introducir cierto grado de ejecución síncrona. Por ejemplo, puede querer que una función espere un cierto tiempo para obtener un resultado. Podría ser el caso de conexiones de red rápidas garantizadas o workers del sistema. A continuación, puede forzar la ejecución sincrónica utilizando la función `wait()`. -The **`.wait()`** function pauses execution of the current process and puts 4D in [event listening](#event-listening) mode. Keep in mind that it will trigger events received from any sources, not only from the object on which the `wait()` function was called. +La función **`.wait()`** pausa la ejecución del proceso actual y pone a 4D en modo [escucha de eventos](#event-listening). Tenga en cuenta que activará eventos recibidos de cualquier fuente, no sólo del objeto sobre el que se llamó a la función `wait()`. La función `wait()` retorna cuando el evento `onTerminate` ha sido disparado en el objeto, o cuando el tiempo de espera suministrado (si existe) ha expirado. Por consiguiente, puede salir explícitamente de un `.wait()` llamando a `shutdown()` o `terminate()` desde dentro de una retrollamda. En caso contrario, se sale de `.wait()` cuando finaliza la operación en curso. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Extensions/overview.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Extensions/overview.md index 6752b3bf7a0256..525ee9ea08ec4c 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Extensions/overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/Extensions/overview.md @@ -18,8 +18,7 @@ La [arquitectura del proyecto] 4D (../Project/architecture.md) es abierta y pued 4D propone diferentes componentes a la comunidad 4D, cubriendo muchas necesidades de desarrollo. Todos los componentes 4D se pueden encontrar en el [**repositorio github de 4D**](https://github.com/4d). -A subset of these components is listed by default in the Github panel of the [Dependency Manager](../Project/components.md#adding-a-github-dependency), including: -including: +Un subconjunto de estos componentes se muestra por defecto en el panel de Github del [Administrador de dependencias](../Project/components.md#adding-a-github-dependency), incluyendo: | Componente | Repositorio Github | Descripción | Principales funcionalidades | | -------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox-column.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox-column.md index 885ceb51a2bbea..4a7283efb71d11 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox-column.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox-column.md @@ -17,30 +17,30 @@ Puede definir propiedades estándar (texto, color de fondo, etc.) para cada colu ## Eventos de formulario soportados {#supported-form-events} -| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event) para las propiedades principales) | Comentarios | -| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| On After Edit | | | -| On After Keystroke | | | -| On After Sort | | *Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)* | -| On Alternative Click | | *List box array únicamente* | -| On Before Data Entry | | | -| On Before Keystroke | | | -| On Begin Drag Over | | | -| On Clicked | | | -| On Column Moved | | | -| On Column Resize | | | -| On Data Change | | | -| On Double Clicked | | | -| On Drag Over | | | -| On Drop | | | -| On Footer Click | | *List box arrays, selección actual y selección temporal únicamente* | -| On Getting Focus | | *Propiedades adicionales devueltas sólo al editar una celda* | -| On Header Click | | | -| On Load | | | -| On Losing Focus | | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | -| On Row Moved | | *List box array únicamente* | -| On Unload | | | -| On Validate | | | +| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event) para las propiedades principales) | Comentarios | +| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| On After Edit | | | +| On After Keystroke | | | +| On After Sort | | \*Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)_ | +| On Alternative Click | | *List box array únicamente* | +| On Before Data Entry | | | +| On Before Keystroke | | | +| On Begin Drag Over | | | +| On Clicked | | | +| On Column Moved | | | +| On Column Resize | | | +| On Data Change | | | +| On Double Clicked | | | +| On Drag Over | | | +| On Drop | | | +| On Footer Click | | *List box arrays, selección actual y selección temporal únicamente* | +| On Getting Focus | | *Propiedades adicionales devueltas sólo al editar una celda* | +| On Header Click | | | +| On Load | | | +| On Losing Focus | | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | +| On Row Moved | | *List box array únicamente* | +| On Unload | | | +| On Validate | | | ## Arrays de objetos en columnas @@ -60,8 +60,11 @@ Las propiedades estándar relacionadas con las coordenadas, el tamaño y el esti Sin embargo, el tema Fuente de datos no está disponible para las columnas objeto del list box. De hecho, el contenido de cada celda de la columna se basa en los atributos presentes en el elemento correspondiente del array de objetos. Cada elemento de array puede definir: -the value type (mandatory): text, color, event, etc. the value itself (optional): used for input/output. -the cell content display (optional): button, list, etc. additional settings (optional): depend on the value type To define these properties, you need to set the appropriate attributes in the object (available attributes are listed below). Por ejemplo, puede escribir "¡Hola Mundo!" en una columna objeto utilizando este sencillo código: +the value type (mandatory): text, color, event, etc. +the value itself (optional): used for input/output. +the cell content display (optional): button, list, etc. +additional settings (optional): depend on the value type +To define these properties, you need to set the appropriate attributes in the object (available attributes are listed below). Por ejemplo, puede escribir "¡Hola Mundo!" en una columna objeto utilizando este sencillo código: ```4d ARRAY OBJECT(obColumn;0) //column array diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox-object.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox-object.md index c0eefa3248cfcc..dacf8ff7aa12e0 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox-object.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox-object.md @@ -1,6 +1,6 @@ --- id: listbox-object -title: List Box Object +title: Objeto List Box --- ## List box de tipo array @@ -30,7 +30,7 @@ LIST TO ARRAY("ListName";varCol) En este tipo de list box, cada columna puede estar asociada a un campo (por ejemplo `[Employees]LastName)` o a una expresión. La expresión puede basarse en uno o más campos (por ejemplo, `[Employees]FirstName+" "[Employees]LastName`) o puede ser simplemente una fórmula (por ejemplo `String(Milliseconds)`). La expresión también puede ser un método proyecto, una variable o un elemento de array. You can use the [`LISTBOX SET COLUMN FORMULA`](../commands/listbox-set-column-formula) and [`LISTBOX INSERT COLUMN FORMULA`](../commands/listbox-insert-column-formula) commands to modify columns programmatically. -A continuación, el contenido de cada línea se evalúa en función de una selección de registros: la **selección actual** de una tabla o una **selección temporal**. +The contents of each row is then evaluated according to a selection of records: the **current selection** of a table or a **named selection**. En el caso de un list box basado en la selección actual de una tabla, cualquier modificación realizada desde la base de datos se refleja automáticamente en el list box, y viceversa. Por lo tanto, la selección actual es siempre la misma en ambos lugares. @@ -137,41 +137,41 @@ Las propiedades soportadas dependen del tipo de list box. ## Eventos de formulario soportados {#supported-form-events} -| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event) para las propiedades principales) | Comentarios | -| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| On After Edit | | | -| On After Keystroke | | | -| On After Sort | | *Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)* | -| On Alternative Click | | *List box array únicamente* | -| On Before Data Entry | | | -| On Before Keystroke | | | -| On Begin Drag Over | | | -| On Clicked | | | -| On Close Detail | | *List box Selección actual y Selección temporal únicamente* | -| On Collapse | | *List box jerárquicos únicamente* | -| On Column Moved | | | -| On Column Resize | | | -| On Data Change | | | -| On Delete Action | | | -| On Display Detail | | | -| On Double Clicked | | | -| On Drag Over | | | -| On Drop | | | -| On Expand | | *List box jerárquicos únicamente* | -| On Footer Click | | *List box arrays, selección actual y selección temporal únicamente* | -| On Getting Focus | | *Propiedades adicionales devueltas sólo al editar una celda* | -| On Header Click | | | -| On Load | | | -| On Losing Focus | | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | -| On Mouse Enter | | | -| On Mouse Leave | | | -| On Mouse Move | | | -| On Open Detail | | *List box Selección actual y Selección temporal únicamente* | -| On Row Moved | | *List box array únicamente* | -| On Scroll | | | -| On Selection Change | | | -| On Unload | | | -| On Validate | | | +| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event) para las propiedades principales) | Comentarios | +| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| On After Edit | | | +| On After Keystroke | | | +| On After Sort | | \*Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)_ | +| On Alternative Click | | *List box array únicamente* | +| On Before Data Entry | | | +| On Before Keystroke | | | +| On Begin Drag Over | | | +| On Clicked | | | +| On Close Detail | | *List box Selección actual y Selección temporal únicamente* | +| On Collapse | | *List box jerárquicos únicamente* | +| On Column Moved | | | +| On Column Resize | | | +| On Data Change | | | +| On Delete Action | | | +| On Display Detail | | | +| On Double Clicked | | | +| On Drag Over | | | +| On Drop | | | +| On Expand | | *List box jerárquicos únicamente* | +| On Footer Click | | *List box arrays, selección actual y selección temporal únicamente* | +| On Getting Focus | | *Propiedades adicionales devueltas sólo al editar una celda* | +| On Header Click | | | +| On Load | | | +| On Losing Focus | | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | +| On Mouse Enter | | | +| On Mouse Leave | | | +| On Mouse Move | | | +| On Open Detail | | *List box Selección actual y Selección temporal únicamente* | +| On Row Moved | | *List box array únicamente* | +| On Scroll | | | +| On Selection Change | | | +| On Unload | | | +| On Validate | | | ### Propiedades adicionales {#additional-properties} diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox_overview.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox_overview.md index c2eb5b4ef7f262..c14d7c1ae5b500 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox_overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox_overview.md @@ -244,14 +244,14 @@ Puede activar o desactivar la ordenación usuario estándar desactivando la prop El soporte de ordenación estándar depende del tipo de list box: -| Tipo de list box | Soporte de ordenación estándar | Comentarios | -| ------------------------------ | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| Colección de objetos | Sí | | -| Colección de valores escalares | No | Utilice la ordenación personalizada con la función [`orderBy()`](../API/CollectionClass.md#orderby) | -| Entity selection | Sí | | -| Selección actual | Sí | Sólo se pueden ordenar las expresiones simples (por ejemplo, `[Table_1]Campo_2`) | -| Selección temporal | No | | -| Arrays | Sí | Las columnas vinculadas a arrays de imágenes y punteros no se pueden ordenar | +| Tipo de list box | Soporte de ordenación estándar | Comentarios | +| ------------------------------ | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Colección de objetos | Sí | | +| Colección de valores escalares | No | Utilice la ordenación personalizada con la función [`orderBy()`](../API/CollectionClass.md#orderby) | +| Entity selection | Sí | | +| Selección actual | Sí | Sólo se pueden ordenar las expresiones simples (por ejemplo, `[Table_1]Campo_2`) | +| Selección temporal | No | | +| Arrays | Sí | Las columnas vinculadas a arrays de imágenes y punteros no se pueden ordenar | ### Ordenación personalizada diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-export-document.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-export-document.md index 7103664cffcabe..57bd87240330d7 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-export-document.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-export-document.md @@ -35,14 +35,14 @@ Puede pasar un *filePath* o *fileObj*: Puede omitir el parámetro *format*, en cuyo caso deberá especificar la extensión en *filePath*. También puede pasar una constante del tema *4D Write Pro Constants* en el parámetro *format*. En este caso, 4D añade la extensión apropiada al nombre del archivo si es necesario. Se soportan los siguientes formatos: -| Constante | Valor | Comentario | -| -------------------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk 4wp | 4 | El documento 4D Write Pro se guarda en un formato de archivo nativo (HTML comprimido e imágenes guardadas en una carpeta separada). Se incluyen las etiquetas específicas 4D y no se calculan las expresiones 4D. Este formato es especialmente adecuado para guardar y archivar documentos 4D Write Pro en disco sin pérdida alguna. | -| wk docx | 7 | Extensión .docx. El documento 4D Write Pro se guarda en formato Microsoft Word. Compatibilidad certificada con Microsoft Word 2010 y versiones posteriores.
    The document parts exported are: Note that some 4D Write Pro settings may not be available or may behave differently in Microsoft Word. | -| wk mime html | 1 | El documento 4D Write Pro se guarda como HTML MIME estándar con documentos HTML e imágenes anidadas como partes MIME (codificadas en base64). Se calculan las expresiones y se eliminan las etiquetas específicas de 4D y los enlaces de métodos. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). This format is particularly suitable for sending HTML emails. | -| wk pdf | 5 | Extensión .pdf. El documento 4D Write Pro se guarda en formato PDF, según el modo vista Página. The following metadata is exported in a PDF document: Title / Author / Subject / Content creator
    **Notes**: | -| wk svg | 8 | La página del documento 4D Write Pro se guarda en formato SVG, según el modo vista Página. **Nota:** al exportar a SVG, sólo puede exportar una página cada vez. Utilice el wk page index para especificar qué página exportar. | -| wk web page complete | 2 | Extensión .htm o .html. El documento se guarda como HTML estándar y sus recursos se guardan por separado. Se eliminan las etiquetas 4D y los enlaces a métodos 4D y se calculan las expresiones. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). Only text boxes anchored to embedded view are exported (as divs). | +| Constante | Valor | Comentario | +| -------------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk 4wp | 4 | El documento 4D Write Pro se guarda en un formato de archivo nativo (HTML comprimido e imágenes guardadas en una carpeta separada). Se incluyen las etiquetas específicas 4D y no se calculan las expresiones 4D. Este formato es especialmente adecuado para guardar y archivar documentos 4D Write Pro en disco sin pérdida alguna. | +| wk docx | 7 | Extensión .docx. El documento 4D Write Pro se guarda en formato Microsoft Word. Compatibilidad certificada con Microsoft Word 2010 y versiones posteriores.
    The document parts exported are: Tenga en cuenta que algunos ajustes de 4D Write Pro pueden no estar disponibles o comportarse de forma diferente en Microsoft Word. | +| wk mime html | 1 | El documento 4D Write Pro se guarda como HTML MIME estándar con documentos HTML e imágenes anidadas como partes MIME (codificadas en base64). Se calculan las expresiones y se eliminan las etiquetas específicas de 4D y los enlaces de métodos. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). This format is particularly suitable for sending HTML emails. | +| wk pdf | 5 | Extensión .pdf. El documento 4D Write Pro se guarda en formato PDF, según el modo vista Página. The following metadata is exported in a PDF document: Title / Author / Subject / Content creator
    **Notes**: | +| wk svg | 8 | La página del documento 4D Write Pro se guarda en formato SVG, según el modo vista Página. **Nota:** al exportar a SVG, sólo puede exportar una página cada vez. Utilice el wk page index para especificar qué página exportar. | +| wk web page complete | 2 | Extensión .htm o .html. El documento se guarda como HTML estándar y sus recursos se guardan por separado. Se eliminan las etiquetas 4D y los enlaces a métodos 4D y se calculan las expresiones. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). Only text boxes anchored to embedded view are exported (as divs). | **Notas:** @@ -103,14 +103,14 @@ La siguiente tabla indica la *option* disponible por *format* de exportación: La propiedad wk files permite [exportar un PDF con archivos adjuntos](https://blog.4d.com/4d-write-pro-export-to-pdf-with-enclosures). Esta propiedad debe contener una colección de objetos que describan los archivos que se integrarán en el documento final. Cada objeto de la colección puede contener las siguientes propiedades: -| **Propiedad** | **Tipo** | **Description** | -| ------------- | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| name | Text | Nombre de archivo. Opcional si se utiliza la propiedad *file*, en cuyo caso el nombre se infiere por defecto a partir del nombre del archivo. Obligatorio si se utiliza la propiedad *data* (excepto para el primer archivo de una exportación Factur-X, en cuyo caso el nombre del archivo es automáticamente "factur-x.xml", ver abajo) | -| description | Text | Opcional. Si se omite, el valor por defecto para el primer archivo de exportación a Factur-X es "Factur-X/ZUGFeRD Invoice", en caso contrario vacío. | -| mimeType | Text | Opcional. Si se omite, el valor predeterminado puede adivinarse normalmente a partir de la extensión del archivo; de lo contrario, se utiliza "application/octet-stream". Si se pasa, asegúrese de utilizar un tipo mime ISO, de lo contrario el archivo exportado podría no ser válido. | -| data | Texto o BLOB | Obligatorio si falta la propiedad *file* | -| file | Objeto 4D.File | Obligatorio si falta la propiedad *data*, ignorado en caso contrario. | -| relationship | Text | Opcional. Si se omite, el valor por defecto es "Data". Possible values for Factur-X first file: | +| **Propiedad** | **Tipo** | **Description** | +| ------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| name | Text | Nombre de archivo. Opcional si se utiliza la propiedad *file*, en cuyo caso el nombre se infiere por defecto a partir del nombre del archivo. Obligatorio si se utiliza la propiedad *data* (excepto para el primer archivo de una exportación Factur-X, en cuyo caso el nombre del archivo es automáticamente "factur-x.xml", ver abajo) | +| description | Text | Opcional. Si se omite, el valor por defecto para el primer archivo de exportación a Factur-X es "Factur-X/ZUGFeRD Invoice", en caso contrario vacío. | +| mimeType | Text | Opcional. Si se omite, el valor predeterminado puede adivinarse normalmente a partir de la extensión del archivo; de lo contrario, se utiliza "application/octet-stream". Si se pasa, asegúrese de utilizar un tipo mime ISO, de lo contrario el archivo exportado podría no ser válido. | +| data | Texto o BLOB | Obligatorio si falta la propiedad *file* | +| file | Objeto 4D.File | Obligatorio si falta la propiedad *data*, ignorado en caso contrario. | +| relationship | Text | Opcional. Si se omite, el valor por defecto es "Data". Valores posibles para el primer archivo de Factur-X: | Si el parámetro *option* también contiene una propiedad wk factur x, entonces el primer elemento de la colección wk files debe ser el fichero xml de la factura Factur-X (ZUGFeRD) (ver más abajo). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-export-variable.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-export-variable.md index 2e8f63e6f68313..975065af8fde34 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-export-variable.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-export-variable.md @@ -34,14 +34,14 @@ En *destination*, pase la variable que quiere llenar con el objeto exportado de En el parámetro *format*, pase una constante del tema *4D Write Pro Constants* para definir el formato de exportación que desea utilizar. Cada formato está relacionado con un uso específico. Se soportan los siguientes formatos: -| Constante | Tipo | Valor | Comentario | -| ------------------- | ------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk 4wp | Integer | 4 | El documento 4D Write Pro se guarda en un formato de archivo nativo (HTML comprimido e imágenes guardadas en una carpeta separada). Se incluyen las etiquetas específicas 4D y no se calculan las expresiones 4D. Este formato es especialmente adecuado para guardar y archivar documentos 4D Write Pro en disco sin pérdida alguna. | -| wk docx | Integer | 7 | Extensión .docx. El documento 4D Write Pro se guarda en formato Microsoft Word. Compatibilidad certificada con Microsoft Word 2010 y versiones posteriores.
    The document parts exported are: Note that some 4D Write Pro settings may not be available or may behave differently in Microsoft Word. | -| wk mime html | Integer | 1 | El documento 4D Write Pro se guarda como HTML MIME estándar con documentos HTML e imágenes anidadas como partes MIME (codificadas en base64). Se calculan las expresiones y se eliminan las etiquetas específicas de 4D y los enlaces de métodos. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). This format is particularly suitable for sending HTML emails. | -| wk pdf | Integer | 5 | Extensión .pdf. El documento 4D Write Pro se guarda en formato PDF, según el modo vista Página. Los siguientes metadatos se exportan en un documento PDF: Título Autor Asunto Creador del contenido **Notas**: Las expresiones se congelan automáticamente al exportar el documento Los enlaces a métodos NO se exportan | -| wk svg | Integer | 8 | La página del documento 4D Write Pro se guarda en formato SVG, según el modo vista Página. **Nota:** al exportar a SVG, sólo puede exportar una página cada vez. Utilice el wk page index para especificar qué página exportar. | -| wk web page html 4D | Integer | 3 | El documento 4D Write Pro se guarda como HTML e incluye etiquetas específicas 4D; cada expresión se inserta como un espacio inseparable. Como este formato no tiene pérdidas, es apropiado para almacenar propósitos en un campo de texto. | +| Constante | Tipo | Valor | Comentario | +| ------------------- | ------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk 4wp | Integer | 4 | El documento 4D Write Pro se guarda en un formato de archivo nativo (HTML comprimido e imágenes guardadas en una carpeta separada). Se incluyen las etiquetas específicas 4D y no se calculan las expresiones 4D. Este formato es especialmente adecuado para guardar y archivar documentos 4D Write Pro en disco sin pérdida alguna. | +| wk docx | Integer | 7 | Extensión .docx. El documento 4D Write Pro se guarda en formato Microsoft Word. Compatibilidad certificada con Microsoft Word 2010 y versiones posteriores.
    The document parts exported are: Tenga en cuenta que algunos ajustes de 4D Write Pro pueden no estar disponibles o comportarse de forma diferente en Microsoft Word. | +| wk mime html | Integer | 1 | El documento 4D Write Pro se guarda como HTML MIME estándar con documentos HTML e imágenes anidadas como partes MIME (codificadas en base64). Se calculan las expresiones y se eliminan las etiquetas específicas de 4D y los enlaces de métodos. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). This format is particularly suitable for sending HTML emails. | +| wk pdf | Integer | 5 | Extensión .pdf. El documento 4D Write Pro se guarda en formato PDF, según el modo vista Página. Los siguientes metadatos se exportan en un documento PDF: Título Autor Asunto Creador del contenido **Notas**: Las expresiones se congelan automáticamente al exportar el documento Los enlaces a métodos NO se exportan | +| wk svg | Integer | 8 | La página del documento 4D Write Pro se guarda en formato SVG, según el modo vista Página. **Nota:** al exportar a SVG, sólo puede exportar una página cada vez. Utilice el wk page index para especificar qué página exportar. | +| wk web page html 4D | Integer | 3 | El documento 4D Write Pro se guarda como HTML e incluye etiquetas específicas 4D; cada expresión se inserta como un espacio inseparable. Como este formato no tiene pérdidas, es apropiado para almacenar propósitos en un campo de texto. | **Notas:** diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/aikit/Classes/OpenAIProviders.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/aikit/Classes/OpenAIProviders.md index 39879bb87dea61..2f2edd225fd759 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/aikit/Classes/OpenAIProviders.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/aikit/Classes/OpenAIProviders.md @@ -123,7 +123,7 @@ Each object in the collection contains: | Propiedad | Tipo | Descripción | | ----------- | ---- | --------------------------------- | | `name` | Text | Model alias name | -| `proveedor` | Text | Provider name | +| `proveedor` | Text | Nombre del proveedor | | `model` | Text | Model ID to use with the provider | #### Ejemplo @@ -150,7 +150,7 @@ var $client := cs.AIKit.OpenAI.new() $client.chat.completions.create($messages; {model: "openai:gpt-5.1"}) ``` -This is resolved internally to: +Esto se resuelve internamente: 1. Split `"openai:gpt-5.1"` into provider=`"openai"` and model=`"gpt-5.1"` 2. Look up the `"openai"` provider configuration @@ -172,7 +172,7 @@ var $client := cs.AIKit.OpenAI.new() $client.chat.completions.create($messages; {model: ":my-gpt"}) ``` -This is resolved internally to: +Esto se resuelve internamente: 1. Look up `"my-gpt"` in the `models` configuration 2. Find its `provider` (e.g., `"openai"`) and `model` (e.g., `"gpt-5.1"`) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md index 6785c1df53a069..587494bdc3a51a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md @@ -52,7 +52,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por ejemplo, puede pasar las siguientes cadenas: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Durante las peticiones HTTPS, la autoridad del certificado no se verifica. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md index 3a0d3e6e4f85f0..ccd1b547ab8aae 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md @@ -65,7 +65,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por ejemplo, puede pasar las siguientes cadenas: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Durante las peticiones HTTPS, la autoridad del certificado no se verifica. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/Admin/data-collect.md b/i18n/es/docusaurus-plugin-content-docs/version-21/Admin/data-collect.md index e296967e83521d..a946d456db01c3 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/Admin/data-collect.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/Admin/data-collect.md @@ -124,7 +124,7 @@ También se recogen algunos datos a intervalos regulares. | totalExecutionTime | Number | Tiempo total de ejecución de la CPU: suma de todos los tipos de peticiones | | totalRequests | Number | Total requests: sum of web, REST, SOAP, SQL, and internal traffic | | webServer | Object | Objeto que contiene información sobre el servidor web | -| webServer.bytesIn | Number | Bytes received by the Web server | +| webServer.bytesIn | Number | Bytes recibidos por el servidor web | | webServer.bytesOut | Number | Bytes sent by the Web server | | webServer.hits | Number | Number of hits on the Web server | | webServer.executionTime | Number | Tiempo de ejecución de la CPU para el servidor Web | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/Concepts/dt_date.md b/i18n/es/docusaurus-plugin-content-docs/version-21/Concepts/dt_date.md index 6d34b557eb3d1f..f791ecc8b9e755 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/Concepts/dt_date.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/Concepts/dt_date.md @@ -70,10 +70,10 @@ Utilizando el comando [`Date`](../commands-legacy/date.md): $date4D:=Date($dateIso) ``` -Note the difference between these two solutions: [`JSON Parse`](../commands-legacy/json-parse.md) respects the [conversion mode set using the `SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md#dates-inside-objects-85) (if any), while [`Date`](../commands-legacy/date.md) is not subject to this. Conversión usando el comando [`Date`](../commands-legacy/date.md) siempre tiene en cuenta la zona horaria local. +Observe la diferencia entre estas dos soluciones: [`JSON Parse`](../commands-legacy/json-parse.md) respeta el [modo de conversión definido con `SET DATABASE PARAMETER`](../commands-legacy/set-database-parameter.md#dates-inside-objects-85) (si existe), mientras que [`Date`](../commands-legacy/date.md) no está sujeto a esto. Conversión usando el comando [`Date`](../commands-legacy/date.md) siempre tiene en cuenta la zona horaria local. :::note -When the current date storage setting is [`date type`](../commands-legacy/set-database-parameter.md#dates-inside-objects-85) (default), JSON date strings in "YYYY-MM-DD" format are automatically handled as date values by the [`JSON Parse`](../commands-legacy/json-parse.md) and [`Date`](../commands-legacy/date.md) commands. +Cuando la configuración actual de almacenamiento de fecha es [`date type`](../commands-legacy/set-database-parameter.md#dates-inside-objects-85) (por defecto), las cadenas de fecha JSON en formato "YYYY-MM-DD" son manejadas automáticamente como valores de fecha por los comandos [`JSON Parse`](../commands-legacy/json-parse.md) y [`Date`](../commands-legacy/date.md). ::: \ No newline at end of file diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/Desktop/sessions.md b/i18n/es/docusaurus-plugin-content-docs/version-21/Desktop/sessions.md index 6091c05c176fae..8d954b8b4f8646 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/Desktop/sessions.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/Desktop/sessions.md @@ -110,8 +110,8 @@ Cuando se crea un token OTP en un entorno cliente/servidor, es necesario ejecuta :::tip Entrada de blog relacionada -[Embed Qodly pages in a 4D web area without extra cost](https://blog.4d.com/share-your-4d-remote-client-session-with-web-accesses/)
    -[Enhance your Desktop Interface with Web widgets using 4D Qodly Pro](https://blog.4d.com/build-modern-hybrid-desktop-apps-with-4d-and-qodly-pro/) +[Integra las páginas Qodly en un área web 4D sin costo adicional](https://blog.4d.com/share-your-4d-remote-client-session-with-web-accesses/)
    +[Mejora su interfaz de escritorio con widgets Web utilizando 4D Qodly Pro](https://blog.4d.com/build-modern-hybrid-desktop-apps-with-4d-and-qodly-pro/) ::: diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/Develop/async.md b/i18n/es/docusaurus-plugin-content-docs/version-21/Develop/async.md index 3768dfe8e87634..917c29e7db64df 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/Develop/async.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/Develop/async.md @@ -16,21 +16,22 @@ Synchronous execution is used when: - La ejecución de las tareas debe seguir un orden estricto. - El impacto en el rendimiento es mínimo (por ejemplo, operaciones rápidas). - Se ejecuta en un contexto de un solo hilo donde el bloqueo es aceptable. -- La ejecución síncrona bloquea la interfaz de usuario y es más adecuada para tareas rápidas y ordenadas en las que el bloqueo es aceptable. + +La ejecución síncrona bloquea la interfaz de usuario y es más adecuada para tareas rápidas y ordenadas en las que el bloqueo es aceptable. #### Ejecución asíncrona -La ejecución asincrónica es **event-driiven** y permite que otras operaciones se completen. Se basa en **callbacks**, **workers** y **event handlers** para gestionar el flujo de ejecución. +Asynchronous execution is **event-driven** and allows other operations to complete. Se basa en **callbacks**, **workers** y **event handlers** para gestionar el flujo de ejecución. La ejecución asíncrona se utiliza cuando: - Una operación tarda mucho tiempo (por ejemplo, esperando una respuesta del servidor). - La capacidad de respuesta es fundamental (por ejemplo, las interacciones de la interfaz de usuario). -- Realización de tareas en segundo plano, comunicación en red o procesamiento paralelo. +- Background tasks, network communication, or parallel processing are performed. Elegir entre ejecución síncrona y asíncrona: -| Scenario | Mejor enfoque | +| Escenario | Mejor enfoque | | ------------------------------------------------------ | ------------- | | Operaciones rápidas con un procesamiento mínimo | **Síncrono** | | Tareas que requieren un orden de ejecución estricto | **Síncrono** | @@ -41,31 +42,31 @@ Elegir entre ejecución síncrona y asíncrona: ## Principios básicos -4D ofrece capacidades integradas de **ejecución asíncrona** a través de varias clases y comandos. These allow background task execution, network communication, and large data processing, while waiting other operations to complete without blocking the current process. +4D ofrece capacidades integradas de **ejecución asíncrona** a través de varias clases y comandos. Permiten la ejecución de tareas en segundo plano, la comunicación en red y el procesamiento de grandes volúmenes de datos, mientras se espera a que se completen otras operaciones sin bloquear el proceso actual. -The general concept of asynchronous event management in 4D is based on an asynchronous messaging model using **workers** (processes that listen to events) and **callbacks** (functions or formulas automatically invoked when an event occurs). Instead of waiting for a result (synchronous mode), you provide a function that will be automatically called when the desired event occurs. Las retrollamadas se pueden pasar como funciones clase (recomendado) o como objetos Formula. +El concepto general de gestión de eventos asíncronos en 4D se basa en un modelo de mensajería asíncrona que utiliza **workers** (procesos que escuchan eventos) y **callbacks** (funciones o fórmulas invocadas automáticamente cuando se produce un evento). En lugar de esperar un resultado (modo sincrónico), proporciona una función que será llamada automáticamente cuando ocurra el evento deseado. Las retrollamadas se pueden pasar como funciones clase (recomendado) o como objetos Formula. -This model is common to [`CALL WORKER`](../commands-legacy/call-worker.md), [`CALL FORM`](../commands-legacy/call-form.md), and [classes that support aynchronous execution](#asynchronous-programming-with-4d-classes). Todos estos comandos/clases inician una operación que se ejecuta en segundo plano. La sentencia que lanza la operación retorna inmediatamente, sin esperar a que la operación finalice. +Este modelo es común a [`CALL WORKER`](../commands-legacy/call-worker.md), [`CALL FORM`](../commands-legacy/call-form.md), y [clases que soportan la ejecución ayncrónica](#asynchronous-programming-with-4d-classes). Todos estos comandos/clases inician una operación que se ejecuta en segundo plano. La sentencia que lanza la operación retorna inmediatamente, sin esperar a que la operación finalice. ### Workers -Asynchronous programming relies on a system of [**workers**](../Develop/processes.md#worker-processes) (worker processes), which allows code to be executed in parallel without blocking the main process. This is particularly useful for long tasks (such as HTTP calls, executing external processes, background processing), while keeping the user interface responsive. +La programación asíncrona se basa en un sistema de [**workers**](../Develop/processes.md#worker-processes) (procesos workers), que permite ejecutar código en paralelo sin bloquear el proceso principal. Esto resulta especialmente útil para tareas largas (como llamadas HTTP, ejecución de procesos externos, procesamiento en segundo plano), al tiempo que se mantiene la capacidad de respuesta de la interfaz de usuario. -Using worker processes in asynchronous programming **is mandatory** since "classic" processes automatically terminate their execution when the process method ends, thus using callbacks is not possible. Un proceso worker permanece vivo y puede **escuchar eventos**. +Utilizar procesos worker en programación asíncrona **es obligatorio** ya que los procesos "clásicos" terminan automáticamente su ejecución cuando el método del proceso finaliza, por lo que utilizar retrollamadas no es posible. Un proceso worker permanece vivo y puede **escuchar eventos**. -### Event queue (mailbox) +### Cola de eventos (buzón) -Cada worker (o ventana de formulario para [`CALL FORM`](../commands-legacy/call-form.md)) tiene su propia cola de mensajes. [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md) simply posts a message to this queue. El worker trata los mensajes uno a uno, en el orden en que llegan, dentro de su propio contexto. Se conservan las variables de proceso, las selecciones actuales, etc. +Cada worker (o ventana de formulario para [`CALL FORM`](../commands-legacy/call-form.md)) tiene su propia cola de mensajes. [`CALL WORKER`](../commands-legacy/call-worker.md) o [`CALL FORM`](../commands-legacy/call-form.md) simplemente envía un mensaje a esta cola. El worker trata los mensajes uno a uno, en el orden en que llegan, dentro de su propio contexto. Se conservan las variables de proceso, las selecciones actuales, etc. ### Comunicación bidireccional mediante mensajes -El proceso llamante envía un mensaje y el worker lo ejecuta. The worker can in turn post a message (via [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). Este mecanismo sustituye al retorno clásico de las llamadas síncronas. +El proceso llamante envía un mensaje y el worker lo ejecuta. El worker puede publicar a su vez un mensaje (a través de [`CALL WORKER`](../commands-legacy/call-worker.md) o [`CALL FORM`](../commands-legacy/call-form.md)) de vuelta a la persona que llama u otro worker para notificar un evento (finalización de tarea, datos recibidos, error, progreso, etc.). Este mecanismo sustituye al retorno clásico de las llamadas síncronas. -### Event listening +### Escucha de eventos -In event-driven development, it is obvious that some code must be able to listen for incoming events. Events can be generated by the user interface (such as a mouse click on an object or a keyboard key pressed) or by any other interaction such as an http request or the end of another action. For example, when a form is displayed using the `DIALOG` command, user actions can trigger events that your code can process. Al hacer clic en un botón se activará el código asociado al botón. +En el desarrollo dirigido por eventos, es obvio que parte del código debe ser capaz de escuchar los eventos entrantes. Los eventos pueden ser generados por la interfaz de usuario (como un clic del ratón sobre un objeto o la pulsación de una tecla del teclado) o por cualquier otra interacción, como una petición http o el final de otra acción. Por ejemplo, cuando se muestra un formulario utilizando el comando `DIALOG`, las acciones del usuario pueden desencadenar eventos que su código puede procesar. Al hacer clic en un botón se activará el código asociado al botón. -In the context of asynchronous execution, the following features place your code in listening mode: +En el contexto de la ejecución asíncrona, las siguientes funcionalidades colocan su código en modo de escucha: - [`CALL WORKER`](../commands-legacy/call-worker.md) ejecuta el código para el que ha sido llamado, luego vuelve a un estado de escucha desde donde puede ser llamado posteriormente. - [`CALL FORM`](../commands-legacy/call-form.md) abre un formulario y lo hace escuchar los mensajes entrantes de la cola de eventos. @@ -77,21 +78,21 @@ Los eventos se activan automáticamente durante el flujo de ejecución y se pasa ### Contexto de ejecución de retrollamada -When 4D execute one of your callbacks, it does so in the context of the current process (worker), i.e. if your object is instantiated inside a form, the callback function will be executed in the context of that same form. +Cuando 4D ejecuta una de sus retrollamdas, lo hace en el contexto del proceso actual (worker), es decir, si su objeto está instanciado dentro de un formulario, la función callback se ejecutará en el contexto de ese mismo formulario. -For callbacks to work properly in fully asynchronous mode, the operation should generally be launched from a worker (via `CALL WORKER`). If launched from a process handling UI, some callbacks may not be called until the UI is listening events. +Para que las retrollamadas funcionen correctamente en modo totalmente asíncrono, la operación debe lanzarse generalmente desde un worker (mediante `CALL WORKER`). Si se lanza desde un proceso que maneja la interfaz de usuario, algunas retrollamadas pueden no ser invocadas hasta que la interfaz de usuario esté escuchando eventos. -### Releasing an asynchronous object +### Liberar un objeto asíncrono En 4D, todos los objetos son liberados [cuando no existen más referencias](../Concepts/dt_object.md#resources) a ellos en memoria. Esto suele ocurrir al final de la ejecución de un método para variables locales. Para las clases asíncronas, 4D mantiene siempre una **referencia adicional** en el proceso que instanciaba el objeto. Esta referencia sólo se libera cuando finaliza la operación, es decir, después de que se active el evento `onTerminate`. Esta referencia automática permite a su objeto sobrevivir aunque no lo haya mencionado específicamente en una variable. -Si desea "forzar" la liberación de un objeto en cualquier momento, utilice un `. hutdown()` o función `terminate()`; desencadena el evento 'onTerminate\` así libera el objeto. +Si desea "forzar" la liberación de un objeto en cualquier momento, utilice un `. hutdown()` o función `terminate()`; desencadena el evento 'onTerminate\\` así libera el objeto. ### Ejemplos que ilustran el concepto común -| Feature | Lanzamiento asíncrono | Callback / Event Handling | +| Funcionalidad | Lanzamiento asíncrono | Retrollamada / Gestión de eventos | | ------------------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | | CALL WORKER | CALL WORKER("wk"; "MyMethod"; $params) | MyMethod se llama con $params | | CALL FORM | CALL FORM($win; "MyMethod"; $params) | MyMethod se llama con $params | @@ -109,23 +110,23 @@ Varias clases 4D soportan el procesamiento asíncrono: - [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. - [`WebSocketServer`](../API/WebSocketServerClass.md) - Gestiona las conexiones del servidor WebSocket. -Todas estas clases siguen las mismas reglas de ejecución asíncrona. Su constructor acepta un parámetro *options* que se usa para configurar su objeto asíncrono. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. Por ejemplo, puede crear una función `onResponse()` en la clase, que será llamada automáticamente de forma asíncrona cuando se dispare un evento *reponse*. +Todas estas clases siguen las mismas reglas de ejecución asíncrona. Su constructor acepta un parámetro *options* que se usa para configurar su objeto asíncrono. Se recomienda que el objeto *options* sea una instancia de [user class](../Concepts/classes.md) que tenga funciones de retrollamada. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. Recomendamos la siguiente secuencia: -1. You create the user class where you declare callback functions, for example a `cs.Params` with `onError()` and `onResponse()` functions. +1. Se crea la clase usuario donde se declaran las funciones de retrollamada, por ejemplo un `cs.Params` con las funciones `onError()` y `onResponse()`. 2. Instanciará la clase usuario (en nuestro ejemplo utilizando `cs.Params.new()`) que configurará su objeto asíncrono. -3. You call the constructor of the 4D class (for example `4D.SystemWorker.new()`) and pass the *options* object as parameter. Inicia las operaciones pasadas inmediatamente sin demora. +3. Se llama al constructor de la clase 4D (por ejemplo `4D.SystemWorker.new()`) y se pasa el objeto *options* como parámetro. Inicia las operaciones pasadas inmediatamente sin demora. -Here is a full example of implementation of an *options* object based upon a user class: +He aquí un ejemplo completo de implementación de un objeto *options* basado en una clase usuario: ```4d -// asynchronous code creation -var $options:=cs.Params.new(10) //see cs.Params class code below +//creación asíncrona de código +var $options:=cs.Params.new(10) //ver código clase cs.Params abajo var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users ";$options) -// "Params" class +// Clase "Params" Class constructor ($timeout : Real) This.dataType:="text" @@ -157,7 +158,7 @@ Function _createFile($title : Text; $textBody : Text) Tenga en cuenta que `onResponse`, `onData`, `onDataError` y `onTerminate` son funciones soportadas por [`4D.SystemWorker`](../API/SystemWorkerClass.md). -Once the user class is instantiated; 4D is put in [event listening](#event-listening) mode, in which case 4D can [trigger an event](#event-triggering) that calls the corresponding function in the user class. +Una vez instanciada la clase usuario; 4D se pone en modo [escucha de eventos](#event-listening), en cuyo caso 4D puede [disparar un evento](#event-triggering) que llame a la función correspondiente en la clase usuario. :::tip @@ -173,7 +174,7 @@ var $options.onResponse:=Formula(myMethod) Incluso cuando se utiliza código moderno y asíncrono, puede ser necesario introducir cierto grado de ejecución síncrona. Por ejemplo, puede querer que una función espere un cierto tiempo para obtener un resultado. Podría ser el caso de conexiones de red rápidas garantizadas o workers del sistema. A continuación, puede forzar la ejecución sincrónica utilizando la función `wait()`. -The **`.wait()`** function pauses execution of the current process and puts 4D in [event listening](#event-listening) mode. Keep in mind that it will trigger events received from any sources, not only from the object on which the `wait()` function was called. +La función **`.wait()`** pausa la ejecución del proceso actual y pone a 4D en modo [escucha de eventos](#event-listening). Tenga en cuenta que activará eventos recibidos de cualquier fuente, no sólo del objeto sobre el que se llamó a la función `wait()`. La función `wait()` retorna cuando el evento `onTerminate` ha sido disparado en el objeto, o cuando el tiempo de espera suministrado (si existe) ha expirado. Por consiguiente, puede salir explícitamente de un `.wait()` llamando a `shutdown()` o `terminate()` desde dentro de una retrollamda. En caso contrario, se sale de `.wait()` cuando finaliza la operación en curso. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/Extensions/overview.md b/i18n/es/docusaurus-plugin-content-docs/version-21/Extensions/overview.md index 34239da2180556..a58709b3a48c1c 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/Extensions/overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/Extensions/overview.md @@ -18,8 +18,7 @@ La [arquitectura del proyecto] 4D (../Project/architecture.md) es abierta y pued 4D propone varios componentes a la comunidad 4D, cubriendo muchas necesidades de desarrollo. Todos los componentes 4D se pueden encontrar en el [**repositorio github de 4D**](https://github.com/4d). -A subset of these components is listed by default in the Github panel of the [Dependency Manager](../Project/components.md#adding-a-github-dependency), including: -including: +Un subconjunto de estos componentes se muestra por defecto en el panel de Github del [Administrador de dependencias](../Project/components.md#adding-a-github-dependency), incluyendo: | Componente | Repositorio Github | Descripción | Principales funcionalidades | | -------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md b/i18n/es/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md index c63010a49bf426..d236e0d4d133a4 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md @@ -131,4 +131,4 @@ Para dejar de heredar un formulario, seleccione `\` en la lista de propied ## Eventos soportados -[On Activate](../Events/onActivate.md) - [On After Edit](../Events/onAfterEdit.md) - [On After Keystroke](../Events/onAfterKeystroke.md) - [On Before Keystroke](../Events/onBeforeKeystroke.md) - [On Begin Drag Over](../Events/onBeginDragOver.md) - [On Bound Variable Change](../Events/onBoundVariableChange.md) - [On Clicked](../Events/onClicked.md) - [On Close Box](../Events/onCloseBox.md) - [On Close Detail](../Events/onCloseDetail.md) - [On Data Change](../Events/onDataChange.md) - [On Deactivate](../Events/onDeactivate.md) - [On Display Detail](../Events/onDisplayDetail.md) - [On Double Clicked](../Events/onDoubleClicked.md) - [On Drop](../Events/onDrop.md) - [On Header](../Events/onHeader.md) - [On Load](../Events/onLoad.md) - [On Load Record](../Events/onLoadRecord.md) - [On Losing focus](../Events/onLosingFocus.md) - [On Menu Selected](../Events/onMenuSelected.md) - [On Mouse Enter](../Events/onMouseEnter.md) - [On Mouse Leave](../Events/onMouseLeave.md) - [On Mouse Move](../Events/onMouseMove.md) - [On Open Detail](../Events/onOpenDetail.md) - [On Outside Call](../Events/onOutsideCall.md) - [On Page Change](../Events/onPageChange.md) - [On Plug in Area](../Events/onPluginArea.md) - [On Printing Break](../Events/onPrintingBreak.md) - [On Printing Detail](../Events/onPrintingDetail.md) - [On Printing Footer](../Events/onPrintingFooter.md) - [On Resize](../Events/onResize.md) - [On Selection Change](../Events/onSelectionChange.md) - [On Timer](../Events/onTimer.md) - [On Unload](../Events/onUnload.md) - [On Validate](../Events/onValidate.md) \ No newline at end of file +[On Activate](../Events/onActivate.md) - [On After Edit](../Events/onAfterEdit.md) - [On After Keystroke](../Events/onAfterKeystroke.md) - [On Before Keystroke](../Events/onBeforeKeystroke.md) - [On Begin Drag Over](../Events/onBeginDragOver.md) - [On Bound Variable Change](../Events/onBoundVariableChange.md) - [On Clicked](../Events/onClicked.md) - [On Close Box](../Events/onCloseBox.md) - [On Close Detail](../Events/onCloseDetail.md) - [On Data Change](../Events/onDataChange.md) - [On Deactivate](../Events/onDeactivate.md) - [On Display Detail](../Events/onDisplayDetail.md) - [On Double Clicked](../Events/onDoubleClicked.md) - [On Drop](../Events/onDrop.md) - [On Header](../Events/onHeader.md) - [On Load](../Events/onLoad.md) - [On Load Record](../Events/onLoadRecord.md) - [On Losing focus](../Events/onLosingFocus.md) - [On Menu Selected](../Events/onMenuSelected.md) - [On Mouse Enter](../Events/onMouseEnter.md) - [On Mouse Leave](../Events/onMouseLeave.md) - [On Mouse Move](../Events/onMouseMove.md) - [On Open Detail](../Events/onOpenDetail.md) - [On Outside Call](../Events/onOutsideCall.md) - [On Page Change](../Events/onPageChange.md) - [On Plug in Area](../Events/onPlugInArea.md) - [On Printing Break](../Events/onPrintingBreak.md) - [On Printing Detail](../Events/onPrintingDetail.md) - [On Printing Footer](../Events/onPrintingFooter.md) - [On Resize](../Events/onResize.md) - [On Selection Change](../Events/onSelectionChange.md) - [On Timer](../Events/onTimer.md) - [On Unload](../Events/onUnload.md) - [On Validate](../Events/onValidate.md) \ No newline at end of file diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/listbox-column.md b/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/listbox-column.md index 320aa854926bef..891df6ab2cf2e2 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/listbox-column.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/listbox-column.md @@ -17,30 +17,30 @@ Puede definir propiedades estándar (texto, color de fondo, etc.) para cada colu ## Eventos de formulario soportados {#supported-form-events} -| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event.md) para las propiedades principales) | Comentarios | -| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| On After Edit |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | -| On After Keystroke |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | -| On After Sort |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [headerName](./listbox-object.md#additional-properties)
    | *Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)* | -| On Alternative Click |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | *List box array únicamente* | -| On Before Data Entry |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | -| On Before Keystroke |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | -| On Begin Drag Over |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | -| On Clicked |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | -| On Column Moved |
    • [columnName](./listbox-object.md#additional-properties)
    • [newPosition](./listbox-object.md#additional-properties)
    • [oldPosition](./listbox-object.md#additional-properties)
    | | -| On Column Resize |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [newSize](./listbox-object.md#additional-properties)
    • [oldSize](./listbox-object.md#additional-properties)
    | | -| On Data Change |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | -| On Double Clicked |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | -| On Drag Over |
    • [area](./listbox-object.md#additional-properties)
    • [areaName](./listbox-object.md#additional-properties)
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | -| On Drop |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | -| On Footer Click |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [footerName](./listbox-object.md#additional-properties)
    | *List box arrays, selección actual y selección temporal únicamente* | -| On Getting Focus |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | *Propiedades adicionales devueltas sólo al editar una celda* | -| On Header Click |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [headerName](./listbox-object.md#additional-properties)
    | | -| On Load | | | -| On Losing Focus |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | -| On Row Moved |
    • [newPosition](./listbox-object.md#additional-properties)
    • [oldPosition](./listbox-object.md#additional-properties)
    | *List box array únicamente* | -| On Unload | | | -| On Validate | | | +| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event.md) para las propiedades principales) | Comentarios | +| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| On After Edit |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | +| On After Keystroke |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | +| On After Sort |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [headerName](./listbox-object.md#additional-properties)
    | \*Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)_ | +| On Alternative Click |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | *List box array únicamente* | +| On Before Data Entry |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | +| On Before Keystroke |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | +| On Begin Drag Over |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | +| On Clicked |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | +| On Column Moved |
    • [columnName](./listbox-object.md#additional-properties)
    • [newPosition](./listbox-object.md#additional-properties)
    • [oldPosition](./listbox-object.md#additional-properties)
    | | +| On Column Resize |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [newSize](./listbox-object.md#additional-properties)
    • [oldSize](./listbox-object.md#additional-properties)
    | | +| On Data Change |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | +| On Double Clicked |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | +| On Drag Over |
    • [area](./listbox-object.md#additional-properties)
    • [areaName](./listbox-object.md#additional-properties)
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | +| On Drop |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | | +| On Footer Click |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [footerName](./listbox-object.md#additional-properties)
    | *List box arrays, selección actual y selección temporal únicamente* | +| On Getting Focus |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | *Propiedades adicionales devueltas sólo al editar una celda* | +| On Header Click |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [headerName](./listbox-object.md#additional-properties)
    | | +| On Load | | | +| On Losing Focus |
    • [column](./listbox-object.md#additional-properties)
    • [columnName](./listbox-object.md#additional-properties)
    • [row](./listbox-object.md#additional-properties)
    | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | +| On Row Moved |
    • [newPosition](./listbox-object.md#additional-properties)
    • [oldPosition](./listbox-object.md#additional-properties)
    | *List box array únicamente* | +| On Unload | | | +| On Validate | | | ## Arrays de objetos en columnas @@ -60,8 +60,11 @@ Las propiedades estándar relacionadas con las coordenadas, el tamaño y el esti Sin embargo, el tema Fuente de datos no está disponible para las columnas objeto del list box. De hecho, el contenido de cada celda de la columna se basa en los atributos presentes en el elemento correspondiente del array de objetos. Cada elemento de array puede definir: -the value type (mandatory): text, color, event, etc. the value itself (optional): used for input/output. -the cell content display (optional): button, list, etc. additional settings (optional): depend on the value type To define these properties, you need to set the appropriate attributes in the object (available attributes are listed below). Por ejemplo, puede escribir "¡Hola Mundo!" en una columna objeto utilizando este sencillo código: +the value type (mandatory): text, color, event, etc. +the value itself (optional): used for input/output. +the cell content display (optional): button, list, etc. +additional settings (optional): depend on the value type +To define these properties, you need to set the appropriate attributes in the object (available attributes are listed below). Por ejemplo, puede escribir "¡Hola Mundo!" en una columna objeto utilizando este sencillo código: ```4d ARRAY OBJECT(obColumn;0) //column array diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/listbox-object.md b/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/listbox-object.md index 1fcab47c2c15fa..25cb44b281e35c 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/listbox-object.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/listbox-object.md @@ -1,18 +1,18 @@ --- id: listbox-object -title: List Box Object +title: Objeto List Box --- ## List box de tipo array En un list box de tipo array, cada columna debe estar asociada a un array unidimensional 4D; se pueden utilizar todos los tipos de array, a excepción de los arrays de punteros. El número de líneas se basa en el número de elementos del array. -Por defecto, 4D asigna el nombre "ColumnX" a cada columna. You can change it, as well as other column properties, in the [column properties](./listbox-column.md). The display format for each column can also be defined using the [`OBJECT SET FORMAT`](../commands-legacy/object-set-format.md) command. +Por defecto, 4D asigna el nombre "ColumnX" a cada columna. You can change it, as well as other column properties, in the [column properties](./listbox-column.md). El formato de visualización de cada columna también puede definirse mediante el comando [`OBJECT SET FORMAT`](../commands-legacy/object-set-format.md). > Los list boxes de tipo array pueden mostrarse en [modo jerárquico](listbox_overview.md#hierarchical-list-boxes), con mecanismos específicos. Con los list box de tipo array, los valores introducidos o mostrados se gestionan utilizando el lenguaje 4D. También puede asociar una [lista de opciones](properties_DataSource.md#choice-list) con una columna para controlar la entrada de datos. -The values of columns are managed using high-level List box commands (such as [`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows) or [`LISTBOX DELETE ROWS`](../commands-legacy/listbox-delete-rows.md)) as well as array manipulation commands. Por ejemplo, para inicializar el contenido de una columna, puede utilizar la siguiente instrucción: +Los valores de las columnas se gestionan mediante comandos de alto nivel de List box (como [`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows) o [`LISTBOX DELETE ROWS`](../commands-legacy/listbox-delete-rows.md)), así como comandos de manipulación de arrays. Por ejemplo, para inicializar el contenido de una columna, puede utilizar la siguiente instrucción: ```4d ARRAY TEXT(varCol;size) @@ -28,9 +28,9 @@ LIST TO ARRAY("ListName";varCol) ## List box de tipo selección -En este tipo de list box, cada columna puede estar asociada a un campo (por ejemplo `[Employees]LastName)` o a una expresión. La expresión puede basarse en uno o más campos (por ejemplo, `[Employees]FirstName+" "[Employees]LastName`) o puede ser simplemente una fórmula (por ejemplo `String(Milliseconds)`). La expresión también puede ser un método proyecto, una variable o un elemento de array. You can use the [`LISTBOX SET COLUMN FORMULA`](../commands-legacy/listbox-set-column-formula.md) and [`LISTBOX INSERT COLUMN FORMULA`](../commands-legacy/listbox-insert-column-formula.md) commands to modify columns programmatically. +En este tipo de list box, cada columna puede estar asociada a un campo (por ejemplo `[Employees]LastName)` o a una expresión. La expresión puede basarse en uno o más campos (por ejemplo, `[Employees]FirstName+" "[Employees]LastName`) o puede ser simplemente una fórmula (por ejemplo `String(Milliseconds)`). La expresión también puede ser un método proyecto, una variable o un elemento de array. Puede utilizar los comandos [`LISTBOX SET COLUMN FORMULA`](../commands-legacy/listbox-set-column-formula.md) y [`LISTBOX INSERT COLUMN FORMULA`](../commands-legacy/listbox-insert-column-formula.md) para modificar columnas por programación. -A continuación, el contenido de cada línea se evalúa en función de una selección de registros: la **selección actual** de una tabla o una **selección temporal**. +The contents of each row is then evaluated according to a selection of records: the **current selection** of a table or a **named selection**. En el caso de un list box basado en la selección actual de una tabla, cualquier modificación realizada desde la base de datos se refleja automáticamente en el list box, y viceversa. Por lo tanto, la selección actual es siempre la misma en ambos lugares. @@ -137,41 +137,41 @@ Las propiedades soportadas dependen del tipo de list box. ## Eventos de formulario soportados {#supported-form-events} -| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event.md) para las propiedades principales) | Comentarios | -| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| On After Edit |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | -| On After Keystroke |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | -| On After Sort |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [headerName](#additional-properties)
    | *Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)* | -| On Alternative Click |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | *List box array únicamente* | -| On Before Data Entry |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | -| On Before Keystroke |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | -| On Begin Drag Over |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | -| On Clicked |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | -| On Close Detail |
    • [fila](#additional-properties)
    | *List box Selección actual y Selección temporal únicamente* | -| On Collapse |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | *List box jerárquicos únicamente* | -| On Column Moved |
    • [columnName](#additional-properties)
    • [newPosition](#additional-properties)
    • [oldPosition](#additional-properties)
    | | -| On Column Resize |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [newSize](#additional-properties)
    • [oldSize](#additional-properties)
    | | -| On Data Change |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | -| On Delete Action |
    • [fila](#additional-properties)
    | | -| On Display Detail |
    • [isRowSelected](#additional-properties)
    • [row](#additional-properties)
    | | -| On Double Clicked |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | -| On Drag Over |
    • [area](#additional-properties)
    • [areaName](#additional-properties)
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | -| On Drop |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | -| On Expand |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | *List box jerárquicos únicamente* | -| On Footer Click |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [footerName](#additional-properties)
    | *List box arrays, selección actual y selección temporal únicamente* | -| On Getting Focus |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | *Propiedades adicionales devueltas sólo al editar una celda* | -| On Header Click |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [headerName](#additional-properties)
    | | -| On Load | | | -| On Losing Focus |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | -| On Mouse Enter |
    • [area](#additional-properties)
    • [areaName](#additional-properties)
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | -| On Mouse Leave | | | -| On Mouse Move |
    • [area](#additional-properties)
    • [areaName](#additional-properties)
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | -| On Open Detail |
    • [fila](#additional-properties)
    | *List box Selección actual y Selección temporal únicamente* | -| On Row Moved |
    • [newPosition](#additional-properties)
    • [oldPosition](#additional-properties)
    | *List box array únicamente* | -| On Scroll |
    • [horizontalScroll](#additional-properties)
    • [verticalScroll](#additional-properties)
    | | -| On Selection Change | | | -| On Unload | | | -| On Validate | | | +| Evento formulario | Propiedades adicionales devueltas (ver [Evento formulario](../commands/form-event.md) para las propiedades principales) | Comentarios | +| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| On After Edit |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | +| On After Keystroke |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | +| On After Sort |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [headerName](#additional-properties)
    | \*Las fórmulas compuestas no se pueden ordenar.
    (por ejemplo, This.firstName + This.lastName)_ | +| On Alternative Click |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | *List box array únicamente* | +| On Before Data Entry |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | +| On Before Keystroke |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | +| On Begin Drag Over |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | +| On Clicked |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | +| On Close Detail |
    • [fila](#additional-properties)
    | *List box Selección actual y Selección temporal únicamente* | +| On Collapse |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | *List box jerárquicos únicamente* | +| On Column Moved |
    • [columnName](#additional-properties)
    • [newPosition](#additional-properties)
    • [oldPosition](#additional-properties)
    | | +| On Column Resize |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [newSize](#additional-properties)
    • [oldSize](#additional-properties)
    | | +| On Data Change |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | +| On Delete Action |
    • [fila](#additional-properties)
    | | +| On Display Detail |
    • [isRowSelected](#additional-properties)
    • [row](#additional-properties)
    | | +| On Double Clicked |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | +| On Drag Over |
    • [area](#additional-properties)
    • [areaName](#additional-properties)
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | +| On Drop |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | +| On Expand |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | *List box jerárquicos únicamente* | +| On Footer Click |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [footerName](#additional-properties)
    | *List box arrays, selección actual y selección temporal únicamente* | +| On Getting Focus |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | *Propiedades adicionales devueltas sólo al editar una celda* | +| On Header Click |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [headerName](#additional-properties)
    | | +| On Load | | | +| On Losing Focus |
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | *Propiedades adicionales devueltas sólo cuando la modificación de una celda se completa* | +| On Mouse Enter |
    • [area](#additional-properties)
    • [areaName](#additional-properties)
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | +| On Mouse Leave | | | +| On Mouse Move |
    • [area](#additional-properties)
    • [areaName](#additional-properties)
    • [column](#additional-properties)
    • [columnName](#additional-properties)
    • [row](#additional-properties)
    | | +| On Open Detail |
    • [fila](#additional-properties)
    | *List box Selección actual y Selección temporal únicamente* | +| On Row Moved |
    • [newPosition](#additional-properties)
    • [oldPosition](#additional-properties)
    | *List box array únicamente* | +| On Scroll |
    • [horizontalScroll](#additional-properties)
    • [verticalScroll](#additional-properties)
    | | +| On Selection Change | | | +| On Unload | | | +| On Validate | | | ### Propiedades adicionales {#additional-properties} diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/listbox_overview.md b/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/listbox_overview.md index eb3ad1c9cd12fb..065cca3a4396fe 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/listbox_overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/listbox_overview.md @@ -244,14 +244,14 @@ Puede activar o desactivar la ordenación usuario estándar desactivando la prop El soporte de ordenación estándar depende del tipo de list box: -| Tipo de list box | Soporte de ordenación estándar | Comentarios | -| ------------------------------ | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| Colección de objetos | Sí |
    • Las columnas "This.a" o "This.a.b" son ordenables.
    • La [propiedad source del list box](properties_Object.md#variable-or-expression) debe ser una [expresión asignable](../Concepts/quick-tour.md#assignable-vs-non-assignable-expressions).
    | -| Colección de valores escalares | No | Utilice la ordenación personalizada con la función [`orderBy()`](../API/CollectionClass.md#orderby) | -| Entity selection | Sí |
    • The [list box source property](properties_Object.md#variable-or-expression) must be an [assignable expression](../Concepts/quick-tour.md#assignable-vs-non-assignable-expressions).
    • Soportado: ordena en las propiedades de atributos de objetos (por ejemplo, "This.data.city" cuando "data" es un atributo de objeto)
    • Soportado: ordena en atributos relacionados (por ejemplo, "This.company.name")
    • No soportado: ordena por propiedades de atributos de objeto a través de atributos relacionados (por ejemplo, "This.company.data.city"). For this, you need to use custom sort with [`orderByFormula()`](../API/EntitySelectionClass.md#orderbyformula) function (see example below)
    | -| Selección actual | Sí | Sólo se pueden ordenar las expresiones simples (por ejemplo, `[Table_1]Campo_2`) | -| Selección temporal | No | | -| Arrays | Sí | Las columnas vinculadas a arrays de imágenes y punteros no se pueden ordenar | +| Tipo de list box | Soporte de ordenación estándar | Comentarios | +| ------------------------------ | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Colección de objetos | Sí |
    • Las columnas "This.a" o "This.a.b" son ordenables.
    • La [propiedad source del list box](properties_Object.md#variable-or-expression) debe ser una [expresión asignable](../Concepts/quick-tour.md#assignable-vs-non-assignable-expressions).
    | +| Colección de valores escalares | No | Utilice la ordenación personalizada con la función [`orderBy()`](../API/CollectionClass.md#orderby) | +| Entity selection | Sí |
    • La [propiedad source del list box](properties_Object.md#variable-or-expression) debe ser una [expresión asignable](../Concepts/quick-tour.md#assignable-vs-non-assignable-expressions).
    • Soportado: ordena en las propiedades de atributos de objetos (por ejemplo, "This.data.city" cuando "data" es un atributo de objeto)
    • Soportado: ordena en atributos relacionados (por ejemplo, "This.company.name")
    • No soportado: ordena por propiedades de atributos de objeto a través de atributos relacionados (por ejemplo, "This.company.data.city"). For this, you need to use custom sort with [`orderByFormula()`](../API/EntitySelectionClass.md#orderbyformula) function (see example below)
    | +| Selección actual | Sí | Sólo se pueden ordenar las expresiones simples (por ejemplo, `[Table_1]Campo_2`) | +| Selección temporal | No | | +| Arrays | Sí | Las columnas vinculadas a arrays de imágenes y punteros no se pueden ordenar | ### Ordenación personalizada diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/webArea_overview.md b/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/webArea_overview.md index 310df21e7e3b35..e00aa288e1cdd6 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/webArea_overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/webArea_overview.md @@ -13,9 +13,9 @@ Varias [acciones estándar](#standard-actions) dedicadas, numerosos [comandos de Web areas can be used to display [Qodly pages](https://developer.4d.com/qodly/4DQodlyPro/pageLoaders/pageLoaderOverview) and provide 4D desktop application users with modern, CSS-based web interface. -You can embed a Qodly page inside a Web Area and then update [Qodly sources](https://developer.4d.com/qodly/4DQodlyPro/pageLoaders/qodlySources) from 4D by calling [`WA EXECUTE JAVASCRIPT FUNCTION`](../commands-legacy/wa-execute-javascript-function.md). +Puede integrar una página Qodly en un área Web y luego actualizar [las fuentes Qodly](https://developer.4d.com/qodly/4DQodlyPro/pageLoaders/qodlySources) desde 4D llamando a [`WA EXECUTE JAVASCRIPT FUNCTION`](../commands-legacy/wa-execute-javascript-function.md). -In 4D client/server applications, Qodly pages inside Web areas can [share their session with the remote user](../Desktop/sessions.md#sharing-a-desktop-session-for-web-accesses) for a high level of security. +En las aplicaciones cliente/servidor 4D, las páginas Qodly en las áreas Web pueden [compartir su sesión con el usuario remoto](../Desktop/sessions.md#sharing-a-desktop-session-for-web-accesses) para un alto nivel de seguridad. :::tip Entrada de blog relacionada diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-document.md b/i18n/es/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-document.md index 4c169460bd6ce2..a90f6330690789 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-document.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-document.md @@ -103,14 +103,14 @@ La siguiente tabla indica la *option* disponible por *format* de exportación: La propiedad wk files permite [exportar un PDF con archivos adjuntos](https://blog.4d.com/4d-write-pro-export-to-pdf-with-enclosures). Esta propiedad debe contener una colección de objetos que describan los archivos que se integrarán en el documento final. Cada objeto de la colección puede contener las siguientes propiedades: -| **Propiedad** | **Tipo** | **Description** | -| ------------- | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| name | Text | Nombre de archivo. Opcional si se utiliza la propiedad *file*, en cuyo caso el nombre se infiere por defecto a partir del nombre del archivo. Obligatorio si se utiliza la propiedad *data* (excepto para el primer archivo de una exportación Factur-X, en cuyo caso el nombre del archivo es automáticamente "factur-x.xml", ver abajo) | -| description | Text | Opcional. Si se omite, el valor por defecto para el primer archivo de exportación a Factur-X es "Factur-X/ZUGFeRD Invoice", en caso contrario vacío. | -| mimeType | Text | Opcional. Si se omite, el valor predeterminado puede adivinarse normalmente a partir de la extensión del archivo; de lo contrario, se utiliza "application/octet-stream". Si se pasa, asegúrese de utilizar un tipo mime ISO, de lo contrario el archivo exportado podría no ser válido. | -| data | Texto o BLOB | Obligatorio si falta la propiedad *file* | -| file | Objeto 4D.File | Obligatorio si falta la propiedad *data*, ignorado en caso contrario. | -| relationship | Text | Opcional. Si se omite, el valor por defecto es "Data". Possible values for Factur-X first file:
    • for BASIC, EN 16931 or EXTENDED profiles: "Alternative", "Source" or "Data" ("Alternative" only for German invoice)
    • for MINIMUM and BASIC WL profiles: "Data" only.
    • for other profiles: "Alternative", "Source" or "Data" (with restrictions perhaps depending on country: see profile specification for more info about other profiles - for instance for RECHNUNG profile only "Alternative" is allowed)
    • for other files (but Factur-X invoice xml file) : "Alternative", "Source", "Data", "Supplement" or "Unspecified"
    • any other value generates an error.
    | +| **Propiedad** | **Tipo** | **Description** | +| ------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| name | Text | Nombre de archivo. Opcional si se utiliza la propiedad *file*, en cuyo caso el nombre se infiere por defecto a partir del nombre del archivo. Obligatorio si se utiliza la propiedad *data* (excepto para el primer archivo de una exportación Factur-X, en cuyo caso el nombre del archivo es automáticamente "factur-x.xml", ver abajo) | +| description | Text | Opcional. Si se omite, el valor por defecto para el primer archivo de exportación a Factur-X es "Factur-X/ZUGFeRD Invoice", en caso contrario vacío. | +| mimeType | Text | Opcional. Si se omite, el valor predeterminado puede adivinarse normalmente a partir de la extensión del archivo; de lo contrario, se utiliza "application/octet-stream". Si se pasa, asegúrese de utilizar un tipo mime ISO, de lo contrario el archivo exportado podría no ser válido. | +| data | Texto o BLOB | Obligatorio si falta la propiedad *file* | +| file | Objeto 4D.File | Obligatorio si falta la propiedad *data*, ignorado en caso contrario. | +| relationship | Text | Opcional. Si se omite, el valor por defecto es "Data". Valores posibles para el primer archivo de Factur-X:
    • para los perfiles BASIC, EN 16931 o EXTENDED: "Alternative", "Source" o "Data" ("Alternative" sólo para factura alemana)
    • para los perfiles MINIMUM y BASIC WL: sólo "Data".
    • para los otros perfiles: "Alternative", "Source" o "Data" (con restricciones quizás dependiendo del país: ver la especificación del perfil para más información sobre otros perfiles - por ejemplo para el perfil RECHNUNG sólo se permite "Alternative")
    • para los otros archivos (excepto el archivo xml de la factura Factur-X) : "Alternative", "Source", "Data", "Supplement" o "Unspecified".
    • cualquier otro valor genera un error.
    | Si el parámetro *option* también contiene una propiedad wk factur x, entonces el primer elemento de la colección wk files debe ser el fichero xml de la factura Factur-X (ZUGFeRD) (ver más abajo). diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-variable.md b/i18n/es/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-variable.md index 3ab5152d7a7d86..6cf8ab52e39496 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-variable.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-variable.md @@ -34,14 +34,14 @@ En *destination*, pase la variable que quiere llenar con el objeto exportado de En el parámetro *format*, pase una constante del tema *4D Write Pro Constants* para definir el formato de exportación que desea utilizar. Cada formato está relacionado con un uso específico. Se soportan los siguientes formatos: -| Constante | Tipo | Valor | Comentario | -| ------------------- | ------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| wk 4wp | Integer | 4 | El documento 4D Write Pro se guarda en un formato de archivo nativo (HTML comprimido e imágenes guardadas en una carpeta separada). Se incluyen las etiquetas específicas 4D y no se calculan las expresiones 4D. Este formato es especialmente adecuado para guardar y archivar documentos 4D Write Pro en disco sin pérdida alguna. | -| wk docx | Integer | 7 | Extensión .docx. El documento 4D Write Pro se guarda en formato Microsoft Word. Compatibilidad certificada con Microsoft Word 2010 y versiones posteriores.
    The document parts exported are:
    • Body / headers / footers / sections
    • Page / print settings (margins, background color / image, borders, padding, paper size / orientation)
    • Images - inline, anchored, and background image pattern (defined with wk background image)
    • Style sheets (character, paragraph)
    • Compatible variables and expressions (page number, number of pages, date, time, metadata). Non-compatible variables and expressions will be evaluated and frozen before export.
    • Links - Bookmarks and URLs
    Note that some 4D Write Pro settings may not be available or may behave differently in Microsoft Word. | -| wk mime html | Integer | 1 | El documento 4D Write Pro se guarda como HTML MIME estándar con documentos HTML e imágenes anidadas como partes MIME (codificadas en base64). Se calculan las expresiones y se eliminan las etiquetas específicas de 4D y los enlaces de métodos. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). This format is particularly suitable for sending HTML emails. | -| wk pdf | Integer | 5 | Extensión .pdf. El documento 4D Write Pro se guarda en formato PDF, según el modo vista Página. Los siguientes metadatos se exportan en un documento PDF: Título Autor Asunto Creador del contenido **Notas**: Las expresiones se congelan automáticamente al exportar el documento Los enlaces a métodos NO se exportan | -| wk svg | Integer | 8 | La página del documento 4D Write Pro se guarda en formato SVG, según el modo vista Página. **Nota:** al exportar a SVG, sólo puede exportar una página cada vez. Utilice el wk page index para especificar qué página exportar. | -| wk web page html 4D | Integer | 3 | El documento 4D Write Pro se guarda como HTML e incluye etiquetas específicas 4D; cada expresión se inserta como un espacio inseparable. Como este formato no tiene pérdidas, es apropiado para almacenar propósitos en un campo de texto. | +| Constante | Tipo | Valor | Comentario | +| ------------------- | ------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| wk 4wp | Integer | 4 | El documento 4D Write Pro se guarda en un formato de archivo nativo (HTML comprimido e imágenes guardadas en una carpeta separada). Se incluyen las etiquetas específicas 4D y no se calculan las expresiones 4D. Este formato es especialmente adecuado para guardar y archivar documentos 4D Write Pro en disco sin pérdida alguna. | +| wk docx | Integer | 7 | Extensión .docx. El documento 4D Write Pro se guarda en formato Microsoft Word. Compatibilidad certificada con Microsoft Word 2010 y versiones posteriores.
    The document parts exported are:
    • Body / headers / footers / sections
    • Page / print settings (margins, background color / image, borders, padding, paper size / orientation)
    • Images - inline, anchored, and background image pattern (defined with wk background image)
    • Style sheets (character, paragraph)
    • Compatible variables and expressions (page number, number of pages, date, time, metadata). Las variables y expresiones no compatibles se evaluarán y congelarán antes de la exportación.
    • Enlaces - Marcadores y URLs
    Tenga en cuenta que algunos ajustes de 4D Write Pro pueden no estar disponibles o comportarse de forma diferente en Microsoft Word. | +| wk mime html | Integer | 1 | El documento 4D Write Pro se guarda como HTML MIME estándar con documentos HTML e imágenes anidadas como partes MIME (codificadas en base64). Se calculan las expresiones y se eliminan las etiquetas específicas de 4D y los enlaces de métodos. Sólo se exportan los cuadros de texto anclados a la vista incrustada (como divs). This format is particularly suitable for sending HTML emails. | +| wk pdf | Integer | 5 | Extensión .pdf. El documento 4D Write Pro se guarda en formato PDF, según el modo vista Página. Los siguientes metadatos se exportan en un documento PDF: Título Autor Asunto Creador del contenido **Notas**: Las expresiones se congelan automáticamente al exportar el documento Los enlaces a métodos NO se exportan | +| wk svg | Integer | 8 | La página del documento 4D Write Pro se guarda en formato SVG, según el modo vista Página. **Nota:** al exportar a SVG, sólo puede exportar una página cada vez. Utilice el wk page index para especificar qué página exportar. | +| wk web page html 4D | Integer | 3 | El documento 4D Write Pro se guarda como HTML e incluye etiquetas específicas 4D; cada expresión se inserta como un espacio inseparable. Como este formato no tiene pérdidas, es apropiado para almacenar propósitos en un campo de texto. | **Notas:** diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/commands-legacy/http-get.md b/i18n/es/docusaurus-plugin-content-docs/version-21/commands-legacy/http-get.md index bb9075dd31e2e2..0c68571b6e8a15 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/commands-legacy/http-get.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/commands-legacy/http-get.md @@ -54,7 +54,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por ejemplo, puede pasar las siguientes cadenas: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Durante las peticiones HTTPS, la autoridad del certificado no se verifica. diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/commands-legacy/http-request.md b/i18n/es/docusaurus-plugin-content-docs/version-21/commands-legacy/http-request.md index 884ba514005372..60f8e4e37de77a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/commands-legacy/http-request.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/commands-legacy/http-request.md @@ -67,7 +67,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por ejemplo, puede pasar las siguientes cadenas: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Durante las peticiones HTTPS, la autoridad del certificado no se verifica. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current.json b/i18n/fr/docusaurus-plugin-content-docs/current.json index 035eea8ab09ee4..2ec251634bfd45 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current.json +++ b/i18n/fr/docusaurus-plugin-content-docs/current.json @@ -1292,15 +1292,15 @@ "description": "The label for the doc item 'Sessions' in sidebar 'docs', linking to the doc Desktop/desktop-sessions" }, "sidebar.docs.category.Exploring Projects": { - "message": "Exploring Projects", + "message": "Explorer les projets", "description": "The label for category 'Exploring Projects' in sidebar 'docs'" }, "sidebar.docs.category.Database Structure": { - "message": "Database Structure", + "message": "Structure de la base de données", "description": "The label for category 'Database Structure' in sidebar 'docs'" }, "sidebar.docs.category.Methods & Classes": { - "message": "Methods & Classes", + "message": "Méthodes et classes", "description": "The label for category 'Methods & Classes' in sidebar 'docs'" }, "sidebar.docs.category.4D-Environment-key": { diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/ClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/ClassClass.md index c32a3484b6a4af..89adbe68fb935e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/ClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/ClassClass.md @@ -3,7 +3,7 @@ id: ClassClass title: Class --- -Lorsqu'une classe utilisateur est [définie](Concepts/classes.md#class-definition) dans le projet, elle est chargée dans l'environnement de langage 4D. Une classe est un objet lui-même, de la classe "Class", qui a des propriétés et une fonction. +Lorsqu'une classe utilisateur est [définie](../Project/code-overview.md#creating-classes) dans le projet, elle est chargée dans l'environnement de langage 4D. Une classe est un objet lui-même, de la classe "Class", qui a des propriétés et une fonction. ### Sommaire diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/CollectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/CollectionClass.md index e4b818e8f38a03..af6d540820c465 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/CollectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/CollectionClass.md @@ -3107,7 +3107,7 @@ Par défaut, les nouveaux éléments sont remplis par des valeurs **null**. Vous #### Description -The `.reverse()` function returns a new collection with all elements of the original collection in reverse order. Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. +La fonction `.reverse()` retourne une nouvelle collection avec tous les éléments de la collection originale dans l'ordre inverse. Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. > Cette fonction ne modifie pas la collection d'origine. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/IMAPNotifierClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/IMAPNotifierClass.md index 6e67672b35aaa2..03b263360f796e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/IMAPNotifierClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/IMAPNotifierClass.md @@ -3,7 +3,7 @@ id: IMAPNotifierClass title: IMAPNotifier --- -The `IMAPNotifier` class allows you to manage IMAP IDLE notifications for a selected mailbox. +La classe `IMAPNotifier` vous permet de gérer les notifications IMAP IDLE pour une boîte aux lettres sélectionnée.
    Historique @@ -13,22 +13,22 @@ The `IMAPNotifier` class allows you to manage IMAP IDLE notifications for a sele
    -The `IMAPNotifier` class is available from the `4D` class store. +La classe `IMAPNotifier` est disponible dans le class store `4D`. -An `IMAPNotifier` object is associated with an [IMAP transporter](./IMAPTransporterClass.md#imap-transporter-object) and provides access to mailbox notification management. +Un objet `IMAPNotifier` est associé à un [transporteur IMAP](./IMAPTransporterClass.md#imap-transporter-object) et permet de gérer les notifications de boîte aux lettres. -All `IMAPNotifier` class functions are thread-safe. +Toutes les fonctions de la classe `IMAPNotifier` sont thread-safe. :::tip Article de blog lié -[Instant Email Notifications with IMAP Transporter](https://blog.4d.com/instant-email-notifications-with-imap-transporter) +[Notifications instantanées par courrier électronique avec le transporteur IMAP](https://blog.4d.com/instant-email-notifications-with-imap-transporter) ::: ### Exemple ```4d -// Define listener callbacks +// Définir les fonctions callback du listener var $parameter : Object var $transporter : 4D.IMAPTransporter @@ -46,9 +46,9 @@ $transporter.selectBox("INBOX") $transporter.notifier.start() ``` -## IMAPNotifier object +## Objet IMAPNotifier -An IMAPNotifier object provides the following properties and functions: +Un objet IMAPNotifier fournit les propriétés et fonctions suivantes : | | | ------------------------------------------------------------------------------------------------------------------ | @@ -64,15 +64,15 @@ An IMAPNotifier object provides the following properties and functions: -| Paramètres | Type | | Description | -| ---------- | ------------------------------- | --------------------------- | ----------------------- | -| Résultat | 4D.IMAPNotifier | <- | New IMAPNotifier object | +| Paramètres | Type | | Description | +| ---------- | ------------------------------- | --------------------------- | ------------------------- | +| Résultat | 4D.IMAPNotifier | <- | Nouvel objet IMAPNotifier | #### Description -The `4D.IMAPNotifier.new()` function creates a new IMAPNotifier object. +La fonction `4D.IMAPNotifier.new()` crée un nouvel objet IMAPNotifier. @@ -84,7 +84,7 @@ The `4D.IMAPNotifier.new()` function #### Description -The `.isStarted` property indicates whether the notifier is started (`true`) or stopped (`false`). Cette propriété est en **lecture seule**. +La propriété `.isStarted` indique si le notificateur est démarré (`true`) ou arrêté (`false`). Cette propriété est en **lecture seule**. @@ -96,25 +96,25 @@ The `.isStarted` property indicates -| Paramètres | Type | | Description | -| ---------- | ------ | :-------------------------: | ---------------- | -| Résultat | Object | <- | Operation status | +| Paramètres | Type | | Description | +| ---------- | ------ | :-------------------------: | --------------------- | +| Résultat | Object | <- | Statut de l'opération | #### Description -The `.start()` function starts the subscription to server notifications and activates IMAP listener callbacks. +La fonction `.start()` démarre l'abonnement aux notifications du serveur et active les callbacks. -A mailbox must be selected using [`selectBox()`](./IMAPTransporterClass.md#selectbox) before calling `.start()`. +Une boîte aux lettres doit être sélectionnée à l'aide de [`selectBox()`](./IMAPTransporterClass.md#selectbox) avant d'appeler `.start()`. -Callback functions are executed in the worker where `.start()` is called. +Les fonctions de rappel sont exécutées dans le worker où `.start()` est appelé. :::note Notes -- When the notifier is started, other transporter functions (such as `getMail()` or `send()`) are not available. You must call `.stop()` before using these functions, then call `.start()` again to resume notifications. +- Lorsque le notificateur est lancé, les autres fonctions du transporteur (telles que `getMail()` ou `send()`) ne sont pas disponibles. Vous devez appeler `.stop()` avant d'utiliser ces fonctions, puis appeler `.start()` à nouveau pour reprendre les notifications. -- IMAP IDLE notifications indicate that a change has occurred but do not provide updated mailbox data. To refresh the mailbox state, you must stop the notifier, retrieve the updated data (for example using `getMail()`), and then restart it. +- Les notifications IMAP IDLE indiquent qu'un changement s'est produit mais ne fournissent pas de données actualisées sur la boîte aux lettres. Pour actualiser le statut de la boîte aux lettres, vous devez arrêter le notificateur, récupérer les données mises à jour (par exemple à l'aide de `getMail()`), puis le redémarrer. ::: @@ -124,10 +124,10 @@ Callback functions are executed in the worker where `.start()` is called. | ---------- | ------------------------------------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------ | | success | | Boolean | Vrai si l'opération est réussie, sinon Faux | | statusText | | Text | Message du statut retourné par le serveur IMAP, ou dernière erreur retournée dans la pile d'erreurs 4D | -| errors | | Collection | 4D error stack (not returned if a server response is received) | +| errors | | Collection | Pile d'erreur 4D (non retournée si une réponse du serveur est reçue) | | | \[].errcode | Number | Code d'erreur 4D | | | \[].message | Text | Description de l'erreur | -| | \[].componentSignature | Text | Signature of the component that returned the error | +| | \[].componentSignature | Text | Signature du composant qui a renvoyé l'erreur | @@ -139,15 +139,15 @@ Callback functions are executed in the worker where `.start()` is called. -| Paramètres | Type | | Description | -| ---------- | ------ | :-------------------------: | ---------------- | -| Résultat | Object | <- | Operation status | +| Paramètres | Type | | Description | +| ---------- | ------ | :-------------------------: | --------------------- | +| Résultat | Object | <- | Statut de l'opération | #### Description -The `.stop()` function stops the notification subscription. Calling `.stop()` is required before using other transporter functions (such as `getMail()` or `send()`). +La fonction `.stop()` arrête l'abonnement aux notifications. L'appel à `.stop()` est nécessaire avant d'utiliser d'autres fonctions du transporteur (comme `getMail()` ou `send()`). #### Objet retourné @@ -155,10 +155,10 @@ The `.stop()` function stops the notifi | ---------- | ------------------------------------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------ | | success | | Boolean | Vrai si l'opération est réussie, sinon Faux | | statusText | | Text | Message du statut retourné par le serveur IMAP, ou dernière erreur retournée dans la pile d'erreurs 4D | -| errors | | Collection | 4D error stack (not returned if a server response is received) | +| errors | | Collection | Pile d'erreur 4D (non retournée si une réponse du serveur est reçue) | | | \[].errcode | Number | Code d'erreur 4D | | | \[].message | Text | Description de l'erreur | -| | \[].componentSignature | Text | Signature of the component that returned the error | +| | \[].componentSignature | Text | Signature du composant qui a renvoyé l'erreur | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/IMAPTransporterClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/IMAPTransporterClass.md index 215b37b7557216..2161426721eca4 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/IMAPTransporterClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/IMAPTransporterClass.md @@ -1294,9 +1294,9 @@ Pour déplacer tous les messages de la boîte de réception courante : #### Description -The `.notifier` property contains the IMAPNotifier object associated with the transporter. Cette propriété est en **lecture seule**. +La propriété `.notifier` contient l'objet IMAPNotifier associé au transporteur. Cette propriété est en **lecture seule**. -See [IMAPNotifier](./IMAPNotifierClass.md). +Voir [IMAPNotifier](./IMAPNotifierClass.md). diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/SessionClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/SessionClass.md index f5186dfada2121..bf8a694ec697b7 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/SessionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/SessionClass.md @@ -10,7 +10,7 @@ Les objets session sont retournés par la commande [`Session`](../commands/sessi - [Sessions évolutives pour applications web avancées](https://blog.4d.com/scalable-sessions-for-advanced-web-applications/) - [Permissions : Inspecter les privilèges de la session pour faciliter le débogage](https://blog.4d.com/permissions-inspect-session-privileges-for-easy-debugging/) - [Générer, partager et utiliser des passcodes à usage unique (OTP) pour les sessions web](https://blog.4d.com/connect-your-web-apps-to-third-party-systems/) -- [Forget server-side wrappers, use 4D Sessions from the client](https://blog.4d.com/forget-server-side-wrappers-use-4d-sessions-from-the-client) +- [Oubliez les wrappers côté serveur, utilisez les sessions 4D à partir du client](https://blog.4d.com/forget-server-side-wrappers-use-4d-sessions-from-the-client) ::: @@ -855,7 +855,7 @@ Lorsqu'un objet `Session` est créé, la propriété `.storage` est vide. Cette En client/serveur, l'objet `.storage` de la session de l'utilisateur distant n'est **pas** le même sur le serveur et sur le client. -Lorsqu'une session utilisateur distante et une session web sont [partagées à l'aide d'un OTP](../Desktop/sessions.md#sharing-a-desktop-session-for-web-accesses), elles partagent également le même objet `.storage` sur le serveur, même si l'OTP a été [créé](#createotp) à partir de la session du côté client. +Lorsqu'une session utilisateur distante et une session web sont [partagées à l'aide d'un OTP](../Desktop/sessions.md#sharing-a-remote-session-for-web-accesses), elles partagent également le même objet `.storage` sur le serveur, même si l'OTP a été [créé](#createotp) à partir de la session du côté client. :::tip diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/WebServerClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/WebServerClass.md index fbc5ba6b51f2e3..a02a93892b8fe4 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/WebServerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/WebServerClass.md @@ -7,8 +7,8 @@ La classe `WebServer` vous permet de démarrer et de contrôler un serveur web p ### Propriétés -- **Streamable**: no -- **Sharable**: no +- **Streamable** : non +- **Partageable** : non ### Objet Web Server diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Admin/data-collect.md b/i18n/fr/docusaurus-plugin-content-docs/current/Admin/data-collect.md index 8677bee9804bf3..9a0c9f680e1978 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Admin/data-collect.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Admin/data-collect.md @@ -3,7 +3,7 @@ id: data-collect title: Collecte des données --- -Pour nous aider à améliorer sans cesse nos produits, nous collectons automatiquement des données concernant les statistiques d'utilisation des applications 4D Server. Les données collectées sont transférées sans incidence sur l'expérience utilisateur. Aucune information personnelle n'est collectée. For more information on 4D policy regarding personal data protection, please visit [this page](https://us.4d.com/privacy-policy). +Pour nous aider à améliorer sans cesse nos produits, nous collectons automatiquement des données concernant les statistiques d'utilisation des applications 4D Server. Les données collectées sont transférées sans incidence sur l'expérience utilisateur. Aucune information personnelle n'est collectée. Pour plus d'informations sur la politique de 4D en matière de protection des données personnelles, veuillez consulter [cette page](https://fr.4d.com/politique-de-protection-des-donnees-personnelles). La section ci-dessous explique : @@ -26,11 +26,11 @@ Certaines données sont également collectées à intervalles réguliers. | Data | Type | Notes | | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| appServer | Object | Object containing application server information | -| appServer.hits | Number | Number of requests from internal processes | -| appServer.bytesIn | Number | Bytes received by internal processes | -| appServer.bytesOut | Number | Bytes sent by internal processes | -| appServer.executionTime | Number | CPU execution time for internal processes | +| appServer | Object | Objet contenant des informations sur le serveur d'application | +| appServer.hits | Number | Nombre de requêtes provenant de process internes | +| appServer.bytesIn | Number | Octets reçus par des process internes | +| appServer.bytesOut | Number | Octets envoyés par des process internes | +| appServer.executionTime | Number | Temps d'exécution CPU pour les process internes | | cacheMissBytes | Object | Nombre d'octets manqués dans le cache | | cacheMissCount | Object | Nombre de lectures manquées dans le cache | | cacheReadBytes | Object | Nombre d'octets lus à partir de la mémoire cache | @@ -39,13 +39,13 @@ Certaines données sont également collectées à intervalles réguliers. | connectionSystems | Collection | Système d'exploitation du client sans le numéro de build (entre parenthèses) et nombre de clients qui l'utilisent | | databases[].cacheSize | Number | Taille du cache en octets | | databases[].externalDatastoreOpened | Number | Nombre d'appels à `Open datastore` | -| databases[].id | Number | Database ID | +| databases[].id | Number | ID de la base de données | | databases[].internalDatastoreOpened | Number | Nombre de fois où le datastore est ouvert par un serveur externe | -| databases[].maxConcurrent4DClients | Number | Maximum number of simultaneous 4D Client sessions (using a 4D Client license) over the collection interval | -| databases[].maxConcurrentRestSessions | Number | Maximum number of simultaneous REST sessions over the collection interval | -| databases[].maxConcurrentWebSessions | Number | Maximum number of simultaneous Web sessions (4DACTION and SOAP) over the collection interval | +| databases[].maxConcurrent4DClients | Number | Nombre maximum de sessions 4D Client simultanées (utilisant une licence 4D Client) sur l'intervalle de collecte | +| databases[].maxConcurrentRestSessions | Number | Nombre maximal de sessions REST simultanées sur l'intervalle de collecte | +| databases[].maxConcurrentWebSessions | Number | Nombre maximal de sessions Web simultanées (4DACTION et SOAP) sur l'intervalle de collecte | | databases[].maximum4DClientConnections | Number | Nombre maximal de connexions de 4D Client au serveur | -| databases[].numberOfDistinctClients | Number | Distinct count of client persistent UUID seen over collection interval | +| databases[].numberOfDistinctClients | Number | Nombre distinct d'UUID persistants de clients sur l'intervalle de collecte | | databases[].numberOfFields | Number | Nombre de champs | | databases[].numberOfKeepRecordSyncInfo | Number | Nombre de tables dont l'option "Activer la réplication" est cochée | | databases[].numberOfRecordsMax | Number | Nombre total d'enregistrements | @@ -56,21 +56,21 @@ Certaines données sont également collectées à intervalles réguliers. | databases[].remoteDebuggerVSCodeAttachments | Number | Nombre de rattachements au débogueur distant à partir de VS Code | | databases[].structureHash | Text | | | databases[].uniqueID | Texte (chaîne hachée) | Identifiant unique associé à la base de données (*Hachage par roulement polynomial du nom de la base de données*) | -| databases[].uptime | Number | Time elapsed (in seconds) between two collection events | -| databases[].uuid | Text | Database UUID | +| databases[].uptime | Number | Temps écoulé (en secondes) entre deux événements de collecte | +| databases[].uuid | Text | UUID de la base de données | | databases[].webIPAddressesNumber | Number | Nombre d'adresses IP différentes ayant adressé une requête à 4D Server | -| databases[].webMaxScalableSessions | Number | Maximum number of scalable sessions on the server | +| databases[].webMaxScalableSessions | Number | Nombre maximal de sessions évolutives sur le serveur | | databases[].webScalableSessions | Boolean | Vrai si les sessions évolutives sont activées | | dataSegment1.diskReadBytes | Object | Nombre d'octets lus dans le fichier de données | | dataSegment1.diskReadCount | Object | Nombre de lectures dans le fichier de données | | dataSegment1.diskWriteBytes | Object | Nombre d'octets écrits dans le fichier de données | | dataSegment1.diskWriteCount | Object | Nombre d'écritures dans le fichier de données | | dataSize | Number | Taille du fichier de données en octets | -| dbServer | Object | Object containing DB4D server information | -| dbServer.hits | Number | Number of requests from internal processes | -| dbServer.bytesIn | Number | Bytes received by internal processes | -| dbServer.bytesOut | Number | Bytes sent by internal processes | -| dbServer.executionTime | Number | CPU execution time for internal processes | +| dbServer | Object | Objet contenant des informations sur le serveur DB4D | +| dbServer.hits | Number | Nombre de requêtes provenant de process internes | +| dbServer.bytesIn | Number | Octets reçus par des process internes | +| dbServer.bytesOut | Number | Octets envoyés par des process internes | +| dbServer.executionTime | Number | Temps d'exécution CPU pour les process internes | | encryptedConnections | Boolean | True si les connexions client/serveur sont cryptées | | externalPHP | Boolean | True si le client effectue un appel à `PHP execute` et utilise sa propre version de php | | general.buildNumber | Number | Numéro de build de l'application 4D | @@ -90,7 +90,7 @@ Certaines données sont également collectées à intervalles réguliers. | isEngined | Boolean | True si l'application est fusionnée avec 4D Volume Desktop | | isProjectMode | Boolean | True si l'application est un projet | | LDAPLogin | Number | Nombre d'appels à la fonction `LDAP LOGIN` | -| license.sffPrimaryKey | Number | Server master product number | +| license.sffPrimaryKey | Number | Numéro de produit du serveur principal | | machine.CPU | Text | Nom, type et vitesse du processeur | | machine.memory | Number | Taille de la mémoire (en octets) disponible sur la machine | | machine.numberOfCores | Number | Nombre total de cœurs | @@ -103,13 +103,13 @@ Certaines données sont également collectées à intervalles réguliers. | ODBCLogin | Number | Nombre d'appels à `SQL LOGIN` utilisant ODBC | | phpCall | Number | Nombre d'appels à `PHP execute` | | QueryBySQL | Number | Nombre d'appels à `QUERY BY SQL` | -| restServer | Object | Object containing REST server information | -| restServer.bytesIn | Number | Bytes received by the REST server | -| restServer.bytesOut | Number | Bytes sent by the REST server | -| restServer.hits | Number | Number of hits on the REST server | -| restServer.executionTime | Number | CPU execution time for the REST WEB server | -| soapServer | Object | Object containing SOAP server information | -| soapServer.bytesIn | Number | Bytes received by the SOAP server | +| restServer | Object | Objet contenant des informations sur le serveur REST | +| restServer.bytesIn | Number | Octets reçus par le serveur REST | +| restServer.bytesOut | Number | Octets envoyés par le serveur REST | +| restServer.hits | Number | Nombre de hits du serveur REST | +| restServer.executionTime | Number | Temps d'exécution CPU du serveur WEB REST | +| soapServer | Object | Objet contenant des informations sur le serveur SOAP | +| soapServer.bytesIn | Number | Octets reçus par le serveur SOAP | | soapServer.bytesOut | Number | Bytes sent by the SOAP server | | soapServer.hits | Number | Number of hits on the SOAP server | | soapServer.executionTime | Number | CPU execution time for the SOAP server | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/classes.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/classes.md index 7b8af0fa718144..9fbac47d7317e3 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/classes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/classes.md @@ -67,7 +67,7 @@ Les classes disponibles sont accessibles depuis leurs class stores. Il existe de -La commande `cs` retourne le class store utilisateur pour le projet ou le composant courant. Elle retourne toutes les classes utilisateur [définies](#class-definition) dans le projet ou le composant ouvert. Par défaut, seules les [classes ORDA](ORDA/ordaClasses.md) du projet sont disponibles. +La commande `cs` retourne le class store utilisateur pour le projet ou le composant courant. Elle retourne toutes les classes utilisateur [définies](../Project/code-overview.md#creating-classes) dans le projet ou le composant ouvert. Par défaut, seules les [classes ORDA](ORDA/ordaClasses.md) du projet sont disponibles. #### Exemple @@ -930,7 +930,7 @@ The `server` keyword is useless for [ORDA data model functions](../ORDA/ordaClas `server` function parameters and result must be [**streamable**](./dt_object.md#streaming-support). For example, [4D.Datastore](../API/DataStoreClass.md), [File handle](../API/FileHandleClass.md), or [WebServer](../API/WebServerClass.md) are non-streamable classes but [4D.File](../API/FileClass.md) is streamable. -This feature is particularly useful in the context of [remote user sessions](../Desktop/sessions.md#remote-user-sessions), allowing you to implement the business logic in a [session singleton](#shared-or-session-singleton-functions) to share it accross all the processes of the session, thus extending the functionalities of the [`Session`](../commands/session) command. In this case, you might want the relevant business logic to be executed **on the server** so that all the session information is gathered on the server. +This feature is particularly useful in the context of [remote user sessions](../Desktop/sessions.md#remote-user-sessions), allowing you to implement the business logic in a [session singleton](../Concepts/classes.md#session-singleton) to share it accross all the processes of the session, thus extending the functionalities of the [`Session`](../commands/session) command. In this case, you might want the relevant business logic to be executed **on the server** so that all the session information is gathered on the server. By default, shared or session singleton functions are executed locally. Adding the `server` keyword in the class function definition makes 4D use the singleton instance on the server. Note that this can result of an instantiation of the singleton on the server if no instance exists yet. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/methods.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/methods.md index 89ca2960c2b40f..37d305b66807b9 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/methods.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/methods.md @@ -13,13 +13,13 @@ La taille maximale d'une méthode est limitée à 2 Go de texte ou à 32 000 lig Dans le langage 4D, il existe plusieurs catégories de méthodes. La catégorie dépend de la façon dont on peut les appeler : -| Type | Contexte d'appel | Accepte des paramètres | Description | -| --------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **Méthode projet** | À la demande, lorsque le nom de la méthode projet est appelé (voir [Appel de méthodes de projet](#calling-project-methods)) | Oui | Peut contenir du code pour exécuter des actions personnalisées. Une fois que votre méthode projet est créée, elle devient partie intégrante du langage du projet. | -| **Méthode objet (widget)** | Automatique, lorsqu'un événement implique l'objet auquel la méthode est associée | Non | Propriété d'un objet formulaire (également appelé widget) | -| **Méthode formulaire** | Automatique, lorsqu'un événement implique le formulaire auquel la méthode est associée | Non | Propriété d'un formulaire. Vous pouvez utiliser une méthode formulaire pour gérer les données et les objets, mais il est généralement plus simple et plus efficace d'utiliser une méthode objet dans ces cas de figure. | -| **Trigger** (ou *méthode table*) | Automatique, chaque fois que vous manipulez les enregistrements d'une table (Ajouter, Supprimer, Modifier) | Non | Propriété d'une table. Les triggers sont des méthodes qui permettent d'éviter les opérations "illégales" sur les enregistrements de votre base de données. | -| **Méthode base** | Automatique, lorsqu'un événement se produit sur la session de travail | Oui (prédéfini) | Il existe 16 méthodes base dans 4D. | -| **Type** | Automatically called when an object of the class is instantiated or when a function of the class is executed on an object instance in any other methods or in a [database field](../Develop/field-properties.md#class). | oui (fonctions de classe) | Une **Classe** est utilisée pour déclarer et configurer le class [constructor](./classes.md#class-constructor), les [propriétés](./classes.md#property*) et [fonctions](./classes.md#function) des objets. Voir [**Classes**](classes.md) | +| Type | Contexte d'appel | Accepte des paramètres | Description | +| --------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **Méthode projet** | On demand, when the project method name [is called](../Project/project-method-properties.md) | Oui | Peut contenir du code pour exécuter des actions personnalisées. Une fois que votre méthode projet est créée, elle devient partie intégrante du langage du projet. | +| **Méthode objet (widget)** | Automatique, lorsqu'un événement implique l'objet auquel la méthode est associée | Non | Propriété d'un objet formulaire (également appelé widget) | +| **Méthode formulaire** | Automatique, lorsqu'un événement implique le formulaire auquel la méthode est associée | Non | Propriété d'un formulaire. Vous pouvez utiliser une méthode formulaire pour gérer les données et les objets, mais il est généralement plus simple et plus efficace d'utiliser une méthode objet dans ces cas de figure. | +| **Trigger** (ou *méthode table*) | Automatique, chaque fois que vous manipulez les enregistrements d'une table (Ajouter, Supprimer, Modifier) | Non | Propriété d'une table. Les triggers sont des méthodes qui permettent d'éviter les opérations "illégales" sur les enregistrements de votre base de données. | +| **Méthode base** | Automatique, lorsqu'un événement se produit sur la session de travail | Oui (prédéfini) | Il existe 16 méthodes base dans 4D. | +| **Type** | Automatically called when an object of the class is instantiated or when a function of the class is executed on an object instance in any other methods or in a [database field](../Develop/field-properties.md#class). | oui (fonctions de classe) | A **Class** is used to declare and configure the class [constructor](./classes.md#class-constructor), [properties](./classes.md#property), and [functions](./classes.md#function) of objects. Voir [**Classes**](classes.md) | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/clientServer.md b/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/clientServer.md index 4b19a8bd93e76c..0676b1992833cf 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/clientServer.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/clientServer.md @@ -131,20 +131,20 @@ In a client/server application, it is important to know where your code will be The following table summarizes where the code is executed by default and how to switch its execution location (if allowed). Note that **local** means that the code will be executed on the machine from where it is actually called. -| Code | Default execution | How to switch | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| [ORDA data model functions](../ORDA/ordaClasses.md) | server | use `local` keyword in function definition | -| ORDA computed attribute functions [`get()`](../ORDA/ordaClasses.md#function-get-attributename), [`set()`](../ORDA/ordaClasses.md#function-set-attributename) | server | use `local` keyword in function definition | -| ORDA computed attribute functions [`query()`](../ORDA/ordaClasses.md#function-query-attributename), [`orderBy()`](../ORDA/ordaClasses.md#function-orderby-attributename) | server | n/a | -| ORDA event functions [(general)](../ORDA/orda-events.md) | server | n/a | -| ORDA event function [`constructor()`](../ORDA/ordaClasses.md#class-constructor-1) | local | n/a | -| ORDA event function [`event touched()`](../ORDA/orda-events.md#function-event-touched) | server | use `local` keyword in function definition | -| [User class functions](../Concepts/classes.md#function) | local | n/a | -| [Shared or session singleton function](../Concepts/classes.md#singleton-classes) | local | use `server` keyword in function definition | -| Trigger | server | n/a | -| Project method called from a client | client | check [**Execute on server** option](../Project/project-method-properties.md#execute-on-server). The code is executed in the twin process of the [user session process](./sessions.md#remote-user-sessions-remote-user-sessions) | -| | | call [`Execute on server`](../commands/execute-on-server) command. The code is executed in the [Stored procedures session](./sessions.md#stored-procedure-sessions-stored-procedure-sessions) | -| Project method called from a stored procedure on the server | server | call [`EXECUTE ON CLIENT`](../commands/execute-on-client) command. The target client must have been [registered](../commands/register-client) | -| Object method | local | n/a | -| Database methods:
    • On Backup Shutdown
    • On Backup Startup
    • On Server Close Connection
    • On Server Open Connection
    • On Server Shutdown
    • On Server Startup
    • On SQL Authentication
    • On Web Authentication
    • On Web Connection
    | server | n/a | -| Database methods:
    • On Startup
    • On Exit
    • On Drop
    | client | n/a | \ No newline at end of file +| Code | Default execution | How to switch | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [ORDA data model functions](../ORDA/ordaClasses.md) | server | use `local` keyword in function definition | +| ORDA computed attribute functions [`get()`](../ORDA/ordaClasses.md#function-get-attributename), [`set()`](../ORDA/ordaClasses.md#function-set-attributename) | server | use `local` keyword in function definition | +| ORDA computed attribute functions [`query()`](../ORDA/ordaClasses.md#function-query-attributename), [`orderBy()`](../ORDA/ordaClasses.md#function-orderby-attributename) | server | n/a | +| ORDA event functions [(general)](../ORDA/orda-events.md) | server | n/a | +| ORDA event function [`constructor()`](../ORDA/ordaClasses.md#class-constructor-1) | local | n/a | +| ORDA event function [`event touched()`](../ORDA/orda-events.md#function-event-touched) | server | use `local` keyword in function definition | +| [User class functions](../Concepts/classes.md#function) | local | n/a | +| [Shared or session singleton function](../Concepts/classes.md#singleton-classes) | local | use `server` keyword in function definition | +| Trigger | server | n/a | +| Project method called from a client | client | check [**Execute on server** option](../Project/project-method-properties.md#execute-on-server). The code is executed in the twin process of the [user session process](./sessions.md#remote-user-sessions) | +| | | call [`Execute on server`](../commands/execute-on-server) command. The code is executed in the [Stored procedures session](./sessions.md#stored-procedure-sessions) | +| Project method called from a stored procedure on the server | server | call [`EXECUTE ON CLIENT`](../commands/execute-on-client) command. The target client must have been [registered](../commands/register-client) | +| Object method | local | n/a | +| Database methods:
    • On Backup Shutdown
    • On Backup Startup
    • On Server Close Connection
    • On Server Open Connection
    • On Server Shutdown
    • On Server Startup
    • On SQL Authentication
    • On Web Authentication
    • On Web Connection
    | server | n/a | +| Database methods:
    • On Startup
    • On Exit
    • On Drop
    | client | n/a | \ No newline at end of file diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/sessions.md b/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/sessions.md index 11c0bfcfc9d4b0..8873a0e7d978e6 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/sessions.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Desktop/sessions.md @@ -164,7 +164,7 @@ Une session autonome est une session mono-utilisateur qui s'exécute lorsque vou ### Utilisation -La session autonome peut être utilisée pour développer et tester votre application client/serveur et son interaction avec les sessions web et le [partage d'OTP](#sharing-a-desktop-session-for-web-accesses). Vous pouvez utiliser l'objet `session` dans votre code d'une session autonome tout comme l'objet `session` des sessions distantes. +La session autonome peut être utilisée pour développer et tester votre application client/serveur et son interaction avec les sessions web et le [partage d'OTP](#sharing-a-remote-session-for-web-accesses). Vous pouvez utiliser l'objet `session` dans votre code d'une session autonome tout comme l'objet `session` des sessions distantes. ### Disponibilité diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Develop/async.md b/i18n/fr/docusaurus-plugin-content-docs/current/Develop/async.md index 54b7c181fcacff..204958e50284ea 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Develop/async.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Develop/async.md @@ -1,167 +1,168 @@ --- id: async -title: Asynchronous Execution +title: Exécution asynchrone --- -4D supports both **synchronous** and **asynchronous** execution modes, allowing developers to choose the best approach based on performance, responsiveness, and workload distribution. +4D prend en charge les modes d'exécution **synchrone** et **asynchrone**, ce qui permet aux développeurs de choisir la meilleure approche en fonction des performances, de la réactivité et de la répartition de la charge de travail. ## Principes de base -#### Synchronous Execution +#### Exécution synchrone -Synchronous execution follows a **sequential** flow, a step-by-step where each instruction must complete before the next one starts. This means the execution thread is blocked until the operation finishes. +L'exécution synchrone suit un flux **séquentiel**, un pas à pas où chaque instruction doit être terminée avant que la suivante ne commence. Cela signifie que le fil d'exécution est bloqué jusqu'à la fin de l'opération. -Synchronous execution is used when: +L'exécution synchrone est utilisée lorsque : -- Task execution must follow a strict order. -- Performance impact is minimal (e.g., quick operations). -- Running in a single-threaded context where blocking is acceptable. -- Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. +- L'exécution des tâches doit suivre un ordre strict. +- L'impact sur les performances est minime (par exemple, opérations rapides). +- L'exécution s'effectue dans un contexte monotâche où le blocage est acceptable. -#### Asynchronous Execution +L'exécution synchrone bloque l'interface utilisateur et convient mieux aux tâches rapides et ordonnées pour lesquelles le blocage est acceptable. -Asynchronous execution is **event-driven** and allows tasks other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. +#### Exécution asynchrone -Asynchronous execution is used when: +Asynchronous execution is **event-driven** and allows other operations to complete. Elle s'appuie sur des **callbacks**, des **workers** et des **event handlers** pour gérer le flux d'exécution. -- An operation takes a long time (e.g., waiting for a server response). -- Responsiveness is critical (e.g., UI interactions). -- Performing background tasks, network communication, or parallel processing. +L'exécution asynchrone est utilisée pour : -Choosing Between Synchronous and Asynchronous Execution: +- Une opération prend un certain temps (par exemple, attente d'une réponse du serveur). +- La réactivité est essentielle (par exemple, interactions avec l'interface utilisateur). +- Background tasks, network communication, or parallel processing are performed. -| Scenario | Best Approach | -| ------------------------------------------ | ---------------- | -| Quick operations with minimal processing | **Synchronous** | -| Tasks requiring strict execution order | **Synchronous** | -| Long-running background tasks | **Asynchronous** | -| Long-running UI interactions | **Asynchronous** | -| Short-running UI interactions | **Synchronous** | -| High-performance, multi-threaded workloads | **Asynchronous** | +Choisir entre l'exécution synchrone et l'exécution asynchrone : -## Core principles +| Scénario | Meilleure approche | +| --------------------------------------------------------- | ------------------ | +| Opérations rapides avec un minimum de traitement | **Synchrone** | +| Tâches nécessitant un ordre d'exécution strict | **Synchrone** | +| Tâches d'arrière-plan de longue durée | **Asynchrone** | +| Interactions de longue durée avec l'interface utilisateur | **Asynchrone** | +| Interactions de courte durée avec l'interface utilisateur | **Synchrone** | +| Charges de travail multi-tâches, hautes performances | **Asynchrone** | -4D provides built-in **asynchronous execution** capabilities through various classes and commands. These allow background task execution, network communication, and large data processing, while waiting other operations to complete without blocking the current process. +## Principes fondamentaux -The general concept of asynchronous event management in 4D is based on an asynchronous messaging model using **workers** (processes that listen to events) and **callbacks** (functions or formulas automatically invoked when an event occurs). Instead of waiting for a result (synchronous mode), you provide a function that will be automatically called when the desired event occurs. Callbacks can be passed as class functions (recommended) or Formula objects. +4D offre des capacités intégrées d'exécution **asynchrone** par le biais de diverses classes et commandes. Elles permettent l'exécution de tâches en arrière-plan, la communication réseau et le traitement de données volumineuses, tout en attendant que d'autres opérations se terminent sans bloquer le process en cours. -This model is common to [`CALL WORKER`](../commands/call-worker), [`CALL FORM`](../commands/call-form), and [classes that support aynchronous execution](#asynchronous-programming-with-4d-classes). All these commands/classes start an operation that runs in the background. The statement that launches the operation returns immediately, without waiting for the operation to finish. +Le concept général de la gestion asynchrone des événements dans 4D est basé sur un modèle de messagerie asynchrone utilisant des **workers** (process qui écoutent les événements) et des **callbacks** (fonctions ou formules automatiquement invoquées lorsqu'un événement se produit). Au lieu d'attendre un résultat (mode synchrone), vous fournissez une fonction qui sera automatiquement appelée lorsque l'événement souhaité se produira. Les callbacks peuvent être passés sous forme de fonctions de classe (recommandé) ou d'objets Formula. + +Ce modèle est commun à [`CALL WORKER`](../commands/call-worker), [`CALL FORM`](../commands/call-form), et aux [classes qui prennent en charge l'exécution aynchrone](#asynchronous-programming-with-4d-classes). Toutes ces commandes/classes lancent une opération qui s'exécute en arrière-plan. L'instruction qui lance l'opération rend la main immédiatement, sans attendre la fin de l'opération. ### Workers -Asynchronous programming relies on a system of [**workers**](../Develop/processes.md#worker-processes) (worker processes), which allows code to be executed in parallel without blocking the main process. This is particularly useful for long tasks (such as HTTP calls, executing external processes, background processing), while keeping the user interface responsive. +La programmation asynchrone repose sur un système de [**workers**](../Develop/processes.md#worker-processes) (process workers), qui permet d'exécuter du code en parallèle sans bloquer le process principal. Ceci est particulièrement utile pour les tâches longues (telles que les appels HTTP, l'exécution de process externes, le traitement en arrière-plan), tout en gardant l'interface utilisateur réactive. -Using worker processes in asynchronous programming **is mandatory** since "classic" processes automatically terminate their execution when the process method ends, thus using callbacks is not possible. A worker process stays alive and can **listen to events**. +L'utilisation de process workers dans la programmation asynchrone **est obligatoire** puisque les process "classiques" terminent automatiquement leur exécution à la fin de la méthode du process, ce qui ne permet pas d'utiliser des callbacks. Un process worker reste en vie et peut **écouter les événements**. -### Event queue (mailbox) +### File d'attente d'événements (boîte aux lettres) -Each worker (or form window for [`CALL FORM`](../commands/call-form)) has its own message queue. [`CALL WORKER`](../commands/call-worker) or [`CALL FORM`](../commands/call-form) simply posts a message to this queue. The worker handles messages one by one, in the order they arrive, within its own context. Process variables, current selections, etc. are preserved. +Chaque worker (ou fenêtre de formulaire pour [`CALL FORM`](../commands/call-form)) a sa propre file d'attente de messages. [`CALL WORKER`](../commands/call-worker) ou [`CALL FORM`](../commands/call-form) ajoute simplement un message dans cette file d'attente. Le worker traite les messages un par un, dans l'ordre où ils arrivent, dans son propre contexte. Les variables process, les sélections courantes, etc. sont conservées. -### Bidirectional communication via messages +### Communication bidirectionnelle par messages -The calling process posts a message then the worker executes it. The worker can in turn post a message (via [`CALL WORKER`](../commands/call-worker) or [`CALL FORM`](../commands/call-form)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). This mechanism replaces the classic return of synchronous calls. +Le process appelant envoie un message, puis le workerl'exécute. Le worker peut à son tour renvoyer un message (via [`CALL WORKER`](../commands/call-worker) ou [`CALL FORM`](../commands/call-form)) à l'appelant ou à un autre worker pour notifier un événement (fin de tâche, données reçues, erreur, progression, etc.). Ce mécanisme remplace le retour classique des appels synchrones. -### Event listening +### Écoute d'événements -In event-driven development, it is obvious that some code must be able to listen for incoming events. Events can be generated by the user interface (such as a mouse click on an object or a keyboard key pressed) or by any other interaction such as an http request or the end of another action. For example, when a form is displayed using the `DIALOG` command, user actions can trigger events that your code can process. A click on a button will trigger the code associated to the button. +Dans le cadre d'un développement orienté événements (*event-driven development*), il est évident qu'une partie du code doit être en mesure d'écouter les événements entrants. Les événements peuvent être générés par l'interface utilisateur (comme un clic souris sur un objet ou une touche de clavier enfoncée) ou par toute autre interaction telle qu'une requête http ou la fin d'une autre action. Par exemple, lorsqu'un formulaire est affiché à l'aide de la commande `DIALOG`, les actions de l'utilisateur peuvent déclencher des événements que votre code peut traiter. Un clic sur un bouton déclenche le code associé au bouton. -In the context of asynchronous execution, the following features place your code in listening mode: +Dans le contexte de l'exécution asynchrone, les fonctionnalités suivantes placent votre code en mode d'écoute : -- [`CALL WORKER`](../commands/call-worker) executes the code for which it has been called, then returns to a listening status from where it can be called afterwards. -- [`CALL FORM`](../commands/call-form) opens a form and makes it listen for incoming messages from the event queue. -- a call for a `wait()` listens for `terminate()` or `shutdown()` in a callback from any other instance. +- [`CALL WORKER`](../commands/call-worker) exécute le code pour lequel il a été appelé, puis retourne à un statut d'écoute à partir duquel il peut être appelé par la suite. +- [`CALL FORM`](../commands/call-form) ouvre un formulaire et lui fait écouter les messages entrants de la file d'attente des événements. +- un appel à `wait()` écoute `terminate()` ou `shutdown()` dans un callback depuis n'importe quelle autre instance. -### Event triggering +### Déclenchement d'événements -Events are automatically triggered during the execution flow and passed to your corresponding callbacks. You can force the triggering of events by calling `terminate()` or `shutdown()` during a `wait()`. +Les événements sont automatiquement déclenchés au cours de l'exécution et transmis aux callbacks correspondants. Vous pouvez forcer le déclenchement d'événements en appelant `terminate()` ou `shutdown()` pendant un `wait()`. -### Callback execution context +### Contexte d'exécution du callback -When 4D execute one of your callbacks, it does so in the context of the current process (worker), i.e. if your object is instantiated inside a form, the callback function will be executed in the context of that same form. +Lorsque 4D exécute un de vos callbacks, il le fait dans le contexte du process courant (worker), c'est-à-dire que si votre objet est instancié dans un formulaire, la fonction callback sera exécutée dans le contexte de ce même formulaire. -For callbacks to work properly in fully asynchronous mode, the operation should generally be launched from a worker (via `CALL WORKER`). If launched from a process handling UI, some callbacks may not be called until the UI is listening events. +Pour que les callbacks fonctionnent correctement en mode totalement asynchrone, l'opération doit généralement être lancée depuis un worker (via `CALL WORKER`). S'ils sont lancés à partir d'un process gérant l'interface utilisateur, certains callbacks peuvent ne pas être appelés tant que l'interface utilisateur n'écoute pas les événements. -### Releasing an asynchronous object +### Libération d'un objet asynchrone -In 4D, all objects are released [when no more references](../Concepts/dt_object.md#resources) to them exist in memory. This typically occurs at the end of a method execution for local variables. +En 4D, tout objet est libéré [dès lors qu'il n'y a plus de référence](../Concepts/dt_object.md#resources) à cet objet en mémoire. Cela se produit généralement à la fin de l'exécution d'une méthode pour les variables locales. -For asynchronous classes, an **extra reference** is always maintained by 4D in the process that instantiated the object. This reference is only released when the operation is finished, i.e. after the `onTerminate` event is triggered. This automatic referencing allows your object to survive even if you don't have referenced it specifically in a variable. +Pour les classes asynchrones, une **référence supplémentaire** est toujours maintenue par 4D dans le process qui a instancié l'objet. Cette référence n'est libérée que lorsque l'opération est terminée, c'est-à-dire après le déclenchement de l'événement `onTerminate`. Ce référencement automatique permet à votre objet de survivre même si vous ne l'avez pas référencé spécifiquement dans une variable. -If you want to "force" the release of an object at any moment, use a `.shutdown()` or `terminate()` function; it triggers the onTerminate\` event ànd thus releases the object. +Si vous voulez "forcer" la libération d'un objet à tout moment, utilisez une fonction `.shutdown()` ou `terminate()` ; elle déclenche l'événement onTerminate\` et libère ainsi l'objet. -### Examples illustrating the common concept +### Exemples illustrant le concept commun -| Feature | Async Launch | Callback / Event Handling | +| Fonctionnalité | Lancement asynchrone | Gestion des callbacks et des événements | | ------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | -| CALL WORKER | CALL WORKER("wk"; "MyMethod"; $params) | MyMethod is called with $params | -| CALL FORM | CALL FORM($win; "MyMethod"; $params) | MyMethod is called with $params | +| CALL WORKER | CALL WORKER("wk" ; "MyMethod" ; $params) | MyMethod est appelée avec $params | +| CALL FORM | CALL FORM($win; "MyMethod"; $params) | MyMethod est appelée avec $params | | 4D.SystemWorker | 4D.SystemWorker.new(cmd; $options) | Callbacks: onData, onResponse, onError, onTerminate | -## Asynchronous programming with 4D classes +## Programmation asynchrone avec les classes 4D -Several 4D classes support asynchronous processing: +Plusieurs classes 4D prennent en charge les traitements asynchrones : -- [`HTTPRequest`](../API/HTTPRequestClass.md) – Handles asynchronous HTTP requests and responses. -- [`SystemWorker`](../API/SystemWorkerClass.md) – Executes external processes asynchronously. -- [`TCPConnection`](../API/TCPConnectionClass.md) – Manages TCP client connections with event-driven callbacks. -- [`TCPListener`](../API/TCPListenerClass.md) – Manages TCP server connections. -- [`UDPSocket`](../API/UDPSocketClass.md) – Sends and receives UDP packets. -- [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. -- [`WebSocketServer`](../API/WebSocketServerClass.md) – Manages WebSocket server connections. +- [`HTTPRequest`](../API/HTTPRequestClass.md) - Gère les requêtes et les réponses HTTP asynchrones. +- [`SystemWorker`](../API/SystemWorkerClass.md) - Exécute des process externes de manière asynchrone. +- [`TCPConnection`](../API/TCPConnectionClass.md) - Gère les connexions client TCP avec des callbacks événementiels. +- [`TCPListener`](../API/TCPListenerClass.md) - Gère les connexions au serveur TCP. +- [`UDPSocket`](../API/UDPSocketClass.md) - Envoie et reçoit des paquets UDP. +- [`WebSocket`](../API/WebSocketClass.md) - Gère les connexions des clients WebSocket. +- [`WebSocketServer`](../API/WebSocketServerClass.md) - Gère les connexions serveur WebSocket. -All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asychronously when a *reponse* event is fired. +Toutes ces classes suivent les mêmes règles en matière d'exécution asynchrone. Leur constructeur accepte un paramètre *options* qui est utilisé pour configurer votre objet asynchrone. Il est recommandé que l'objet *options* soit une instance de [classe utilisateur](../Concepts/classes.md) qui possède des fonctions de callback. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. -We recommend the following sequence: +Nous recommandons la séquence suivante : -1. You create the user class where you declare callback functions, for example a `cs.Params` with `onError()` and `onResponse()` functions. -2. You instantiate the user class (in our example using `cs.Params.new()`) that will configure your asynchronous object. -3. You call the constructor of the 4D class (for example `4D.SystemWorker.new()`) and pass the *options* object as parameter. It starts the operations passed immediately without delay. +1. Vous créez la classe utilisateur dans laquelle vous déclarez les fonctions de callback, par exemple `cs.Params` avec les fonctions `onError()` et `onResponse()`. +2. Vous instanciez la classe utilisateur (dans notre exemple en utilisant `cs.Params.new()`) qui configurera votre objet asynchrone. +3. Vous appelez le constructeur de la classe 4D (par exemple `4D.SystemWorker.new()`) et vous passez l'objet *options* en paramètre. Il démarre immédiatement les opérations passées sans délai. -Here is a full example of implementation of an *options* object based upon a user class: +Voici un exemple complet de mise en œuvre d'un objet *options* basé sur une classe utilisateur : ```4d -// asynchronous code creation -var $options:=cs.Params.new(10) //see cs.Params class code below -var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users ";$options) +// création de code asynchrone +var $options:=cs.Params.new(10) //voir le code de la classe cs.Params ci-dessous +var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users " ;$options) -// "Params" class +// Classe "Params" -Class constructor ($timeout : Real) - This.dataType:="text" +Class constructor($timeout : Real) + This.dataType:="text" This.data:="" This.dataError:="" This.timeout:=$timeout Function onResponse($systemWorker : Object) - This._createFile("onResponse"; $systemWorker.response) + This._createFile("onResponse" ; $systemWorker.response) -Function onData($systemWorker : Object; $info : Object) +Function onData($systemWorker : Object ; $info : Object) This.data+=$info.data This._createFile("onData";this.data) -Function onDataError($systemWorker : Object; $info : Object) +Function onDataError($systemWorker : Object ; $info : Object) This.dataError+=$info.data This._createFile("onDataError";this.dataError) Function onTerminate($systemWorker : Object) var $textBody : Text - $textBody:="Response: "+$systemWorker.response - $textBody+="ResponseError: "+$systemWorker.responseError - This._createFile("onTerminate"; $textBody) + $textBody:="Response : "+$systemWorker.response + $textBody+="ResponseError : "+$systemWorker.responseError + This._createFile("onTerminate" ; $textBody) -Function _createFile($title : Text; $textBody : Text) - TEXT TO DOCUMENT(Get 4D folder(Current resources folder)+$title+".txt"; $textBody) +Function _createFile($title : Text ; $textBody : Text) + TEXT TO DOCUMENT(Get 4D folder(Current resources folder)+$title+".txt" ; $textBody) ``` -Note that `onResponse`, `onData`, `onDataError`, and `onTerminate` are functions supported by [`4D.SystemWorker`](../API/SystemWorkerClass.md). +Notez que `onResponse`, `onData`, `onDataError`, et `onTerminate` sont des fonctions prises en charge par [`4D.SystemWorker`](../API/SystemWorkerClass.md). -Once the user class is instantiated; 4D is put in [event listening](#event-listening) mode, in which case 4D can [trigger an event](#event-triggering) that calls the corresponding function in the user class. +Une fois la classe utilisateur instanciée ; 4D est mis en mode [écoute d'événements](#event-listening) auquel cas 4D peut [déclencher un événement](#event-triggering) qui appelle la fonction correspondante dans la classe utilisateur. :::tip -In some cases, you might want to use formulas as property values instead of class functions. Although it is not the best practice, a syntax such as the following is supported: +Dans certains cas, vous pouvez vouloir utiliser des formules comme valeurs de propriété au lieu de fonctions de classe. Bien qu'il ne s'agisse pas la meilleure pratique, une syntaxe telle que la suivante est acceptée : ```4d var $options.onResponse:=Formula(myMethod) @@ -169,24 +170,24 @@ var $options.onResponse:=Formula(myMethod) ::: -## Synchronous execution in asynchronous code +## Exécution synchrone dans du code asynchrone -Even when using modern, asynchronous code, you may need to introduce a degree of synchronous execution. For example, you may want a function to wait for a certain amount of time to get a result. It could be the case with guaranteed fast network connections or system workers. Then, you can enforce synchronous execution using the `wait()` function. +Même lorsque vous utilisez un code moderne et asynchrone, vous pouvez avoir besoin d'introduire un certain degré d'exécution synchrone. Par exemple, vous pouvez souhaiter qu'une fonction attende un certain temps avant d'obtenir un résultat. Cela peut être le cas avec des connexions réseau rapides garanties ou des system workers. Alors, vous pouvez imposer une exécution synchrone en utilisant la fonction `wait()`. -The **`.wait()`** function pauses execution of the current process and puts 4D in [event listening](#event-listening) mode. Keep in mind that it will trigger events received from any sources, not only from the object on which the `wait()` function was called. +La fonction **`.wait()`** met en pause l'exécution du process courant et place 4D en mode [écoute d'événements](#event-listening). Gardez à l'esprit que tout événement reçu de n'importe quelle source sera pris en compte, et pas seulement de l'objet sur lequel la fonction `wait()` a été appelée. -The `wait()` function returns when the `onTerminate` event has been triggered on the object, or when the provided timeout (if any) has expired. Consequently, you can explicitly exit from a `.wait()` by calling `shutdown()` or `terminate()` from within a callback. Otherwise, the `.wait()` is exited when the current operation ends. +La fonction `wait()` rend la main lorsque l'événement `onTerminate` a été déclenché sur l'objet, ou lorsque le délai d'attente fourni (le cas échéant) a expiré. Par conséquent, vous pouvez sortir explicitement d'un `.wait()` en appelant `shutdown()` ou `terminate()` à l'intérieur d'un callback. Sinon, on sort du `.wait()` lorsque l'opération en cours se termine. Exemple : ```4d var $options:=cs.Params.new() -var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users ";$options) -$systemworker.wait(0.5) // Waits for up to 0.5 seconds for get file info +var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users " ;$options) +$systemworker.wait(0.5) // Attend jusqu'à 0,5 secondes pour obtenir des informations sur le fichier. ``` ## Voir également -[Blog post: Launch an external process asynchronously](https://blog.4d.com/launch-an-external-process-asynchronously/)
    -[Asynchronous Call](../aikit/asynchronous-call.md) +[Blog post: Lancer un process externe de manière asynchrone](https://blog.4d.com/launch-an-external-process-asynchronously/)
    +[Appel asynchrone](../aikit/asynchronous-call.md) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Extensions/develop-components.md b/i18n/fr/docusaurus-plugin-content-docs/current/Extensions/develop-components.md index 5b08c1f363f3ca..2ae2dd488a401e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Extensions/develop-components.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Extensions/develop-components.md @@ -68,7 +68,7 @@ Vous pouvez modifier le code du composant dans les conditions suivantes : - le projet hôte est exécuté en interprété, - le composant a été [chargé en mode interprété](../Project/components.md#interpreted-and-compiled-components) et le code source est disponible, -- les fichiers des composants sont stockés localement (c'est-à-dire qu'ils n'on,t pas été [téléchargés depuis GitHub](../Project/components.md#adding-a-github-dependency)). +- les fichiers des composants sont stockés localement (c'est-à-dire qu'ils n'on,t pas été [téléchargés depuis GitHub](../Project/components.md#adding-a-github-or-gitlab-dependency)). Dans ce contexte, vous pouvez ouvrir, modifier et sauvegarder le code de vos composants dans l'éditeur de code du projet hôte à partir de deux endroits : diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Extensions/overview.md b/i18n/fr/docusaurus-plugin-content-docs/current/Extensions/overview.md index 666ca4af9d02de..5094f6e7cefc0d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Extensions/overview.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Extensions/overview.md @@ -18,7 +18,7 @@ L'architecture des [projets 4D](../Project/architecture.md) est ouverte et peut 4D propose différents composants à la communauté 4D, couvrant de nombreux besoins de développement. Tous les composants 4D sont présents sur le [dépôt github de 4D](https://github.com/4d). -Un sous-ensemble de ces composants est listé par défaut dans le panneau Github du [Dependency Manager](../Project/components.md#adding-a-github-dependency), notamment : +A subset of these components is listed by default in the Github panel of the [Dependency Manager](../Project/components.md#adding-a-github-or-gitlab-dependency), including: | Composant | Dépôt Github | Description | Principales fonctionnalités | | --------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md b/i18n/fr/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md index b8633f8f8dac24..45087f72efb806 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md @@ -41,7 +41,7 @@ Un fichier CSS défini au niveau du formulaire remplacera la ou les feuilles de ## Form Class -Nom d'une [classe utilisateurs](../Concepts/classes.md#class-definition) existante à associer au formulaire. La classe utilisateur peut appartenir au projet hôte ou à un [composant](../Extensions/develop-components.md#sharing-of-classes), auquel cas la syntaxe formelle est "[*componentNameSpace*](../settings/general.md#component-namespace-in-the-class-store).className". +Name of an existing [user class](../Project/code-overview.md#user-classes) to associate to the form. La classe utilisateur peut appartenir au projet hôte ou à un [composant](../Extensions/develop-components.md#sharing-of-classes), auquel cas la syntaxe formelle est "[*componentNameSpace*](../settings/general.md#component-namespace-in-the-class-store).className". L'association d'une classe au formulaire offre les avantages suivants : diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md b/i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md index dffb574a6c1282..8ddf67afc744d5 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Notes/updates.md @@ -5,7 +5,7 @@ title: Release Notes ## 4D 21 R3 -Read [**What’s new in 4D 21 R3**](https://blog.4d.com/whats-new-in-4d-21-r3/), the blog post that lists all new features and enhancements in 4D 21 R3. +Lisez [**Les nouveautés de 4D 21 R3**](https://blog.4d.com/fr/whats-new-in-4d-21-r3), l'article de blog qui liste toutes les nouvelles fonctionnalités et améliorations de 4D 21 R3. #### Points forts @@ -32,8 +32,8 @@ Read [**What’s new in 4D 21 R3**](https://blog.4d.com/whats-new-in-4d-21-r3/), - La commande [`JSON Validate`](../commands/json-validate) prend maintenant en compte la clé *$schema* et génère une erreur si une version non prise en charge est déclarée dans le schéma. - Pour plus de clarté, les objets formules sont désormais des instances d'une nouvelle classe [`4D.Formula`](../API/FormulaClass.md) qui hérite de la classe générique [`4D.Function`](../API/FunctionClass.md). - Dans 4D 21 R3, de nouvelles améliorations du [Code Live Checker](../code-editor/write-class-method.md#warnings-and-errors) s'appliquent aux commandes du langage (voir [cet article de blog](https://blog.4d.com/enhancement-of-command-syntax-checking-in-the-editor)). Il est possible que des erreurs de syntaxe qui n'étaient pas détectées auparavant soient désormais signalées dans votre code. -- La page "PHP" a été supprimée de la [boîte de dialogue des Propriétés](../settings/overview.md). Use the [PHP selectors with the `SET DATABASE PARAMETER`](../commands/set-database-parameter#php-interpreter-ip-address-55) command to configure a PHP interpreter. -- The **Legacy** network layer is no longer supported. Les projets et les bases de données binaires qui utilisaient l'ancienne couche réseau sont automatiquement configurés en [**ServerNet**](../settings/client-server.md#network-layer) lors de la mise à niveau vers 4D 21 R3 et versions ultérieures. +- La page "PHP" a été supprimée de la [boîte de dialogue des Propriétés](../settings/overview.md). Utilisez les [sélecteurs PHP de la commande `SET DATABASE PARAMETER`](../commands/set-database-parameter#php-interpreter-ip-address-55) pour configurer un interpréteur PHP. +- L'ancienne couche réseau **Legacy** n'est plus prise en charge. Les projets et les bases de données binaires qui utilisaient l'ancienne couche réseau sont automatiquement configurés en [**ServerNet**](../settings/client-server.md#network-layer) lors de la mise à niveau vers 4D 21 R3 et versions ultérieures. ## 4D 21 R2 diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md b/i18n/fr/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md index 3e0c08b82e9b42..71f039b17dc395 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md @@ -28,7 +28,7 @@ Grâce à cette fonctionnalité, toute la logique métier de votre application 4 ![](../assets/en/ORDA/api.png) -De plus, 4D [crée préalablement et automatiquement](#creating-classes) les classes pour chaque objet de modèle de données disponible. +De plus, 4D [crée préalablement et automatiquement](../Project/code-overview.md#creating-classes) les classes pour chaque objet de modèle de données disponible. ## Architecture @@ -45,7 +45,7 @@ Toutes les classes de modèle de données ORDA sont exposées en tant que propri | cs._DataClassName_Entity | cs.EmployeeEntity | [`dataClass.get()`](API/DataClassClass.md#get), [`dataClass.new()`](API/DataClassClass.md#new), [`entitySelection.first()`](API/EntitySelectionClass.md#first), [`entitySelection.last()`](API/EntitySelectionClass.md#last), [`entity.previous()`](API/EntityClass.md#previous), [`entity.next()`](API/EntityClass.md#next), [`entity.first()`](API/EntityClass.md#first), [`entity.last()`](API/EntityClass.md#last), [`entity.clone()`](API/EntityClass.md#clone) | | cs._DataClassName_Selection | cs.EmployeeSelection | [`dataClass.query()`](API/DataClassClass.md#query), [`entitySelection.query()`](API/EntitySelectionClass.md#query), [`dataClass.all()`](API/DataClassClass.md#all), [`dataClass.fromCollection()`](API/DataClassClass.md#fromcollection), [`dataClass.newSelection()`](API/DataClassClass.md#newselection), [`entitySelection.drop()`](API/EntitySelectionClass.md#drop), [`entity.getSelection()`](API/EntityClass.md#getselection), [`entitySelection.and()`](API/EntitySelectionClass.md#and), [`entitySelection.minus()`](API/EntitySelectionClass.md#minus), [`entitySelection.or()`](API/EntitySelectionClass.md#or), [`entitySelection.orderBy()`](API/EntitySelectionClass.md#or), [`entitySelection.orderByFormula()`](API/EntitySelectionClass.md#orderbyformula), [`entitySelection.slice()`](API/EntitySelectionClass.md#slice), `Create entity selection` | -> Les classes utilisateur ORDA sont stockées sous forme de fichiers de classe standard (.4dm) dans le sous-dossier Classes du projet [(voir ci-dessous)](#class-files). +> ORDA user classes are stored as regular class files (.4dm) in the Classes subfolder of the project. De plus, les instances d'objet de classes utilisateurs du modèles de données ORDA bénéficient des propriétés et fonctions de leurs parents: @@ -269,7 +269,7 @@ End if Lors de la création ou de la modification de classes de modèles de données, vous devez veiller aux règles décrites ci-dessous : - Puisqu'ils sont utilisés pour définir des noms de classe DataClass automatiques dans le [class store](Concepts/classes.md#class-stores) **cs**, les tables 4D doivent être nommées afin d'éviter tout conflit dans l'espace de nommage **cs**. En particulier : - - Ne donnez pas le même nom à une table 4D et à une [classe d'utilisateurs](../Concepts/classes.md#class-definition) (user class). Si un tel cas se produit, le constructeur de la classe utilisateur devient inutilisable (un avertissement est retourné par le compilateur). + - Ne donnez pas le même nom à une table 4D et à une [classe d'utilisateurs](../Project/code-overview.md#creating-classes) (user class). Si un tel cas se produit, le constructeur de la classe utilisateur devient inutilisable (un avertissement est retourné par le compilateur). - N'utilisez pas de nom réservé pour une table 4D (par exemple "DataClass"). - Lors de la définition d'une classe, assurez-vous que l'instruction [`Class extends`](../Concepts/classes.md#class-extends-classname) correspond exactement au nom de la classe parente (rappelez-vous qu'ils sont sensibles à la casse). Par exemple, `Class extends EntitySelection` pour une classe de sélection d'entité. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Project/components.md b/i18n/fr/docusaurus-plugin-content-docs/current/Project/components.md index 78623fa732c814..526efb751d681c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Project/components.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Project/components.md @@ -49,7 +49,7 @@ This section describes how to work with components in the **4D** and **4D Server Pour charger un composant dans votre projet 4D, vous pouvez soit : - copier les fichiers des composants dans le [dossier **Components** de votre projet](architecture.md#components) (les dossiers des composants interprétés doivent être suffixés avec ".4dbase", voir ci-dessus), -- ou déclarer le composant dans le fichier **dependencies.json** de votre projet ; ceci est fait automatiquement pour les fichiers locaux lorsque vous [**ajoutez une dépendance en utilisant l'interface du Gestionnaire de dépendances**](#adding-a-github-dependency). +- ou déclarer le composant dans le fichier **dependencies.json** de votre projet ; ceci est fait automatiquement pour les fichiers locaux lorsque vous [**ajoutez une dépendance en utilisant l'interface du Gestionnaire de dépendances**](#adding-a-github-or-gitlab-dependency). Les composants déclarés dans le fichier **dependencies.json** peuvent être stockés à différents endroits : @@ -256,7 +256,7 @@ When a release is created in GitHub or GitLab, it is associated to a **tag** and :::note -Si vous sélectionnez la règle de dépendance [**Suivre la version 4D**](#defining-a-github-dependency-version-range), vous devez utiliser une [convention de nommage spécifique pour les tags](#naming-conventions-for-4d-version-tags). +Si vous sélectionnez la règle de dépendance [**Suivre la version 4D**](#defining-a-dependency-version-range), vous devez utiliser une [convention de nommage spécifique pour les tags](#naming-conventions-for-4d-version-tags). ::: @@ -524,7 +524,7 @@ Once the connection is established, an icon ![dependency-gitlogo](../assets/en/P :::note -If the component is stored on a [private repository](#private-repositories) and your personal token is missing, an error message is displayed and a **Add a personal access token...** button is displayed (see [Providing your access token](#providing-your-access-token)). +If the component is stored on a [private repository](#authentication-and-tokens) and your personal token is missing, an error message is displayed and a **Add a personal access token...** button is displayed (see [Providing your access token](#providing-your-access-token)). ::: @@ -571,7 +571,7 @@ Les mises à jour des dépendances sont régulièrement vérifiées sur GitHub. :::note -Si vous fournissez un [token d'accès](#providing-your-github-access-token), les vérifications sont effectuées plus fréquemment, car GitHub autorise alors une plus grande fréquence de requêtes aux dépôts. +Si vous fournissez un [token d'accès](#providing-your-access-token), les vérifications sont effectuées plus fréquemment, car GitHub autorise alors une plus grande fréquence de requêtes aux dépôts. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md b/i18n/fr/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md index b8ff307f8aa061..c8111ef6185ed2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md @@ -26,11 +26,11 @@ La façon la plus simple d'installer 4D View Pro dans un projet ouvert est d'uti 1. Ouvrez la fenêtre [Dependency Manager] (../Project/components.md). 2. Cliquez sur le bouton **+** pour ajouter un composant. 3. Cliquez sur l'onglet **GitHub**. -4. Sélectionnez **4d/4D-ViewPro** dans la [liste des composants par défaut] (../Extensions/overview.md) et (recommandé) **Suivre la version 4D** comme [règle de dépendance] (../Project/components.md#defining-a-github-dependency-version-range), puis cliquez sur **Ajouter**. +4. Sélectionnez **4d/4D-ViewPro** dans la [liste des composants par défaut] (../Extensions/overview.md) et (recommandé) **Suivre la version 4D** comme [règle de dépendance] (../Project/components.md#defining-a-dependency-version-range), puis cliquez sur **Ajouter**. ![](../assets/en/ViewPro/install.png) -Une fois le projet redémarré, le composant 4D View Pro est installé en tant que [dépendance Github] (../Project/components.md#adding-a-github-dependency). +Une fois le projet redémarré, le composant 4D View Pro est installé en tant que [dépendance Github] (../Project/components.md#adding-a-github-or-gitlab-dependency). 4D View Pro nécessite une licence. Vous devez activer cette licence dans votre application afin d'utiliser ses fonctionnalités. Lorsque vous utilisez ce composant sans licence, le contenu d'un objet nécessitant une fonctionnalité 4D View Pro ne s'affiche pas au moment de l'exécution; au lieu de cela, un message d'erreur : diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/WebServer/sessions.md b/i18n/fr/docusaurus-plugin-content-docs/current/WebServer/sessions.md index bccf4e166134cf..4f17a06efd7161 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/WebServer/sessions.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/WebServer/sessions.md @@ -29,7 +29,7 @@ Les applications Destkop (client/serveur et mono-utilisateur) fournissent égale Les sessions Web sont utilisées par : - les [applications Web](gettingStarted.md) envoyant des requêtes http (y compris les [Web services SOAP](../commands/theme/Web_Services_Server) et les requêtes [/4DACTION](../WebServer/httpRequests.md#4daction)), -- calls to the [REST API](../REST/authUsers.md), which are used by [remote datastores](../ORDA/remoteDatastores.md) and [Qodly pages](https://developer.4d.com/qodly/). +- les appels à l'[API REST](../REST/authUsers.md), qui sont effectués par les [datastores distants](../ORDA/remoteDatastores.md) et les [pages Qodly](https://developer.4d.com/qodly/). ## Activation des sessions web {#enabling-web-sessions} @@ -69,7 +69,7 @@ Le nom du cookie peut être obtenu en utilisant la propriété [`.sessionCookieN :::note -Creating a web session for a REST request may require that a license is available, see [this page](../REST/authUsers.md). +La création d'une session web pour une requête REST peut nécessiter qu'une licence soit disponible, consultez [cette page](../REST/authUsers.md). ::: @@ -221,7 +221,7 @@ Dans 4D, les tokens de session OTP sont utiles pour appeler des URL externes et :::info -Session tokens can also be created from [remote user sessions](../Desktop/sessions.md) and shared with web sessions to implement desktop applications that use web-based interfaces. See [Sharing a remote session for web accesses](../Desktop/sessions.md#sharing-a-remote-session-for-web-accesses). +Les tokens de session peuvent également être créés à partir de [sessions utilisateur distantes](../Desktop/sessions.md) et partagés avec des sessions web pour mettre en œuvre des applications desktop qui utilisent des interfaces basées sur le web. Voir [Partager une session distante pour les accès web](../Desktop/sessions.md#sharing-a-remote-session-for-web-accesses). ::: @@ -481,7 +481,7 @@ Un nouvel utilisateur est créé et des informations sont stockées dans la sess - Les schémas HTTP et HTTPS sont tous deux pris en charge. - Seules des [sessions évolutives](#enabling-web-sessions) peuvent être réutilisées avec des tokens. - Seules les sessions de la base de données hôte peuvent être réutilisées (les sessions créées dans les serveurs web des composants ne peuvent pas être restaurées). -- Tokens can be **shared** with [remote user sessions](../Desktop/sessions.md#sharing-a-remote-session-for-web-accesses) for hybrid accesses (desktop and web). +- Les tokens peuvent être **partagés** avec des [sessions utilisateur distantes](../Desktop/sessions.md#sharing-a-remote-session-for-web-accesses) pour les accès hybrides (desktop et web). ### Durée de vie diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/command-index.md b/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/command-index.md index c49543217865f3..3dbe2a5be0be77 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/command-index.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/command-index.md @@ -23,15 +23,15 @@ title: Commandes 4D Write Pro [`WP DELETE FOOTER`](../commands/wp-delete-footer)
    [`WP DELETE HEADER`](../commands/wp-delete-header)
    [`WP DELETE PICTURE`](../commands/wp-delete-picture)
    -[`WP DELETE SECTION`](../commands/wp-delete-section) ***New 4D 20 R7***
    -[`WP DELETE STYLE SHEET`](../commands/wp-delete-style-sheet) ***Modified 4D 21 R3***
    -[`WP DELETE SUBSECTION`](../commands/wp-delete-subsection) ***Modified 4D 20 R7***
    +[`WP DELETE SECTION`](../commands/wp-delete-section) ***Nouveau 4D 20 R7***
    +[`WP DELETE STYLE SHEET`](../commands/wp-delete-style-sheet) ***Modifié 4D 21 R3***
    +[`WP DELETE SUBSECTION`](../commands/wp-delete-subsection) ***Modifié 4D 20 R7***
    [`WP DELETE TEXT BOX`](../commands/wp-delete-text-box) E -[`WP EXPORT DOCUMENT`](../commands/wp-export-document) **Modified 4D 20 R9**
    -[`WP EXPORT VARIABLE`](../commands/wp-export-variable) **Modified 4D 20 R9** +[`WP EXPORT DOCUMENT`](../commands/wp-export-document) **Modifié 4D 20 R9**
    +[`WP EXPORT VARIABLE`](../commands/wp-export-variable) **Modifié 4D 20 R9** F @@ -42,7 +42,7 @@ title: Commandes 4D Write Pro G -[`WP GET ATTRIBUTES`](../commands/wp-get-attributes) ***Modified 4D 20 R8***
    +[`WP GET ATTRIBUTES`](../commands/wp-get-attributes) ***Modifié 4D 20 R8***
    [`WP Get body`](../commands/wp-get-body)
    [`WP GET BOOKMARKS`](../commands/wp-get-bookmarks)
    [`WP Get breaks`](../commands/wp-get-breaks)
    @@ -58,7 +58,7 @@ title: Commandes 4D Write Pro [`WP Get position`](../commands/wp-get-position)
    [`WP Get section`](../commands/wp-get-section)
    [`WP Get sections`](../commands/wp-get-sections)
    -[`WP Get style sheet`](../commands/wp-get-style-sheet) ***Modified 4D 21 R3***
    +[`WP Get style sheet`](../commands/wp-get-style-sheet) ***Modifié 4D 21 R3***
    [`WP Get style sheets`](../commands/wp-get-style-sheets)
    [`WP Get subsection`](../commands/wp-get-subsection)
    [`WP Get text`](../commands/wp-get-text)
    @@ -66,12 +66,12 @@ title: Commandes 4D Write Pro I -[`WP Import document`](../commands/wp-import-document) ***Modified 4D 20 R8***
    +[`WP Import document`](../commands/wp-import-document) ***Modifié 4D 20 R8***
    [`WP IMPORT STYLE SHEETS`](../commands/wp-import-style-sheets)
    -[`WP INSERT BREAK`](../commands/wp-insert-break) ***Modified 4D 20 R8***
    -[`WP Insert document body`](../commands/wp-insert-document-body) ***Modified 4D 20 R8***
    -[`WP INSERT FORMULA`](../commands/wp-insert-formula) ***Modified 4D 20 R8***
    -[`WP INSERT PICTURE`](../commands/wp-insert-picture) ***Modified 4D 20 R8***
    +[`WP INSERT BREAK`](../commands/wp-insert-break) ***Modifié 4D 20 R8***
    +[`WP Insert document body`](../commands/wp-insert-document-body) ***Modifié 4D 20 R8***
    +[`WP INSERT FORMULA`](../commands/wp-insert-formula) ***Modifié 4D 20 R8***
    +[`WP INSERT PICTURE`](../commands/wp-insert-picture) ***Modifié 4D 20 R8***
    [`WP Insert table`](../commands/wp-insert-table)
    [`WP Is font style supported`](../commands/wp-is-font-style-supported) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/managing-formulas.md b/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/managing-formulas.md index bfd879cecce5ba..1dca9154d3bbde 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/managing-formulas.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/managing-formulas.md @@ -103,28 +103,29 @@ Pour plus d'informations sur l'insertion de formules, voir [WP INSERT FORMULA](. **Date** -When the [**Current date**](../commands/current-date) command, a date variable, or a method returning a date is inserted in a formula, it will automatically be transformed into text using the system date short format. +Lorsque la commande [**Current date**](../commands/current-date), une variable date ou une méthode renvoyant une date est insérée dans une formule, elle est automatiquement transformée en texte en utilisant le format date système court. **Time** Lorsque la commande [**Current time**](../commands/current-time), une variable temporelle ou une méthode retournant une heure est insérée dans une formule, elle doit être incluse dans une commande [**String**](../commands/string) car le type heure n'est pas pris en charge dans JSON. Examinez les exemples de formules suivants : ```4d - // This code is the best practice + // Bonne pratique $formula1:=Formula(String(Current time)) //OK - // This code will work but is usually not recommended, except after "Edit formula" + // Fonctionnera mais n'est généralement pas recommandé, sauf après "Edit formula" $formula2:=Formula from string("String(Current time)") //OK - // Wrong code because time values would be displayed as a longint for seconds (or milliseconds), not as a time - $formula3:=Formula from string("Current time") //NOT valid - $formula4:=Formula(Current time) //NOT valid + // Code erroné car les valeurs de temps seraient affichées en tant que longint + //pour des secondes (ou millisecondes), pas comme une heure + $formula3:=Formula from string("Current time") //NON valide + $formula4:=Formula(Current time) //NON valide ``` -## Support de la structure virtuelle +## Prise en charge de la structure virtuelle -Table and field expressions inserted in 4D Write Pro documents support the virtual structure definition of the database. The virtual structure exposed to formulas is defined through [**SET FIELD TITLES**](../commands/set-field-titles)(...;\*) and [**SET TABLE TITLES**](../commands/set-table-titles)(...;\*) commands. +Les expressions de tables et de champs insérées dans les documents de 4D Write Pro prennent en charge la définition de structure virtuelle de la base de données. La structure virtuelle exposée aux formules est définie par les commandes [**SET FIELD TITLES**](../commands/set-field-titles)(...;\*) et [**SET TABLE TITLES**](../commands/set-table-titles)(...;\*). Quand une structure virtuelle est définie : @@ -134,7 +135,7 @@ Quand une structure virtuelle est définie : :::note -When a document is displayed in "display expressions" mode, references to tables or fields that do not belong to the virtual structure are displayed with "`?`" characters, for example `[VirtualTableName]?` when the field is not defined in the virtual structure. +Lorsqu'un document est affiché en mode "afficher expressions", les références de tables ou de champs qui n'appartiennent pas à la structure virtuelle sont affichées avec les caractères "`?`", par exemple `[VirtualTableName]?` lorsque le champ n'est pas défini dans la structure virtuelle. ::: @@ -147,23 +148,23 @@ Vous pouvez contrôler comment les formules sont affichées dans vos documents : ### Références ou valeurs -Par défaut, les formules 4D sont affichées sous forme de valeurs. When you insert a 4D formula, 4D Write Pro computes and displays its current value. If you wish to know which formula is used or what is its name, you need to display it as a reference. +Par défaut, les formules 4D sont affichées sous forme de valeurs. Lorsque vous insérez une formule 4D, 4D Write Pro calcule et affiche sa valeur courante. Si vous voulez savoir quelle formule est utilisée ou quel est son nom, vous devez l'afficher comme référence. Pour afficher les formules en tant que références, vous pouvez: -- check the **Show references** option in the Property list (see *Configuring View properties*), or -- use the visibleReferences standard action (see *Dynamic expressions*), or -- use the [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) command with the `wk visible references` selector to **True**. +- cocher l'option **Afficher les références** dans la liste des propriétés (voir *Configuration des propriétés de vue*), ou +- utiliser l'action standard visibleReferences (voir *Expressions dynamiques*), ou +- utiliser la commande [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) avec le sélecteur `wk visible references` à **True**. Les références de formule peuvent être affichées en tant que : - textes sources (par défaut) -- symbols -- names +- symboles +- noms -### References as source texts (default) +### Références en textes sources (par défaut) -When formulas are displayed as references, by default the source text of the formula appear in your document, with a default gray background (can be customized using the `wk formula highlight` selector). +Lorsque les formules sont affichées en tant que références, le texte source de la formule apparaît par défaut dans votre document, avec un arrière-plan gris (qui peut être personnalisé à l'aide du sélecteur `wk formula highlight`). Par exemple, vous avez inséré la date courante avec un format, la date s'affiche : @@ -173,25 +174,25 @@ Lorsque vous affichez les formules comme références, la **source** de la formu ![](../assets/en/WritePro/wp-formulas2.png) -### Les références comme symboles +### Références en symboles -When formula source texts are displayed in a document, the design could be confusing if you work on sophisticated templates using tables for example, and when formulas are complex: +Lorsque les textes sources des formules sont affichés dans un document, le rendu peut être confus si vous travaillez sur des modèles sophistiqués utilisant des tableaux, par exemple, et si les formules sont complexes : ![](../assets/en/WritePro/wp-formulas3.png) -In this case, you can display formula references as ![](../assets/en/WritePro/wp-formulas.png) symbols, so that the document is more compact: +Dans ce cas, vous pouvez afficher les références des formules sous forme de symboles ![](../assets/en/WritePro/wp-formulas.png), afin de rendre le document plus compact : ![](../assets/en/WritePro/wp-formulas4.png) -Pour afficher les références de formules en tant que symboles, vous pouvez: +Pour afficher les références de formules en tant que symboles, vous pouvez : -- check the **Display formula source as symbol option** in the Property list (see *Configuring View properties*), or -- use the displayFormulaAsSymbol standard action (see *Using 4D Write Pro standard actions*), or -- use the [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) command with the `wk display formula as symbol` selector to **True**. +- cocher l'option **Afficher la source de la formule comme symbole** dans la liste des propriétés (voir *Configuration des propriétés de vue*), ou +- utiliser l'action standard displayFormulaAsSymbol (voir *Utilisation des actions standard de 4D Write Pro*), ou +- utiliser la commande [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) avec le sélecteur `wk display formula as symbol` sur **True**. -### References as names +### Références en noms -You can assign names to formulas, making 4D Write Pro template documents easier to read and understand for end-users. When formulas are displayed as references (and not displayed as symbols) and you have defined a name for a formula, the formula name is displayed. +Vous pouvez attribuer des noms aux formules, ce qui rend les modèles de documents de 4D Write Pro plus faciles à lire et à comprendre pour les utilisateurs. Lorsque les formules sont affichées comme des références (et non comme des symboles) et que vous avez défini un nom pour une formule, le nom de la formule est affiché. Par exemple, les références de formule suivantes sont affichées comme texte source par défaut : @@ -204,7 +205,7 @@ Si vous attribuez des noms de formule, ils sont affichés à la place des textes Pour attribuer un nom à une formule, vous devez utiliser la commande [WP Insert formula](commands/wp-insert-formula.md) avec un paramètre objet. Par exemple : ```4d - //inserts the previous day in the document + //insère le jour précédent dans le document $o:=New object("formula";Formula(Current date-1);"name";"Yesterday") $range:=WP Text range(WPArea;wk start text;wk end text) WP INSERT FORMULA($range;$o;wk append) @@ -215,31 +216,31 @@ Pour attribuer un nom à une formule, vous devez utiliser la commande [WP Insert :::note -Only inline formulas can have a name (formulas for anchored images, break rows, and table datasource formulas cannot have names). +Seules les formules en ligne peuvent avoir un nom (les formules pour les images ancrées, les ruptures et les formules de source de données de tableau ne peuvent pas avoir de nom). ::: -### Formula tips +### Infobulles des formules -Whatever the formula display mode, you can get additional information on formulas through **tips** that are displayed when you hover on formulas. +Quel que soit le mode d'affichage des formule, vous pouvez obtenir des informations supplémentaires sur une formule grâce aux **infobulles** qui s'affichent lorsque vous passez la souris sur la formule. -- When formulas do not have names, tips provide the source text of formulas: +- Lorsque les formules n'ont pas de nom, les infobulles fournissent le texte source des formules : ![](../assets/en/WritePro/wp-formulas7.png) -- When formulas have names but are displayed as values or as symbols, the tip provides the name of formulas: +- Lorsque les formules ont des noms mais sont affichées sous forme de valeurs ou de symboles, l'infobulle fournit le nom des formules : ![](../assets/en/WritePro/wp-formulas8.png) -In this context, you can display the source text of the formula by pressing **Ctrl** (Windows) or **Cmd** (macOS) while hovering on the formula. +Dans ce contexte, vous pouvez afficher le texte source de la formule en appuyant sur **Ctrl** (Windows) ou **Cmd** (macOS) tout en survolant la formule. -- When formulas have names and are displayed as names, no tip is displayed by default. - You can display the source text of the formula by pressing **Ctrl** (Windows) or **Cmd** (macOS) while hovering on the formula: +- Lorsque les formules ont des noms et sont affichées sous forme de noms, aucune infobulle n'est affichée par défaut. + Vous pouvez afficher le texte source de la formule en appuyant sur **Ctrl** (Windows) ou **Cmd** (macOS) tout en survolant la formule : [ ![](../assets/en/WritePro/wp-formulas9.png) #### Voir également -[Download HDI database](http://download.4d.com/Demos/4D_v16/HDI_4DWP_Filter4DExpressions.zip)
    -*Using commands from the Styled Text theme* +[Télécharger le HDI](http://download.4d.com/Demos/4D_v16/HDI_4DWP_Filter4DExpressions.zip)
    +*Utilisation des commandes du thème Styled Text* diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md b/i18n/fr/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md index 4c2bebf6b92ad3..586180fa24222a 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md @@ -25,16 +25,16 @@ Si vous avez l'habitude de coder avec **VS Code**, vous pouvez également utilis Chaque fenêtre de l'éditeur de code dispose d'une barre d'outils qui permet un accès instantané aux fonctionnalités de base liées à l'exécution et à l'édition du code. -| Élément | Icône | Description | -| --------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **Exécuter la méthode** | ![execute-method](../assets/en/code-editor/execute-method.png) | Lorsque vous travaillez avec des méthodes, chaque fenêtre de l'éditeur de code dispose d'un bouton qui peut être utilisé pour exécuter la méthode en cours. En utilisant le menu associé à ce bouton, vous pouvez choisir le type d'exécution :
    • **Exécuter nouveau process** : Crée un process et exécute la méthode en mode standard dans ce process.
    • **Exécuter et déboguer nouveau process** : Crée un nouveau process et affiche la méthode dans la fenêtre du débogueur pour une exécution pas à pas dans ce process.
    • **Exécuter dans le process de l'application** : Exécute la méthode en mode standard dans le contexte du process de l'application (c'est-à-dire la fenêtre d'affichage des enregistrements).
    • **Exécuter et déboguer dans le process de l'application** : Affiche la méthode dans la fenêtre du débogueur pour une exécution pas à pas dans le contexte du process de l'application.
    Pour plus d'informations sur l'exécution des méthodes, voir [Appel des méthodes projet](../Concepts/methods.md#appel-des-méthodes-projet). | -| **Chercher dans la méthode** | ![search-icon](../assets/en/code-editor/search.png) | Affiche la [*zone de recherche*](#find-and-replace). | -| **Macros** | ![macros-button](../assets/en/code-editor/macros.png) | Insère une macro dans la sélection. Cliquez sur la flèche déroulante pour afficher la liste des macros disponibles. Pour plus d'informations sur la création et l'instanciation des macros, voir [Macros](#macros). | -| **Déployer tout / Contracter tout** | ![expand-collapse-button](../assets/en/code-editor/expand-collapse-all.png) | Ces boutons permettent de déployer ou de contracter toutes les structures de flux de contrôle du code. | -| **Informations sur la méthode** | ![method-information-icon](../assets/en/code-editor/method-information.png) | Affiche la boîte de dialogue [Propriétés de la méthode](../Project/project-method-properties.md) (méthodes de projet uniquement). | -| **Dernières valeurs du presse-papiers** | ![last-clipboard-values-icon](../assets/en/code-editor/last-clipboard-values.png) | Affiche les dernières valeurs stockées dans le presse-papiers. | -| **Presse-papiers** | ![clipboard icons](../assets/en/code-editor/clipboards.png) | Neuf presse-papiers sont disponibles dans l'éditeur de code. Vous pouvez [utiliser ces presse-papiers](#clipboards) en cliquant directement dessus ou en utilisant des raccourcis clavier. Vous pouvez utiliser l'[option Préférences](Preferences/methods.md#options-1) pour les masquer. | -| **Menu déroulant de navigation** | ![code-navigation-icons](../assets/en/code-editor/tags.png) | Vous permet de naviguer à l'intérieur des méthodes et des classes avec du contenu étiqueté automatiquement ou des marqueurs déclarés manuellement. Voir ci-dessous | +| Élément | Icône | Description | +| --------------------------------------- | --------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **Exécuter la méthode** | ![execute-method](../assets/en/code-editor/execute-method.png) | Lorsque vous travaillez avec des méthodes, chaque fenêtre de l'éditeur de code dispose d'un bouton qui peut être utilisé pour exécuter la méthode en cours. Using the menu associated with this button, you can choose the type of execution:
    • **Run new process**: Creates a process and runs the method in standard mode in this process.
    • **Run and debug new process**: Creates a new process and displays the method in the Debugger window for step by step execution in this process.
    • **Run in Application process**: Runs the method in standard mode in the context of the Application process (in other words, the record display window).
    • **Run and debug in Application process**: Displays the method in the Debugger window for step by step execution in the context of the Application process (in other words, the record display window).
    For more information on method execution, see [Project Methods](../Project/project-method-properties.md). | +| **Chercher dans la méthode** | ![search-icon](../assets/en/code-editor/search.png) | Affiche la [*zone de recherche*](#find-and-replace). | +| **Macros** | ![macros-button](../assets/en/code-editor/macros.png) | Insère une macro dans la sélection. Cliquez sur la flèche déroulante pour afficher la liste des macros disponibles. Pour plus d'informations sur la création et l'instanciation des macros, voir [Macros](#macros). | +| **Déployer tout / Contracter tout** | ![expand-collapse-button](../assets/en/code-editor/expand-collapse-all.png) | Ces boutons permettent de déployer ou de contracter toutes les structures de flux de contrôle du code. | +| **Informations sur la méthode** | ![method-information-icon](../assets/en/code-editor/method-information.png) | Affiche la boîte de dialogue [Propriétés de la méthode](../Project/project-method-properties.md) (méthodes de projet uniquement). | +| **Dernières valeurs du presse-papiers** | ![last-clipboard-values-icon](../assets/en/code-editor/last-clipboard-values.png) | Affiche les dernières valeurs stockées dans le presse-papiers. | +| **Presse-papiers** | ![clipboard icons](../assets/en/code-editor/clipboards.png) | Neuf presse-papiers sont disponibles dans l'éditeur de code. Vous pouvez [utiliser ces presse-papiers](#clipboards) en cliquant directement dessus ou en utilisant des raccourcis clavier. Vous pouvez utiliser l'[option Préférences](Preferences/methods.md#options-1) pour les masquer. | +| **Menu déroulant de navigation** | ![code-navigation-icons](../assets/en/code-editor/tags.png) | Vous permet de naviguer à l'intérieur des méthodes et des classes avec du contenu étiqueté automatiquement ou des marqueurs déclarés manuellement. Voir ci-dessous | ### Zone d'édition diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-get.md b/i18n/fr/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-get.md index fb3193cee55d1d..ade4242a71eb40 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-get.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-get.md @@ -53,7 +53,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Par exemple, les chaînes suivantes peuvent être passées : ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Lors des requêtes https, l’autorité du certificat n’est pas vérifiée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-request.md b/i18n/fr/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-request.md index 7142fa88fa2236..257e00a0de2011 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-request.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-request.md @@ -67,7 +67,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Par exemple, les chaînes suivantes peuvent être passées : ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Lors des requêtes https, l’autorité du certificat n’est pas vérifiée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/BlobClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/BlobClass.md index 940d416af04811..168c240241b34d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/BlobClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/BlobClass.md @@ -29,10 +29,10 @@ La classe Blob vous permet de créer et de manipuler des [objets blob](../Concep
    -| Parameter | Type | | Description | +| Paramètre | Type | | Description | | --------- | --------------- | :-: | ------------ | -| blob | Blob | -> | Blob to copy | -| Result | 4D.Blob | <- | New 4D.Blob | +| blob | Blob | -> | Blob à copier | +| Résultat | 4D.Blob | <- | Nouveau 4D.Blob |
    @@ -65,11 +65,11 @@ La propriété `.size` retourne la taille d'un `4
    -| Parameter | Type ||Description | +| Paramètre | Type ||Description | | --------- | ------- | :-: | --- | -| start| Real | -> | index of the first byte to include in the new `4D.Blob`. | -| end| Real | -> | index of the first byte that will not be included in the new `4D.Blob` | -| Result| 4D.Blob | <- | New `4D.Blob`| +| start| Real | -> | indice du premier octet à inclure dans le nouveau `4D.Blob`. | +| end| Real | -> | Indice du premier octet qui ne sera pas inclus dans le nouveau `4D.Blob` | +| Resultat| 4D.Blob | <- | New `4D.Blob`|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/ClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/ClassClass.md index 866cbbca02588f..03cef5af165f87 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/ClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/ClassClass.md @@ -59,10 +59,10 @@ Cette propriété est en **lecture seule**.
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|param|any|->|Parameter(s) to pass to the constructor function| -|Result|4D.Object|<-|New object of the class| +|param|any|->|Paramètre(s) à passer à la fonction constructeur| +|Résultat|4D.Object|<-|New object of the class|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md index 09d741f348456e..d4f937cf807963 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md @@ -458,7 +458,7 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -**.concat**( *value* : any { ; *...valueN* : any } ) : Collection +**.concat**( *value*: any { ; *...valueN*: any } ) : Collection @@ -3064,7 +3064,7 @@ Par défaut, les nouveaux éléments sont remplis par des valeurs **null**. Vous #### Description -La fonction `.reverse()` returns a new collection with all elements of the original collection in reverse order. Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. +La fonction `.reverse()` renvoie une nouvelle collection contenant tous les éléments de la collection d'origine dans l'ordre inverse. Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. > Cette fonction ne modifie pas la collection d'origine. #### Exemple diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/CryptoKeyClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/CryptoKeyClass.md index 951aa789e9af7a..6ce22dccbb5701 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/CryptoKeyClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/CryptoKeyClass.md @@ -45,10 +45,10 @@ Pour une présentation complète de cette classe, nous vous recommandons de lire
    -|Parameter|Type||Description| -|---|---|----|---| -|settings|Object|->|Settings to generate or load a key pair| -|Result|4D.CryptoKey|<-|Object encapsulating an encryption key pair| +|Paramètre|Type||Description| +|---||----|---| +|settings|Object|->|Paramètres pour générer ou charger une paire de clés| +|Résultat|4D.CryptoKey|<-|Object encapsulating an encryption key pair|
    @@ -164,11 +164,11 @@ Défini uniquement pour les clés ECDSA : le
    -|Parameter|Type||Description| -|---|---|----|---| -|message|Text|->|Message string to be decoded using `options.encodingEncrypted` and decrypted.| -|options|Object|->|Decoding options| -|Result|Object|<-|Status| +|Paramètre|Type||Description| +|---||----|---| +|message|Text|->|Chaîne de message à décoder en utilisant `options.encodingEncrypted` et decrypted.| +|options|Object|->|Options de décodage| +|Résultat|Object|<-|Status|
    @@ -213,11 +213,11 @@ Si le *message* n'a pas pu être déchiffré parce qu'il n'a pas été chiffré
    -|Parameter|Type||Description| -|---|---|----|---| -|message|Text|->|Message string to be encoded using `options.encodingDecrypted` and encrypted.| -|options|Object|->|Encoding options| -|Result|Text|<-|Message encrypted and encoded using the `options.encodingEncrypted`| +|Paramètre|Type||Description| +|---||----|---| +|message|Text|->|Chaîne de message à encoder en utilisant `options.encodingDecrypted` et encrypted.| +|options|Object|->|Options d'encodage| +|Résultat|Text|<-|Message encrypted and encoded using the `options.encodingEncrypted`|
    @@ -254,9 +254,9 @@ La valeur retournée est un message chiffré.
    -|Parameter|Type||Description| -|---|---|----|---| -|Result|Text|<-|Private key in PEM format| +|Paramètre|Type||Description| +|---|||----|---| +|Résultat|Text|<-|Private key in PEM format|
    @@ -283,9 +283,9 @@ La valeur retournée est la clé privée.
    -|Parameter|Type||Description| -|---|----|---|---| -|Result|Text|<-|Public key in PEM format| +|Paramètre|Type||Description| +|---|----|---| +|Résultat|Text|<-|Public key in PEM format|
    @@ -331,11 +331,11 @@ La valeur retournée est la clé publique.
    -|Parameter|Type||Description| -|---|----|---|---| -|message|Text OR Blob|->|Message to sign| -|options|Object|->|Signing options| -|Result|Text|<-|Signature in Base64 or Base64URL representation, depending on "encoding" option| +|Paramètre|Type||Description| +|---|----|---| +|message|Text OU Blob|->|Message à signer| +|options|Object|->|Options de signature| +|Résultat|Text|<-|Signature in Base64 or Base64URL representation, depending on "encoding" option|
    @@ -413,12 +413,12 @@ Contient le nom du type de clé - "RSA", "EC
    -|Parameter|Type||Description| -|---|---|---|---| -|message|Text OR Blob|->|Message that was used to produce the signature| -|signature|Text|->|Signature to verify, in Base64 or Base64URL representation, depending on `options.encoding` value| -|options|Object|->|Signing options| -|Result|Object|<-|Status of the verification| +|Paramètre|Type||Description| +|---||---|| +|message|Text OU Blob|->|Message utilisé pour produire la signature| +|signature|Text|->|Signature à vérifier, en représentation Base64 ou Base64URL, selon la valeur de `options.encoding`| +|options|Object|->|Options de signature| +|Résultat|Object|<-|Status of the verification|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/DataClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/DataClassClass.md index c31390803b21cd..b7164703a3424c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/DataClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/DataClassClass.md @@ -137,10 +137,10 @@ Considérant les propriétés de table suivantes :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|settings|Object|->|Build option: context| -|Result|4D.EntitySelection|<-|References on all entities related to the Dataclass| +|settings|Object|->|Option de construction : context| +|Résultat|4D.EntitySelection|<-|References on all entities related to the Dataclass|
    @@ -190,7 +190,7 @@ Dans le paramètre optionnel *settings*, vous pouvez passer un objet contenant d |Parameter|Type||Description| |---------|--- |:---:|------| -||||Does not require any parameters| +||||Ne nécessite aucun paramètre| @@ -245,11 +245,11 @@ $ds.Persons.clearRemoteCache()
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|objectCol |Collection|->|Collection of objects to be mapped with entities| -|settings |Object|->|Build option: context| -|Result|4D.EntitySelection|<-|Entity selection filled from the collection| +|objectCol |Collection|->|Collection d'objets à mettre en correspondance avec des entités| +|settings |Object|->|Option de construction : context| +|Resultat|4D.EntitySelection|<-|Entity selection filled from the collection|
    @@ -445,11 +445,11 @@ Dans cet exemple, la première entité sera bien créée mais la seconde créati
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|primaryKey |Integer OR Text|->|Primary key value of the entity to retrieve| -|settings |Object|->|Build option: context| -|Result|4D.Entity|<-|Entity matching the designated primary key| +|primaryKey |Integer OU Text|->|Valeur de la clé primaire de l'entité à récupérer| +|settings |Object|->|Option de construction : context| +|Resultat|4D.Entity|<-|Entity matching the designated primary key|
    @@ -530,9 +530,9 @@ Cet exemple illustre l'utilisation de la propriété *context* :
    -|Parameter|Type||Description| -|---|---|---|---| -|result|Integer|<-|Number of entities in the dataclass| +|Paramètre|Type||Description| +|---|---|---| +|Résultat|Integer|<-|Number of entities in the dataclass|
    @@ -572,9 +572,9 @@ $number:=$ds.Persons.getCount()
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|cs.DataStore|<-|Datastore of the dataclass| +|Resultat|cs.DataStore|<-|Datastore of the dataclass|
    @@ -628,9 +628,9 @@ La méthode projet ***SearchDuplicate*** recherche des valeurs dupliquées dans
    -|Parameter|Type||Description| -|---|---|---|---| -|Result|Object|<-|Information on the dataclass| +|Paramètre|Type||Description| +|---|---|---| +|Résultat|Object|<-|Information on the dataclass|
    @@ -703,9 +703,9 @@ La fonction `.getInfo()` retourne
    -|Parameter|Type||Description| -|---|---|---|---| -|result|Object|<-|Object describing the contents of the ORDA cache for the dataclass.| +|Paramètre|Type||Description| +|---|---|---| +|Résultat|Object|<-|Object describing the contents of the ORDA cache for the dataclass.|
    @@ -796,9 +796,9 @@ $cacheAddress:=$ds.Adress.getRemoteCache()
    -|Parameter|Type||Description| -|---|---|---|---| -|Result|4D.Entity|<-|New entity matching the Dataclass| +|Paramètre|Type||Description| +|---|---|---| +|Résultat|4D.Entity|<-|New entity matching the Dataclass|
    @@ -844,10 +844,10 @@ Cet exemple crée une nouvelle entité dans la dataclass "Log" et enregistre les
    -|Parameter|Type||Description| -|---|---|---|---| -|keepOrder |Integer |-> |`dk keep ordered`: creates an ordered entity selection,
    `dk non ordered`: creates an unordered entity selection (default if omitted) | -|Result|4D.EntitySelection|<-|New blank entity selection related to the dataclass| +|Paramètre|Type||Description| +|---|---|---| +|keepOrder |Integer |-> |`dk keep ordered` : crée une entity selection ordonnée,
    `dk non ordered` : crée une entity selection non ordonnée (par défaut si omis) | +|Résultat|4D.EntitySelection|<-|New blank entity selection related to the dataclass|
    @@ -890,13 +890,13 @@ Une fois créée, l'entity selection ne contient aucune entité (`mySelection.le
    -|Parameter|Type||Description| -|---|---|---|---| -|queryString |Text |-> |Search criteria as string| -|formula |Object |-> |Search criteria as formula object| -|value|any|->|Value(s) to use for indexed placeholder(s)| -|querySettings|Object|->|Query options: parameters, attributes, args, allowFormulas, context, queryPath, queryPlan| -|Result|4D.EntitySelection|<-|New entity selection made up of entities from dataclass meeting the search criteria specified in *queryString* or *formula*| +|Paramètre|Type||Description| +|---|---|---| +|queryString |Text |-> |Critères de recherche sous forme de chaîne| +|formule |Object |-> |Critères de recherche sous forme d'objet formule| +|value|any|->->Valeur(s) à utiliser pour le(s) placeholder(s) indexé(s)| +|querySettings|Object|->|Options de recherche : parameters, attributes, args, allowFormulas, context, queryPath, queryPlan| +|Résultat|4D.EntitySelection|<-|New entity selection made up of entities from dataclass meeting the search criteria specified in *queryString* or *formula*|
    @@ -1572,9 +1572,9 @@ Nous voulons interdire les formules, par exemple lorsque les utilisateurs saisis
    -|Parameter|Type||Description| -|---|---|---|---| -|settings|Object|->|Object that sets the timeout and maximum size of the ORDA cache for the dataclass.| +|Paramètre|Type||Description| +|---|---|---| +|settings|Object|->|Objet qui définit le délai d'attente et la taille maximale du cache ORDA pour la dataclass.|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/DataStoreClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/DataStoreClass.md index 92d848401ecd30..1cd2526289894b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/DataStoreClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/DataStoreClass.md @@ -49,10 +49,10 @@ Un [Datastore](ORDA/dsMapping.md#datastore) correspond à l'objet d'interface fo
    -|Parameter|Type||Description| -|---|---|---|---| -|localID|Text|->|Local ID of the remote datastore to return| -|Result |cs.DataStore|<-|Reference to the datastore| +|Paramètre|Type||Description| +|---|---|---| +|localID|Text|->|ID local du datastore distant à retourner| +|Résultat |cs.DataStore|<-|Reference to the datastore|
    @@ -120,11 +120,11 @@ Utilisation du datastore principal de la base 4D :
    -|Parameter|Type||Description| -|---|---|---|---| -|connectionInfo|Object|->|Connection properties used to reach the remote datastore| -|localID |Text|->|Id to assign to the opened datastore on the local application (mandatory)| -|Result |4D.DataStoreImplementation|<-|Datastore object| +|Paramètre|Type||Description| +|---|---|---| +|connectionInfo|Objetc|->|Propriétés de connexion utilisées pour joindre le datastore distant| +|localID |Text|->|Id à attribuer au datastore ouvert sur l'application locale (obligatoire)| +|Résultat |4D.DataStoreImplementation|<-|Datastore object|
    @@ -265,7 +265,7 @@ Chaque dataclass d'un datastore est disponible en tant que propriété de l'obje |Parameter|Type||Description| |---------|--- |:---:|------| -||||Does not require any parameters| +||||Ne nécessite aucun paramètre| @@ -301,7 +301,7 @@ Voir l'exemple de la fonction [`.startTransaction()`](#starttransaction). |Parameter|Type||Description| |---------|--- |:---:|------| -||||Does not require any parameters| +||||Ne nécessite aucun paramètre| @@ -334,9 +334,9 @@ Si cela se produit, vous pouvez utiliser `.clearAllRemoteContexts()` pour réini
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Object|<-|Information about the encryption of the current datastore and of each table| +|Résultat|Object|<-|Information about the encryption of the current datastore and of each table|
    @@ -408,9 +408,9 @@ Vous souhaitez connaitre le nombre de tables chiffrées dans le fichier de donn
    -|Parameter|Type||Description| -|---|---|---|---| -||||Does not require any parameters| +Paramètre|Type||Description| +|---|---||---| +||||Ne nécessite aucun paramètre|
    @@ -490,9 +490,9 @@ ds.unlock() //Notre copie est terminée, nous pouvons maintenant déverrouiller
    -|Parameter|Type||Description| -|---|---|---|---| -|Result|Collection|<-|Collection of optimization context objects| +|Paramètre|Type||Description| +|---|---||---| +|Résultat|Collection|<-|Collection of optimization context objects|
    @@ -569,9 +569,9 @@ $info:=$ds.getAllRemoteContexts()
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Object|<-|Datastore properties| +|Résultat|Object|<-|Datastore properties|
    @@ -640,10 +640,10 @@ Sur un datastore distant :
    -|Parameter|Type||Description| -|---|---|---|---| -|contextName|Text|->|Name of the context| -|Result|Object|<-|Description of the optimization context| +|Paramètre|Type||Description| +|---|---|---| +|contextName|Text|->|Nom du contexte| +|Résultat|Object|<-|Description of the optimization context|
    @@ -734,9 +734,9 @@ Voir l'exemple 2 de [`.startRequestLog()`](#startrequestlog).
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Boolean|<-|True if the Data Explorer access is disabled, False if it is enabled (default)| +|Résultat|Boolean|<-|True if the Data Explorer access is disabled, False if it is enabled (default)|
    @@ -770,9 +770,9 @@ Par défaut, l'accès au Data Explorer est autorisé pour les sessions `webAdmin
    -|Parameter|Type||Description| -|---|---|---|---| -|Result|Boolean|<-|True if locked| +|Paramètre|Type||Description| +|---------|--- |:---:|------| +|Résultat|Booléen|<-|True if locked|
    @@ -814,7 +814,7 @@ La fonction renvoie également `True` si le datastore a été verrouillé par un |Parameter|Type||Description| |---------|--- |:---:|------| -||||Does not require any parameters| +||||Ne nécessite aucun paramètre| @@ -847,11 +847,11 @@ Lorsque cette fonction n'est pas appelée, les nouvelles entity selections peuve
    -|Parameter|Type||Description| -|---|---|---|---| -|curPassPhrase |Text|->|Current encryption passphrase| -|curDataKey |Object|->|Current data encryption key| -|Result|Object|<-|Result of the encryption key matching| +|Paramètre|Type||Description| +|---|---|---| +|curPassPhrase |Text|->|Passphrase de cryptage courante| +|curDataKey |Object|->|Clé de cryptage des données courante| +|Réultat|Object|<-|Result of the encryption key matching|
    @@ -924,9 +924,9 @@ Si aucun paramètre *curPassphrase* ou *curDataKey* n'est fourni, `.provideDataK
    -|Parameter|Type||Description| -|---|---|---|---| -|status|Boolean|->|True to disable Data Explorer access to data on the `webAdmin` port, False (default) to grant access| +|Paramètre|Type||Description| +|---|---||---| +|status|Boolean|->|True pour désactiver l'accès du Data Explorer aux données sur le port `webAdmin`, False (par défaut) pour autoriser l'accès|
    @@ -969,15 +969,15 @@ Vous créez une méthode projet *protectDataFile* à appeler par exemple avant l
    -|Parameter|Type||Description| -|---|---|---|---| -|contextName|Text|->|Name of the context| -|dataClassName|Text|->|Name of the dataclass| -|dataClassObject|4D.DataClass|->|dataclass object (e.g datastore.Employee)| -|attributes|Text|->|Attribute list separated by a comma| -|attributesColl|Collection|->|Collection of attribute names (text)| -|contextType|Text|->|If provided, value must be "main" or "currentItem"| -|pageLength|Integer|->|Page length of the entity selection linked to the context (default is 80)| +|Paramètre|Type||Description| +|---|---|---| +|contextName|Text|->|Nom du contexte| +|dataClassName|Text|->|Nom de la dataclass| +|dataClassObject|4D.DataClass|->->Objet de la dataclass (par ex. datastore.Employee)| +|attributes|Text|->|Liste d'attributs séparés par une virgule| +|attributesColl|Collection|->|Collection de noms d'attributs (texte)| +|contextType|Text|->|Si elle est fournie, la valeur doit être "main" ou "currentItem"| +|pageLength|Integer|->|Longueur de page de l'entity selection liée au contexte (80 par défaut)|
    @@ -1103,11 +1103,11 @@ Form.currentItemLearntAttributes:=Form.selectedPerson.getRemoteContextAttributes
    -|Parameter|Type||Description| -|---|---|---|---| -|file |4D.File|->|File object | -|options |Integer|->|Log response option (server only)| -|reqNum |Integer|->|Number of requests to keep in memory (client only)| +|Paramètre|Type||Description| +|---|---|| +|file |4D.File|->|Objet File | +|options |Integer|->|Option de réponse Log (server only)| +|reqNum |Integer|->|Nombre de requêtes à garder en mémoire (client only)|
    @@ -1219,9 +1219,9 @@ SET DATABASE PARAMETER(4D Server Log Recording;0)
    -|Parameter|Type||Description| +Paramètre|Type||Description| |---|---|:---:|---| -||||Does not require any parameters| +||||Ne nécessite aucun paramètre|
    @@ -1287,9 +1287,9 @@ Vous pouvez imbriquer plusieurs transactions (sous-transactions). Chaque transac
    -|Parameter|Type||Description| -|---|---|---|---| -||||Does not require any parameters| +Paramètre|Type||Description| +|---|---||---| +||||Ne nécessite aucun paramètre|
    @@ -1325,9 +1325,9 @@ Voir les exemples de [`.startRequestLog()`](#startrequestlog).
    -|Parameter|Type||Description| -|---|---|---|---| -||||Does not require any parameters| +Paramètre|Type||Description| +|---|---||---| +||||Ne nécessite aucun paramètre|
    @@ -1365,9 +1365,9 @@ Si la fonction `.unlock()` est appelée dans un datastore déverrouillé, elle n
    -|Parameter|Type||Description| -|---|---|---|---| -||||Does not require any parameters| +Paramètre|Type||Description| +|---|---||---| +||||Ne nécessite aucun paramètre|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/Directory.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/Directory.md index 7b8dd2214728fb..7e254f41c7135b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/Directory.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/Directory.md @@ -401,12 +401,12 @@ Cette propriété est en **lecture seule**.
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|destinationFolder |4D.Folder |->|Destination folder| -|newName|Text|->|Name for the copy| -|overwrite|Integer|->|`fk overwrite` to replace existing elements| -|Result|4D.Folder|<-|Copied file or folder| +|destinationFolder |4D.Folder |->|Dossier de destination| +|newName|Text|->|Nom de la copie| +|overwrite|Integer|->|`fk overwrite` pour remplacer les éléments existants| +|Résultat|4D.Folder|<-|Copied file or folder|
    @@ -458,10 +458,10 @@ $copiedImages:=$userImages.copyTo(Folder(fk database folder);fk overwrite)
    -|Parameter|Type||Description| -|---|----|---|---| -|path|Text|->|Relative POSIX file pathname| -|Result|4D.File|<-|`File` object (null if invalid path)| +|Paramètre|Type||Description| +|---|----|---| +|Path|Text|->|Chemin d'accès POSIX relatif du fichier | +|Résultat|4D.File|<-|`File` object (null if invalid path)|
    @@ -502,10 +502,10 @@ $myPDF:=Folder(fk documents folder).file("Pictures/info.pdf")
    -|Parameter|Type||Description| -|---|----|---|---| -|options|Integer|->|File list options| -|Result|Collection|<-|Collection of children file objects| +|Paramètre|Type||Description| +|---|----|---| +|options|Integer|->|Options de la liste des fichiers| +|Résultat|Collection|<-|Collection of children file objects|
    @@ -567,10 +567,10 @@ Vous souhaitez lire tous les fichiers qui ne sont pas invisibles dans le dossier
    -|Parameter|Type||Description| -|---|----|---|---| -|path|Text|->|Relative POSIX file pathname| -|Result|4D.Folder|<-|Created folder object (null if invalid *path*)| +|Paramètre|Type||Description| +|---|----|---| +|Path|Text|->|Chemin d'accès POSIX relatif du fichier | +|Résultat|4D.Folder|<-|Created folder object (null if invalid *path*)|
    @@ -611,10 +611,10 @@ Un objet `Folder` object ou null si *path* est invalide.
    -|Parameter|Type||Description| -|---|----|---|---| -|options|Integer|->|Folder list options| -|Result|Collection|<-|Collection of children folder objects| +|Paramètre|Type||Description| +|---|----|---| +|options|Integer|->|Options de la liste des dossiers| +|Résultat|Collection|<-|Collection of children folder objects|
    @@ -662,10 +662,10 @@ Vous souhaitez obtenir la collection de tous les dossiers et sous-dossiers du do
    -|Parameter|Type||Description| -|---|----|---|---| -|size|Integer|->|Side length for the returned picture (pixels)| -|Result|Picture|<-|Icon| +|Paramètre|Type||Description| +|---|----|---| +|size|Integer|->|Longueur du côté de l'image renvoyée (pixels)| +|Résultat|Picture|<-|Icon|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/Document.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/Document.md index 9cc1ce17691870..8c2dd8f79ea4ac 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/Document.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/Document.md @@ -397,12 +397,12 @@ Cette propriété est en **lecture seule**.
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|destinationFolder | 4D.Folder |->|Destination folder| -|newName|Text|->|Name for the copy| -|overwrite|Integer|->|`fk overwrite` to replace existing elements| -|Result|4D.File|<-|Copied file| +|destinationFolder |4D.Folder |->|Dossier de destination| +|newName|Text|->|Nom de la copie| +|overwrite|Integer|->|`fk overwrite` pour remplacer les éléments existants| +|Résultat|4D.File|<-|Copied file|
    @@ -453,9 +453,9 @@ $copy:=$source.copyTo(Folder("/PACKAGE");fk overwrite)
    -|Parameter|Type||Description| -|---|----|---|---| -|Result | 4D.Blob |<-|File content| +|Paramètre|Type||Description| +|---|----||---| +|Résultat | 4D.Blob |<-|File content|
    @@ -497,10 +497,10 @@ Pour sauvegarder le contenu d'un document dans un champ `BLOB` :
    -|Parameter|Type||Description| -|---|----|---|---| -|size|Integer|->|Side length for the returned picture (pixels)| -|Result|Picture|<-|Icon| +|Paramètre|Type||Description| +|---|----|---| +|size|Integer|->|Longueur du côté de l'image renvoyée (pixels)| +|Résultat|Picture|<-|Icon|
    @@ -534,12 +534,12 @@ Si le fichier n'existe pas sur disque, une icône par défaut vide est retourné
    -|Parameter|Type||Description| -|---|---|---|---| -|charSetName |Text |-> |Name of character set| -|charSetNum |Integer |-> |Number of character set| -|breakMode|Integer |-> |Processing mode for line breaks| -|Result |Text |<- |Text from the document| +|Paramètre|Type||Description| +|---|---|---| +|charSetName |Text |-> |Nom du jeu de caractères| +|charSetNum |Integer |-> |Numéro du jeu de caractères| +|breakMode|Integer |-> |Mode de traitement des sauts de ligne| +|Résultat |Texte |<- |Texte de the document|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EmailObjectClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EmailObjectClass.md index 592e68cc571720..9ffc1ea01f04ed 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EmailObjectClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EmailObjectClass.md @@ -376,10 +376,10 @@ La propriété `.to` contient la ou les
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|mime|Blob, Text|->|Email in MIME| -|Result|Object|<-|Email object| +|mime|Blob, Text|->|Email en MIME| +|Résultat|Object|<-|Email object|
    @@ -464,11 +464,11 @@ $status:=$transporter.send($email)
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|mail|Object|->|Email object| -|options|Object|->|Charset and encoding mail options| -|Result|Text|<-|Email object converted to MIME| +|mail|Object|->|Objet mail| +|options|Object|->|Charset et options d'encodage du mail| +|Résultat|Text|<-|Email object converted to MIME|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EntityClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EntityClass.md index 4fb2853d78f6f2..e519d5be306d7e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EntityClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EntityClass.md @@ -86,9 +86,9 @@ $myEntity.save() //sauvegarder l'entity
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|4D.Entity|<-|New entity referencing the record| +|Résultat|4D.Entity|<-|New entity referencing the record|
    @@ -142,11 +142,11 @@ Si vous ne voulez pas que la nouvelle entité partage les références d'attribu
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|entityToCompare|4D.Entity|->|Entity to be compared with the original entity| -|attributesToCompare|Collection|-> |Name of attributes to be compared | -|Result|Collection|<-|Differences between the entities| +|entityToComparare|4D.Entity|->|Entité à comparer avec l'entité originale| +|attributesToComparare|Collection|-> |Nom des attributs à comparer | +|Résultat|Collection|<-|Differences between the entities|
    @@ -345,10 +345,10 @@ vCompareResult3 (seules les différences sur les attributs touchés de $e1 sont
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|mode|Integer|->|`dk force drop if stamp changed`: Forces the drop even if the stamp has changed| -|Result|Object|<-|Result of drop operation| +|mode|Integer|->|`dk force drop if stamp changed` : Force la suppression même si le marqueur a changé| +|Resultat|Object|<-|Result of drop operation|
    @@ -454,9 +454,9 @@ Même exemple avec l'option `dk force drop if stamp changed` :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|4D.Entity|<-|Reference to first entity of an entity selection (Null if not found)| +|Résultat|4D.Entity|<-|Reference to first entity of an entity selection (Null if not found)|
    @@ -495,9 +495,9 @@ La fonction `.first()` retourne une ré
    -|Parameter|Type||Description| +|Paramètre|Type|Description| |---------|--- |:---:|------| -|filler|Object|->|Object from which to fill the entity| +|filler|Object|->|Objet à partir duquel l'entité doit être remplie|
    @@ -582,9 +582,9 @@ Vous pouvez également utiliser une entité relative fournie sous forme d'objet
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|4D.DataClass|<-|DataClass object to which the entity belongs| +|Résultat|4D.DataClass|<-|DataClass object to which the entity belongs|
    @@ -629,10 +629,10 @@ Le code générique suivant duplique toute entité :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|mode|Integer|->|`dk key as string`: primary key is returned as a string, no matter the primary key type| -|Result|any|<-|Value of the primary key of the entity (Integer or Text)| +|mode|Integer|->|`dk key as string` : la clé primaire est renvoyée sous forme de chaîne, quel que soit le type de clé primaire| +|Résultat|any|<-|Value of the primary key of the entity (Integer or Text)|
    @@ -671,9 +671,9 @@ Les clés primaires peuvent être des nombres (integer) ou des textes. Vous pouv
    -|Parameter|Type||Description| -|---|---|---|---| -|result|Text|<-|Context attributes linked to the entity, separated by a comma| +|Paramètre|Type||Description| +|---|----|---| +|Résultat|Text|<-|Context attributes linked to the entity, separated by a comma|
    @@ -731,9 +731,9 @@ $info:=$address.getRemoteContextAttributes()
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|4D.EntitySelection|<-|Entity selection to which the entity belongs (Null if not found)| +|Résultat|4D.EntitySelection|<-|Entity selection to which the entity belongs (Null if not found)|
    @@ -776,9 +776,9 @@ Si l'entité n'appartient pas à une entity selection, la fonction renvoie Null.
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Integer|<-|Stamp of the entity (0 if entity has just been created)| +|Résultat|Integer|<-|Stamp of the entity (0 if entity has just been created)|
    @@ -824,9 +824,9 @@ Le stamp (marqueur interne) d'une entité est automatiquement incrémenté par 4
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|entitySelection|4D.EntitySelection|->|Position of the entity is given according to this entity selection| +|entitySelection|4D.EntitySelection|->|La position de l'entité est donnée en fonction de cette entity selection| |Result|Integer|<-|Position of the entity in an entity selection|
    @@ -874,9 +874,9 @@ La valeur résultante est comprise entre 0 et la longueur de l'entity selection
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Boolean|<-|True if entity has just been created and not yet saved. Otherwise, False.| +|Résultat|Booléen|<-|True if entity has just been created and not yet saved. Otherwise, False.|
    @@ -915,9 +915,9 @@ La fonction `.isNew()` renvoie Vrai si
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|4D.Entity|<-|Reference to last entity of an entity selection (Null if not found)| +|Résultat|4D.Entity|<-|Reference to last entity of an entity selection (Null if not found)|
    @@ -955,10 +955,10 @@ La fonction `.last()` retourne une réf
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|mode|Integer|->|`dk reload if stamp changed`: Reload before locking if stamp changed| -|Result|Object|<-|Result of lock operation| +|mode|Integer|->|`dk reload if stamp changed` : Recharger avant de verrouiller si le marqueur a changé| +|Résultat|Object|<-|Result of lock operation|
    @@ -1080,9 +1080,9 @@ Exemple avec option `dk reload if stamp changed` :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|4D.Entity|<-|Reference to next entity in the entity selection (Null if not found)| +|Résultat|4D.Entity|<-|Reference to next entity in the entity selection (Null if not found)|
    @@ -1124,9 +1124,9 @@ S'il n'y a pas d'entité suivante valide dans l'entity selection (i.e. vous ête
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|4D.Entity|<-|Reference to previous entity in the entity selection (Null if not found)| +|Résultat|4D.Entity|<-|Reference to previous entity in the entity selection (Null if not found)|
    @@ -1167,9 +1167,9 @@ Si l'entité n'appartient à aucune entity selection (i.e. [.getSelection( )](#g
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Object|<-|Status object| +|Résultat|Object|<-|Status object|
    @@ -1232,10 +1232,10 @@ L'objet retourné par `.reload( )` contient les propriétés suivantes :
    -|Parameter|Type||Description| +| |---------|--- |:---:|------| -|mode|Integer|->|`dk auto merge`: Enables the automatic merge mode| -|Result|Object|<-|Result of save operation| +|mode|Integer|->|`dk auto merge` : Active le mode de fusion automatique| +|Resultat|Object|<-|Result of save operation|
    @@ -1369,12 +1369,12 @@ Mise à jour d'une entité avec option `dk auto merge` :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|filterString |Text |->|Attribute(s) to extract (comma-separated string)| -|filterCol |Collection |->|Collection of attribute(s) to extract| -|options|Integer|->|`dk with primary key`: adds the \_\_KEY property;
    `dk with stamp`: adds the \_STAMP property| -|Result|Object|<-|Object built from the entity| +|filterString |Text |->|Attribut(s) à extraire (chaîne séparée par des virgules)| +|filterCol |Collection |->|Collection d'attribut(s) à extraire| +|options|Integer|->|`dk with primary key` : ajoute la propriété \_\_KEY ;
    `dk with stamp` : ajoute la propriété \_STAMP| +|Résultat|Object|<-|Object built from the entity|
    @@ -1660,9 +1660,9 @@ Retourne :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Boolean|<-|True if at least one entity attribute has been modified and not yet saved, else False| +|Résultat|Booléen|<-|True if at least one entity attribute has been modified and not yet saved, else False|
    @@ -1783,9 +1783,9 @@ Dans ce cas :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Object|<-|Status object| +|Résultat|Object|<-|Status object|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EntitySelectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EntitySelectionClass.md index 40b6d289a5201e..2658c00dffb1f9 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EntitySelectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/EntitySelectionClass.md @@ -57,11 +57,11 @@ Les entity selections peuvent être créées à partir de sélections existantes
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|dsTable|Table|->|Table in the 4D database whose current selection will be used to build the entity selection| -|settings|Object|->|Build option: context | -|Result|4D.EntitySelection|<-|Entity selection matching the dataclass related to the given table| +|dsTable|Table|->|Table dans la base de données 4D dont la sélection courante sera utilisée pour construire l'entity selection| +|settings|Objet|->|Option de construction : context | +|Résultat|4D.EntitySelection|<-|Entity selection matching the dataclass related to the given table|
    @@ -104,9 +104,9 @@ $employees:=Create entity selection([Employee])
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|entitySelection|EntitySelection|->|An entity selection| +|entitySelection|EntitySelection|->|Une entity selection|
    @@ -298,11 +298,11 @@ L'objet résultant est une entity selection de la dataclass Employee sans doublo
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|entity|4D.Entity|->|Entity to be added to the entity selection| -|entitySelection|4D.EntitySelection|->|Entity selection to be added to the original entity selection| -|Result|4D.EntitySelection|<-|Entity selection including the added *entity* or *entitySelection*| +|entity|4D.Entity|->|Entité à ajouter à l'entity selection| +|entitySelection|4D.EntitySelection|->|Entity selection à ajouter à l'entity selection d'origine| +|Résultat|4D.EntitySelection|<-|Entity selection including the added *entity* or *entitySelection*|
    @@ -388,11 +388,11 @@ $sellist2:=$sellist2.add($sellist1)
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|entity |4D.Entity|->|Entity to intersect with| -|entitySelection |4D.EntitySelection|->|Entity selection to intersect with| -|Result|4D.EntitySelection|<-|New entity selection with the result of intersection with logical AND operator| +|entity |4D.Entity|->|Entité avec laquelle intersecter| +|entitySelection |4D.EntitySelection|->|Entity selection avec laquelle intersecter| +|Résultat|4D.EntitySelection|<-|New entity selection with the result of intersection with logical AND operator|
    @@ -458,10 +458,10 @@ Nous voulons obtenir une sélection d'employés nommés "Jones" qui vivent à Ne
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|index|Integer|->|Index of entity to return| -|Result|4D.Entity |<-|The entity at that index| +|index|Integer|->|Indice de l'entité à retourner| +|Résultat|4D.Entity |<-|The entity at that index|
    @@ -507,10 +507,10 @@ $emp2:=$employees.at(-3) //en partant de la fin, 3e entité
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|attributePath |Text|->|Attribute path to be used for calculation| -|Result|Real|<-|Arithmetic mean (average) of entity attribute values (Undefined if empty entity selection)| +|attributPath |Text|->|Chemin d'accès de l'attribut à utiliser pour le calcul| +|Résultat|Real|<-|Arithmetic mean (average) of entity attribute values (Undefined if empty entity selection)|
    @@ -563,10 +563,10 @@ Nous voulons obtenir la liste des employés dont le salaire est supérieur au sa
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|entity|4D.Entity|->|Entity to evaluate| -|Result|Boolean|<-|True if the entity belongs to the entity selection, else False| +|entity|4D.Entity|->|Entité à évaluer| +|Résultat|Boolean|<-|True if the entity belongs to the entity selection, else False|
    @@ -615,10 +615,10 @@ Si *entity* et l'entity selection n'appartiennent pas à la même dataclass, une
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|attributePath |Text|->|Path of the attribute to be used for calculation| -|Result|Real|<-|Number of non null *attributePath* values in the entity selection| +|attributePath |Text|->|Chemin de l'attribut à utiliser pour le calcul| +|Résultat|Real|<-|Number of non null *attributePath* values in the entity selection|
    @@ -664,10 +664,10 @@ Nous voulons trouver le nombre total d'employés d'une entreprise sans compter c
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|option |Integer|->|`ck shared`: return a shareable entity selection| -|Result|4D.EntitySelection|<-|Copy of the entity selection| +|option |Integer|->|`ck shared` : renvoie une entity selection partageable| +|Résultat|4D.EntitySelection|<-|Copy of the entity selection|
    @@ -732,11 +732,11 @@ Cette entity selection est ensuite mise à jour avec les produits et vous souhai
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|attributePath|Text|->|Path of attribute whose distinct values you want to get| +|attributePath|Text|->|Chemin de l'attribut dont vous souhaitez obtenir les valeurs distinctes| |options|Integer|->|`dk diacritical`, `dk count values`| -|Result|Collection|<-|Collection with only distinct values| +|Résultat|Collection|<-|Collection with only distinct values|
    @@ -825,10 +825,10 @@ $jobs:=ds.Employee.all().distinct("jobName";dk count values)
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|attribute|Text|->|Object attribute name whose paths you want to get| -|Result|Collection|<-|New collection with distinct paths| +|attribute|Text|->|Nom de l'attribut de l'objet dont vous voulez obtenir les chemins| +|Résultat|Collection|<-|New collection with distinct paths|
    @@ -886,10 +886,10 @@ $paths:=ds.Employee.all().distinctPaths("fullData")
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|mode|Integer|->|`dk stop dropping on first error`: stops method execution on first non-droppable entity| -|Result|4D.EntitySelection|<-|Empty entity selection if successful, else entity selection containing non-droppable entity(ies)| +|mode|Integer|->|`dk stop dropping on first error` : arrête l'exécution de la méthode sur la première entité non-supprimable| +|Résultat|4D.EntitySelection|<-|Empty entity selection if successful, else entity selection containing non-droppable entity(ies)|
    @@ -958,12 +958,12 @@ Exemple avec l'option `dk stop dropping on first error` :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|attributePath |Text|->|Attribute path whose values must be extracted to the new collection | -|targetPath|Text|->|Target attribute path or attribute name| -|option|Integer|->|`ck keep null`: include null attributes in the returned collection (ignored by default)| -|Result|Collection|<-|Collection containing extracted values| +|attributePath |Text|->|Chemin de l'attribut dont les valeurs doivent être extraites vers la nouvelle collection| +|targetPath|Text|->|Chemin de l'attribut cible ou nom de l'attribut| +|option|Integer|->|`ck keep null` : inclure les attributs null dans la collection retournée (ignorés par défaut)| +|Résultat|Collection|<-|Collection containing extracted values|
    @@ -1064,9 +1064,9 @@ Considérons les tables et relations suivantes :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|4D.Entity|<-|Reference to the first entity of the entity selection (Null if selection is empty)| +|Résultat|4D.Entity|<-|Reference to the first entity of the entity selection (Null if selection is empty)|
    @@ -1125,9 +1125,9 @@ Il existe cependant une différence entre les deux instructions lorsque la séle
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|4D.DataClass|<-|Dataclass object to which the entity selection belongs| +|Résultat|4D.DataClass|<-|Dataclass object to which the entity selection belongs|
    @@ -1177,9 +1177,9 @@ Le code générique suivant duplique toutes les entités de l'entity selection :
    -|Parameter|Type||Description| -|---|---|---|---| -|result|Text|<-|Context attributes linked to the entity selection, separated by a comma| +|Paramètre|Type||Description| +|---|----|---| +|Résultat|Text|<-|Context attributes linked to the entity selection, separated by a comma|
    @@ -1235,9 +1235,9 @@ $info:=$persons.getRemoteContextAttributes()
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Boolean|<-|True if the entity selection is alterable, False otherwise| +|Résultat|Booléen|<-|True if the entity selection is alterable, False otherwise|
    @@ -1280,9 +1280,9 @@ Form.products.add(Form.product)
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Boolean|<-|True if the entity selection is ordered, False otherwise| +|Résultat|Booléen|<-|True if the entity selection is ordered, False otherwise|
    @@ -1337,9 +1337,9 @@ Pour plus d'informations, voir [Entity selections triées vs Entity selections n
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|4D.Entity |<-|Reference to the last entity of the entity selection (Null if empty entity selection)| +|Résultat|4D.Entity |<-|Reference to the last entity of the entity selection (Null if empty entity selection)|
    @@ -1425,10 +1425,10 @@ Les entity selections ont toujours une propriété `.length`.
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |---|------| -|attributePath |Text|->|Path of the attribute to be used for calculation| -|Result|any|<-|Highest value of attribute| +|attributePath |Text|->|Chemin de l'attribut à utiliser pour le calcul| +|Resultat|any|<-|Highest value of attribute|
    @@ -1481,10 +1481,10 @@ Nous souhaitons connaître le salaire le plus élevé parmi les employées :
    -|Parameter|Type||Description| -|---------|--- |:---:|------| -|attributePath |Text|->|Path of the attribute to be used for calculation| -|Result|any|<-|Lowest value of attribute| +|Paramètre|Type||Description| +|---------|--- |---|------| +|attributePath |Text|->|Chemin de l'attribut à utiliser pour le calcul| +|Résultat|any|<-|Lowest value of attribute|
    @@ -1534,12 +1534,12 @@ Nous souhaitons connaître le salaire le plus bas parmi les employées :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|entity |4D.Entity|->|Entity to substract| -|entitySelection|4D.EntitySelection|->|Entity selection to substract| -|keepOrder|Integer|->|`dk keep ordered` (integer) to keep the initial order in the resulting entity selection| -|Result|4D.EntitySelection|<-|New entity selection or a new reference on the existing entity selection| +|entity |4D.Entity|->|Entité à soustraire| +|entitySelection|4D.EntitySelection|->|Entity selection à soustraire| +|keepOrder|Integer|->|`dk keep ordered` (integer) pour conserver l'ordre initial dans l'entity selection résultante| +|Résultat|4D.EntitySelection|<-|New entity selection or a new reference on the existing entity selection|
    @@ -1620,11 +1620,11 @@ $listsel:=$listsel.minus($selectedItems; dk keep ordered)
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|entity|4D.Entity|->|Entity to intersect with| -|entitySelection|4D.EntitySelection|->|Entity selection to intersect with| -|Result|4D.EntitySelection|<-|New entity selection or new reference to the original entity selection| +|entity|4D.Entity|->|Entité avec laquelle intersecter| +|entitySelection |4D.EntitySelection|->|Entity selection avec laquelle intersecter| +|Résultat|4D.EntitySelection|<-|New entity selection or new reference to the original entity selection|
    @@ -1684,11 +1684,11 @@ Si l'entity selection initiale et le paramètre ne sont pas liés à la même da
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|pathString |Text |->|Attribute path(s) and sorting instruction(s) for the entity selection| -|pathObjects |Collection |->|Collection of criteria objects| -|Result|4D.EntitySelection|<-|New entity selection in the specified order| +|pathString |Text |->|Chemin(s) d'attribut(s) et instruction(s) de tri pour l'entity selection| +|pathObjects |Collection |->|Collection d'objets critères| +|Résultat|4D.EntitySelection|<-|New entity selection in the specified order|
    @@ -1767,13 +1767,13 @@ Si vous passez un chemin d'attribut non valide dans *pathString* ou *pathObject*
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|formulaString|Text|->|Formula string| -|formulaObj|Object|->|Formula object| -|sortOrder |Integer|->|`dk ascending` (default) or `dk descending`| -|settings|Object|->|Parameter(s) for the formula| -|Result|4D.EntitySelection|<-|New ordered entity selection| +|formulaString|Text|->|Chaîne de caractères de la formule| +|formulaObj|Object|->|Objet formule| +|sortOrder |Integer|->|`dk ascending` (par défaut) ou `dk descending`| +|settings|Object|->|Paramètre(s) de la formule| +|Résultat|4D.EntitySelection|<-|New ordered entity selection|
    @@ -1894,13 +1894,13 @@ Dans cet exemple, le champ objet "marks" de la dataclass **Students** contient l
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|queryString |Text |-> |Search criteria as string| -|formula |Object |-> |Search criteria as formula object| -|value|any|->|Value(s) to use for indexed placeholder(s)| -|querySettings|Object|->|Query options: parameters, attributes, args, allowFormulas, context, queryPath, queryPlan| -|Result|4D.EntitySelection|<-|New entity selection made up of entities from entity selection meeting the search criteria specified in *queryString* or *formula*| +|queryString |Text |-> |Critères de recherche sous forme de chaîne| +|formule |Object |-> |Critères de recherche sous forme d'objet formule| +|value|any|->->Valeur(s) à utiliser pour le(s) placeholder(s) indexé(s)| +|querySettings|Object|->|Options de recherche : parameters, attributes, args, allowFormulas, context, queryPath, queryPlan| +|Résultat|4D.EntitySelection|<-|New entity selection made up of entities from entity selection meeting the search criteria specified in *queryString* or *formula*|
    @@ -2004,7 +2004,7 @@ Pour plus d'informations, veuillez vous reporter au paragraphe **querySettings** |Parameter|Type||Description| |---------|--- |:---:|------| -||||Does not require any parameters| +||||Ne nécessite aucun paramètre| @@ -2085,10 +2085,10 @@ Une list box affiche l'entity selection Form.students, sur laquelle plusieurs cl
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|selectedEntities |4D.EntitySelection|->|Entity selection with entities for which to know the rank in the entity selection| -|Result|Object|<-|Range(s) of selected entities in entity selection| +|selectedEntities |4D.EntitySelection|->|Entity selection contenant les entités dont on veut connaître le rang dans l'entity selection| +|Résultat|Object|<-|Range(s) of selected entities in entity selection|
    @@ -2159,11 +2159,11 @@ $result2:=$invoices.selected($creditSel)
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|startFrom |Integer |->|Index to start the operation at (included) | -|end |Integer|->|End index (not included)| -|Result|4D.EntitySelection|<-|New entity selection containing sliced entities (shallow copy)| +|startFrom |Integer |->|Indice de départ de l'opération (inclus) | +|end |Integer|->|Indice de fin (non inclus)| +|Résultat|4D.EntitySelection|<-|New entity selection containing sliced entities (shallow copy)|
    @@ -2228,10 +2228,10 @@ $slice:=ds.Employee.all().slice(-1;-2) //essaie de retourner les entités de l'i
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|attributePath |Text|->|Path of the attribute to be used for calculation| -|Result|Real|<-|Sum of entity selection values| +|attributePath |Text|->|Chemin de l'attribut à utiliser pour le calcul| +|Résultat|Real|<-|Sum of entity selection values|
    @@ -2282,14 +2282,14 @@ $sum:=$sel.sum("salary")
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|filterString |Text|->|String with entity attribute path(s) to extract| -|filterCol |Collection|->|Collection of entity attribute path(s) to extract| -|options|Integer|->|`dk with primary key`: adds the primary key
    `dk with stamp`: adds the stamp| -|begin|Integer| ->|Designates the starting index| -|howMany|Integer|->|Number of entities to extract| -|Result|Collection|<-|Collection of objects containing attributes and values of entity selection| +|filterString |Text|->|Chaîne avec chemin(s) d'attribut(s) d'entité à extraire| +|filterCol |Collection|->|Collection de chemin(s) d'attribut(s) d'entité à extraire| +|options|Integer|->|`dk with primary key` : ajoute la clé primaire
    `dk with stamp` : ajoute le marqueur| +|begin|Integer| ->|Désigne l'indice de départ| +|howMany|Integer|->|Nombre d'entités à extraire| +|Résultat|Collection|<-|Collection of objects containing attributes and values of entity selection|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FileClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FileClass.md index 7e25da53b11312..b34beefe19cc8f 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FileClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FileClass.md @@ -74,13 +74,13 @@ Les objets de type `File` prennent en charge plusieurs noms de chemin, y compris
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|path|Text|->|File path| -|fileConstant|Integer|->|4D file constant| -|pathType|Integer|->|`fk posix path` (default) or `fk platform path`| -|*||->|* to return file of host database| -|Result|4D.File|<-|New file object| +|path|Text|->|Chemin d'accès au fichier| +|fileConstant|Integer|->|Constante de fichier 4D| +|pathType|Integer|->|`fk posix path` (défaut) ou `fk platform path` +|*||->|* pour retourner le fichier de la base hôte| +|Résultat|4D.File|<-|New file object|
    @@ -175,9 +175,9 @@ La fonction `4D.File.new()` crée et renvoie
    -|Parameter|Type||Description| -|---|---|---|---| -|Result|Boolean|<-|True if the file was created successfully, false otherwise| +|Paramètre|Type||Description| +|---------|--- |:---:|------| +|Résultat|Booléen|<-|True if the file was created successfully, false otherwise|
    @@ -218,12 +218,12 @@ Création d'un fichier de préférences dans le dossier principal :
    -|Parameter|Type||Description| -|---|---|---|---| -|destinationFolder|4D.Folder|->|Destination folder for the alias or shortcut| -|aliasName|Text|->|Name of the alias or shortcut| -|aliasType|Integer|->|Type of the alias link| -|Result|4D.File|<-|Alias or shortcut file reference| +|Paramètre|Type||Description| +|---|---|| +|destinationFolder|4D.Folder|->|Dossier de destination pour l'alias ou le raccourci| +|aliasName|Text|->|Nom de l'alias ou du raccourci| +|aliasType|Integer|->|Type du lien de l'alias| +|Résultat|4D.File|<-|Alias or shortcut file reference|
    @@ -276,9 +276,9 @@ Vous souhaitez créer un alias pour un fichier contenu dans votre dossier princi
    -|Parameter|Type||Description| -|---|----|---|---| -||||Does not require any parameters| +Paramètre|Type||Description| +|---|----|---| +||||Ne nécessite aucun paramètre|
    @@ -336,9 +336,9 @@ Vous souhaitez supprimer un fichier spécifique dans le dossier de la base de do
    -|Parameter|Type||Description| -|---|---|---|---| -|Result|Object|<-|Contents of .exe/.dll version resource or .plist file| +|Paramètre|Type||Description| +|---|---|---| +|Résultat|Object|<-|Contents of .exe/.dll version resource or .plist file|
    @@ -432,11 +432,11 @@ ALERT($info.Copyright)
    -|Parameter|Type||Description| -|---|----|---|---| -|destinationFolder|4D.Folder|->|Destination folder| -|newName|Text|->|Full name for the moved file| -|Result|4D.File|<-|Moved file| +|Paramètre|Type||Description| +|---|----|---| +|destinationFolder|4D.Folder|->|Dossier de destination| +|newName|Text|->|Nom complet du fichier déplacé| +|Résultat|4D.File|<-|Moved file|
    @@ -480,11 +480,11 @@ $myFile.moveTo($DocFolder.folder("Archives");"Infos_old.txt")
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---|---|---|---| -|mode|Text|->|Opening mode: "read", "write", "append"| -|options|Object|->|Opening options| -|Result|[4D.FileHandle](FileHandleClass)|<-|New File handle object| +|mode|Text|->|Mode d'ouverture : "read", "write", "append"| +|options|Object|->|Options d'ouverture| +|Résultat|[4D.FileHandle](FileHandleClass)|<-|New File handle object|
    @@ -563,10 +563,10 @@ $fhandle:=$f.open("read")
    -|Parameter|Type||Description| -|---|---|---|---| -|newName|Text|->|New full name for the file| -|Result|4D.File|<-|Renamed file| +|Paramètre|Type||Description| +|---|---|---| +|newName|Text|->|Nouveau nom complet du fichier| +|Résultat|4D.File|<-|Renamed file|
    @@ -609,9 +609,9 @@ Vous souhaitez que "ReadMe.txt" soit renommé "ReadMe_new.txt" :
    -|Parameter|Type||Description| -|---|---|---|---| -|info|Object|->|Properties to write in .exe/.dll version resource or .plist file| +|Paramètre|Type||Description| +|---|---|---|---|---| +|info|Object|->|Propriétés à écrire dans le fichier de ressource de version .exe/.dll ou .plist|
    @@ -703,9 +703,9 @@ $infoPlistFile.setAppInfo($info)
    -|Parameter|Type||Description| -|---|---|---|---| -|content|BLOB|->|New contents for the file| +|Paramètre|Type||Description| +|---|---|---|---|---| +|content|BLOB|->|Nouveau contenu du fichier|
    @@ -740,12 +740,12 @@ La fonction `.setContent()` réécri
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|----|---|--------| -|text|Text|->|Text to store in the file| -|charSetName|Text|->|Name of character set| -|charSetNum|Integer|->|Number of character set| -|breakMode|Integer|->|Processing mode for line breaks| +|text|Text|->|Texte à stocker dans le fichier| +|charSetName|Text|->|Nom du jeu de caractères| +|charSetNum|Integer|->|Numéro du jeu de caractères| +|breakMode|Integer|->|Mode de traitement des sauts de ligne|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FileHandleClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FileHandleClass.md index e7f675ccc66cab..8f47e862b12cda 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FileHandleClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FileHandleClass.md @@ -212,9 +212,9 @@ Cette propriété est en **lecture seule**.
    -|Parameter|Type||Description| -|---|---|---|---| -|Result|Real|<-|Size of the document in bytes| +|Paramètre|Type||Description| +|---|---|---| +|Résultat|Real|<-|Size of the document in bytes|
    @@ -319,10 +319,10 @@ $s:=$fh.readText()
    -|Parameter|Type||Description| -|---|---|---|---| -|bytes|Real|->|Number of bytes to be read| -|Result|[4D.Blob](BlobClass)|<-|Bytes read from the file| +|Paramètre|Type||Description| +|---|---||---| +|bytes|Real|->|Nombre d'octets à lire| +|Résultat|[4D.Blob](BlobClass)|<-|Bytes read from the file|
    @@ -359,9 +359,9 @@ Lorsque cette fonction est exécutée, la position courante ([.offset](#offset))
    -|Parameter|Type||Description| -|---|---|---|---| -|Result|Text|<-|Line of text| +|Paramètre|Type||Description| +|---|---||---| +|Résultat|Text|<-|Line of text|
    @@ -405,10 +405,10 @@ Cette fonction suppose que la propriété [`.offset`](#offset) est un nombre de
    -|Parameter|Type||Description| -|---|---|---|---| -|stopChar|Text|->|Character(s) at which to stop reading| -|Result|Text|<-|Text from the file| +|Paramètre|Type||Description| +|---|||---|| +|stopChar|Text|->|Charactère(s) auquel/auxquels arrêter la lecture| +|Résultat|Text|<-|Text from the file|
    @@ -454,9 +454,9 @@ Si le paramètre *stopChar* est passé et non trouvé, `.readText()` renvoie une
    -|Parameter|Type||Description| -|---|---|---|---| -|size|Real|->|New size of the document in bytes| +|Paramètre|Type||Description| +|---|---||---| +|size|Real|->|Nouvelle taille du document en octets|
    @@ -490,9 +490,9 @@ Si la valeur de *size* est inférieure à la taille courante du document, le con
    -|Parameter|Type||Description| -|---|---|---|---| -|blob|[4D.Blob](BlobClass)|->|Blob to write in the file| +|Paramètre|Type||Description| +|---|---||---| +|blob|[4D.Blob](BlobClass)|->|Blob à écrire dans le fichier|
    @@ -528,9 +528,9 @@ Lorsque cette fonction est exécutée, la position courante ([.offset](#offset))
    -|Parameter|Type||Description| -|---|---|---|---| -|lineOfText|Text|->|Text to write| +|Paramètre|Type||Description| +|---|---|---|---|---| +|lineOfText|Text|->|Texte à écrire|
    @@ -566,7 +566,7 @@ Lorsque cette fonction est exécutée, la position courante ([.offset](#offset)) |Parameter|Type||Description| |---|---|---|---| -|textToWrite|Text|->|Text to write| +|textToWrite|Text|->|Texte à écrire| diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FolderClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FolderClass.md index 4d7b183cdeabfc..72f95f030f6785 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FolderClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FolderClass.md @@ -72,13 +72,13 @@ Les objets `Folder` prennent en charge plusieurs formes de chemin d'accès, y co
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|path|Text|->|Folder path| -|folderConstant|Integer|->|4D folder constant| -|pathType|Integer|->|`fk posix path` (default) or `fk platform path`| -|*||->|* to return folder of host database| -|Result|4D.Folder|<-|New folder object| +|path|Text|->|Chemin d'accès du dossier| +|folderConstant|Integer|->|Constante de dossier 4D| +|pathType|Integer|->|`fk posix path` (par défaut) ou `fk platform path`| +|*||->|* pour renvoyer le dossier de la base de données hôte| +|Résultat|4D.Folder|<-|New folder object|
    @@ -161,9 +161,9 @@ La fonction `.4D.Folder.new()` crée et ren
    -|Parameter|Type||Description| -|---|---|---|---| -|Result|Boolean|<-|True if the folder was created successfully, false otherwise| +|Paramètre|Type||Description| +|---------|--- |:---:|------| +|Résultat|Booléen|<-|True if the folder was created successfully, false otherwise|
    @@ -219,12 +219,12 @@ End if
    -|Parameter|Type||Description| -|---|---|---|---| -|destinationFolder|4D.Folder|->|Destination folder for the alias or shortcut| -|aliasName|Text|->|Name of the alias or shortcut| -|aliasType|Integer|->|Type of the alias link| -|Result|4D.File|<-|Alias or shortcut reference| +|Paramètre|Type||Description| +|---|---|| +|destinationFolder|4D.Folder|->|Dossier de destination pour l'alias ou le raccourci| +|aliasName|Text|->|Nom de l'alias ou du raccourci| +|aliasType|Integer|->|Type du lien de l'alias| +|Résultat|4D.File|<-|Alias or shortcut reference|
    @@ -277,9 +277,9 @@ $aliasFile:=$myFolder.createAlias(Folder("/PACKAGE");"Jan2019")
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---|----|---|---| -|option |Integer|->|Folder deletion option| +|option |Integer|->|Option de suppression de dossier|
    @@ -353,11 +353,11 @@ Lorsque la constante `Delete with contents` est passée :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---|----|---|---| -|destinationFolder|4D.Folder|->|Destination folder| -|newName|Text|->|Full name for the moved folder| -|Result|4D.Folder|<-|Moved folder| +|destinationFolder|4D.Folder|->Dossier de destination| +|newName|Text|->|Nom complet du dossier déplacé| +|Résultat|4D.Folder|<-|Moved folder|
    @@ -411,10 +411,10 @@ Vous souhaitez déplacer et renommer un dossier :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---|---|---|---| -|newName|Text|->|New full name for the folder| -|Result|4D.Folder|<-|Renamed folder| +|newName|Text|->|Nouveau nom complet du dossier| +|Résultat|4D.Folder|<-|Renamed folder|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/HTTPRequestClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/HTTPRequestClass.md index a5bace09d4b88f..3b9857927436e1 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/HTTPRequestClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/HTTPRequestClass.md @@ -90,11 +90,11 @@ Les objets HTTPRequest fournissent les propriétés et fonctions suivantes :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|url|Text|->|URL to which to send the request| -|options|Object|->|Request configuration properties| -|Result|4D.HTTPRequest|<-|New HTTPRequest object| +|url|Text|->|URL vers laquelle envoyer la requête| +|options|Object|->|Propriétés de configuration de la requête| +|Résultat|4D.HTTPRequest|<-|New HTTPRequest object|
    @@ -321,7 +321,7 @@ La propriété `.returnResponseBody` contient @@ -375,10 +375,10 @@ La propriété `.url` contient l'URL d
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|time|Real|->|Maximum time in seconds to wait for the response| -|Result|4D.HTTPRequest|<-|HTTPRequest object| +|time|Real|->|Durée maximale d'attente de la réponse, en secondes| +|Résultat|4D.HTTPRequest|<-|HTTPRequest object|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/IMAPTransporterClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/IMAPTransporterClass.md index 2e47e70ae2b0a3..5ca628264f398b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/IMAPTransporterClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/IMAPTransporterClass.md @@ -58,10 +58,10 @@ Les objets IMAP Transporter sont instanciés avec la commande [IMAP New transpor
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|server|Object|->|Mail server information| -|Result|4D.IMAPTransporter|<-|[IMAP transporter object](#imap-transporter-object)| +|server|Object|->|Informations sur le serveur de messagerie| +|Résultat|4D.IMAPTransporter|<-|[IMAP transporter object](#imap-transporter-object)|
    @@ -118,10 +118,10 @@ End if
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|server|Object|->|Mail server information| -|Result|4D.IMAPTransporter|<-|[IMAP transporter object](#imap-transporter-object)| +|server|Object|->|Informations sur le serveur de messagerie| +|Résultat|4D.IMAPTransporter|<-|[IMAP transporter object](#imap-transporter-object)|
    @@ -150,11 +150,11 @@ La fonction `4D.IMAPTransporter.new()`
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|msgIDs|any|->|Collection of strings: Message unique IDs (text)
    Text: Unique ID of a message
    Longint (IMAP all): All messages in the selected mailbox| -|keywords|Object|->|Keyword flags to add| -|Result|Object|<-|Status of the addFlags operation| +|msgIDs|any|->|Collection de chaînes : identifiants uniques des messages (texte)
    Texte : identifiant unique d'un message
    Longint (IMAP all) : tous les messages de la boîte aux lettres sélectionnée| +|keywords|Object|->|Indicateurs de mots-clés à ajouter| +|Résultat|Object|<-|Status of the addFlags operation|
    @@ -242,12 +242,12 @@ $status:=$transporter.addFlags(IMAP all;$flags)
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|mailObj|Object|->|Email object| -|destinationBox|Text|->|Mailbox to receive Email object| -|options|Object|->|Object containing charset info | -|Result|Object|<-|Status of the append operation| +|mailObj|Object|->|Objet de courrier électronique| +|destinationBox|Text|->|Boîte aux lettres destinée à recevoir l'objet de courrier électronique| +|options|Object|->|Objet contenant des informations sur le jeu de caractères | +|Résultat|Object|<-|Status of the append operation|
    @@ -356,12 +356,12 @@ La propriété `.checkConnectionDelay` contient
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|msgsIDs|Collection|->|Collection of message unique IDs (strings)| -|allMsgs|Integer|->|`IMAP all`: All messages in the selected mailbox| -|destinationBox|Text|->|Mailbox to receive copied messages| -|Result|Object|<-|Status of the copy operation| +|msgsIDs|Collection|->|Collection d'identifiants uniques de messages (chaînes de caractères)| +|allMsgs|Integer|->|`IMAP all` : tous les messages de la boîte aux lettres sélectionnée| +|destinationBox|Text|->|Boîte aux lettres destinataire des messages copiés| +|Résultat|Object|<-|Status of the copy operation|
    @@ -459,10 +459,10 @@ Pour copier tous les messages de la boîte de réception courante :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|name|Text|->|Name of the new mailbox| -|Result|Object|<-|Status of the mailbox creation operation| +|name|Text|->|Nom de la nouvelle boîte aux lettres| +|Résultat|Object|<-|Status of the mailbox creation operation|
    @@ -540,11 +540,11 @@ End for each
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|msgsIDs|Collection|->|Collection of message unique IDs (strings)| -|allMsgs|Integer|->|`IMAP all`: All messages in the selected mailbox| -|Result|Object|<-|Status of the delete operation| +|msgsIDs|Collection|->|Collection d'identifiants uniques de messages (chaînes de caractères)| +|allMsgs|Integer|->|`IMAP all` : tous les messages de la boîte aux lettres sélectionnée| +|Résultat|Object|<-|Status of the delete operation|
    @@ -641,10 +641,10 @@ Pour supprimer tous les messages de la boîte de réception courante :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|name|Text|->|Name of the mailbox to delete| -|Result|Object|<-|Status of the mailbox deletion operation| +|name|Text|->|Nom de la boîte aux lettres à supprimer| +|Résultat|Object|<-|Status of the mailbox deletion operation|
    @@ -724,9 +724,9 @@ End if
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Object|<-|Status of the expunge operation | +|Résultat|Object|<-|Status of the expunge operation |
    @@ -795,10 +795,10 @@ $status:=$transporter.expunge()
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|name|Text|->|Name of the mailbox| -|Result|Object|<-|boxInfo object| +|name|Text|->|Nom de la boîte aux lettres| +|Résultat|Object|<-|boxInfo object|
    @@ -851,10 +851,10 @@ L'objet `boxInfo` contient les propriété suivantes :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|parameters|Object|->|Parameter object| -|Result|Collection|<-|Collection of mailbox objects| +|parameters|Object|->|Objet paramètre| +|Résultat|Collection|<-|Collection of mailbox objects|
    @@ -918,9 +918,9 @@ Si le compte ne contient pas de boites de réception, une collection vide est re
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |-----|--- |:---:|------| -|Result|Text|<-|Hierarchy delimiter character| +|Résultat|Text|<-|Hierarchy delimiter character|
    @@ -974,12 +974,12 @@ Caractère de délimitation des noms de boites de réception.
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|msgNumber|Integer|->|Sequence number of the message| -|msgID|Text|->|Unique ID of the message| -|options|Object|->|Message handling instructions| -|Result|Object|<-|[Email object](EmailObjectClass.md#email-object)| +|msgNumber|Integer|->|Numéro de séquence du message| +|msgID|Text|->|Identifiant unique du message| +|options|Object|->|Instructions de traitement du message| +|Résultat|Object|<-|[Email object](EmailObjectClass.md#email-object)|
    @@ -1050,13 +1050,13 @@ Vous souhaitez lire le message avec ID = 1 :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|ids |Collection|->|Collection of message ID| -|startMsg|Integer|->|Sequence number of the first message| -|endMsg |Integer|->|Sequence number of the last message| -|options|Object|->|Message handling instructions| -|Result|Object|<-|Object containing:
    • une collection d'[objets Email](EmailObjectClass.md#objet-email) et
    • une collection d'identifiants ou de numéros des messages manquants, le cas échéant
    | +|ids |Collection|->|Ensemble d'identifiants de messages| +|startMsg|Integer|->|Numéro de séquence du premier message| +|endMsg |Integer|->|Numéro de séquence du dernier message| +|options|Object|->|Instructions de traitement des messages| +|Résultat|Object|<-|Object containing:
    • une collection d'[objets Email](EmailObjectClass.md#objet-email) et
    • une collection d'identifiants ou de numéros des messages manquants, le cas échéant
    |
    @@ -1153,12 +1153,12 @@ Vous souhaitez récupérer les 20 emails les plus récents sans modifier le stat
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|msgNumber|Integer|-> |Sequence number of the message| -|msgID|Text|-> |Unique ID of the message| -|updateSeen|Boolean|->|If True, the message is marked "seen" in the mailbox. If False the message is left untouched.| -|Result|BLOB|<-|Blob of the MIME string returned from the mail server| +|msgNumber|Integer|-> |Numéro de séquence du message| +|msgID|Text|-> |Identifiant unique du message| +|updateSeen|Boolean|->|Si la valeur est True, le message est marqué comme « lu » dans la boîte de réception. Si la valeur est « False », le message reste inchangé.| +|Résultat|BLOB|<-|Blob of the MIME string returned from the mail server|
    @@ -1231,12 +1231,12 @@ Le paramètre optionnel *updateSeen* vous permet d'indiquer si le message est ma
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|msgsIDs|Collection|->|Collection of message unique IDs (strings)| -|allMsgs|Integer|->|`IMAP all`: All messages in the selected mailbox| -|destinationBox|Text|->|Mailbox to receive moved messages| -|Result|Object|<-|Status of the move operation| +|msgsIDs|Collection|->|Collection d'identifiants uniques de messages (chaînes de caractères)| +|allMsgs|Integer|->|`IMAP all` : tous les messages de la boîte aux lettres sélectionnée| +|destinationBox|Text|->|Boîte aux lettres destinée à recevoir les messages déplacés| +|Résultat|Object|<-|Status of the move operation|
    @@ -1335,11 +1335,11 @@ Pour déplacer tous les messages de la boîte de réception courante :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |-----|--- |:---:|------| -|startMsg|Integer|-> |Sequence number of the first message| -|endMsg|Integer|->|Sequence number of the last message| -|Result|Collection|<-|Collection of unique IDs| +|startMsg|Integer|-> |Numéro de séquence du premier message| +|endMsg|Integer|->|Numéro de séquence du dernier message| +|Résultat|Collection|<-|Collection of unique IDs|
    @@ -1399,11 +1399,11 @@ $status:=$transporter.removeFlags(IMAP all;$flags)
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|msgIDs|any|->|Collection of strings: Message unique IDs (text)
    Text: Unique ID of a message
    Longint (IMAP all): All messages in the selected mailbox| -|keywords|Object|->|Keyword flags to remove| -|Result|Object|<-|Status of the removeFlags operation| +|msgIDs|any|->|Ensemble de chaînes : identifiants uniques des messages (texte)
    Texte : identifiant unique d'un message
    Longint (IMAP tout) : tous les messages de la boîte aux lettres sélectionnée| +|keywords|Object|->|Indicateurs de mots-clés à supprimer| +|Résultat|Object|<-|Status of the removeFlags operation|
    @@ -1494,11 +1494,11 @@ End if
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|currentName|Text|->|Name of the current mailbox| -|newName|Text|->|New mailbox name| -|Result|Object|<-|Status of the renaming operation| +|currentName|Text|->|Nom de la boîte aux lettres actuelle| +|newName|Text|->|Nouveau nom de la boîte aux lettres| +|Résultat|Object|<-|Status of the renaming operation|
    @@ -1582,10 +1582,10 @@ End if
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|searchCriteria|Text|-> |Search criteria| -|Result|Collection|<-|Collection of message numbers| +|searchCriteria|Text|-> |Critères de recherche| +|Résultat|Collection|<-|Collection of message numbers|
    @@ -1723,11 +1723,11 @@ Les mots-clés de recherche peuvent traiter des valeurs des types suivants :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|name|Text|-> |Name of the mailbox| -|state|Integer|->|Mailbox access status| -|Result|Object|<-|boxInfo object| +|name|Text|-> |Nom de la boîte aux lettres| +|state|Integer|->|État d'accès à la boîte aux lettres| +|Résultat|Object|<-|boxInfo object|
    @@ -1817,10 +1817,10 @@ End if
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|name|Text|-> |Name of the mailbox| -|Result|Object|<-|Status of the subscribe operation| +|name|Text|-> |Nom de la boîte aux lettres| +|Résultat|Object|<-|Status of the subscribe operation|
    @@ -1903,10 +1903,10 @@ End if
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|name|Text|-> |Name of the mailbox| -|Result|Object|<-|Status of the unsubscribe operation| +|name|Text|-> |Nom de la boîte aux lettres| +|Résultat|Object|<-|Status of the unsubscribe operation|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/MailAttachmentClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/MailAttachmentClass.md index 339c19d4dee4f2..e9d69968e734df 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/MailAttachmentClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/MailAttachmentClass.md @@ -38,17 +38,17 @@ Les objets Attachment fournissent les propriétés et fonctions suivantes en lec
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|file|4D.File|->|Attachment file| -|zipFile|4D.ZipFile|->|Attachment Zipfile| -|blob|4D.Blob|->|BLOB containing the attachment| -|path|Text|->|Path of the attachment file| -|name|Text|->|Name + extension used by the mail client to designate the attachment| -|cid|Text|->|ID of attachment (HTML messages only), or " " if no cid is required| -|type|Text|->|Value of the content-type header| -|disposition|Text|->|Value of the content-disposition header: "inline" or "attachment".| -|Result|4D.MailAttachment|<-|Attachment object| +|file|4D.File|->|Fichier joint| +|zipFile|4D.ZipFile|->|Fichier Zip joint| +|blob|4D.Blob|->|BLOB contenant le fichier joint| +|path|Text|->|Chemin d'accès au fichier joint|| +|name|Text|->|Nom + extension utilisés par le client de messagerie pour désigner la pièce jointe| +|cid|Text|->|ID de la pièce jointe (messages HTML uniquement), ou " " si aucun cid n'est requis| +|type|Text|->|Valeur de l'en-tête content-type| +|disposition|Text|->|Valeur de l'en-tête content-disposition : "inline" ou "attachment".| +|Résultat|4D.MailAttachment|<-|Attachment object|
    @@ -186,17 +186,17 @@ $transporter.send($email)
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|file|4D.File|->|Attachment file| -|zipFile|4D.ZipFile|->|Attachment Zipfile| -|blob|4D.Blob|->|BLOB containing the attachment| -|path|Text|->|Path of the attachment file| -|name|Text|->|Name + extension used by the mail client to designate the attachment| -|cid|Text|->|ID of attachment (HTML messages only), or " " if no cid is required| -|type|Text|->|Value of the content-type header| -|disposition|Text|->|Value of the content-disposition header: "inline" or "attachment".| -|Result|4D.MailAttachment|<-|Attachment object| +|file|4D.File|->|Fichier joint| +|zipFile|4D.ZipFile|->|Fichier Zip joint| +|blob|4D.Blob|->|BLOB contenant le fichier joint| +|path|Text|->|Chemin d'accès au fichier joint|| +|name|Text|->|Nom + extension utilisés par le client de messagerie pour désigner la pièce jointe| +|cid|Text|->|ID de la pièce jointe (messages HTML uniquement), ou " " si aucun cid n'est requis| +|type|Text|->|Valeur de l'en-tête content-type| +|disposition|Text|->|Valeur de l'en-tête content-disposition : "inline" ou "attachment".| +|Résultat|4D.MailAttachment|<-|Attachment object|
    @@ -237,9 +237,9 @@ La propriété `.disposition` contient
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---|--- |:---:|------| -|Result|4D.Blob|<-|Content of the attachment| +|Résultat|4D.Blob|<-|Content of the attachment|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/POP3TransporterClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/POP3TransporterClass.md index 7ffa082d58faa6..9211de2c699b7a 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/POP3TransporterClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/POP3TransporterClass.md @@ -46,10 +46,10 @@ Les objets Transporter POP3 sont instanciés avec la commande [POP3 New transpor
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|server|object|->|Mail server information| -|Result|4D.POP3Transporter|<-|[POP3 transporter object](#pop3-transporter-object)| +|server|object|->|Informations sur le serveur de messagerie| +|Résultat|4D.POP3Transporter|<-|[POP3 transporter object](#pop3-transporter-object)|
    @@ -107,10 +107,10 @@ La fonction retourne un [**objet POP3 transporter**](#pop3-transporter-object).
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|server|Object|->|Mail server information| -|Result|4D.POP3Transporter|<-|[POP3 transporter object](#pop3-transporter-object)| +|server|Object|->|Informations sur le serveur de messagerie| +|Résultat|4D.POP3Transporter|<-|[POP3 transporter object](#pop3-transporter-object)|
    @@ -167,9 +167,9 @@ La fonction `4D.POP3Transporter.new()`
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|msgNumber|Integer|->|Number of the message to delete| +|msgNumber|Integer|->|Numéro du message à supprimer|
    @@ -215,9 +215,9 @@ L'exécution de cette méthode ne supprime pas réellement l'email. L'email marq
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Object|<-|boxInfo object| +|Résultat|Object|<-|boxInfo object|
    @@ -267,11 +267,11 @@ L'objet `boxInfo` contient les propriété suivantes :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|msgNumber|Integer|->|Number of the message in the list | -|headerOnly|Boolean|->|True to download only the email headers (default is False) | -|Result|Object|<-|[Email object](EmailObjectClass.md#email-object)| +|msgNumber|Integer|->|Numéro du message dans la liste| +|headerOnly|Boolean|->|Vrai pour télécharger uniquement les en-têtes des e-mails (Faux par défaut) | +|Résultat|Object|<-|[Email object](EmailObjectClass.md#email-object)|
    @@ -337,10 +337,10 @@ Vous souhaitez connaitre l'expéditeur du premier mail de la boite de réception
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|msgNumber|Integer|->|Number of the message in the list | -|Result|Object|<-|mailInfo object| +|msgNumber|Integer|->|Numéro du message dans la liste | +|Résultat|Object|<-|mailInfo object|
    @@ -467,10 +467,10 @@ Vous souhaitez connaitre le nombre total d'emails de la boîte de réception ain
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|msgNumber|Integer|-> |Number of the message in the list| -|Result|Blob|<-|Blob of the MIME string returned from the mail server| +|msgNumber|Integer|-> |Numéro du message dans la liste| +|Résultat|Blob|<-|Blob of the MIME string returned from the mail server|
    @@ -536,7 +536,7 @@ Vous souhaitez connaitre le nombre total d'emails de la boîte de réception ain |Parameter|Type||Description| |---------|--- |:---:|------| -||||Does not require any parameters| +||||Ne nécessite aucun paramètre| diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SMTPTransporterClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SMTPTransporterClass.md index c3b96132cc8241..f1959db4530628 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SMTPTransporterClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SMTPTransporterClass.md @@ -44,10 +44,10 @@ Les objets SMTP Transporter sont instanciés avec la commande [SMTP New transpor
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|server|Object|->|Mail server information| -|Result|4D.SMTPTransporter|<-|[SMTP transporter object](#smtp-transporter-object)| +|server|Object|->|Informations sur le serveur de messagerie| +|Résultat|4D.SMTPTransporter|<-|[SMTP transporter object](#smtp-transporter-object)|
    @@ -122,10 +122,10 @@ La fonction retourne un [**objet SMTP transporter**](#smtp-transporter-object).
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|server|Object|->|Mail server information| -|Result|4D.SMTPTransporter|<-|[SMTP transporter object](#smtp-transporter-object)| +|server|Object|->|Informations sur le serveur de messagerie| +|Résultat|4D.SMTPTransporter|<-|[SMTP transporter object](#smtp-transporter-object)|
    @@ -214,10 +214,10 @@ La connexion SMTP est automatiquement fermée :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|mail|Object|->|[Email](EmailObjectClass.md#email-object) to send| -|Result|Object|<-|SMTP status| +|mail|Object|->|[E-mail](EmailObjectClass.md#email-object) à envoyer| +|Résultat|Object|<-|SMTP status|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SessionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SessionClass.md index d7c1d88b411485..d2e0b70cd8440d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SessionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SessionClass.md @@ -40,9 +40,9 @@ Pour des informations détaillées sur l'implémentation de la session, veuillez
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|4D.Session|<-|Session object| +|Résultat|4D.Session|<-|Session object|
    @@ -105,7 +105,7 @@ IP:port/4DACTION/action_Session |Parameter|Type||Description| |---------|--- |:---:|------| -||||Does not require any parameters| +||||Ne nécessite aucun paramètre| @@ -177,7 +177,7 @@ $expiration:=Session.expirationDate //ex : "2021-11-05T17:10:42Z"
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| |privilege|Text|<-|Name of the privilege to verify| |Result|Boolean|<-|True if session has *privilege*, False otherwise| @@ -264,9 +264,9 @@ End if
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Boolean|<-|True if session is a Guest one, False otherwise| +|Résultat|Booléen|<-|True if session is a Guest one, False otherwise|
    @@ -307,11 +307,11 @@ End if
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| |privilege|Text|->|Privilege name| -|privileges|Collection|->|Collection of privilege names| -|settings|Object|->|Object with a "privileges" property (string or collection)| +|privileges|Collection|->|Collection de noms de privilèges| +|settings|Object|->|Objet doté d'une propriété "privileges" (chaîne de caractères ou collection)|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SignalClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SignalClass.md index 66f12677501428..17722376af74b6 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SignalClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SignalClass.md @@ -111,10 +111,10 @@ Méthode ***OpenForm*** :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|description|Text|->|Description for the signal| -|Result|4D.Signal|<-|Native object encapsulating the signal| +|description|Text|->|Description du signal| +|Résultat|4D.Signal|<-|Native object encapsulating the signal|
    @@ -237,7 +237,7 @@ Cette propriété est en **lecture seule**. |Parameter|Type||Description| |---------|--- |:---:|------| -||||Does not require any parameters| +||||Ne nécessite aucun paramètre|
    @@ -269,10 +269,10 @@ Si le signal est déjà dans l'état signaled (i.e., la propriété `signaled` e
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---|---|---|---| -|timeout|Real|->|Maximum waiting time for the signal in seconds| -|Result|Boolean|<-|State of the `.signaled` property| +|timeout|Real|->|Durée maximale d'attente pour le signal, en secondes| +|Résultat|Boolean|<-|State of the `.signaled` property|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SystemWorkerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SystemWorkerClass.md index 9196f744c70f17..ffcefe7a849a5d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SystemWorkerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/SystemWorkerClass.md @@ -63,11 +63,11 @@ $myMacWorker:= 4D.SystemWorker.new("chmod x /folder/myfile.sh")
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|commandLine|Text|->|Command line to execute| -|options|Object|->|Worker parameters| -|result|4D.SystemWorker|<-|New asynchronous System worker or null if process not started| +|commandLine|Text|->|Ligne de commande à exécuter| +|options|Object|->|Paramètres du Worker| +|Résultat|4D.SystemWorker|<-|New asynchronous System worker or null if process not started|
    @@ -272,7 +272,7 @@ Function _createFile($title : Text; $textBody : Text) |Parameter|Type||Description| |---------|--- |:---:|------| -||||Does not require any parameters| +||||Ne nécessite aucun paramètre| @@ -435,10 +435,10 @@ Cette propriété est en **lecture seule**.
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|message|Text|->|Text to write on the input stream (stdin) of the external process| -|messageBLOB|Blob|->|Bytes write on the input stream| +|message|Text|->|Texte à écrire sur le flux d'entrée (stdin) du processus externes| +|messageBLOB|Blob|->|Octets à écrire sur le flux d'entrée|
    @@ -492,7 +492,7 @@ La propriété `.responseError` @@ -552,10 +552,10 @@ Cette propriété est en **lecture seule**.
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|timeout|Real|->|Waiting time (in seconds)| -|Result|4D.SystemWorker|<-|SystemWorker object| +|timeout|Real|->|Temps d'attente (en secondes)| +|Résultat|4D.SystemWorker|<-|SystemWorker object|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/Transporter.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/Transporter.md index 9cebdefd9abd4c..dc16b6aa005e02 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/Transporter.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/Transporter.md @@ -354,9 +354,9 @@ La propriété `.user` contient le nom d'
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Object|<-|Status of the transporter object connection| +|Résultat|Object|<-|Status of the transporter object connection|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md index 7ef37c24c925a2..9044387d3697f1 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebServerClass.md @@ -73,10 +73,10 @@ Leurs propriétés et fonctions sont les suivantes :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---|---|----|---| -|option|Integer|->|Web server to get (default if omitted = `Web server database`)| -|Result|4D.WebServer|<-|Web server object| +|option|Integer|->|Serveur Web à utiliser (par défaut si non spécifié = `Web server database`)| +|Résultat|4D.WebServer|<-|Web server object|
    @@ -120,9 +120,9 @@ L'objet Web server retourné contient les valeurs courantes des propriétés du
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---|---|----|---| -|Result|Collection|<-|Collection of the available Web server objects| +|Résultat|Collection|<-|Collection of the available Web server objects|
    @@ -650,7 +650,7 @@ Le Champ "path" du cookie **.sessionCookieSameSite** : Text -Le valeur du cookie de session "SameSite". Valeurs possibles (avec constantes) : +La valeur du cookie de session "SameSite". Valeurs possibles (avec constantes) : | Constante | Valeur | Description | | ------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------- | @@ -693,10 +693,10 @@ Le validation d'a
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---|---|----|---| -|settings|Object|->|Web server settings to set at startup| -|Result|Object|<-|Status of the web server startup| +|settings|Object|->|Paramètres du serveur Web à définir au démarrage| +|Résultat|Object|<-|Status of the web server startup|
    @@ -755,9 +755,9 @@ La fonction retourne un objet décrivant le statut démarré du serveur Web. Cet
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---|---|----|---| -||||Does not require any parameters| +||||Ne nécessite aucun paramètre|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebSocketConnectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebSocketConnectionClass.md index bdab2bd1555d2d..8153e1a0688471 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebSocketConnectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebSocketConnectionClass.md @@ -73,9 +73,9 @@ Cette propriété est en lecture seule.
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|message|Text / Blob / Object|->|The message to send| +|message|Text / Blob / Object|->|Le message à envoyer|
    @@ -119,10 +119,10 @@ Cette propriété est en lecture seule.
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|code|Integer|->|Error code sent to the client (must be > 3000, otherwise the message is not sent)| -|message|Text|->|Error message sent to the client| +|code|Integer|->|Code d'erreur envoyé au client (doit être supérieur à 3000, sinon le message n'est pas envoyé)| +|message|Text|->|Message d'erreur envoyé au client|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebSocketServerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebSocketServerClass.md index 0e08ee01dc1ff5..4f8c3e02ae746d 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebSocketServerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/WebSocketServerClass.md @@ -113,11 +113,11 @@ Les objets WebSocketServer offrent les propriétés et fonctions suivantes :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|[WSSHandler](#wsshandler-parameter)|Object|->|Object of the user class declaring the WebSocket Server callbacks| -|[options](#options-parameter)|Object|->|WebSocket configuration parameters| -|Result|4D.WebSocketServer|<-|New WebSocketServer object| +|[WSSHandler](#wsshandler-parameter)|Object|->|Objet de la classe utilisateur déclarant les callbacks du serveur WebSocket| +|[options](#options-parameter)|Object|->|Paramètres de configuration WebSocket| +|Résultat|4D.WebSocketServer|<-|New WebSocketServer object|
    @@ -396,9 +396,9 @@ Cette propriété est en lecture seule.
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|timeout|Integer|->|Waiting time in seconds before terminating the WebSocket server| +|timeout|Integer|->|Temps d'attente en secondes avant l'arrêt du serveur WebSocket|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/ZipArchiveClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/ZipArchiveClass.md index e73c7a3bcaa662..844e542a8b8f4c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/ZipArchiveClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/ZipArchiveClass.md @@ -52,14 +52,14 @@ End if
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|fileToZip|4D.File|->|File or Folder object to compress| -|folderToZip|4D.Folder|->|File or Folder object to compress| -|zipStructure|Object|->|File or Folder object to compress| -|destinationFile|4D.File|->|Destination file for the archive| -|options|Integer|->|*folderToZip* option: `ZIP Without enclosing folder`| -|Result|Object|<-|Status object| +|fileToZip|4D.File|->|Objet Fichier ou Dossier à compresser| +|folderToZip|4D.Folder|->|Objet Fichier ou Dossier à compresser| +|zipStructure|Object|->|Objet Fichier ou Dossier à compresser| +|destinationFile|4D.File|->|Fichier de destination pour l'archive| +|options|Integer|->|Option *folderToZip* : `ZIP Without enclosing folder`| +|Résultat|Object|<-|Status object|
    @@ -208,11 +208,11 @@ $err:=ZIP Create archive($zip; $destination)
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|zipFile|4D.File|->|Zip archive file| -|password|Text|->|ZIP archive password if any| -|Result|4D.ZipArchive|<-|Archive object| +|zipFile|4D.File|->|Fichier d'archive ZIP| +|password|Text|->|Mot de passe de l'archive ZIP, le cas échéant| +|Résultat|4D.ZipArchive|<-|Archive object|
    diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/Events/onAfterKeystroke.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/Events/onAfterKeystroke.md index 9390073594289f..b21e2538e48363 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/Events/onAfterKeystroke.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/Events/onAfterKeystroke.md @@ -24,7 +24,7 @@ Après avoir sélectionné les propriétés d'événement [`On Before Keystroke` L'événement `On After Keystroke` n'est pas généré : -- in [list box columns](FormObjects/listbox-column.md) method except when a cell is being edited (however it is generated in any cases in the [list box](FormObjects/listbox_overview.md) method), +- dans la méthode [des colonnes de list box](FormObjects/listbox-column.md), sauf lorsqu'une cellule est en cours d'édition (cependant elle est générée dans tous les cas dans la méthode de [list box](FormObjects/listbox_overview.md)), - lorsque les modifications utilisateur ne sont pas effectuées à l'aide du clavier (coller, glisser-déposer, case à cocher, liste déroulante, combo box). Pour traiter ces événements, vous devez utiliser [`On After Edit`](onAfterEdit.md). ### Séquence d'entrée diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-column.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-column.md index 184dace365afaa..02064cfb2d3a91 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-column.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-column.md @@ -17,7 +17,7 @@ Vous pouvez définir des propriétés standard (texte, couleur de fond, etc.) po ## Événements formulaire pris en charge -| Evénement formulaire | Additional Properties Returned (see [Form event](https://doc.4d.com/4Dv20/4D/20.6/FORM-Event.301-7487450.en.html) for main properties) | Commentaires | +| Evénement formulaire | Propriétés supplémentaires retournées (voir [événement de formulaire](https://doc.4d.com/4Dv20/4D/20.6/FORM-Event.301-7487450.en.html) pour les propriétés principales) | Commentaires | | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | On After Edit |
  • [column](./listbox-object#additional-properties)
  • [columnName](./listbox-object#additional-properties)
  • [row](./listbox-object#additional-properties)
  • | | | On After Keystroke |
  • [column](./listbox-object#additional-properties)
  • [columnName](./listbox-object#additional-properties)
  • [row](./listbox-object#additional-properties)
  • | | @@ -52,7 +52,7 @@ La list box suivante a été définie à l'aide d'un tableau d'objets : ### Configurer une colonne tableau d'objets -To assign an object array to a list box column, you just need to set the object array name in either the Property list ("Variable Name" field), or using the [LISTBOX INSERT COLUMN](https://doc.4d.com/4Dv20/4D/20.6/LISTBOX-INSERT-COLUMN.301-7487606.en.html) command, like with any array-based column. Dans la Liste des propriétés, vous pouvez sélectionner Objet comme "Type de variable" pour la colonne : +Pour attribuer un tableau d'objets à une colonne de liste déroulante, il suffit de définir le nom du tableau d'objets soit dans la liste des propriétés (champ "Variable Name"), soit à l'aide de la commande [LISTBOX INSERT COLUMN](https://doc.4d.com/4Dv20/4D/20.6/LISTBOX-INSERT-COLUMN.301-7487606.en.html), comme pour toute colonne basée sur un tableau. Dans la Liste des propriétés, vous pouvez sélectionner Objet comme "Type de variable" pour la colonne : ![](../assets/en/FormObjects/listbox_column_objectArray_config.png) @@ -83,7 +83,7 @@ ARRAY OBJECT(obColumn;0) // tableau de colonnes Lorsqu'une colonne de list box est associée à un tableau d'objets, l'affichage, la saisie et l'édition des cellules sont basées sur l'attribut valueType présent dans chaque élément du tableau. Les valeurs valueType prises en charge sont les suivantes : - "text" : pour une valeur texte -- "real": for a numeric value that can include separators like a `\`, <.>, or <,> +- "real" : pour une valeur numérique pouvant contenir des séparateurs tels que `\`, <.> ou <,> - "integer" : pour une valeur entière - "boolean" : pour une valeur True/False - "color" : pour définir une couleur de fond @@ -153,7 +153,7 @@ La valeur des cellules est stockée dans l'attribut "value". Cet attribut est ut C_OBJECT($ob1) $entry:="Hello world!" OB SET($ob1;"valueType";"text") - OB SET($ob1;"value";$entry) // if the user enters a new value, $entry will contain the edited value + OB SET($ob1;"value";$entry) //si l'utilisateur saisit une nouvelle valeur, $entry contiendra la valeur modifiée C_OBJECT($ob2) OB SET($ob2;"valueType";"real") OB SET($ob2;"value";2/3) @@ -290,7 +290,7 @@ Exemples : C_OBJECT($ob) OB SET($ob;"valueType";"integer") OB SET($ob;"saveAs";"reference") - OB SET($ob;"value";2) //displays London by default + OB SET($ob;"value";2) //affiche Londres par défaut OB SET($ob;"requiredListReference";<>List) ``` diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-object.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-object.md index 3937772290c41c..7852c1988736ed 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-object.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/listbox-object.md @@ -7,7 +7,7 @@ title: List Box Object Dans une list box de type tableau, chaque colonne est associée à un tableau 4D à une dimension ; tous les types de tableaux peuvent être utilisés, à l’exception des tableaux de pointeurs. Le nombre de lignes est basé sur le nombre d’éléments du tableau. -Par défaut, 4D affecte le nom “ColonneN” à chaque variable de colonne. You can change it, as well as other column properties, in the [column properties](listbox-column.md#column-specific-properties). Le format d'affichage de chaque colonne peut également être défini à l'aide de la commande `OBJECT SET FORMAT`. +Par défaut, 4D affecte le nom “ColonneN” à chaque variable de colonne. Vous pouvez le modifier, ainsi que d'autres propriétés de colonnes, dans les [propriétés des colonnes](listbox-column.md#column-specific-properties). Le format d'affichage de chaque colonne peut également être défini à l'aide de la commande `OBJECT SET FORMAT`. > Les list box basées sur des tableaux peuvent être affichées sous forme de [list box hiérarchiques](listbox_overview.md#list-box-hierarchiques), disposant de mécanismes spécifiques. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/listbox_overview.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/listbox_overview.md index 30a274e8d3940b..add5792d76be08 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/listbox_overview.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/listbox_overview.md @@ -30,10 +30,10 @@ L'utilisateur peut sélectionner une ou plusieurs lignes à l'aide des raccourci Une list box est composée de quatre parties distinctes : -* the [list box object](./listbox-object.md) in its entirety, -* [columns](./listbox-column.md), -* column [headers](./listbox-header-footer.md#headers), and -* column [footers](./listbox-header-footer.md#footers). +* l'objet [ List box](./listbox-object.md) dans son intégralité, +* [colonnes](./listbox-column.md), +* [en-têtes](./listbox-header-footer.md#headers) de colonnes, et +* [pieds](./listbox-header-footer.md#footers) de colonnes. ![](../assets/en/FormObjects/listbox_parts.png) @@ -44,7 +44,7 @@ Il est possible d'ajouter une méthode objet à l'objet list box et/ou à chaque 1. Méthode objet de chaque colonne 2. Méthode objet de la list box -The column object method gets events that occur in its [header](./listbox-header-footer.md#headers) and [footer](./listbox-header-footer.md#footers). +La méthode objet de colonne obtient les événements qui se produisent dans son [en-tête](./listbox-header-footer.md#headers) et son [pied](./listbox-header-footer.md#footers). ### Types de list box @@ -59,7 +59,7 @@ Il existe différents types de list box avec leurs propres comportements et prop Vous pouvez configurer complètement un objet de type list box via ses propriétés, et vous pouvez également le gérer dynamiquement par programmation. -Le langage 4D comprend un thème "List Box" dédié aux commandes de list box mais les commandes de divers autres thèmes comme "Propriétés des objets" ou les commandes `EDIT ITEM` et `Displayed line number` peuvent également être utilisées. Refer to the [List Box Commands Summary](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) page of the *4D Language reference* for more information. +Le langage 4D comprend un thème "List Box" dédié aux commandes de list box mais les commandes de divers autres thèmes comme "Propriétés des objets" ou les commandes `EDIT ITEM` et `Displayed line number` peuvent également être utilisées. Pour plus d'informations, reportez-vous à la page [Récapitulatif des commandes List Box](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) dans la *référence du langage 4D*. ## Gestion de la saisie @@ -302,8 +302,8 @@ Vous pouvez définir la valeur de la variable (par exemple, Header2:=2) afin de Vous disposez de plusieurs possibilités pour définir des couleurs de fond, des couleurs de police et des styles de police dans les list box : -* at the level of the [list box object properties](./listbox-object.md), -* at the level of the [column properties](./listbox-column.md), +* au niveau des [propriétés de l’objet list box](./listbox-object.md), +* au niveau des [propriétés de la colonne,](./listbox-column.md), * en utilisant des [tableaux ou expressions](#using-arrays-and-expressions) pour la list box et/ou pour chaque colonne, * au niveau du texte de chaque cellule (si [texte multistyle](properties_Text.md#multi-style)). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_CoordinatesAndSizing.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_CoordinatesAndSizing.md index 0fdda11e6d4f4d..58b31f72572fc6 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_CoordinatesAndSizing.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_CoordinatesAndSizing.md @@ -175,7 +175,7 @@ Cette propriété désigne la taille verticale d'un objet. Cette propriété désigne la taille horizontale d'un objet. > * Certains objets peuvent avoir une hauteur prédéfinie qui ne peut pas être modifiée. -> * If the [Resizable](properties_ResizingOptions.md#resizable) property is used for a [list box column](listbox-column.md), the user can also manually resize the column. +> * Si la propriété [Resizable](properties_ResizingOptions.md#resizable) est utilisée pour une [colonne de liste déroulante](listbox-column.md), l'utilisateur peut également redimensionner manuellement la colonne. > * Lors du redimensionnement du formulaire, si la propriété de [dimensionnement horizontal "Agrandir"](properties_ResizingOptions.md#horizontal-sizing) a été affectée à la list box, la colonne la plus à droite sera agrandie, allant au-delà de sa largeur maximale, si nécessaire. #### Grammaire JSON diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_DataSource.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_DataSource.md index 6ef863cd56fcc8..de94d888df8928 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_DataSource.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_DataSource.md @@ -11,7 +11,7 @@ Lorsque l'option d'**insertion automatique** n'est pas définie (par défaut), l Cette propriété est prise en charge par : -- [Combo box](comboBox_overview.md) and [list box column](listbox-column.md) form objects associated to a choice list. +- Les objets de formulaire [Combo box](comboBox_overview.md) et [colonne list box](listbox-column.md) sont associés à une liste de choix. - les objets de formulaire [Combo box](comboBox_overview.md) dont la liste associée est remplie par leur tableau ou leur objet datasource. Par exemple, pour une liste de choix contenant "France, Allemagne, Italie" associée à une combo box "Pays" : si la propriété d'**insertion automatique** est définie et qu'un utilisateur saisit "Espagne", la valeur "Espagne" est alors automatiquement ajoutée à la liste en mémoire : @@ -113,7 +113,7 @@ Indique une variable ou une expression qui se verra attribuer un entier long ind Définit le type de données pour l'expression affichée. Cette propriété est utilisée avec : -- [List box columns](listbox-column.md) of the selection and collection types. +- [Colonnes List box](listbox-column.md) des types de sélection et de collection. - les [listes déroulantes](dropdownList_Overview.md) associées à des objets ou des tableaux. Voir aussi la section [**Expression type**](properties_Object.md#expression-type). @@ -126,7 +126,7 @@ Voir aussi la section [**Expression type**](properties_Object.md#expression-type #### Objets pris en charge -[Drop-down Lists](dropdownList_Overview.md) associated to objects or arrays - [List Box column](listbox-column.md) +[Drop-down Lists](dropdownList_Overview.md) associés à des objets ou à des tableaux - [List Box column](listbox-column.md) --- @@ -189,7 +189,7 @@ Vous devez saisir une liste de valeurs. Dans l'éditeur de formulaires, une boî ## Expression -This description is specific to [selection](FormObjects/listbox-object.md#selection-list-boxes) and [collection](FormObjects/listbox-object.md#collection-or-entity-selection-list-boxes) type list box columns. Voir aussi la section **[Variable ou expression](properties_Object.md#variable-or-expression)**. +Cette description est spécifique aux colonnes List Box de type [selection](FormObjects/listbox-object.md#selection-list-boxes) et [collection](FormObjects/listbox-object.md#collection-or-entity-selection-list-boxes) . Voir aussi la section **[Variable ou expression](properties_Object.md#variable-or-expression)**. Une expression 4D à associer à une colonne. Vous pouvez saisir : @@ -255,7 +255,7 @@ Toutes les tables de la base de données peuvent être utilisées, que le formul Cette propriété est disponible dans les conditions suivantes : - une [liste de choix](#choice-list) est associée à l'objet -- for [inputs](input_overview.md) and [list box columns](listbox-column.md), a [required list](properties_RangeOfValues.md#required-list) is also defined for the object (both options should use usually the same list), so that only values from the list can be entered by the user. +- pour les [inputs](input_overview.md) et les [colonnes de list box](listbox-column.md), une [énumération obligatoire](properties_RangeOfValues.md#required-list) est également définie pour l'objet (les deux options doivent généralement utiliser la même liste), de sorte que seules les valeurs de la liste peuvent être saisies par l'utilisateur. Cette propriété spécifie, dans le contexte d'un champ ou d'une variable associée à une liste de valeurs, le type de contenu à sauvegarder : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Display.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Display.md index 268adabbe576b6..2f835e4f143e99 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Display.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Display.md @@ -341,7 +341,7 @@ Le tableau ci-dessous montre les formats d'affichage du champ Heure et donne des Lorsqu'une [expression booléenne](properties_Object.md#expression-type) est affichée comme suit : * un texte dans un [objet de saisie](input_overview.md) -* a ["popup"](properties_Display.md#display-type) in a [list box column](listbox-column.md), +* une ["fenêtre contextuelle"](properties_Display.md#display-type) dans une [colonne List box](listbox-column.md), ... vous pouvez sélectionner le texte à afficher pour chaque valeur : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Footers.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Footers.md index ede45dd2f638fe..60d258f56097f0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Footers.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Footers.md @@ -5,7 +5,7 @@ title: Pieds ## Afficher pieds -This property is used to display or hide [list box column footers](listbox-header-footer.md#footers). Il existe un pied par colonne; chaque pied est configuré séparément. +Cette propriété est utilisée pour afficher ou masquer [les pieds de de colonne listbox](listbox-header-footer.md#footers). Il existe un pied par colonne; chaque pied est configuré séparément. #### Grammaire JSON @@ -29,7 +29,7 @@ Cette propriété sert à définir la hauteur de ligne d'un pied de list box en * Si plus d'une taille est définie, 4D utilise la plus grande. Par exemple, si une ligne contient «Verdana 18», «Geneva 12» et «Arial 9», 4D utilise «Verdana 18» pour déterminer la hauteur de ligne (par exemple, 25 pixels). Cette hauteur est ensuite multipliée par le nombre de lignes définies. * Ce calcul ne prend pas en compte la taille des images ni les styles appliqués aux polices. * Sous macOS, la hauteur de ligne peut être incorrecte si l'utilisateur saisit des caractères qui ne sont pas disponibles dans la police sélectionnée. Lorsque cela se produit, une police de remplacement est utilisée, ce qui peut entraîner des variations de taille. -> This property can also be set dynamically using the [LISTBOX SET FOOTERS HEIGHT](https://doc.4d.com/4Dv20/4D/20.6/LISTBOX-SET-FOOTERS-HEIGHT.301-7487629.en.html) command. +> Cette propriété peut également être définie dynamiquement en utilisant la commande [LISTBOX SET FOOTERS HEIGHT](https://doc.4d.com/4Dv20/4D/20.6/LISTBOX-SET-FOOTERS-HEIGHT.301-7487629.en.html). Conversion d'unités : lorsque vous passez d'une unité à l'autre, 4D les convertit automatiquement et affiche le résultat dans la liste des propriétés. Par exemple, si la police utilisée est "Lucida grande 24", une hauteur de "1 ligne" est convertie en "30 pixels" et une hauteur de "60 pixels" est convertie en "2 lignes". diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Headers.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Headers.md index a8e818d98a17e2..b1ff74d945d123 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Headers.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Headers.md @@ -5,7 +5,7 @@ title: En-têtes ## Afficher en-têtes -This property is used to display or hide [list box column headers](listbox-header-footer.md#headers). Il existe un en-tête par colonne; chaque en-tête est configuré séparément. +Cette propriété est utilisée pour afficher ou masquer [les en-têtes de colonne listbox](listbox-header-footer.md#headers). Il existe un en-tête par colonne; chaque en-tête est configuré séparément. #### Grammaire JSON diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_ListBox.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_ListBox.md index a7bc8b7eed3805..511aa25883e41c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_ListBox.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_ListBox.md @@ -14,7 +14,7 @@ Collection de colonnes de la list box. | ------- | --------------------------- | ------------------------------------------------ | | columns | collection d'objets colonne | Contient les propriétés des colonnes de list box | -For a list of properties supported by column objects, please refer to the [Column Specific Properties](listbox-column.md#column-specific-properties) section. +Pour une liste des propriétés prises en charge par les objets colonnes, veuillez vous référer à la section [Propriétés spécifiques aux colonnes.](listbox-column.md#column-specific-properties). #### Objets pris en charge diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Object.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Object.md index 468250881b9e81..313cb0e3c597b8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Object.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_Object.md @@ -136,14 +136,14 @@ Pour une list box de type tableau, la propriété **Variable ou Expression** con ## Type d’expression -> This property is called [**Data Type**](properties_DataSource.md#data-type-expression-type) in the Property List for [selection](FormObjects/listbox-object.md#selection-list-boxes) and [collection](FormObjects/listbox-object.md#collection-or-entity-selection-list-boxes) type list box columns and for [Drop-down Lists](dropdownList_Overview.md) associated to an [object](FormObjects/dropdownList_Overview.md#using-an-object) or an [array](FormObjects/dropdownList_Overview.md#using-an-array). +> Cette propriété est appelée [**Type de données**](properties_DataSource.md#data-type-expression-type) dans la liste des propriétés des colonnes list box de type [sélection ](FormObjects/listbox-object.md#selection-list-boxes)et [collection](FormObjects/listbox-object.md#collection-or-entity-selection-list-boxes), ainsi que dans les [listes Drop-down](dropdownList_Overview.md) associées à un [objet ](FormObjects/dropdownList_Overview.md#using-an-object) ou à un [tableau](FormObjects/dropdownList_Overview.md#using-an-array). Spécifie le type de données pour l'expression ou la variable associée à l'objet. Notez que l'objectif principal de ce paramètre est de configurer les options (telles que les formats d'affichage) disponibles pour le type de données. Il ne type pas la variable elle-même. En vue d'une compilation de projet, vous devez [déclarer la variable](Concepts/variables.md#declaring-variables). Toutefois, cette propriété a une fonction de typage dans les cas spécifiques suivants : - **[Variables dynamiques](#dynamic-variables)** : Cette propriété permet de déclarer le type des variables dynamiques. -- **[List Box Columns](listbox-column.md)**: this property is used to associate a display format with the column data. Les formats fournis dépendent du type de variable (list box de type tableau) ou du type de données/de champ (list box de type sélection et collection). Les formats 4D standard qui peuvent être utilisés sont les suivants : Alpha, Numérique, Date, Heure, Image et Booléen. Le type Texte n'a pas de format d'affichage spécifique. Tous les formats personnalisés existants sont également disponibles. +- **[Colonnes List Box](listbox-column.md)** : cette propriété est utilisée pour associer un format d'affichage aux données de la colonne. Les formats fournis dépendent du type de variable (list box de type tableau) ou du type de données/de champ (list box de type sélection et collection). Les formats 4D standard qui peuvent être utilisés sont les suivants : Alpha, Numérique, Date, Heure, Image et Booléen. Le type Texte n'a pas de format d'affichage spécifique. Tous les formats personnalisés existants sont également disponibles. - **[Variables image](input_overview.md)** : Ce menu permet de déclarer les variables avant de charger le formulaire en mode interprété. Des mécanismes natifs spécifiques régissent l'affichage des variables image dans les formulaires. Ces mécanismes exigent une plus grande précision dans la configuration des variables : elles doivent avoir été déclarées avant le chargement du formulaire - c'est-à-dire avant même l'événement `On Load` du formulaire - contrairement aux autres types de variables. Pour cela, il faut soit que l'instruction `C_PICTURE(varName)` ait été exécutée avant le chargement du formulaire (typiquement, dans la méthode appelant la commande `DIALOG` ), soit que la variable ait été typée au niveau du formulaire à l'aide de la propriété Type d'expression. Sinon, la variable image ne sera pas affichée correctement (uniquement en mode interprété). #### Grammaire JSON @@ -282,8 +282,8 @@ Par défaut, le libellé est placé au centre de l'objet. Lorsque l'objet contie ## Calcul de la variable -This property sets the type of calculation to be done in a [column footer](./listbox-header-footer.md#footers) area. -> The calculation for footers can also be set using the [`LISTBOX SET FOOTER CALCULATION`](https://doc.4d.com/4dv20/help/command/en/page1140.html) 4D command. +Cette propriété définit le type de calcul à effectuer dans une zone de [pied de colonne](./listbox-header-footer.md#footers). +> Le calcul des pieds peut également être défini à l'aide de la commande 4D [`LISTBOX SET FOOTER CALCULATION`](https://doc.4d.com/4dv20/help/command/en/page1140.html). Il existe plusieurs types de calculs. Le tableau suivant montre quels calculs peuvent être utilisés en fonction du type de données présentes dans chaque colonne et indique le type automatiquement affecté par 4D à la variable de pied de colonne (si elle n'est pas typée par le code) : diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_TextAndPicture.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_TextAndPicture.md index ace3c4c4111307..fea5de3540fab0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_TextAndPicture.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/FormObjects/properties_TextAndPicture.md @@ -149,7 +149,7 @@ Le chemin d'accès à saisir est identique à celui de [la propriété Chemin d' #### Objets pris en charge -[Button](button_overview.md) (all styles except [Help](button_overview.md#help)) - [Check Box](checkbox_overview.md) - [List Box Header](listbox-header-footer.md#headers) - [Radio Button](radio_overview.md) +[Button](button_overview.md) (tous les styles sauf [Help](button_overview.md#help)) - [Check Box](checkbox_overview.md) - [List Box Header](listbox-header-footer.md#headers) - [Radio Button](radio_overview.md) --- diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md index 5767419caf32e6..099246a3d83aea 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md @@ -3115,7 +3115,7 @@ Par défaut, les nouveaux éléments sont remplis par des valeurs **null**. Vous #### Description -The `.reverse()` function returns a new collection with all elements of the original collection in reverse order. Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. +La fonction `.reverse()` retourne une nouvelle collection avec tous les éléments de la collection originale dans l'ordre inverse. Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. > Cette fonction ne modifie pas la collection d'origine. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/Admin/data-collect.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/Admin/data-collect.md index 8677bee9804bf3..fbe2be68780f9e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/Admin/data-collect.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/Admin/data-collect.md @@ -26,11 +26,11 @@ Certaines données sont également collectées à intervalles réguliers. | Data | Type | Notes | | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| appServer | Object | Object containing application server information | -| appServer.hits | Number | Number of requests from internal processes | -| appServer.bytesIn | Number | Bytes received by internal processes | -| appServer.bytesOut | Number | Bytes sent by internal processes | -| appServer.executionTime | Number | CPU execution time for internal processes | +| appServer | Object | Objet contenant des informations sur le serveur d'application | +| appServer.hits | Number | Nombre de requêtes provenant de process internes | +| appServer.bytesIn | Number | Octets reçus par des process internes | +| appServer.bytesOut | Number | Octets envoyés par des process internes | +| appServer.executionTime | Number | Temps d'exécution CPU pour les process internes | | cacheMissBytes | Object | Nombre d'octets manqués dans le cache | | cacheMissCount | Object | Nombre de lectures manquées dans le cache | | cacheReadBytes | Object | Nombre d'octets lus à partir de la mémoire cache | @@ -39,13 +39,13 @@ Certaines données sont également collectées à intervalles réguliers. | connectionSystems | Collection | Système d'exploitation du client sans le numéro de build (entre parenthèses) et nombre de clients qui l'utilisent | | databases[].cacheSize | Number | Taille du cache en octets | | databases[].externalDatastoreOpened | Number | Nombre d'appels à `Open datastore` | -| databases[].id | Number | Database ID | +| databases[].id | Number | ID de la base de données | | databases[].internalDatastoreOpened | Number | Nombre de fois où le datastore est ouvert par un serveur externe | -| databases[].maxConcurrent4DClients | Number | Maximum number of simultaneous 4D Client sessions (using a 4D Client license) over the collection interval | -| databases[].maxConcurrentRestSessions | Number | Maximum number of simultaneous REST sessions over the collection interval | -| databases[].maxConcurrentWebSessions | Number | Maximum number of simultaneous Web sessions (4DACTION and SOAP) over the collection interval | +| databases[].maxConcurrent4DClients | Number | Nombre maximum de sessions 4D Client simultanées (utilisant une licence 4D Client) sur l'intervalle de collecte | +| databases[].maxConcurrentRestSessions | Number | Nombre maximal de sessions REST simultanées sur l'intervalle de collecte | +| databases[].maxConcurrentWebSessions | Number | Nombre maximal de sessions Web simultanées (4DACTION et SOAP) sur l'intervalle de collecte | | databases[].maximum4DClientConnections | Number | Nombre maximal de connexions de 4D Client au serveur | -| databases[].numberOfDistinctClients | Number | Distinct count of client persistent UUID seen over collection interval | +| databases[].numberOfDistinctClients | Number | Nombre distinct d'UUID persistants de clients sur l'intervalle de collecte | | databases[].numberOfFields | Number | Nombre de champs | | databases[].numberOfKeepRecordSyncInfo | Number | Nombre de tables dont l'option "Activer la réplication" est cochée | | databases[].numberOfRecordsMax | Number | Nombre total d'enregistrements | @@ -56,21 +56,21 @@ Certaines données sont également collectées à intervalles réguliers. | databases[].remoteDebuggerVSCodeAttachments | Number | Nombre de rattachements au débogueur distant à partir de VS Code | | databases[].structureHash | Text | | | databases[].uniqueID | Texte (chaîne hachée) | Identifiant unique associé à la base de données (*Hachage par roulement polynomial du nom de la base de données*) | -| databases[].uptime | Number | Time elapsed (in seconds) between two collection events | -| databases[].uuid | Text | Database UUID | +| databases[].uptime | Number | Temps écoulé (en secondes) entre deux événements de collecte | +| databases[].uuid | Text | UUID de la base de données | | databases[].webIPAddressesNumber | Number | Nombre d'adresses IP différentes ayant adressé une requête à 4D Server | -| databases[].webMaxScalableSessions | Number | Maximum number of scalable sessions on the server | +| databases[].webMaxScalableSessions | Number | Nombre maximal de sessions évolutives sur le serveur | | databases[].webScalableSessions | Boolean | Vrai si les sessions évolutives sont activées | | dataSegment1.diskReadBytes | Object | Nombre d'octets lus dans le fichier de données | | dataSegment1.diskReadCount | Object | Nombre de lectures dans le fichier de données | | dataSegment1.diskWriteBytes | Object | Nombre d'octets écrits dans le fichier de données | | dataSegment1.diskWriteCount | Object | Nombre d'écritures dans le fichier de données | | dataSize | Number | Taille du fichier de données en octets | -| dbServer | Object | Object containing DB4D server information | -| dbServer.hits | Number | Number of requests from internal processes | -| dbServer.bytesIn | Number | Bytes received by internal processes | -| dbServer.bytesOut | Number | Bytes sent by internal processes | -| dbServer.executionTime | Number | CPU execution time for internal processes | +| dbServer | Object | Objet contenant des informations sur le serveur DB4D | +| dbServer.hits | Number | Nombre de requêtes provenant de process internes | +| dbServer.bytesIn | Number | Octets reçus par des process internes | +| dbServer.bytesOut | Number | Octets envoyés par des process internes | +| dbServer.executionTime | Number | Temps d'exécution CPU pour les process internes | | encryptedConnections | Boolean | True si les connexions client/serveur sont cryptées | | externalPHP | Boolean | True si le client effectue un appel à `PHP execute` et utilise sa propre version de php | | general.buildNumber | Number | Numéro de build de l'application 4D | @@ -90,7 +90,7 @@ Certaines données sont également collectées à intervalles réguliers. | isEngined | Boolean | True si l'application est fusionnée avec 4D Volume Desktop | | isProjectMode | Boolean | True si l'application est un projet | | LDAPLogin | Number | Nombre d'appels à la fonction `LDAP LOGIN` | -| license.sffPrimaryKey | Number | Server master product number | +| license.sffPrimaryKey | Number | Numéro de produit du serveur principal | | machine.CPU | Text | Nom, type et vitesse du processeur | | machine.memory | Number | Taille de la mémoire (en octets) disponible sur la machine | | machine.numberOfCores | Number | Nombre total de cœurs | @@ -103,13 +103,13 @@ Certaines données sont également collectées à intervalles réguliers. | ODBCLogin | Number | Nombre d'appels à `SQL LOGIN` utilisant ODBC | | phpCall | Number | Nombre d'appels à `PHP execute` | | QueryBySQL | Number | Nombre d'appels à `QUERY BY SQL` | -| restServer | Object | Object containing REST server information | -| restServer.bytesIn | Number | Bytes received by the REST server | -| restServer.bytesOut | Number | Bytes sent by the REST server | -| restServer.hits | Number | Number of hits on the REST server | -| restServer.executionTime | Number | CPU execution time for the REST WEB server | -| soapServer | Object | Object containing SOAP server information | -| soapServer.bytesIn | Number | Bytes received by the SOAP server | +| restServer | Object | Objet contenant des informations sur le serveur REST | +| restServer.bytesIn | Number | Octets reçus par le serveur REST | +| restServer.bytesOut | Number | Octets envoyés par le serveur REST | +| restServer.hits | Number | Nombre de hits du serveur REST | +| restServer.executionTime | Number | Temps d'exécution CPU du serveur WEB REST | +| soapServer | Object | Objet contenant des informations sur le serveur SOAP | +| soapServer.bytesIn | Number | Octets reçus par le serveur SOAP | | soapServer.bytesOut | Number | Bytes sent by the SOAP server | | soapServer.hits | Number | Number of hits on the SOAP server | | soapServer.executionTime | Number | CPU execution time for the SOAP server | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md index 608d76b8b23a15..251fcb5041c578 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md @@ -1,167 +1,168 @@ --- id: async -title: Asynchronous Execution +title: Exécution asynchrone --- -4D supports both **synchronous** and **asynchronous** execution modes, allowing developers to choose the best approach based on performance, responsiveness, and workload distribution. +4D prend en charge les modes d'exécution **synchrone** et **asynchrone**, ce qui permet aux développeurs de choisir la meilleure approche en fonction des performances, de la réactivité et de la répartition de la charge de travail. ## Principes de base -#### Synchronous Execution +#### Exécution synchrone -Synchronous execution follows a **sequential** flow, a step-by-step where each instruction must complete before the next one starts. This means the execution thread is blocked until the operation finishes. +L'exécution synchrone suit un flux **séquentiel**, un pas à pas où chaque instruction doit être terminée avant que la suivante ne commence. Cela signifie que le fil d'exécution est bloqué jusqu'à la fin de l'opération. -Synchronous execution is used when: +L'exécution synchrone est utilisée lorsque : -- Task execution must follow a strict order. -- Performance impact is minimal (e.g., quick operations). -- Running in a single-threaded context where blocking is acceptable. -- Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. +- L'exécution des tâches doit suivre un ordre strict. +- L'impact sur les performances est minime (par exemple, opérations rapides). +- L'exécution s'effectue dans un contexte monotâche où le blocage est acceptable. -#### Asynchronous Execution +L'exécution synchrone bloque l'interface utilisateur et convient mieux aux tâches rapides et ordonnées pour lesquelles le blocage est acceptable. -Asynchronous execution is **event-driven** and allows tasks other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. +#### Exécution asynchrone -Asynchronous execution is used when: +Asynchronous execution is **event-driven** and allows other operations to complete. Elle s'appuie sur des **callbacks**, des **workers** et des **event handlers** pour gérer le flux d'exécution. -- An operation takes a long time (e.g., waiting for a server response). -- Responsiveness is critical (e.g., UI interactions). -- Performing background tasks, network communication, or parallel processing. +L'exécution asynchrone est utilisée pour : -Choosing Between Synchronous and Asynchronous Execution: +- Une opération prend un certain temps (par exemple, attente d'une réponse du serveur). +- La réactivité est essentielle (par exemple, interactions avec l'interface utilisateur). +- Background tasks, network communication, or parallel processing are performed. -| Scenario | Best Approach | -| ------------------------------------------ | ---------------- | -| Quick operations with minimal processing | **Synchronous** | -| Tasks requiring strict execution order | **Synchronous** | -| Long-running background tasks | **Asynchronous** | -| Long-running UI interactions | **Asynchronous** | -| Short-running UI interactions | **Synchronous** | -| High-performance, multi-threaded workloads | **Asynchronous** | +Choisir entre l'exécution synchrone et l'exécution asynchrone : -## Core principles +| Scénario | Meilleure approche | +| --------------------------------------------------------- | ------------------ | +| Opérations rapides avec un minimum de traitement | **Synchrone** | +| Tâches nécessitant un ordre d'exécution strict | **Synchrone** | +| Tâches d'arrière-plan de longue durée | **Asynchrone** | +| Interactions de longue durée avec l'interface utilisateur | **Asynchrone** | +| Interactions de courte durée avec l'interface utilisateur | **Synchrone** | +| Charges de travail multi-tâches, hautes performances | **Asynchrone** | -4D provides built-in **asynchronous execution** capabilities through various classes and commands. These allow background task execution, network communication, and large data processing, while waiting other operations to complete without blocking the current process. +## Principes fondamentaux -The general concept of asynchronous event management in 4D is based on an asynchronous messaging model using **workers** (processes that listen to events) and **callbacks** (functions or formulas automatically invoked when an event occurs). Instead of waiting for a result (synchronous mode), you provide a function that will be automatically called when the desired event occurs. Callbacks can be passed as class functions (recommended) or Formula objects. +4D offre des capacités intégrées d'exécution **asynchrone** par le biais de diverses classes et commandes. Elles permettent l'exécution de tâches en arrière-plan, la communication réseau et le traitement de données volumineuses, tout en attendant que d'autres opérations se terminent sans bloquer le process en cours. -This model is common to [`CALL WORKER`](../commands-legacy/call-worker.md), [`CALL FORM`](../commands-legacy/call-form.md), and [classes that support aynchronous execution](#asynchronous-programming-with-4d-classes). All these commands/classes start an operation that runs in the background. The statement that launches the operation returns immediately, without waiting for the operation to finish. +Le concept général de la gestion asynchrone des événements dans 4D est basé sur un modèle de messagerie asynchrone utilisant des **workers** (process qui écoutent les événements) et des **callbacks** (fonctions ou formules automatiquement invoquées lorsqu'un événement se produit). Au lieu d'attendre un résultat (mode synchrone), vous fournissez une fonction qui sera automatiquement appelée lorsque l'événement souhaité se produira. Les callbacks peuvent être passés sous forme de fonctions de classe (recommandé) ou d'objets Formula. + +Ce modèle est commun à [`CALL WORKER`](../commands-legacy/call-worker.md), [`CALL FORM`](../commands-legacy/call-form.md), et aux [classes qui prennent en charge l'exécution aynchrone](#asynchronous-programming-with-4d-classes). Toutes ces commandes/classes lancent une opération qui s'exécute en arrière-plan. L'instruction qui lance l'opération rend la main immédiatement, sans attendre la fin de l'opération. ### Workers -Asynchronous programming relies on a system of [**workers**](../Develop/processes.md#worker-processes) (worker processes), which allows code to be executed in parallel without blocking the main process. This is particularly useful for long tasks (such as HTTP calls, executing external processes, background processing), while keeping the user interface responsive. +La programmation asynchrone repose sur un système de [**workers**](../Develop/processes.md#worker-processes) (process workers), qui permet d'exécuter du code en parallèle sans bloquer le process principal. Ceci est particulièrement utile pour les tâches longues (telles que les appels HTTP, l'exécution de process externes, le traitement en arrière-plan), tout en gardant l'interface utilisateur réactive. -Using worker processes in asynchronous programming **is mandatory** since "classic" processes automatically terminate their execution when the process method ends, thus using callbacks is not possible. A worker process stays alive and can **listen to events**. +L'utilisation de process workers dans la programmation asynchrone **est obligatoire** puisque les process "classiques" terminent automatiquement leur exécution à la fin de la méthode du process, ce qui ne permet pas d'utiliser des callbacks. Un process worker reste en vie et peut **écouter les événements**. -### Event queue (mailbox) +### File d'attente d'événements (boîte aux lettres) -Each worker (or form window for [`CALL FORM`](../commands-legacy/call-form.md)) has its own message queue. [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md) simply posts a message to this queue. The worker handles messages one by one, in the order they arrive, within its own context. Process variables, current selections, etc. are preserved. +Chaque worker (ou fenêtre de formulaire pour [`CALL FORM`](../commands-legacy/call-form.md)) a sa propre file d'attente de messages. [`CALL WORKER`](../commands-legacy/call-worker.md) ou [`CALL FORM`](../commands-legacy/call-form.md) ajoute simplement un message dans cette file d'attente. Le worker traite les messages un par un, dans l'ordre où ils arrivent, dans son propre contexte. Les variables process, les sélections courantes, etc. sont conservées. -### Bidirectional communication via messages +### Communication bidirectionnelle par messages -The calling process posts a message then the worker executes it. The worker can in turn post a message (via [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). This mechanism replaces the classic return of synchronous calls. +Le process appelant envoie un message, puis le workerl'exécute. Le worker peut à son tour envoyer un message (via [`CALL WORKER`](../commands-legacy/call-worker.md) ou [`CALL FORM`](../commands-legacy/call-form.md)) à l'appelant ou à un autre worker pour notifier un événement (fin de tâche, données reçues, erreur, progression, etc.). Ce mécanisme remplace le retour classique des appels synchrones. -### Event listening +### Écoute d'événements -In event-driven development, it is obvious that some code must be able to listen for incoming events. Events can be generated by the user interface (such as a mouse click on an object or a keyboard key pressed) or by any other interaction such as an http request or the end of another action. For example, when a form is displayed using the `DIALOG` command, user actions can trigger events that your code can process. A click on a button will trigger the code associated to the button. +Dans le cadre d'un développement orienté événements (*event-driven development*), il est évident qu'une partie du code doit être en mesure d'écouter les événements entrants. Les événements peuvent être générés par l'interface utilisateur (comme un clic souris sur un objet ou une touche de clavier enfoncée) ou par toute autre interaction telle qu'une requête http ou la fin d'une autre action. Par exemple, lorsqu'un formulaire est affiché à l'aide de la commande `DIALOG`, les actions de l'utilisateur peuvent déclencher des événements que votre code peut traiter. Un clic sur un bouton déclenche le code associé au bouton. -In the context of asynchronous execution, the following features place your code in listening mode: +Dans le contexte de l'exécution asynchrone, les fonctionnalités suivantes placent votre code en mode d'écoute : -- [`CALL WORKER`](../commands-legacy/call-worker.md) executes the code for which it has been called, then returns to a listening status from where it can be called afterwards. -- [`CALL FORM`](../commands-legacy/call-form.md) opens a form and makes it listen for incoming messages from the event queue. -- a call for a `wait()` listens for `terminate()` or `shutdown()` in a callback from any other instance. +- [`CALL WORKER`](../commands-legacy/call-worker.md) exécute le code pour lequel il a été appelé, puis retourne à un statut d'écoute à partir duquel il peut être appelé par la suite. +- [`CALL FORM`](../commands-legacy/call-form.md) ouvre un formulaire et lui fait écouter les messages entrants de la file d'attente des événements. +- un appel à `wait()` écoute `terminate()` ou `shutdown()` dans un callback depuis n'importe quelle autre instance. -### Event triggering +### Déclenchement d'événements -Events are automatically triggered during the execution flow and passed to your corresponding callbacks. You can force the triggering of events by calling `terminate()` or `shutdown()` during a `wait()`. +Les événements sont automatiquement déclenchés au cours de l'exécution et transmis aux callbacks correspondants. Vous pouvez forcer le déclenchement d'événements en appelant `terminate()` ou `shutdown()` pendant un `wait()`. -### Callback execution context +### Contexte d'exécution du callback -When 4D execute one of your callbacks, it does so in the context of the current process (worker), i.e. if your object is instantiated inside a form, the callback function will be executed in the context of that same form. +Lorsque 4D exécute un de vos callbacks, il le fait dans le contexte du process courant (worker), c'est-à-dire que si votre objet est instancié dans un formulaire, la fonction callback sera exécutée dans le contexte de ce même formulaire. -For callbacks to work properly in fully asynchronous mode, the operation should generally be launched from a worker (via `CALL WORKER`). If launched from a process handling UI, some callbacks may not be called until the UI is listening events. +Pour que les callbacks fonctionnent correctement en mode totalement asynchrone, l'opération doit généralement être lancée depuis un worker (via `CALL WORKER`). S'ils sont lancés à partir d'un process gérant l'interface utilisateur, certains callbacks peuvent ne pas être appelés tant que l'interface utilisateur n'écoute pas les événements. -### Releasing an asynchronous object +### Libération d'un objet asynchrone -In 4D, all objects are released [when no more references](../Concepts/dt_object.md#resources) to them exist in memory. This typically occurs at the end of a method execution for local variables. +En 4D, tout objet est libéré [dès lors qu'il n'y a plus de référence](../Concepts/dt_object.md#resources) à cet objet en mémoire. Cela se produit généralement à la fin de l'exécution d'une méthode pour les variables locales. -For asynchronous classes, an **extra reference** is always maintained by 4D in the process that instantiated the object. This reference is only released when the operation is finished, i.e. after the `onTerminate` event is triggered. This automatic referencing allows your object to survive even if you don't have referenced it specifically in a variable. +Pour les classes asynchrones, une **référence supplémentaire** est toujours maintenue par 4D dans le process qui a instancié l'objet. Cette référence n'est libérée que lorsque l'opération est terminée, c'est-à-dire après le déclenchement de l'événement `onTerminate`. Ce référencement automatique permet à votre objet de survivre même si vous ne l'avez pas référencé spécifiquement dans une variable. -If you want to "force" the release of an object at any moment, use a `.shutdown()` or `terminate()` function; it triggers the onTerminate\` event ànd thus releases the object. +Si vous voulez "forcer" la libération d'un objet à tout moment, utilisez une fonction `.shutdown()` ou `terminate()` ; elle déclenche l'événement onTerminate\` et libère ainsi l'objet. -### Examples illustrating the common concept +### Exemples illustrant le concept commun -| Feature | Async Launch | Callback / Event Handling | +| Fonctionnalité | Lancement asynchrone | Gestion des callbacks et des événements | | ------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | -| CALL WORKER | CALL WORKER("wk"; "MyMethod"; $params) | MyMethod is called with $params | -| CALL FORM | CALL FORM($win; "MyMethod"; $params) | MyMethod is called with $params | +| CALL WORKER | CALL WORKER("wk" ; "MyMethod" ; $params) | MyMethod est appelée avec $params | +| CALL FORM | CALL FORM($win; "MyMethod"; $params) | MyMethod est appelée avec $params | | 4D.SystemWorker | 4D.SystemWorker.new(cmd; $options) | Callbacks: onData, onResponse, onError, onTerminate | -## Asynchronous programming with 4D classes +## Programmation asynchrone avec les classes 4D -Several 4D classes support asynchronous processing: +Plusieurs classes 4D prennent en charge les traitements asynchrones : -- [`HTTPRequest`](../API/HTTPRequestClass.md) – Handles asynchronous HTTP requests and responses. -- [`SystemWorker`](../API/SystemWorkerClass.md) – Executes external processes asynchronously. -- [`TCPConnection`](../API/TCPConnectionClass.md) – Manages TCP client connections with event-driven callbacks. -- [`TCPListener`](../API/TCPListenerClass.md) – Manages TCP server connections. -- [`UDPSocket`](../API/UDPSocketClass.md) – Sends and receives UDP packets. -- [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. -- [`WebSocketServer`](../API/WebSocketServerClass.md) – Manages WebSocket server connections. +- [`HTTPRequest`](../API/HTTPRequestClass.md) - Gère les requêtes et les réponses HTTP asynchrones. +- [`SystemWorker`](../API/SystemWorkerClass.md) - Exécute des process externes de manière asynchrone. +- [`TCPConnection`](../API/TCPConnectionClass.md) - Gère les connexions client TCP avec des callbacks événementiels. +- [`TCPListener`](../API/TCPListenerClass.md) - Gère les connexions au serveur TCP. +- [`UDPSocket`](../API/UDPSocketClass.md) - Envoie et reçoit des paquets UDP. +- [`WebSocket`](../API/WebSocketClass.md) - Gère les connexions des clients WebSocket. +- [`WebSocketServer`](../API/WebSocketServerClass.md) - Gère les connexions serveur WebSocket. -All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asychronously when a *reponse* event is fired. +Toutes ces classes suivent les mêmes règles en matière d'exécution asynchrone. Leur constructeur accepte un paramètre *options* qui est utilisé pour configurer votre objet asynchrone. Il est recommandé que l'objet *options* soit une instance de [classe utilisateur](../Concepts/classes.md) qui possède des fonctions de callback. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. -We recommend the following sequence: +Nous recommandons la séquence suivante : -1. You create the user class where you declare callback functions, for example a `cs.Params` with `onError()` and `onResponse()` functions. -2. You instantiate the user class (in our example using `cs.Params.new()`) that will configure your asynchronous object. -3. You call the constructor of the 4D class (for example `4D.SystemWorker.new()`) and pass the *options* object as parameter. It starts the operations passed immediately without delay. +1. Vous créez la classe utilisateur dans laquelle vous déclarez les fonctions de callback, par exemple `cs.Params` avec les fonctions `onError()` et `onResponse()`. +2. Vous instanciez la classe utilisateur (dans notre exemple en utilisant `cs.Params.new()`) qui configurera votre objet asynchrone. +3. Vous appelez le constructeur de la classe 4D (par exemple `4D.SystemWorker.new()`) et vous passez l'objet *options* en paramètre. Il démarre immédiatement les opérations passées sans délai. -Here is a full example of implementation of an *options* object based upon a user class: +Voici un exemple complet de mise en œuvre d'un objet *options* basé sur une classe utilisateur : ```4d -// asynchronous code creation -var $options:=cs.Params.new(10) //see cs.Params class code below -var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users ";$options) +// création de code asynchrone +var $options:=cs.Params.new(10) //voir le code de la classe cs.Params ci-dessous +var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users " ;$options) -// "Params" class +// Classe "Params" -Class constructor ($timeout : Real) - This.dataType:="text" +Class constructor($timeout : Real) + This.dataType:="text" This.data:="" This.dataError:="" This.timeout:=$timeout Function onResponse($systemWorker : Object) - This._createFile("onResponse"; $systemWorker.response) + This._createFile("onResponse" ; $systemWorker.response) -Function onData($systemWorker : Object; $info : Object) +Function onData($systemWorker : Object ; $info : Object) This.data+=$info.data This._createFile("onData";this.data) -Function onDataError($systemWorker : Object; $info : Object) +Function onDataError($systemWorker : Object ; $info : Object) This.dataError+=$info.data This._createFile("onDataError";this.dataError) Function onTerminate($systemWorker : Object) var $textBody : Text - $textBody:="Response: "+$systemWorker.response - $textBody+="ResponseError: "+$systemWorker.responseError - This._createFile("onTerminate"; $textBody) + $textBody:="Response : "+$systemWorker.response + $textBody+="ResponseError : "+$systemWorker.responseError + This._createFile("onTerminate" ; $textBody) -Function _createFile($title : Text; $textBody : Text) - TEXT TO DOCUMENT(Get 4D folder(Current resources folder)+$title+".txt"; $textBody) +Function _createFile($title : Text ; $textBody : Text) + TEXT TO DOCUMENT(Get 4D folder(Current resources folder)+$title+".txt" ; $textBody) ``` -Note that `onResponse`, `onData`, `onDataError`, and `onTerminate` are functions supported by [`4D.SystemWorker`](../API/SystemWorkerClass.md). +Notez que `onResponse`, `onData`, `onDataError`, et `onTerminate` sont des fonctions prises en charge par [`4D.SystemWorker`](../API/SystemWorkerClass.md). -Once the user class is instantiated; 4D is put in [event listening](#event-listening) mode, in which case 4D can [trigger an event](#event-triggering) that calls the corresponding function in the user class. +Une fois la classe utilisateur instanciée ; 4D est mis en mode [écoute d'événements](#event-listening) auquel cas 4D peut [déclencher un événement](#event-triggering) qui appelle la fonction correspondante dans la classe utilisateur. :::tip -In some cases, you might want to use formulas as property values instead of class functions. Although it is not the best practice, a syntax such as the following is supported: +Dans certains cas, vous pouvez vouloir utiliser des formules comme valeurs de propriété au lieu de fonctions de classe. Bien qu'il ne s'agisse pas la meilleure pratique, une syntaxe telle que la suivante est acceptée : ```4d var $options.onResponse:=Formula(myMethod) @@ -169,23 +170,23 @@ var $options.onResponse:=Formula(myMethod) ::: -## Synchronous execution in asynchronous code +## Exécution synchrone dans du code asynchrone -Even when using modern, asynchronous code, you may need to introduce a degree of synchronous execution. For example, you may want a function to wait for a certain amount of time to get a result. It could be the case with guaranteed fast network connections or system workers. Then, you can enforce synchronous execution using the `wait()` function. +Même lorsque vous utilisez un code moderne et asynchrone, vous pouvez avoir besoin d'introduire un certain degré d'exécution synchrone. Par exemple, vous pouvez souhaiter qu'une fonction attende un certain temps avant d'obtenir un résultat. Cela peut être le cas avec des connexions réseau rapides garanties ou des system workers. Alors, vous pouvez imposer une exécution synchrone en utilisant la fonction `wait()`. -The **`.wait()`** function pauses execution of the current process and puts 4D in [event listening](#event-listening) mode. Keep in mind that it will trigger events received from any sources, not only from the object on which the `wait()` function was called. +La fonction **`.wait()`** met en pause l'exécution du process courant et place 4D en mode [écoute d'événements](#event-listening). Gardez à l'esprit que tout événement reçu de n'importe quelle source sera pris en compte, et pas seulement de l'objet sur lequel la fonction `wait()` a été appelée. -The `wait()` function returns when the `onTerminate` event has been triggered on the object, or when the provided timeout (if any) has expired. Consequently, you can explicitly exit from a `.wait()` by calling `shutdown()` or `terminate()` from within a callback. Otherwise, the `.wait()` is exited when the current operation ends. +La fonction `wait()` rend la main lorsque l'événement `onTerminate` a été déclenché sur l'objet, ou lorsque le délai d'attente fourni (le cas échéant) a expiré. Par conséquent, vous pouvez sortir explicitement d'un `.wait()` en appelant `shutdown()` ou `terminate()` à l'intérieur d'un callback. Sinon, on sort du `.wait()` lorsque l'opération en cours se termine. Exemple : ```4d var $options:=cs.Params.new() -var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users ";$options) -$systemworker.wait(0.5) // Waits for up to 0.5 seconds for get file info +var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users " ;$options) +$systemworker.wait(0.5) // Attend jusqu'à 0,5 secondes pour obtenir des informations sur le fichier. ``` ## Voir également -[Blog post: Launch an external process asynchronously](https://blog.4d.com/launch-an-external-process-asynchronously/)
    -[Asynchronous Call](../aikit/asynchronous-call.md) +[Blog post: Lancer un process externe de manière asynchrone](https://blog.4d.com/launch-an-external-process-asynchronously/)
    +[Appel asynchrone](../aikit/asynchronous-call.md) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WebServer/sessions.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WebServer/sessions.md index 78aa00f410800c..8d0d36fa4b5da8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WebServer/sessions.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WebServer/sessions.md @@ -29,7 +29,7 @@ Les applications Destkop (client/serveur et mono-utilisateur) fournissent égale Les sessions Web sont utilisées par : - les [applications Web](gettingStarted.md) envoyant des requêtes http (y compris les [Web services SOAP](../commands/theme/Web_Services_Server.md) et les requêtes [/4DACTION](../WebServer/httpRequests.md#4daction)), -- calls to the [REST API](../REST/authUsers.md), which are used by [remote datastores](../ORDA/remoteDatastores.md) and [Qodly pages](https://developer.4d.com/qodly/). +- les appels à l'[API REST](../REST/authUsers.md), qui sont effectués par les [datastores distants](../ORDA/remoteDatastores.md) et les [pages Qodly](https://developer.4d.com/qodly/). ## Activation des sessions web {#enabling-web-sessions} @@ -69,7 +69,7 @@ Le nom du cookie peut être obtenu en utilisant la propriété [`.sessionCookieN :::note -Creating a web session for a REST request may require that a license is available, see [this page](../REST/authUsers.md). +La création d'une session web pour une requête REST peut nécessiter qu'une licence soit disponible, consultez [cette page](../REST/authUsers.md). ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-document.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-document.md index 292cb2595b3ea0..bc437a1cdc0222 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-document.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-document.md @@ -103,14 +103,14 @@ Le tableau suivant indique l'*option* disponible par *format* d'export : La propriété wk files vous permet d'[exporter un PDF avec des pièces jointes](https://blog.4d.com/4d-write-pro-export-to-pdf-with-enclosures). Cette propriété doit contenir une collection d'objets décrivant les fichiers à incorporer dans le document final. Chaque objet de la collection peut contenir les propriétés suivantes : -| **Propriété** | **Type** | **Description** | -| ------------- | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| name | Text | Nom de fichier. Facultatif si la propriété *file* est utilisée, auquel cas le nom est déduit par défaut du nom de fichier. Obligatoire si la propriété *data* est utilisée (sauf pour le premier fichier d'un export Factur-X, auquel cas le nom du fichier est automatiquement "factur-x.xml", voir ci-dessous) | -| Description | Text | Optionnel. Si omis, la valeur par défaut du premier fichier d'exportation vers Factur-X est "Factur-X/ZUGFeRD Invoice", sinon il est vide. | -| mimeType | Text | Optionnel. Si omis, la valeur par défaut peut généralement être déduite à partir de l'extension de fichier; sinon, "application/octet-stream" est utilisé. Si cette option est passée, assurez-vous d'utiliser un type mime ISO, sinon le fichier exporté pourrait être invalide. | -| data | Text ou BLOB | Obligatoire si la propriété *file* est manquante | -| file | 4D.File object | Obligatoire si la propriété *data* est manquante, ignorée sinon. | -| relationship | Text | Optionnel. Si omis, la valeur par défaut est "Data". Possible values for Factur-X first file:
    • for BASIC, EN 16931 or EXTENDED profiles: "Alternative", "Source" or "Data" ("Alternative" only for German invoice)
    • for MINIMUM and BASIC WL profiles: "Data" only.
    • for other profiles: "Alternative", "Source" or "Data" (with restrictions perhaps depending on country: see profile specification for more info about other profiles - for instance for RECHNUNG profile only "Alternative" is allowed)
    • for other files (but Factur-X invoice xml file) : "Alternative", "Source", "Data", "Supplement" or "Unspecified"
    • any other value generates an error.
    | +| **Propriété** | **Type** | **Description** | +| ------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| name | Text | Nom de fichier. Facultatif si la propriété *file* est utilisée, auquel cas le nom est déduit par défaut du nom de fichier. Obligatoire si la propriété *data* est utilisée (sauf pour le premier fichier d'un export Factur-X, auquel cas le nom du fichier est automatiquement "factur-x.xml", voir ci-dessous) | +| Description | Text | Optionnel. Si omis, la valeur par défaut du premier fichier d'exportation vers Factur-X est "Factur-X/ZUGFeRD Invoice", sinon il est vide. | +| mimeType | Text | Optionnel. Si omis, la valeur par défaut peut généralement être déduite à partir de l'extension de fichier; sinon, "application/octet-stream" est utilisé. Si cette option est passée, assurez-vous d'utiliser un type mime ISO, sinon le fichier exporté pourrait être invalide. | +| data | Text ou BLOB | Obligatoire si la propriété *file* est manquante | +| file | 4D.File object | Obligatoire si la propriété *data* est manquante, ignorée sinon. | +| relationship | Text | Optionnel. Si omis, la valeur par défaut est "Data". Valeurs possibles pour le premier fichier de Factur-X :
    • pour les profils BASIC, EN 16931 ou EXTENDED : Alternative", "Source" ou "Data" ("Alternative" uniquement pour une facture allemande)
    • pour les profils MINIMUM et BASIC WL : uniquement "Data".
    • pour les autres profils : "Alternative", "Source" ou "Data" (avec des restrictions qui peuvent dépendre du pays : voir la spécification du profil pour plus d'informations sur les autres profils - par exemple, pour le profil RECHNUNG, seul "Alternative" est autorisé).
    • pour les autres fichiers (sauf le fichier xml de la facture Factur-X) : "Alternative", "Source", "Data", "Supplement" ou "Unspecified".
    • toute autre valeur génère une erreur.
    | Si le paramètre *option* contient également une propriété wk factur x, le premier élément de la collection wk files doit être le fichier xml de la facture Factur-X (ZUGFeRD) (voir ci-dessous). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-variable.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-variable.md index 63e09dc3731923..4efca787e359ec 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-variable.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-export-variable.md @@ -160,8 +160,8 @@ Pour exporter la première page d'un 4D Write Pro en SVG dans une variable Texte ## Voir également [4D QPDF (Component) - PDF Get attachments](https://github.com/4d/4D-QPDF) -[Blog post - 4D Write Pro: Electronic invoice generation](https://blog.4d.com/4d-write-pro-electronic-invoice-generation) -[Blog post - 4D Write Pro: Export to PDF with enclosures](https://blog.4d.com/4d-write-pro-export-to-pdf-with-enclosures) -[Exporting to HTML and MIME HTML formats](../user-legacy/exporting-to-html-and-mime-html-formats.md)
    -[Importing and Exporting in .docx format](../user-legacy/importing-and-exporting-in-docx-format.md)
    -[WP EXPORT DOCUMENT](../commands/wp-export-document.md) \ No newline at end of file +[Blog post - 4D Write Pro : Génération de factures électroniques](https://blog.4d.com/fr/4d-write-pro-electronic-invoice-generation) +[Blog post - 4D Write Pro : Export au format PDF avec pièces jointes](https://blog.4d.com/fr/4d-write-pro-export-to-pdf-with-enclosures) +[Exporter aux formats HTML et MIME HTML](../user-legacy/exporting-to-html-and-mime-html-formats.md)
    +[Importer et exporter au format docx](../user-legacy/importing-and-exporting-in-docx-format.md)
    +[WP EXPORT DOCUMENT](../commands/wp-export-document) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-import-document.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-import-document.md index 70bc73d97d7004..3898091e0bde97 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-import-document.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/commands/wp-import-document.md @@ -4,7 +4,7 @@ title: WP Import document displayed_sidebar: docs --- -**WP Import document** ( *filePath* : Text {; *option* : Integer, Object} ) : Object
    **WP Import document** ( *fileObj* : 4D.File {; *option* : Integer, Object} ) : Object +**WP Import document** ( *filePath* : Text { ; *option* : Integer, Object} ) : Object
    **WP Import document** ( *fileObj* : 4D.File { ; *option* : Integer, Object} ) : Object diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/managing-formulas.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/managing-formulas.md index 9c211c1af446cd..ddd2e92aaf5667 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/managing-formulas.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/WritePro/managing-formulas.md @@ -126,21 +126,22 @@ Lorsque la commande [**Current date**](../commands-legacy/current-date.md), une Lorsque la commande [**Current time**](../commands-legacy/current-time.md), une variable heure ou une méthode renvoyant une heure est insérée dans une formule, elle doit être incluse dans une commande [**String**](../commands/string.md) car le type time n'est pas pris en charge en JSON. Examinez les exemples de formules suivants : ```4d - // This code is the best practice + // Bonne pratique $formula1:=Formula(String(Current time)) //OK - // This code will work but is usually not recommended, except after "Edit formula" + // Fonctionnera mais n'est généralement pas recommandé, sauf après "Edit formula" $formula2:=Formula from string("String(Current time)") //OK - // Wrong code because time values would be displayed as a longint for seconds (or milliseconds), not as a time - $formula3:=Formula from string("Current time") //NOT valid - $formula4:=Formula(Current time) //NOT valid + // Code erroné car les valeurs de temps seraient affichées en tant que longint + //pour des secondes (ou millisecondes), pas comme une heure + $formula3:=Formula from string("Current time") //NON valide + $formula4:=Formula(Current time) //NON valide ``` -## Support de la structure virtuelle +## Prise en charge de la structure virtuelle -Table and field expressions inserted in 4D Write Pro documents support the virtual structure definition of the database. La structure virtuelle exposée aux formules est définie par les commandes [**SET FIELD TITLES**](../commands-legacy/set-field-titles.md)(...;\*) et [**SET TABLE TITLES**](../commands-legacy/set-table-titles.md)(...;\*). +Les expressions de tables et de champs insérées dans les documents de 4D Write Pro prennent en charge la définition de structure virtuelle de la base de données. La structure virtuelle exposée aux formules est définie par les commandes [**SET FIELD TITLES**](../commands-legacy/set-field-titles.md)(...;\*) et [**SET TABLE TITLES**](../commands-legacy/set-table-titles.md)(...;\*). Quand une structure virtuelle est définie : @@ -150,7 +151,7 @@ Quand une structure virtuelle est définie : :::note -When a document is displayed in "display expressions" mode, references to tables or fields that do not belong to the virtual structure are displayed with "`?`" characters, for example `[VirtualTableName]?` when the field is not defined in the virtual structure. +Lorsqu'un document est affiché en mode "afficher expressions", les références de tables ou de champs qui n'appartiennent pas à la structure virtuelle sont affichées avec les caractères "`?`", par exemple `[VirtualTableName]?` lorsque le champ n'est pas défini dans la structure virtuelle. ::: @@ -163,23 +164,23 @@ Vous pouvez contrôler comment les formules sont affichées dans vos documents : ### Références ou valeurs -Par défaut, les formules 4D sont affichées sous forme de valeurs. When you insert a 4D formula, 4D Write Pro computes and displays its current value. If you wish to know which formula is used or what is its name, you need to display it as a reference. +Par défaut, les formules 4D sont affichées sous forme de valeurs. Lorsque vous insérez une formule 4D, 4D Write Pro calcule et affiche sa valeur courante. Si vous voulez savoir quelle formule est utilisée ou quel est son nom, vous devez l'afficher comme référence. Pour afficher les formules en tant que références, vous pouvez: -- check the **Show references** option in the Property list (see *Configuring View properties*), or -- use the visibleReferences standard action (see *Dynamic expressions*), or -- use the [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) command with the `wk visible references` selector to **True**. +- cocher l'option **Afficher les références** dans la liste des propriétés (voir *Configuration des propriétés de vue*), ou +- utiliser l'action standard visibleReferences (voir *Expressions dynamiques*), ou +- utiliser la commande [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) avec le sélecteur `wk visible references` à **True**. Les références de formule peuvent être affichées en tant que : - textes sources (par défaut) -- symbols +- symboles - names -### References as source texts (default) +### Références en textes sources (par défaut) -When formulas are displayed as references, by default the source text of the formula appear in your document, with a default gray background (can be customized using the `wk formula highlight` selector). +Lorsque les formules sont affichées en tant que références, le texte source de la formule apparaît par défaut dans votre document, avec un arrière-plan gris (qui peut être personnalisé à l'aide du sélecteur `wk formula highlight`). Par exemple, vous avez inséré la date courante avec un format, la date s'affiche : @@ -189,25 +190,25 @@ Lorsque vous affichez les formules comme références, la **source** de la formu ![](../assets/en/WritePro/wp-formulas2.png) -### Les références comme symboles +### Références en symboles -When formula source texts are displayed in a document, the design could be confusing if you work on sophisticated templates using tables for example, and when formulas are complex: +Lorsque les textes sources des formules sont affichés dans un document, le rendu peut être confus si vous travaillez sur des modèles sophistiqués utilisant des tableaux, par exemple, et si les formules sont complexes : ![](../assets/en/WritePro/wp-formulas3.png) -In this case, you can display formula references as ![](../assets/en/WritePro/wp-formulas.png) symbols, so that the document is more compact: +Dans ce cas, vous pouvez afficher les références des formules sous forme de symboles ![](../assets/en/WritePro/wp-formulas.png), afin de rendre le document plus compact : ![](../assets/en/WritePro/wp-formulas4.png) -Pour afficher les références de formules en tant que symboles, vous pouvez: +Pour afficher les références de formules en tant que symboles, vous pouvez : -- check the **Display formula source as symbol option** in the Property list (see *Configuring View properties*), or -- use the displayFormulaAsSymbol standard action (see *Using 4D Write Pro standard actions*), or -- use the [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) command with the `wk display formula as symbol` selector to **True**. +- cocher l'option **Afficher la source de la formule comme symbole** dans la liste des propriétés (voir *Configuration des propriétés de vue*), ou +- utiliser l'action standard displayFormulaAsSymbol (voir *Utilisation des actions standard de 4D Write Pro*), ou +- utiliser la commande [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) avec le sélecteur `wk display formula as symbol` sur **True**. -### References as names +### Références en noms -You can assign names to formulas, making 4D Write Pro template documents easier to read and understand for end-users. When formulas are displayed as references (and not displayed as symbols) and you have defined a name for a formula, the formula name is displayed. +Vous pouvez attribuer des noms aux formules, ce qui rend les modèles de documents de 4D Write Pro plus faciles à lire et à comprendre pour les utilisateurs. Lorsque les formules sont affichées comme des références (et non comme des symboles) et que vous avez défini un nom pour une formule, le nom de la formule est affiché. Par exemple, les références de formule suivantes sont affichées comme texte source par défaut : @@ -220,7 +221,7 @@ Si vous attribuez des noms de formule, ils sont affichés à la place des textes Pour attribuer un nom à une formule, vous devez utiliser la commande [WP Insert formula](commands/wp-insert-formula.md) avec un paramètre objet. Par exemple : ```4d - //inserts the previous day in the document + //insère le jour précédent dans le document $o:=New object("formula";Formula(Current date-1);"name";"Yesterday") $range:=WP Text range(WPArea;wk start text;wk end text) WP INSERT FORMULA($range;$o;wk append) @@ -231,30 +232,30 @@ Pour attribuer un nom à une formule, vous devez utiliser la commande [WP Insert :::note -Only inline formulas can have a name (formulas for anchored images, break rows, and table datasource formulas cannot have names). +Seules les formules en ligne peuvent avoir un nom (les formules pour les images ancrées, les ruptures et les formules de source de données de tableau ne peuvent pas avoir de nom). ::: -### Formula tips +### Infobulles des formules -Whatever the formula display mode, you can get additional information on formulas through **tips** that are displayed when you hover on formulas. +Quel que soit le mode d'affichage des formule, vous pouvez obtenir des informations supplémentaires sur une formule grâce aux **infobulles** qui s'affichent lorsque vous passez la souris sur la formule. -- When formulas do not have names, tips provide the source text of formulas: +- Lorsque les formules n'ont pas de nom, les infobulles fournissent le texte source des formules : ![](../assets/en/WritePro/wp-formulas7.png) -- When formulas have names but are displayed as values or as symbols, the tip provides the name of formulas: +- Lorsque les formules ont des noms mais sont affichées sous forme de valeurs ou de symboles, l'infobulle fournit le nom des formules : ![](../assets/en/WritePro/wp-formulas8.png) -In this context, you can display the source text of the formula by pressing **Ctrl** (Windows) or **Cmd** (macOS) while hovering on the formula. +Dans ce contexte, vous pouvez afficher le texte source de la formule en appuyant sur **Ctrl** (Windows) ou **Cmd** (macOS) tout en survolant la formule. -- When formulas have names and are displayed as names, no tip is displayed by default. - You can display the source text of the formula by pressing **Ctrl** (Windows) or **Cmd** (macOS) while hovering on the formula: +- Lorsque les formules ont des noms et sont affichées sous forme de noms, aucune infobulle n'est affichée par défaut. + Vous pouvez afficher le texte source de la formule en appuyant sur **Ctrl** (Windows) ou **Cmd** (macOS) tout en survolant la formule : [ ![](../assets/en/WritePro/wp-formulas9.png) #### Voir également -[Download HDI database](http://download.4d.com/Demos/4D_v16/HDI_4DWP_Filter4DExpressions.zip)
    -*Using commands from the Styled Text theme* +[Télécharger le HDI](http://download.4d.com/Demos/4D_v16/HDI_4DWP_Filter4DExpressions.zip)
    +*Utilisation des commandes du thème Styled Text* diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-get.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-get.md index 719a14f865af26..5807fb3b094e84 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-get.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-get.md @@ -51,7 +51,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Par exemple, les chaînes suivantes peuvent être passées : ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Lors des requêtes https, l’autorité du certificat n’est pas vérifiée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-request.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-request.md index 8e29d5753cad37..a981a43024085a 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-request.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-request.md @@ -65,7 +65,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Par exemple, les chaînes suivantes peuvent être passées : ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Lors des requêtes https, l’autorité du certificat n’est pas vérifiée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands/form-load.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands/form-load.md index c8992692d5362e..27c1f607ef85cb 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands/form-load.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands/form-load.md @@ -27,7 +27,7 @@ displayed_sidebar: docs | ------- | ----------------------------------------------- | | 20 | Modifié | | 16 R6 | Modifié | -| 14 | Renamed (OPEN PRINTING FORM) | +| 14 | Renommé (OPEN PRINTING FORM) | | 12 | Created | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3.json b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3.json index b5291571e6e89a..3bc80ad9438473 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3.json +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3.json @@ -20,15 +20,15 @@ "description": "The generated-index page title for category 'Project & IDE' in sidebar 'docs'" }, "sidebar.docs.category.Exploring Projects": { - "message": "Exploring Projects", + "message": "Explorer les projets", "description": "The label for category 'Exploring Projects' in sidebar 'docs'" }, "sidebar.docs.category.Database Structure": { - "message": "Database Structure", + "message": "Structure de la base de données", "description": "The label for category 'Database Structure' in sidebar 'docs'" }, "sidebar.docs.category.Methods & Classes": { - "message": "Methods & Classes", + "message": "Méthodes et classes", "description": "The label for category 'Methods & Classes' in sidebar 'docs'" }, "sidebar.docs.category.Database Methods": { diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/CollectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/CollectionClass.md index e4b818e8f38a03..af6d540820c465 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/CollectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/CollectionClass.md @@ -3107,7 +3107,7 @@ Par défaut, les nouveaux éléments sont remplis par des valeurs **null**. Vous #### Description -The `.reverse()` function returns a new collection with all elements of the original collection in reverse order. Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. +La fonction `.reverse()` retourne une nouvelle collection avec tous les éléments de la collection originale dans l'ordre inverse. Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. > Cette fonction ne modifie pas la collection d'origine. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/IMAPNotifierClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/IMAPNotifierClass.md index 6e67672b35aaa2..03b263360f796e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/IMAPNotifierClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/IMAPNotifierClass.md @@ -3,7 +3,7 @@ id: IMAPNotifierClass title: IMAPNotifier --- -The `IMAPNotifier` class allows you to manage IMAP IDLE notifications for a selected mailbox. +La classe `IMAPNotifier` vous permet de gérer les notifications IMAP IDLE pour une boîte aux lettres sélectionnée.
    Historique @@ -13,22 +13,22 @@ The `IMAPNotifier` class allows you to manage IMAP IDLE notifications for a sele
    -The `IMAPNotifier` class is available from the `4D` class store. +La classe `IMAPNotifier` est disponible dans le class store `4D`. -An `IMAPNotifier` object is associated with an [IMAP transporter](./IMAPTransporterClass.md#imap-transporter-object) and provides access to mailbox notification management. +Un objet `IMAPNotifier` est associé à un [transporteur IMAP](./IMAPTransporterClass.md#imap-transporter-object) et permet de gérer les notifications de boîte aux lettres. -All `IMAPNotifier` class functions are thread-safe. +Toutes les fonctions de la classe `IMAPNotifier` sont thread-safe. :::tip Article de blog lié -[Instant Email Notifications with IMAP Transporter](https://blog.4d.com/instant-email-notifications-with-imap-transporter) +[Notifications instantanées par courrier électronique avec le transporteur IMAP](https://blog.4d.com/instant-email-notifications-with-imap-transporter) ::: ### Exemple ```4d -// Define listener callbacks +// Définir les fonctions callback du listener var $parameter : Object var $transporter : 4D.IMAPTransporter @@ -46,9 +46,9 @@ $transporter.selectBox("INBOX") $transporter.notifier.start() ``` -## IMAPNotifier object +## Objet IMAPNotifier -An IMAPNotifier object provides the following properties and functions: +Un objet IMAPNotifier fournit les propriétés et fonctions suivantes : | | | ------------------------------------------------------------------------------------------------------------------ | @@ -64,15 +64,15 @@ An IMAPNotifier object provides the following properties and functions: -| Paramètres | Type | | Description | -| ---------- | ------------------------------- | --------------------------- | ----------------------- | -| Résultat | 4D.IMAPNotifier | <- | New IMAPNotifier object | +| Paramètres | Type | | Description | +| ---------- | ------------------------------- | --------------------------- | ------------------------- | +| Résultat | 4D.IMAPNotifier | <- | Nouvel objet IMAPNotifier | #### Description -The `4D.IMAPNotifier.new()` function creates a new IMAPNotifier object. +La fonction `4D.IMAPNotifier.new()` crée un nouvel objet IMAPNotifier. @@ -84,7 +84,7 @@ The `4D.IMAPNotifier.new()` function #### Description -The `.isStarted` property indicates whether the notifier is started (`true`) or stopped (`false`). Cette propriété est en **lecture seule**. +La propriété `.isStarted` indique si le notificateur est démarré (`true`) ou arrêté (`false`). Cette propriété est en **lecture seule**. @@ -96,25 +96,25 @@ The `.isStarted` property indicates -| Paramètres | Type | | Description | -| ---------- | ------ | :-------------------------: | ---------------- | -| Résultat | Object | <- | Operation status | +| Paramètres | Type | | Description | +| ---------- | ------ | :-------------------------: | --------------------- | +| Résultat | Object | <- | Statut de l'opération | #### Description -The `.start()` function starts the subscription to server notifications and activates IMAP listener callbacks. +La fonction `.start()` démarre l'abonnement aux notifications du serveur et active les callbacks. -A mailbox must be selected using [`selectBox()`](./IMAPTransporterClass.md#selectbox) before calling `.start()`. +Une boîte aux lettres doit être sélectionnée à l'aide de [`selectBox()`](./IMAPTransporterClass.md#selectbox) avant d'appeler `.start()`. -Callback functions are executed in the worker where `.start()` is called. +Les fonctions de rappel sont exécutées dans le worker où `.start()` est appelé. :::note Notes -- When the notifier is started, other transporter functions (such as `getMail()` or `send()`) are not available. You must call `.stop()` before using these functions, then call `.start()` again to resume notifications. +- Lorsque le notificateur est lancé, les autres fonctions du transporteur (telles que `getMail()` ou `send()`) ne sont pas disponibles. Vous devez appeler `.stop()` avant d'utiliser ces fonctions, puis appeler `.start()` à nouveau pour reprendre les notifications. -- IMAP IDLE notifications indicate that a change has occurred but do not provide updated mailbox data. To refresh the mailbox state, you must stop the notifier, retrieve the updated data (for example using `getMail()`), and then restart it. +- Les notifications IMAP IDLE indiquent qu'un changement s'est produit mais ne fournissent pas de données actualisées sur la boîte aux lettres. Pour actualiser le statut de la boîte aux lettres, vous devez arrêter le notificateur, récupérer les données mises à jour (par exemple à l'aide de `getMail()`), puis le redémarrer. ::: @@ -124,10 +124,10 @@ Callback functions are executed in the worker where `.start()` is called. | ---------- | ------------------------------------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------ | | success | | Boolean | Vrai si l'opération est réussie, sinon Faux | | statusText | | Text | Message du statut retourné par le serveur IMAP, ou dernière erreur retournée dans la pile d'erreurs 4D | -| errors | | Collection | 4D error stack (not returned if a server response is received) | +| errors | | Collection | Pile d'erreur 4D (non retournée si une réponse du serveur est reçue) | | | \[].errcode | Number | Code d'erreur 4D | | | \[].message | Text | Description de l'erreur | -| | \[].componentSignature | Text | Signature of the component that returned the error | +| | \[].componentSignature | Text | Signature du composant qui a renvoyé l'erreur | @@ -139,15 +139,15 @@ Callback functions are executed in the worker where `.start()` is called. -| Paramètres | Type | | Description | -| ---------- | ------ | :-------------------------: | ---------------- | -| Résultat | Object | <- | Operation status | +| Paramètres | Type | | Description | +| ---------- | ------ | :-------------------------: | --------------------- | +| Résultat | Object | <- | Statut de l'opération | #### Description -The `.stop()` function stops the notification subscription. Calling `.stop()` is required before using other transporter functions (such as `getMail()` or `send()`). +La fonction `.stop()` arrête l'abonnement aux notifications. L'appel à `.stop()` est nécessaire avant d'utiliser d'autres fonctions du transporteur (comme `getMail()` ou `send()`). #### Objet retourné @@ -155,10 +155,10 @@ The `.stop()` function stops the notifi | ---------- | ------------------------------------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------ | | success | | Boolean | Vrai si l'opération est réussie, sinon Faux | | statusText | | Text | Message du statut retourné par le serveur IMAP, ou dernière erreur retournée dans la pile d'erreurs 4D | -| errors | | Collection | 4D error stack (not returned if a server response is received) | +| errors | | Collection | Pile d'erreur 4D (non retournée si une réponse du serveur est reçue) | | | \[].errcode | Number | Code d'erreur 4D | | | \[].message | Text | Description de l'erreur | -| | \[].componentSignature | Text | Signature of the component that returned the error | +| | \[].componentSignature | Text | Signature du composant qui a renvoyé l'erreur | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/IMAPTransporterClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/IMAPTransporterClass.md index cca8587ead29ec..ff77506534990b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/IMAPTransporterClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/IMAPTransporterClass.md @@ -1294,9 +1294,9 @@ Pour déplacer tous les messages de la boîte de réception courante : #### Description -The `.notifier` property contains the IMAPNotifier object associated with the transporter. Cette propriété est en **lecture seule**. +La propriété `.notifier` contient l'objet IMAPNotifier associé au transporteur. Cette propriété est en **lecture seule**. -See [IMAPNotifier](./IMAPNotifierClass.md). +Voir [IMAPNotifier](./IMAPNotifierClass.md). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/SessionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/SessionClass.md index 9b5c127bc55889..24b740c22a38f5 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/SessionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/SessionClass.md @@ -10,7 +10,7 @@ Les objets session sont retournés par la commande [`Session`](../commands/sessi - [Sessions évolutives pour applications web avancées](https://blog.4d.com/scalable-sessions-for-advanced-web-applications/) - [Permissions : Inspecter les privilèges de la session pour faciliter le débogage](https://blog.4d.com/permissions-inspect-session-privileges-for-easy-debugging/) - [Générer, partager et utiliser des passcodes à usage unique (OTP) pour les sessions web](https://blog.4d.com/connect-your-web-apps-to-third-party-systems/) -- [Forget server-side wrappers, use 4D Sessions from the client](https://blog.4d.com/forget-server-side-wrappers-use-4d-sessions-from-the-client) +- [Oubliez les wrappers côté serveur, utilisez les sessions 4D à partir du client](https://blog.4d.com/forget-server-side-wrappers-use-4d-sessions-from-the-client) ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/WebServerClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/WebServerClass.md index fbc5ba6b51f2e3..a02a93892b8fe4 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/WebServerClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/API/WebServerClass.md @@ -7,8 +7,8 @@ La classe `WebServer` vous permet de démarrer et de contrôler un serveur web p ### Propriétés -- **Streamable**: no -- **Sharable**: no +- **Streamable** : non +- **Partageable** : non ### Objet Web Server diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Admin/data-collect.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Admin/data-collect.md index 8677bee9804bf3..9a0c9f680e1978 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Admin/data-collect.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Admin/data-collect.md @@ -3,7 +3,7 @@ id: data-collect title: Collecte des données --- -Pour nous aider à améliorer sans cesse nos produits, nous collectons automatiquement des données concernant les statistiques d'utilisation des applications 4D Server. Les données collectées sont transférées sans incidence sur l'expérience utilisateur. Aucune information personnelle n'est collectée. For more information on 4D policy regarding personal data protection, please visit [this page](https://us.4d.com/privacy-policy). +Pour nous aider à améliorer sans cesse nos produits, nous collectons automatiquement des données concernant les statistiques d'utilisation des applications 4D Server. Les données collectées sont transférées sans incidence sur l'expérience utilisateur. Aucune information personnelle n'est collectée. Pour plus d'informations sur la politique de 4D en matière de protection des données personnelles, veuillez consulter [cette page](https://fr.4d.com/politique-de-protection-des-donnees-personnelles). La section ci-dessous explique : @@ -26,11 +26,11 @@ Certaines données sont également collectées à intervalles réguliers. | Data | Type | Notes | | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| appServer | Object | Object containing application server information | -| appServer.hits | Number | Number of requests from internal processes | -| appServer.bytesIn | Number | Bytes received by internal processes | -| appServer.bytesOut | Number | Bytes sent by internal processes | -| appServer.executionTime | Number | CPU execution time for internal processes | +| appServer | Object | Objet contenant des informations sur le serveur d'application | +| appServer.hits | Number | Nombre de requêtes provenant de process internes | +| appServer.bytesIn | Number | Octets reçus par des process internes | +| appServer.bytesOut | Number | Octets envoyés par des process internes | +| appServer.executionTime | Number | Temps d'exécution CPU pour les process internes | | cacheMissBytes | Object | Nombre d'octets manqués dans le cache | | cacheMissCount | Object | Nombre de lectures manquées dans le cache | | cacheReadBytes | Object | Nombre d'octets lus à partir de la mémoire cache | @@ -39,13 +39,13 @@ Certaines données sont également collectées à intervalles réguliers. | connectionSystems | Collection | Système d'exploitation du client sans le numéro de build (entre parenthèses) et nombre de clients qui l'utilisent | | databases[].cacheSize | Number | Taille du cache en octets | | databases[].externalDatastoreOpened | Number | Nombre d'appels à `Open datastore` | -| databases[].id | Number | Database ID | +| databases[].id | Number | ID de la base de données | | databases[].internalDatastoreOpened | Number | Nombre de fois où le datastore est ouvert par un serveur externe | -| databases[].maxConcurrent4DClients | Number | Maximum number of simultaneous 4D Client sessions (using a 4D Client license) over the collection interval | -| databases[].maxConcurrentRestSessions | Number | Maximum number of simultaneous REST sessions over the collection interval | -| databases[].maxConcurrentWebSessions | Number | Maximum number of simultaneous Web sessions (4DACTION and SOAP) over the collection interval | +| databases[].maxConcurrent4DClients | Number | Nombre maximum de sessions 4D Client simultanées (utilisant une licence 4D Client) sur l'intervalle de collecte | +| databases[].maxConcurrentRestSessions | Number | Nombre maximal de sessions REST simultanées sur l'intervalle de collecte | +| databases[].maxConcurrentWebSessions | Number | Nombre maximal de sessions Web simultanées (4DACTION et SOAP) sur l'intervalle de collecte | | databases[].maximum4DClientConnections | Number | Nombre maximal de connexions de 4D Client au serveur | -| databases[].numberOfDistinctClients | Number | Distinct count of client persistent UUID seen over collection interval | +| databases[].numberOfDistinctClients | Number | Nombre distinct d'UUID persistants de clients sur l'intervalle de collecte | | databases[].numberOfFields | Number | Nombre de champs | | databases[].numberOfKeepRecordSyncInfo | Number | Nombre de tables dont l'option "Activer la réplication" est cochée | | databases[].numberOfRecordsMax | Number | Nombre total d'enregistrements | @@ -56,21 +56,21 @@ Certaines données sont également collectées à intervalles réguliers. | databases[].remoteDebuggerVSCodeAttachments | Number | Nombre de rattachements au débogueur distant à partir de VS Code | | databases[].structureHash | Text | | | databases[].uniqueID | Texte (chaîne hachée) | Identifiant unique associé à la base de données (*Hachage par roulement polynomial du nom de la base de données*) | -| databases[].uptime | Number | Time elapsed (in seconds) between two collection events | -| databases[].uuid | Text | Database UUID | +| databases[].uptime | Number | Temps écoulé (en secondes) entre deux événements de collecte | +| databases[].uuid | Text | UUID de la base de données | | databases[].webIPAddressesNumber | Number | Nombre d'adresses IP différentes ayant adressé une requête à 4D Server | -| databases[].webMaxScalableSessions | Number | Maximum number of scalable sessions on the server | +| databases[].webMaxScalableSessions | Number | Nombre maximal de sessions évolutives sur le serveur | | databases[].webScalableSessions | Boolean | Vrai si les sessions évolutives sont activées | | dataSegment1.diskReadBytes | Object | Nombre d'octets lus dans le fichier de données | | dataSegment1.diskReadCount | Object | Nombre de lectures dans le fichier de données | | dataSegment1.diskWriteBytes | Object | Nombre d'octets écrits dans le fichier de données | | dataSegment1.diskWriteCount | Object | Nombre d'écritures dans le fichier de données | | dataSize | Number | Taille du fichier de données en octets | -| dbServer | Object | Object containing DB4D server information | -| dbServer.hits | Number | Number of requests from internal processes | -| dbServer.bytesIn | Number | Bytes received by internal processes | -| dbServer.bytesOut | Number | Bytes sent by internal processes | -| dbServer.executionTime | Number | CPU execution time for internal processes | +| dbServer | Object | Objet contenant des informations sur le serveur DB4D | +| dbServer.hits | Number | Nombre de requêtes provenant de process internes | +| dbServer.bytesIn | Number | Octets reçus par des process internes | +| dbServer.bytesOut | Number | Octets envoyés par des process internes | +| dbServer.executionTime | Number | Temps d'exécution CPU pour les process internes | | encryptedConnections | Boolean | True si les connexions client/serveur sont cryptées | | externalPHP | Boolean | True si le client effectue un appel à `PHP execute` et utilise sa propre version de php | | general.buildNumber | Number | Numéro de build de l'application 4D | @@ -90,7 +90,7 @@ Certaines données sont également collectées à intervalles réguliers. | isEngined | Boolean | True si l'application est fusionnée avec 4D Volume Desktop | | isProjectMode | Boolean | True si l'application est un projet | | LDAPLogin | Number | Nombre d'appels à la fonction `LDAP LOGIN` | -| license.sffPrimaryKey | Number | Server master product number | +| license.sffPrimaryKey | Number | Numéro de produit du serveur principal | | machine.CPU | Text | Nom, type et vitesse du processeur | | machine.memory | Number | Taille de la mémoire (en octets) disponible sur la machine | | machine.numberOfCores | Number | Nombre total de cœurs | @@ -103,13 +103,13 @@ Certaines données sont également collectées à intervalles réguliers. | ODBCLogin | Number | Nombre d'appels à `SQL LOGIN` utilisant ODBC | | phpCall | Number | Nombre d'appels à `PHP execute` | | QueryBySQL | Number | Nombre d'appels à `QUERY BY SQL` | -| restServer | Object | Object containing REST server information | -| restServer.bytesIn | Number | Bytes received by the REST server | -| restServer.bytesOut | Number | Bytes sent by the REST server | -| restServer.hits | Number | Number of hits on the REST server | -| restServer.executionTime | Number | CPU execution time for the REST WEB server | -| soapServer | Object | Object containing SOAP server information | -| soapServer.bytesIn | Number | Bytes received by the SOAP server | +| restServer | Object | Objet contenant des informations sur le serveur REST | +| restServer.bytesIn | Number | Octets reçus par le serveur REST | +| restServer.bytesOut | Number | Octets envoyés par le serveur REST | +| restServer.hits | Number | Nombre de hits du serveur REST | +| restServer.executionTime | Number | Temps d'exécution CPU du serveur WEB REST | +| soapServer | Object | Objet contenant des informations sur le serveur SOAP | +| soapServer.bytesIn | Number | Octets reçus par le serveur SOAP | | soapServer.bytesOut | Number | Bytes sent by the SOAP server | | soapServer.hits | Number | Number of hits on the SOAP server | | soapServer.executionTime | Number | CPU execution time for the SOAP server | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Concepts/classes.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Concepts/classes.md index 8c7ac363763365..0cfedb1cb04490 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Concepts/classes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Concepts/classes.md @@ -930,7 +930,7 @@ The `server` keyword is useless for [ORDA data model functions](../ORDA/ordaClas `server` function parameters and result must be [**streamable**](./dt_object.md#streaming-support). For example, [4D.Datastore](../API/DataStoreClass.md), [File handle](../API/FileHandleClass.md), or [WebServer](../API/WebServerClass.md) are non-streamable classes but [4D.File](../API/FileClass.md) is streamable. -This feature is particularly useful in the context of [remote user sessions](../Desktop/sessions.md#remote-user-sessions), allowing you to implement the business logic in a [session singleton](#shared-or-session-singleton-functions) to share it accross all the processes of the session, thus extending the functionalities of the [`Session`](../commands/session) command. In this case, you might want the relevant business logic to be executed **on the server** so that all the session information is gathered on the server. +Cette fonctionnalité est particulièrement utile dans le cadre des [sessions utilisateur à distance](../Desktop/sessions.md# remote-user-sessions), vous permettant d'implémenter la logique métier dans un [singleton de session](#shared-or-session-singleton-functions) afin de la partager entre tous les processus de la session, étendant ainsi les fonctionnalités de la commande [`Session`](../commands/session). In this case, you might want the relevant business logic to be executed **on the server** so that all the session information is gathered on the server. By default, shared or session singleton functions are executed locally. Adding the `server` keyword in the class function definition makes 4D use the singleton instance on the server. Note that this can result of an instantiation of the singleton on the server if no instance exists yet. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Desktop/clientServer.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Desktop/clientServer.md index 4b19a8bd93e76c..7e466148f4406b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Desktop/clientServer.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Desktop/clientServer.md @@ -131,20 +131,20 @@ In a client/server application, it is important to know where your code will be The following table summarizes where the code is executed by default and how to switch its execution location (if allowed). Note that **local** means that the code will be executed on the machine from where it is actually called. -| Code | Default execution | How to switch | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| [ORDA data model functions](../ORDA/ordaClasses.md) | server | use `local` keyword in function definition | -| ORDA computed attribute functions [`get()`](../ORDA/ordaClasses.md#function-get-attributename), [`set()`](../ORDA/ordaClasses.md#function-set-attributename) | server | use `local` keyword in function definition | -| ORDA computed attribute functions [`query()`](../ORDA/ordaClasses.md#function-query-attributename), [`orderBy()`](../ORDA/ordaClasses.md#function-orderby-attributename) | server | n/a | -| ORDA event functions [(general)](../ORDA/orda-events.md) | server | n/a | -| ORDA event function [`constructor()`](../ORDA/ordaClasses.md#class-constructor-1) | local | n/a | -| ORDA event function [`event touched()`](../ORDA/orda-events.md#function-event-touched) | server | use `local` keyword in function definition | -| [User class functions](../Concepts/classes.md#function) | local | n/a | -| [Shared or session singleton function](../Concepts/classes.md#singleton-classes) | local | use `server` keyword in function definition | -| Trigger | server | n/a | -| Project method called from a client | client | check [**Execute on server** option](../Project/project-method-properties.md#execute-on-server). The code is executed in the twin process of the [user session process](./sessions.md#remote-user-sessions-remote-user-sessions) | -| | | call [`Execute on server`](../commands/execute-on-server) command. The code is executed in the [Stored procedures session](./sessions.md#stored-procedure-sessions-stored-procedure-sessions) | -| Project method called from a stored procedure on the server | server | call [`EXECUTE ON CLIENT`](../commands/execute-on-client) command. The target client must have been [registered](../commands/register-client) | -| Object method | local | n/a | -| Database methods:
    • On Backup Shutdown
    • On Backup Startup
    • On Server Close Connection
    • On Server Open Connection
    • On Server Shutdown
    • On Server Startup
    • On SQL Authentication
    • On Web Authentication
    • On Web Connection
    | server | n/a | -| Database methods:
    • On Startup
    • On Exit
    • On Drop
    | client | n/a | \ No newline at end of file +| Code | Default execution | How to switch | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [ORDA data model functions](../ORDA/ordaClasses.md) | server | use `local` keyword in function definition | +| ORDA computed attribute functions [`get()`](../ORDA/ordaClasses.md#function-get-attributename), [`set()`](../ORDA/ordaClasses.md#function-set-attributename) | server | use `local` keyword in function definition | +| ORDA computed attribute functions [`query()`](../ORDA/ordaClasses.md#function-query-attributename), [`orderBy()`](../ORDA/ordaClasses.md#function-orderby-attributename) | server | n/a | +| ORDA event functions [(general)](../ORDA/orda-events.md) | server | n/a | +| ORDA event function [`constructor()`](../ORDA/ordaClasses.md#class-constructor-1) | local | n/a | +| ORDA event function [`event touched()`](../ORDA/orda-events.md#function-event-touched) | server | use `local` keyword in function definition | +| [User class functions](../Concepts/classes.md#function) | local | n/a | +| [Shared or session singleton function](../Concepts/classes.md#singleton-classes) | local | use `server` keyword in function definition | +| Trigger | server | n/a | +| Project method called from a client | client | check [**Execute on server** option](../Project/project-method-properties.md#execute-on-server). Le code est exécuté dans le processus jumeau du [processus de session utilisateur](./sessions.md#remote-user-sessions-remote-user-sessions) | +| | | call [`Execute on server`](../commands/execute-on-server) command. Le code est exécuté dans la [session de procédures stockées] (./sessions.md#stored-procedure-sessions-stored-procedure-sessions) | +| Project method called from a stored procedure on the server | server | call [`EXECUTE ON CLIENT`](../commands/execute-on-client) command. The target client must have been [registered](../commands/register-client) | +| Object method | local | n/a | +| Database methods:
    • On Backup Shutdown
    • On Backup Startup
    • On Server Close Connection
    • On Server Open Connection
    • On Server Shutdown
    • On Server Startup
    • On SQL Authentication
    • On Web Authentication
    • On Web Connection
    | server | n/a | +| Database methods:
    • On Startup
    • On Exit
    • On Drop
    | client | n/a | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md index 54b7c181fcacff..204958e50284ea 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md @@ -1,167 +1,168 @@ --- id: async -title: Asynchronous Execution +title: Exécution asynchrone --- -4D supports both **synchronous** and **asynchronous** execution modes, allowing developers to choose the best approach based on performance, responsiveness, and workload distribution. +4D prend en charge les modes d'exécution **synchrone** et **asynchrone**, ce qui permet aux développeurs de choisir la meilleure approche en fonction des performances, de la réactivité et de la répartition de la charge de travail. ## Principes de base -#### Synchronous Execution +#### Exécution synchrone -Synchronous execution follows a **sequential** flow, a step-by-step where each instruction must complete before the next one starts. This means the execution thread is blocked until the operation finishes. +L'exécution synchrone suit un flux **séquentiel**, un pas à pas où chaque instruction doit être terminée avant que la suivante ne commence. Cela signifie que le fil d'exécution est bloqué jusqu'à la fin de l'opération. -Synchronous execution is used when: +L'exécution synchrone est utilisée lorsque : -- Task execution must follow a strict order. -- Performance impact is minimal (e.g., quick operations). -- Running in a single-threaded context where blocking is acceptable. -- Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. +- L'exécution des tâches doit suivre un ordre strict. +- L'impact sur les performances est minime (par exemple, opérations rapides). +- L'exécution s'effectue dans un contexte monotâche où le blocage est acceptable. -#### Asynchronous Execution +L'exécution synchrone bloque l'interface utilisateur et convient mieux aux tâches rapides et ordonnées pour lesquelles le blocage est acceptable. -Asynchronous execution is **event-driven** and allows tasks other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. +#### Exécution asynchrone -Asynchronous execution is used when: +Asynchronous execution is **event-driven** and allows other operations to complete. Elle s'appuie sur des **callbacks**, des **workers** et des **event handlers** pour gérer le flux d'exécution. -- An operation takes a long time (e.g., waiting for a server response). -- Responsiveness is critical (e.g., UI interactions). -- Performing background tasks, network communication, or parallel processing. +L'exécution asynchrone est utilisée pour : -Choosing Between Synchronous and Asynchronous Execution: +- Une opération prend un certain temps (par exemple, attente d'une réponse du serveur). +- La réactivité est essentielle (par exemple, interactions avec l'interface utilisateur). +- Background tasks, network communication, or parallel processing are performed. -| Scenario | Best Approach | -| ------------------------------------------ | ---------------- | -| Quick operations with minimal processing | **Synchronous** | -| Tasks requiring strict execution order | **Synchronous** | -| Long-running background tasks | **Asynchronous** | -| Long-running UI interactions | **Asynchronous** | -| Short-running UI interactions | **Synchronous** | -| High-performance, multi-threaded workloads | **Asynchronous** | +Choisir entre l'exécution synchrone et l'exécution asynchrone : -## Core principles +| Scénario | Meilleure approche | +| --------------------------------------------------------- | ------------------ | +| Opérations rapides avec un minimum de traitement | **Synchrone** | +| Tâches nécessitant un ordre d'exécution strict | **Synchrone** | +| Tâches d'arrière-plan de longue durée | **Asynchrone** | +| Interactions de longue durée avec l'interface utilisateur | **Asynchrone** | +| Interactions de courte durée avec l'interface utilisateur | **Synchrone** | +| Charges de travail multi-tâches, hautes performances | **Asynchrone** | -4D provides built-in **asynchronous execution** capabilities through various classes and commands. These allow background task execution, network communication, and large data processing, while waiting other operations to complete without blocking the current process. +## Principes fondamentaux -The general concept of asynchronous event management in 4D is based on an asynchronous messaging model using **workers** (processes that listen to events) and **callbacks** (functions or formulas automatically invoked when an event occurs). Instead of waiting for a result (synchronous mode), you provide a function that will be automatically called when the desired event occurs. Callbacks can be passed as class functions (recommended) or Formula objects. +4D offre des capacités intégrées d'exécution **asynchrone** par le biais de diverses classes et commandes. Elles permettent l'exécution de tâches en arrière-plan, la communication réseau et le traitement de données volumineuses, tout en attendant que d'autres opérations se terminent sans bloquer le process en cours. -This model is common to [`CALL WORKER`](../commands/call-worker), [`CALL FORM`](../commands/call-form), and [classes that support aynchronous execution](#asynchronous-programming-with-4d-classes). All these commands/classes start an operation that runs in the background. The statement that launches the operation returns immediately, without waiting for the operation to finish. +Le concept général de la gestion asynchrone des événements dans 4D est basé sur un modèle de messagerie asynchrone utilisant des **workers** (process qui écoutent les événements) et des **callbacks** (fonctions ou formules automatiquement invoquées lorsqu'un événement se produit). Au lieu d'attendre un résultat (mode synchrone), vous fournissez une fonction qui sera automatiquement appelée lorsque l'événement souhaité se produira. Les callbacks peuvent être passés sous forme de fonctions de classe (recommandé) ou d'objets Formula. + +Ce modèle est commun à [`CALL WORKER`](../commands/call-worker), [`CALL FORM`](../commands/call-form), et aux [classes qui prennent en charge l'exécution aynchrone](#asynchronous-programming-with-4d-classes). Toutes ces commandes/classes lancent une opération qui s'exécute en arrière-plan. L'instruction qui lance l'opération rend la main immédiatement, sans attendre la fin de l'opération. ### Workers -Asynchronous programming relies on a system of [**workers**](../Develop/processes.md#worker-processes) (worker processes), which allows code to be executed in parallel without blocking the main process. This is particularly useful for long tasks (such as HTTP calls, executing external processes, background processing), while keeping the user interface responsive. +La programmation asynchrone repose sur un système de [**workers**](../Develop/processes.md#worker-processes) (process workers), qui permet d'exécuter du code en parallèle sans bloquer le process principal. Ceci est particulièrement utile pour les tâches longues (telles que les appels HTTP, l'exécution de process externes, le traitement en arrière-plan), tout en gardant l'interface utilisateur réactive. -Using worker processes in asynchronous programming **is mandatory** since "classic" processes automatically terminate their execution when the process method ends, thus using callbacks is not possible. A worker process stays alive and can **listen to events**. +L'utilisation de process workers dans la programmation asynchrone **est obligatoire** puisque les process "classiques" terminent automatiquement leur exécution à la fin de la méthode du process, ce qui ne permet pas d'utiliser des callbacks. Un process worker reste en vie et peut **écouter les événements**. -### Event queue (mailbox) +### File d'attente d'événements (boîte aux lettres) -Each worker (or form window for [`CALL FORM`](../commands/call-form)) has its own message queue. [`CALL WORKER`](../commands/call-worker) or [`CALL FORM`](../commands/call-form) simply posts a message to this queue. The worker handles messages one by one, in the order they arrive, within its own context. Process variables, current selections, etc. are preserved. +Chaque worker (ou fenêtre de formulaire pour [`CALL FORM`](../commands/call-form)) a sa propre file d'attente de messages. [`CALL WORKER`](../commands/call-worker) ou [`CALL FORM`](../commands/call-form) ajoute simplement un message dans cette file d'attente. Le worker traite les messages un par un, dans l'ordre où ils arrivent, dans son propre contexte. Les variables process, les sélections courantes, etc. sont conservées. -### Bidirectional communication via messages +### Communication bidirectionnelle par messages -The calling process posts a message then the worker executes it. The worker can in turn post a message (via [`CALL WORKER`](../commands/call-worker) or [`CALL FORM`](../commands/call-form)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). This mechanism replaces the classic return of synchronous calls. +Le process appelant envoie un message, puis le workerl'exécute. Le worker peut à son tour renvoyer un message (via [`CALL WORKER`](../commands/call-worker) ou [`CALL FORM`](../commands/call-form)) à l'appelant ou à un autre worker pour notifier un événement (fin de tâche, données reçues, erreur, progression, etc.). Ce mécanisme remplace le retour classique des appels synchrones. -### Event listening +### Écoute d'événements -In event-driven development, it is obvious that some code must be able to listen for incoming events. Events can be generated by the user interface (such as a mouse click on an object or a keyboard key pressed) or by any other interaction such as an http request or the end of another action. For example, when a form is displayed using the `DIALOG` command, user actions can trigger events that your code can process. A click on a button will trigger the code associated to the button. +Dans le cadre d'un développement orienté événements (*event-driven development*), il est évident qu'une partie du code doit être en mesure d'écouter les événements entrants. Les événements peuvent être générés par l'interface utilisateur (comme un clic souris sur un objet ou une touche de clavier enfoncée) ou par toute autre interaction telle qu'une requête http ou la fin d'une autre action. Par exemple, lorsqu'un formulaire est affiché à l'aide de la commande `DIALOG`, les actions de l'utilisateur peuvent déclencher des événements que votre code peut traiter. Un clic sur un bouton déclenche le code associé au bouton. -In the context of asynchronous execution, the following features place your code in listening mode: +Dans le contexte de l'exécution asynchrone, les fonctionnalités suivantes placent votre code en mode d'écoute : -- [`CALL WORKER`](../commands/call-worker) executes the code for which it has been called, then returns to a listening status from where it can be called afterwards. -- [`CALL FORM`](../commands/call-form) opens a form and makes it listen for incoming messages from the event queue. -- a call for a `wait()` listens for `terminate()` or `shutdown()` in a callback from any other instance. +- [`CALL WORKER`](../commands/call-worker) exécute le code pour lequel il a été appelé, puis retourne à un statut d'écoute à partir duquel il peut être appelé par la suite. +- [`CALL FORM`](../commands/call-form) ouvre un formulaire et lui fait écouter les messages entrants de la file d'attente des événements. +- un appel à `wait()` écoute `terminate()` ou `shutdown()` dans un callback depuis n'importe quelle autre instance. -### Event triggering +### Déclenchement d'événements -Events are automatically triggered during the execution flow and passed to your corresponding callbacks. You can force the triggering of events by calling `terminate()` or `shutdown()` during a `wait()`. +Les événements sont automatiquement déclenchés au cours de l'exécution et transmis aux callbacks correspondants. Vous pouvez forcer le déclenchement d'événements en appelant `terminate()` ou `shutdown()` pendant un `wait()`. -### Callback execution context +### Contexte d'exécution du callback -When 4D execute one of your callbacks, it does so in the context of the current process (worker), i.e. if your object is instantiated inside a form, the callback function will be executed in the context of that same form. +Lorsque 4D exécute un de vos callbacks, il le fait dans le contexte du process courant (worker), c'est-à-dire que si votre objet est instancié dans un formulaire, la fonction callback sera exécutée dans le contexte de ce même formulaire. -For callbacks to work properly in fully asynchronous mode, the operation should generally be launched from a worker (via `CALL WORKER`). If launched from a process handling UI, some callbacks may not be called until the UI is listening events. +Pour que les callbacks fonctionnent correctement en mode totalement asynchrone, l'opération doit généralement être lancée depuis un worker (via `CALL WORKER`). S'ils sont lancés à partir d'un process gérant l'interface utilisateur, certains callbacks peuvent ne pas être appelés tant que l'interface utilisateur n'écoute pas les événements. -### Releasing an asynchronous object +### Libération d'un objet asynchrone -In 4D, all objects are released [when no more references](../Concepts/dt_object.md#resources) to them exist in memory. This typically occurs at the end of a method execution for local variables. +En 4D, tout objet est libéré [dès lors qu'il n'y a plus de référence](../Concepts/dt_object.md#resources) à cet objet en mémoire. Cela se produit généralement à la fin de l'exécution d'une méthode pour les variables locales. -For asynchronous classes, an **extra reference** is always maintained by 4D in the process that instantiated the object. This reference is only released when the operation is finished, i.e. after the `onTerminate` event is triggered. This automatic referencing allows your object to survive even if you don't have referenced it specifically in a variable. +Pour les classes asynchrones, une **référence supplémentaire** est toujours maintenue par 4D dans le process qui a instancié l'objet. Cette référence n'est libérée que lorsque l'opération est terminée, c'est-à-dire après le déclenchement de l'événement `onTerminate`. Ce référencement automatique permet à votre objet de survivre même si vous ne l'avez pas référencé spécifiquement dans une variable. -If you want to "force" the release of an object at any moment, use a `.shutdown()` or `terminate()` function; it triggers the onTerminate\` event ànd thus releases the object. +Si vous voulez "forcer" la libération d'un objet à tout moment, utilisez une fonction `.shutdown()` ou `terminate()` ; elle déclenche l'événement onTerminate\` et libère ainsi l'objet. -### Examples illustrating the common concept +### Exemples illustrant le concept commun -| Feature | Async Launch | Callback / Event Handling | +| Fonctionnalité | Lancement asynchrone | Gestion des callbacks et des événements | | ------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | -| CALL WORKER | CALL WORKER("wk"; "MyMethod"; $params) | MyMethod is called with $params | -| CALL FORM | CALL FORM($win; "MyMethod"; $params) | MyMethod is called with $params | +| CALL WORKER | CALL WORKER("wk" ; "MyMethod" ; $params) | MyMethod est appelée avec $params | +| CALL FORM | CALL FORM($win; "MyMethod"; $params) | MyMethod est appelée avec $params | | 4D.SystemWorker | 4D.SystemWorker.new(cmd; $options) | Callbacks: onData, onResponse, onError, onTerminate | -## Asynchronous programming with 4D classes +## Programmation asynchrone avec les classes 4D -Several 4D classes support asynchronous processing: +Plusieurs classes 4D prennent en charge les traitements asynchrones : -- [`HTTPRequest`](../API/HTTPRequestClass.md) – Handles asynchronous HTTP requests and responses. -- [`SystemWorker`](../API/SystemWorkerClass.md) – Executes external processes asynchronously. -- [`TCPConnection`](../API/TCPConnectionClass.md) – Manages TCP client connections with event-driven callbacks. -- [`TCPListener`](../API/TCPListenerClass.md) – Manages TCP server connections. -- [`UDPSocket`](../API/UDPSocketClass.md) – Sends and receives UDP packets. -- [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. -- [`WebSocketServer`](../API/WebSocketServerClass.md) – Manages WebSocket server connections. +- [`HTTPRequest`](../API/HTTPRequestClass.md) - Gère les requêtes et les réponses HTTP asynchrones. +- [`SystemWorker`](../API/SystemWorkerClass.md) - Exécute des process externes de manière asynchrone. +- [`TCPConnection`](../API/TCPConnectionClass.md) - Gère les connexions client TCP avec des callbacks événementiels. +- [`TCPListener`](../API/TCPListenerClass.md) - Gère les connexions au serveur TCP. +- [`UDPSocket`](../API/UDPSocketClass.md) - Envoie et reçoit des paquets UDP. +- [`WebSocket`](../API/WebSocketClass.md) - Gère les connexions des clients WebSocket. +- [`WebSocketServer`](../API/WebSocketServerClass.md) - Gère les connexions serveur WebSocket. -All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asychronously when a *reponse* event is fired. +Toutes ces classes suivent les mêmes règles en matière d'exécution asynchrone. Leur constructeur accepte un paramètre *options* qui est utilisé pour configurer votre objet asynchrone. Il est recommandé que l'objet *options* soit une instance de [classe utilisateur](../Concepts/classes.md) qui possède des fonctions de callback. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. -We recommend the following sequence: +Nous recommandons la séquence suivante : -1. You create the user class where you declare callback functions, for example a `cs.Params` with `onError()` and `onResponse()` functions. -2. You instantiate the user class (in our example using `cs.Params.new()`) that will configure your asynchronous object. -3. You call the constructor of the 4D class (for example `4D.SystemWorker.new()`) and pass the *options* object as parameter. It starts the operations passed immediately without delay. +1. Vous créez la classe utilisateur dans laquelle vous déclarez les fonctions de callback, par exemple `cs.Params` avec les fonctions `onError()` et `onResponse()`. +2. Vous instanciez la classe utilisateur (dans notre exemple en utilisant `cs.Params.new()`) qui configurera votre objet asynchrone. +3. Vous appelez le constructeur de la classe 4D (par exemple `4D.SystemWorker.new()`) et vous passez l'objet *options* en paramètre. Il démarre immédiatement les opérations passées sans délai. -Here is a full example of implementation of an *options* object based upon a user class: +Voici un exemple complet de mise en œuvre d'un objet *options* basé sur une classe utilisateur : ```4d -// asynchronous code creation -var $options:=cs.Params.new(10) //see cs.Params class code below -var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users ";$options) +// création de code asynchrone +var $options:=cs.Params.new(10) //voir le code de la classe cs.Params ci-dessous +var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users " ;$options) -// "Params" class +// Classe "Params" -Class constructor ($timeout : Real) - This.dataType:="text" +Class constructor($timeout : Real) + This.dataType:="text" This.data:="" This.dataError:="" This.timeout:=$timeout Function onResponse($systemWorker : Object) - This._createFile("onResponse"; $systemWorker.response) + This._createFile("onResponse" ; $systemWorker.response) -Function onData($systemWorker : Object; $info : Object) +Function onData($systemWorker : Object ; $info : Object) This.data+=$info.data This._createFile("onData";this.data) -Function onDataError($systemWorker : Object; $info : Object) +Function onDataError($systemWorker : Object ; $info : Object) This.dataError+=$info.data This._createFile("onDataError";this.dataError) Function onTerminate($systemWorker : Object) var $textBody : Text - $textBody:="Response: "+$systemWorker.response - $textBody+="ResponseError: "+$systemWorker.responseError - This._createFile("onTerminate"; $textBody) + $textBody:="Response : "+$systemWorker.response + $textBody+="ResponseError : "+$systemWorker.responseError + This._createFile("onTerminate" ; $textBody) -Function _createFile($title : Text; $textBody : Text) - TEXT TO DOCUMENT(Get 4D folder(Current resources folder)+$title+".txt"; $textBody) +Function _createFile($title : Text ; $textBody : Text) + TEXT TO DOCUMENT(Get 4D folder(Current resources folder)+$title+".txt" ; $textBody) ``` -Note that `onResponse`, `onData`, `onDataError`, and `onTerminate` are functions supported by [`4D.SystemWorker`](../API/SystemWorkerClass.md). +Notez que `onResponse`, `onData`, `onDataError`, et `onTerminate` sont des fonctions prises en charge par [`4D.SystemWorker`](../API/SystemWorkerClass.md). -Once the user class is instantiated; 4D is put in [event listening](#event-listening) mode, in which case 4D can [trigger an event](#event-triggering) that calls the corresponding function in the user class. +Une fois la classe utilisateur instanciée ; 4D est mis en mode [écoute d'événements](#event-listening) auquel cas 4D peut [déclencher un événement](#event-triggering) qui appelle la fonction correspondante dans la classe utilisateur. :::tip -In some cases, you might want to use formulas as property values instead of class functions. Although it is not the best practice, a syntax such as the following is supported: +Dans certains cas, vous pouvez vouloir utiliser des formules comme valeurs de propriété au lieu de fonctions de classe. Bien qu'il ne s'agisse pas la meilleure pratique, une syntaxe telle que la suivante est acceptée : ```4d var $options.onResponse:=Formula(myMethod) @@ -169,24 +170,24 @@ var $options.onResponse:=Formula(myMethod) ::: -## Synchronous execution in asynchronous code +## Exécution synchrone dans du code asynchrone -Even when using modern, asynchronous code, you may need to introduce a degree of synchronous execution. For example, you may want a function to wait for a certain amount of time to get a result. It could be the case with guaranteed fast network connections or system workers. Then, you can enforce synchronous execution using the `wait()` function. +Même lorsque vous utilisez un code moderne et asynchrone, vous pouvez avoir besoin d'introduire un certain degré d'exécution synchrone. Par exemple, vous pouvez souhaiter qu'une fonction attende un certain temps avant d'obtenir un résultat. Cela peut être le cas avec des connexions réseau rapides garanties ou des system workers. Alors, vous pouvez imposer une exécution synchrone en utilisant la fonction `wait()`. -The **`.wait()`** function pauses execution of the current process and puts 4D in [event listening](#event-listening) mode. Keep in mind that it will trigger events received from any sources, not only from the object on which the `wait()` function was called. +La fonction **`.wait()`** met en pause l'exécution du process courant et place 4D en mode [écoute d'événements](#event-listening). Gardez à l'esprit que tout événement reçu de n'importe quelle source sera pris en compte, et pas seulement de l'objet sur lequel la fonction `wait()` a été appelée. -The `wait()` function returns when the `onTerminate` event has been triggered on the object, or when the provided timeout (if any) has expired. Consequently, you can explicitly exit from a `.wait()` by calling `shutdown()` or `terminate()` from within a callback. Otherwise, the `.wait()` is exited when the current operation ends. +La fonction `wait()` rend la main lorsque l'événement `onTerminate` a été déclenché sur l'objet, ou lorsque le délai d'attente fourni (le cas échéant) a expiré. Par conséquent, vous pouvez sortir explicitement d'un `.wait()` en appelant `shutdown()` ou `terminate()` à l'intérieur d'un callback. Sinon, on sort du `.wait()` lorsque l'opération en cours se termine. Exemple : ```4d var $options:=cs.Params.new() -var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users ";$options) -$systemworker.wait(0.5) // Waits for up to 0.5 seconds for get file info +var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users " ;$options) +$systemworker.wait(0.5) // Attend jusqu'à 0,5 secondes pour obtenir des informations sur le fichier. ``` ## Voir également -[Blog post: Launch an external process asynchronously](https://blog.4d.com/launch-an-external-process-asynchronously/)
    -[Asynchronous Call](../aikit/asynchronous-call.md) +[Blog post: Lancer un process externe de manière asynchrone](https://blog.4d.com/launch-an-external-process-asynchronously/)
    +[Appel asynchrone](../aikit/asynchronous-call.md) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Notes/updates.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Notes/updates.md index dffb574a6c1282..8ddf67afc744d5 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Notes/updates.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Notes/updates.md @@ -5,7 +5,7 @@ title: Release Notes ## 4D 21 R3 -Read [**What’s new in 4D 21 R3**](https://blog.4d.com/whats-new-in-4d-21-r3/), the blog post that lists all new features and enhancements in 4D 21 R3. +Lisez [**Les nouveautés de 4D 21 R3**](https://blog.4d.com/fr/whats-new-in-4d-21-r3), l'article de blog qui liste toutes les nouvelles fonctionnalités et améliorations de 4D 21 R3. #### Points forts @@ -32,8 +32,8 @@ Read [**What’s new in 4D 21 R3**](https://blog.4d.com/whats-new-in-4d-21-r3/), - La commande [`JSON Validate`](../commands/json-validate) prend maintenant en compte la clé *$schema* et génère une erreur si une version non prise en charge est déclarée dans le schéma. - Pour plus de clarté, les objets formules sont désormais des instances d'une nouvelle classe [`4D.Formula`](../API/FormulaClass.md) qui hérite de la classe générique [`4D.Function`](../API/FunctionClass.md). - Dans 4D 21 R3, de nouvelles améliorations du [Code Live Checker](../code-editor/write-class-method.md#warnings-and-errors) s'appliquent aux commandes du langage (voir [cet article de blog](https://blog.4d.com/enhancement-of-command-syntax-checking-in-the-editor)). Il est possible que des erreurs de syntaxe qui n'étaient pas détectées auparavant soient désormais signalées dans votre code. -- La page "PHP" a été supprimée de la [boîte de dialogue des Propriétés](../settings/overview.md). Use the [PHP selectors with the `SET DATABASE PARAMETER`](../commands/set-database-parameter#php-interpreter-ip-address-55) command to configure a PHP interpreter. -- The **Legacy** network layer is no longer supported. Les projets et les bases de données binaires qui utilisaient l'ancienne couche réseau sont automatiquement configurés en [**ServerNet**](../settings/client-server.md#network-layer) lors de la mise à niveau vers 4D 21 R3 et versions ultérieures. +- La page "PHP" a été supprimée de la [boîte de dialogue des Propriétés](../settings/overview.md). Utilisez les [sélecteurs PHP de la commande `SET DATABASE PARAMETER`](../commands/set-database-parameter#php-interpreter-ip-address-55) pour configurer un interpréteur PHP. +- L'ancienne couche réseau **Legacy** n'est plus prise en charge. Les projets et les bases de données binaires qui utilisaient l'ancienne couche réseau sont automatiquement configurés en [**ServerNet**](../settings/client-server.md#network-layer) lors de la mise à niveau vers 4D 21 R3 et versions ultérieures. ## 4D 21 R2 diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Project/components.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Project/components.md index 6b140522aa2eae..7bb92a7644d2e0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Project/components.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/Project/components.md @@ -524,7 +524,7 @@ Once the connection is established, an icon ![dependency-gitlogo](../assets/en/P :::note -If the component is stored on a [private repository](#private-repositories) and your personal token is missing, an error message is displayed and a **Add a personal access token...** button is displayed (see [Providing your access token](#providing-your-access-token)). +Si le composant est stocké dans un [référentiel privé](#private-repositories) et que votre jeton personnel est manquant, un message d'erreur s'affiche et un bouton **Ajouter un jeton d'accès personnel...** apparaît (voir [Fournir votre jeton d'accès](#providing-your-access-token)). ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WebServer/sessions.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WebServer/sessions.md index bccf4e166134cf..4f17a06efd7161 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WebServer/sessions.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WebServer/sessions.md @@ -29,7 +29,7 @@ Les applications Destkop (client/serveur et mono-utilisateur) fournissent égale Les sessions Web sont utilisées par : - les [applications Web](gettingStarted.md) envoyant des requêtes http (y compris les [Web services SOAP](../commands/theme/Web_Services_Server) et les requêtes [/4DACTION](../WebServer/httpRequests.md#4daction)), -- calls to the [REST API](../REST/authUsers.md), which are used by [remote datastores](../ORDA/remoteDatastores.md) and [Qodly pages](https://developer.4d.com/qodly/). +- les appels à l'[API REST](../REST/authUsers.md), qui sont effectués par les [datastores distants](../ORDA/remoteDatastores.md) et les [pages Qodly](https://developer.4d.com/qodly/). ## Activation des sessions web {#enabling-web-sessions} @@ -69,7 +69,7 @@ Le nom du cookie peut être obtenu en utilisant la propriété [`.sessionCookieN :::note -Creating a web session for a REST request may require that a license is available, see [this page](../REST/authUsers.md). +La création d'une session web pour une requête REST peut nécessiter qu'une licence soit disponible, consultez [cette page](../REST/authUsers.md). ::: @@ -221,7 +221,7 @@ Dans 4D, les tokens de session OTP sont utiles pour appeler des URL externes et :::info -Session tokens can also be created from [remote user sessions](../Desktop/sessions.md) and shared with web sessions to implement desktop applications that use web-based interfaces. See [Sharing a remote session for web accesses](../Desktop/sessions.md#sharing-a-remote-session-for-web-accesses). +Les tokens de session peuvent également être créés à partir de [sessions utilisateur distantes](../Desktop/sessions.md) et partagés avec des sessions web pour mettre en œuvre des applications desktop qui utilisent des interfaces basées sur le web. Voir [Partager une session distante pour les accès web](../Desktop/sessions.md#sharing-a-remote-session-for-web-accesses). ::: @@ -481,7 +481,7 @@ Un nouvel utilisateur est créé et des informations sont stockées dans la sess - Les schémas HTTP et HTTPS sont tous deux pris en charge. - Seules des [sessions évolutives](#enabling-web-sessions) peuvent être réutilisées avec des tokens. - Seules les sessions de la base de données hôte peuvent être réutilisées (les sessions créées dans les serveurs web des composants ne peuvent pas être restaurées). -- Tokens can be **shared** with [remote user sessions](../Desktop/sessions.md#sharing-a-remote-session-for-web-accesses) for hybrid accesses (desktop and web). +- Les tokens peuvent être **partagés** avec des [sessions utilisateur distantes](../Desktop/sessions.md#sharing-a-remote-session-for-web-accesses) pour les accès hybrides (desktop et web). ### Durée de vie diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/command-index.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/command-index.md index c49543217865f3..3dbe2a5be0be77 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/command-index.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/command-index.md @@ -23,15 +23,15 @@ title: Commandes 4D Write Pro [`WP DELETE FOOTER`](../commands/wp-delete-footer)
    [`WP DELETE HEADER`](../commands/wp-delete-header)
    [`WP DELETE PICTURE`](../commands/wp-delete-picture)
    -[`WP DELETE SECTION`](../commands/wp-delete-section) ***New 4D 20 R7***
    -[`WP DELETE STYLE SHEET`](../commands/wp-delete-style-sheet) ***Modified 4D 21 R3***
    -[`WP DELETE SUBSECTION`](../commands/wp-delete-subsection) ***Modified 4D 20 R7***
    +[`WP DELETE SECTION`](../commands/wp-delete-section) ***Nouveau 4D 20 R7***
    +[`WP DELETE STYLE SHEET`](../commands/wp-delete-style-sheet) ***Modifié 4D 21 R3***
    +[`WP DELETE SUBSECTION`](../commands/wp-delete-subsection) ***Modifié 4D 20 R7***
    [`WP DELETE TEXT BOX`](../commands/wp-delete-text-box) E -[`WP EXPORT DOCUMENT`](../commands/wp-export-document) **Modified 4D 20 R9**
    -[`WP EXPORT VARIABLE`](../commands/wp-export-variable) **Modified 4D 20 R9** +[`WP EXPORT DOCUMENT`](../commands/wp-export-document) **Modifié 4D 20 R9**
    +[`WP EXPORT VARIABLE`](../commands/wp-export-variable) **Modifié 4D 20 R9** F @@ -42,7 +42,7 @@ title: Commandes 4D Write Pro G -[`WP GET ATTRIBUTES`](../commands/wp-get-attributes) ***Modified 4D 20 R8***
    +[`WP GET ATTRIBUTES`](../commands/wp-get-attributes) ***Modifié 4D 20 R8***
    [`WP Get body`](../commands/wp-get-body)
    [`WP GET BOOKMARKS`](../commands/wp-get-bookmarks)
    [`WP Get breaks`](../commands/wp-get-breaks)
    @@ -58,7 +58,7 @@ title: Commandes 4D Write Pro [`WP Get position`](../commands/wp-get-position)
    [`WP Get section`](../commands/wp-get-section)
    [`WP Get sections`](../commands/wp-get-sections)
    -[`WP Get style sheet`](../commands/wp-get-style-sheet) ***Modified 4D 21 R3***
    +[`WP Get style sheet`](../commands/wp-get-style-sheet) ***Modifié 4D 21 R3***
    [`WP Get style sheets`](../commands/wp-get-style-sheets)
    [`WP Get subsection`](../commands/wp-get-subsection)
    [`WP Get text`](../commands/wp-get-text)
    @@ -66,12 +66,12 @@ title: Commandes 4D Write Pro I -[`WP Import document`](../commands/wp-import-document) ***Modified 4D 20 R8***
    +[`WP Import document`](../commands/wp-import-document) ***Modifié 4D 20 R8***
    [`WP IMPORT STYLE SHEETS`](../commands/wp-import-style-sheets)
    -[`WP INSERT BREAK`](../commands/wp-insert-break) ***Modified 4D 20 R8***
    -[`WP Insert document body`](../commands/wp-insert-document-body) ***Modified 4D 20 R8***
    -[`WP INSERT FORMULA`](../commands/wp-insert-formula) ***Modified 4D 20 R8***
    -[`WP INSERT PICTURE`](../commands/wp-insert-picture) ***Modified 4D 20 R8***
    +[`WP INSERT BREAK`](../commands/wp-insert-break) ***Modifié 4D 20 R8***
    +[`WP Insert document body`](../commands/wp-insert-document-body) ***Modifié 4D 20 R8***
    +[`WP INSERT FORMULA`](../commands/wp-insert-formula) ***Modifié 4D 20 R8***
    +[`WP INSERT PICTURE`](../commands/wp-insert-picture) ***Modifié 4D 20 R8***
    [`WP Insert table`](../commands/wp-insert-table)
    [`WP Is font style supported`](../commands/wp-is-font-style-supported) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-export-document.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-export-document.md index 292cb2595b3ea0..bc437a1cdc0222 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-export-document.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-export-document.md @@ -103,14 +103,14 @@ Le tableau suivant indique l'*option* disponible par *format* d'export : La propriété wk files vous permet d'[exporter un PDF avec des pièces jointes](https://blog.4d.com/4d-write-pro-export-to-pdf-with-enclosures). Cette propriété doit contenir une collection d'objets décrivant les fichiers à incorporer dans le document final. Chaque objet de la collection peut contenir les propriétés suivantes : -| **Propriété** | **Type** | **Description** | -| ------------- | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| name | Text | Nom de fichier. Facultatif si la propriété *file* est utilisée, auquel cas le nom est déduit par défaut du nom de fichier. Obligatoire si la propriété *data* est utilisée (sauf pour le premier fichier d'un export Factur-X, auquel cas le nom du fichier est automatiquement "factur-x.xml", voir ci-dessous) | -| Description | Text | Optionnel. Si omis, la valeur par défaut du premier fichier d'exportation vers Factur-X est "Factur-X/ZUGFeRD Invoice", sinon il est vide. | -| mimeType | Text | Optionnel. Si omis, la valeur par défaut peut généralement être déduite à partir de l'extension de fichier; sinon, "application/octet-stream" est utilisé. Si cette option est passée, assurez-vous d'utiliser un type mime ISO, sinon le fichier exporté pourrait être invalide. | -| data | Text ou BLOB | Obligatoire si la propriété *file* est manquante | -| file | 4D.File object | Obligatoire si la propriété *data* est manquante, ignorée sinon. | -| relationship | Text | Optionnel. Si omis, la valeur par défaut est "Data". Possible values for Factur-X first file:
    • for BASIC, EN 16931 or EXTENDED profiles: "Alternative", "Source" or "Data" ("Alternative" only for German invoice)
    • for MINIMUM and BASIC WL profiles: "Data" only.
    • for other profiles: "Alternative", "Source" or "Data" (with restrictions perhaps depending on country: see profile specification for more info about other profiles - for instance for RECHNUNG profile only "Alternative" is allowed)
    • for other files (but Factur-X invoice xml file) : "Alternative", "Source", "Data", "Supplement" or "Unspecified"
    • any other value generates an error.
    | +| **Propriété** | **Type** | **Description** | +| ------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| name | Text | Nom de fichier. Facultatif si la propriété *file* est utilisée, auquel cas le nom est déduit par défaut du nom de fichier. Obligatoire si la propriété *data* est utilisée (sauf pour le premier fichier d'un export Factur-X, auquel cas le nom du fichier est automatiquement "factur-x.xml", voir ci-dessous) | +| Description | Text | Optionnel. Si omis, la valeur par défaut du premier fichier d'exportation vers Factur-X est "Factur-X/ZUGFeRD Invoice", sinon il est vide. | +| mimeType | Text | Optionnel. Si omis, la valeur par défaut peut généralement être déduite à partir de l'extension de fichier; sinon, "application/octet-stream" est utilisé. Si cette option est passée, assurez-vous d'utiliser un type mime ISO, sinon le fichier exporté pourrait être invalide. | +| data | Text ou BLOB | Obligatoire si la propriété *file* est manquante | +| file | 4D.File object | Obligatoire si la propriété *data* est manquante, ignorée sinon. | +| relationship | Text | Optionnel. Si omis, la valeur par défaut est "Data". Valeurs possibles pour le premier fichier de Factur-X :
    • pour les profils BASIC, EN 16931 ou EXTENDED : Alternative", "Source" ou "Data" ("Alternative" uniquement pour une facture allemande)
    • pour les profils MINIMUM et BASIC WL : uniquement "Data".
    • pour les autres profils : "Alternative", "Source" ou "Data" (avec des restrictions qui peuvent dépendre du pays : voir la spécification du profil pour plus d'informations sur les autres profils - par exemple, pour le profil RECHNUNG, seul "Alternative" est autorisé).
    • pour les autres fichiers (sauf le fichier xml de la facture Factur-X) : "Alternative", "Source", "Data", "Supplement" ou "Unspecified".
    • toute autre valeur génère une erreur.
    | Si le paramètre *option* contient également une propriété wk factur x, le premier élément de la collection wk files doit être le fichier xml de la facture Factur-X (ZUGFeRD) (voir ci-dessous). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-import-document.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-import-document.md index e7262144ff2d72..3ee95201ad06e4 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-import-document.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/commands/wp-import-document.md @@ -4,7 +4,7 @@ title: WP Import document displayed_sidebar: docs --- -**WP Import document** ( *filePath* : Text {; *option* : Integer, Object} ) : Object
    **WP Import document** ( *fileObj* : 4D.File {; *option* : Integer, Object} ) : Object +**WP Import document** ( *filePath* : Text { ; *option* : Integer, Object} ) : Object
    **WP Import document** ( *fileObj* : 4D.File { ; *option* : Integer, Object} ) : Object diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/managing-formulas.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/managing-formulas.md index ff75ce648c2231..7f9cb63cc1d171 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/managing-formulas.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/WritePro/managing-formulas.md @@ -103,28 +103,29 @@ Pour plus d'informations sur l'insertion de formules, voir [WP INSERT FORMULA](. **Date** -When the [**Current date**](../commands/current-date) command, a date variable, or a method returning a date is inserted in a formula, it will automatically be transformed into text using the system date short format. +Lorsque la commande [**Current date**](../commands/current-date), une variable date ou une méthode renvoyant une date est insérée dans une formule, elle est automatiquement transformée en texte en utilisant le format date système court. **Time** Lorsque la commande [**Current time**](../commands/current-time), une variable temporelle ou une méthode retournant une heure est insérée dans une formule, elle doit être incluse dans une commande [**String**](../commands/string) car le type heure n'est pas pris en charge dans JSON. Examinez les exemples de formules suivants : ```4d - // This code is the best practice + // Bonne pratique $formula1:=Formula(String(Current time)) //OK - // This code will work but is usually not recommended, except after "Edit formula" + // Fonctionnera mais n'est généralement pas recommandé, sauf après "Edit formula" $formula2:=Formula from string("String(Current time)") //OK - // Wrong code because time values would be displayed as a longint for seconds (or milliseconds), not as a time - $formula3:=Formula from string("Current time") //NOT valid - $formula4:=Formula(Current time) //NOT valid + // Code erroné car les valeurs de temps seraient affichées en tant que longint + //pour des secondes (ou millisecondes), pas comme une heure + $formula3:=Formula from string("Current time") //NON valide + $formula4:=Formula(Current time) //NON valide ``` -## Support de la structure virtuelle +## Prise en charge de la structure virtuelle -Table and field expressions inserted in 4D Write Pro documents support the virtual structure definition of the database. The virtual structure exposed to formulas is defined through [**SET FIELD TITLES**](../commands/set-field-titles)(...;\*) and [**SET TABLE TITLES**](../commands/set-table-titles)(...;\*) commands. +Les expressions de tables et de champs insérées dans les documents de 4D Write Pro prennent en charge la définition de structure virtuelle de la base de données. La structure virtuelle exposée aux formules est définie par les commandes [**SET FIELD TITLES**](../commands/set-field-titles)(...;\*) et [**SET TABLE TITLES**](../commands/set-table-titles)(...;\*). Quand une structure virtuelle est définie : @@ -134,7 +135,7 @@ Quand une structure virtuelle est définie : :::note -When a document is displayed in "display expressions" mode, references to tables or fields that do not belong to the virtual structure are displayed with "`?`" characters, for example `[VirtualTableName]?` when the field is not defined in the virtual structure. +Lorsqu'un document est affiché en mode "afficher expressions", les références de tables ou de champs qui n'appartiennent pas à la structure virtuelle sont affichées avec les caractères "`?`", par exemple `[VirtualTableName]?` lorsque le champ n'est pas défini dans la structure virtuelle. ::: @@ -147,23 +148,23 @@ Vous pouvez contrôler comment les formules sont affichées dans vos documents : ### Références ou valeurs -Par défaut, les formules 4D sont affichées sous forme de valeurs. When you insert a 4D formula, 4D Write Pro computes and displays its current value. If you wish to know which formula is used or what is its name, you need to display it as a reference. +Par défaut, les formules 4D sont affichées sous forme de valeurs. Lorsque vous insérez une formule 4D, 4D Write Pro calcule et affiche sa valeur courante. Si vous voulez savoir quelle formule est utilisée ou quel est son nom, vous devez l'afficher comme référence. Pour afficher les formules en tant que références, vous pouvez: -- check the **Show references** option in the Property list (see *Configuring View properties*), or -- use the visibleReferences standard action (see *Dynamic expressions*), or -- use the [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) command with the `wk visible references` selector to **True**. +- cocher l'option **Afficher les références** dans la liste des propriétés (voir *Configuration des propriétés de vue*), ou +- utiliser l'action standard visibleReferences (voir *Expressions dynamiques*), ou +- utiliser la commande [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) avec le sélecteur `wk visible references` à **True**. Les références de formule peuvent être affichées en tant que : - textes sources (par défaut) -- symbols +- symboles - names -### References as source texts (default) +### Références en textes sources (par défaut) -When formulas are displayed as references, by default the source text of the formula appear in your document, with a default gray background (can be customized using the `wk formula highlight` selector). +Lorsque les formules sont affichées en tant que références, le texte source de la formule apparaît par défaut dans votre document, avec un arrière-plan gris (qui peut être personnalisé à l'aide du sélecteur `wk formula highlight`). Par exemple, vous avez inséré la date courante avec un format, la date s'affiche : @@ -173,25 +174,25 @@ Lorsque vous affichez les formules comme références, la **source** de la formu ![](../assets/en/WritePro/wp-formulas2.png) -### Les références comme symboles +### Références en symboles -When formula source texts are displayed in a document, the design could be confusing if you work on sophisticated templates using tables for example, and when formulas are complex: +Lorsque les textes sources des formules sont affichés dans un document, le rendu peut être confus si vous travaillez sur des modèles sophistiqués utilisant des tableaux, par exemple, et si les formules sont complexes : ![](../assets/en/WritePro/wp-formulas3.png) -In this case, you can display formula references as ![](../assets/en/WritePro/wp-formulas.png) symbols, so that the document is more compact: +Dans ce cas, vous pouvez afficher les références des formules sous forme de symboles ![](../assets/en/WritePro/wp-formulas.png), afin de rendre le document plus compact : ![](../assets/en/WritePro/wp-formulas4.png) -Pour afficher les références de formules en tant que symboles, vous pouvez: +Pour afficher les références de formules en tant que symboles, vous pouvez : -- check the **Display formula source as symbol option** in the Property list (see *Configuring View properties*), or -- use the displayFormulaAsSymbol standard action (see *Using 4D Write Pro standard actions*), or -- use the [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) command with the `wk display formula as symbol` selector to **True**. +- cocher l'option **Afficher la source de la formule comme symbole** dans la liste des propriétés (voir *Configuration des propriétés de vue*), ou +- utiliser l'action standard displayFormulaAsSymbol (voir *Utilisation des actions standard de 4D Write Pro*), ou +- utiliser la commande [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) avec le sélecteur `wk display formula as symbol` sur **True**. -### References as names +### Références en noms -You can assign names to formulas, making 4D Write Pro template documents easier to read and understand for end-users. When formulas are displayed as references (and not displayed as symbols) and you have defined a name for a formula, the formula name is displayed. +Vous pouvez attribuer des noms aux formules, ce qui rend les modèles de documents de 4D Write Pro plus faciles à lire et à comprendre pour les utilisateurs. Lorsque les formules sont affichées comme des références (et non comme des symboles) et que vous avez défini un nom pour une formule, le nom de la formule est affiché. Par exemple, les références de formule suivantes sont affichées comme texte source par défaut : @@ -204,7 +205,7 @@ Si vous attribuez des noms de formule, ils sont affichés à la place des textes Pour attribuer un nom à une formule, vous devez utiliser la commande [WP Insert formula](commands/wp-insert-formula.md) avec un paramètre objet. Par exemple : ```4d - //inserts the previous day in the document + //insère le jour précédent dans le document $o:=New object("formula";Formula(Current date-1);"name";"Yesterday") $range:=WP Text range(WPArea;wk start text;wk end text) WP INSERT FORMULA($range;$o;wk append) @@ -215,31 +216,31 @@ Pour attribuer un nom à une formule, vous devez utiliser la commande [WP Insert :::note -Only inline formulas can have a name (formulas for anchored images, break rows, and table datasource formulas cannot have names). +Seules les formules en ligne peuvent avoir un nom (les formules pour les images ancrées, les ruptures et les formules de source de données de tableau ne peuvent pas avoir de nom). ::: -### Formula tips +### Infobulles des formules -Whatever the formula display mode, you can get additional information on formulas through **tips** that are displayed when you hover on formulas. +Quel que soit le mode d'affichage des formule, vous pouvez obtenir des informations supplémentaires sur une formule grâce aux **infobulles** qui s'affichent lorsque vous passez la souris sur la formule. -- When formulas do not have names, tips provide the source text of formulas: +- Lorsque les formules n'ont pas de nom, les infobulles fournissent le texte source des formules : ![](../assets/en/WritePro/wp-formulas7.png) -- When formulas have names but are displayed as values or as symbols, the tip provides the name of formulas: +- Lorsque les formules ont des noms mais sont affichées sous forme de valeurs ou de symboles, l'infobulle fournit le nom des formules : ![](../assets/en/WritePro/wp-formulas8.png) -In this context, you can display the source text of the formula by pressing **Ctrl** (Windows) or **Cmd** (macOS) while hovering on the formula. +Dans ce contexte, vous pouvez afficher le texte source de la formule en appuyant sur **Ctrl** (Windows) ou **Cmd** (macOS) tout en survolant la formule. -- When formulas have names and are displayed as names, no tip is displayed by default. - You can display the source text of the formula by pressing **Ctrl** (Windows) or **Cmd** (macOS) while hovering on the formula: +- Lorsque les formules ont des noms et sont affichées sous forme de noms, aucune infobulle n'est affichée par défaut. + Vous pouvez afficher le texte source de la formule en appuyant sur **Ctrl** (Windows) ou **Cmd** (macOS) tout en survolant la formule : [ ![](../assets/en/WritePro/wp-formulas9.png) #### Voir également -[Download HDI database](http://download.4d.com/Demos/4D_v16/HDI_4DWP_Filter4DExpressions.zip)
    -*Using commands from the Styled Text theme* +[Télécharger le HDI](http://download.4d.com/Demos/4D_v16/HDI_4DWP_Filter4DExpressions.zip)
    +*Utilisation des commandes du thème Styled Text* diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md index fb3193cee55d1d..ade4242a71eb40 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md @@ -53,7 +53,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Par exemple, les chaînes suivantes peuvent être passées : ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Lors des requêtes https, l’autorité du certificat n’est pas vérifiée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md index 7142fa88fa2236..257e00a0de2011 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md @@ -67,7 +67,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Par exemple, les chaînes suivantes peuvent être passées : ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Lors des requêtes https, l’autorité du certificat n’est pas vérifiée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md index 04e2e4f5c3362e..d08b3a24997cb0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md @@ -3115,7 +3115,7 @@ Par défaut, les nouveaux éléments sont remplis par des valeurs **null**. Vous #### Description -The `.reverse()` function returns a new collection with all elements of the original collection in reverse order. Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. +La fonction `.reverse()` retourne une nouvelle collection avec tous les éléments de la collection originale dans l'ordre inverse. Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. > Cette fonction ne modifie pas la collection d'origine. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/Admin/data-collect.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/Admin/data-collect.md index 8677bee9804bf3..fbe2be68780f9e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/Admin/data-collect.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/Admin/data-collect.md @@ -26,11 +26,11 @@ Certaines données sont également collectées à intervalles réguliers. | Data | Type | Notes | | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| appServer | Object | Object containing application server information | -| appServer.hits | Number | Number of requests from internal processes | -| appServer.bytesIn | Number | Bytes received by internal processes | -| appServer.bytesOut | Number | Bytes sent by internal processes | -| appServer.executionTime | Number | CPU execution time for internal processes | +| appServer | Object | Objet contenant des informations sur le serveur d'application | +| appServer.hits | Number | Nombre de requêtes provenant de process internes | +| appServer.bytesIn | Number | Octets reçus par des process internes | +| appServer.bytesOut | Number | Octets envoyés par des process internes | +| appServer.executionTime | Number | Temps d'exécution CPU pour les process internes | | cacheMissBytes | Object | Nombre d'octets manqués dans le cache | | cacheMissCount | Object | Nombre de lectures manquées dans le cache | | cacheReadBytes | Object | Nombre d'octets lus à partir de la mémoire cache | @@ -39,13 +39,13 @@ Certaines données sont également collectées à intervalles réguliers. | connectionSystems | Collection | Système d'exploitation du client sans le numéro de build (entre parenthèses) et nombre de clients qui l'utilisent | | databases[].cacheSize | Number | Taille du cache en octets | | databases[].externalDatastoreOpened | Number | Nombre d'appels à `Open datastore` | -| databases[].id | Number | Database ID | +| databases[].id | Number | ID de la base de données | | databases[].internalDatastoreOpened | Number | Nombre de fois où le datastore est ouvert par un serveur externe | -| databases[].maxConcurrent4DClients | Number | Maximum number of simultaneous 4D Client sessions (using a 4D Client license) over the collection interval | -| databases[].maxConcurrentRestSessions | Number | Maximum number of simultaneous REST sessions over the collection interval | -| databases[].maxConcurrentWebSessions | Number | Maximum number of simultaneous Web sessions (4DACTION and SOAP) over the collection interval | +| databases[].maxConcurrent4DClients | Number | Nombre maximum de sessions 4D Client simultanées (utilisant une licence 4D Client) sur l'intervalle de collecte | +| databases[].maxConcurrentRestSessions | Number | Nombre maximal de sessions REST simultanées sur l'intervalle de collecte | +| databases[].maxConcurrentWebSessions | Number | Nombre maximal de sessions Web simultanées (4DACTION et SOAP) sur l'intervalle de collecte | | databases[].maximum4DClientConnections | Number | Nombre maximal de connexions de 4D Client au serveur | -| databases[].numberOfDistinctClients | Number | Distinct count of client persistent UUID seen over collection interval | +| databases[].numberOfDistinctClients | Number | Nombre distinct d'UUID persistants de clients sur l'intervalle de collecte | | databases[].numberOfFields | Number | Nombre de champs | | databases[].numberOfKeepRecordSyncInfo | Number | Nombre de tables dont l'option "Activer la réplication" est cochée | | databases[].numberOfRecordsMax | Number | Nombre total d'enregistrements | @@ -56,21 +56,21 @@ Certaines données sont également collectées à intervalles réguliers. | databases[].remoteDebuggerVSCodeAttachments | Number | Nombre de rattachements au débogueur distant à partir de VS Code | | databases[].structureHash | Text | | | databases[].uniqueID | Texte (chaîne hachée) | Identifiant unique associé à la base de données (*Hachage par roulement polynomial du nom de la base de données*) | -| databases[].uptime | Number | Time elapsed (in seconds) between two collection events | -| databases[].uuid | Text | Database UUID | +| databases[].uptime | Number | Temps écoulé (en secondes) entre deux événements de collecte | +| databases[].uuid | Text | UUID de la base de données | | databases[].webIPAddressesNumber | Number | Nombre d'adresses IP différentes ayant adressé une requête à 4D Server | -| databases[].webMaxScalableSessions | Number | Maximum number of scalable sessions on the server | +| databases[].webMaxScalableSessions | Number | Nombre maximal de sessions évolutives sur le serveur | | databases[].webScalableSessions | Boolean | Vrai si les sessions évolutives sont activées | | dataSegment1.diskReadBytes | Object | Nombre d'octets lus dans le fichier de données | | dataSegment1.diskReadCount | Object | Nombre de lectures dans le fichier de données | | dataSegment1.diskWriteBytes | Object | Nombre d'octets écrits dans le fichier de données | | dataSegment1.diskWriteCount | Object | Nombre d'écritures dans le fichier de données | | dataSize | Number | Taille du fichier de données en octets | -| dbServer | Object | Object containing DB4D server information | -| dbServer.hits | Number | Number of requests from internal processes | -| dbServer.bytesIn | Number | Bytes received by internal processes | -| dbServer.bytesOut | Number | Bytes sent by internal processes | -| dbServer.executionTime | Number | CPU execution time for internal processes | +| dbServer | Object | Objet contenant des informations sur le serveur DB4D | +| dbServer.hits | Number | Nombre de requêtes provenant de process internes | +| dbServer.bytesIn | Number | Octets reçus par des process internes | +| dbServer.bytesOut | Number | Octets envoyés par des process internes | +| dbServer.executionTime | Number | Temps d'exécution CPU pour les process internes | | encryptedConnections | Boolean | True si les connexions client/serveur sont cryptées | | externalPHP | Boolean | True si le client effectue un appel à `PHP execute` et utilise sa propre version de php | | general.buildNumber | Number | Numéro de build de l'application 4D | @@ -90,7 +90,7 @@ Certaines données sont également collectées à intervalles réguliers. | isEngined | Boolean | True si l'application est fusionnée avec 4D Volume Desktop | | isProjectMode | Boolean | True si l'application est un projet | | LDAPLogin | Number | Nombre d'appels à la fonction `LDAP LOGIN` | -| license.sffPrimaryKey | Number | Server master product number | +| license.sffPrimaryKey | Number | Numéro de produit du serveur principal | | machine.CPU | Text | Nom, type et vitesse du processeur | | machine.memory | Number | Taille de la mémoire (en octets) disponible sur la machine | | machine.numberOfCores | Number | Nombre total de cœurs | @@ -103,13 +103,13 @@ Certaines données sont également collectées à intervalles réguliers. | ODBCLogin | Number | Nombre d'appels à `SQL LOGIN` utilisant ODBC | | phpCall | Number | Nombre d'appels à `PHP execute` | | QueryBySQL | Number | Nombre d'appels à `QUERY BY SQL` | -| restServer | Object | Object containing REST server information | -| restServer.bytesIn | Number | Bytes received by the REST server | -| restServer.bytesOut | Number | Bytes sent by the REST server | -| restServer.hits | Number | Number of hits on the REST server | -| restServer.executionTime | Number | CPU execution time for the REST WEB server | -| soapServer | Object | Object containing SOAP server information | -| soapServer.bytesIn | Number | Bytes received by the SOAP server | +| restServer | Object | Objet contenant des informations sur le serveur REST | +| restServer.bytesIn | Number | Octets reçus par le serveur REST | +| restServer.bytesOut | Number | Octets envoyés par le serveur REST | +| restServer.hits | Number | Nombre de hits du serveur REST | +| restServer.executionTime | Number | Temps d'exécution CPU du serveur WEB REST | +| soapServer | Object | Objet contenant des informations sur le serveur SOAP | +| soapServer.bytesIn | Number | Octets reçus par le serveur SOAP | | soapServer.bytesOut | Number | Bytes sent by the SOAP server | | soapServer.hits | Number | Number of hits on the SOAP server | | soapServer.executionTime | Number | CPU execution time for the SOAP server | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/Develop/async.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/Develop/async.md index 608d76b8b23a15..251fcb5041c578 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/Develop/async.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/Develop/async.md @@ -1,167 +1,168 @@ --- id: async -title: Asynchronous Execution +title: Exécution asynchrone --- -4D supports both **synchronous** and **asynchronous** execution modes, allowing developers to choose the best approach based on performance, responsiveness, and workload distribution. +4D prend en charge les modes d'exécution **synchrone** et **asynchrone**, ce qui permet aux développeurs de choisir la meilleure approche en fonction des performances, de la réactivité et de la répartition de la charge de travail. ## Principes de base -#### Synchronous Execution +#### Exécution synchrone -Synchronous execution follows a **sequential** flow, a step-by-step where each instruction must complete before the next one starts. This means the execution thread is blocked until the operation finishes. +L'exécution synchrone suit un flux **séquentiel**, un pas à pas où chaque instruction doit être terminée avant que la suivante ne commence. Cela signifie que le fil d'exécution est bloqué jusqu'à la fin de l'opération. -Synchronous execution is used when: +L'exécution synchrone est utilisée lorsque : -- Task execution must follow a strict order. -- Performance impact is minimal (e.g., quick operations). -- Running in a single-threaded context where blocking is acceptable. -- Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. +- L'exécution des tâches doit suivre un ordre strict. +- L'impact sur les performances est minime (par exemple, opérations rapides). +- L'exécution s'effectue dans un contexte monotâche où le blocage est acceptable. -#### Asynchronous Execution +L'exécution synchrone bloque l'interface utilisateur et convient mieux aux tâches rapides et ordonnées pour lesquelles le blocage est acceptable. -Asynchronous execution is **event-driven** and allows tasks other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. +#### Exécution asynchrone -Asynchronous execution is used when: +Asynchronous execution is **event-driven** and allows other operations to complete. Elle s'appuie sur des **callbacks**, des **workers** et des **event handlers** pour gérer le flux d'exécution. -- An operation takes a long time (e.g., waiting for a server response). -- Responsiveness is critical (e.g., UI interactions). -- Performing background tasks, network communication, or parallel processing. +L'exécution asynchrone est utilisée pour : -Choosing Between Synchronous and Asynchronous Execution: +- Une opération prend un certain temps (par exemple, attente d'une réponse du serveur). +- La réactivité est essentielle (par exemple, interactions avec l'interface utilisateur). +- Background tasks, network communication, or parallel processing are performed. -| Scenario | Best Approach | -| ------------------------------------------ | ---------------- | -| Quick operations with minimal processing | **Synchronous** | -| Tasks requiring strict execution order | **Synchronous** | -| Long-running background tasks | **Asynchronous** | -| Long-running UI interactions | **Asynchronous** | -| Short-running UI interactions | **Synchronous** | -| High-performance, multi-threaded workloads | **Asynchronous** | +Choisir entre l'exécution synchrone et l'exécution asynchrone : -## Core principles +| Scénario | Meilleure approche | +| --------------------------------------------------------- | ------------------ | +| Opérations rapides avec un minimum de traitement | **Synchrone** | +| Tâches nécessitant un ordre d'exécution strict | **Synchrone** | +| Tâches d'arrière-plan de longue durée | **Asynchrone** | +| Interactions de longue durée avec l'interface utilisateur | **Asynchrone** | +| Interactions de courte durée avec l'interface utilisateur | **Synchrone** | +| Charges de travail multi-tâches, hautes performances | **Asynchrone** | -4D provides built-in **asynchronous execution** capabilities through various classes and commands. These allow background task execution, network communication, and large data processing, while waiting other operations to complete without blocking the current process. +## Principes fondamentaux -The general concept of asynchronous event management in 4D is based on an asynchronous messaging model using **workers** (processes that listen to events) and **callbacks** (functions or formulas automatically invoked when an event occurs). Instead of waiting for a result (synchronous mode), you provide a function that will be automatically called when the desired event occurs. Callbacks can be passed as class functions (recommended) or Formula objects. +4D offre des capacités intégrées d'exécution **asynchrone** par le biais de diverses classes et commandes. Elles permettent l'exécution de tâches en arrière-plan, la communication réseau et le traitement de données volumineuses, tout en attendant que d'autres opérations se terminent sans bloquer le process en cours. -This model is common to [`CALL WORKER`](../commands-legacy/call-worker.md), [`CALL FORM`](../commands-legacy/call-form.md), and [classes that support aynchronous execution](#asynchronous-programming-with-4d-classes). All these commands/classes start an operation that runs in the background. The statement that launches the operation returns immediately, without waiting for the operation to finish. +Le concept général de la gestion asynchrone des événements dans 4D est basé sur un modèle de messagerie asynchrone utilisant des **workers** (process qui écoutent les événements) et des **callbacks** (fonctions ou formules automatiquement invoquées lorsqu'un événement se produit). Au lieu d'attendre un résultat (mode synchrone), vous fournissez une fonction qui sera automatiquement appelée lorsque l'événement souhaité se produira. Les callbacks peuvent être passés sous forme de fonctions de classe (recommandé) ou d'objets Formula. + +Ce modèle est commun à [`CALL WORKER`](../commands-legacy/call-worker.md), [`CALL FORM`](../commands-legacy/call-form.md), et aux [classes qui prennent en charge l'exécution aynchrone](#asynchronous-programming-with-4d-classes). Toutes ces commandes/classes lancent une opération qui s'exécute en arrière-plan. L'instruction qui lance l'opération rend la main immédiatement, sans attendre la fin de l'opération. ### Workers -Asynchronous programming relies on a system of [**workers**](../Develop/processes.md#worker-processes) (worker processes), which allows code to be executed in parallel without blocking the main process. This is particularly useful for long tasks (such as HTTP calls, executing external processes, background processing), while keeping the user interface responsive. +La programmation asynchrone repose sur un système de [**workers**](../Develop/processes.md#worker-processes) (process workers), qui permet d'exécuter du code en parallèle sans bloquer le process principal. Ceci est particulièrement utile pour les tâches longues (telles que les appels HTTP, l'exécution de process externes, le traitement en arrière-plan), tout en gardant l'interface utilisateur réactive. -Using worker processes in asynchronous programming **is mandatory** since "classic" processes automatically terminate their execution when the process method ends, thus using callbacks is not possible. A worker process stays alive and can **listen to events**. +L'utilisation de process workers dans la programmation asynchrone **est obligatoire** puisque les process "classiques" terminent automatiquement leur exécution à la fin de la méthode du process, ce qui ne permet pas d'utiliser des callbacks. Un process worker reste en vie et peut **écouter les événements**. -### Event queue (mailbox) +### File d'attente d'événements (boîte aux lettres) -Each worker (or form window for [`CALL FORM`](../commands-legacy/call-form.md)) has its own message queue. [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md) simply posts a message to this queue. The worker handles messages one by one, in the order they arrive, within its own context. Process variables, current selections, etc. are preserved. +Chaque worker (ou fenêtre de formulaire pour [`CALL FORM`](../commands-legacy/call-form.md)) a sa propre file d'attente de messages. [`CALL WORKER`](../commands-legacy/call-worker.md) ou [`CALL FORM`](../commands-legacy/call-form.md) ajoute simplement un message dans cette file d'attente. Le worker traite les messages un par un, dans l'ordre où ils arrivent, dans son propre contexte. Les variables process, les sélections courantes, etc. sont conservées. -### Bidirectional communication via messages +### Communication bidirectionnelle par messages -The calling process posts a message then the worker executes it. The worker can in turn post a message (via [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). This mechanism replaces the classic return of synchronous calls. +Le process appelant envoie un message, puis le workerl'exécute. Le worker peut à son tour envoyer un message (via [`CALL WORKER`](../commands-legacy/call-worker.md) ou [`CALL FORM`](../commands-legacy/call-form.md)) à l'appelant ou à un autre worker pour notifier un événement (fin de tâche, données reçues, erreur, progression, etc.). Ce mécanisme remplace le retour classique des appels synchrones. -### Event listening +### Écoute d'événements -In event-driven development, it is obvious that some code must be able to listen for incoming events. Events can be generated by the user interface (such as a mouse click on an object or a keyboard key pressed) or by any other interaction such as an http request or the end of another action. For example, when a form is displayed using the `DIALOG` command, user actions can trigger events that your code can process. A click on a button will trigger the code associated to the button. +Dans le cadre d'un développement orienté événements (*event-driven development*), il est évident qu'une partie du code doit être en mesure d'écouter les événements entrants. Les événements peuvent être générés par l'interface utilisateur (comme un clic souris sur un objet ou une touche de clavier enfoncée) ou par toute autre interaction telle qu'une requête http ou la fin d'une autre action. Par exemple, lorsqu'un formulaire est affiché à l'aide de la commande `DIALOG`, les actions de l'utilisateur peuvent déclencher des événements que votre code peut traiter. Un clic sur un bouton déclenche le code associé au bouton. -In the context of asynchronous execution, the following features place your code in listening mode: +Dans le contexte de l'exécution asynchrone, les fonctionnalités suivantes placent votre code en mode d'écoute : -- [`CALL WORKER`](../commands-legacy/call-worker.md) executes the code for which it has been called, then returns to a listening status from where it can be called afterwards. -- [`CALL FORM`](../commands-legacy/call-form.md) opens a form and makes it listen for incoming messages from the event queue. -- a call for a `wait()` listens for `terminate()` or `shutdown()` in a callback from any other instance. +- [`CALL WORKER`](../commands-legacy/call-worker.md) exécute le code pour lequel il a été appelé, puis retourne à un statut d'écoute à partir duquel il peut être appelé par la suite. +- [`CALL FORM`](../commands-legacy/call-form.md) ouvre un formulaire et lui fait écouter les messages entrants de la file d'attente des événements. +- un appel à `wait()` écoute `terminate()` ou `shutdown()` dans un callback depuis n'importe quelle autre instance. -### Event triggering +### Déclenchement d'événements -Events are automatically triggered during the execution flow and passed to your corresponding callbacks. You can force the triggering of events by calling `terminate()` or `shutdown()` during a `wait()`. +Les événements sont automatiquement déclenchés au cours de l'exécution et transmis aux callbacks correspondants. Vous pouvez forcer le déclenchement d'événements en appelant `terminate()` ou `shutdown()` pendant un `wait()`. -### Callback execution context +### Contexte d'exécution du callback -When 4D execute one of your callbacks, it does so in the context of the current process (worker), i.e. if your object is instantiated inside a form, the callback function will be executed in the context of that same form. +Lorsque 4D exécute un de vos callbacks, il le fait dans le contexte du process courant (worker), c'est-à-dire que si votre objet est instancié dans un formulaire, la fonction callback sera exécutée dans le contexte de ce même formulaire. -For callbacks to work properly in fully asynchronous mode, the operation should generally be launched from a worker (via `CALL WORKER`). If launched from a process handling UI, some callbacks may not be called until the UI is listening events. +Pour que les callbacks fonctionnent correctement en mode totalement asynchrone, l'opération doit généralement être lancée depuis un worker (via `CALL WORKER`). S'ils sont lancés à partir d'un process gérant l'interface utilisateur, certains callbacks peuvent ne pas être appelés tant que l'interface utilisateur n'écoute pas les événements. -### Releasing an asynchronous object +### Libération d'un objet asynchrone -In 4D, all objects are released [when no more references](../Concepts/dt_object.md#resources) to them exist in memory. This typically occurs at the end of a method execution for local variables. +En 4D, tout objet est libéré [dès lors qu'il n'y a plus de référence](../Concepts/dt_object.md#resources) à cet objet en mémoire. Cela se produit généralement à la fin de l'exécution d'une méthode pour les variables locales. -For asynchronous classes, an **extra reference** is always maintained by 4D in the process that instantiated the object. This reference is only released when the operation is finished, i.e. after the `onTerminate` event is triggered. This automatic referencing allows your object to survive even if you don't have referenced it specifically in a variable. +Pour les classes asynchrones, une **référence supplémentaire** est toujours maintenue par 4D dans le process qui a instancié l'objet. Cette référence n'est libérée que lorsque l'opération est terminée, c'est-à-dire après le déclenchement de l'événement `onTerminate`. Ce référencement automatique permet à votre objet de survivre même si vous ne l'avez pas référencé spécifiquement dans une variable. -If you want to "force" the release of an object at any moment, use a `.shutdown()` or `terminate()` function; it triggers the onTerminate\` event ànd thus releases the object. +Si vous voulez "forcer" la libération d'un objet à tout moment, utilisez une fonction `.shutdown()` ou `terminate()` ; elle déclenche l'événement onTerminate\` et libère ainsi l'objet. -### Examples illustrating the common concept +### Exemples illustrant le concept commun -| Feature | Async Launch | Callback / Event Handling | +| Fonctionnalité | Lancement asynchrone | Gestion des callbacks et des événements | | ------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | -| CALL WORKER | CALL WORKER("wk"; "MyMethod"; $params) | MyMethod is called with $params | -| CALL FORM | CALL FORM($win; "MyMethod"; $params) | MyMethod is called with $params | +| CALL WORKER | CALL WORKER("wk" ; "MyMethod" ; $params) | MyMethod est appelée avec $params | +| CALL FORM | CALL FORM($win; "MyMethod"; $params) | MyMethod est appelée avec $params | | 4D.SystemWorker | 4D.SystemWorker.new(cmd; $options) | Callbacks: onData, onResponse, onError, onTerminate | -## Asynchronous programming with 4D classes +## Programmation asynchrone avec les classes 4D -Several 4D classes support asynchronous processing: +Plusieurs classes 4D prennent en charge les traitements asynchrones : -- [`HTTPRequest`](../API/HTTPRequestClass.md) – Handles asynchronous HTTP requests and responses. -- [`SystemWorker`](../API/SystemWorkerClass.md) – Executes external processes asynchronously. -- [`TCPConnection`](../API/TCPConnectionClass.md) – Manages TCP client connections with event-driven callbacks. -- [`TCPListener`](../API/TCPListenerClass.md) – Manages TCP server connections. -- [`UDPSocket`](../API/UDPSocketClass.md) – Sends and receives UDP packets. -- [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. -- [`WebSocketServer`](../API/WebSocketServerClass.md) – Manages WebSocket server connections. +- [`HTTPRequest`](../API/HTTPRequestClass.md) - Gère les requêtes et les réponses HTTP asynchrones. +- [`SystemWorker`](../API/SystemWorkerClass.md) - Exécute des process externes de manière asynchrone. +- [`TCPConnection`](../API/TCPConnectionClass.md) - Gère les connexions client TCP avec des callbacks événementiels. +- [`TCPListener`](../API/TCPListenerClass.md) - Gère les connexions au serveur TCP. +- [`UDPSocket`](../API/UDPSocketClass.md) - Envoie et reçoit des paquets UDP. +- [`WebSocket`](../API/WebSocketClass.md) - Gère les connexions des clients WebSocket. +- [`WebSocketServer`](../API/WebSocketServerClass.md) - Gère les connexions serveur WebSocket. -All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asychronously when a *reponse* event is fired. +Toutes ces classes suivent les mêmes règles en matière d'exécution asynchrone. Leur constructeur accepte un paramètre *options* qui est utilisé pour configurer votre objet asynchrone. Il est recommandé que l'objet *options* soit une instance de [classe utilisateur](../Concepts/classes.md) qui possède des fonctions de callback. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. -We recommend the following sequence: +Nous recommandons la séquence suivante : -1. You create the user class where you declare callback functions, for example a `cs.Params` with `onError()` and `onResponse()` functions. -2. You instantiate the user class (in our example using `cs.Params.new()`) that will configure your asynchronous object. -3. You call the constructor of the 4D class (for example `4D.SystemWorker.new()`) and pass the *options* object as parameter. It starts the operations passed immediately without delay. +1. Vous créez la classe utilisateur dans laquelle vous déclarez les fonctions de callback, par exemple `cs.Params` avec les fonctions `onError()` et `onResponse()`. +2. Vous instanciez la classe utilisateur (dans notre exemple en utilisant `cs.Params.new()`) qui configurera votre objet asynchrone. +3. Vous appelez le constructeur de la classe 4D (par exemple `4D.SystemWorker.new()`) et vous passez l'objet *options* en paramètre. Il démarre immédiatement les opérations passées sans délai. -Here is a full example of implementation of an *options* object based upon a user class: +Voici un exemple complet de mise en œuvre d'un objet *options* basé sur une classe utilisateur : ```4d -// asynchronous code creation -var $options:=cs.Params.new(10) //see cs.Params class code below -var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users ";$options) +// création de code asynchrone +var $options:=cs.Params.new(10) //voir le code de la classe cs.Params ci-dessous +var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users " ;$options) -// "Params" class +// Classe "Params" -Class constructor ($timeout : Real) - This.dataType:="text" +Class constructor($timeout : Real) + This.dataType:="text" This.data:="" This.dataError:="" This.timeout:=$timeout Function onResponse($systemWorker : Object) - This._createFile("onResponse"; $systemWorker.response) + This._createFile("onResponse" ; $systemWorker.response) -Function onData($systemWorker : Object; $info : Object) +Function onData($systemWorker : Object ; $info : Object) This.data+=$info.data This._createFile("onData";this.data) -Function onDataError($systemWorker : Object; $info : Object) +Function onDataError($systemWorker : Object ; $info : Object) This.dataError+=$info.data This._createFile("onDataError";this.dataError) Function onTerminate($systemWorker : Object) var $textBody : Text - $textBody:="Response: "+$systemWorker.response - $textBody+="ResponseError: "+$systemWorker.responseError - This._createFile("onTerminate"; $textBody) + $textBody:="Response : "+$systemWorker.response + $textBody+="ResponseError : "+$systemWorker.responseError + This._createFile("onTerminate" ; $textBody) -Function _createFile($title : Text; $textBody : Text) - TEXT TO DOCUMENT(Get 4D folder(Current resources folder)+$title+".txt"; $textBody) +Function _createFile($title : Text ; $textBody : Text) + TEXT TO DOCUMENT(Get 4D folder(Current resources folder)+$title+".txt" ; $textBody) ``` -Note that `onResponse`, `onData`, `onDataError`, and `onTerminate` are functions supported by [`4D.SystemWorker`](../API/SystemWorkerClass.md). +Notez que `onResponse`, `onData`, `onDataError`, et `onTerminate` sont des fonctions prises en charge par [`4D.SystemWorker`](../API/SystemWorkerClass.md). -Once the user class is instantiated; 4D is put in [event listening](#event-listening) mode, in which case 4D can [trigger an event](#event-triggering) that calls the corresponding function in the user class. +Une fois la classe utilisateur instanciée ; 4D est mis en mode [écoute d'événements](#event-listening) auquel cas 4D peut [déclencher un événement](#event-triggering) qui appelle la fonction correspondante dans la classe utilisateur. :::tip -In some cases, you might want to use formulas as property values instead of class functions. Although it is not the best practice, a syntax such as the following is supported: +Dans certains cas, vous pouvez vouloir utiliser des formules comme valeurs de propriété au lieu de fonctions de classe. Bien qu'il ne s'agisse pas la meilleure pratique, une syntaxe telle que la suivante est acceptée : ```4d var $options.onResponse:=Formula(myMethod) @@ -169,23 +170,23 @@ var $options.onResponse:=Formula(myMethod) ::: -## Synchronous execution in asynchronous code +## Exécution synchrone dans du code asynchrone -Even when using modern, asynchronous code, you may need to introduce a degree of synchronous execution. For example, you may want a function to wait for a certain amount of time to get a result. It could be the case with guaranteed fast network connections or system workers. Then, you can enforce synchronous execution using the `wait()` function. +Même lorsque vous utilisez un code moderne et asynchrone, vous pouvez avoir besoin d'introduire un certain degré d'exécution synchrone. Par exemple, vous pouvez souhaiter qu'une fonction attende un certain temps avant d'obtenir un résultat. Cela peut être le cas avec des connexions réseau rapides garanties ou des system workers. Alors, vous pouvez imposer une exécution synchrone en utilisant la fonction `wait()`. -The **`.wait()`** function pauses execution of the current process and puts 4D in [event listening](#event-listening) mode. Keep in mind that it will trigger events received from any sources, not only from the object on which the `wait()` function was called. +La fonction **`.wait()`** met en pause l'exécution du process courant et place 4D en mode [écoute d'événements](#event-listening). Gardez à l'esprit que tout événement reçu de n'importe quelle source sera pris en compte, et pas seulement de l'objet sur lequel la fonction `wait()` a été appelée. -The `wait()` function returns when the `onTerminate` event has been triggered on the object, or when the provided timeout (if any) has expired. Consequently, you can explicitly exit from a `.wait()` by calling `shutdown()` or `terminate()` from within a callback. Otherwise, the `.wait()` is exited when the current operation ends. +La fonction `wait()` rend la main lorsque l'événement `onTerminate` a été déclenché sur l'objet, ou lorsque le délai d'attente fourni (le cas échéant) a expiré. Par conséquent, vous pouvez sortir explicitement d'un `.wait()` en appelant `shutdown()` ou `terminate()` à l'intérieur d'un callback. Sinon, on sort du `.wait()` lorsque l'opération en cours se termine. Exemple : ```4d var $options:=cs.Params.new() -var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users ";$options) -$systemworker.wait(0.5) // Waits for up to 0.5 seconds for get file info +var $systemworker:=4D.SystemWorker.new("/bin/ls -l /Users " ;$options) +$systemworker.wait(0.5) // Attend jusqu'à 0,5 secondes pour obtenir des informations sur le fichier. ``` ## Voir également -[Blog post: Launch an external process asynchronously](https://blog.4d.com/launch-an-external-process-asynchronously/)
    -[Asynchronous Call](../aikit/asynchronous-call.md) +[Blog post: Lancer un process externe de manière asynchrone](https://blog.4d.com/launch-an-external-process-asynchronously/)
    +[Appel asynchrone](../aikit/asynchronous-call.md) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md index bb4e40811d31b6..769103abea5cd2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md @@ -131,4 +131,4 @@ Pour stopper l’héritage d’un formulaire, choisissez l’option `\` d ## Supported Events -[On Activate](../Events/onActivate.md) - [On After Edit](../Events/onAfterEdit.md) - [On After Keystroke](../Events/onAfterKeystroke.md) - [On Before Keystroke](../Events/onBeforeKeystroke.md) - [On Begin Drag Over](../Events/onBeginDragOver.md) - [On Bound Variable Change](../Events/onBoundVariableChange.md) - [On Clicked](../Events/onClicked.md) - [On Close Box](../Events/onCloseBox.md) - [On Close Detail](../Events/onCloseDetail.md) - [On Data Change](../Events/onDataChange.md) - [On Deactivate](../Events/onDeactivate.md) - [On Display Detail](../Events/onDisplayDetail.md) - [On Double Clicked](../Events/onDoubleClicked.md) - [On Drop](../Events/onDrop.md) - [On Header](../Events/onHeader.md) - [On Load](../Events/onLoad.md) - [On Load Record](../Events/onLoadRecord.md) - [On Losing focus](../Events/onLosingFocus.md) - [On Menu Selected](../Events/onMenuSelected.md) - [On Mouse Enter](../Events/onMouseEnter.md) - [On Mouse Leave](../Events/onMouseLeave.md) - [On Mouse Move](../Events/onMouseMove.md) - [On Open Detail](../Events/onOpenDetail.md) - [On Outside Call](../Events/onOutsideCall.md) - [On Page Change](../Events/onPageChange.md) - [On Plug in Area](../Events/onPluginArea.md) - [On Printing Break](../Events/onPrintingBreak.md) - [On Printing Detail](../Events/onPrintingDetail.md) - [On Printing Footer](../Events/onPrintingFooter.md) - [On Resize](../Events/onResize.md) - [On Selection Change](../Events/onSelectionChange.md) - [On Timer](../Events/onTimer.md) - [On Unload](../Events/onUnload.md) - [On Validate](../Events/onValidate.md) \ No newline at end of file +[On Activate](../Events/onActivate.md) - [On After Edit](../Events/onAfterEdit.md) - [On After Keystroke](../Events/onAfterKeystroke.md) - [On Before Keystroke](../Events/onBeforeKeystroke.md) - [On Begin Drag Over](../Events/onBeginDragOver.md) - [On Bound Variable Change](../Events/onBoundVariableChange.md) - [On Clicked](../Events/onClicked.md) - [On Close Box](../Events/onCloseBox.md) - [On Close Detail](../Events/onCloseDetail.md) - [On Data Change](../Events/onDataChange.md) - [On Deactivate](../Events/onDeactivate.md) - [On Display Detail](../Events/onDisplayDetail.md) - [On Double Clicked](../Events/onDoubleClicked.md) - [On Drop](../Events/onDrop.md) - [On Header](../Events/onHeader.md) - [On Load](../Events/onLoad.md) - [On Load Record](../Events/onLoadRecord.md) - [On Losing focus](../Events/onLosingFocus.md) - [On Menu Selected](../Events/onMenuSelected.md) - [On Mouse Enter](../Events/onMouseEnter.md) - [On Mouse Leave](../Events/onMouseLeave.md) - [On Mouse Move](../Events/onMouseMove.md) - [On Open Detail](../Events/onOpenDetail.md) - [On Outside Call](../Events/onOutsideCall.md) - [On Page Change](../Events/onPageChange.md) - [On Plug in Area](../Events/onPlugInArea.md) - [On Printing Break](../Events/onPrintingBreak.md) - [On Printing Detail](../Events/onPrintingDetail.md) - [On Printing Footer](../Events/onPrintingFooter.md) - [On Resize](../Events/onResize.md) - [On Selection Change](../Events/onSelectionChange.md) - [On Timer](../Events/onTimer.md) - [On Unload](../Events/onUnload.md) - [On Validate](../Events/onValidate.md) \ No newline at end of file diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/Menus/properties.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/Menus/properties.md index 83511fe1d3aab0..14ec88b0c8bc72 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/Menus/properties.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/Menus/properties.md @@ -159,7 +159,7 @@ Les coches sont généralement utilisées pour des menus à action permanente et ### Styles des polices -4D vous permet de personnaliser les menus en appliquant différents styles de caractères aux commandes de menus. You can customize your menus with the Bold, Italic or Underline styles through options in the Menu editor or using the [`SET MENU ITEM STYLE`](../commands/set-menu-item-style) language command. +4D vous permet de personnaliser les menus en appliquant différents styles de caractères aux commandes de menus. Vous pouvez personnaliser vos menus en appliquant les styles Gras, Italique ou Souligné via les options de l'éditeur de menu ou à l'aide de la commande de langage [`SET MENU ITEM STYLE`](../commands/set-menu-item-style). En règle générale, les styles de police doivent être appliqués à vos menus avec parcimonie, afin d’éviter de conférer une apparence confuse à votre application. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/ViewPro/getting-started.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/ViewPro/getting-started.md index 29f5da8594fb20..ab82f98dba7f71 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/ViewPro/getting-started.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/ViewPro/getting-started.md @@ -11,7 +11,7 @@ Une tableur est une application contenant une grille de cellules dans lesquelles :::note -Go to the [Library table](../Notes/updates.md#library-table-4d-21-lts) to know the SpreadJS version integrated in your 4D release. +Consultez le [tableau des bibliothèques](../Notes/updates.md#library-table-4d-21-lts) pour connaître la version de SpreadJS intégrée à votre version de 4D. ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/WebServer/sessions.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/WebServer/sessions.md index ebc7f192cf8839..d493bf03e95e35 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/WebServer/sessions.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/WebServer/sessions.md @@ -23,7 +23,7 @@ Les sessions Web permettent de : Les sessions Web sont utilisées par : - les [applications Web](gettingStarted.md) envoyant des requêtes http (y compris les [Web services SOAP](../commands/theme/Web_Services_Server.md) et les requêtes [/4DACTION](../WebServer/httpRequests.md#4daction)), -- calls to the [REST API](../REST/authUsers.md), which are used by [remote datastores](../ORDA/remoteDatastores.md) and [Qodly pages](https://developer.4d.com/qodly/). +- les appels à l'[API REST](../REST/authUsers.md), qui sont effectués par les [datastores distants](../ORDA/remoteDatastores.md) et les [pages Qodly](https://developer.4d.com/qodly/). ## Activation des sessions web {#enabling-web-sessions} @@ -63,7 +63,7 @@ Le nom du cookie peut être obtenu en utilisant la propriété [`.sessionCookieN :::note -Creating a web session for a REST request may require that a license is available, see [this page](../REST/authUsers.md). +La création d'une session web pour une requête REST peut nécessiter qu'une licence soit disponible, consultez [cette page](../REST/authUsers.md). ::: diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-document.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-document.md index ae97ea63c37271..d080b4aaba6c39 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-document.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-document.md @@ -103,14 +103,14 @@ Le tableau suivant indique l'*option* disponible par *format* d'export : La propriété wk files vous permet d'[exporter un PDF avec des pièces jointes](https://blog.4d.com/4d-write-pro-export-to-pdf-with-enclosures). Cette propriété doit contenir une collection d'objets décrivant les fichiers à incorporer dans le document final. Chaque objet de la collection peut contenir les propriétés suivantes : -| **Propriété** | **Type** | **Description** | -| ------------- | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| name | Text | Nom de fichier. Facultatif si la propriété *file* est utilisée, auquel cas le nom est déduit par défaut du nom de fichier. Obligatoire si la propriété *data* est utilisée (sauf pour le premier fichier d'un export Factur-X, auquel cas le nom du fichier est automatiquement "factur-x.xml", voir ci-dessous) | -| Description | Text | Optionnel. Si omis, la valeur par défaut du premier fichier d'exportation vers Factur-X est "Factur-X/ZUGFeRD Invoice", sinon il est vide. | -| mimeType | Text | Optionnel. Si omis, la valeur par défaut peut généralement être déduite à partir de l'extension de fichier; sinon, "application/octet-stream" est utilisé. Si cette option est passée, assurez-vous d'utiliser un type mime ISO, sinon le fichier exporté pourrait être invalide. | -| data | Text ou BLOB | Obligatoire si la propriété *file* est manquante | -| file | 4D.File object | Obligatoire si la propriété *data* est manquante, ignorée sinon. | -| relationship | Text | Optionnel. Si omis, la valeur par défaut est "Data". Possible values for Factur-X first file:
    • for BASIC, EN 16931 or EXTENDED profiles: "Alternative", "Source" or "Data" ("Alternative" only for German invoice)
    • for MINIMUM and BASIC WL profiles: "Data" only.
    • for other profiles: "Alternative", "Source" or "Data" (with restrictions perhaps depending on country: see profile specification for more info about other profiles - for instance for RECHNUNG profile only "Alternative" is allowed)
    • for other files (but Factur-X invoice xml file) : "Alternative", "Source", "Data", "Supplement" or "Unspecified"
    • any other value generates an error.
    | +| **Propriété** | **Type** | **Description** | +| ------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| name | Text | Nom de fichier. Facultatif si la propriété *file* est utilisée, auquel cas le nom est déduit par défaut du nom de fichier. Obligatoire si la propriété *data* est utilisée (sauf pour le premier fichier d'un export Factur-X, auquel cas le nom du fichier est automatiquement "factur-x.xml", voir ci-dessous) | +| Description | Text | Optionnel. Si omis, la valeur par défaut du premier fichier d'exportation vers Factur-X est "Factur-X/ZUGFeRD Invoice", sinon il est vide. | +| mimeType | Text | Optionnel. Si omis, la valeur par défaut peut généralement être déduite à partir de l'extension de fichier; sinon, "application/octet-stream" est utilisé. Si cette option est passée, assurez-vous d'utiliser un type mime ISO, sinon le fichier exporté pourrait être invalide. | +| data | Text ou BLOB | Obligatoire si la propriété *file* est manquante | +| file | 4D.File object | Obligatoire si la propriété *data* est manquante, ignorée sinon. | +| relationship | Text | Optionnel. Si omis, la valeur par défaut est "Data". Valeurs possibles pour le premier fichier de Factur-X :
    • pour les profils BASIC, EN 16931 ou EXTENDED : Alternative", "Source" ou "Data" ("Alternative" uniquement pour une facture allemande)
    • pour les profils MINIMUM et BASIC WL : uniquement "Data".
    • pour les autres profils : "Alternative", "Source" ou "Data" (avec des restrictions qui peuvent dépendre du pays : voir la spécification du profil pour plus d'informations sur les autres profils - par exemple, pour le profil RECHNUNG, seul "Alternative" est autorisé).
    • pour les autres fichiers (sauf le fichier xml de la facture Factur-X) : "Alternative", "Source", "Data", "Supplement" ou "Unspecified".
    • toute autre valeur génère une erreur.
    | Si le paramètre *option* contient également une propriété wk factur x, le premier élément de la collection wk files doit être le fichier xml de la facture Factur-X (ZUGFeRD) (voir ci-dessous). diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-variable.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-variable.md index 46b5621d2436f1..7e7ac49c199ff2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-variable.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/WritePro/commands/wp-export-variable.md @@ -160,8 +160,8 @@ Pour exporter la première page d'un 4D Write Pro en SVG dans une variable Texte ## Voir également [4D QPDF (Component) - PDF Get attachments](https://github.com/4d/4D-QPDF) -[Blog post - 4D Write Pro: Electronic invoice generation](https://blog.4d.com/4d-write-pro-electronic-invoice-generation) -[Blog post - 4D Write Pro: Export to PDF with enclosures](https://blog.4d.com/4d-write-pro-export-to-pdf-with-enclosures) -[Exporting to HTML and MIME HTML formats](../user-legacy/exporting-to-html-and-mime-html-formats.md)
    -[Importing and Exporting in .docx format](../user-legacy/importing-and-exporting-in-docx-format.md)
    -[WP EXPORT DOCUMENT](../commands/wp-export-document.md) \ No newline at end of file +[Blog post - 4D Write Pro : Génération de factures électroniques](https://blog.4d.com/fr/4d-write-pro-electronic-invoice-generation) +[Blog post - 4D Write Pro : Export au format PDF avec pièces jointes](https://blog.4d.com/fr/4d-write-pro-export-to-pdf-with-enclosures) +[Exporter aux formats HTML et MIME HTML](../user-legacy/exporting-to-html-and-mime-html-formats.md)
    +[Importer et exporter au format docx](../user-legacy/importing-and-exporting-in-docx-format.md)
    +[WP EXPORT DOCUMENT](../commands/wp-export-document) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/WritePro/managing-formulas.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/WritePro/managing-formulas.md index 9c211c1af446cd..ddd2e92aaf5667 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/WritePro/managing-formulas.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/WritePro/managing-formulas.md @@ -126,21 +126,22 @@ Lorsque la commande [**Current date**](../commands-legacy/current-date.md), une Lorsque la commande [**Current time**](../commands-legacy/current-time.md), une variable heure ou une méthode renvoyant une heure est insérée dans une formule, elle doit être incluse dans une commande [**String**](../commands/string.md) car le type time n'est pas pris en charge en JSON. Examinez les exemples de formules suivants : ```4d - // This code is the best practice + // Bonne pratique $formula1:=Formula(String(Current time)) //OK - // This code will work but is usually not recommended, except after "Edit formula" + // Fonctionnera mais n'est généralement pas recommandé, sauf après "Edit formula" $formula2:=Formula from string("String(Current time)") //OK - // Wrong code because time values would be displayed as a longint for seconds (or milliseconds), not as a time - $formula3:=Formula from string("Current time") //NOT valid - $formula4:=Formula(Current time) //NOT valid + // Code erroné car les valeurs de temps seraient affichées en tant que longint + //pour des secondes (ou millisecondes), pas comme une heure + $formula3:=Formula from string("Current time") //NON valide + $formula4:=Formula(Current time) //NON valide ``` -## Support de la structure virtuelle +## Prise en charge de la structure virtuelle -Table and field expressions inserted in 4D Write Pro documents support the virtual structure definition of the database. La structure virtuelle exposée aux formules est définie par les commandes [**SET FIELD TITLES**](../commands-legacy/set-field-titles.md)(...;\*) et [**SET TABLE TITLES**](../commands-legacy/set-table-titles.md)(...;\*). +Les expressions de tables et de champs insérées dans les documents de 4D Write Pro prennent en charge la définition de structure virtuelle de la base de données. La structure virtuelle exposée aux formules est définie par les commandes [**SET FIELD TITLES**](../commands-legacy/set-field-titles.md)(...;\*) et [**SET TABLE TITLES**](../commands-legacy/set-table-titles.md)(...;\*). Quand une structure virtuelle est définie : @@ -150,7 +151,7 @@ Quand une structure virtuelle est définie : :::note -When a document is displayed in "display expressions" mode, references to tables or fields that do not belong to the virtual structure are displayed with "`?`" characters, for example `[VirtualTableName]?` when the field is not defined in the virtual structure. +Lorsqu'un document est affiché en mode "afficher expressions", les références de tables ou de champs qui n'appartiennent pas à la structure virtuelle sont affichées avec les caractères "`?`", par exemple `[VirtualTableName]?` lorsque le champ n'est pas défini dans la structure virtuelle. ::: @@ -163,23 +164,23 @@ Vous pouvez contrôler comment les formules sont affichées dans vos documents : ### Références ou valeurs -Par défaut, les formules 4D sont affichées sous forme de valeurs. When you insert a 4D formula, 4D Write Pro computes and displays its current value. If you wish to know which formula is used or what is its name, you need to display it as a reference. +Par défaut, les formules 4D sont affichées sous forme de valeurs. Lorsque vous insérez une formule 4D, 4D Write Pro calcule et affiche sa valeur courante. Si vous voulez savoir quelle formule est utilisée ou quel est son nom, vous devez l'afficher comme référence. Pour afficher les formules en tant que références, vous pouvez: -- check the **Show references** option in the Property list (see *Configuring View properties*), or -- use the visibleReferences standard action (see *Dynamic expressions*), or -- use the [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) command with the `wk visible references` selector to **True**. +- cocher l'option **Afficher les références** dans la liste des propriétés (voir *Configuration des propriétés de vue*), ou +- utiliser l'action standard visibleReferences (voir *Expressions dynamiques*), ou +- utiliser la commande [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) avec le sélecteur `wk visible references` à **True**. Les références de formule peuvent être affichées en tant que : - textes sources (par défaut) -- symbols +- symboles - names -### References as source texts (default) +### Références en textes sources (par défaut) -When formulas are displayed as references, by default the source text of the formula appear in your document, with a default gray background (can be customized using the `wk formula highlight` selector). +Lorsque les formules sont affichées en tant que références, le texte source de la formule apparaît par défaut dans votre document, avec un arrière-plan gris (qui peut être personnalisé à l'aide du sélecteur `wk formula highlight`). Par exemple, vous avez inséré la date courante avec un format, la date s'affiche : @@ -189,25 +190,25 @@ Lorsque vous affichez les formules comme références, la **source** de la formu ![](../assets/en/WritePro/wp-formulas2.png) -### Les références comme symboles +### Références en symboles -When formula source texts are displayed in a document, the design could be confusing if you work on sophisticated templates using tables for example, and when formulas are complex: +Lorsque les textes sources des formules sont affichés dans un document, le rendu peut être confus si vous travaillez sur des modèles sophistiqués utilisant des tableaux, par exemple, et si les formules sont complexes : ![](../assets/en/WritePro/wp-formulas3.png) -In this case, you can display formula references as ![](../assets/en/WritePro/wp-formulas.png) symbols, so that the document is more compact: +Dans ce cas, vous pouvez afficher les références des formules sous forme de symboles ![](../assets/en/WritePro/wp-formulas.png), afin de rendre le document plus compact : ![](../assets/en/WritePro/wp-formulas4.png) -Pour afficher les références de formules en tant que symboles, vous pouvez: +Pour afficher les références de formules en tant que symboles, vous pouvez : -- check the **Display formula source as symbol option** in the Property list (see *Configuring View properties*), or -- use the displayFormulaAsSymbol standard action (see *Using 4D Write Pro standard actions*), or -- use the [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) command with the `wk display formula as symbol` selector to **True**. +- cocher l'option **Afficher la source de la formule comme symbole** dans la liste des propriétés (voir *Configuration des propriétés de vue*), ou +- utiliser l'action standard displayFormulaAsSymbol (voir *Utilisation des actions standard de 4D Write Pro*), ou +- utiliser la commande [**WP SET VIEW PROPERTIES**](commands-legacy/wp-set-view-properties.md) avec le sélecteur `wk display formula as symbol` sur **True**. -### References as names +### Références en noms -You can assign names to formulas, making 4D Write Pro template documents easier to read and understand for end-users. When formulas are displayed as references (and not displayed as symbols) and you have defined a name for a formula, the formula name is displayed. +Vous pouvez attribuer des noms aux formules, ce qui rend les modèles de documents de 4D Write Pro plus faciles à lire et à comprendre pour les utilisateurs. Lorsque les formules sont affichées comme des références (et non comme des symboles) et que vous avez défini un nom pour une formule, le nom de la formule est affiché. Par exemple, les références de formule suivantes sont affichées comme texte source par défaut : @@ -220,7 +221,7 @@ Si vous attribuez des noms de formule, ils sont affichés à la place des textes Pour attribuer un nom à une formule, vous devez utiliser la commande [WP Insert formula](commands/wp-insert-formula.md) avec un paramètre objet. Par exemple : ```4d - //inserts the previous day in the document + //insère le jour précédent dans le document $o:=New object("formula";Formula(Current date-1);"name";"Yesterday") $range:=WP Text range(WPArea;wk start text;wk end text) WP INSERT FORMULA($range;$o;wk append) @@ -231,30 +232,30 @@ Pour attribuer un nom à une formule, vous devez utiliser la commande [WP Insert :::note -Only inline formulas can have a name (formulas for anchored images, break rows, and table datasource formulas cannot have names). +Seules les formules en ligne peuvent avoir un nom (les formules pour les images ancrées, les ruptures et les formules de source de données de tableau ne peuvent pas avoir de nom). ::: -### Formula tips +### Infobulles des formules -Whatever the formula display mode, you can get additional information on formulas through **tips** that are displayed when you hover on formulas. +Quel que soit le mode d'affichage des formule, vous pouvez obtenir des informations supplémentaires sur une formule grâce aux **infobulles** qui s'affichent lorsque vous passez la souris sur la formule. -- When formulas do not have names, tips provide the source text of formulas: +- Lorsque les formules n'ont pas de nom, les infobulles fournissent le texte source des formules : ![](../assets/en/WritePro/wp-formulas7.png) -- When formulas have names but are displayed as values or as symbols, the tip provides the name of formulas: +- Lorsque les formules ont des noms mais sont affichées sous forme de valeurs ou de symboles, l'infobulle fournit le nom des formules : ![](../assets/en/WritePro/wp-formulas8.png) -In this context, you can display the source text of the formula by pressing **Ctrl** (Windows) or **Cmd** (macOS) while hovering on the formula. +Dans ce contexte, vous pouvez afficher le texte source de la formule en appuyant sur **Ctrl** (Windows) ou **Cmd** (macOS) tout en survolant la formule. -- When formulas have names and are displayed as names, no tip is displayed by default. - You can display the source text of the formula by pressing **Ctrl** (Windows) or **Cmd** (macOS) while hovering on the formula: +- Lorsque les formules ont des noms et sont affichées sous forme de noms, aucune infobulle n'est affichée par défaut. + Vous pouvez afficher le texte source de la formule en appuyant sur **Ctrl** (Windows) ou **Cmd** (macOS) tout en survolant la formule : [ ![](../assets/en/WritePro/wp-formulas9.png) #### Voir également -[Download HDI database](http://download.4d.com/Demos/4D_v16/HDI_4DWP_Filter4DExpressions.zip)
    -*Using commands from the Styled Text theme* +[Télécharger le HDI](http://download.4d.com/Demos/4D_v16/HDI_4DWP_Filter4DExpressions.zip)
    +*Utilisation des commandes du thème Styled Text* diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands-legacy/http-get.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands-legacy/http-get.md index b2c90f9483e5fb..ccab9d0578a19e 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands-legacy/http-get.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands-legacy/http-get.md @@ -53,7 +53,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Par exemple, les chaînes suivantes peuvent être passées : ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Lors des requêtes https, l’autorité du certificat n’est pas vérifiée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands-legacy/http-request.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands-legacy/http-request.md index 18a4b7d9cd51af..6dc972996dc125 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands-legacy/http-request.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands-legacy/http-request.md @@ -67,7 +67,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Par exemple, les chaînes suivantes peuvent être passées : ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Lors des requêtes https, l’autorité du certificat n’est pas vérifiée. diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/command-name.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/command-name.md index d3137fe963803f..b890631f2adfb1 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/command-name.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/command-name.md @@ -60,13 +60,13 @@ Le code suivant permet de charger toutes les commandes 4D valides dans un tablea Repeat $Lon_id:=$Lon_id+1 $Txt_command:=Command name($Lon_id) - If(OK=1) //command number exists - If(Length($Txt_command)>0) //command is not disabled + If(OK=1) //Le numéro de commande existe + If(Length($Txt_command)>0) //la commande n'est pas désactivée APPEND TO ARRAY($tTxt_commands;$Txt_command) APPEND TO ARRAY($tLon_Command_IDs;$Lon_id) End if End if - Until(OK=0) //end of existing commands + Until(OK=0) //fin des commandes existantes ``` ## Exemple 2 @@ -94,12 +94,12 @@ Dans la version anglaise de 4D, la liste déroulante contiendra : Sum, Average, Vous souhaitez créer une méthode qui renvoie **True** si la commande, dont le numéro est passé en paramètre, est thread-safe, et **False** dans le cas contraire. ```4d - //Is_Thread_Safe project method + //Méthode de projet Is_Thread_Safe #declare($command : Integer) : Boolean var $threadsafe : Integer var $name; $theme : Text $name:=Command name($command;$threadsafe;$theme) - If($threadsafe ?? 0) //if the first bit is set to 1 + If($threadsafe ?? 0) //si le premier bit est à 1 return True Else return False @@ -110,7 +110,7 @@ Ensuite, pour la commande "SAVE RECORD" (53) par exemple, vous pouvez écrire : ```4d $isSafe:=Is_Thread_Safe(53) - // returns True + // retourne True ``` ## Exemple 4 @@ -125,11 +125,11 @@ var $deprecated : Collection Repeat $Lon_id:=$Lon_id+1 $Txt_command:=Command name($Lon_id;$info) - If($info ?? 1) //the second bit is set to 1 - //then the command is deprecated + If($info ?? 1) //le deuxième bit est à 1 + //alors cette commande est obsolète $deprecated.push($Txt_command) End if -Until(OK=0) //end of existing commands +Until(OK=0) //fin des commandes existantes ``` diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/form-load.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/form-load.md index 2495acc4b71d8e..02c744d1334a87 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/form-load.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/form-load.md @@ -27,7 +27,7 @@ displayed_sidebar: docs | ------- | ----------------------------------------------- | | 20 | Modifié | | 16 R6 | Modifié | -| 14 | Renamed (OPEN PRINTING FORM) | +| 14 | Renommé (OPEN PRINTING FORM) | | 12 | Created | diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/license-info.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/license-info.md index baa6d3729daea4..51b54de2fb84c2 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/license-info.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/license-info.md @@ -140,7 +140,7 @@ Vous souhaitez obtenir des informations sur votre licence 4D Server courante : "expirationDate": {"day":1, "month":11, "year":2017} }, { "count": 10, - "expirationDate": {"day":1, "month":11, "year":2015} //expired, not counted + "expirationDate": {"day":1, "month":11, "year":2015} //expiré, non pris en compte } ], "usedCount": 12 diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/print-form.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/print-form.md index f2e77d9b888b9f..1872ec3df1c601 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/print-form.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/print-form.md @@ -139,21 +139,21 @@ Cette commande permet d'imprimer des zones et des objets externes (par exemple, L'exemple suivant effectue la même chose que ce que ferait la commande [PRINT SELECTION](../commands-legacy/print-selection.md). Cependant, l'état utilise deux formulaires différents suivant le type d'enregistrement (chèque émis ou dépôt) : ```4d - QUERY([Register]) // Select the records + QUERY([Register]) // Sélectionnez les enregistrements If(OK=1) - ORDER BY([Register]) // Sort the records + ORDER BY([Register]) // Trier les enregistrements If(OK=1) - PRINT SETTINGS // Display Printing dialog boxes + PRINT SETTINGS // Afficher les boîtes de dialogue d'impression If(OK=1) For($vlRecord;1;Records in selection([Register])) If([Register]Type ="Check") - Print form([Register];"Check Out") // Use one form for checks + Print form([Register];"Check Out") // Utilisez un seul formulaire pour les chèques Else - Print form([Register];"Deposit Out") // Use another form for deposits + Print form([Register];"Deposit Out") // Utilisez un autre formulaire pour les dépôts End if NEXT RECORD([Register]) End for - PAGE BREAK // Make sure the last page is printed + PAGE BREAK // Assurez-vous que la dernière page est bien imprimée End if End if End if diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/session-storage.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/session-storage.md index 15747035cfa380..8810e700359231 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/session-storage.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/session-storage.md @@ -44,8 +44,8 @@ L'objet renvoyé est la propriété [**.storage**](../API/SessionClass.md#storag Cette méthode modifie la valeur d'une propriété "settings" stockée dans l'objet storage d'une session spécifique : ```4d - //Set storage for a session - //The "Execute On Server" method property is set + //Définir l'espace de stockage pour une session + //La propriété "Exécuter sur le serveur" de la méthode est définie #DECLARE($id : Text; $text : Text) var $obj : Object diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/ClassClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/ClassClass.md index 7c79e83e6bda03..b65742cd7aa9ce 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/ClassClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/ClassClass.md @@ -3,7 +3,7 @@ id: ClassClass title: Class --- -プロジェクトにおいてユーザークラスが [定義](Concepts/classes.md#クラス定義) されていれば、それは 4Dランゲージ環境に読み込まれます。 クラスとは、それ自身が "Class" クラスのオブジェクトであり、プロパティと関数を持ちます。 +When a user class is [defined](../Project/code-overview.md#creating-classes) in the project, it is loaded in the 4D language environment. クラスとは、それ自身が "Class" クラスのオブジェクトであり、プロパティと関数を持ちます。 ### 概要 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/SessionClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/SessionClass.md index 11677b8cce8495..c6f5af89d1a28b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/SessionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/SessionClass.md @@ -855,7 +855,7 @@ End if クライアント/サーバーでは、リモートユーザーセッションの `.storage` オブジェクトは、サーバーまたはクライアントのものとは**同じではありません**。 -リモートユーザーセッションとWeb セッションが[OTP を使用して共有されていた](../Desktop/sessions.md#sharing-a-desktop-session-for-web-accesses) 場合、これらはたとえOTP がクライアント側のセッションから[作成](#createotp) されていた場合でも、同じ`.storage` オブジェクトをサーバー上で共有します。 +リモートユーザーセッションとWeb セッションが[OTP を使用して共有されていた](../Desktop/sessions.md#sharing-a-remote-session-for-web-accesses) 場合、これらはたとえOTP がクライアント側のセッションから[作成](#createotp) されていた場合でも、同じ`.storage` オブジェクトをサーバー上で共有します。 :::tip diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Admin/data-collect.md b/i18n/ja/docusaurus-plugin-content-docs/current/Admin/data-collect.md index b58572d7ff4350..e7969cdc4a341b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Admin/data-collect.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Admin/data-collect.md @@ -3,7 +3,7 @@ id: data-collect title: データ収集 --- -4D製品を改善し続けるために、実行中の 4D Server アプリケーションの使用状況データを自動的に収集します。 収集されたデータは、ユーザーエクスペリエンスに影響を与えない形で送信されます。 個人データは収集されません。 For more information on 4D policy regarding personal data protection, please visit [this page](https://us.4d.com/privacy-policy). +4D製品を改善し続けるために、実行中の 4D Server アプリケーションの使用状況データを自動的に収集します。 収集されたデータは、ユーザーエクスペリエンスに影響を与えない形で送信されます。 個人データは収集されません。 個人データ保護に関する4D ポリシーの詳細については、[こちらのページ](https://us.4d.com/privacy-policy)を参照してください。 以下の章では次のようなことを説明しています: @@ -24,115 +24,115 @@ title: データ収集 また、一部のデータは一定時間ごとに収集されます。 -| データ | 型 | 注記 | -| ----------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| appServer | Object | Object containing application server information | -| appServer.hits | Number | Number of requests from internal processes | -| appServer.bytesIn | Number | Bytes received by internal processes | -| appServer.bytesOut | Number | Bytes sent by internal processes | -| appServer.executionTime | Number | CPU execution time for internal processes | -| cacheMissBytes | Object | キャッシュミスバイト数 | -| cacheMissCount | Object | キャッシュミス回数 | -| cacheReadBytes | Object | キャッシュから読み出したバイト数 | -| cacheReadCount | Object | キャッシュの読み出し回数 | -| classUsage | Object | 特定の言語クラスのインスタンス数 | -| connectionSystems | Collection | ビルド番号 (括弧内) なしのクライアントOSと、それを使用しているクライアント数 | -| databases[].cacheSize | Number | キャッシュのサイズ (バイト単位) | -| databases[].externalDatastoreOpened | Number | `Open datastore` への呼び出し回数 | -| databases[].id | Number | Database ID | -| databases[].internalDatastoreOpened | Number | 外部サーバーによってデータストアが開かれた回数 | -| databases[].maxConcurrent4DClients | Number | Maximum number of simultaneous 4D Client sessions (using a 4D Client license) over the collection interval | -| databases[].maxConcurrentRestSessions | Number | Maximum number of simultaneous REST sessions over the collection interval | -| databases[].maxConcurrentWebSessions | Number | Maximum number of simultaneous Web sessions (4DACTION and SOAP) over the collection interval | -| databases[].maximum4DClientConnections | Number | サーバーへのクライアントの最大接続数 | -| databases[].numberOfDistinctClients | Number | Distinct count of client persistent UUID seen over collection interval | -| databases[].numberOfFields | Number | フィールドの数 | -| databases[].numberOfKeepRecordSyncInfo | Number | "複製を許可"オプションがチェックされているテーブルの数 | -| databases[].numberOfRecordsMax | Number | レコードの総数 | -| databases[].numberOfTables | Number | テーブルの総数 | -| databases[].qodly.webforms | Number | Qodly Webフォームの数 | -| databases[].remoteDebugger4DRemoteAttachments | Number | リモート4D から有効化されているリモートデバッガの数 | -| databases[].remoteDebuggerQodlyAttachments | Number | Qodly から有効化されているリモートデバッガの数 | -| databases[].remoteDebuggerVSCodeAttachments | Number | VS Code から有効化されているリモートデバッガの数 | -| databases[].structureHash | Text | | -| databases[].uniqueID | Text (ハッシュ文字列) | データベースに関連付けられた一意の id (*データベース名の多項式ローリングハッシュ*) | -| databases[].uptime | Number | Time elapsed (in seconds) between two collection events | -| databases[].uuid | Text | Database UUID | -| databases[].webIPAddressesNumber | Number | 4D Server へのリクエストを行った異なるIP アドレスの数 | -| databases[].webMaxScalableSessions | Number | Maximum number of scalable sessions on the server | -| databases[].webScalableSessions | Boolean | スケーラブルセッションが有効化されている場合にはTrue | -| dataSegment1.diskReadBytes | Object | データファイルから読み取ったバイト数 | -| dataSegment1.diskReadCount | Object | データファイルからの読み取り回数 | -| dataSegment1.diskWriteBytes | Object | データファイルに書き込んだバイト数 | -| dataSegment1.diskWriteCount | Object | データファイルへの書き込み回数 | -| dataSize | Number | データファイルのサイズ (バイト単位) | -| dbServer | Object | Object containing DB4D server information | -| dbServer.hits | Number | Number of requests from internal processes | -| dbServer.bytesIn | Number | Bytes received by internal processes | -| dbServer.bytesOut | Number | Bytes sent by internal processes | -| dbServer.executionTime | Number | CPU execution time for internal processes | -| encryptedConnections | Boolean | クライアント/サーバー接続が暗号化されている場合は True | -| externalPHP | Boolean | クライアントが `PHP execute` を呼び出して、独自のバージョンの php を使用した場合は True。 | -| general.buildNumber | Number | 4Dアプリケーションのビルド番号 | -| general.headless | Boolean | アプリケーションがヘッドレスモードで実行されている場合は true | -| general.isRosetta | Boolean | macOS の Rosetta で 4D がエミュレートされている場合は True、そうでない場合は False (エミュレートされていない、または Windows の場合)。 | -| general.license | Object | 製品ライセンスの名称と説明 | -| general.uniqueID | Text | 4D Server の固有ID | -| general.version | Text | 4Dアプリケーションのバージョン番号 | -| hasDataChangeTracking | Boolean | "__DeletedRecords" テーブルが存在する場合にはTrue | -| indexSegment.diskReadBytes | Number | インデックスファイルから読み取ったバイト数 | -| indexSegment.diskReadCount | Number | インデックスファイルからの読み取り回数 | -| indexSegment.diskWriteBytes | Number | インデックスファイルに書き込んだバイト数 | -| indexSegment.diskWriteCount | Number | インデックスファイルへの書き込み回数 | -| indexSize | Number | インデックスのサイズ (バイト単位) | -| isCompiled | Boolean | アプリケーションがコンパイル済みの場合は true | -| isEncrypted | Boolean | データファイルが暗号化されていれば true | -| isEngined | Boolean | アプリケーションに 4D Volume Desltop が組み込まれている場合は true | -| isProjectMode | Boolean | アプリケーションがプロジェクトの場合は true | -| LDAPLogin | Number | `LDAP LOGIN` の呼び出し回数 | -| license.sffPrimaryKey | Number | Server master product number | -| machine.CPU | Text | プロセッサーの名前、種類、および速度 | -| machine.memory | Number | マシン上で利用可能なメモリ容量 (バイト単位) | -| machine.numberOfCores | Number | コアの合計数 | -| machine.system | Text | OS のバージョンとビルド番号 | -| maximumNumberOfWebProcesses | Number | 最大同時Webプロセス数 | -| maximumUsedPhysicalMemory | Number | 最大使用した物理メモリ | -| maximumUsedVirtualMemory | Number | 最大使用した仮想メモリ | -| mobile | Collection | モバイルセッションに関する情報 | -| numberOfWebServices | Number | Webサービスとして公開されているメソッドの数 | -| ODBCLogin | Number | ODBC を使用しての `SQL LOGIN`への呼出回数 | -| phpCall | Number | `PHP execute` の呼び出し回数 | -| QueryBySQL | Number | `QUERY BY SQL` への呼出回数 | -| restServer | Object | Object containing REST server information | -| restServer.bytesIn | Number | Bytes received by the REST server | -| restServer.bytesOut | Number | Bytes sent by the REST server | -| restServer.hits | Number | Number of hits on the REST server | -| restServer.executionTime | Number | CPU execution time for the REST WEB server | -| soapServer | Object | Object containing SOAP server information | -| soapServer.bytesIn | Number | Bytes received by the SOAP server | -| soapServer.bytesOut | Number | Bytes sent by the SOAP server | -| soapServer.hits | Number | Number of hits on the SOAP server | -| soapServer.executionTime | Number | CPU execution time for the SOAP server | -| SQLBeginEndStatement | Number | `Begin SQL` / `End SQL` の使用回数 | -| SQLLoginInternal | Number | SQL_INTERNAL を使用しての `SQL LOGIN` の呼出回数 | -| sqlServer | Object | Object containing SQL server information | -| sqlServer.hits | Number | Number of SQL queries executed | -| sqlServer.bytesIn | Number | Bytes received by the SQL engine | -| sqlServer.bytesOut | Number | Bytes sent by the SQL engine | -| sqlServer.executionTime | Number | CPU execution time for SQL queries | -| usingQUICNetworkLayer | Boolean | データベースが QUICネットワークレイヤーを使用している場合は True | -| totalExecutionTime | Number | Total CPU execution time: sum of all request types | -| totalRequests | Number | Total requests: sum of web, REST, SOAP, SQL, and internal traffic | -| webServer | Object | Object containing Web server information | -| webServer.bytesIn | Number | Bytes received by the Web server | -| webServer.bytesOut | Number | Bytes sent by the Web server | -| webServer.hits | Number | Number of hits on the Web server | -| webServer.executionTime | Number | CPU execution time for the Web server | -| webStaticServer | Object | Object containing the static Web server information | -| webStaticServer.bytesIn | Number | Bytes received by the static Web server | -| webStaticServer.bytesOut | Number | Bytes sent by the static Web server | -| webStaticServer.hits | Number | Number of hits on the static Web server | -| webStaticServer.executionTime | Number | CPU execution time for the static Web server | +| データ | 型 | 注記 | +| ----------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| appServer | Object | アプリケーションサーバー情報に関する情報を格納したオブジェクト | +| appServer.hits | Number | 内部プロセスからのリクエスト数 | +| appServer.bytesIn | Number | 内部プロセスから受信したバイト数 | +| appServer.bytesOut | Number | 内部プロセスから送信されたバイト数 | +| appServer.executionTime | Number | 内部プロセスのCPU実行時間 | +| cacheMissBytes | Object | キャッシュミスバイト数 | +| cacheMissCount | Object | キャッシュミス回数 | +| cacheReadBytes | Object | キャッシュから読み出したバイト数 | +| cacheReadCount | Object | キャッシュの読み出し回数 | +| classUsage | Object | 特定の言語クラスのインスタンス数 | +| connectionSystems | Collection | ビルド番号 (括弧内) なしのクライアントOSと、それを使用しているクライアント数 | +| databases[].cacheSize | Number | キャッシュのサイズ (バイト単位) | +| databases[].externalDatastoreOpened | Number | `Open datastore` への呼び出し回数 | +| databases[].id | Number | データベースID | +| databases[].internalDatastoreOpened | Number | 外部サーバーによってデータストアが開かれた回数 | +| databases[].maxConcurrent4DClients | Number | 回収期間の中での、(4D クライアントライセンスを使用した)同時4Dクライアントセッションの最大数 | +| databases[].maxConcurrentRestSessions | Number | 回収期間の中での同時REST セッション最大数 | +| databases[].maxConcurrentWebSessions | Number | 回収期間の中での同時Web セッション(4DACTIPN およびSOAP)の最大数 | +| databases[].maximum4DClientConnections | Number | サーバーへのクライアントの最大接続数 | +| databases[].numberOfDistinctClients | Number | 回収期間の中で見られた永続的なクライアントUUID の固有数 | +| databases[].numberOfFields | Number | フィールドの数 | +| databases[].numberOfKeepRecordSyncInfo | Number | "複製を許可"オプションがチェックされているテーブルの数 | +| databases[].numberOfRecordsMax | Number | レコードの総数 | +| databases[].numberOfTables | Number | テーブルの総数 | +| databases[].qodly.webforms | Number | Qodly Webフォームの数 | +| databases[].remoteDebugger4DRemoteAttachments | Number | リモート4D から有効化されているリモートデバッガの数 | +| databases[].remoteDebuggerQodlyAttachments | Number | Qodly から有効化されているリモートデバッガの数 | +| databases[].remoteDebuggerVSCodeAttachments | Number | VS Code から有効化されているリモートデバッガの数 | +| databases[].structureHash | Text | | +| databases[].uniqueID | Text (ハッシュ文字列) | データベースに関連付けられた一意の id (*データベース名の多項式ローリングハッシュ*) | +| databases[].uptime | Number | 二つの回収イベント間での経過時間(秒単位) | +| databases[].uuid | Text | データベース UUID | +| databases[].webIPAddressesNumber | Number | 4D Server へのリクエストを行った異なるIP アドレスの数 | +| databases[].webMaxScalableSessions | Number | サーバー上でのスケーラブルセッションの最大数 | +| databases[].webScalableSessions | Boolean | スケーラブルセッションが有効化されている場合にはTrue | +| dataSegment1.diskReadBytes | Object | データファイルから読み取ったバイト数 | +| dataSegment1.diskReadCount | Object | データファイルからの読み取り回数 | +| dataSegment1.diskWriteBytes | Object | データファイルに書き込んだバイト数 | +| dataSegment1.diskWriteCount | Object | データファイルへの書き込み回数 | +| dataSize | Number | データファイルのサイズ (バイト単位) | +| dbServer | Object | DB4D サーバーの情報を格納したオブジェクト | +| dbServer.hits | Number | 内部プロセスからのリクエスト数 | +| dbServer.bytesIn | Number | 内部プロセスから受信したバイト数 | +| dbServer.bytesOut | Number | 内部プロセスから送信されたバイト数 | +| dbServer.executionTime | Number | 内部プロセスのCPU実行時間 | +| encryptedConnections | Boolean | クライアント/サーバー接続が暗号化されている場合は True | +| externalPHP | Boolean | クライアントが `PHP execute` を呼び出して、独自のバージョンの php を使用した場合は True。 | +| general.buildNumber | Number | 4Dアプリケーションのビルド番号 | +| general.headless | Boolean | アプリケーションがヘッドレスモードで実行されている場合は true | +| general.isRosetta | Boolean | macOS の Rosetta で 4D がエミュレートされている場合は True、そうでない場合は False (エミュレートされていない、または Windows の場合)。 | +| general.license | Object | 製品ライセンスの名称と説明 | +| general.uniqueID | Text | 4D Server の固有ID | +| general.version | Text | 4Dアプリケーションのバージョン番号 | +| hasDataChangeTracking | Boolean | "__DeletedRecords" テーブルが存在する場合にはTrue | +| indexSegment.diskReadBytes | Number | インデックスファイルから読み取ったバイト数 | +| indexSegment.diskReadCount | Number | インデックスファイルからの読み取り回数 | +| indexSegment.diskWriteBytes | Number | インデックスファイルに書き込んだバイト数 | +| indexSegment.diskWriteCount | Number | インデックスファイルへの書き込み回数 | +| indexSize | Number | インデックスのサイズ (バイト単位) | +| isCompiled | Boolean | アプリケーションがコンパイル済みの場合は true | +| isEncrypted | Boolean | データファイルが暗号化されていれば true | +| isEngined | Boolean | アプリケーションに 4D Volume Desltop が組み込まれている場合は true | +| isProjectMode | Boolean | アプリケーションがプロジェクトの場合は true | +| LDAPLogin | Number | `LDAP LOGIN` の呼び出し回数 | +| license.sffPrimaryKey | Number | サーバーのマスタープロダクト番号 | +| machine.CPU | Text | プロセッサーの名前、種類、および速度 | +| machine.memory | Number | マシン上で利用可能なメモリ容量 (バイト単位) | +| machine.numberOfCores | Number | コアの合計数 | +| machine.system | Text | OS のバージョンとビルド番号 | +| maximumNumberOfWebProcesses | Number | 最大同時Webプロセス数 | +| maximumUsedPhysicalMemory | Number | 最大使用した物理メモリ | +| maximumUsedVirtualMemory | Number | 最大使用した仮想メモリ | +| mobile | Collection | モバイルセッションに関する情報 | +| numberOfWebServices | Number | Webサービスとして公開されているメソッドの数 | +| ODBCLogin | Number | ODBC を使用しての `SQL LOGIN`への呼出回数 | +| phpCall | Number | `PHP execute` の呼び出し回数 | +| QueryBySQL | Number | `QUERY BY SQL` への呼出回数 | +| restServer | Object | REST サーバーの情報を格納したオブジェクト | +| restServer.bytesIn | Number | REST サーバーで受信されたバイト | +| restServer.bytesOut | Number | REST サーバーから送信されたバイト | +| restServer.hits | Number | REST サーバー上のヒット数 | +| restServer.executionTime | Number | REST Web サーバーのCPU 実行時間 | +| soapServer | Object | SOAP サーバー情報を格納したオブジェクト | +| soapServer.bytesIn | Number | SOAP サーバーで受信されたバイト | +| soapServer.bytesOut | Number | SOAP サーバーから送信されたバイト | +| soapServer.hits | Number | SOAP サーバー上のヒット数 | +| soapServer.executionTime | Number | SOAP サーバーのCPU 実行時間 | +| SQLBeginEndStatement | Number | `Begin SQL` / `End SQL` の使用回数 | +| SQLLoginInternal | Number | SQL_INTERNAL を使用しての `SQL LOGIN` の呼出回数 | +| sqlServer | Object | SQL サーバー情報を格納したオブジェクト | +| sqlServer.hits | Number | 実行されたSQL クエリの数 | +| sqlServer.bytesIn | Number | SQL エンジンで受信されたバイト | +| sqlServer.bytesOut | Number | SQL エンジンによって送信されたバイト | +| sqlServer.executionTime | Number | SQL クエリのCPU 実行時間 | +| usingQUICNetworkLayer | Boolean | データベースが QUICネットワークレイヤーを使用している場合は True | +| totalExecutionTime | Number | CPU 総実行時間: 全てのリクエストタイプの合計 | +| totalRequests | Number | リクエスト総数: Web、REST、SOAP、SQL、および内部トラフィックの総数 | +| webServer | Object | Web サーバー情報を格納したオブジェクト | +| webServer.bytesIn | Number | Web サーバーで受信されたバイト | +| webServer.bytesOut | Number | Web サーバーから送信されたバイト | +| webServer.hits | Number | Web サーバー上のヒット数 | +| webServer.executionTime | Number | Web サーバーのCPU 実行時間 | +| webStaticServer | Object | スタティックなWeb サーバー情報を格納したオブジェクト | +| webStaticServer.bytesIn | Number | スタティックなWeb サーバーによって受信されたバイト | +| webStaticServer.bytesOut | Number | スタティックなWeb サーバーによって送信されたバイト | +| webStaticServer.hits | Number | スタティックなWeb サーバー上のヒット数 | +| webStaticServer.executionTime | Number | スタティックなWeb サーバーのCPU 実行時間 | ## 保存先と送信先 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/classes.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/classes.md index 05b4e237d9e0d3..df96e5ced940eb 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/classes.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/classes.md @@ -67,7 +67,7 @@ $hello:=$person.sayHello() // "Hello John Doe" -`cs` コマンドは、カレントプロジェクトまたはコンポーネントのユーザークラスストアを返します。 これには、プロジェクトまたはコンポーネントにて [定義](#クラス定義) されている、すべてのユーザークラスが含まれます。 デフォルトでは、 [ORDAクラス](ORDA/ordaClasses.md) のみ利用可能です。 +`cs` コマンドは、カレントプロジェクトまたはコンポーネントのユーザークラスストアを返します。 It returns all user classes [defined](../Project/code-overview.md#creating-classes) in the opened project or component. デフォルトでは、 [ORDAクラス](ORDA/ordaClasses.md) のみ利用可能です。 #### 例題 @@ -931,7 +931,7 @@ End if `server` の関数の引数と戻り値は、[**ストリーム可能**](./dt_object.md#ストリーミングサポート) ストリーム可能でなければなりません。 例えば、[4D.Datastore](../API/DataStoreClass.md)、[File handle](../API/FileHandleClass.md)、あるいは [WebServer](../API/WebServerClass.md) などはストリーム不可能なクラスですが、 [4D.File](../API/FileClass.md) クラスはストリーム可能です。 -この機能は、特に[リモートユーザーセッション](../Desktop/sessions.md#リモートユーザーセッション) のコンテキストにおいて有用で、これを使用することでビジネスロジックを[セッションシングルトン](#shared-or-session-singleton-functions) に実装することでセッションの全てのプロセス間でこれを共有することができ、結果として[`Session`](../commands/session) コマンドの機能を拡張することが可能になります。 この場合、全てのセッション情報がサーバーに集められる様に、関連するビジネスロジックが**サーバー上で**実行されるようにしたい場合があるかもしれません。 +この機能は、特に[リモートユーザーセッション](../Desktop/sessions.md#リモートユーザーセッション) のコンテキストにおいて有用で、これを使用することでビジネスロジックを[セッションシングルトン](../Concepts/classes.md#session-singleton) に実装することでセッションの全てのプロセス間でこれを共有することができ、結果として[`Session`](../commands/session) コマンドの機能を拡張することが可能になります。 この場合、全てのセッション情報がサーバーに集められる様に、関連するビジネスロジックが**サーバー上で**実行されるようにしたい場合があるかもしれません。 この場合、全てのセッション情報がサーバーに集められる様に、関連するビジネスロジックが**サーバー上で**実行されるようにしたい場合があるかもしれません。 デフォルトで、共有シングルトンまたはセッションシングルトンの関数はローカルに実行されます。 `server` キーワードをクラス関数定義に追加することで、4D はシングルトンインスタンスをサーバー上で使用します。 この場合、まだインスタンスが存在していない場合、サーバー上でシングルトンのインスタンス化が起こりうることに注意してください。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/methods.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/methods.md index 54432cce1ac618..20a3f64da23255 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/methods.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/methods.md @@ -13,13 +13,13 @@ title: メソッド 4D ランゲージにおいて、数種類のメソッドが存在します。 その呼び出し方によって、メソッドは区別されます: -| 型 | 自動呼び出しのコンテキスト | 引数の受け取り | 説明 | -| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **プロジェクトメソッド** | 呼び出しに応じて ([プロジェクトメソッドの呼び出し](#calling-project-methods) 参照) | ◯ | 任意のアクションを実行するためのコードです。 作成されたプロジェクトメソッドは、そのプロジェクトのランゲージの一部となります。 | -| **オブジェクト (ウィジェット) メソッド** | メソッドが設定されたフォームオブジェクトに関連したイベント発生時に | × | フォームオブジェクト (ウィジェットとも呼びます) のプロパティです。 | -| **フォームメソッド** | メソッドが設定されたフォームに関連したイベント発生時に | × | フォームのプロパティです。 フォームメソッドを使用してデータとオブジェクトを管理することができます。ただし、これら目的には、オブジェクトメソッドを使用する方が通常は簡単であり、より効果的です。 | -| **トリガー** (別名 *テーブルメソッド*) | テーブルのレコード操作 (追加・削除・修正) の度に | × | テーブルのプロパティです。 トリガーは、データベースのレコードに対して「不正な」操作がおこなわれることを防ぎます。 | -| **データベースメソッド** | 作業セッションのイベント発生時に | ○ (既定) | 4D には 16のデータベースメソッドがあります。 | -| **クラス** | クラスのオブジェクトがインスタンス化されたとき、あるいは他のメソッドや[データベースフィールド](../Develop/field-properties.md#class) 内においてオブジェクトインスタンス上でクラスの関数が実行されたときに自動的に呼び出されます。 | ◯(クラス関数) | オブジェクトのクラスの[constructor](./classes.md#class-constructor), [properties](./classes.md#property*) と[関数](./classes.md#function) を宣言および設定するためには、**Class** が使用されます。 [**クラス**](classes.md) 参照。 | +| 型 | 自動呼び出しのコンテキスト | 引数の受け取り | 説明 | +| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **プロジェクトメソッド** | On demand, when the project method name [is called](../Project/project-method-properties.md) | ◯ | 任意のアクションを実行するためのコードです。 作成されたプロジェクトメソッドは、そのプロジェクトのランゲージの一部となります。 | +| **オブジェクト (ウィジェット) メソッド** | メソッドが設定されたフォームオブジェクトに関連したイベント発生時に | × | フォームオブジェクト (ウィジェットとも呼びます) のプロパティです。 | +| **フォームメソッド** | メソッドが設定されたフォームに関連したイベント発生時に | × | フォームのプロパティです。 フォームメソッドを使用してデータとオブジェクトを管理することができます。ただし、これら目的には、オブジェクトメソッドを使用する方が通常は簡単であり、より効果的です。 | +| **トリガー** (別名 *テーブルメソッド*) | テーブルのレコード操作 (追加・削除・修正) の度に | × | テーブルのプロパティです。 トリガーは、データベースのレコードに対して「不正な」操作がおこなわれることを防ぎます。 | +| **データベースメソッド** | 作業セッションのイベント発生時に | ○ (既定) | 4D には 16のデータベースメソッドがあります。 | +| **クラス** | クラスのオブジェクトがインスタンス化されたとき、あるいは他のメソッドや[データベースフィールド](../Develop/field-properties.md#class) 内においてオブジェクトインスタンス上でクラスの関数が実行されたときに自動的に呼び出されます。 | ◯(クラス関数) | オブジェクトのクラスの[constructor](./classes.md#class-constructor), [properties](./classes.md#property) と[関数](./classes.md#function) を宣言および設定するためには、**Class** が使用されます。 [**クラス**](classes.md) 参照。 [**クラス**](classes.md) 参照。 | diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Desktop/clientServer.md b/i18n/ja/docusaurus-plugin-content-docs/current/Desktop/clientServer.md index 78eac711d90790..f156c6e5a7c614 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Desktop/clientServer.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Desktop/clientServer.md @@ -131,20 +131,20 @@ title: クライアント/サーバー管理 以下の表は、デフォルトでのコードの実行場所と、その実行場所を切り替えるための方法(許可されていれば)をまとめたものです。 この表での **ローカル** とは、コードはそれが実際に呼ばれたマシン上で実行されることを意味するという点に注意してください。 -| コード | デフォルトの実行場所 | 切り替え方法 | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [ORDA データモデル関数](../ORDA/ordaClasses.md) | server | 関数定義内で `local` キーワードを使用 | -| ORDA 計算属性関数のうち [`get()`](../ORDA/ordaClasses.md#function-get-attributename)、 [`set()`](../ORDA/ordaClasses.md#function-set-attributename) | server | 関数定義内で `local` キーワードを使用 | -| ORDA 計算属性関数のうち [`query()`](../ORDA/ordaClasses.md#function-query-attributename)、 [`orderBy()`](../ORDA/ordaClasses.md#function-orderby-attributename) | server | n/a | -| ORDA イベント関数 [(全般)](../ORDA/orda-events.md) | server | n/a | -| ORDA イベント関数 [`constructor()`](../ORDA/ordaClasses.md#class-constructor-1) | ローカル | n/a | -| ORDA イベント関数 [`event touched()`](../ORDA/orda-events.md#function-event-touched) | server | 関数定義内で `local` キーワードを使用 | -| [ユーザークラス関数](../Concepts/classes.md#function) | ローカル | n/a | -| [共有シングルトンまたは施ッションシングルトンの関数](../Concepts/classes.md#シングルトンクラス) | ローカル | 関数定義内で `server` キーワードを使用 | -| トリガ | server | n/a | -| クライアントから呼び出されたプロジェクトメソッド | client | [**サーバー上で実行する** オプション](../Project/project-method-properties.md#サーバー上で実行) をチェックする。 コードは、[ユーザーセッションプロセス](./sessions.md#remote-user-sessions-remote-user-sessions) のツインプロセス内で実行されます。 | -| | | [`Execute on server`](../commands/execute-on-server) コマンドを呼び出す。 コードは[ストアドプロシージャセッション](./sessions.md#stored-procedure-sessions-stored-procedure-sessions) 内で実行されます。 | -| サーバー上のストアドプロシージャから呼び出されたプロジェクトメソッド | server | [`EXECUTE ON CLIENT`](../commands/execute-on-client) コマンドを呼び出す。 ターゲットとなるクライアントは [登録されている](../commands/register-client) 必要があります。 | -| オブジェクトメソッド | ローカル | n/a | -| 以下のデータベースメソッド:
    • On Backup Shutdown
    • On Backup Startup
    • On Server Close Connection
    • On Server Open Connection
    • On Server Shutdown
    • On Server Startup
    • On SQL Authentication
    • On Web Authentication
    • On Web Connection
    | server | n/a | -| 以下のデータベースメソッド:
    • On Startup
    • On Exit
    • On Drop
    | client | n/a | \ No newline at end of file +| コード | デフォルトの実行場所 | 切り替え方法 | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| [ORDA データモデル関数](../ORDA/ordaClasses.md) | server | 関数定義内で `local` キーワードを使用 | +| ORDA 計算属性関数のうち [`get()`](../ORDA/ordaClasses.md#function-get-attributename)、 [`set()`](../ORDA/ordaClasses.md#function-set-attributename) | server | 関数定義内で `local` キーワードを使用 | +| ORDA 計算属性関数のうち [`query()`](../ORDA/ordaClasses.md#function-query-attributename)、 [`orderBy()`](../ORDA/ordaClasses.md#function-orderby-attributename) | server | n/a | +| ORDA イベント関数 [(全般)](../ORDA/orda-events.md) | server | n/a | +| ORDA イベント関数 [`constructor()`](../ORDA/ordaClasses.md#class-constructor-1) | ローカル | n/a | +| ORDA イベント関数 [`event touched()`](../ORDA/orda-events.md#function-event-touched) | server | 関数定義内で `local` キーワードを使用 | +| [ユーザークラス関数](../Concepts/classes.md#function) | ローカル | n/a | +| [共有シングルトンまたは施ッションシングルトンの関数](../Concepts/classes.md#シングルトンクラス) | ローカル | 関数定義内で `server` キーワードを使用 | +| トリガ | server | n/a | +| クライアントから呼び出されたプロジェクトメソッド | client | [**サーバー上で実行する** オプション](../Project/project-method-properties.md#サーバー上で実行) をチェックする。 コードは、[ユーザーセッションプロセス](./sessions.md#remote-user-sessions) のツインプロセス内で実行されます。 | +| | | [`Execute on server`](../commands/execute-on-server) コマンドを呼び出す。 コードは[ストアドプロシージャセッション](./sessions.md#stored-procedure-sessions) 内で実行されます。 | +| サーバー上のストアドプロシージャから呼び出されたプロジェクトメソッド | server | [`EXECUTE ON CLIENT`](../commands/execute-on-client) コマンドを呼び出す。 ターゲットとなるクライアントは [登録されている](../commands/register-client) 必要があります。 | +| オブジェクトメソッド | ローカル | n/a | +| 以下のデータベースメソッド:
    • On Backup Shutdown
    • On Backup Startup
    • On Server Close Connection
    • On Server Open Connection
    • On Server Shutdown
    • On Server Startup
    • On SQL Authentication
    • On Web Authentication
    • On Web Connection
    | server | n/a | +| 以下のデータベースメソッド:
    • On Startup
    • On Exit
    • On Drop
    | client | n/a | diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Desktop/sessions.md b/i18n/ja/docusaurus-plugin-content-docs/current/Desktop/sessions.md index a4aa007beeedd2..83780b886e96e9 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Desktop/sessions.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Desktop/sessions.md @@ -164,7 +164,7 @@ Session.setPrivileges("viewProducts") ### 効果 -スタンドアロンセッションでも、Web セッションと [OTP 共有](#sharing-a-desktop-session-for-web-accesses)を使用することでクライアント/サーバーアプリケーションの開発とテストを行うことができます。 スタンドアロンセッション内のコードでも、リモートセッションにおける `session` オブジェクトと同じように `session` オブジェクトを使用することができます。 +スタンドアロンセッションでも、Web セッションと [OTP 共有](#sharing-a-remote-session-for-web-accesses)を使用することでクライアント/サーバーアプリケーションの開発とテストを行うことができます。 スタンドアロンセッション内のコードでも、リモートセッションにおける `session` オブジェクトと同じように `session` オブジェクトを使用することができます。 スタンドアロンセッション内のコードでも、リモートセッションにおける `session` オブジェクトと同じように `session` オブジェクトを使用することができます。 ### 利用可能性 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Develop/async.md b/i18n/ja/docusaurus-plugin-content-docs/current/Develop/async.md index 90227a7f291628..bb9e352e37c85d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Develop/async.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Develop/async.md @@ -16,17 +16,18 @@ title: 非同期実行 - タスクの実行が厳密な順番に従う必要があるとき。 - パフォーマンスへの影響が最小限である(例: 素早いオペレーション)。 - ブロッキングが許容可能な、シングルスレッドでのコンテキストで実行される。 -- 同期実行はUI をブロックするため、ブロックが起きても許容され得る、素早く順序付けされたタスクに対して適しています。 + +同期実行はUI をブロックするため、ブロックが起きても許容され得る、素早く順序付けされたタスクに対して適しています。 #### 非同期実行 -非同期実行は**イベント駆動型**であり、タスクを実行中でも他の操作を完了させることができます。 これは実行フローを管理するために、 **コールバック**、**ワーカー**、および **イベントハンドラ** といったものに依存します。 +Asynchronous execution is **event-driven** and allows other operations to complete. これは実行フローを管理するために、 **コールバック**、**ワーカー**、および **イベントハンドラ** といったものに依存します。 非同期実行は以下のような場合で使用されます: - 操作が長時間にわたる(例: サーバーのレスポンスを待つなど)。 - レスポンシブネスの良さが重要である場合(例: UI インタラクションなど)。 -- バックグラウンド処理、ネットワーク通信、あるいは並列処理などを実行する場合。 +- Background tasks, network communication, or parallel processing are performed. 同期的実行と非同期実行のどちらを選んだら良いかについては、以下の表をご覧下さい: @@ -41,25 +42,25 @@ title: 非同期実行 ## 基本原理 -4D はさまざまなクラスやコマンドを通して、ビルトインの**非同期実行**機能を提供します。 これらを使用することで、カレンとプロセスをブロックすることなく、他のオペレーションが完了するのを待ちながら、バックグラウンド処理、ネットワーク通信、そして大量のデータ処理などを行うことができます。 +4D はさまざまなクラスやコマンドを通して、ビルトインの**非同期実行**機能を提供します。 これらを使用することで、カレンとプロセスをブロックすることなく、他のオペレーションが完了するのを待ちながら、バックグラウンド処理、ネットワーク通信、そして大量のデータ処理などを行うことができます。 これらを使用することで、カレンとプロセスをブロックすることなく、他のオペレーションが完了するのを待ちながら、バックグラウンド処理、ネットワーク通信、そして大量のデータ処理などを行うことができます。 -4D における非同期イベントの管理の一般的な概念は、**ワーカー**(イベントをリッスンするプロセス)および**コールバック**(あるイベントが発生した際に自動的に実行される関数またはフォーミュラ)を使用した非同期メッセージモデルに基づいています。 ここでは何かの結果を待つ(同期モード)のではなく、特定のイベントが発生した際に自動的に呼び出される関数を提供します。 コールバックはクラス関数(推奨)またはフォーミュラオブジェクトとして渡すことができます。 +4D における非同期イベントの管理の一般的な概念は、**ワーカー**(イベントをリッスンするプロセス)および**コールバック**(あるイベントが発生した際に自動的に実行される関数またはフォーミュラ)を使用した非同期メッセージモデルに基づいています。 ここでは何かの結果を待つ(同期モード)のではなく、特定のイベントが発生した際に自動的に呼び出される関数を提供します。 コールバックはクラス関数(推奨)またはフォーミュラオブジェクトとして渡すことができます。 ここでは何かの結果を待つ(同期モード)のではなく、特定のイベントが発生した際に自動的に呼び出される関数を提供します。 コールバックはクラス関数(推奨)またはフォーミュラオブジェクトとして渡すことができます。 -このモデルは [`CALL WORKER`](../commands/call-worker)、 [`CALL FORM`](../commands/call-form)、 および [非同期実行をサポートするクラス](#asynchronous-programming-with-4d-classes) などにおいて共通しています。 これらのコマンド/クラスは全て、バックグラウンドで実行されるオペレーションを開始します。 オペレーションを開始するステートメントは、オペレーションが終わるのを待たずに即座に戻ります。 +このモデルは [`CALL WORKER`](../commands/call-worker)、 [`CALL FORM`](../commands/call-form)、 および [非同期実行をサポートするクラス](#asynchronous-programming-with-4d-classes) などにおいて共通しています。 これらのコマンド/クラスは全て、バックグラウンドで実行されるオペレーションを開始します。 オペレーションを開始するステートメントは、オペレーションが終わるのを待たずに即座に戻ります。 これらのコマンド/クラスは全て、バックグラウンドで実行されるオペレーションを開始します。 オペレーションを開始するステートメントは、オペレーションが終わるのを待たずに即座に戻ります。 ### ワーカー -非同期プログラミングは [**ワーカー**](../Develop/processes.md#ワーカープロセス) (ワーカープロセス) というシステムに依存しています。これを使用することでメインプロセスをブロックすることなく、コードを実行することができます。 これは特に、インターフェースをレスポンシブな状態にしたまま、長時間にわたるタスク(HTTP 呼び出し、外部プロセスの実行、バックグラウンド処理など)を処理するのに有効です。 +非同期プログラミングは [**ワーカー**](../Develop/processes.md#ワーカープロセス) (ワーカープロセス) というシステムに依存しています。これを使用することでメインプロセスをブロックすることなく、コードを実行することができます。 これは特に、インターフェースをレスポンシブな状態にしたまま、長時間にわたるタスク(HTTP 呼び出し、外部プロセスの実行、バックグラウンド処理など)を処理するのに有効です。 これは特に、インターフェースをレスポンシブな状態にしたまま、長時間にわたるタスク(HTTP 呼び出し、外部プロセスの実行、バックグラウンド処理など)を処理するのに有効です。 -非同期プログラミングにおいてワーカープロセスの使用は**必須**です。いわゆる"クラシック"なプロセスはプロセスメソッドが終了した時に実行を自動的に終了するため、コールバックを使用するようなことができないからです。 ワーカープロセスであればその後も生き続け、**イベントをリッスンする**ことができます。 +非同期プログラミングにおいてワーカープロセスの使用は**必須**です。いわゆる"クラシック"なプロセスはプロセスメソッドが終了した時に実行を自動的に終了するため、コールバックを使用するようなことができないからです。 ワーカープロセスであればその後も生き続け、**イベントをリッスンする**ことができます。 ワーカープロセスであればその後も生き続け、**イベントをリッスンする**ことができます。 ### イベントキュー(メールボックス) -それぞれのワーカー(または [`CALL FORM`](../commands/call-form) の場合にはフォームウィンドウ)は、独自のメッセージキューを持っています。 [`CALL WORKER`](../commands/call-worker) あるいは [`CALL FORM`](../commands/call-form) コマンドは、メッセージをそのキューへと送信します。 ワーカーは、独自のコンテキスト内において、メッセージを一つずつ受信した順番で管理していきます。 プロセス変数、カレンとレクション、などは保持されます。 +それぞれのワーカー(または [`CALL FORM`](../commands/call-form) の場合にはフォームウィンドウ)は、独自のメッセージキューを持っています。 [`CALL WORKER`](../commands/call-worker) あるいは [`CALL FORM`](../commands/call-form) コマンドは、メッセージをそのキューへと送信します。 ワーカーは、独自のコンテキスト内において、メッセージを一つずつ受信した順番で管理していきます。 プロセス変数、カレンとレクション、などは保持されます。 [`CALL WORKER`](../commands/call-worker) あるいは [`CALL FORM`](../commands/call-form) コマンドは、メッセージをそのキューへと送信します。 ワーカーは、独自のコンテキスト内において、メッセージを一つずつ受信した順番で管理していきます。 プロセス変数、カレンとレクション、などは保持されます。 ### メッセージを介した双方向通信 -呼び出しプロセスがメッセージを投稿すると、ワーカーはそれを実行します。 反対にワーカーは呼び出し元、あるいは他のワーカーに対して( [`CALL WORKER`](../commands/call-worker) あるいは [`CALL FORM`](../commands/call-form) を介して)メッセージを送信して、イベント(タスクの完了、データの受信、エラー、進捗など)を通知することができます。 この機構により、クラシックな同期呼び出しの応答を置き換えることができます。 +呼び出しプロセスがメッセージを投稿すると、ワーカーはそれを実行します。 呼び出しプロセスがメッセージを投稿すると、ワーカーはそれを実行します。 反対にワーカーは呼び出し元、あるいは他のワーカーに対して( [`CALL WORKER`](../commands/call-worker) あるいは [`CALL FORM`](../commands/call-form) を介して)メッセージを送信して、イベント(タスクの完了、データの受信、エラー、進捗など)を通知することができます。 この機構により、クラシックな同期呼び出しの応答を置き換えることができます。 この機構により、クラシックな同期呼び出しの応答を置き換えることができます。 ### イベントリスニング @@ -73,7 +74,7 @@ title: 非同期実行 ### イベントのトリガー -イベントは実行フローの間に自動的にトリガーされ、対応するコールバックへと渡されます。 `wait()` の途中に `terminate()` あるいは `shutdown()` を呼び出すことで、強制的にイベントをトリガーさせることもできます。 +イベントは実行フローの間に自動的にトリガーされ、対応するコールバックへと渡されます。 イベントは実行フローの間に自動的にトリガーされ、対応するコールバックへと渡されます。 `wait()` の途中に `terminate()` あるいは `shutdown()` を呼び出すことで、強制的にイベントをトリガーさせることもできます。 ### コールバック実行コンテキスト @@ -83,9 +84,9 @@ title: 非同期実行 ### 非同期オブジェクトのリリース -4D では、全てのオブジェクトは、メモリ内に [そのオブジェクトへの参照がもう残っていない](../Concepts/dt_object.md#resources) 場合にそのオブジェクトがリリースされます。 これは一般的に、メソッド実行の最後にローカル変数が消去される時に発生します。 +4D では、全てのオブジェクトは、メモリ内に [そのオブジェクトへの参照がもう残っていない](../Concepts/dt_object.md#resources) 場合にそのオブジェクトがリリースされます。 これは一般的に、メソッド実行の最後にローカル変数が消去される時に発生します。 これは一般的に、メソッド実行の最後にローカル変数が消去される時に発生します。 -非同期クラスにおいては、オブジェクトをインスタンス化したプロセス内において **追加の参照** が必ず4D によって維持されています。 この参照はオペレーションが完了したときにのみリリースされます。つまり、 `onTerminate` イベントがトリガーされたあとです。 この自動参照によって、変数から特別に参照していなくても、オブジェクトを最後まで存続させることができます。 +非同期クラスにおいては、オブジェクトをインスタンス化したプロセス内において **追加の参照** が必ず4D によって維持されています。 この参照はオペレーションが完了したときにのみリリースされます。つまり、 `onTerminate` イベントがトリガーされたあとです。 この自動参照によって、変数から特別に参照していなくても、オブジェクトを最後まで存続させることができます。 この参照はオペレーションが完了したときにのみリリースされます。つまり、 `onTerminate` イベントがトリガーされたあとです。 この自動参照によって、変数から特別に参照していなくても、オブジェクトを最後まで存続させることができます。 オブジェクトを任意のタイミングで"強制的に"リリースしたい場合、`.shutdown()` あるいは `terminate()` 関数を使用します: これらは`onTerminate` イベントをトリガーするため、オブジェクトはリリースされます。 @@ -109,13 +110,13 @@ title: 非同期実行 - [`WebSocket`](../API/WebSocketClass.md) – WebSocket クライアント接続を管理します。 - [`WebSocketServer`](../API/WebSocketServerClass.md) – WebSocket サーバー接続を管理します。 -これらのクラスは非同期実行に関しては同じルールに従います。 これらのクラスのコンストラクターは、非同期オブジェクトを設定するために使用される *options* 引数を受付ます。 この場合の *options* オブジェクトには、コールバック関数を備えた[ユーザークラス](../Concepts/classes.md) インスタンスであることが推奨されます。 例えば、クラス内に `onResponse()` 関数を作成した場合、*reponse* イベントが発生した際にそれが自動的に非同期で呼び出されます。 +これらのクラスは非同期実行に関しては同じルールに従います。 これらのクラスのコンストラクターは、非同期オブジェクトを設定するために使用される *options* 引数を受付ます。 この場合の *options* オブジェクトには、コールバック関数を備えた[ユーザークラス](../Concepts/classes.md) インスタンスであることが推奨されます。 For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. 以下のような手順が推奨されます: 1. コールバック関数を宣言するユーザークラスを作成します。例えば、`onError()` および `onResponse()` 関数を持つ、`cs.Params` クラスなどです。 2. そのユーザークラスをインスタンス化し(ここでの例では`cs.Params.new()` クラスを使用)、それを使用して非同期オブジェクトを設定します。 -3. 4D クラスのコンストラクターを呼び出し(例えば`4D.SystemWorker.new()` など)、*options* オブジェクトを引数として渡します。 渡されたオペレーションは、遅延なくすぐに開始されます。 +3. 4D クラスのコンストラクターを呼び出し(例えば`4D.SystemWorker.new()` など)、*options* オブジェクトを引数として渡します。 渡されたオペレーションは、遅延なくすぐに開始されます。 渡されたオペレーションは、遅延なくすぐに開始されます。 以下は、ユーザークラスに基づいた *options* オブジェクトの実装の完全な一例です: @@ -161,7 +162,7 @@ Function _createFile($title : Text; $textBody : Text) :::tip -一部の場合においては、クラス関数の代わりに、プロパティ値としてフォーミュラを使用したい場合があるかもしれません。 これはベストプラクティスではありませんが、以下のようなシンタックスがサポートされています: +一部の場合においては、クラス関数の代わりに、プロパティ値としてフォーミュラを使用したい場合があるかもしれません。 これはベストプラクティスではありませんが、以下のようなシンタックスがサポートされています: これはベストプラクティスではありませんが、以下のようなシンタックスがサポートされています: ```4d var $options.onResponse:=Formula(myMethod) @@ -171,11 +172,11 @@ var $options.onResponse:=Formula(myMethod) ## 非同期コード内での同期的な実行 -現代的な非同期コードを使用している場合でも、ある程度の同期実行が必要となる場合があるかもしれません。 例えば、ある関数が結果を得るまで、ある程度の時間待つようにしたいかもしれません。 これは例えば、保証された速いネットワーク接続や、システムワーカーなどが考えられます。 このような場合、`wait()` 関数を使用することで、同期的な実行を強制することができます。 +現代的な非同期コードを使用している場合でも、ある程度の同期実行が必要となる場合があるかもしれません。 例えば、ある関数が結果を得るまで、ある程度の時間待つようにしたいかもしれません。 これは例えば、保証された速いネットワーク接続や、システムワーカーなどが考えられます。 現代的な非同期コードを使用している場合でも、ある程度の同期実行が必要となる場合があるかもしれません。 例えば、ある関数が結果を得るまで、ある程度の時間待つようにしたいかもしれません。 これは例えば、保証された速いネットワーク接続や、システムワーカーなどが考えられます。 このような場合、`wait()` 関数を使用することで、同期的な実行を強制することができます。 -**`.wait()`** 関数はカレントプロセスの実行を一時停止させ、4D を[イベントリスニング](#イベントリスニング) モードにします。 ただし、これは `wait()` 関数が呼ばれたオブジェクトからだけでなく、どのソースから受信したイベントであってもトリガーされるという点に注意してください。 +**`.wait()`** 関数はカレントプロセスの実行を一時停止させ、4D を[イベントリスニング](#イベントリスニング) モードにします。 ただし、これは `wait()` 関数が呼ばれたオブジェクトからだけでなく、どのソースから受信したイベントであってもトリガーされるという点に注意してください。 ただし、これは `wait()` 関数が呼ばれたオブジェクトからだけでなく、どのソースから受信したイベントであってもトリガーされるという点に注意してください。 -`wait()` 関数は、`onTerminate` イベントがオブジェクト上でトリガーされた場合か、あるいは指定されたタイムアウト(あれば)が経過した場合に実行を返します。 結果として、コールバック内から `shutdown()` あるいは `terminate()` を呼び出すことで、`.wait()` から明示的に抜け出すことができます。 それ以外の場合は、 `.wait()` はカレントのオペレーションが終了した際に終了します。 +`wait()` 関数は、`onTerminate` イベントがオブジェクト上でトリガーされた場合か、あるいは指定されたタイムアウト(あれば)が経過した場合に実行を返します。 結果として、コールバック内から `shutdown()` あるいは `terminate()` を呼び出すことで、`.wait()` から明示的に抜け出すことができます。 それ以外の場合は、 `.wait()` はカレントのオペレーションが終了した際に終了します。 結果として、コールバック内から `shutdown()` あるいは `terminate()` を呼び出すことで、`.wait()` から明示的に抜け出すことができます。 それ以外の場合は、 `.wait()` はカレントのオペレーションが終了した際に終了します。 例: diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/develop-components.md b/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/develop-components.md index 2b7c7ffde406d5..3b6b80eba24929 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/develop-components.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/develop-components.md @@ -68,7 +68,7 @@ title: コンポーネントの開発 - ホストプロジェクトがインタープリタモードで実行中である - コンポーネントが、[インタープリタモードでロードされてい](../Project/components.md#interpreted-and-compiled-components) 、ソースコードが編集可能である -- コンポーネントのファイルはローカルに保存されます(つまり、それらは[downloaded from GitHub からダウンロードされるわけではありません](../Project/components.md#github-依存関係を追加))。 +- the component files are stored locally (i.e. they are not [downloaded from GitHub](../Project/components.md#adding-a-github-or-gitlab-dependency)). このコンテキストでは、以下の2箇所において、コンポーネントのコードをコードエディターで開き、編集して、保存することができます: diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/overview.md index a1f2c7b4200138..08104cd7828bfd 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Extensions/overview.md @@ -18,7 +18,7 @@ title: 4D アプリケーションの拡張 4D は様々なコンポーネントを4D コミュニティに対して提供しており、これは幅広い開発需要をカバーしています。 全ての4D製の コンポーネントは[**4D github repository**](https://github.com/4d) にあります。 -これらのコンポーネントの一部は、デフォルトで[依存関係マネージャ](../Project/components.md#adding-a-github-dependency), に登録されています。具体的には以下の通りです: +A subset of these components is listed by default in the Github panel of the [Dependency Manager](../Project/components.md#adding-a-github-or-gitlab-dependency), including: | コンポーネント | Github リポジトリ | 説明 | 主な機能 | | --------------------- | --------------------------------------------------------------------------- | -------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md index 2fc85b74e81e7c..31140e57fa7c34 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md @@ -41,7 +41,7 @@ title: フォームプロパティ ## フォームクラス -フォームに割り当てる既存の[ユーザークラス](../Concepts/classes.md#class-definition) の名前。 ユーザークラスはホストプロジェクトのものでも[コンポーネント](../Extensions/develop-components.md#sharing-of-classes) のものでも使用可能です。後者の場合は正式なシンタックスは"[*componentNameSpace*](../settings/general.md#component-namespace-in-the-class-store).className" となります。 +フォームに割り当てる既存の[ユーザークラス](../Project/code-overview.md#user-classes) の名前。 ユーザークラスはホストプロジェクトのものでも[コンポーネント](../Extensions/develop-components.md#sharing-of-classes) のものでも使用可能です。後者の場合は正式なシンタックスは"[*componentNameSpace*](../settings/general.md#component-namespace-in-the-class-store).className" となります。 フォームにクラスを割り当てることで、以下のような利点があります: diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/listbox-object.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/listbox-object.md index 62d1872f9844c0..a3eb2517768194 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/listbox-object.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/listbox-object.md @@ -12,7 +12,7 @@ title: リストボックスオブジェクト > 配列タイプのリストボックスは、特別なメカニズムをもつ [階層モード](listbox_overview.md#階層リストボックス) で表示することができます。 配列タイプのリストボックスでは、入力あるいは表示される値は 4Dランゲージで制御します。 カラムに [選択リスト](properties_DataSource.md#選択リスト) を割り当てて、データ入力を制御することもできます。 -The values of columns are managed using high-level List box commands (such as [`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows) or [`LISTBOX DELETE ROWS`](../commands/listbox-delete-rows)) as well as array manipulation commands. たとえば、列の内容を初期化するには、以下の命令を使用できます: +リストボックスのハイレベルコマンド ([`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows) や [`LISTBOX DELETE ROWS`](../commands/listbox-delete-rows) 等) や配列操作コマンドを使用して、カラムの値を管理します。 たとえば、列の内容を初期化するには、以下の命令を使用できます: ```4d ARRAY TEXT(varCol;size) @@ -28,7 +28,7 @@ LIST TO ARRAY("ListName";varCol) ## セレクションリストボックス -このタイプのリストボックスでは、列ごとにフィールド (例: `[Employees]LastName`) や式を割り当てます。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 You can use the [`LISTBOX SET COLUMN FORMULA`](../commands/listbox-set-column-formula) and [`LISTBOX INSERT COLUMN FORMULA`](../commands/listbox-insert-column-formula) commands to modify columns programmatically. +このタイプのリストボックスでは、列ごとにフィールド (例: `[Employees]LastName`) や式を割り当てます。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 また[`LISTBOX SET COLUMN FORMULA`](../commands/listbox-set-column-formula) や [`LISTBOX INSERT COLUMN FORMULA`](../commands/listbox-insert-column-formula) コマンドを使用して、カラムをプログラムで変更することもできます。 それぞれの行はセレクションのレコードを基に評価されます。セレクションは **カレントセレクション** または **命名セレクション**です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md index f991a70f3886ef..81d6a375e39713 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md @@ -29,10 +29,10 @@ title: リストボックス リストボックスオブジェクトは、以下4つの項目で構成されます: -- the [list box object](./listbox-object.md) in its entirety, -- [columns](./listbox-column.md), -- column [headers](./listbox-header-footer.md#headers), and -- column [footers](./listbox-header-footer.md#footers). +- [リストボックスオブジェクト](./listbox-object.md) 全体 +- [カラム](./listbox-column.md) +- カラムの[ヘッダー](./listbox-header-footer.md#headers) +- カラムの[フッター](./listbox-header-footer.md#footers) ![](../assets/en/FormObjects/listbox_parts.png) @@ -43,7 +43,7 @@ title: リストボックス 1. 各列のオブジェクトメソッド 2. リストボックスのオブジェクトメソッド -The column object method gets events that occur in its [header](./listbox-header-footer.md#headers) and [footer](./listbox-header-footer.md#footers). +カラムのオブジェクトメソッドは [header](./listbox-header-footer.md#headers) および [footer](./listbox-header-footer.md#footers) 内で発生するイベントも取得します。 ### リストボックスの型 @@ -59,7 +59,7 @@ The column object method gets events that occur in its [header](./listbox-header リストボックスオブジェクトはプロパティによってあらかじめ設定可能なほか、プログラムにより動的に管理することもできます。 -The 4D Language includes a dedicated "List Box" theme for list box commands, but commands from various other themes, such as "Object properties" commands or [`EDIT ITEM`](../commands/edit-item), [`Displayed line number`](../commands/displayed-line-number) commands can also be used. 詳細な情報については、*4D ランゲージリファレンス* の[リストボックスコマンドの一覧](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) のページを参照してください。 +4D ランゲージにはリストボックス関連のコマンドをまとめた "リストボックス" テーマが専用に設けられていますが、"オブジェクトプロパティ" コマンドや [`EDIT ITEM`](../commands/edit-item)、[`Displayed line number`](../commands/displayed-line-number) コマンドなど、ほかのテーマのコマンドも利用することができます。 詳細な情報については、*4D ランゲージリファレンス* の[リストボックスコマンドの一覧](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) のページを参照してください。 ## 入力の管理 @@ -245,14 +245,14 @@ JSON フォームにおいて、リストボックスに次のハイライトセ 標準ソートのサポートは、リストボックスのタイプに依存します: -| リストボックスタイプ | 標準ソートのサポート | コメント | -| ------------------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Object の Collection | ◯ |
    • "This.a" や "This.a.b" 列はソート可能です。
    • [リストボックス列の式プロパティ](properties_Object.md#変数あるいは式) は [代入可能な式](../Concepts/quick-tour.md#代入可-vs-代入不可の式) でなくてはなりません。
    | -| スカラー値のコレクション | × | [`orderBy()`](../API/CollectionClass.md#orderby) 関数を使ったカスタムソートを使用します。 | -| エンティティセレクション | ◯ |
    • The [list box source property](properties_Object.md#variable-or-expression) must be an [assignable expression](../Concepts/quick-tour.md#assignable-vs-non-assignable-expressions).
    • Supported: sorts on object attribute properties (e.g. "This.data.city" when "data" is an object attribute)
    • Supported: sorts on related attributes (e.g. "This.company.name")
    • Not supported: sorts on object attribute properties through related attributes (e.g. "This.company.data.city"). For this, you need to use custom sort with [`orderByFormula()`](../API/EntitySelectionClass.md#orderbyformula) function (see example below)
    | -| カレントセレクション | ◯ | 単純な式のみソート可能です (例: `[Table_1]Field_2`) | -| 命名セレクション | × | | -| 配列 | ◯ | ピクチャー配列やポインター配列と紐づけられた列はソートできません | +| リストボックスタイプ | 標準ソートのサポート | コメント | +| ------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Object の Collection | ◯ |
    • "This.a" や "This.a.b" 列はソート可能です。
    • [リストボックス列の式プロパティ](properties_Object.md#変数あるいは式) は [代入可能な式](../Concepts/quick-tour.md#代入可-vs-代入不可の式) でなくてはなりません。
    | +| スカラー値のコレクション | × | [`orderBy()`](../API/CollectionClass.md#orderby) 関数を使ったカスタムソートを使用します。 | +| エンティティセレクション | ◯ |
    • [リストボックス列の式プロパティ](properties_Object.md#変数あるいは式) は [代入可能な式](../Concepts/quick-tour.md#代入可-vs-代入不可の式) でなくてはなりません。
    • ソート可: オブジェクト属性プロパティのソート (例: "data" がオブジェクト属性の場合の "This.data.city")
    • ソート可: リレート属性のソート (例: "This.company.name")
    • ソート不可: リレート属性を介したオブジェクト属性プロパティのソート (例: "This.company.data.city")。 この場合には、[`orderByFormula()`](../API/EntitySelectionClass.md#orderbyformula) 関数を使ったカスタムソートを使用します (後述の例題参照)
    | +| カレントセレクション | ◯ | 単純な式のみソート可能です (例: `[Table_1]Field_2`) | +| 命名セレクション | × | | +| 配列 | ◯ | ピクチャー配列やポインター配列と紐づけられた列はソートできません | ### カスタムソート @@ -310,8 +310,8 @@ End if リストボックスの背景色、フォントカラー、そしてフォントスタイルを設定するためにはいくつかの方法があります: -- at the level of the [list box object properties](./listbox-object.md), -- at the level of the [column properties](./listbox-column.md), +- [リストボックスオブジェクトのプロパティリスト](./listbox-object.md) を使用 +- [カラムのプロパティリスト](./listbox-column.md) を使用 - リストボックスまたは列ごとの [配列や式](#配列と式の使用) プロパティを使用 - セルごとのテキストにて定義 ([マルチスタイルテキスト](properties_Text.md#マルチスタイル) の場合) @@ -319,12 +319,12 @@ End if 優先順位や継承の原理は、複数のレベルにわたって同じプロパティに異なる値が指定された場合に適用されます。 -1. (highest priority) Cell (if multi-style text) +1. (最優先) セル(マルチスタイルテキストの場合) 2. 列の配列/メソッド 3. リストボックスの配列/メソッド 4. 列のプロパティ 5. リストボックスのプロパティ -6. (lowest priority) Meta Info expression (for collection or entity selection list boxes) +6. (最も低い優先度) メタ情報式(コレクションまたはエンティティセレクション型リストボックスの場合) 例として、リストボックスのプロパティにてフォントスタイルを設定しながら、列には行スタイル配列を使用して異なるスタイルを設定した場合、後者が有効となります。 @@ -514,20 +514,20 @@ Variable 2 も常に表示され、入力できます。 これは二番目の ->MyListbox{3}:=True ``` -*Non-hierarchical representation:* +*非階層表示:* ![](../assets/en/FormObjects/hierarch7.png) -*Hierarchical representation:* +*階層表示:* ![](../assets/en/FormObjects/hierarch8.png) > 親が折りたたまれているために行が非表示になっていると、それらは選択から除外されます。 (直接あるいはスクロールによって) 表示されている行のみを選択できます。 言い換えれば、行を選択かつ隠された状態にすることはできません。 選択と同様に、[`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) コマンドは階層リストボックスと非階層リストボックスにおいて同じ値を返します。 つまり以下の両方の例題で、[`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) は同じ位置 (3;2) を返します。 -*Non-hierarchical representation:* +*非階層表示:* ![](../assets/en/FormObjects/hierarch9.png) -*Hierarchical representation:* +*階層表示:* ![](../assets/en/FormObjects/hierarch10.png) サブ階層のすべての行が隠されているとき、ブレーク行は自動で隠されます。 先の例題で 1から 3行目までが隠されていると、"Brittany" のブレーク行は表示されません。 @@ -544,13 +544,13 @@ Variable 2 も常に表示され、入力できます。 これは二番目の 以下のリストボックスを例題とします (割り当てた配列名は括弧内に記載しています): -*Non-hierarchical representation:* +*非階層表示:* ![](../assets/en/FormObjects/hierarch12.png) -*Hierarchical representation:* +*階層表示:* ![](../assets/en/FormObjects/hierarch13.png) -階層モードでは `tStyle` や `tColors` 配列で変更されたスタイルは、ブレーク行に適用されません。 ブレークレベルでカラーやスタイルを変更するには、以下のステートメントを実行します: ブレークレベルでカラーやスタイルを変更するには、以下のステートメントを実行します: +階層モードでは `tStyle` や `tColors` 配列で変更されたスタイルは、ブレーク行に適用されません。 ブレークレベルでカラーやスタイルを変更するには、以下のステートメントを実行します: ```4d OBJECT SET RGB COLORS(T1;0x0000FF;0xB0B0B0) @@ -573,7 +573,7 @@ Variable 2 も常に表示され、入力できます。 これは二番目の この場合、開発者がコードを使用して配列を空にしたり値を埋めたりしなければなりません。 実装する際注意すべき原則は以下のとおりです: -- リストボックスが表示される際、先頭の配列のみ値を埋めます。 However, you must create a second array with empty values so that the list box displays the expand/collapse buttons: +- リストボックスが表示される際、先頭の配列のみ値を埋めます。 しかし 2番目の配列を空の値で生成し、リストボックスに展開/折りたたみアイコンが表示されるようにしなければなりません: ![](../assets/en/FormObjects/hierarch15.png) - ユーザーが展開アイコンをクリックすると `On Expand` イベントが生成されます。 [`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) コマンドはクリックされたセルを返すので、適切な階層を構築します: 先頭の配列に繰り返しの値を設定し、2番目の配列には [`SELECTION TO ARRAY`](../commands/selection-to-array) コマンドから得られる値を設定します。そして[`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows) コマンドを使用して必要なだけ行を挿入します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Action.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Action.md index 560fa7bd1c94a0..4a5ffb1a3101c5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Action.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Action.md @@ -114,7 +114,30 @@ title: 動作 #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Forms](FormEditor/forms.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[フォーム](FormEditor/forms.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[リストボックス列](listbox-column.md) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[Web エリア](webArea_overview.md) --- diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_BackgroundAndBorder.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_BackgroundAndBorder.md index a4531c51b7434e..0882af899d414f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_BackgroundAndBorder.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_BackgroundAndBorder.md @@ -17,7 +17,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -41,7 +41,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) - [Oval](shapes_overview.md#oval) - [Rectangle](shapes_overview.md#rectangle) - [Text Area](text.md) +[階層リスト](list_overview.md) - [リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) - [楕円](shapes_overview.md#楕円) - [四角](shapes_overview.md#四角) - [テキストエリア](text.md) #### コマンド @@ -71,7 +71,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -240,7 +240,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_CoordinatesAndSizing.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_CoordinatesAndSizing.md index 34c3991537255c..a18022970c7a2b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_CoordinatesAndSizing.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_CoordinatesAndSizing.md @@ -44,7 +44,7 @@ title: 座標とサイズ #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -64,7 +64,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Rectangle](shapes_overview.md#rectangle) - [Ruler](ruler.md) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[四角](shapes_overview.md#四角) - +[ルーラー](ruler.md) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -84,7 +112,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -104,7 +160,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -124,7 +208,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -192,7 +304,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -205,7 +345,7 @@ title: 座標とサイズ オブジェクトの横のサイズを指定します。 > - オブジェクトによっては高さが規定されているものがあり、その場合は変更できません。 -> - If the [Resizable](properties_ResizingOptions.md#resizable) property is used for a [list box column](listbox-column.md), the user can also manually resize the column. +> - [リストボックスカラム](listbox-column.md) に [サイズ変更可](properties_ResizingOptions.md#サイズ変更可) プロパティが設定されている場合には、ユーザーは手動でカラムサイズを変更することもできます。 > - リストボックスの [横方向サイズ変更](properties_ResizingOptions.md#横方向サイズ変更) プロパティに "拡大" を設定している場合にフォームをリサイズすると、一番右のカラムの幅は必要に応じて最大幅を超えて拡大されます。 #### JSON 文法 @@ -216,7 +356,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [Line](shapes_overview.md#line) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[線](shapes_overview.md#線) - +[リストボックス](listbox_overview.md) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -238,7 +406,7 @@ title: 座標とサイズ #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -260,7 +428,7 @@ title: 座標とサイズ #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -344,7 +512,7 @@ RowHeights{5}:=3 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Footers](properties_Footers.md) - [Headers](properties_Headers.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) - [フッター](properties_Footers.md) - [ヘッダー](properties_Headers.md) #### コマンド @@ -368,7 +536,7 @@ RowHeights{5}:=3 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Footers](properties_Footers.md) - [Headers](properties_Headers.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) - [フッター](properties_Footers.md) - [ヘッダー](properties_Headers.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_DataSource.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_DataSource.md index 96f6b9628e87ab..c33155dd8a30a2 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_DataSource.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_DataSource.md @@ -11,7 +11,7 @@ title: データソース このプロパティは次のフォームオブジェクトでサポートされています: -- [Combo box](comboBox_overview.md) and [list box column](listbox-column.md) form objects associated to a choice list. +- 選択リストと紐づけられている [コンボボックス](comboBox_overview.md) および [リストボックスカラム](listbox-column.md) フォームオブジェクト。 - 配列またはオブジェクトデータソースにより、紐づけられたリストが生成されている [コンボボックス](comboBox_overview.md) フォームオブジェクト。 たとえば、"France, Germany, Italy" という値を含む選択リストが "Countries" というコンボボックスに関連付けられていた場合を考えます。**自動挿入** のオプションがチェックをされていて、ユーザーが "Spain" という値を入力すると、"Spain" という値が自動的にメモリー内のリストに追加されます: @@ -28,7 +28,7 @@ title: データソース #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [List Box Column](listbox-column.md) +[コンボボックス](comboBox_overview.md) - [リストボックスカラム](listbox-column.md) --- @@ -45,8 +45,9 @@ title: データソース #### 対象オブジェクト -[Drop-down List](dropdownList_Overview.md) - -[Combo Box](comboBox_overview.md) - [Hierarchical List](list_overview.md) - [List Box Column](listbox-column.md) +[ドロップダウンリスト](dropdownList_Overview.md)* [コンボボックス](comboBox_overview.md) +* [階層リスト](list_overview.md) +* [リストボックスカラム](listbox-column.md) #### コマンド @@ -126,7 +127,7 @@ title: データソース 表示される式のデータタイプを定義します。 このプロパティは次のフォームオブジェクトで使用されます: -- [List box columns](listbox-column.md) of the selection and collection types. +- セレクションおよびコレクション型の [リストボックスカラム](listbox-column.md)。 - オブジェクトまたは配列と紐づいた [ドロップダウンリスト](dropdownList_Overview.md)。 [式タイプ](properties_Object.md#式の型式タイプ) の章も参照ください。 @@ -139,7 +140,7 @@ title: データソース #### 対象オブジェクト -[Drop-down Lists](dropdownList_Overview.md) associated to objects or arrays - [List Box column](listbox-column.md) +オブジェクトまたは配列と紐づいた [ドロップダウンリスト](dropdownList_Overview.md) - [リストボックスカラム](listbox-column.md) --- @@ -196,14 +197,13 @@ title: データソース #### 対象オブジェクト -[List Box Column (array type only)](listbox-column.md) +[リストボックスカラム(配列型のみ)](listbox-column.md) --- ## 式 -This description is specific to [selection](FormObjects/listbox-object.md#selection-list-boxes) -and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection-list-boxes) type list box columns. **[変数あるいは式](properties_Object.md#変数あるいは式)** の章も参照ください。 +[セレクション型](FormObjects/listbox_object.md#セレクションリストボックス) および [コレクション / エンティティセレクション型](../FormObjects/listbox-object.md#コレクションまたはエンティティセレクションリストボックス) リストボックス特有のプロパティです。 **[変数あるいは式](properties_Object.md#変数あるいは式)** の章も参照ください。 列に割り当てる 4D式です。 以下のものを指定できます: @@ -242,7 +242,7 @@ and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) --- @@ -275,7 +275,7 @@ and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection このプロパティは以下の場合に表示されます: - オブジェクトに対して [選択リスト](#選択リスト) が割り当てられている -- for [inputs](input_overview.md) and [list box columns](listbox-column.md), a [required list](properties_RangeOfValues.md#required-list) is also defined for the object (both options should use usually the same list), so that only values from the list can be entered by the user. +- [入力](input_overview.md) および [リストボックスカラム](listbox-column.md) の場合には、ユーザーがリスト内の値のみ入力できるように、オブジェクトに対して [指定リスト](properties_RangeOfValues.md#指定リスト) も定義されている (通常は両方のオプションで同じリストを使用しているはずです)。 このプロパティは、選択リストに関連付けされたフィールドまたは変数において、フィールドに保存する内容の型を指定します: @@ -297,7 +297,7 @@ and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) --- diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Display.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Display.md index 946a229bf691d3..2ae69f373e9c91 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Display.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Display.md @@ -46,7 +46,7 @@ RB-1762-1 #### 対象オブジェクト -[Drop-down List](dropdownList_Overview.md) - [Combo Box](comboBox_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[ドロップダウンリスト](dropdownList_Overview.md) - [コンボボックス](comboBox_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -105,13 +105,13 @@ RB-1762-1 :::note blankIfNull - デフォルトでは、 [null 日付](../Concepts/dt_date.md#日付リテラル) は 00/00/00 のように、ゼロとして表示されます。 "blankIfNull" オプションを使用すると、null の日付は空白として表示されます。 "blankIfNull" 文字列 (文字の大小を区別) は、選択されたフォーマットの値と組み合わせて使います。 例: "systemShort blankIfNull" または "LLLdd日 ee blankIfNull"。 -- [List box columns](listbox-column.md) and [list box footers](listbox-header-footer.md#footers) of type date always use the "blank if null" behavior (it cannot be disengaged). +- 日付型の [リストボックスのカラム](listbox-column.md) および [リストボックスのフッター](listbox-header-footer.md#フッター) は常に "blankIfNull" (null値は空白表示) の振る舞いをします (解除できません)。 ::: #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[コンボボックス](comboBox_overview.md) - [ドロップダウンリスト](dropdownList_Overview.md) - [入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -276,7 +276,12 @@ RB-1762-1 #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) - [Progress Indicators](progressIndicator.md) +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[入力](input_overview.md) - +[リストボックスカラム](listbox-column.md) - +[リストボックスフッター](listbox-header-footer.md#フッター) - +[進捗インジケーター](progressIndicator.md) #### コマンド @@ -340,7 +345,7 @@ RB-1762-1 #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -398,7 +403,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[コンボボックス](comboBox_overview.md) - [ドロップダウンリスト](dropdownList_Overview.md) - [入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -411,7 +416,7 @@ Customized time formats can be built using several patterns described in the [** [ブール式](properties_Object.md#式の型) を次のフォームオブジェクトで表示した場合: - [入力オブジェクト](input_overview.md) にテキストとして -- a ["popup"](properties_Display.md#display-type) in a [list box column](listbox-column.md), +- [リストボックスカラム](listbox-column.md) に表示タイプ ["ポップアップ"](properties_Display.md#表示タイプ) を選択して ... 値の代わりに表示するテキストを指定することができます: @@ -426,7 +431,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) - [Input](input_overview.md) +[リストボックスカラム](listbox-column.md) - [入力](input_overview.md) #### コマンド @@ -450,7 +455,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -502,7 +507,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[Check box](checkbox_overview.md) - [List Box Column](listbox-column.md) +[チェックボックス](checkbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -527,7 +532,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) --- @@ -564,7 +569,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -599,7 +604,31 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[4D View Pro area](viewProArea_overview.md) - [4D Write Pro area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) - [List Box Header](listbox-header-footer.md#headers) - [Picture Button](pictureButton_overview.md) - [Picture Pop-up Menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress indicator](progressIndicator.md) - [Radio Button](radio_overview.md) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[リストボックス](listbox_overview.md) - +[リストボックスカラム](listbox-column.md) - +[リストボックスフッター](listbox-header-footer.md#フッター) - +[リストボックスヘッダー](listbox-header-footer.md#ヘッダー) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) #### コマンド @@ -658,7 +687,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Entry.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Entry.md index b855857db880f6..131e0d77b2f094 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Entry.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Entry.md @@ -49,7 +49,10 @@ title: 入力 #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) - [Web Area](webArea_overview.md) - [4D Write Pro areas](writeProArea_overview.md) +[入力](input_overview.md) - +[リストボックスカラム](listbox-column.md) - +[Web エリア](webArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) #### コマンド @@ -73,7 +76,14 @@ title: 入力 #### 対象オブジェクト -[4D Write Pro areas](writeProArea_overview.md) - [Check Box](checkbox_overview.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [Progress Bar](progressIndicator.md) - [Ruler](ruler.md) - [Stepper](stepper.md) +[4D Write Pro エリア](writeProArea_overview.md) - +[チェックボックス](checkbox_overview.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックスカラム](listbox-column.md) - +[進捗インジケーター](progressIndicator.md) - +[ルーラー](ruler.md) - +[ステッパー](stepper.md) #### コマンド @@ -135,7 +145,7 @@ title: 入力 #### 対象オブジェクト -[Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) +[チェックボックス](checkbox_overview.md) - [コンボボックス](comboBox_overview.md) - [階層リスト](list_overview.md) - [入力](input_overview.md) - [リストボックスカラム](listbox-column.md) --- diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Footers.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Footers.md index 21aea0db5e0209..ded3c74b680b9b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Footers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Footers.md @@ -5,7 +5,7 @@ title: フッター ## フッターを表示 -This property is used to display or hide [list box column footers](listbox-header-footer.md#footers). 列ごとに 1つのフッターを表示できます。それぞれのフッターは個別に設定できます。 +このプロパティは、[リストボックスカラムのフッター](listbox-header-footer.md#フッター) の表示/非表示を指定するのに使用されます。 列ごとに 1つのフッターを表示できます。それぞれのフッターは個別に設定できます。 #### JSON 文法 @@ -70,5 +70,5 @@ This property is used to display or hide [list box column footers](listbox-heade #### 参照 -[Headers](properties_Headers.md) - [List box footers](listbox-header-footer.md#footers) +[ヘッダー](properties_Headers.md) - [リストボックスフッター](listbox-header-footer.md#フッター) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Headers.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Headers.md index 8d2bd064178d1c..eda7c4c4ad3883 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Headers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Headers.md @@ -5,7 +5,7 @@ title: ヘッダー ## ヘッダーを表示 -This property is used to display or hide [list box column headers](listbox-header-footer.md#headers). 列ごとに 1つのヘッダーを表示できます。それぞれのヘッダーは個別に設定できます。 +このプロパティは、[リストボックスカラムのヘッダー](listbox-header-footer.md#ヘッダー) の表示/非表示を指定するのに使用されます。 列ごとに 1つのヘッダーを表示できます。それぞれのヘッダーは個別に設定できます。 #### JSON 文法 @@ -70,5 +70,5 @@ This property is used to display or hide [list box column headers](listbox-heade #### 参照 -[Footers](properties_Footers.md) - [List box headers](listbox-header-footer.md#headers) +[フッター](properties_Footers.md) - [リストボックスヘッダー](listbox-header-footer.md#ヘッダー) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Help.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Help.md index 0a39f8c46e5448..b6057efbc6599c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Help.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Help.md @@ -27,7 +27,17 @@ title: ヘルプ #### 対象オブジェクト -[Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Combo Box](comboBox_overview.md) - [Hierarchical List](list_overview.md) - [List Box Header](listbox-header-footer.md#headers) - [List Box Footer](listbox-header-footer.md#footers) - [Picture Button](pictureButton_overview.md) - [Picture Pop-up menu](picturePopupMenu_overview.md) - [Radio Button](radio_overview.md) +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[コンボボックス](comboBox_overview.md) - +[階層リスト](list_overview.md) - +[リストボックスヘッダー](listbox-header-footer.md#ヘッダー) - +[リストボックスフッター](listbox-header-footer.md#フッター) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[ラジオボタン](radio_overview.md) #### 追加のヘルプ機能 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_ListBox.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_ListBox.md index b19d12d36ccc6f..d7dd326dd3bf62 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_ListBox.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_ListBox.md @@ -15,7 +15,7 @@ title: リストボックス | ------- | -------------- | --------------------- | | columns | 列オブジェクトのコレクション | リストボックス列のプロパティを格納します。 | -For a list of properties supported by column objects, please refer to the [Column Specific Properties](listbox-column.md#column-specific-properties) section. +カラムオブジェクトに関してサポートされているプロパティの一覧については [カラム特有のプロパティ](listbox-column.md#column-specific-properties) の章を参照してください。 #### 対象オブジェクト diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_ResizingOptions.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_ResizingOptions.md index f9bf7b1ba7e292..84afe846266ac9 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_ResizingOptions.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_ResizingOptions.md @@ -142,7 +142,7 @@ title: リサイズオプション #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Text.md b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Text.md index bd9bb2eec10e6c..bb99064225ab9f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Text.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/FormObjects/properties_Text.md @@ -266,7 +266,7 @@ Choose([Companies]ID;Bold;Plain;Italic;Underline) #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -429,7 +429,7 @@ End if #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -482,7 +482,7 @@ End if #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -506,7 +506,7 @@ End if #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Notes/updates.md b/i18n/ja/docusaurus-plugin-content-docs/current/Notes/updates.md index 26401205f639ef..06265dd125789f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Notes/updates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Notes/updates.md @@ -5,7 +5,7 @@ title: リリースノート ## 4D 21 R3 -Read [**What’s new in 4D 21 R3**](https://blog.4d.com/whats-new-in-4d-21-r3/), the blog post that lists all new features and enhancements in 4D 21 R3. +[**4D 21 R3 の新機能**](https://blog.4d.com/ja/whats-new-in-4d-21-r3/): 4D 21 R3 の新機能と拡張機能をすべてリストアップしたブログ記事です。 #### ハイライト diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md b/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md index 2e64948126db53..bf100929c44486 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md @@ -28,7 +28,7 @@ Form.comp.city:=$cityManager.City.getCityName(Form.comp.zipcode) ![](../assets/en/ORDA/api.png) -各データモデルオブジェクトに関わるクラスは、4D によって [あらかじめ自動的に作成](#クラスの作成) されます。 +In addition, 4D [automatically pre-creates](../Project/code-overview.md#creating-classes) the classes for each available data model object. ## アーキテクチャー @@ -45,7 +45,7 @@ ORDA データモデルクラスはすべて **`cs`** クラスストアのプ | cs.*DataClassName*Entity | cs.EmployeeEntity | [`dataClass.get()`](API/DataClassClass.md#get), [`dataClass.new()`](API/DataClassClass.md#new), [`entitySelection.first()`](API/EntitySelectionClass.md#first), [`entitySelection.last()`](API/EntitySelectionClass.md#last), [`entity.previous()`](API/EntityClass.md#previous), [`entity.next()`](API/EntityClass.md#next), [`entity.first()`](API/EntityClass.md#first), [`entity.last()`](API/EntityClass.md#last), [`entity.clone()`](API/EntityClass.md#clone) | | cs.*DataClassName*Selection | cs.EmployeeSelection | [`dataClass.query()`](API/DataClassClass.md#query), [`entitySelection.query()`](API/EntitySelectionClass.md#query), [`dataClass.all()`](API/DataClassClass.md#all), [`dataClass.fromCollection()`](API/DataClassClass.md#fromcollection), [`dataClass.newSelection()`](API/DataClassClass.md#newselection), [`entitySelection.drop()`](API/EntitySelectionClass.md#drop), [`entity.getSelection()`](API/EntityClass.md#getselection), [`entitySelection.and()`](API/EntitySelectionClass.md#and), [`entitySelection.minus()`](API/EntitySelectionClass.md#minus), [`entitySelection.or()`](API/EntitySelectionClass.md#or), [`entitySelection.orderBy()`](API/EntitySelectionClass.md#or), [`entitySelection.orderByFormula()`](API/EntitySelectionClass.md#orderbyformula), [`entitySelection.slice()`](API/EntitySelectionClass.md#slice), `Create entity selection` | -> ORDA ユーザークラスは通常のクラスファイル (.4dm) としてプロジェクトの Classes サブフォルダーに保存されます [(後述参照)](#クラスファイル)。 +> ORDA user classes are stored as regular class files (.4dm) in the Classes subfolder of the project. ORDA データモデルユーザークラスのオブジェクトインスタンスは、それらの親クラスのプロパティや関数を使うことができます: @@ -274,7 +274,7 @@ End if データモデルクラスを作成・編集する際には次のルールに留意しなくてはなりません: - 4D のテーブル名は、**cs** [クラスストア](Concepts/classes.md#クラスストア) 内において自動的に DataClass クラス名として使用されるため、**cs** 名前空間において衝突があってはなりません。 特に: - - 4D テーブル名と[ユーザークラス名](../Concepts/classes.md#クラス定義)に同じ名前をつけてはいけません。 衝突が起きた場合には、ユーザークラスのコンストラクターは使用不可となります (コンパイラーにより警告が返されます)。 + - Do not give the same name to a 4D table and to a [user class name](../Project/code-overview.md#creating-classes). 衝突が起きた場合には、ユーザークラスのコンストラクターは使用不可となります (コンパイラーにより警告が返されます)。 - 4D テーブルに予約語を使用してはいけません (例: "DataClass")。 - クラス定義の際、[`Class extends`](../Concepts/classes.md#class-extends-classname) ステートメントに使用する親クラスの名前は完全に合致するものでなくてはいけません (文字の大小が区別されます)。 たとえば、EntitySelection クラスを継承するには `Class extends EntitySelection` と書きます。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Project/components.md b/i18n/ja/docusaurus-plugin-content-docs/current/Project/components.md index 80dcd0df50c2be..d0783d3b531d9c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Project/components.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Project/components.md @@ -49,7 +49,7 @@ This section describes how to work with components in the **4D** and **4D Server 4Dプロジェクトにコンポーネントを読み込むには、以下の方法があります: - コンポーネントファイルを[プロジェクトの**Components**フォルダ](architecture.md#components)内にコピーする(インタープリタ版コンポーネントパッケージフォルダはフォルダ名の末尾が".4dbase" になっている必要があります、上記参照)。 -- または、プロジェクトの **dependencies.json** ファイルでコンポーネントを宣言します。これは、[**依存関係インターフェースを使用して依存関係を追加**](#github依存関係の追加) するときに、ローカルファイルに対して自動的におこなわれます。 +- or, declare the component in the **dependencies.json** file of your project; this is done automatically for local files when you [**add a dependency using the Dependency manager interface**](#adding-a-github-or-gitlab-dependency). **dependencies.json** ファイルで宣言されているコンポーネントは、異なる場所に保存できます: @@ -256,7 +256,7 @@ When a release is created in GitHub or GitLab, it is associated to a **tag** and :::note -[**4Dのバージョンに追随する**](#defining-a-github-dependency-version-range) 依存関係ルールを選択した場合、[タグには特定の命名規則](#4dバージョンタグの命名規則) を使用する必要があります。 +[**4Dのバージョンに追随する**](#defining-a-dependency-version-range) 依存関係ルールを選択した場合、[タグには特定の命名規則](#4dバージョンタグの命名規則) を使用する必要があります。 ::: @@ -524,7 +524,7 @@ Once the connection is established, an icon ![dependency-gitlogo](../assets/en/P :::note -If the component is stored on a [private repository](#private-repositories) and your personal token is missing, an error message is displayed and a **Add a personal access token...** button is displayed (see [Providing your access token](#providing-your-access-token)). +If the component is stored on a [private repository](#authentication-and-tokens) and your personal token is missing, an error message is displayed and a **Add a personal access token...** button is displayed (see [Providing your access token](#providing-your-access-token)). ::: @@ -571,7 +571,7 @@ You can modify the [version setting](#defining-a-dependency-version-range) for a :::note -[アクセストークン](#自分のgithub-アクセストークンの提供) を提供した場合、このチェックはより頻繁に実行されます。GitHub はリポジトリへのより高頻度のリクエストを許可するからです。 +If you provide an [access token](#providing-your-access-token), checks are performed more frequently, as GitHub then allows a higher frequency of requests to repositories. ::: diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md b/i18n/ja/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md index d03629243b8a5b..d07e7043f4848e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md @@ -27,11 +27,11 @@ title: はじめに 1. [依存関係マネージャー](../Project/components.md) ウィンドウを開きます。 2. **+** ボタンをクリックしてコンポーネントを追加します。 3. **GitHub** タブをクリックします。 -4. [コンポーネントのデフォルトのリスト](../Extensions/overview.md) から**4d/4D-ViewPro** を選択し、[依存関係ルール](../Project/components.md#github-依存関係のバージョン範囲を定義) として**Follow 4D version** を選択して、**追加** をクリックします。 +4. Select **4d/4D-ViewPro** in the [default list of components](../Extensions/overview.md) and (recommended) **Follow 4D version** as [Dependency rule](../Project/components.md#defining-a-dependency-version-range), then click **Add**. ![](../assets/en/ViewPro/install.png) -プロジェクトを再起動すると、4D View Pro コンポーネントは[Github 依存関係](../Project/components.md#githubの依存関係の追加)としてインストールされます。 +Once you restart the project, the 4D View Pro component is installed as a [Github dependency](../Project/components.md#adding-a-github-or-gitlab-dependency). 4D View Pro はライセンスを必要とします。 これらの機能を使用するには、アプリケーションにおいて当該ライセンスを有効化しておく必要があります。 4D View ライセンスがインストールされていない場合、4D View Pro 機能を必要とするオブジェクトのコンテンツはランタイムでは表示されず、エラーメッセージだけが表示されます: diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md b/i18n/ja/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md index 35fd99ecf054e7..1b378edeaab723 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md @@ -25,16 +25,16 @@ title: コードエディター コードエディターにはメソッドの実行と編集に関連する基本的な機能に素早くアクセスするためのツールバーがあります。 -| 機能 | アイコン | 説明 | -| -------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **メソッド実行** | ![execute-method](../assets/en/code-editor/execute-method.png) | コードエディターウィンドウには、そのエディターで開かれているメソッドを実行するためのボタンがあります。 このボタンに関連付けられているメニューから実行オプションを選択できます:
    • **新規プロセスで実行**: 新規プロセスを作成し、そのプロセス内でメソッドを実行します。
    • **新規プロセスで実行してデバッグ**: 新規プロセスを作成し、デバッガーウィンドウを開いてメソッドを表示します。
    • **アプリケーションプロセスで実行**: アプリケーションプロセス内でメソッドを実行します (アプリケーションプロセス内とは、レコード表示ウィンドウと同じプロセス内ということです)。
    • **アプリケーションプロセスで実行してデバッグ**: アプリケーションプロセス内でデバッガーを開き、メソッドを表示します。
    メソッド実行の詳細については、[プロジェクトメソッドの呼び出し](../Concepts/methods.md#プロジェクトメソッドの呼び出し) を参照ください。 | -| **メソッド中を検索** | ![search-icon](../assets/en/code-editor/search.png) | [*検索* エリア](#検索と置換) を表示します。 | -| **マクロ** | ![macros-button](../assets/en/code-editor/macros.png) | 選択対象にマクロを挿入します。 ドロップダウンの矢印をクリックすると、利用可能なマクロがすべて表示されます。 マクロの作成とインスタンス化についの詳細は、 [マクロ](#マクロ) を参照ください。 | -| **すべて折りたたむ / すべて展開** | ![expand-collapse-button](../assets/en/code-editor/expand-collapse-all.png) | これらのボタンを使用してコードの制御フロー構造を折りたたんだり展開したりできます。 | -| **メソッド情報** | ![method-information-icon](../assets/en/code-editor/method-information.png) | [メソッドプロパティ](../Project/project-method-properties.md) ダイアログボックスを表示します(プロジェクトモードのみ)。 | -| **最新のクリップボードの値** | ![last-clipboard-values-icon](../assets/en/code-editor/last-clipboard-values.png) | 直近でクリップボードに保存された値を表示します。 | -| **クリップボード** | ![clipboard icons](../assets/en/code-editor/clipboards.png) | コードエディターで利用可能な 9つのクリップボードです。 クリップボードのアイコンをクリックするか、あるいはキーボードショートカットによって、 [これらのクリップボードを利用](#クリップボード) できます。 [環境設定オプション](Preferences/methods.md#options-1) を使用するとそれらを非表示にすることができます。 | -| **ナビゲーションドロップダウン** | ![code-navigation-icons](../assets/en/code-editor/tags.png) | 自動的にタグ付けされたコンテンツや手動で宣言されたマーカーを使用して、メソッドやクラス内を移動できます。 後述参照。 | +| 機能 | アイコン | 説明 | +| -------------------- | --------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **メソッド実行** | ![execute-method](../assets/en/code-editor/execute-method.png) | コードエディターウィンドウには、そのエディターで開かれているメソッドを実行するためのボタンがあります。 Using the menu associated with this button, you can choose the type of execution:
    • **Run new process**: Creates a process and runs the method in standard mode in this process.
    • **Run and debug new process**: Creates a new process and displays the method in the Debugger window for step by step execution in this process.
    • **Run in Application process**: Runs the method in standard mode in the context of the Application process (in other words, the record display window).
    • **Run and debug in Application process**: Displays the method in the Debugger window for step by step execution in the context of the Application process (in other words, the record display window).
    For more information on method execution, see [Project Methods](../Project/project-method-properties.md). | +| **メソッド中を検索** | ![search-icon](../assets/en/code-editor/search.png) | [*検索* エリア](#検索と置換) を表示します。 | +| **マクロ** | ![macros-button](../assets/en/code-editor/macros.png) | 選択対象にマクロを挿入します。 ドロップダウンの矢印をクリックすると、利用可能なマクロがすべて表示されます。 マクロの作成とインスタンス化についの詳細は、 [マクロ](#マクロ) を参照ください。 | +| **すべて折りたたむ / すべて展開** | ![expand-collapse-button](../assets/en/code-editor/expand-collapse-all.png) | これらのボタンを使用してコードの制御フロー構造を折りたたんだり展開したりできます。 | +| **メソッド情報** | ![method-information-icon](../assets/en/code-editor/method-information.png) | [メソッドプロパティ](../Project/project-method-properties.md) ダイアログボックスを表示します(プロジェクトモードのみ)。 | +| **最新のクリップボードの値** | ![last-clipboard-values-icon](../assets/en/code-editor/last-clipboard-values.png) | 直近でクリップボードに保存された値を表示します。 | +| **クリップボード** | ![clipboard icons](../assets/en/code-editor/clipboards.png) | コードエディターで利用可能な 9つのクリップボードです。 クリップボードのアイコンをクリックするか、あるいはキーボードショートカットによって、 [これらのクリップボードを利用](#クリップボード) できます。 [環境設定オプション](Preferences/methods.md#options-1) を使用するとそれらを非表示にすることができます。 | +| **ナビゲーションドロップダウン** | ![code-navigation-icons](../assets/en/code-editor/tags.png) | 自動的にタグ付けされたコンテンツや手動で宣言されたマーカーを使用して、メソッドやクラス内を移動できます。 後述参照。 | ### 編集エリア diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/Admin/data-collect.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/Admin/data-collect.md index b58572d7ff4350..7b368ffc4aa6f1 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/Admin/data-collect.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/Admin/data-collect.md @@ -24,115 +24,115 @@ title: データ収集 また、一部のデータは一定時間ごとに収集されます。 -| データ | 型 | 注記 | -| ----------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| appServer | Object | Object containing application server information | -| appServer.hits | Number | Number of requests from internal processes | -| appServer.bytesIn | Number | Bytes received by internal processes | -| appServer.bytesOut | Number | Bytes sent by internal processes | -| appServer.executionTime | Number | CPU execution time for internal processes | -| cacheMissBytes | Object | キャッシュミスバイト数 | -| cacheMissCount | Object | キャッシュミス回数 | -| cacheReadBytes | Object | キャッシュから読み出したバイト数 | -| cacheReadCount | Object | キャッシュの読み出し回数 | -| classUsage | Object | 特定の言語クラスのインスタンス数 | -| connectionSystems | Collection | ビルド番号 (括弧内) なしのクライアントOSと、それを使用しているクライアント数 | -| databases[].cacheSize | Number | キャッシュのサイズ (バイト単位) | -| databases[].externalDatastoreOpened | Number | `Open datastore` への呼び出し回数 | -| databases[].id | Number | Database ID | -| databases[].internalDatastoreOpened | Number | 外部サーバーによってデータストアが開かれた回数 | -| databases[].maxConcurrent4DClients | Number | Maximum number of simultaneous 4D Client sessions (using a 4D Client license) over the collection interval | -| databases[].maxConcurrentRestSessions | Number | Maximum number of simultaneous REST sessions over the collection interval | -| databases[].maxConcurrentWebSessions | Number | Maximum number of simultaneous Web sessions (4DACTION and SOAP) over the collection interval | -| databases[].maximum4DClientConnections | Number | サーバーへのクライアントの最大接続数 | -| databases[].numberOfDistinctClients | Number | Distinct count of client persistent UUID seen over collection interval | -| databases[].numberOfFields | Number | フィールドの数 | -| databases[].numberOfKeepRecordSyncInfo | Number | "複製を許可"オプションがチェックされているテーブルの数 | -| databases[].numberOfRecordsMax | Number | レコードの総数 | -| databases[].numberOfTables | Number | テーブルの総数 | -| databases[].qodly.webforms | Number | Qodly Webフォームの数 | -| databases[].remoteDebugger4DRemoteAttachments | Number | リモート4D から有効化されているリモートデバッガの数 | -| databases[].remoteDebuggerQodlyAttachments | Number | Qodly から有効化されているリモートデバッガの数 | -| databases[].remoteDebuggerVSCodeAttachments | Number | VS Code から有効化されているリモートデバッガの数 | -| databases[].structureHash | Text | | -| databases[].uniqueID | Text (ハッシュ文字列) | データベースに関連付けられた一意の id (*データベース名の多項式ローリングハッシュ*) | -| databases[].uptime | Number | Time elapsed (in seconds) between two collection events | -| databases[].uuid | Text | Database UUID | -| databases[].webIPAddressesNumber | Number | 4D Server へのリクエストを行った異なるIP アドレスの数 | -| databases[].webMaxScalableSessions | Number | Maximum number of scalable sessions on the server | -| databases[].webScalableSessions | Boolean | スケーラブルセッションが有効化されている場合にはTrue | -| dataSegment1.diskReadBytes | Object | データファイルから読み取ったバイト数 | -| dataSegment1.diskReadCount | Object | データファイルからの読み取り回数 | -| dataSegment1.diskWriteBytes | Object | データファイルに書き込んだバイト数 | -| dataSegment1.diskWriteCount | Object | データファイルへの書き込み回数 | -| dataSize | Number | データファイルのサイズ (バイト単位) | -| dbServer | Object | Object containing DB4D server information | -| dbServer.hits | Number | Number of requests from internal processes | -| dbServer.bytesIn | Number | Bytes received by internal processes | -| dbServer.bytesOut | Number | Bytes sent by internal processes | -| dbServer.executionTime | Number | CPU execution time for internal processes | -| encryptedConnections | Boolean | クライアント/サーバー接続が暗号化されている場合は True | -| externalPHP | Boolean | クライアントが `PHP execute` を呼び出して、独自のバージョンの php を使用した場合は True。 | -| general.buildNumber | Number | 4Dアプリケーションのビルド番号 | -| general.headless | Boolean | アプリケーションがヘッドレスモードで実行されている場合は true | -| general.isRosetta | Boolean | macOS の Rosetta で 4D がエミュレートされている場合は True、そうでない場合は False (エミュレートされていない、または Windows の場合)。 | -| general.license | Object | 製品ライセンスの名称と説明 | -| general.uniqueID | Text | 4D Server の固有ID | -| general.version | Text | 4Dアプリケーションのバージョン番号 | -| hasDataChangeTracking | Boolean | "__DeletedRecords" テーブルが存在する場合にはTrue | -| indexSegment.diskReadBytes | Number | インデックスファイルから読み取ったバイト数 | -| indexSegment.diskReadCount | Number | インデックスファイルからの読み取り回数 | -| indexSegment.diskWriteBytes | Number | インデックスファイルに書き込んだバイト数 | -| indexSegment.diskWriteCount | Number | インデックスファイルへの書き込み回数 | -| indexSize | Number | インデックスのサイズ (バイト単位) | -| isCompiled | Boolean | アプリケーションがコンパイル済みの場合は true | -| isEncrypted | Boolean | データファイルが暗号化されていれば true | -| isEngined | Boolean | アプリケーションに 4D Volume Desltop が組み込まれている場合は true | -| isProjectMode | Boolean | アプリケーションがプロジェクトの場合は true | -| LDAPLogin | Number | `LDAP LOGIN` の呼び出し回数 | -| license.sffPrimaryKey | Number | Server master product number | -| machine.CPU | Text | プロセッサーの名前、種類、および速度 | -| machine.memory | Number | マシン上で利用可能なメモリ容量 (バイト単位) | -| machine.numberOfCores | Number | コアの合計数 | -| machine.system | Text | OS のバージョンとビルド番号 | -| maximumNumberOfWebProcesses | Number | 最大同時Webプロセス数 | -| maximumUsedPhysicalMemory | Number | 最大使用した物理メモリ | -| maximumUsedVirtualMemory | Number | 最大使用した仮想メモリ | -| mobile | Collection | モバイルセッションに関する情報 | -| numberOfWebServices | Number | Webサービスとして公開されているメソッドの数 | -| ODBCLogin | Number | ODBC を使用しての `SQL LOGIN`への呼出回数 | -| phpCall | Number | `PHP execute` の呼び出し回数 | -| QueryBySQL | Number | `QUERY BY SQL` への呼出回数 | -| restServer | Object | Object containing REST server information | -| restServer.bytesIn | Number | Bytes received by the REST server | -| restServer.bytesOut | Number | Bytes sent by the REST server | -| restServer.hits | Number | Number of hits on the REST server | -| restServer.executionTime | Number | CPU execution time for the REST WEB server | -| soapServer | Object | Object containing SOAP server information | -| soapServer.bytesIn | Number | Bytes received by the SOAP server | -| soapServer.bytesOut | Number | Bytes sent by the SOAP server | -| soapServer.hits | Number | Number of hits on the SOAP server | -| soapServer.executionTime | Number | CPU execution time for the SOAP server | -| SQLBeginEndStatement | Number | `Begin SQL` / `End SQL` の使用回数 | -| SQLLoginInternal | Number | SQL_INTERNAL を使用しての `SQL LOGIN` の呼出回数 | -| sqlServer | Object | Object containing SQL server information | -| sqlServer.hits | Number | Number of SQL queries executed | -| sqlServer.bytesIn | Number | Bytes received by the SQL engine | -| sqlServer.bytesOut | Number | Bytes sent by the SQL engine | -| sqlServer.executionTime | Number | CPU execution time for SQL queries | -| usingQUICNetworkLayer | Boolean | データベースが QUICネットワークレイヤーを使用している場合は True | -| totalExecutionTime | Number | Total CPU execution time: sum of all request types | -| totalRequests | Number | Total requests: sum of web, REST, SOAP, SQL, and internal traffic | -| webServer | Object | Object containing Web server information | -| webServer.bytesIn | Number | Bytes received by the Web server | -| webServer.bytesOut | Number | Bytes sent by the Web server | -| webServer.hits | Number | Number of hits on the Web server | -| webServer.executionTime | Number | CPU execution time for the Web server | -| webStaticServer | Object | Object containing the static Web server information | -| webStaticServer.bytesIn | Number | Bytes received by the static Web server | -| webStaticServer.bytesOut | Number | Bytes sent by the static Web server | -| webStaticServer.hits | Number | Number of hits on the static Web server | -| webStaticServer.executionTime | Number | CPU execution time for the static Web server | +| データ | 型 | 注記 | +| ----------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| appServer | Object | アプリケーションサーバー情報に関する情報を格納したオブジェクト | +| appServer.hits | Number | 内部プロセスからのリクエスト数 | +| appServer.bytesIn | Number | 内部プロセスから受信したバイト数 | +| appServer.bytesOut | Number | 内部プロセスから送信されたバイト数 | +| appServer.executionTime | Number | 内部プロセスのCPU実行時間 | +| cacheMissBytes | Object | キャッシュミスバイト数 | +| cacheMissCount | Object | キャッシュミス回数 | +| cacheReadBytes | Object | キャッシュから読み出したバイト数 | +| cacheReadCount | Object | キャッシュの読み出し回数 | +| classUsage | Object | 特定の言語クラスのインスタンス数 | +| connectionSystems | Collection | ビルド番号 (括弧内) なしのクライアントOSと、それを使用しているクライアント数 | +| databases[].cacheSize | Number | キャッシュのサイズ (バイト単位) | +| databases[].externalDatastoreOpened | Number | `Open datastore` への呼び出し回数 | +| databases[].id | Number | データベースID | +| databases[].internalDatastoreOpened | Number | 外部サーバーによってデータストアが開かれた回数 | +| databases[].maxConcurrent4DClients | Number | 回収期間の中での、(4D クライアントライセンスを使用した)同時4Dクライアントセッションの最大数 | +| databases[].maxConcurrentRestSessions | Number | 回収期間の中での同時REST セッション最大数 | +| databases[].maxConcurrentWebSessions | Number | 回収期間の中での同時Web セッション(4DACTIPN およびSOAP)の最大数 | +| databases[].maximum4DClientConnections | Number | サーバーへのクライアントの最大接続数 | +| databases[].numberOfDistinctClients | Number | 回収期間の中で見られた永続的なクライアントUUID の固有数 | +| databases[].numberOfFields | Number | フィールドの数 | +| databases[].numberOfKeepRecordSyncInfo | Number | "複製を許可"オプションがチェックされているテーブルの数 | +| databases[].numberOfRecordsMax | Number | レコードの総数 | +| databases[].numberOfTables | Number | テーブルの総数 | +| databases[].qodly.webforms | Number | Qodly Webフォームの数 | +| databases[].remoteDebugger4DRemoteAttachments | Number | リモート4D から有効化されているリモートデバッガの数 | +| databases[].remoteDebuggerQodlyAttachments | Number | Qodly から有効化されているリモートデバッガの数 | +| databases[].remoteDebuggerVSCodeAttachments | Number | VS Code から有効化されているリモートデバッガの数 | +| databases[].structureHash | Text | | +| databases[].uniqueID | Text (ハッシュ文字列) | データベースに関連付けられた一意の id (*データベース名の多項式ローリングハッシュ*) | +| databases[].uptime | Number | 二つの回収イベント間での経過時間(秒単位) | +| databases[].uuid | Text | データベース UUID | +| databases[].webIPAddressesNumber | Number | 4D Server へのリクエストを行った異なるIP アドレスの数 | +| databases[].webMaxScalableSessions | Number | サーバー上でのスケーラブルセッションの最大数 | +| databases[].webScalableSessions | Boolean | スケーラブルセッションが有効化されている場合にはTrue | +| dataSegment1.diskReadBytes | Object | データファイルから読み取ったバイト数 | +| dataSegment1.diskReadCount | Object | データファイルからの読み取り回数 | +| dataSegment1.diskWriteBytes | Object | データファイルに書き込んだバイト数 | +| dataSegment1.diskWriteCount | Object | データファイルへの書き込み回数 | +| dataSize | Number | データファイルのサイズ (バイト単位) | +| dbServer | Object | DB4D サーバーの情報を格納したオブジェクト | +| dbServer.hits | Number | 内部プロセスからのリクエスト数 | +| dbServer.bytesIn | Number | 内部プロセスから受信したバイト数 | +| dbServer.bytesOut | Number | 内部プロセスから送信されたバイト数 | +| dbServer.executionTime | Number | 内部プロセスのCPU実行時間 | +| encryptedConnections | Boolean | クライアント/サーバー接続が暗号化されている場合は True | +| externalPHP | Boolean | クライアントが `PHP execute` を呼び出して、独自のバージョンの php を使用した場合は True。 | +| general.buildNumber | Number | 4Dアプリケーションのビルド番号 | +| general.headless | Boolean | アプリケーションがヘッドレスモードで実行されている場合は true | +| general.isRosetta | Boolean | macOS の Rosetta で 4D がエミュレートされている場合は True、そうでない場合は False (エミュレートされていない、または Windows の場合)。 | +| general.license | Object | 製品ライセンスの名称と説明 | +| general.uniqueID | Text | 4D Server の固有ID | +| general.version | Text | 4Dアプリケーションのバージョン番号 | +| hasDataChangeTracking | Boolean | "__DeletedRecords" テーブルが存在する場合にはTrue | +| indexSegment.diskReadBytes | Number | インデックスファイルから読み取ったバイト数 | +| indexSegment.diskReadCount | Number | インデックスファイルからの読み取り回数 | +| indexSegment.diskWriteBytes | Number | インデックスファイルに書き込んだバイト数 | +| indexSegment.diskWriteCount | Number | インデックスファイルへの書き込み回数 | +| indexSize | Number | インデックスのサイズ (バイト単位) | +| isCompiled | Boolean | アプリケーションがコンパイル済みの場合は true | +| isEncrypted | Boolean | データファイルが暗号化されていれば true | +| isEngined | Boolean | アプリケーションに 4D Volume Desltop が組み込まれている場合は true | +| isProjectMode | Boolean | アプリケーションがプロジェクトの場合は true | +| LDAPLogin | Number | `LDAP LOGIN` の呼び出し回数 | +| license.sffPrimaryKey | Number | サーバーのマスタープロダクト番号 | +| machine.CPU | Text | プロセッサーの名前、種類、および速度 | +| machine.memory | Number | マシン上で利用可能なメモリ容量 (バイト単位) | +| machine.numberOfCores | Number | コアの合計数 | +| machine.system | Text | OS のバージョンとビルド番号 | +| maximumNumberOfWebProcesses | Number | 最大同時Webプロセス数 | +| maximumUsedPhysicalMemory | Number | 最大使用した物理メモリ | +| maximumUsedVirtualMemory | Number | 最大使用した仮想メモリ | +| mobile | Collection | モバイルセッションに関する情報 | +| numberOfWebServices | Number | Webサービスとして公開されているメソッドの数 | +| ODBCLogin | Number | ODBC を使用しての `SQL LOGIN`への呼出回数 | +| phpCall | Number | `PHP execute` の呼び出し回数 | +| QueryBySQL | Number | `QUERY BY SQL` への呼出回数 | +| restServer | Object | REST サーバーの情報を格納したオブジェクト | +| restServer.bytesIn | Number | REST サーバーで受信されたバイト | +| restServer.bytesOut | Number | REST サーバーから送信されたバイト | +| restServer.hits | Number | REST サーバー上のヒット数 | +| restServer.executionTime | Number | REST Web サーバーのCPU 実行時間 | +| soapServer | Object | SOAP サーバー情報を格納したオブジェクト | +| soapServer.bytesIn | Number | SOAP サーバーで受信されたバイト | +| soapServer.bytesOut | Number | SOAP サーバーから送信されたバイト | +| soapServer.hits | Number | SOAP サーバー上のヒット数 | +| soapServer.executionTime | Number | SOAP サーバーのCPU 実行時間 | +| SQLBeginEndStatement | Number | `Begin SQL` / `End SQL` の使用回数 | +| SQLLoginInternal | Number | SQL_INTERNAL を使用しての `SQL LOGIN` の呼出回数 | +| sqlServer | Object | SQL サーバー情報を格納したオブジェクト | +| sqlServer.hits | Number | 実行されたSQL クエリの数 | +| sqlServer.bytesIn | Number | SQL エンジンで受信されたバイト | +| sqlServer.bytesOut | Number | SQL エンジンによって送信されたバイト | +| sqlServer.executionTime | Number | SQL クエリのCPU 実行時間 | +| usingQUICNetworkLayer | Boolean | データベースが QUICネットワークレイヤーを使用している場合は True | +| totalExecutionTime | Number | CPU 総実行時間: 全てのリクエストタイプの合計 | +| totalRequests | Number | リクエスト総数: Web、REST、SOAP、SQL、および内部トラフィックの総数 | +| webServer | Object | Web サーバー情報を格納したオブジェクト | +| webServer.bytesIn | Number | Web サーバーで受信されたバイト | +| webServer.bytesOut | Number | Web サーバーから送信されたバイト | +| webServer.hits | Number | Web サーバー上のヒット数 | +| webServer.executionTime | Number | Web サーバーのCPU 実行時間 | +| webStaticServer | Object | スタティックなWeb サーバー情報を格納したオブジェクト | +| webStaticServer.bytesIn | Number | スタティックなWeb サーバーによって受信されたバイト | +| webStaticServer.bytesOut | Number | スタティックなWeb サーバーによって送信されたバイト | +| webStaticServer.hits | Number | スタティックなWeb サーバー上のヒット数 | +| webStaticServer.executionTime | Number | スタティックなWeb サーバーのCPU 実行時間 | ## 保存先と送信先 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md index 3c967081d1c293..2ddc8c8b9c87bd 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md @@ -16,17 +16,18 @@ title: 非同期実行 - タスクの実行が厳密な順番に従う必要があるとき。 - パフォーマンスへの影響が最小限である(例: 素早いオペレーション)。 - ブロッキングが許容可能な、シングルスレッドでのコンテキストで実行される。 -- 同期実行はUI をブロックするため、ブロックが起きても許容され得る、素早く順序付けされたタスクに対して適しています。 + +同期実行はUI をブロックするため、ブロックが起きても許容され得る、素早く順序付けされたタスクに対して適しています。 #### 非同期実行 -非同期実行は**イベント駆動型**であり、タスクを実行中でも他の操作を完了させることができます。 これは実行フローを管理するために、 **コールバック**、**ワーカー**、および **イベントハンドラ** といったものに依存します。 +Asynchronous execution is **event-driven** and allows other operations to complete. これは実行フローを管理するために、 **コールバック**、**ワーカー**、および **イベントハンドラ** といったものに依存します。 非同期実行は以下のような場合で使用されます: - 操作が長時間にわたる(例: サーバーのレスポンスを待つなど)。 - レスポンシブネスの良さが重要である場合(例: UI インタラクションなど)。 -- バックグラウンド処理、ネットワーク通信、あるいは並列処理などを実行する場合。 +- Background tasks, network communication, or parallel processing are performed. 同期的実行と非同期実行のどちらを選んだら良いかについては、以下の表をご覧下さい: @@ -41,25 +42,25 @@ title: 非同期実行 ## 基本原理 -4D はさまざまなクラスやコマンドを通して、ビルトインの**非同期実行**機能を提供します。 これらを使用することで、カレンとプロセスをブロックすることなく、他のオペレーションが完了するのを待ちながら、バックグラウンド処理、ネットワーク通信、そして大量のデータ処理などを行うことができます。 +4D はさまざまなクラスやコマンドを通して、ビルトインの**非同期実行**機能を提供します。 これらを使用することで、カレンとプロセスをブロックすることなく、他のオペレーションが完了するのを待ちながら、バックグラウンド処理、ネットワーク通信、そして大量のデータ処理などを行うことができます。 これらを使用することで、カレンとプロセスをブロックすることなく、他のオペレーションが完了するのを待ちながら、バックグラウンド処理、ネットワーク通信、そして大量のデータ処理などを行うことができます。 -4D における非同期イベントの管理の一般的な概念は、**ワーカー**(イベントをリッスンするプロセス)および**コールバック**(あるイベントが発生した際に自動的に実行される関数またはフォーミュラ)を使用した非同期メッセージモデルに基づいています。 ここでは何かの結果を待つ(同期モード)のではなく、特定のイベントが発生した際に自動的に呼び出される関数を提供します。 コールバックはクラス関数(推奨)またはフォーミュラオブジェクトとして渡すことができます。 +4D における非同期イベントの管理の一般的な概念は、**ワーカー**(イベントをリッスンするプロセス)および**コールバック**(あるイベントが発生した際に自動的に実行される関数またはフォーミュラ)を使用した非同期メッセージモデルに基づいています。 ここでは何かの結果を待つ(同期モード)のではなく、特定のイベントが発生した際に自動的に呼び出される関数を提供します。 コールバックはクラス関数(推奨)またはフォーミュラオブジェクトとして渡すことができます。 ここでは何かの結果を待つ(同期モード)のではなく、特定のイベントが発生した際に自動的に呼び出される関数を提供します。 コールバックはクラス関数(推奨)またはフォーミュラオブジェクトとして渡すことができます。 -This model is common to [`CALL WORKER`](../commands-legacy/call-worker.md), [`CALL FORM`](../commands-legacy/call-form.md), and [classes that support aynchronous execution](#asynchronous-programming-with-4d-classes). これらのコマンド/クラスは全て、バックグラウンドで実行されるオペレーションを開始します。 オペレーションを開始するステートメントは、オペレーションが終わるのを待たずに即座に戻ります。 +このモデルは [`CALL WORKER`](../commands-legacy/call-worker.md)、 [`CALL FORM`](../commands-legacy/call-form.md)、 および [非同期実行をサポートするクラス](#asynchronous-programming-with-4d-classes) などにおいて共通しています。 これらのコマンド/クラスは全て、バックグラウンドで実行されるオペレーションを開始します。 オペレーションを開始するステートメントは、オペレーションが終わるのを待たずに即座に戻ります。 これらのコマンド/クラスは全て、バックグラウンドで実行されるオペレーションを開始します。 オペレーションを開始するステートメントは、オペレーションが終わるのを待たずに即座に戻ります。 ### ワーカー -非同期プログラミングは [**ワーカー**](../Develop/processes.md#ワーカープロセス) (ワーカープロセス) というシステムに依存しています。これを使用することでメインプロセスをブロックすることなく、コードを実行することができます。 これは特に、インターフェースをレスポンシブな状態にしたまま、長時間にわたるタスク(HTTP 呼び出し、外部プロセスの実行、バックグラウンド処理など)を処理するのに有効です。 +非同期プログラミングは [**ワーカー**](../Develop/processes.md#ワーカープロセス) (ワーカープロセス) というシステムに依存しています。これを使用することでメインプロセスをブロックすることなく、コードを実行することができます。 これは特に、インターフェースをレスポンシブな状態にしたまま、長時間にわたるタスク(HTTP 呼び出し、外部プロセスの実行、バックグラウンド処理など)を処理するのに有効です。 これは特に、インターフェースをレスポンシブな状態にしたまま、長時間にわたるタスク(HTTP 呼び出し、外部プロセスの実行、バックグラウンド処理など)を処理するのに有効です。 -非同期プログラミングにおいてワーカープロセスの使用は**必須**です。いわゆる"クラシック"なプロセスはプロセスメソッドが終了した時に実行を自動的に終了するため、コールバックを使用するようなことができないからです。 ワーカープロセスであればその後も生き続け、**イベントをリッスンする**ことができます。 +非同期プログラミングにおいてワーカープロセスの使用は**必須**です。いわゆる"クラシック"なプロセスはプロセスメソッドが終了した時に実行を自動的に終了するため、コールバックを使用するようなことができないからです。 ワーカープロセスであればその後も生き続け、**イベントをリッスンする**ことができます。 ワーカープロセスであればその後も生き続け、**イベントをリッスンする**ことができます。 ### イベントキュー(メールボックス) -Each worker (or form window for [`CALL FORM`](../commands-legacy/call-form.md)) has its own message queue. [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md) simply posts a message to this queue. ワーカーは、独自のコンテキスト内において、メッセージを一つずつ受信した順番で管理していきます。 プロセス変数、カレンとレクション、などは保持されます。 +それぞれのワーカー(または [`CALL FORM`](../commands-legacy/call-form.md) の場合にはフォームウィンドウ)は、独自のメッセージキューを持っています。 [`CALL WORKER`](../commands/call-worker) あるいは [`CALL FORM`](../commands/call-form) コマンドは、メッセージをそのキューへと送信します。 ワーカーは、独自のコンテキスト内において、メッセージを一つずつ受信した順番で管理していきます。 プロセス変数、カレンとレクション、などは保持されます。 [`CALL WORKER`](../commands-legacy/call-worker.md) あるいは [`CALL FORM`](../commands-legacy/call-form.md) コマンドは、メッセージをそのキューへと送信します。 ワーカーは、独自のコンテキスト内において、メッセージを一つずつ受信した順番で管理していきます。 プロセス変数、カレンとレクション、などは保持されます。 ### メッセージを介した双方向通信 -呼び出しプロセスがメッセージを投稿すると、ワーカーはそれを実行します。 The worker can in turn post a message (via [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). この機構により、クラシックな同期呼び出しの応答を置き換えることができます。 +呼び出しプロセスがメッセージを投稿すると、ワーカーはそれを実行します。 呼び出しプロセスがメッセージを投稿すると、ワーカーはそれを実行します。 The worker can in turn post a message (via [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). この機構により、クラシックな同期呼び出しの応答を置き換えることができます。 ### イベントリスニング @@ -67,13 +68,13 @@ Each worker (or form window for [`CALL FORM`](../commands-legacy/call-form.md)) 非同期実行のコンテキストにおいては、以下の機能がリスニングモード内でコードを配置します: -- [`CALL WORKER`](../commands-legacy/call-worker.md) executes the code for which it has been called, then returns to a listening status from where it can be called afterwards. -- [`CALL FORM`](../commands-legacy/call-form.md) opens a form and makes it listen for incoming messages from the event queue. +- [`CALL WORKER`](../commands-legacy/call-worker.md) はそれが呼び出されたコードを実行し、その後にまた呼び出し可能なリスニング状態へと戻ります。 +- [`CALL FORM`](../commands-legacy/call-form.md) はフォームを開いて、それをイベントキューから入ってくるメッセージをリッスンできる状態にします。 - `wait()` を呼び出すと、他のインスタンスからのコールバック内の `terminate()` あるいは `shutdown()` をリッスンします。 ### イベントのトリガー -イベントは実行フローの間に自動的にトリガーされ、対応するコールバックへと渡されます。 `wait()` の途中に `terminate()` あるいは `shutdown()` を呼び出すことで、強制的にイベントをトリガーさせることもできます。 +イベントは実行フローの間に自動的にトリガーされ、対応するコールバックへと渡されます。 イベントは実行フローの間に自動的にトリガーされ、対応するコールバックへと渡されます。 `wait()` の途中に `terminate()` あるいは `shutdown()` を呼び出すことで、強制的にイベントをトリガーさせることもできます。 ### コールバック実行コンテキスト @@ -83,9 +84,9 @@ Each worker (or form window for [`CALL FORM`](../commands-legacy/call-form.md)) ### 非同期オブジェクトのリリース -4D では、全てのオブジェクトは、メモリ内に [そのオブジェクトへの参照がもう残っていない](../Concepts/dt_object.md#resources) 場合にそのオブジェクトがリリースされます。 これは一般的に、メソッド実行の最後にローカル変数が消去される時に発生します。 +4D では、全てのオブジェクトは、メモリ内に [そのオブジェクトへの参照がもう残っていない](../Concepts/dt_object.md#resources) 場合にそのオブジェクトがリリースされます。 これは一般的に、メソッド実行の最後にローカル変数が消去される時に発生します。 これは一般的に、メソッド実行の最後にローカル変数が消去される時に発生します。 -非同期クラスにおいては、オブジェクトをインスタンス化したプロセス内において **追加の参照** が必ず4D によって維持されています。 この参照はオペレーションが完了したときにのみリリースされます。つまり、 `onTerminate` イベントがトリガーされたあとです。 この自動参照によって、変数から特別に参照していなくても、オブジェクトを最後まで存続させることができます。 +非同期クラスにおいては、オブジェクトをインスタンス化したプロセス内において **追加の参照** が必ず4D によって維持されています。 この参照はオペレーションが完了したときにのみリリースされます。つまり、 `onTerminate` イベントがトリガーされたあとです。 この自動参照によって、変数から特別に参照していなくても、オブジェクトを最後まで存続させることができます。 この参照はオペレーションが完了したときにのみリリースされます。つまり、 `onTerminate` イベントがトリガーされたあとです。 この自動参照によって、変数から特別に参照していなくても、オブジェクトを最後まで存続させることができます。 オブジェクトを任意のタイミングで"強制的に"リリースしたい場合、`.shutdown()` あるいは `terminate()` 関数を使用します: これらは`onTerminate` イベントをトリガーするため、オブジェクトはリリースされます。 @@ -109,13 +110,13 @@ Each worker (or form window for [`CALL FORM`](../commands-legacy/call-form.md)) - [`WebSocket`](../API/WebSocketClass.md) – WebSocket クライアント接続を管理します。 - [`WebSocketServer`](../API/WebSocketServerClass.md) – WebSocket サーバー接続を管理します。 -これらのクラスは非同期実行に関しては同じルールに従います。 これらのクラスのコンストラクターは、非同期オブジェクトを設定するために使用される *options* 引数を受付ます。 この場合の *options* オブジェクトには、コールバック関数を備えた[ユーザークラス](../Concepts/classes.md) インスタンスであることが推奨されます。 例えば、クラス内に `onResponse()` 関数を作成した場合、*reponse* イベントが発生した際にそれが自動的に非同期で呼び出されます。 +これらのクラスは非同期実行に関しては同じルールに従います。 これらのクラスのコンストラクターは、非同期オブジェクトを設定するために使用される *options* 引数を受付ます。 この場合の *options* オブジェクトには、コールバック関数を備えた[ユーザークラス](../Concepts/classes.md) インスタンスであることが推奨されます。 For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. 以下のような手順が推奨されます: 1. コールバック関数を宣言するユーザークラスを作成します。例えば、`onError()` および `onResponse()` 関数を持つ、`cs.Params` クラスなどです。 2. そのユーザークラスをインスタンス化し(ここでの例では`cs.Params.new()` クラスを使用)、それを使用して非同期オブジェクトを設定します。 -3. 4D クラスのコンストラクターを呼び出し(例えば`4D.SystemWorker.new()` など)、*options* オブジェクトを引数として渡します。 渡されたオペレーションは、遅延なくすぐに開始されます。 +3. 4D クラスのコンストラクターを呼び出し(例えば`4D.SystemWorker.new()` など)、*options* オブジェクトを引数として渡します。 渡されたオペレーションは、遅延なくすぐに開始されます。 渡されたオペレーションは、遅延なくすぐに開始されます。 以下は、ユーザークラスに基づいた *options* オブジェクトの実装の完全な一例です: @@ -161,7 +162,7 @@ Function _createFile($title : Text; $textBody : Text) :::tip -一部の場合においては、クラス関数の代わりに、プロパティ値としてフォーミュラを使用したい場合があるかもしれません。 これはベストプラクティスではありませんが、以下のようなシンタックスがサポートされています: +一部の場合においては、クラス関数の代わりに、プロパティ値としてフォーミュラを使用したい場合があるかもしれません。 これはベストプラクティスではありませんが、以下のようなシンタックスがサポートされています: これはベストプラクティスではありませんが、以下のようなシンタックスがサポートされています: ```4d var $options.onResponse:=Formula(myMethod) @@ -171,11 +172,11 @@ var $options.onResponse:=Formula(myMethod) ## 非同期コード内での同期的な実行 -現代的な非同期コードを使用している場合でも、ある程度の同期実行が必要となる場合があるかもしれません。 例えば、ある関数が結果を得るまで、ある程度の時間待つようにしたいかもしれません。 これは例えば、保証された速いネットワーク接続や、システムワーカーなどが考えられます。 このような場合、`wait()` 関数を使用することで、同期的な実行を強制することができます。 +現代的な非同期コードを使用している場合でも、ある程度の同期実行が必要となる場合があるかもしれません。 例えば、ある関数が結果を得るまで、ある程度の時間待つようにしたいかもしれません。 これは例えば、保証された速いネットワーク接続や、システムワーカーなどが考えられます。 現代的な非同期コードを使用している場合でも、ある程度の同期実行が必要となる場合があるかもしれません。 例えば、ある関数が結果を得るまで、ある程度の時間待つようにしたいかもしれません。 これは例えば、保証された速いネットワーク接続や、システムワーカーなどが考えられます。 このような場合、`wait()` 関数を使用することで、同期的な実行を強制することができます。 -**`.wait()`** 関数はカレントプロセスの実行を一時停止させ、4D を[イベントリスニング](#イベントリスニング) モードにします。 ただし、これは `wait()` 関数が呼ばれたオブジェクトからだけでなく、どのソースから受信したイベントであってもトリガーされるという点に注意してください。 +**`.wait()`** 関数はカレントプロセスの実行を一時停止させ、4D を[イベントリスニング](#イベントリスニング) モードにします。 ただし、これは `wait()` 関数が呼ばれたオブジェクトからだけでなく、どのソースから受信したイベントであってもトリガーされるという点に注意してください。 ただし、これは `wait()` 関数が呼ばれたオブジェクトからだけでなく、どのソースから受信したイベントであってもトリガーされるという点に注意してください。 -`wait()` 関数は、`onTerminate` イベントがオブジェクト上でトリガーされた場合か、あるいは指定されたタイムアウト(あれば)が経過した場合に実行を返します。 結果として、コールバック内から `shutdown()` あるいは `terminate()` を呼び出すことで、`.wait()` から明示的に抜け出すことができます。 それ以外の場合は、 `.wait()` はカレントのオペレーションが終了した際に終了します。 +`wait()` 関数は、`onTerminate` イベントがオブジェクト上でトリガーされた場合か、あるいは指定されたタイムアウト(あれば)が経過した場合に実行を返します。 結果として、コールバック内から `shutdown()` あるいは `terminate()` を呼び出すことで、`.wait()` から明示的に抜け出すことができます。 それ以外の場合は、 `.wait()` はカレントのオペレーションが終了した際に終了します。 結果として、コールバック内から `shutdown()` あるいは `terminate()` を呼び出すことで、`.wait()` から明示的に抜け出すことができます。 それ以外の場合は、 `.wait()` はカレントのオペレーションが終了した際に終了します。 例: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox_overview.md index 39a2d98142eb40..240c8d95932654 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/listbox_overview.md @@ -29,10 +29,10 @@ title: リストボックス リストボックスオブジェクトは、以下4つの項目で構成されます: -- the [list box object](./listbox-object.md) in its entirety, -- [columns](./listbox-column.md), -- column [headers](./listbox-header-footer.md#headers), and -- column [footers](./listbox-header-footer.md#footers). +- [リストボックスオブジェクト](./listbox-object.md) 全体 +- [カラム](./listbox-column.md) +- カラムの[ヘッダー](./listbox-header-footer.md#headers) +- カラムの[フッター](./listbox-header-footer.md#footers) ![](../assets/en/FormObjects/listbox_parts.png) @@ -43,7 +43,7 @@ title: リストボックス 1. 各列のオブジェクトメソッド 2. リストボックスのオブジェクトメソッド -The column object method gets events that occur in its [header](./listbox-header-footer.md#headers) and [footer](./listbox-header-footer.md#footers). +カラムのオブジェクトメソッドは [header](./listbox-header-footer.md#headers) および [footer](./listbox-header-footer.md#footers) 内で発生するイベントも取得します。 ### リストボックスの型 @@ -59,7 +59,7 @@ The column object method gets events that occur in its [header](./listbox-header リストボックスオブジェクトはプロパティによってあらかじめ設定可能なほか、プログラムにより動的に管理することもできます。 -The 4D Language includes a dedicated "List Box" theme for list box commands, but commands from various other themes, such as "Object properties" commands or [`EDIT ITEM`](../commands/edit-item), [`Displayed line number`](../commands/displayed-line-number) commands can also be used. 詳細な情報については、*4D ランゲージリファレンス* の[リストボックスコマンドの一覧](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) のページを参照してください。 +4D ランゲージにはリストボックス関連のコマンドをまとめた "リストボックス" テーマが専用に設けられていますが、"オブジェクトプロパティ" コマンドや [`EDIT ITEM`](../commands/edit-item)、[`Displayed line number`](../commands/displayed-line-number) コマンドなど、ほかのテーマのコマンドも利用することができます。 詳細な情報については、*4D ランゲージリファレンス* の[リストボックスコマンドの一覧](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) のページを参照してください。 ## 入力の管理 @@ -245,14 +245,14 @@ JSON フォームにおいて、リストボックスに次のハイライトセ 標準ソートのサポートは、リストボックスのタイプに依存します: -| リストボックスタイプ | 標準ソートのサポート | コメント | -| ------------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Object の Collection | ◯ |
    • "This.a" や "This.a.b" 列はソート可能です。
    • [リストボックス列の式プロパティ](properties_Object.md#変数あるいは式) は [代入可能な式](../Concepts/quick-tour.md#代入可-vs-代入不可の式) でなくてはなりません。
    | -| スカラー値のコレクション | × | [`orderBy()`](../API/CollectionClass.md#orderby) 関数を使ったカスタムソートを使用します。 | -| エンティティセレクション | ◯ |
    • The [list box source property](properties_Object.md#variable-or-expression) must be an [assignable expression](../Concepts/quick-tour.md#assignable-vs-non-assignable-expressions).
    • サポートされる: オブジェクト属性プロパティに対するソート (例: "data" がオブジェクト属性であるときに"This.data.city")
    • サポートされる: リレートされた属性に対するソート(例: "This.company.name")
    • サポートされない: リレートされた属性を経由したオブジェクト属性に対するソート(例: "This.company.data.city")。 For this, you need to use custom sort with [`orderByFormula()`](../API/EntitySelectionClass.md#orderbyformula) function (see example below)
    | -| カレントセレクション | ◯ | 単純な式のみソート可能です (例: `[Table_1]Field_2`) | -| 命名セレクション | × | | -| 配列 | ◯ | ピクチャー配列やポインター配列と紐づけられた列はソートできません | +| リストボックスタイプ | 標準ソートのサポート | コメント | +| ------------------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Object の Collection | ◯ |
    • "This.a" や "This.a.b" 列はソート可能です。
    • [リストボックス列の式プロパティ](properties_Object.md#変数あるいは式) は [代入可能な式](../Concepts/quick-tour.md#代入可-vs-代入不可の式) でなくてはなりません。
    | +| スカラー値のコレクション | × | [`orderBy()`](../API/CollectionClass.md#orderby) 関数を使ったカスタムソートを使用します。 | +| エンティティセレクション | ◯ |
    • The [list box source property](properties_Object.md#variable-or-expression) must be an [assignable expression](../Concepts/quick-tour.md#assignable-vs-non-assignable-expressions).
    • サポートされる: オブジェクト属性プロパティに対するソート (例: "data" がオブジェクト属性であるときに"This.data.city")
    • サポートされる: リレートされた属性に対するソート(例: "This.company.name")
    • サポートされない: リレートされた属性を経由したオブジェクト属性に対するソート(例: "This.company.data.city")。 この場合には、[`orderByFormula()`](../API/EntitySelectionClass.md#orderbyformula) 関数を使ったカスタムソートを使用します (後述の例題参照)
    | +| カレントセレクション | ◯ | 単純な式のみソート可能です (例: `[Table_1]Field_2`) | +| 命名セレクション | × | | +| 配列 | ◯ | ピクチャー配列やポインター配列と紐づけられた列はソートできません | ### カスタムソート @@ -310,8 +310,8 @@ End if リストボックスの背景色、フォントカラー、そしてフォントスタイルを設定するためにはいくつかの方法があります: -- at the level of the [list box object properties](./listbox-object.md), -- at the level of the [column properties](./listbox-column.md), +- [リストボックスオブジェクトのプロパティリスト](./listbox-object.md) を使用 +- [カラムのプロパティリスト](./listbox-column.md) を使用 - リストボックスまたは列ごとの [配列や式](#配列と式の使用) プロパティを使用 - セルごとのテキストにて定義 ([マルチスタイルテキスト](properties_Text.md#マルチスタイル) の場合) @@ -319,12 +319,12 @@ End if 優先順位や継承の原理は、複数のレベルにわたって同じプロパティに異なる値が指定された場合に適用されます。 -1. (highest priority) Cell (if multi-style text) +1. (最優先) セル(マルチスタイルテキストの場合) 2. 列の配列/メソッド 3. リストボックスの配列/メソッド 4. 列のプロパティ 5. リストボックスのプロパティ -6. (lowest priority) Meta Info expression (for collection or entity selection list boxes) +6. (最も低い優先度) メタ情報式(コレクションまたはエンティティセレクション型リストボックスの場合) 例として、リストボックスのプロパティにてフォントスタイルを設定しながら、列には行スタイル配列を使用して異なるスタイルを設定した場合、後者が有効となります。 @@ -514,20 +514,20 @@ Variable 2 も常に表示され、入力できます。 これは二番目の ->MyListbox{3}:=True ``` -*Non-hierarchical representation:* +*非階層表示:* ![](../assets/en/FormObjects/hierarch7.png) -*Hierarchical representation:* +*階層表示:* ![](../assets/en/FormObjects/hierarch8.png) > 親が折りたたまれているために行が非表示になっていると、それらは選択から除外されます。 (直接あるいはスクロールによって) 表示されている行のみを選択できます。 言い換えれば、行を選択かつ隠された状態にすることはできません。 選択と同様に、[`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) コマンドは階層リストボックスと非階層リストボックスにおいて同じ値を返します。 つまり以下の両方の例題で、[`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) は同じ位置 (3;2) を返します。 -*Non-hierarchical representation:* +*非階層表示:* ![](../assets/en/FormObjects/hierarch9.png) -*Hierarchical representation:* +*階層表示:* ![](../assets/en/FormObjects/hierarch10.png) サブ階層のすべての行が隠されているとき、ブレーク行は自動で隠されます。 先の例題で 1から 3行目までが隠されていると、"Brittany" のブレーク行は表示されません。 @@ -544,13 +544,13 @@ Variable 2 も常に表示され、入力できます。 これは二番目の 以下のリストボックスを例題とします (割り当てた配列名は括弧内に記載しています): -*Non-hierarchical representation:* +*非階層表示:* ![](../assets/en/FormObjects/hierarch12.png) -*Hierarchical representation:* +*階層表示:* ![](../assets/en/FormObjects/hierarch13.png) -階層モードでは `tStyle` や `tColors` 配列で変更されたスタイルは、ブレーク行に適用されません。 ブレークレベルでカラーやスタイルを変更するには、以下のステートメントを実行します: ブレークレベルでカラーやスタイルを変更するには、以下のステートメントを実行します: +階層モードでは `tStyle` や `tColors` 配列で変更されたスタイルは、ブレーク行に適用されません。 ブレークレベルでカラーやスタイルを変更するには、以下のステートメントを実行します: ```4d OBJECT SET RGB COLORS(T1;0x0000FF;0xB0B0B0) @@ -573,7 +573,7 @@ Variable 2 も常に表示され、入力できます。 これは二番目の この場合、開発者がコードを使用して配列を空にしたり値を埋めたりしなければなりません。 実装する際注意すべき原則は以下のとおりです: -- リストボックスが表示される際、先頭の配列のみ値を埋めます。 However, you must create a second array with empty values so that the list box displays the expand/collapse buttons: +- リストボックスが表示される際、先頭の配列のみ値を埋めます。 しかし 2番目の配列を空の値で生成し、リストボックスに展開/折りたたみアイコンが表示されるようにしなければなりません: ![](../assets/en/FormObjects/hierarch15.png) - ユーザーが展開アイコンをクリックすると `On Expand` イベントが生成されます。 [`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) コマンドはクリックされたセルを返すので、適切な階層を構築します: 先頭の配列に繰り返しの値を設定し、2番目の配列には [`SELECTION TO ARRAY`](../commands/selection-to-array) コマンドから得られる値を設定します。そして[`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows) コマンドを使用して必要なだけ行を挿入します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Action.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Action.md index 238d0cf6ebd59f..98eeb674624ce6 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Action.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Action.md @@ -114,7 +114,30 @@ title: 動作 #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Forms](FormEditor/forms.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[フォーム](FormEditor/forms.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[リストボックス列](listbox-column.md) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[Web エリア](webArea_overview.md) --- diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_BackgroundAndBorder.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_BackgroundAndBorder.md index 33ede582b9f15c..4a43a5f6a7c04f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_BackgroundAndBorder.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_BackgroundAndBorder.md @@ -17,7 +17,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -41,7 +41,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) - [Oval](shapes_overview.md#oval) - [Rectangle](shapes_overview.md#rectangle) - [Text Area](text.md) +[階層リスト](list_overview.md) - [リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) - [楕円](shapes_overview.md#楕円) - [四角](shapes_overview.md#四角) - [テキストエリア](text.md) #### コマンド @@ -71,7 +71,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -240,7 +240,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_CoordinatesAndSizing.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_CoordinatesAndSizing.md index 42a1f58686a1b4..9427e253a55d77 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_CoordinatesAndSizing.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_CoordinatesAndSizing.md @@ -44,7 +44,7 @@ title: 座標とサイズ #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -64,7 +64,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Rectangle](shapes_overview.md#rectangle) - [Ruler](ruler.md) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[四角](shapes_overview.md#四角) - +[ルーラー](ruler.md) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -84,7 +112,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -104,7 +160,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -124,7 +208,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -192,7 +304,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -205,7 +345,7 @@ title: 座標とサイズ オブジェクトの横のサイズを指定します。 > - オブジェクトによっては高さが規定されているものがあり、その場合は変更できません。 -> - If the [Resizable](properties_ResizingOptions.md#resizable) property is used for a [list box column](listbox-column.md), the user can also manually resize the column. +> - [リストボックスカラム](listbox-column.md) に [サイズ変更可](properties_ResizingOptions.md#サイズ変更可) プロパティが設定されている場合には、ユーザーは手動でカラムサイズを変更することもできます。 > - リストボックスの [横方向サイズ変更](properties_ResizingOptions.md#横方向サイズ変更) プロパティに "拡大" を設定している場合にフォームをリサイズすると、一番右のカラムの幅は必要に応じて最大幅を超えて拡大されます。 #### JSON 文法 @@ -216,7 +356,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [Line](shapes_overview.md#line) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[線](shapes_overview.md#線) - +[リストボックス](listbox_overview.md) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -238,7 +406,7 @@ title: 座標とサイズ #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -260,7 +428,7 @@ title: 座標とサイズ #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -344,7 +512,7 @@ RowHeights{5}:=3 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Footers](properties_Footers.md) - [Headers](properties_Headers.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) - [フッター](properties_Footers.md) - [ヘッダー](properties_Headers.md) #### コマンド @@ -368,7 +536,7 @@ RowHeights{5}:=3 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Footers](properties_Footers.md) - [Headers](properties_Headers.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) - [フッター](properties_Footers.md) - [ヘッダー](properties_Headers.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_DataSource.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_DataSource.md index 90ba6ff5ab4d39..317d1279aecba2 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_DataSource.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_DataSource.md @@ -11,7 +11,7 @@ title: データソース このプロパティは次のフォームオブジェクトでサポートされています: -- [Combo box](comboBox_overview.md) and [list box column](listbox-column.md) form objects associated to a choice list. +- 選択リストと紐づけられている [コンボボックス](comboBox_overview.md) および [リストボックスカラム](listbox-column.md) フォームオブジェクト。 - 配列またはオブジェクトデータソースにより、紐づけられたリストが生成されている [コンボボックス](comboBox_overview.md) フォームオブジェクト。 たとえば、"France, Germany, Italy" という値を含む選択リストが "Countries" というコンボボックスに関連付けられていた場合を考えます。**自動挿入** のオプションがチェックをされていて、ユーザーが "Spain" という値を入力すると、"Spain" という値が自動的にメモリー内のリストに追加されます: @@ -28,7 +28,7 @@ title: データソース #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [List Box Column](listbox-column.md) +[コンボボックス](comboBox_overview.md) - [リストボックスカラム](listbox-column.md) --- @@ -45,8 +45,9 @@ title: データソース #### 対象オブジェクト -[Drop-down List](dropdownList_Overview.md) - -[Combo Box](comboBox_overview.md) - [Hierarchical List](list_overview.md) - [List Box Column](listbox-column.md) +[ドロップダウンリスト](dropdownList_Overview.md)* [コンボボックス](comboBox_overview.md) +* [階層リスト](list_overview.md) +* [リストボックスカラム](listbox-column.md) #### コマンド @@ -126,7 +127,7 @@ title: データソース 表示される式のデータタイプを定義します。 このプロパティは次のフォームオブジェクトで使用されます: -- [List box columns](listbox-column.md) of the selection and collection types. +- セレクションおよびコレクション型の [リストボックスカラム](listbox-column.md)。 - オブジェクトまたは配列と紐づいた [ドロップダウンリスト](dropdownList_Overview.md)。 [式タイプ](properties_Object.md#式の型式タイプ) の章も参照ください。 @@ -139,7 +140,7 @@ title: データソース #### 対象オブジェクト -[Drop-down Lists](dropdownList_Overview.md) associated to objects or arrays - [List Box column](listbox-column.md) +オブジェクトまたは配列と紐づいた [ドロップダウンリスト](dropdownList_Overview.md) - [リストボックスカラム](listbox-column.md) --- @@ -196,14 +197,13 @@ title: データソース #### 対象オブジェクト -[List Box Column (array type only)](listbox-column.md) +[リストボックスカラム(配列型のみ)](listbox-column.md) --- ## 式 -This description is specific to [selection](FormObjects/listbox-object.md#selection-list-boxes) -and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection-list-boxes) type list box columns. **[変数あるいは式](properties_Object.md#変数あるいは式)** の章も参照ください。 +[セレクション型](FormObjects/listbox_object.md#セレクションリストボックス) および [コレクション / エンティティセレクション型](../FormObjects/listbox-object.md#コレクションまたはエンティティセレクションリストボックス) リストボックス特有のプロパティです。 **[変数あるいは式](properties_Object.md#変数あるいは式)** の章も参照ください。 列に割り当てる 4D式です。 以下のものを指定できます: @@ -242,7 +242,7 @@ and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) --- @@ -275,7 +275,7 @@ and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection このプロパティは以下の場合に表示されます: - オブジェクトに対して [選択リスト](#選択リスト) が割り当てられている -- for [inputs](input_overview.md) and [list box columns](listbox-column.md), a [required list](properties_RangeOfValues.md#required-list) is also defined for the object (both options should use usually the same list), so that only values from the list can be entered by the user. +- [入力](input_overview.md) および [リストボックスカラム](listbox-column.md) の場合には、ユーザーがリスト内の値のみ入力できるように、オブジェクトに対して [指定リスト](properties_RangeOfValues.md#指定リスト) も定義されている (通常は両方のオプションで同じリストを使用しているはずです)。 このプロパティは、選択リストに関連付けされたフィールドまたは変数において、フィールドに保存する内容の型を指定します: @@ -297,7 +297,7 @@ and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) --- diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Display.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Display.md index a3bc2a573daf33..6453d9344b4849 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Display.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Display.md @@ -46,7 +46,7 @@ RB-1762-1 #### 対象オブジェクト -[Drop-down List](dropdownList_Overview.md) - [Combo Box](comboBox_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[ドロップダウンリスト](dropdownList_Overview.md) - [コンボボックス](comboBox_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -105,13 +105,13 @@ RB-1762-1 :::note blankIfNull - デフォルトでは、 [null 日付](../Concepts/dt_date.md#日付リテラル) は 00/00/00 のように、ゼロとして表示されます。 "blankIfNull" オプションを使用すると、null の日付は空白として表示されます。 "blankIfNull" 文字列 (文字の大小を区別) は、選択されたフォーマットの値と組み合わせて使います。 例: "systemShort blankIfNull" または "LLLdd日 ee blankIfNull"。 -- [List box columns](listbox-column.md) and [list box footers](listbox-header-footer.md#footers) of type date always use the "blank if null" behavior (it cannot be disengaged). +- 日付型の [リストボックスのカラム](listbox-column.md) および [リストボックスのフッター](listbox-header-footer.md#フッター) は常に "blankIfNull" (null値は空白表示) の振る舞いをします (解除できません)。 ::: #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[コンボボックス](comboBox_overview.md) - [ドロップダウンリスト](dropdownList_Overview.md) - [入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -276,7 +276,12 @@ RB-1762-1 #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) - [Progress Indicators](progressIndicator.md) +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[入力](input_overview.md) - +[リストボックスカラム](listbox-column.md) - +[リストボックスフッター](listbox-header-footer.md#フッター) - +[進捗インジケーター](progressIndicator.md) #### コマンド @@ -340,7 +345,7 @@ RB-1762-1 #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -398,7 +403,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[コンボボックス](comboBox_overview.md) - [ドロップダウンリスト](dropdownList_Overview.md) - [入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -411,7 +416,7 @@ Customized time formats can be built using several patterns described in the [** [ブール式](properties_Object.md#式の型) を次のフォームオブジェクトで表示した場合: - [入力オブジェクト](input_overview.md) にテキストとして -- a ["popup"](properties_Display.md#display-type) in a [list box column](listbox-column.md), +- [リストボックスカラム](listbox-column.md) に表示タイプ ["ポップアップ"](properties_Display.md#表示タイプ) を選択して ... 値の代わりに表示するテキストを指定することができます: @@ -426,7 +431,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) - [Input](input_overview.md) +[リストボックスカラム](listbox-column.md) - [入力](input_overview.md) #### コマンド @@ -450,7 +455,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -502,7 +507,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[Check box](checkbox_overview.md) - [List Box Column](listbox-column.md) +[チェックボックス](checkbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -527,7 +532,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) --- @@ -564,7 +569,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -599,7 +604,31 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[4D View Pro area](viewProArea_overview.md) - [4D Write Pro area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) - [List Box Header](listbox-header-footer.md#headers) - [Picture Button](pictureButton_overview.md) - [Picture Pop-up Menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress indicator](progressIndicator.md) - [Radio Button](radio_overview.md) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[リストボックス](listbox_overview.md) - +[リストボックスカラム](listbox-column.md) - +[リストボックスフッター](listbox-header-footer.md#フッター) - +[リストボックスヘッダー](listbox-header-footer.md#ヘッダー) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) #### コマンド @@ -658,7 +687,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Entry.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Entry.md index 756475c6edc2c9..903d059ad47a86 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Entry.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Entry.md @@ -49,7 +49,10 @@ title: 入力 #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) - [Web Area](webArea_overview.md) - [4D Write Pro areas](writeProArea_overview.md) +[入力](input_overview.md) - +[リストボックスカラム](listbox-column.md) - +[Web エリア](webArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) #### コマンド @@ -73,7 +76,14 @@ title: 入力 #### 対象オブジェクト -[4D Write Pro areas](writeProArea_overview.md) - [Check Box](checkbox_overview.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [Progress Bar](progressIndicator.md) - [Ruler](ruler.md) - [Stepper](stepper.md) +[4D Write Pro エリア](writeProArea_overview.md) - +[チェックボックス](checkbox_overview.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックスカラム](listbox-column.md) - +[進捗インジケーター](progressIndicator.md) - +[ルーラー](ruler.md) - +[ステッパー](stepper.md) #### コマンド @@ -135,7 +145,7 @@ title: 入力 #### 対象オブジェクト -[Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) +[チェックボックス](checkbox_overview.md) - [コンボボックス](comboBox_overview.md) - [階層リスト](list_overview.md) - [入力](input_overview.md) - [リストボックスカラム](listbox-column.md) --- diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Footers.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Footers.md index 11e26f264216e3..efb6a284e61391 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Footers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Footers.md @@ -5,7 +5,7 @@ title: フッター ## フッターを表示 -This property is used to display or hide [list box column footers](listbox-header-footer.md#footers). 列ごとに 1つのフッターを表示できます。それぞれのフッターは個別に設定できます。 +このプロパティは、[リストボックスカラムのフッター](listbox-header-footer.md#フッター) の表示/非表示を指定するのに使用されます。 列ごとに 1つのフッターを表示できます。それぞれのフッターは個別に設定できます。 #### JSON 文法 @@ -70,4 +70,4 @@ This property is used to display or hide [list box column footers](listbox-heade #### 参照 -[Headers](properties_Headers.md) - [List box footers](listbox-header-footer.md#footers) +[ヘッダー](properties_Headers.md) - [リストボックスフッター](listbox-header-footer.md#フッター) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Headers.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Headers.md index 376219a5d1613a..fa222619a3bebf 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Headers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Headers.md @@ -5,7 +5,7 @@ title: ヘッダー ## ヘッダーを表示 -This property is used to display or hide [list box column headers](listbox-header-footer.md#headers). 列ごとに 1つのヘッダーを表示できます。それぞれのヘッダーは個別に設定できます。 +このプロパティは、[リストボックスカラムのヘッダー](listbox-header-footer.md#ヘッダー) の表示/非表示を指定するのに使用されます。 列ごとに 1つのヘッダーを表示できます。それぞれのヘッダーは個別に設定できます。 #### JSON 文法 @@ -70,4 +70,4 @@ This property is used to display or hide [list box column headers](listbox-heade #### 参照 -[Footers](properties_Footers.md) - [List box headers](listbox-header-footer.md#headers) +[フッター](properties_Footers.md) - [リストボックスヘッダー](listbox-header-footer.md#ヘッダー) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Help.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Help.md index 6a338925e47caf..ab853d62e60b9c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Help.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Help.md @@ -27,7 +27,17 @@ title: ヘルプ #### 対象オブジェクト -[Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Combo Box](comboBox_overview.md) - [Hierarchical List](list_overview.md) - [List Box Header](listbox-header-footer.md#headers) - [List Box Footer](listbox-header-footer.md#footers) - [Picture Button](pictureButton_overview.md) - [Picture Pop-up menu](picturePopupMenu_overview.md) - [Radio Button](radio_overview.md) +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[コンボボックス](comboBox_overview.md) - +[階層リスト](list_overview.md) - +[リストボックスヘッダー](listbox-header-footer.md#ヘッダー) - +[リストボックスフッター](listbox-header-footer.md#フッター) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[ラジオボタン](radio_overview.md) #### 追加のヘルプ機能 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_ListBox.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_ListBox.md index 890a833b05f88e..1af5642bff7dc6 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_ListBox.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_ListBox.md @@ -15,7 +15,7 @@ title: リストボックス | ------- | -------------- | --------------------- | | columns | 列オブジェクトのコレクション | リストボックス列のプロパティを格納します。 | -For a list of properties supported by column objects, please refer to the [Column Specific Properties](listbox-column.md#column-specific-properties) section. +カラムオブジェクトに関してサポートされているプロパティの一覧については [カラム特有のプロパティ](listbox-column.md#column-specific-properties) の章を参照してください。 #### 対象オブジェクト diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_ResizingOptions.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_ResizingOptions.md index 9ed7e91a849077..12032c3f07fdfd 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_ResizingOptions.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_ResizingOptions.md @@ -142,7 +142,7 @@ title: リサイズオプション #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Text.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Text.md index 80006a7c69a73d..78e7746760a32b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Text.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/FormObjects/properties_Text.md @@ -266,7 +266,7 @@ Choose([Companies]ID;Bold;Plain;Italic;Underline) #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -429,7 +429,7 @@ End if #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -482,7 +482,7 @@ End if #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -506,7 +506,7 @@ End if #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/Admin/data-collect.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/Admin/data-collect.md index b58572d7ff4350..e7969cdc4a341b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/Admin/data-collect.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/Admin/data-collect.md @@ -3,7 +3,7 @@ id: data-collect title: データ収集 --- -4D製品を改善し続けるために、実行中の 4D Server アプリケーションの使用状況データを自動的に収集します。 収集されたデータは、ユーザーエクスペリエンスに影響を与えない形で送信されます。 個人データは収集されません。 For more information on 4D policy regarding personal data protection, please visit [this page](https://us.4d.com/privacy-policy). +4D製品を改善し続けるために、実行中の 4D Server アプリケーションの使用状況データを自動的に収集します。 収集されたデータは、ユーザーエクスペリエンスに影響を与えない形で送信されます。 個人データは収集されません。 個人データ保護に関する4D ポリシーの詳細については、[こちらのページ](https://us.4d.com/privacy-policy)を参照してください。 以下の章では次のようなことを説明しています: @@ -24,115 +24,115 @@ title: データ収集 また、一部のデータは一定時間ごとに収集されます。 -| データ | 型 | 注記 | -| ----------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| appServer | Object | Object containing application server information | -| appServer.hits | Number | Number of requests from internal processes | -| appServer.bytesIn | Number | Bytes received by internal processes | -| appServer.bytesOut | Number | Bytes sent by internal processes | -| appServer.executionTime | Number | CPU execution time for internal processes | -| cacheMissBytes | Object | キャッシュミスバイト数 | -| cacheMissCount | Object | キャッシュミス回数 | -| cacheReadBytes | Object | キャッシュから読み出したバイト数 | -| cacheReadCount | Object | キャッシュの読み出し回数 | -| classUsage | Object | 特定の言語クラスのインスタンス数 | -| connectionSystems | Collection | ビルド番号 (括弧内) なしのクライアントOSと、それを使用しているクライアント数 | -| databases[].cacheSize | Number | キャッシュのサイズ (バイト単位) | -| databases[].externalDatastoreOpened | Number | `Open datastore` への呼び出し回数 | -| databases[].id | Number | Database ID | -| databases[].internalDatastoreOpened | Number | 外部サーバーによってデータストアが開かれた回数 | -| databases[].maxConcurrent4DClients | Number | Maximum number of simultaneous 4D Client sessions (using a 4D Client license) over the collection interval | -| databases[].maxConcurrentRestSessions | Number | Maximum number of simultaneous REST sessions over the collection interval | -| databases[].maxConcurrentWebSessions | Number | Maximum number of simultaneous Web sessions (4DACTION and SOAP) over the collection interval | -| databases[].maximum4DClientConnections | Number | サーバーへのクライアントの最大接続数 | -| databases[].numberOfDistinctClients | Number | Distinct count of client persistent UUID seen over collection interval | -| databases[].numberOfFields | Number | フィールドの数 | -| databases[].numberOfKeepRecordSyncInfo | Number | "複製を許可"オプションがチェックされているテーブルの数 | -| databases[].numberOfRecordsMax | Number | レコードの総数 | -| databases[].numberOfTables | Number | テーブルの総数 | -| databases[].qodly.webforms | Number | Qodly Webフォームの数 | -| databases[].remoteDebugger4DRemoteAttachments | Number | リモート4D から有効化されているリモートデバッガの数 | -| databases[].remoteDebuggerQodlyAttachments | Number | Qodly から有効化されているリモートデバッガの数 | -| databases[].remoteDebuggerVSCodeAttachments | Number | VS Code から有効化されているリモートデバッガの数 | -| databases[].structureHash | Text | | -| databases[].uniqueID | Text (ハッシュ文字列) | データベースに関連付けられた一意の id (*データベース名の多項式ローリングハッシュ*) | -| databases[].uptime | Number | Time elapsed (in seconds) between two collection events | -| databases[].uuid | Text | Database UUID | -| databases[].webIPAddressesNumber | Number | 4D Server へのリクエストを行った異なるIP アドレスの数 | -| databases[].webMaxScalableSessions | Number | Maximum number of scalable sessions on the server | -| databases[].webScalableSessions | Boolean | スケーラブルセッションが有効化されている場合にはTrue | -| dataSegment1.diskReadBytes | Object | データファイルから読み取ったバイト数 | -| dataSegment1.diskReadCount | Object | データファイルからの読み取り回数 | -| dataSegment1.diskWriteBytes | Object | データファイルに書き込んだバイト数 | -| dataSegment1.diskWriteCount | Object | データファイルへの書き込み回数 | -| dataSize | Number | データファイルのサイズ (バイト単位) | -| dbServer | Object | Object containing DB4D server information | -| dbServer.hits | Number | Number of requests from internal processes | -| dbServer.bytesIn | Number | Bytes received by internal processes | -| dbServer.bytesOut | Number | Bytes sent by internal processes | -| dbServer.executionTime | Number | CPU execution time for internal processes | -| encryptedConnections | Boolean | クライアント/サーバー接続が暗号化されている場合は True | -| externalPHP | Boolean | クライアントが `PHP execute` を呼び出して、独自のバージョンの php を使用した場合は True。 | -| general.buildNumber | Number | 4Dアプリケーションのビルド番号 | -| general.headless | Boolean | アプリケーションがヘッドレスモードで実行されている場合は true | -| general.isRosetta | Boolean | macOS の Rosetta で 4D がエミュレートされている場合は True、そうでない場合は False (エミュレートされていない、または Windows の場合)。 | -| general.license | Object | 製品ライセンスの名称と説明 | -| general.uniqueID | Text | 4D Server の固有ID | -| general.version | Text | 4Dアプリケーションのバージョン番号 | -| hasDataChangeTracking | Boolean | "__DeletedRecords" テーブルが存在する場合にはTrue | -| indexSegment.diskReadBytes | Number | インデックスファイルから読み取ったバイト数 | -| indexSegment.diskReadCount | Number | インデックスファイルからの読み取り回数 | -| indexSegment.diskWriteBytes | Number | インデックスファイルに書き込んだバイト数 | -| indexSegment.diskWriteCount | Number | インデックスファイルへの書き込み回数 | -| indexSize | Number | インデックスのサイズ (バイト単位) | -| isCompiled | Boolean | アプリケーションがコンパイル済みの場合は true | -| isEncrypted | Boolean | データファイルが暗号化されていれば true | -| isEngined | Boolean | アプリケーションに 4D Volume Desltop が組み込まれている場合は true | -| isProjectMode | Boolean | アプリケーションがプロジェクトの場合は true | -| LDAPLogin | Number | `LDAP LOGIN` の呼び出し回数 | -| license.sffPrimaryKey | Number | Server master product number | -| machine.CPU | Text | プロセッサーの名前、種類、および速度 | -| machine.memory | Number | マシン上で利用可能なメモリ容量 (バイト単位) | -| machine.numberOfCores | Number | コアの合計数 | -| machine.system | Text | OS のバージョンとビルド番号 | -| maximumNumberOfWebProcesses | Number | 最大同時Webプロセス数 | -| maximumUsedPhysicalMemory | Number | 最大使用した物理メモリ | -| maximumUsedVirtualMemory | Number | 最大使用した仮想メモリ | -| mobile | Collection | モバイルセッションに関する情報 | -| numberOfWebServices | Number | Webサービスとして公開されているメソッドの数 | -| ODBCLogin | Number | ODBC を使用しての `SQL LOGIN`への呼出回数 | -| phpCall | Number | `PHP execute` の呼び出し回数 | -| QueryBySQL | Number | `QUERY BY SQL` への呼出回数 | -| restServer | Object | Object containing REST server information | -| restServer.bytesIn | Number | Bytes received by the REST server | -| restServer.bytesOut | Number | Bytes sent by the REST server | -| restServer.hits | Number | Number of hits on the REST server | -| restServer.executionTime | Number | CPU execution time for the REST WEB server | -| soapServer | Object | Object containing SOAP server information | -| soapServer.bytesIn | Number | Bytes received by the SOAP server | -| soapServer.bytesOut | Number | Bytes sent by the SOAP server | -| soapServer.hits | Number | Number of hits on the SOAP server | -| soapServer.executionTime | Number | CPU execution time for the SOAP server | -| SQLBeginEndStatement | Number | `Begin SQL` / `End SQL` の使用回数 | -| SQLLoginInternal | Number | SQL_INTERNAL を使用しての `SQL LOGIN` の呼出回数 | -| sqlServer | Object | Object containing SQL server information | -| sqlServer.hits | Number | Number of SQL queries executed | -| sqlServer.bytesIn | Number | Bytes received by the SQL engine | -| sqlServer.bytesOut | Number | Bytes sent by the SQL engine | -| sqlServer.executionTime | Number | CPU execution time for SQL queries | -| usingQUICNetworkLayer | Boolean | データベースが QUICネットワークレイヤーを使用している場合は True | -| totalExecutionTime | Number | Total CPU execution time: sum of all request types | -| totalRequests | Number | Total requests: sum of web, REST, SOAP, SQL, and internal traffic | -| webServer | Object | Object containing Web server information | -| webServer.bytesIn | Number | Bytes received by the Web server | -| webServer.bytesOut | Number | Bytes sent by the Web server | -| webServer.hits | Number | Number of hits on the Web server | -| webServer.executionTime | Number | CPU execution time for the Web server | -| webStaticServer | Object | Object containing the static Web server information | -| webStaticServer.bytesIn | Number | Bytes received by the static Web server | -| webStaticServer.bytesOut | Number | Bytes sent by the static Web server | -| webStaticServer.hits | Number | Number of hits on the static Web server | -| webStaticServer.executionTime | Number | CPU execution time for the static Web server | +| データ | 型 | 注記 | +| ----------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| appServer | Object | アプリケーションサーバー情報に関する情報を格納したオブジェクト | +| appServer.hits | Number | 内部プロセスからのリクエスト数 | +| appServer.bytesIn | Number | 内部プロセスから受信したバイト数 | +| appServer.bytesOut | Number | 内部プロセスから送信されたバイト数 | +| appServer.executionTime | Number | 内部プロセスのCPU実行時間 | +| cacheMissBytes | Object | キャッシュミスバイト数 | +| cacheMissCount | Object | キャッシュミス回数 | +| cacheReadBytes | Object | キャッシュから読み出したバイト数 | +| cacheReadCount | Object | キャッシュの読み出し回数 | +| classUsage | Object | 特定の言語クラスのインスタンス数 | +| connectionSystems | Collection | ビルド番号 (括弧内) なしのクライアントOSと、それを使用しているクライアント数 | +| databases[].cacheSize | Number | キャッシュのサイズ (バイト単位) | +| databases[].externalDatastoreOpened | Number | `Open datastore` への呼び出し回数 | +| databases[].id | Number | データベースID | +| databases[].internalDatastoreOpened | Number | 外部サーバーによってデータストアが開かれた回数 | +| databases[].maxConcurrent4DClients | Number | 回収期間の中での、(4D クライアントライセンスを使用した)同時4Dクライアントセッションの最大数 | +| databases[].maxConcurrentRestSessions | Number | 回収期間の中での同時REST セッション最大数 | +| databases[].maxConcurrentWebSessions | Number | 回収期間の中での同時Web セッション(4DACTIPN およびSOAP)の最大数 | +| databases[].maximum4DClientConnections | Number | サーバーへのクライアントの最大接続数 | +| databases[].numberOfDistinctClients | Number | 回収期間の中で見られた永続的なクライアントUUID の固有数 | +| databases[].numberOfFields | Number | フィールドの数 | +| databases[].numberOfKeepRecordSyncInfo | Number | "複製を許可"オプションがチェックされているテーブルの数 | +| databases[].numberOfRecordsMax | Number | レコードの総数 | +| databases[].numberOfTables | Number | テーブルの総数 | +| databases[].qodly.webforms | Number | Qodly Webフォームの数 | +| databases[].remoteDebugger4DRemoteAttachments | Number | リモート4D から有効化されているリモートデバッガの数 | +| databases[].remoteDebuggerQodlyAttachments | Number | Qodly から有効化されているリモートデバッガの数 | +| databases[].remoteDebuggerVSCodeAttachments | Number | VS Code から有効化されているリモートデバッガの数 | +| databases[].structureHash | Text | | +| databases[].uniqueID | Text (ハッシュ文字列) | データベースに関連付けられた一意の id (*データベース名の多項式ローリングハッシュ*) | +| databases[].uptime | Number | 二つの回収イベント間での経過時間(秒単位) | +| databases[].uuid | Text | データベース UUID | +| databases[].webIPAddressesNumber | Number | 4D Server へのリクエストを行った異なるIP アドレスの数 | +| databases[].webMaxScalableSessions | Number | サーバー上でのスケーラブルセッションの最大数 | +| databases[].webScalableSessions | Boolean | スケーラブルセッションが有効化されている場合にはTrue | +| dataSegment1.diskReadBytes | Object | データファイルから読み取ったバイト数 | +| dataSegment1.diskReadCount | Object | データファイルからの読み取り回数 | +| dataSegment1.diskWriteBytes | Object | データファイルに書き込んだバイト数 | +| dataSegment1.diskWriteCount | Object | データファイルへの書き込み回数 | +| dataSize | Number | データファイルのサイズ (バイト単位) | +| dbServer | Object | DB4D サーバーの情報を格納したオブジェクト | +| dbServer.hits | Number | 内部プロセスからのリクエスト数 | +| dbServer.bytesIn | Number | 内部プロセスから受信したバイト数 | +| dbServer.bytesOut | Number | 内部プロセスから送信されたバイト数 | +| dbServer.executionTime | Number | 内部プロセスのCPU実行時間 | +| encryptedConnections | Boolean | クライアント/サーバー接続が暗号化されている場合は True | +| externalPHP | Boolean | クライアントが `PHP execute` を呼び出して、独自のバージョンの php を使用した場合は True。 | +| general.buildNumber | Number | 4Dアプリケーションのビルド番号 | +| general.headless | Boolean | アプリケーションがヘッドレスモードで実行されている場合は true | +| general.isRosetta | Boolean | macOS の Rosetta で 4D がエミュレートされている場合は True、そうでない場合は False (エミュレートされていない、または Windows の場合)。 | +| general.license | Object | 製品ライセンスの名称と説明 | +| general.uniqueID | Text | 4D Server の固有ID | +| general.version | Text | 4Dアプリケーションのバージョン番号 | +| hasDataChangeTracking | Boolean | "__DeletedRecords" テーブルが存在する場合にはTrue | +| indexSegment.diskReadBytes | Number | インデックスファイルから読み取ったバイト数 | +| indexSegment.diskReadCount | Number | インデックスファイルからの読み取り回数 | +| indexSegment.diskWriteBytes | Number | インデックスファイルに書き込んだバイト数 | +| indexSegment.diskWriteCount | Number | インデックスファイルへの書き込み回数 | +| indexSize | Number | インデックスのサイズ (バイト単位) | +| isCompiled | Boolean | アプリケーションがコンパイル済みの場合は true | +| isEncrypted | Boolean | データファイルが暗号化されていれば true | +| isEngined | Boolean | アプリケーションに 4D Volume Desltop が組み込まれている場合は true | +| isProjectMode | Boolean | アプリケーションがプロジェクトの場合は true | +| LDAPLogin | Number | `LDAP LOGIN` の呼び出し回数 | +| license.sffPrimaryKey | Number | サーバーのマスタープロダクト番号 | +| machine.CPU | Text | プロセッサーの名前、種類、および速度 | +| machine.memory | Number | マシン上で利用可能なメモリ容量 (バイト単位) | +| machine.numberOfCores | Number | コアの合計数 | +| machine.system | Text | OS のバージョンとビルド番号 | +| maximumNumberOfWebProcesses | Number | 最大同時Webプロセス数 | +| maximumUsedPhysicalMemory | Number | 最大使用した物理メモリ | +| maximumUsedVirtualMemory | Number | 最大使用した仮想メモリ | +| mobile | Collection | モバイルセッションに関する情報 | +| numberOfWebServices | Number | Webサービスとして公開されているメソッドの数 | +| ODBCLogin | Number | ODBC を使用しての `SQL LOGIN`への呼出回数 | +| phpCall | Number | `PHP execute` の呼び出し回数 | +| QueryBySQL | Number | `QUERY BY SQL` への呼出回数 | +| restServer | Object | REST サーバーの情報を格納したオブジェクト | +| restServer.bytesIn | Number | REST サーバーで受信されたバイト | +| restServer.bytesOut | Number | REST サーバーから送信されたバイト | +| restServer.hits | Number | REST サーバー上のヒット数 | +| restServer.executionTime | Number | REST Web サーバーのCPU 実行時間 | +| soapServer | Object | SOAP サーバー情報を格納したオブジェクト | +| soapServer.bytesIn | Number | SOAP サーバーで受信されたバイト | +| soapServer.bytesOut | Number | SOAP サーバーから送信されたバイト | +| soapServer.hits | Number | SOAP サーバー上のヒット数 | +| soapServer.executionTime | Number | SOAP サーバーのCPU 実行時間 | +| SQLBeginEndStatement | Number | `Begin SQL` / `End SQL` の使用回数 | +| SQLLoginInternal | Number | SQL_INTERNAL を使用しての `SQL LOGIN` の呼出回数 | +| sqlServer | Object | SQL サーバー情報を格納したオブジェクト | +| sqlServer.hits | Number | 実行されたSQL クエリの数 | +| sqlServer.bytesIn | Number | SQL エンジンで受信されたバイト | +| sqlServer.bytesOut | Number | SQL エンジンによって送信されたバイト | +| sqlServer.executionTime | Number | SQL クエリのCPU 実行時間 | +| usingQUICNetworkLayer | Boolean | データベースが QUICネットワークレイヤーを使用している場合は True | +| totalExecutionTime | Number | CPU 総実行時間: 全てのリクエストタイプの合計 | +| totalRequests | Number | リクエスト総数: Web、REST、SOAP、SQL、および内部トラフィックの総数 | +| webServer | Object | Web サーバー情報を格納したオブジェクト | +| webServer.bytesIn | Number | Web サーバーで受信されたバイト | +| webServer.bytesOut | Number | Web サーバーから送信されたバイト | +| webServer.hits | Number | Web サーバー上のヒット数 | +| webServer.executionTime | Number | Web サーバーのCPU 実行時間 | +| webStaticServer | Object | スタティックなWeb サーバー情報を格納したオブジェクト | +| webStaticServer.bytesIn | Number | スタティックなWeb サーバーによって受信されたバイト | +| webStaticServer.bytesOut | Number | スタティックなWeb サーバーによって送信されたバイト | +| webStaticServer.hits | Number | スタティックなWeb サーバー上のヒット数 | +| webStaticServer.executionTime | Number | スタティックなWeb サーバーのCPU 実行時間 | ## 保存先と送信先 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md index 90227a7f291628..bb9e352e37c85d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md @@ -16,17 +16,18 @@ title: 非同期実行 - タスクの実行が厳密な順番に従う必要があるとき。 - パフォーマンスへの影響が最小限である(例: 素早いオペレーション)。 - ブロッキングが許容可能な、シングルスレッドでのコンテキストで実行される。 -- 同期実行はUI をブロックするため、ブロックが起きても許容され得る、素早く順序付けされたタスクに対して適しています。 + +同期実行はUI をブロックするため、ブロックが起きても許容され得る、素早く順序付けされたタスクに対して適しています。 #### 非同期実行 -非同期実行は**イベント駆動型**であり、タスクを実行中でも他の操作を完了させることができます。 これは実行フローを管理するために、 **コールバック**、**ワーカー**、および **イベントハンドラ** といったものに依存します。 +Asynchronous execution is **event-driven** and allows other operations to complete. これは実行フローを管理するために、 **コールバック**、**ワーカー**、および **イベントハンドラ** といったものに依存します。 非同期実行は以下のような場合で使用されます: - 操作が長時間にわたる(例: サーバーのレスポンスを待つなど)。 - レスポンシブネスの良さが重要である場合(例: UI インタラクションなど)。 -- バックグラウンド処理、ネットワーク通信、あるいは並列処理などを実行する場合。 +- Background tasks, network communication, or parallel processing are performed. 同期的実行と非同期実行のどちらを選んだら良いかについては、以下の表をご覧下さい: @@ -41,25 +42,25 @@ title: 非同期実行 ## 基本原理 -4D はさまざまなクラスやコマンドを通して、ビルトインの**非同期実行**機能を提供します。 これらを使用することで、カレンとプロセスをブロックすることなく、他のオペレーションが完了するのを待ちながら、バックグラウンド処理、ネットワーク通信、そして大量のデータ処理などを行うことができます。 +4D はさまざまなクラスやコマンドを通して、ビルトインの**非同期実行**機能を提供します。 これらを使用することで、カレンとプロセスをブロックすることなく、他のオペレーションが完了するのを待ちながら、バックグラウンド処理、ネットワーク通信、そして大量のデータ処理などを行うことができます。 これらを使用することで、カレンとプロセスをブロックすることなく、他のオペレーションが完了するのを待ちながら、バックグラウンド処理、ネットワーク通信、そして大量のデータ処理などを行うことができます。 -4D における非同期イベントの管理の一般的な概念は、**ワーカー**(イベントをリッスンするプロセス)および**コールバック**(あるイベントが発生した際に自動的に実行される関数またはフォーミュラ)を使用した非同期メッセージモデルに基づいています。 ここでは何かの結果を待つ(同期モード)のではなく、特定のイベントが発生した際に自動的に呼び出される関数を提供します。 コールバックはクラス関数(推奨)またはフォーミュラオブジェクトとして渡すことができます。 +4D における非同期イベントの管理の一般的な概念は、**ワーカー**(イベントをリッスンするプロセス)および**コールバック**(あるイベントが発生した際に自動的に実行される関数またはフォーミュラ)を使用した非同期メッセージモデルに基づいています。 ここでは何かの結果を待つ(同期モード)のではなく、特定のイベントが発生した際に自動的に呼び出される関数を提供します。 コールバックはクラス関数(推奨)またはフォーミュラオブジェクトとして渡すことができます。 ここでは何かの結果を待つ(同期モード)のではなく、特定のイベントが発生した際に自動的に呼び出される関数を提供します。 コールバックはクラス関数(推奨)またはフォーミュラオブジェクトとして渡すことができます。 -このモデルは [`CALL WORKER`](../commands/call-worker)、 [`CALL FORM`](../commands/call-form)、 および [非同期実行をサポートするクラス](#asynchronous-programming-with-4d-classes) などにおいて共通しています。 これらのコマンド/クラスは全て、バックグラウンドで実行されるオペレーションを開始します。 オペレーションを開始するステートメントは、オペレーションが終わるのを待たずに即座に戻ります。 +このモデルは [`CALL WORKER`](../commands/call-worker)、 [`CALL FORM`](../commands/call-form)、 および [非同期実行をサポートするクラス](#asynchronous-programming-with-4d-classes) などにおいて共通しています。 これらのコマンド/クラスは全て、バックグラウンドで実行されるオペレーションを開始します。 オペレーションを開始するステートメントは、オペレーションが終わるのを待たずに即座に戻ります。 これらのコマンド/クラスは全て、バックグラウンドで実行されるオペレーションを開始します。 オペレーションを開始するステートメントは、オペレーションが終わるのを待たずに即座に戻ります。 ### ワーカー -非同期プログラミングは [**ワーカー**](../Develop/processes.md#ワーカープロセス) (ワーカープロセス) というシステムに依存しています。これを使用することでメインプロセスをブロックすることなく、コードを実行することができます。 これは特に、インターフェースをレスポンシブな状態にしたまま、長時間にわたるタスク(HTTP 呼び出し、外部プロセスの実行、バックグラウンド処理など)を処理するのに有効です。 +非同期プログラミングは [**ワーカー**](../Develop/processes.md#ワーカープロセス) (ワーカープロセス) というシステムに依存しています。これを使用することでメインプロセスをブロックすることなく、コードを実行することができます。 これは特に、インターフェースをレスポンシブな状態にしたまま、長時間にわたるタスク(HTTP 呼び出し、外部プロセスの実行、バックグラウンド処理など)を処理するのに有効です。 これは特に、インターフェースをレスポンシブな状態にしたまま、長時間にわたるタスク(HTTP 呼び出し、外部プロセスの実行、バックグラウンド処理など)を処理するのに有効です。 -非同期プログラミングにおいてワーカープロセスの使用は**必須**です。いわゆる"クラシック"なプロセスはプロセスメソッドが終了した時に実行を自動的に終了するため、コールバックを使用するようなことができないからです。 ワーカープロセスであればその後も生き続け、**イベントをリッスンする**ことができます。 +非同期プログラミングにおいてワーカープロセスの使用は**必須**です。いわゆる"クラシック"なプロセスはプロセスメソッドが終了した時に実行を自動的に終了するため、コールバックを使用するようなことができないからです。 ワーカープロセスであればその後も生き続け、**イベントをリッスンする**ことができます。 ワーカープロセスであればその後も生き続け、**イベントをリッスンする**ことができます。 ### イベントキュー(メールボックス) -それぞれのワーカー(または [`CALL FORM`](../commands/call-form) の場合にはフォームウィンドウ)は、独自のメッセージキューを持っています。 [`CALL WORKER`](../commands/call-worker) あるいは [`CALL FORM`](../commands/call-form) コマンドは、メッセージをそのキューへと送信します。 ワーカーは、独自のコンテキスト内において、メッセージを一つずつ受信した順番で管理していきます。 プロセス変数、カレンとレクション、などは保持されます。 +それぞれのワーカー(または [`CALL FORM`](../commands/call-form) の場合にはフォームウィンドウ)は、独自のメッセージキューを持っています。 [`CALL WORKER`](../commands/call-worker) あるいは [`CALL FORM`](../commands/call-form) コマンドは、メッセージをそのキューへと送信します。 ワーカーは、独自のコンテキスト内において、メッセージを一つずつ受信した順番で管理していきます。 プロセス変数、カレンとレクション、などは保持されます。 [`CALL WORKER`](../commands/call-worker) あるいは [`CALL FORM`](../commands/call-form) コマンドは、メッセージをそのキューへと送信します。 ワーカーは、独自のコンテキスト内において、メッセージを一つずつ受信した順番で管理していきます。 プロセス変数、カレンとレクション、などは保持されます。 ### メッセージを介した双方向通信 -呼び出しプロセスがメッセージを投稿すると、ワーカーはそれを実行します。 反対にワーカーは呼び出し元、あるいは他のワーカーに対して( [`CALL WORKER`](../commands/call-worker) あるいは [`CALL FORM`](../commands/call-form) を介して)メッセージを送信して、イベント(タスクの完了、データの受信、エラー、進捗など)を通知することができます。 この機構により、クラシックな同期呼び出しの応答を置き換えることができます。 +呼び出しプロセスがメッセージを投稿すると、ワーカーはそれを実行します。 呼び出しプロセスがメッセージを投稿すると、ワーカーはそれを実行します。 反対にワーカーは呼び出し元、あるいは他のワーカーに対して( [`CALL WORKER`](../commands/call-worker) あるいは [`CALL FORM`](../commands/call-form) を介して)メッセージを送信して、イベント(タスクの完了、データの受信、エラー、進捗など)を通知することができます。 この機構により、クラシックな同期呼び出しの応答を置き換えることができます。 この機構により、クラシックな同期呼び出しの応答を置き換えることができます。 ### イベントリスニング @@ -73,7 +74,7 @@ title: 非同期実行 ### イベントのトリガー -イベントは実行フローの間に自動的にトリガーされ、対応するコールバックへと渡されます。 `wait()` の途中に `terminate()` あるいは `shutdown()` を呼び出すことで、強制的にイベントをトリガーさせることもできます。 +イベントは実行フローの間に自動的にトリガーされ、対応するコールバックへと渡されます。 イベントは実行フローの間に自動的にトリガーされ、対応するコールバックへと渡されます。 `wait()` の途中に `terminate()` あるいは `shutdown()` を呼び出すことで、強制的にイベントをトリガーさせることもできます。 ### コールバック実行コンテキスト @@ -83,9 +84,9 @@ title: 非同期実行 ### 非同期オブジェクトのリリース -4D では、全てのオブジェクトは、メモリ内に [そのオブジェクトへの参照がもう残っていない](../Concepts/dt_object.md#resources) 場合にそのオブジェクトがリリースされます。 これは一般的に、メソッド実行の最後にローカル変数が消去される時に発生します。 +4D では、全てのオブジェクトは、メモリ内に [そのオブジェクトへの参照がもう残っていない](../Concepts/dt_object.md#resources) 場合にそのオブジェクトがリリースされます。 これは一般的に、メソッド実行の最後にローカル変数が消去される時に発生します。 これは一般的に、メソッド実行の最後にローカル変数が消去される時に発生します。 -非同期クラスにおいては、オブジェクトをインスタンス化したプロセス内において **追加の参照** が必ず4D によって維持されています。 この参照はオペレーションが完了したときにのみリリースされます。つまり、 `onTerminate` イベントがトリガーされたあとです。 この自動参照によって、変数から特別に参照していなくても、オブジェクトを最後まで存続させることができます。 +非同期クラスにおいては、オブジェクトをインスタンス化したプロセス内において **追加の参照** が必ず4D によって維持されています。 この参照はオペレーションが完了したときにのみリリースされます。つまり、 `onTerminate` イベントがトリガーされたあとです。 この自動参照によって、変数から特別に参照していなくても、オブジェクトを最後まで存続させることができます。 この参照はオペレーションが完了したときにのみリリースされます。つまり、 `onTerminate` イベントがトリガーされたあとです。 この自動参照によって、変数から特別に参照していなくても、オブジェクトを最後まで存続させることができます。 オブジェクトを任意のタイミングで"強制的に"リリースしたい場合、`.shutdown()` あるいは `terminate()` 関数を使用します: これらは`onTerminate` イベントをトリガーするため、オブジェクトはリリースされます。 @@ -109,13 +110,13 @@ title: 非同期実行 - [`WebSocket`](../API/WebSocketClass.md) – WebSocket クライアント接続を管理します。 - [`WebSocketServer`](../API/WebSocketServerClass.md) – WebSocket サーバー接続を管理します。 -これらのクラスは非同期実行に関しては同じルールに従います。 これらのクラスのコンストラクターは、非同期オブジェクトを設定するために使用される *options* 引数を受付ます。 この場合の *options* オブジェクトには、コールバック関数を備えた[ユーザークラス](../Concepts/classes.md) インスタンスであることが推奨されます。 例えば、クラス内に `onResponse()` 関数を作成した場合、*reponse* イベントが発生した際にそれが自動的に非同期で呼び出されます。 +これらのクラスは非同期実行に関しては同じルールに従います。 これらのクラスのコンストラクターは、非同期オブジェクトを設定するために使用される *options* 引数を受付ます。 この場合の *options* オブジェクトには、コールバック関数を備えた[ユーザークラス](../Concepts/classes.md) インスタンスであることが推奨されます。 For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. 以下のような手順が推奨されます: 1. コールバック関数を宣言するユーザークラスを作成します。例えば、`onError()` および `onResponse()` 関数を持つ、`cs.Params` クラスなどです。 2. そのユーザークラスをインスタンス化し(ここでの例では`cs.Params.new()` クラスを使用)、それを使用して非同期オブジェクトを設定します。 -3. 4D クラスのコンストラクターを呼び出し(例えば`4D.SystemWorker.new()` など)、*options* オブジェクトを引数として渡します。 渡されたオペレーションは、遅延なくすぐに開始されます。 +3. 4D クラスのコンストラクターを呼び出し(例えば`4D.SystemWorker.new()` など)、*options* オブジェクトを引数として渡します。 渡されたオペレーションは、遅延なくすぐに開始されます。 渡されたオペレーションは、遅延なくすぐに開始されます。 以下は、ユーザークラスに基づいた *options* オブジェクトの実装の完全な一例です: @@ -161,7 +162,7 @@ Function _createFile($title : Text; $textBody : Text) :::tip -一部の場合においては、クラス関数の代わりに、プロパティ値としてフォーミュラを使用したい場合があるかもしれません。 これはベストプラクティスではありませんが、以下のようなシンタックスがサポートされています: +一部の場合においては、クラス関数の代わりに、プロパティ値としてフォーミュラを使用したい場合があるかもしれません。 これはベストプラクティスではありませんが、以下のようなシンタックスがサポートされています: これはベストプラクティスではありませんが、以下のようなシンタックスがサポートされています: ```4d var $options.onResponse:=Formula(myMethod) @@ -171,11 +172,11 @@ var $options.onResponse:=Formula(myMethod) ## 非同期コード内での同期的な実行 -現代的な非同期コードを使用している場合でも、ある程度の同期実行が必要となる場合があるかもしれません。 例えば、ある関数が結果を得るまで、ある程度の時間待つようにしたいかもしれません。 これは例えば、保証された速いネットワーク接続や、システムワーカーなどが考えられます。 このような場合、`wait()` 関数を使用することで、同期的な実行を強制することができます。 +現代的な非同期コードを使用している場合でも、ある程度の同期実行が必要となる場合があるかもしれません。 例えば、ある関数が結果を得るまで、ある程度の時間待つようにしたいかもしれません。 これは例えば、保証された速いネットワーク接続や、システムワーカーなどが考えられます。 現代的な非同期コードを使用している場合でも、ある程度の同期実行が必要となる場合があるかもしれません。 例えば、ある関数が結果を得るまで、ある程度の時間待つようにしたいかもしれません。 これは例えば、保証された速いネットワーク接続や、システムワーカーなどが考えられます。 このような場合、`wait()` 関数を使用することで、同期的な実行を強制することができます。 -**`.wait()`** 関数はカレントプロセスの実行を一時停止させ、4D を[イベントリスニング](#イベントリスニング) モードにします。 ただし、これは `wait()` 関数が呼ばれたオブジェクトからだけでなく、どのソースから受信したイベントであってもトリガーされるという点に注意してください。 +**`.wait()`** 関数はカレントプロセスの実行を一時停止させ、4D を[イベントリスニング](#イベントリスニング) モードにします。 ただし、これは `wait()` 関数が呼ばれたオブジェクトからだけでなく、どのソースから受信したイベントであってもトリガーされるという点に注意してください。 ただし、これは `wait()` 関数が呼ばれたオブジェクトからだけでなく、どのソースから受信したイベントであってもトリガーされるという点に注意してください。 -`wait()` 関数は、`onTerminate` イベントがオブジェクト上でトリガーされた場合か、あるいは指定されたタイムアウト(あれば)が経過した場合に実行を返します。 結果として、コールバック内から `shutdown()` あるいは `terminate()` を呼び出すことで、`.wait()` から明示的に抜け出すことができます。 それ以外の場合は、 `.wait()` はカレントのオペレーションが終了した際に終了します。 +`wait()` 関数は、`onTerminate` イベントがオブジェクト上でトリガーされた場合か、あるいは指定されたタイムアウト(あれば)が経過した場合に実行を返します。 結果として、コールバック内から `shutdown()` あるいは `terminate()` を呼び出すことで、`.wait()` から明示的に抜け出すことができます。 それ以外の場合は、 `.wait()` はカレントのオペレーションが終了した際に終了します。 結果として、コールバック内から `shutdown()` あるいは `terminate()` を呼び出すことで、`.wait()` から明示的に抜け出すことができます。 それ以外の場合は、 `.wait()` はカレントのオペレーションが終了した際に終了します。 例: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox-object.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox-object.md index 62d1872f9844c0..a3eb2517768194 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox-object.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox-object.md @@ -12,7 +12,7 @@ title: リストボックスオブジェクト > 配列タイプのリストボックスは、特別なメカニズムをもつ [階層モード](listbox_overview.md#階層リストボックス) で表示することができます。 配列タイプのリストボックスでは、入力あるいは表示される値は 4Dランゲージで制御します。 カラムに [選択リスト](properties_DataSource.md#選択リスト) を割り当てて、データ入力を制御することもできます。 -The values of columns are managed using high-level List box commands (such as [`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows) or [`LISTBOX DELETE ROWS`](../commands/listbox-delete-rows)) as well as array manipulation commands. たとえば、列の内容を初期化するには、以下の命令を使用できます: +リストボックスのハイレベルコマンド ([`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows) や [`LISTBOX DELETE ROWS`](../commands/listbox-delete-rows) 等) や配列操作コマンドを使用して、カラムの値を管理します。 たとえば、列の内容を初期化するには、以下の命令を使用できます: ```4d ARRAY TEXT(varCol;size) @@ -28,7 +28,7 @@ LIST TO ARRAY("ListName";varCol) ## セレクションリストボックス -このタイプのリストボックスでは、列ごとにフィールド (例: `[Employees]LastName`) や式を割り当てます。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 You can use the [`LISTBOX SET COLUMN FORMULA`](../commands/listbox-set-column-formula) and [`LISTBOX INSERT COLUMN FORMULA`](../commands/listbox-insert-column-formula) commands to modify columns programmatically. +このタイプのリストボックスでは、列ごとにフィールド (例: `[Employees]LastName`) や式を割り当てます。 式は 1つ以上のフィールド (たとえば `[Employees]FirstName+“ ”[Employees]LastName`) または単にフォーミュラ (たとえば `String(Milliseconds)`) を使用できます。 式にはプロジェクトメソッド、変数、あるいは配列項目も指定できます。 また[`LISTBOX SET COLUMN FORMULA`](../commands/listbox-set-column-formula) や [`LISTBOX INSERT COLUMN FORMULA`](../commands/listbox-insert-column-formula) コマンドを使用して、カラムをプログラムで変更することもできます。 それぞれの行はセレクションのレコードを基に評価されます。セレクションは **カレントセレクション** または **命名セレクション**です。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox_overview.md index 67b503b461348e..8430e248ca1c90 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/listbox_overview.md @@ -29,10 +29,10 @@ title: リストボックス リストボックスオブジェクトは、以下4つの項目で構成されます: -- the [list box object](./listbox-object.md) in its entirety, -- [columns](./listbox-column.md), -- column [headers](./listbox-header-footer.md#headers), and -- column [footers](./listbox-header-footer.md#footers). +- [リストボックスオブジェクト](./listbox-object.md) 全体 +- [カラム](./listbox-column.md) +- カラムの[ヘッダー](./listbox-header-footer.md#headers) +- カラムの[フッター](./listbox-header-footer.md#footers) ![](../assets/en/FormObjects/listbox_parts.png) @@ -43,7 +43,7 @@ title: リストボックス 1. 各列のオブジェクトメソッド 2. リストボックスのオブジェクトメソッド -The column object method gets events that occur in its [header](./listbox-header-footer.md#headers) and [footer](./listbox-header-footer.md#footers). +カラムのオブジェクトメソッドは [header](./listbox-header-footer.md#headers) および [footer](./listbox-header-footer.md#footers) 内で発生するイベントも取得します。 ### リストボックスの型 @@ -59,7 +59,7 @@ The column object method gets events that occur in its [header](./listbox-header リストボックスオブジェクトはプロパティによってあらかじめ設定可能なほか、プログラムにより動的に管理することもできます。 -The 4D Language includes a dedicated "List Box" theme for list box commands, but commands from various other themes, such as "Object properties" commands or [`EDIT ITEM`](../commands/edit-item), [`Displayed line number`](../commands/displayed-line-number) commands can also be used. 詳細な情報については、*4D ランゲージリファレンス* の[リストボックスコマンドの一覧](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) のページを参照してください。 +4D ランゲージにはリストボックス関連のコマンドをまとめた "リストボックス" テーマが専用に設けられていますが、"オブジェクトプロパティ" コマンドや [`EDIT ITEM`](../commands/edit-item)、[`Displayed line number`](../commands/displayed-line-number) コマンドなど、ほかのテーマのコマンドも利用することができます。 詳細な情報については、*4D ランゲージリファレンス* の[リストボックスコマンドの一覧](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) のページを参照してください。 ## 入力の管理 @@ -245,14 +245,14 @@ JSON フォームにおいて、リストボックスに次のハイライトセ 標準ソートのサポートは、リストボックスのタイプに依存します: -| リストボックスタイプ | 標準ソートのサポート | コメント | -| ------------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Object の Collection | ◯ |
    • "This.a" や "This.a.b" 列はソート可能です。
    • [リストボックス列の式プロパティ](properties_Object.md#変数あるいは式) は [代入可能な式](../Concepts/quick-tour.md#代入可-vs-代入不可の式) でなくてはなりません。
    | -| スカラー値のコレクション | × | [`orderBy()`](../API/CollectionClass.md#orderby) 関数を使ったカスタムソートを使用します。 | -| エンティティセレクション | ◯ |
    • The [list box source property](properties_Object.md#variable-or-expression) must be an [assignable expression](../Concepts/quick-tour.md#assignable-vs-non-assignable-expressions).
    • サポートされる: オブジェクト属性プロパティに対するソート (例: "data" がオブジェクト属性であるときに"This.data.city")
    • サポートされる: リレートされた属性に対するソート(例: "This.company.name")
    • サポートされない: リレートされた属性を経由したオブジェクト属性に対するソート(例: "This.company.data.city")。 For this, you need to use custom sort with [`orderByFormula()`](../API/EntitySelectionClass.md#orderbyformula) function (see example below)
    | -| カレントセレクション | ◯ | 単純な式のみソート可能です (例: `[Table_1]Field_2`) | -| 命名セレクション | × | | -| 配列 | ◯ | ピクチャー配列やポインター配列と紐づけられた列はソートできません | +| リストボックスタイプ | 標準ソートのサポート | コメント | +| ------------------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Object の Collection | ◯ |
    • "This.a" や "This.a.b" 列はソート可能です。
    • [リストボックス列の式プロパティ](properties_Object.md#変数あるいは式) は [代入可能な式](../Concepts/quick-tour.md#代入可-vs-代入不可の式) でなくてはなりません。
    | +| スカラー値のコレクション | × | [`orderBy()`](../API/CollectionClass.md#orderby) 関数を使ったカスタムソートを使用します。 | +| エンティティセレクション | ◯ |
    • The [list box source property](properties_Object.md#variable-or-expression) must be an [assignable expression](../Concepts/quick-tour.md#assignable-vs-non-assignable-expressions).
    • サポートされる: オブジェクト属性プロパティに対するソート (例: "data" がオブジェクト属性であるときに"This.data.city")
    • サポートされる: リレートされた属性に対するソート(例: "This.company.name")
    • サポートされない: リレートされた属性を経由したオブジェクト属性に対するソート(例: "This.company.data.city")。 この場合には、[`orderByFormula()`](../API/EntitySelectionClass.md#orderbyformula) 関数を使ったカスタムソートを使用します (後述の例題参照)
    | +| カレントセレクション | ◯ | 単純な式のみソート可能です (例: `[Table_1]Field_2`) | +| 命名セレクション | × | | +| 配列 | ◯ | ピクチャー配列やポインター配列と紐づけられた列はソートできません | ### カスタムソート @@ -310,8 +310,8 @@ End if リストボックスの背景色、フォントカラー、そしてフォントスタイルを設定するためにはいくつかの方法があります: -- at the level of the [list box object properties](./listbox-object.md), -- at the level of the [column properties](./listbox-column.md), +- [リストボックスオブジェクトのプロパティリスト](./listbox-object.md) を使用 +- [カラムのプロパティリスト](./listbox-column.md) を使用 - リストボックスまたは列ごとの [配列や式](#配列と式の使用) プロパティを使用 - セルごとのテキストにて定義 ([マルチスタイルテキスト](properties_Text.md#マルチスタイル) の場合) @@ -319,12 +319,12 @@ End if 優先順位や継承の原理は、複数のレベルにわたって同じプロパティに異なる値が指定された場合に適用されます。 -1. (highest priority) Cell (if multi-style text) +1. (最優先) セル(マルチスタイルテキストの場合) 2. 列の配列/メソッド 3. リストボックスの配列/メソッド 4. 列のプロパティ 5. リストボックスのプロパティ -6. (lowest priority) Meta Info expression (for collection or entity selection list boxes) +6. (最も低い優先度) メタ情報式(コレクションまたはエンティティセレクション型リストボックスの場合) 例として、リストボックスのプロパティにてフォントスタイルを設定しながら、列には行スタイル配列を使用して異なるスタイルを設定した場合、後者が有効となります。 @@ -514,20 +514,20 @@ Variable 2 も常に表示され、入力できます。 これは二番目の ->MyListbox{3}:=True ``` -*Non-hierarchical representation:* +*非階層表示:* ![](../assets/en/FormObjects/hierarch7.png) -*Hierarchical representation:* +*階層表示:* ![](../assets/en/FormObjects/hierarch8.png) > 親が折りたたまれているために行が非表示になっていると、それらは選択から除外されます。 (直接あるいはスクロールによって) 表示されている行のみを選択できます。 言い換えれば、行を選択かつ隠された状態にすることはできません。 選択と同様に、[`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) コマンドは階層リストボックスと非階層リストボックスにおいて同じ値を返します。 つまり以下の両方の例題で、[`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) は同じ位置 (3;2) を返します。 -*Non-hierarchical representation:* +*非階層表示:* ![](../assets/en/FormObjects/hierarch9.png) -*Hierarchical representation:* +*階層表示:* ![](../assets/en/FormObjects/hierarch10.png) サブ階層のすべての行が隠されているとき、ブレーク行は自動で隠されます。 先の例題で 1から 3行目までが隠されていると、"Brittany" のブレーク行は表示されません。 @@ -544,13 +544,13 @@ Variable 2 も常に表示され、入力できます。 これは二番目の 以下のリストボックスを例題とします (割り当てた配列名は括弧内に記載しています): -*Non-hierarchical representation:* +*非階層表示:* ![](../assets/en/FormObjects/hierarch12.png) -*Hierarchical representation:* +*階層表示:* ![](../assets/en/FormObjects/hierarch13.png) -階層モードでは `tStyle` や `tColors` 配列で変更されたスタイルは、ブレーク行に適用されません。 ブレークレベルでカラーやスタイルを変更するには、以下のステートメントを実行します: ブレークレベルでカラーやスタイルを変更するには、以下のステートメントを実行します: +階層モードでは `tStyle` や `tColors` 配列で変更されたスタイルは、ブレーク行に適用されません。 ブレークレベルでカラーやスタイルを変更するには、以下のステートメントを実行します: ```4d OBJECT SET RGB COLORS(T1;0x0000FF;0xB0B0B0) @@ -573,7 +573,7 @@ Variable 2 も常に表示され、入力できます。 これは二番目の この場合、開発者がコードを使用して配列を空にしたり値を埋めたりしなければなりません。 実装する際注意すべき原則は以下のとおりです: -- リストボックスが表示される際、先頭の配列のみ値を埋めます。 However, you must create a second array with empty values so that the list box displays the expand/collapse buttons: +- リストボックスが表示される際、先頭の配列のみ値を埋めます。 しかし 2番目の配列を空の値で生成し、リストボックスに展開/折りたたみアイコンが表示されるようにしなければなりません: ![](../assets/en/FormObjects/hierarch15.png) - ユーザーが展開アイコンをクリックすると `On Expand` イベントが生成されます。 [`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) コマンドはクリックされたセルを返すので、適切な階層を構築します: 先頭の配列に繰り返しの値を設定し、2番目の配列には [`SELECTION TO ARRAY`](../commands/selection-to-array) コマンドから得られる値を設定します。そして[`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows) コマンドを使用して必要なだけ行を挿入します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Action.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Action.md index 560fa7bd1c94a0..4a5ffb1a3101c5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Action.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Action.md @@ -114,7 +114,30 @@ title: 動作 #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Forms](FormEditor/forms.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[フォーム](FormEditor/forms.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[リストボックス列](listbox-column.md) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[Web エリア](webArea_overview.md) --- diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_BackgroundAndBorder.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_BackgroundAndBorder.md index a4531c51b7434e..0882af899d414f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_BackgroundAndBorder.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_BackgroundAndBorder.md @@ -17,7 +17,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -41,7 +41,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) - [Oval](shapes_overview.md#oval) - [Rectangle](shapes_overview.md#rectangle) - [Text Area](text.md) +[階層リスト](list_overview.md) - [リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) - [楕円](shapes_overview.md#楕円) - [四角](shapes_overview.md#四角) - [テキストエリア](text.md) #### コマンド @@ -71,7 +71,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -240,7 +240,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_CoordinatesAndSizing.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_CoordinatesAndSizing.md index 34c3991537255c..a18022970c7a2b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_CoordinatesAndSizing.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_CoordinatesAndSizing.md @@ -44,7 +44,7 @@ title: 座標とサイズ #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -64,7 +64,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Rectangle](shapes_overview.md#rectangle) - [Ruler](ruler.md) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[四角](shapes_overview.md#四角) - +[ルーラー](ruler.md) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -84,7 +112,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -104,7 +160,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -124,7 +208,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -192,7 +304,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -205,7 +345,7 @@ title: 座標とサイズ オブジェクトの横のサイズを指定します。 > - オブジェクトによっては高さが規定されているものがあり、その場合は変更できません。 -> - If the [Resizable](properties_ResizingOptions.md#resizable) property is used for a [list box column](listbox-column.md), the user can also manually resize the column. +> - [リストボックスカラム](listbox-column.md) に [サイズ変更可](properties_ResizingOptions.md#サイズ変更可) プロパティが設定されている場合には、ユーザーは手動でカラムサイズを変更することもできます。 > - リストボックスの [横方向サイズ変更](properties_ResizingOptions.md#横方向サイズ変更) プロパティに "拡大" を設定している場合にフォームをリサイズすると、一番右のカラムの幅は必要に応じて最大幅を超えて拡大されます。 #### JSON 文法 @@ -216,7 +356,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [Line](shapes_overview.md#line) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[線](shapes_overview.md#線) - +[リストボックス](listbox_overview.md) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -238,7 +406,7 @@ title: 座標とサイズ #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -260,7 +428,7 @@ title: 座標とサイズ #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -344,7 +512,7 @@ RowHeights{5}:=3 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Footers](properties_Footers.md) - [Headers](properties_Headers.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) - [フッター](properties_Footers.md) - [ヘッダー](properties_Headers.md) #### コマンド @@ -368,7 +536,7 @@ RowHeights{5}:=3 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Footers](properties_Footers.md) - [Headers](properties_Headers.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) - [フッター](properties_Footers.md) - [ヘッダー](properties_Headers.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_DataSource.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_DataSource.md index 96f6b9628e87ab..c33155dd8a30a2 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_DataSource.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_DataSource.md @@ -11,7 +11,7 @@ title: データソース このプロパティは次のフォームオブジェクトでサポートされています: -- [Combo box](comboBox_overview.md) and [list box column](listbox-column.md) form objects associated to a choice list. +- 選択リストと紐づけられている [コンボボックス](comboBox_overview.md) および [リストボックスカラム](listbox-column.md) フォームオブジェクト。 - 配列またはオブジェクトデータソースにより、紐づけられたリストが生成されている [コンボボックス](comboBox_overview.md) フォームオブジェクト。 たとえば、"France, Germany, Italy" という値を含む選択リストが "Countries" というコンボボックスに関連付けられていた場合を考えます。**自動挿入** のオプションがチェックをされていて、ユーザーが "Spain" という値を入力すると、"Spain" という値が自動的にメモリー内のリストに追加されます: @@ -28,7 +28,7 @@ title: データソース #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [List Box Column](listbox-column.md) +[コンボボックス](comboBox_overview.md) - [リストボックスカラム](listbox-column.md) --- @@ -45,8 +45,9 @@ title: データソース #### 対象オブジェクト -[Drop-down List](dropdownList_Overview.md) - -[Combo Box](comboBox_overview.md) - [Hierarchical List](list_overview.md) - [List Box Column](listbox-column.md) +[ドロップダウンリスト](dropdownList_Overview.md)* [コンボボックス](comboBox_overview.md) +* [階層リスト](list_overview.md) +* [リストボックスカラム](listbox-column.md) #### コマンド @@ -126,7 +127,7 @@ title: データソース 表示される式のデータタイプを定義します。 このプロパティは次のフォームオブジェクトで使用されます: -- [List box columns](listbox-column.md) of the selection and collection types. +- セレクションおよびコレクション型の [リストボックスカラム](listbox-column.md)。 - オブジェクトまたは配列と紐づいた [ドロップダウンリスト](dropdownList_Overview.md)。 [式タイプ](properties_Object.md#式の型式タイプ) の章も参照ください。 @@ -139,7 +140,7 @@ title: データソース #### 対象オブジェクト -[Drop-down Lists](dropdownList_Overview.md) associated to objects or arrays - [List Box column](listbox-column.md) +オブジェクトまたは配列と紐づいた [ドロップダウンリスト](dropdownList_Overview.md) - [リストボックスカラム](listbox-column.md) --- @@ -196,14 +197,13 @@ title: データソース #### 対象オブジェクト -[List Box Column (array type only)](listbox-column.md) +[リストボックスカラム(配列型のみ)](listbox-column.md) --- ## 式 -This description is specific to [selection](FormObjects/listbox-object.md#selection-list-boxes) -and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection-list-boxes) type list box columns. **[変数あるいは式](properties_Object.md#変数あるいは式)** の章も参照ください。 +[セレクション型](FormObjects/listbox_object.md#セレクションリストボックス) および [コレクション / エンティティセレクション型](../FormObjects/listbox-object.md#コレクションまたはエンティティセレクションリストボックス) リストボックス特有のプロパティです。 **[変数あるいは式](properties_Object.md#変数あるいは式)** の章も参照ください。 列に割り当てる 4D式です。 以下のものを指定できます: @@ -242,7 +242,7 @@ and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) --- @@ -275,7 +275,7 @@ and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection このプロパティは以下の場合に表示されます: - オブジェクトに対して [選択リスト](#選択リスト) が割り当てられている -- for [inputs](input_overview.md) and [list box columns](listbox-column.md), a [required list](properties_RangeOfValues.md#required-list) is also defined for the object (both options should use usually the same list), so that only values from the list can be entered by the user. +- [入力](input_overview.md) および [リストボックスカラム](listbox-column.md) の場合には、ユーザーがリスト内の値のみ入力できるように、オブジェクトに対して [指定リスト](properties_RangeOfValues.md#指定リスト) も定義されている (通常は両方のオプションで同じリストを使用しているはずです)。 このプロパティは、選択リストに関連付けされたフィールドまたは変数において、フィールドに保存する内容の型を指定します: @@ -297,7 +297,7 @@ and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) --- diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Display.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Display.md index 946a229bf691d3..2ae69f373e9c91 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Display.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Display.md @@ -46,7 +46,7 @@ RB-1762-1 #### 対象オブジェクト -[Drop-down List](dropdownList_Overview.md) - [Combo Box](comboBox_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[ドロップダウンリスト](dropdownList_Overview.md) - [コンボボックス](comboBox_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -105,13 +105,13 @@ RB-1762-1 :::note blankIfNull - デフォルトでは、 [null 日付](../Concepts/dt_date.md#日付リテラル) は 00/00/00 のように、ゼロとして表示されます。 "blankIfNull" オプションを使用すると、null の日付は空白として表示されます。 "blankIfNull" 文字列 (文字の大小を区別) は、選択されたフォーマットの値と組み合わせて使います。 例: "systemShort blankIfNull" または "LLLdd日 ee blankIfNull"。 -- [List box columns](listbox-column.md) and [list box footers](listbox-header-footer.md#footers) of type date always use the "blank if null" behavior (it cannot be disengaged). +- 日付型の [リストボックスのカラム](listbox-column.md) および [リストボックスのフッター](listbox-header-footer.md#フッター) は常に "blankIfNull" (null値は空白表示) の振る舞いをします (解除できません)。 ::: #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[コンボボックス](comboBox_overview.md) - [ドロップダウンリスト](dropdownList_Overview.md) - [入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -276,7 +276,12 @@ RB-1762-1 #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) - [Progress Indicators](progressIndicator.md) +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[入力](input_overview.md) - +[リストボックスカラム](listbox-column.md) - +[リストボックスフッター](listbox-header-footer.md#フッター) - +[進捗インジケーター](progressIndicator.md) #### コマンド @@ -340,7 +345,7 @@ RB-1762-1 #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -398,7 +403,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[コンボボックス](comboBox_overview.md) - [ドロップダウンリスト](dropdownList_Overview.md) - [入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -411,7 +416,7 @@ Customized time formats can be built using several patterns described in the [** [ブール式](properties_Object.md#式の型) を次のフォームオブジェクトで表示した場合: - [入力オブジェクト](input_overview.md) にテキストとして -- a ["popup"](properties_Display.md#display-type) in a [list box column](listbox-column.md), +- [リストボックスカラム](listbox-column.md) に表示タイプ ["ポップアップ"](properties_Display.md#表示タイプ) を選択して ... 値の代わりに表示するテキストを指定することができます: @@ -426,7 +431,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) - [Input](input_overview.md) +[リストボックスカラム](listbox-column.md) - [入力](input_overview.md) #### コマンド @@ -450,7 +455,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -502,7 +507,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[Check box](checkbox_overview.md) - [List Box Column](listbox-column.md) +[チェックボックス](checkbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -527,7 +532,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) --- @@ -564,7 +569,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -599,7 +604,31 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[4D View Pro area](viewProArea_overview.md) - [4D Write Pro area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) - [List Box Header](listbox-header-footer.md#headers) - [Picture Button](pictureButton_overview.md) - [Picture Pop-up Menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress indicator](progressIndicator.md) - [Radio Button](radio_overview.md) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[リストボックス](listbox_overview.md) - +[リストボックスカラム](listbox-column.md) - +[リストボックスフッター](listbox-header-footer.md#フッター) - +[リストボックスヘッダー](listbox-header-footer.md#ヘッダー) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) #### コマンド @@ -658,7 +687,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Entry.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Entry.md index b855857db880f6..131e0d77b2f094 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Entry.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Entry.md @@ -49,7 +49,10 @@ title: 入力 #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) - [Web Area](webArea_overview.md) - [4D Write Pro areas](writeProArea_overview.md) +[入力](input_overview.md) - +[リストボックスカラム](listbox-column.md) - +[Web エリア](webArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) #### コマンド @@ -73,7 +76,14 @@ title: 入力 #### 対象オブジェクト -[4D Write Pro areas](writeProArea_overview.md) - [Check Box](checkbox_overview.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [Progress Bar](progressIndicator.md) - [Ruler](ruler.md) - [Stepper](stepper.md) +[4D Write Pro エリア](writeProArea_overview.md) - +[チェックボックス](checkbox_overview.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックスカラム](listbox-column.md) - +[進捗インジケーター](progressIndicator.md) - +[ルーラー](ruler.md) - +[ステッパー](stepper.md) #### コマンド @@ -135,7 +145,7 @@ title: 入力 #### 対象オブジェクト -[Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) +[チェックボックス](checkbox_overview.md) - [コンボボックス](comboBox_overview.md) - [階層リスト](list_overview.md) - [入力](input_overview.md) - [リストボックスカラム](listbox-column.md) --- diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Footers.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Footers.md index 21aea0db5e0209..ded3c74b680b9b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Footers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Footers.md @@ -5,7 +5,7 @@ title: フッター ## フッターを表示 -This property is used to display or hide [list box column footers](listbox-header-footer.md#footers). 列ごとに 1つのフッターを表示できます。それぞれのフッターは個別に設定できます。 +このプロパティは、[リストボックスカラムのフッター](listbox-header-footer.md#フッター) の表示/非表示を指定するのに使用されます。 列ごとに 1つのフッターを表示できます。それぞれのフッターは個別に設定できます。 #### JSON 文法 @@ -70,5 +70,5 @@ This property is used to display or hide [list box column footers](listbox-heade #### 参照 -[Headers](properties_Headers.md) - [List box footers](listbox-header-footer.md#footers) +[ヘッダー](properties_Headers.md) - [リストボックスフッター](listbox-header-footer.md#フッター) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Headers.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Headers.md index 8d2bd064178d1c..eda7c4c4ad3883 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Headers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Headers.md @@ -5,7 +5,7 @@ title: ヘッダー ## ヘッダーを表示 -This property is used to display or hide [list box column headers](listbox-header-footer.md#headers). 列ごとに 1つのヘッダーを表示できます。それぞれのヘッダーは個別に設定できます。 +このプロパティは、[リストボックスカラムのヘッダー](listbox-header-footer.md#ヘッダー) の表示/非表示を指定するのに使用されます。 列ごとに 1つのヘッダーを表示できます。それぞれのヘッダーは個別に設定できます。 #### JSON 文法 @@ -70,5 +70,5 @@ This property is used to display or hide [list box column headers](listbox-heade #### 参照 -[Footers](properties_Footers.md) - [List box headers](listbox-header-footer.md#headers) +[フッター](properties_Footers.md) - [リストボックスヘッダー](listbox-header-footer.md#ヘッダー) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Help.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Help.md index 0a39f8c46e5448..b6057efbc6599c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Help.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Help.md @@ -27,7 +27,17 @@ title: ヘルプ #### 対象オブジェクト -[Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Combo Box](comboBox_overview.md) - [Hierarchical List](list_overview.md) - [List Box Header](listbox-header-footer.md#headers) - [List Box Footer](listbox-header-footer.md#footers) - [Picture Button](pictureButton_overview.md) - [Picture Pop-up menu](picturePopupMenu_overview.md) - [Radio Button](radio_overview.md) +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[コンボボックス](comboBox_overview.md) - +[階層リスト](list_overview.md) - +[リストボックスヘッダー](listbox-header-footer.md#ヘッダー) - +[リストボックスフッター](listbox-header-footer.md#フッター) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[ラジオボタン](radio_overview.md) #### 追加のヘルプ機能 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_ListBox.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_ListBox.md index b19d12d36ccc6f..d7dd326dd3bf62 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_ListBox.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_ListBox.md @@ -15,7 +15,7 @@ title: リストボックス | ------- | -------------- | --------------------- | | columns | 列オブジェクトのコレクション | リストボックス列のプロパティを格納します。 | -For a list of properties supported by column objects, please refer to the [Column Specific Properties](listbox-column.md#column-specific-properties) section. +カラムオブジェクトに関してサポートされているプロパティの一覧については [カラム特有のプロパティ](listbox-column.md#column-specific-properties) の章を参照してください。 #### 対象オブジェクト diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_ResizingOptions.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_ResizingOptions.md index f9bf7b1ba7e292..84afe846266ac9 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_ResizingOptions.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_ResizingOptions.md @@ -142,7 +142,7 @@ title: リサイズオプション #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Text.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Text.md index bd9bb2eec10e6c..bb99064225ab9f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Text.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/FormObjects/properties_Text.md @@ -266,7 +266,7 @@ Choose([Companies]ID;Bold;Plain;Italic;Underline) #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -429,7 +429,7 @@ End if #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -482,7 +482,7 @@ End if #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -506,7 +506,7 @@ End if #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/Notes/updates.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/Notes/updates.md index 26401205f639ef..06265dd125789f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/Notes/updates.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/Notes/updates.md @@ -5,7 +5,7 @@ title: リリースノート ## 4D 21 R3 -Read [**What’s new in 4D 21 R3**](https://blog.4d.com/whats-new-in-4d-21-r3/), the blog post that lists all new features and enhancements in 4D 21 R3. +[**4D 21 R3 の新機能**](https://blog.4d.com/ja/whats-new-in-4d-21-r3/): 4D 21 R3 の新機能と拡張機能をすべてリストアップしたブログ記事です。 #### ハイライト diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md index 31f230ce78e67e..6f92b75a133a3d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md @@ -5,7 +5,7 @@ slug: /commands/http-get displayed_sidebar: docs --- -**HTTP Get** ( *url* : Text ; *response* : Text, Blob, Picture, Object {; *headerNames* : Text array ; *headerValues* : Text array}{; *} ) : Integer +**HTTP Get** ( *url* : Text ; *response* : Text, Blob, Picture, Object, Collection {; *headerNames* : Text array ; *headerValues* : Text array}{; *} ) : Integer
    diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md index 02fcc559e64334..8cb08f5c985cc0 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md @@ -5,7 +5,7 @@ slug: /commands/http-request displayed_sidebar: docs --- -**HTTP Request** ( *httpMethod* : Text ; *url* : Text ; *contents* : Text, Blob, Picture, Object ; *response* : Text, Blob, Picture, Object {; *headerNames* : Text array ; *headerValues* : Text array}{; *} ) : Integer +**HTTP Request** ( *httpMethod* : Text ; *url* : Text ; *contents* : Text, Blob, Picture, Object ; *response* : Text, Blob, Picture, Object, Collection {; *headerNames* : Text array ; *headerValues* : Text array}{; *} ) : Integer
    diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/Admin/data-collect.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/Admin/data-collect.md index b58572d7ff4350..7b368ffc4aa6f1 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/Admin/data-collect.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/Admin/data-collect.md @@ -24,115 +24,115 @@ title: データ収集 また、一部のデータは一定時間ごとに収集されます。 -| データ | 型 | 注記 | -| ----------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| appServer | Object | Object containing application server information | -| appServer.hits | Number | Number of requests from internal processes | -| appServer.bytesIn | Number | Bytes received by internal processes | -| appServer.bytesOut | Number | Bytes sent by internal processes | -| appServer.executionTime | Number | CPU execution time for internal processes | -| cacheMissBytes | Object | キャッシュミスバイト数 | -| cacheMissCount | Object | キャッシュミス回数 | -| cacheReadBytes | Object | キャッシュから読み出したバイト数 | -| cacheReadCount | Object | キャッシュの読み出し回数 | -| classUsage | Object | 特定の言語クラスのインスタンス数 | -| connectionSystems | Collection | ビルド番号 (括弧内) なしのクライアントOSと、それを使用しているクライアント数 | -| databases[].cacheSize | Number | キャッシュのサイズ (バイト単位) | -| databases[].externalDatastoreOpened | Number | `Open datastore` への呼び出し回数 | -| databases[].id | Number | Database ID | -| databases[].internalDatastoreOpened | Number | 外部サーバーによってデータストアが開かれた回数 | -| databases[].maxConcurrent4DClients | Number | Maximum number of simultaneous 4D Client sessions (using a 4D Client license) over the collection interval | -| databases[].maxConcurrentRestSessions | Number | Maximum number of simultaneous REST sessions over the collection interval | -| databases[].maxConcurrentWebSessions | Number | Maximum number of simultaneous Web sessions (4DACTION and SOAP) over the collection interval | -| databases[].maximum4DClientConnections | Number | サーバーへのクライアントの最大接続数 | -| databases[].numberOfDistinctClients | Number | Distinct count of client persistent UUID seen over collection interval | -| databases[].numberOfFields | Number | フィールドの数 | -| databases[].numberOfKeepRecordSyncInfo | Number | "複製を許可"オプションがチェックされているテーブルの数 | -| databases[].numberOfRecordsMax | Number | レコードの総数 | -| databases[].numberOfTables | Number | テーブルの総数 | -| databases[].qodly.webforms | Number | Qodly Webフォームの数 | -| databases[].remoteDebugger4DRemoteAttachments | Number | リモート4D から有効化されているリモートデバッガの数 | -| databases[].remoteDebuggerQodlyAttachments | Number | Qodly から有効化されているリモートデバッガの数 | -| databases[].remoteDebuggerVSCodeAttachments | Number | VS Code から有効化されているリモートデバッガの数 | -| databases[].structureHash | Text | | -| databases[].uniqueID | Text (ハッシュ文字列) | データベースに関連付けられた一意の id (*データベース名の多項式ローリングハッシュ*) | -| databases[].uptime | Number | Time elapsed (in seconds) between two collection events | -| databases[].uuid | Text | Database UUID | -| databases[].webIPAddressesNumber | Number | 4D Server へのリクエストを行った異なるIP アドレスの数 | -| databases[].webMaxScalableSessions | Number | Maximum number of scalable sessions on the server | -| databases[].webScalableSessions | Boolean | スケーラブルセッションが有効化されている場合にはTrue | -| dataSegment1.diskReadBytes | Object | データファイルから読み取ったバイト数 | -| dataSegment1.diskReadCount | Object | データファイルからの読み取り回数 | -| dataSegment1.diskWriteBytes | Object | データファイルに書き込んだバイト数 | -| dataSegment1.diskWriteCount | Object | データファイルへの書き込み回数 | -| dataSize | Number | データファイルのサイズ (バイト単位) | -| dbServer | Object | Object containing DB4D server information | -| dbServer.hits | Number | Number of requests from internal processes | -| dbServer.bytesIn | Number | Bytes received by internal processes | -| dbServer.bytesOut | Number | Bytes sent by internal processes | -| dbServer.executionTime | Number | CPU execution time for internal processes | -| encryptedConnections | Boolean | クライアント/サーバー接続が暗号化されている場合は True | -| externalPHP | Boolean | クライアントが `PHP execute` を呼び出して、独自のバージョンの php を使用した場合は True。 | -| general.buildNumber | Number | 4Dアプリケーションのビルド番号 | -| general.headless | Boolean | アプリケーションがヘッドレスモードで実行されている場合は true | -| general.isRosetta | Boolean | macOS の Rosetta で 4D がエミュレートされている場合は True、そうでない場合は False (エミュレートされていない、または Windows の場合)。 | -| general.license | Object | 製品ライセンスの名称と説明 | -| general.uniqueID | Text | 4D Server の固有ID | -| general.version | Text | 4Dアプリケーションのバージョン番号 | -| hasDataChangeTracking | Boolean | "__DeletedRecords" テーブルが存在する場合にはTrue | -| indexSegment.diskReadBytes | Number | インデックスファイルから読み取ったバイト数 | -| indexSegment.diskReadCount | Number | インデックスファイルからの読み取り回数 | -| indexSegment.diskWriteBytes | Number | インデックスファイルに書き込んだバイト数 | -| indexSegment.diskWriteCount | Number | インデックスファイルへの書き込み回数 | -| indexSize | Number | インデックスのサイズ (バイト単位) | -| isCompiled | Boolean | アプリケーションがコンパイル済みの場合は true | -| isEncrypted | Boolean | データファイルが暗号化されていれば true | -| isEngined | Boolean | アプリケーションに 4D Volume Desltop が組み込まれている場合は true | -| isProjectMode | Boolean | アプリケーションがプロジェクトの場合は true | -| LDAPLogin | Number | `LDAP LOGIN` の呼び出し回数 | -| license.sffPrimaryKey | Number | Server master product number | -| machine.CPU | Text | プロセッサーの名前、種類、および速度 | -| machine.memory | Number | マシン上で利用可能なメモリ容量 (バイト単位) | -| machine.numberOfCores | Number | コアの合計数 | -| machine.system | Text | OS のバージョンとビルド番号 | -| maximumNumberOfWebProcesses | Number | 最大同時Webプロセス数 | -| maximumUsedPhysicalMemory | Number | 最大使用した物理メモリ | -| maximumUsedVirtualMemory | Number | 最大使用した仮想メモリ | -| mobile | Collection | モバイルセッションに関する情報 | -| numberOfWebServices | Number | Webサービスとして公開されているメソッドの数 | -| ODBCLogin | Number | ODBC を使用しての `SQL LOGIN`への呼出回数 | -| phpCall | Number | `PHP execute` の呼び出し回数 | -| QueryBySQL | Number | `QUERY BY SQL` への呼出回数 | -| restServer | Object | Object containing REST server information | -| restServer.bytesIn | Number | Bytes received by the REST server | -| restServer.bytesOut | Number | Bytes sent by the REST server | -| restServer.hits | Number | Number of hits on the REST server | -| restServer.executionTime | Number | CPU execution time for the REST WEB server | -| soapServer | Object | Object containing SOAP server information | -| soapServer.bytesIn | Number | Bytes received by the SOAP server | -| soapServer.bytesOut | Number | Bytes sent by the SOAP server | -| soapServer.hits | Number | Number of hits on the SOAP server | -| soapServer.executionTime | Number | CPU execution time for the SOAP server | -| SQLBeginEndStatement | Number | `Begin SQL` / `End SQL` の使用回数 | -| SQLLoginInternal | Number | SQL_INTERNAL を使用しての `SQL LOGIN` の呼出回数 | -| sqlServer | Object | Object containing SQL server information | -| sqlServer.hits | Number | Number of SQL queries executed | -| sqlServer.bytesIn | Number | Bytes received by the SQL engine | -| sqlServer.bytesOut | Number | Bytes sent by the SQL engine | -| sqlServer.executionTime | Number | CPU execution time for SQL queries | -| usingQUICNetworkLayer | Boolean | データベースが QUICネットワークレイヤーを使用している場合は True | -| totalExecutionTime | Number | Total CPU execution time: sum of all request types | -| totalRequests | Number | Total requests: sum of web, REST, SOAP, SQL, and internal traffic | -| webServer | Object | Object containing Web server information | -| webServer.bytesIn | Number | Bytes received by the Web server | -| webServer.bytesOut | Number | Bytes sent by the Web server | -| webServer.hits | Number | Number of hits on the Web server | -| webServer.executionTime | Number | CPU execution time for the Web server | -| webStaticServer | Object | Object containing the static Web server information | -| webStaticServer.bytesIn | Number | Bytes received by the static Web server | -| webStaticServer.bytesOut | Number | Bytes sent by the static Web server | -| webStaticServer.hits | Number | Number of hits on the static Web server | -| webStaticServer.executionTime | Number | CPU execution time for the static Web server | +| データ | 型 | 注記 | +| ----------------------------------------------------------------------------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| appServer | Object | アプリケーションサーバー情報に関する情報を格納したオブジェクト | +| appServer.hits | Number | 内部プロセスからのリクエスト数 | +| appServer.bytesIn | Number | 内部プロセスから受信したバイト数 | +| appServer.bytesOut | Number | 内部プロセスから送信されたバイト数 | +| appServer.executionTime | Number | 内部プロセスのCPU実行時間 | +| cacheMissBytes | Object | キャッシュミスバイト数 | +| cacheMissCount | Object | キャッシュミス回数 | +| cacheReadBytes | Object | キャッシュから読み出したバイト数 | +| cacheReadCount | Object | キャッシュの読み出し回数 | +| classUsage | Object | 特定の言語クラスのインスタンス数 | +| connectionSystems | Collection | ビルド番号 (括弧内) なしのクライアントOSと、それを使用しているクライアント数 | +| databases[].cacheSize | Number | キャッシュのサイズ (バイト単位) | +| databases[].externalDatastoreOpened | Number | `Open datastore` への呼び出し回数 | +| databases[].id | Number | データベースID | +| databases[].internalDatastoreOpened | Number | 外部サーバーによってデータストアが開かれた回数 | +| databases[].maxConcurrent4DClients | Number | 回収期間の中での、(4D クライアントライセンスを使用した)同時4Dクライアントセッションの最大数 | +| databases[].maxConcurrentRestSessions | Number | 回収期間の中での同時REST セッション最大数 | +| databases[].maxConcurrentWebSessions | Number | 回収期間の中での同時Web セッション(4DACTIPN およびSOAP)の最大数 | +| databases[].maximum4DClientConnections | Number | サーバーへのクライアントの最大接続数 | +| databases[].numberOfDistinctClients | Number | 回収期間の中で見られた永続的なクライアントUUID の固有数 | +| databases[].numberOfFields | Number | フィールドの数 | +| databases[].numberOfKeepRecordSyncInfo | Number | "複製を許可"オプションがチェックされているテーブルの数 | +| databases[].numberOfRecordsMax | Number | レコードの総数 | +| databases[].numberOfTables | Number | テーブルの総数 | +| databases[].qodly.webforms | Number | Qodly Webフォームの数 | +| databases[].remoteDebugger4DRemoteAttachments | Number | リモート4D から有効化されているリモートデバッガの数 | +| databases[].remoteDebuggerQodlyAttachments | Number | Qodly から有効化されているリモートデバッガの数 | +| databases[].remoteDebuggerVSCodeAttachments | Number | VS Code から有効化されているリモートデバッガの数 | +| databases[].structureHash | Text | | +| databases[].uniqueID | Text (ハッシュ文字列) | データベースに関連付けられた一意の id (*データベース名の多項式ローリングハッシュ*) | +| databases[].uptime | Number | 二つの回収イベント間での経過時間(秒単位) | +| databases[].uuid | Text | データベース UUID | +| databases[].webIPAddressesNumber | Number | 4D Server へのリクエストを行った異なるIP アドレスの数 | +| databases[].webMaxScalableSessions | Number | サーバー上でのスケーラブルセッションの最大数 | +| databases[].webScalableSessions | Boolean | スケーラブルセッションが有効化されている場合にはTrue | +| dataSegment1.diskReadBytes | Object | データファイルから読み取ったバイト数 | +| dataSegment1.diskReadCount | Object | データファイルからの読み取り回数 | +| dataSegment1.diskWriteBytes | Object | データファイルに書き込んだバイト数 | +| dataSegment1.diskWriteCount | Object | データファイルへの書き込み回数 | +| dataSize | Number | データファイルのサイズ (バイト単位) | +| dbServer | Object | DB4D サーバーの情報を格納したオブジェクト | +| dbServer.hits | Number | 内部プロセスからのリクエスト数 | +| dbServer.bytesIn | Number | 内部プロセスから受信したバイト数 | +| dbServer.bytesOut | Number | 内部プロセスから送信されたバイト数 | +| dbServer.executionTime | Number | 内部プロセスのCPU実行時間 | +| encryptedConnections | Boolean | クライアント/サーバー接続が暗号化されている場合は True | +| externalPHP | Boolean | クライアントが `PHP execute` を呼び出して、独自のバージョンの php を使用した場合は True。 | +| general.buildNumber | Number | 4Dアプリケーションのビルド番号 | +| general.headless | Boolean | アプリケーションがヘッドレスモードで実行されている場合は true | +| general.isRosetta | Boolean | macOS の Rosetta で 4D がエミュレートされている場合は True、そうでない場合は False (エミュレートされていない、または Windows の場合)。 | +| general.license | Object | 製品ライセンスの名称と説明 | +| general.uniqueID | Text | 4D Server の固有ID | +| general.version | Text | 4Dアプリケーションのバージョン番号 | +| hasDataChangeTracking | Boolean | "__DeletedRecords" テーブルが存在する場合にはTrue | +| indexSegment.diskReadBytes | Number | インデックスファイルから読み取ったバイト数 | +| indexSegment.diskReadCount | Number | インデックスファイルからの読み取り回数 | +| indexSegment.diskWriteBytes | Number | インデックスファイルに書き込んだバイト数 | +| indexSegment.diskWriteCount | Number | インデックスファイルへの書き込み回数 | +| indexSize | Number | インデックスのサイズ (バイト単位) | +| isCompiled | Boolean | アプリケーションがコンパイル済みの場合は true | +| isEncrypted | Boolean | データファイルが暗号化されていれば true | +| isEngined | Boolean | アプリケーションに 4D Volume Desltop が組み込まれている場合は true | +| isProjectMode | Boolean | アプリケーションがプロジェクトの場合は true | +| LDAPLogin | Number | `LDAP LOGIN` の呼び出し回数 | +| license.sffPrimaryKey | Number | サーバーのマスタープロダクト番号 | +| machine.CPU | Text | プロセッサーの名前、種類、および速度 | +| machine.memory | Number | マシン上で利用可能なメモリ容量 (バイト単位) | +| machine.numberOfCores | Number | コアの合計数 | +| machine.system | Text | OS のバージョンとビルド番号 | +| maximumNumberOfWebProcesses | Number | 最大同時Webプロセス数 | +| maximumUsedPhysicalMemory | Number | 最大使用した物理メモリ | +| maximumUsedVirtualMemory | Number | 最大使用した仮想メモリ | +| mobile | Collection | モバイルセッションに関する情報 | +| numberOfWebServices | Number | Webサービスとして公開されているメソッドの数 | +| ODBCLogin | Number | ODBC を使用しての `SQL LOGIN`への呼出回数 | +| phpCall | Number | `PHP execute` の呼び出し回数 | +| QueryBySQL | Number | `QUERY BY SQL` への呼出回数 | +| restServer | Object | REST サーバーの情報を格納したオブジェクト | +| restServer.bytesIn | Number | REST サーバーで受信されたバイト | +| restServer.bytesOut | Number | REST サーバーから送信されたバイト | +| restServer.hits | Number | REST サーバー上のヒット数 | +| restServer.executionTime | Number | REST Web サーバーのCPU 実行時間 | +| soapServer | Object | SOAP サーバー情報を格納したオブジェクト | +| soapServer.bytesIn | Number | SOAP サーバーで受信されたバイト | +| soapServer.bytesOut | Number | SOAP サーバーから送信されたバイト | +| soapServer.hits | Number | SOAP サーバー上のヒット数 | +| soapServer.executionTime | Number | SOAP サーバーのCPU 実行時間 | +| SQLBeginEndStatement | Number | `Begin SQL` / `End SQL` の使用回数 | +| SQLLoginInternal | Number | SQL_INTERNAL を使用しての `SQL LOGIN` の呼出回数 | +| sqlServer | Object | SQL サーバー情報を格納したオブジェクト | +| sqlServer.hits | Number | 実行されたSQL クエリの数 | +| sqlServer.bytesIn | Number | SQL エンジンで受信されたバイト | +| sqlServer.bytesOut | Number | SQL エンジンによって送信されたバイト | +| sqlServer.executionTime | Number | SQL クエリのCPU 実行時間 | +| usingQUICNetworkLayer | Boolean | データベースが QUICネットワークレイヤーを使用している場合は True | +| totalExecutionTime | Number | CPU 総実行時間: 全てのリクエストタイプの合計 | +| totalRequests | Number | リクエスト総数: Web、REST、SOAP、SQL、および内部トラフィックの総数 | +| webServer | Object | Web サーバー情報を格納したオブジェクト | +| webServer.bytesIn | Number | Web サーバーで受信されたバイト | +| webServer.bytesOut | Number | Web サーバーから送信されたバイト | +| webServer.hits | Number | Web サーバー上のヒット数 | +| webServer.executionTime | Number | Web サーバーのCPU 実行時間 | +| webStaticServer | Object | スタティックなWeb サーバー情報を格納したオブジェクト | +| webStaticServer.bytesIn | Number | スタティックなWeb サーバーによって受信されたバイト | +| webStaticServer.bytesOut | Number | スタティックなWeb サーバーによって送信されたバイト | +| webStaticServer.hits | Number | スタティックなWeb サーバー上のヒット数 | +| webStaticServer.executionTime | Number | スタティックなWeb サーバーのCPU 実行時間 | ## 保存先と送信先 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/Develop/async.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/Develop/async.md index 3c967081d1c293..2ddc8c8b9c87bd 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/Develop/async.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/Develop/async.md @@ -16,17 +16,18 @@ title: 非同期実行 - タスクの実行が厳密な順番に従う必要があるとき。 - パフォーマンスへの影響が最小限である(例: 素早いオペレーション)。 - ブロッキングが許容可能な、シングルスレッドでのコンテキストで実行される。 -- 同期実行はUI をブロックするため、ブロックが起きても許容され得る、素早く順序付けされたタスクに対して適しています。 + +同期実行はUI をブロックするため、ブロックが起きても許容され得る、素早く順序付けされたタスクに対して適しています。 #### 非同期実行 -非同期実行は**イベント駆動型**であり、タスクを実行中でも他の操作を完了させることができます。 これは実行フローを管理するために、 **コールバック**、**ワーカー**、および **イベントハンドラ** といったものに依存します。 +Asynchronous execution is **event-driven** and allows other operations to complete. これは実行フローを管理するために、 **コールバック**、**ワーカー**、および **イベントハンドラ** といったものに依存します。 非同期実行は以下のような場合で使用されます: - 操作が長時間にわたる(例: サーバーのレスポンスを待つなど)。 - レスポンシブネスの良さが重要である場合(例: UI インタラクションなど)。 -- バックグラウンド処理、ネットワーク通信、あるいは並列処理などを実行する場合。 +- Background tasks, network communication, or parallel processing are performed. 同期的実行と非同期実行のどちらを選んだら良いかについては、以下の表をご覧下さい: @@ -41,25 +42,25 @@ title: 非同期実行 ## 基本原理 -4D はさまざまなクラスやコマンドを通して、ビルトインの**非同期実行**機能を提供します。 これらを使用することで、カレンとプロセスをブロックすることなく、他のオペレーションが完了するのを待ちながら、バックグラウンド処理、ネットワーク通信、そして大量のデータ処理などを行うことができます。 +4D はさまざまなクラスやコマンドを通して、ビルトインの**非同期実行**機能を提供します。 これらを使用することで、カレンとプロセスをブロックすることなく、他のオペレーションが完了するのを待ちながら、バックグラウンド処理、ネットワーク通信、そして大量のデータ処理などを行うことができます。 これらを使用することで、カレンとプロセスをブロックすることなく、他のオペレーションが完了するのを待ちながら、バックグラウンド処理、ネットワーク通信、そして大量のデータ処理などを行うことができます。 -4D における非同期イベントの管理の一般的な概念は、**ワーカー**(イベントをリッスンするプロセス)および**コールバック**(あるイベントが発生した際に自動的に実行される関数またはフォーミュラ)を使用した非同期メッセージモデルに基づいています。 ここでは何かの結果を待つ(同期モード)のではなく、特定のイベントが発生した際に自動的に呼び出される関数を提供します。 コールバックはクラス関数(推奨)またはフォーミュラオブジェクトとして渡すことができます。 +4D における非同期イベントの管理の一般的な概念は、**ワーカー**(イベントをリッスンするプロセス)および**コールバック**(あるイベントが発生した際に自動的に実行される関数またはフォーミュラ)を使用した非同期メッセージモデルに基づいています。 ここでは何かの結果を待つ(同期モード)のではなく、特定のイベントが発生した際に自動的に呼び出される関数を提供します。 コールバックはクラス関数(推奨)またはフォーミュラオブジェクトとして渡すことができます。 ここでは何かの結果を待つ(同期モード)のではなく、特定のイベントが発生した際に自動的に呼び出される関数を提供します。 コールバックはクラス関数(推奨)またはフォーミュラオブジェクトとして渡すことができます。 -This model is common to [`CALL WORKER`](../commands-legacy/call-worker.md), [`CALL FORM`](../commands-legacy/call-form.md), and [classes that support aynchronous execution](#asynchronous-programming-with-4d-classes). これらのコマンド/クラスは全て、バックグラウンドで実行されるオペレーションを開始します。 オペレーションを開始するステートメントは、オペレーションが終わるのを待たずに即座に戻ります。 +このモデルは [`CALL WORKER`](../commands-legacy/call-worker.md)、 [`CALL FORM`](../commands-legacy/call-form.md)、 および [非同期実行をサポートするクラス](#asynchronous-programming-with-4d-classes) などにおいて共通しています。 これらのコマンド/クラスは全て、バックグラウンドで実行されるオペレーションを開始します。 オペレーションを開始するステートメントは、オペレーションが終わるのを待たずに即座に戻ります。 これらのコマンド/クラスは全て、バックグラウンドで実行されるオペレーションを開始します。 オペレーションを開始するステートメントは、オペレーションが終わるのを待たずに即座に戻ります。 ### ワーカー -非同期プログラミングは [**ワーカー**](../Develop/processes.md#ワーカープロセス) (ワーカープロセス) というシステムに依存しています。これを使用することでメインプロセスをブロックすることなく、コードを実行することができます。 これは特に、インターフェースをレスポンシブな状態にしたまま、長時間にわたるタスク(HTTP 呼び出し、外部プロセスの実行、バックグラウンド処理など)を処理するのに有効です。 +非同期プログラミングは [**ワーカー**](../Develop/processes.md#ワーカープロセス) (ワーカープロセス) というシステムに依存しています。これを使用することでメインプロセスをブロックすることなく、コードを実行することができます。 これは特に、インターフェースをレスポンシブな状態にしたまま、長時間にわたるタスク(HTTP 呼び出し、外部プロセスの実行、バックグラウンド処理など)を処理するのに有効です。 これは特に、インターフェースをレスポンシブな状態にしたまま、長時間にわたるタスク(HTTP 呼び出し、外部プロセスの実行、バックグラウンド処理など)を処理するのに有効です。 -非同期プログラミングにおいてワーカープロセスの使用は**必須**です。いわゆる"クラシック"なプロセスはプロセスメソッドが終了した時に実行を自動的に終了するため、コールバックを使用するようなことができないからです。 ワーカープロセスであればその後も生き続け、**イベントをリッスンする**ことができます。 +非同期プログラミングにおいてワーカープロセスの使用は**必須**です。いわゆる"クラシック"なプロセスはプロセスメソッドが終了した時に実行を自動的に終了するため、コールバックを使用するようなことができないからです。 ワーカープロセスであればその後も生き続け、**イベントをリッスンする**ことができます。 ワーカープロセスであればその後も生き続け、**イベントをリッスンする**ことができます。 ### イベントキュー(メールボックス) -Each worker (or form window for [`CALL FORM`](../commands-legacy/call-form.md)) has its own message queue. [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md) simply posts a message to this queue. ワーカーは、独自のコンテキスト内において、メッセージを一つずつ受信した順番で管理していきます。 プロセス変数、カレンとレクション、などは保持されます。 +それぞれのワーカー(または [`CALL FORM`](../commands-legacy/call-form.md) の場合にはフォームウィンドウ)は、独自のメッセージキューを持っています。 [`CALL WORKER`](../commands/call-worker) あるいは [`CALL FORM`](../commands/call-form) コマンドは、メッセージをそのキューへと送信します。 ワーカーは、独自のコンテキスト内において、メッセージを一つずつ受信した順番で管理していきます。 プロセス変数、カレンとレクション、などは保持されます。 [`CALL WORKER`](../commands-legacy/call-worker.md) あるいは [`CALL FORM`](../commands-legacy/call-form.md) コマンドは、メッセージをそのキューへと送信します。 ワーカーは、独自のコンテキスト内において、メッセージを一つずつ受信した順番で管理していきます。 プロセス変数、カレンとレクション、などは保持されます。 ### メッセージを介した双方向通信 -呼び出しプロセスがメッセージを投稿すると、ワーカーはそれを実行します。 The worker can in turn post a message (via [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). この機構により、クラシックな同期呼び出しの応答を置き換えることができます。 +呼び出しプロセスがメッセージを投稿すると、ワーカーはそれを実行します。 呼び出しプロセスがメッセージを投稿すると、ワーカーはそれを実行します。 The worker can in turn post a message (via [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). この機構により、クラシックな同期呼び出しの応答を置き換えることができます。 ### イベントリスニング @@ -67,13 +68,13 @@ Each worker (or form window for [`CALL FORM`](../commands-legacy/call-form.md)) 非同期実行のコンテキストにおいては、以下の機能がリスニングモード内でコードを配置します: -- [`CALL WORKER`](../commands-legacy/call-worker.md) executes the code for which it has been called, then returns to a listening status from where it can be called afterwards. -- [`CALL FORM`](../commands-legacy/call-form.md) opens a form and makes it listen for incoming messages from the event queue. +- [`CALL WORKER`](../commands-legacy/call-worker.md) はそれが呼び出されたコードを実行し、その後にまた呼び出し可能なリスニング状態へと戻ります。 +- [`CALL FORM`](../commands-legacy/call-form.md) はフォームを開いて、それをイベントキューから入ってくるメッセージをリッスンできる状態にします。 - `wait()` を呼び出すと、他のインスタンスからのコールバック内の `terminate()` あるいは `shutdown()` をリッスンします。 ### イベントのトリガー -イベントは実行フローの間に自動的にトリガーされ、対応するコールバックへと渡されます。 `wait()` の途中に `terminate()` あるいは `shutdown()` を呼び出すことで、強制的にイベントをトリガーさせることもできます。 +イベントは実行フローの間に自動的にトリガーされ、対応するコールバックへと渡されます。 イベントは実行フローの間に自動的にトリガーされ、対応するコールバックへと渡されます。 `wait()` の途中に `terminate()` あるいは `shutdown()` を呼び出すことで、強制的にイベントをトリガーさせることもできます。 ### コールバック実行コンテキスト @@ -83,9 +84,9 @@ Each worker (or form window for [`CALL FORM`](../commands-legacy/call-form.md)) ### 非同期オブジェクトのリリース -4D では、全てのオブジェクトは、メモリ内に [そのオブジェクトへの参照がもう残っていない](../Concepts/dt_object.md#resources) 場合にそのオブジェクトがリリースされます。 これは一般的に、メソッド実行の最後にローカル変数が消去される時に発生します。 +4D では、全てのオブジェクトは、メモリ内に [そのオブジェクトへの参照がもう残っていない](../Concepts/dt_object.md#resources) 場合にそのオブジェクトがリリースされます。 これは一般的に、メソッド実行の最後にローカル変数が消去される時に発生します。 これは一般的に、メソッド実行の最後にローカル変数が消去される時に発生します。 -非同期クラスにおいては、オブジェクトをインスタンス化したプロセス内において **追加の参照** が必ず4D によって維持されています。 この参照はオペレーションが完了したときにのみリリースされます。つまり、 `onTerminate` イベントがトリガーされたあとです。 この自動参照によって、変数から特別に参照していなくても、オブジェクトを最後まで存続させることができます。 +非同期クラスにおいては、オブジェクトをインスタンス化したプロセス内において **追加の参照** が必ず4D によって維持されています。 この参照はオペレーションが完了したときにのみリリースされます。つまり、 `onTerminate` イベントがトリガーされたあとです。 この自動参照によって、変数から特別に参照していなくても、オブジェクトを最後まで存続させることができます。 この参照はオペレーションが完了したときにのみリリースされます。つまり、 `onTerminate` イベントがトリガーされたあとです。 この自動参照によって、変数から特別に参照していなくても、オブジェクトを最後まで存続させることができます。 オブジェクトを任意のタイミングで"強制的に"リリースしたい場合、`.shutdown()` あるいは `terminate()` 関数を使用します: これらは`onTerminate` イベントをトリガーするため、オブジェクトはリリースされます。 @@ -109,13 +110,13 @@ Each worker (or form window for [`CALL FORM`](../commands-legacy/call-form.md)) - [`WebSocket`](../API/WebSocketClass.md) – WebSocket クライアント接続を管理します。 - [`WebSocketServer`](../API/WebSocketServerClass.md) – WebSocket サーバー接続を管理します。 -これらのクラスは非同期実行に関しては同じルールに従います。 これらのクラスのコンストラクターは、非同期オブジェクトを設定するために使用される *options* 引数を受付ます。 この場合の *options* オブジェクトには、コールバック関数を備えた[ユーザークラス](../Concepts/classes.md) インスタンスであることが推奨されます。 例えば、クラス内に `onResponse()` 関数を作成した場合、*reponse* イベントが発生した際にそれが自動的に非同期で呼び出されます。 +これらのクラスは非同期実行に関しては同じルールに従います。 これらのクラスのコンストラクターは、非同期オブジェクトを設定するために使用される *options* 引数を受付ます。 この場合の *options* オブジェクトには、コールバック関数を備えた[ユーザークラス](../Concepts/classes.md) インスタンスであることが推奨されます。 For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. 以下のような手順が推奨されます: 1. コールバック関数を宣言するユーザークラスを作成します。例えば、`onError()` および `onResponse()` 関数を持つ、`cs.Params` クラスなどです。 2. そのユーザークラスをインスタンス化し(ここでの例では`cs.Params.new()` クラスを使用)、それを使用して非同期オブジェクトを設定します。 -3. 4D クラスのコンストラクターを呼び出し(例えば`4D.SystemWorker.new()` など)、*options* オブジェクトを引数として渡します。 渡されたオペレーションは、遅延なくすぐに開始されます。 +3. 4D クラスのコンストラクターを呼び出し(例えば`4D.SystemWorker.new()` など)、*options* オブジェクトを引数として渡します。 渡されたオペレーションは、遅延なくすぐに開始されます。 渡されたオペレーションは、遅延なくすぐに開始されます。 以下は、ユーザークラスに基づいた *options* オブジェクトの実装の完全な一例です: @@ -161,7 +162,7 @@ Function _createFile($title : Text; $textBody : Text) :::tip -一部の場合においては、クラス関数の代わりに、プロパティ値としてフォーミュラを使用したい場合があるかもしれません。 これはベストプラクティスではありませんが、以下のようなシンタックスがサポートされています: +一部の場合においては、クラス関数の代わりに、プロパティ値としてフォーミュラを使用したい場合があるかもしれません。 これはベストプラクティスではありませんが、以下のようなシンタックスがサポートされています: これはベストプラクティスではありませんが、以下のようなシンタックスがサポートされています: ```4d var $options.onResponse:=Formula(myMethod) @@ -171,11 +172,11 @@ var $options.onResponse:=Formula(myMethod) ## 非同期コード内での同期的な実行 -現代的な非同期コードを使用している場合でも、ある程度の同期実行が必要となる場合があるかもしれません。 例えば、ある関数が結果を得るまで、ある程度の時間待つようにしたいかもしれません。 これは例えば、保証された速いネットワーク接続や、システムワーカーなどが考えられます。 このような場合、`wait()` 関数を使用することで、同期的な実行を強制することができます。 +現代的な非同期コードを使用している場合でも、ある程度の同期実行が必要となる場合があるかもしれません。 例えば、ある関数が結果を得るまで、ある程度の時間待つようにしたいかもしれません。 これは例えば、保証された速いネットワーク接続や、システムワーカーなどが考えられます。 現代的な非同期コードを使用している場合でも、ある程度の同期実行が必要となる場合があるかもしれません。 例えば、ある関数が結果を得るまで、ある程度の時間待つようにしたいかもしれません。 これは例えば、保証された速いネットワーク接続や、システムワーカーなどが考えられます。 このような場合、`wait()` 関数を使用することで、同期的な実行を強制することができます。 -**`.wait()`** 関数はカレントプロセスの実行を一時停止させ、4D を[イベントリスニング](#イベントリスニング) モードにします。 ただし、これは `wait()` 関数が呼ばれたオブジェクトからだけでなく、どのソースから受信したイベントであってもトリガーされるという点に注意してください。 +**`.wait()`** 関数はカレントプロセスの実行を一時停止させ、4D を[イベントリスニング](#イベントリスニング) モードにします。 ただし、これは `wait()` 関数が呼ばれたオブジェクトからだけでなく、どのソースから受信したイベントであってもトリガーされるという点に注意してください。 ただし、これは `wait()` 関数が呼ばれたオブジェクトからだけでなく、どのソースから受信したイベントであってもトリガーされるという点に注意してください。 -`wait()` 関数は、`onTerminate` イベントがオブジェクト上でトリガーされた場合か、あるいは指定されたタイムアウト(あれば)が経過した場合に実行を返します。 結果として、コールバック内から `shutdown()` あるいは `terminate()` を呼び出すことで、`.wait()` から明示的に抜け出すことができます。 それ以外の場合は、 `.wait()` はカレントのオペレーションが終了した際に終了します。 +`wait()` 関数は、`onTerminate` イベントがオブジェクト上でトリガーされた場合か、あるいは指定されたタイムアウト(あれば)が経過した場合に実行を返します。 結果として、コールバック内から `shutdown()` あるいは `terminate()` を呼び出すことで、`.wait()` から明示的に抜け出すことができます。 それ以外の場合は、 `.wait()` はカレントのオペレーションが終了した際に終了します。 結果として、コールバック内から `shutdown()` あるいは `terminate()` を呼び出すことで、`.wait()` から明示的に抜け出すことができます。 それ以外の場合は、 `.wait()` はカレントのオペレーションが終了した際に終了します。 例: diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md index 6f57aa295d725f..70091d082da5b8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md @@ -151,4 +151,4 @@ title: Forms ## サポートされるイベント -[On Activate](../Events/onActivate.md) - [On After Edit](../Events/onAfterEdit.md) - [On After Keystroke](../Events/onAfterKeystroke.md) - [On Before Keystroke](../Events/onBeforeKeystroke.md) - [On Begin Drag Over](../Events/onBeginDragOver.md) - [On Bound Variable Change](../Events/onBoundVariableChange.md) - [On Clicked](../Events/onClicked.md) - [On Close Box](../Events/onCloseBox.md) - [On Close Detail](../Events/onCloseDetail.md) - [On Data Change](../Events/onDataChange.md) - [On Deactivate](../Events/onDeactivate.md) - [On Display Detail](../Events/onDisplayDetail.md) - [On Double Clicked](../Events/onDoubleClicked.md) - [On Drop](../Events/onDrop.md) - [On Header](../Events/onHeader.md) - [On Load](../Events/onLoad.md) - [On Load Record](../Events/onLoadRecord.md) - [On Losing focus](../Events/onLosingFocus.md) - [On Menu Selected](../Events/onMenuSelected.md) - [On Mouse Enter](../Events/onMouseEnter.md) - [On Mouse Leave](../Events/onMouseLeave.md) - [On Mouse Move](../Events/onMouseMove.md) - [On Open Detail](../Events/onOpenDetail.md) - [On Outside Call](../Events/onOutsideCall.md) - [On Page Change](../Events/onPageChange.md) - [On Plug in Area](../Events/onPluginArea.md) - [On Printing Break](../Events/onPrintingBreak.md) - [On Printing Detail](../Events/onPrintingDetail.md) - [On Printing Footer](../Events/onPrintingFooter.md) - [On Resize](../Events/onResize.md) - [On Selection Change](../Events/onSelectionChange.md) - [On Timer](../Events/onTimer.md) - [On Unload](../Events/onUnload.md) - [On Validate](../Events/onValidate.md) \ No newline at end of file +[On Activate](../Events/onActivate.md) - [On After Edit](../Events/onAfterEdit.md) - [On After Keystroke](../Events/onAfterKeystroke.md) - [On Before Keystroke](../Events/onBeforeKeystroke.md) - [On Begin Drag Over](../Events/onBeginDragOver.md) - [On Bound Variable Change](../Events/onBoundVariableChange.md) - [On Clicked](../Events/onClicked.md) - [On Close Box](../Events/onCloseBox.md) - [On Close Detail](../Events/onCloseDetail.md) - [On Data Change](../Events/onDataChange.md) - [On Deactivate](../Events/onDeactivate.md) - [On Display Detail](../Events/onDisplayDetail.md) - [On Double Clicked](../Events/onDoubleClicked.md) - [On Drop](../Events/onDrop.md) - [On Header](../Events/onHeader.md) - [On Load](../Events/onLoad.md) - [On Load Record](../Events/onLoadRecord.md) - [On Losing focus](../Events/onLosingFocus.md) - [On Menu Selected](../Events/onMenuSelected.md) - [On Mouse Enter](../Events/onMouseEnter.md) - [On Mouse Leave](../Events/onMouseLeave.md) - [On Mouse Move](../Events/onMouseMove.md) - [On Open Detail](../Events/onOpenDetail.md) - [On Outside Call](../Events/onOutsideCall.md) - [On Page Change](../Events/onPageChange.md) - [On Plug in Area](../Events/onPlugInArea.md) - [On Printing Break](../Events/onPrintingBreak.md) - [On Printing Detail](../Events/onPrintingDetail.md) - [On Printing Footer](../Events/onPrintingFooter.md) - [On Resize](../Events/onResize.md) - [On Selection Change](../Events/onSelectionChange.md) - [On Timer](../Events/onTimer.md) - [On Unload](../Events/onUnload.md) - [On Validate](../Events/onValidate.md) \ No newline at end of file diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/listbox_overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/listbox_overview.md index 39a2d98142eb40..240c8d95932654 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/listbox_overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/listbox_overview.md @@ -29,10 +29,10 @@ title: リストボックス リストボックスオブジェクトは、以下4つの項目で構成されます: -- the [list box object](./listbox-object.md) in its entirety, -- [columns](./listbox-column.md), -- column [headers](./listbox-header-footer.md#headers), and -- column [footers](./listbox-header-footer.md#footers). +- [リストボックスオブジェクト](./listbox-object.md) 全体 +- [カラム](./listbox-column.md) +- カラムの[ヘッダー](./listbox-header-footer.md#headers) +- カラムの[フッター](./listbox-header-footer.md#footers) ![](../assets/en/FormObjects/listbox_parts.png) @@ -43,7 +43,7 @@ title: リストボックス 1. 各列のオブジェクトメソッド 2. リストボックスのオブジェクトメソッド -The column object method gets events that occur in its [header](./listbox-header-footer.md#headers) and [footer](./listbox-header-footer.md#footers). +カラムのオブジェクトメソッドは [header](./listbox-header-footer.md#headers) および [footer](./listbox-header-footer.md#footers) 内で発生するイベントも取得します。 ### リストボックスの型 @@ -59,7 +59,7 @@ The column object method gets events that occur in its [header](./listbox-header リストボックスオブジェクトはプロパティによってあらかじめ設定可能なほか、プログラムにより動的に管理することもできます。 -The 4D Language includes a dedicated "List Box" theme for list box commands, but commands from various other themes, such as "Object properties" commands or [`EDIT ITEM`](../commands/edit-item), [`Displayed line number`](../commands/displayed-line-number) commands can also be used. 詳細な情報については、*4D ランゲージリファレンス* の[リストボックスコマンドの一覧](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) のページを参照してください。 +4D ランゲージにはリストボックス関連のコマンドをまとめた "リストボックス" テーマが専用に設けられていますが、"オブジェクトプロパティ" コマンドや [`EDIT ITEM`](../commands/edit-item)、[`Displayed line number`](../commands/displayed-line-number) コマンドなど、ほかのテーマのコマンドも利用することができます。 詳細な情報については、*4D ランゲージリファレンス* の[リストボックスコマンドの一覧](https://doc.4d.com/4Dv20/4D/20.6/List-Box-Commands-Summary.300-7487600.en.html) のページを参照してください。 ## 入力の管理 @@ -245,14 +245,14 @@ JSON フォームにおいて、リストボックスに次のハイライトセ 標準ソートのサポートは、リストボックスのタイプに依存します: -| リストボックスタイプ | 標準ソートのサポート | コメント | -| ------------------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Object の Collection | ◯ |
    • "This.a" や "This.a.b" 列はソート可能です。
    • [リストボックス列の式プロパティ](properties_Object.md#変数あるいは式) は [代入可能な式](../Concepts/quick-tour.md#代入可-vs-代入不可の式) でなくてはなりません。
    | -| スカラー値のコレクション | × | [`orderBy()`](../API/CollectionClass.md#orderby) 関数を使ったカスタムソートを使用します。 | -| エンティティセレクション | ◯ |
    • The [list box source property](properties_Object.md#variable-or-expression) must be an [assignable expression](../Concepts/quick-tour.md#assignable-vs-non-assignable-expressions).
    • サポートされる: オブジェクト属性プロパティに対するソート (例: "data" がオブジェクト属性であるときに"This.data.city")
    • サポートされる: リレートされた属性に対するソート(例: "This.company.name")
    • サポートされない: リレートされた属性を経由したオブジェクト属性に対するソート(例: "This.company.data.city")。 For this, you need to use custom sort with [`orderByFormula()`](../API/EntitySelectionClass.md#orderbyformula) function (see example below)
    | -| カレントセレクション | ◯ | 単純な式のみソート可能です (例: `[Table_1]Field_2`) | -| 命名セレクション | × | | -| 配列 | ◯ | ピクチャー配列やポインター配列と紐づけられた列はソートできません | +| リストボックスタイプ | 標準ソートのサポート | コメント | +| ------------------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Object の Collection | ◯ |
    • "This.a" や "This.a.b" 列はソート可能です。
    • [リストボックス列の式プロパティ](properties_Object.md#変数あるいは式) は [代入可能な式](../Concepts/quick-tour.md#代入可-vs-代入不可の式) でなくてはなりません。
    | +| スカラー値のコレクション | × | [`orderBy()`](../API/CollectionClass.md#orderby) 関数を使ったカスタムソートを使用します。 | +| エンティティセレクション | ◯ |
    • The [list box source property](properties_Object.md#variable-or-expression) must be an [assignable expression](../Concepts/quick-tour.md#assignable-vs-non-assignable-expressions).
    • サポートされる: オブジェクト属性プロパティに対するソート (例: "data" がオブジェクト属性であるときに"This.data.city")
    • サポートされる: リレートされた属性に対するソート(例: "This.company.name")
    • サポートされない: リレートされた属性を経由したオブジェクト属性に対するソート(例: "This.company.data.city")。 この場合には、[`orderByFormula()`](../API/EntitySelectionClass.md#orderbyformula) 関数を使ったカスタムソートを使用します (後述の例題参照)
    | +| カレントセレクション | ◯ | 単純な式のみソート可能です (例: `[Table_1]Field_2`) | +| 命名セレクション | × | | +| 配列 | ◯ | ピクチャー配列やポインター配列と紐づけられた列はソートできません | ### カスタムソート @@ -310,8 +310,8 @@ End if リストボックスの背景色、フォントカラー、そしてフォントスタイルを設定するためにはいくつかの方法があります: -- at the level of the [list box object properties](./listbox-object.md), -- at the level of the [column properties](./listbox-column.md), +- [リストボックスオブジェクトのプロパティリスト](./listbox-object.md) を使用 +- [カラムのプロパティリスト](./listbox-column.md) を使用 - リストボックスまたは列ごとの [配列や式](#配列と式の使用) プロパティを使用 - セルごとのテキストにて定義 ([マルチスタイルテキスト](properties_Text.md#マルチスタイル) の場合) @@ -319,12 +319,12 @@ End if 優先順位や継承の原理は、複数のレベルにわたって同じプロパティに異なる値が指定された場合に適用されます。 -1. (highest priority) Cell (if multi-style text) +1. (最優先) セル(マルチスタイルテキストの場合) 2. 列の配列/メソッド 3. リストボックスの配列/メソッド 4. 列のプロパティ 5. リストボックスのプロパティ -6. (lowest priority) Meta Info expression (for collection or entity selection list boxes) +6. (最も低い優先度) メタ情報式(コレクションまたはエンティティセレクション型リストボックスの場合) 例として、リストボックスのプロパティにてフォントスタイルを設定しながら、列には行スタイル配列を使用して異なるスタイルを設定した場合、後者が有効となります。 @@ -514,20 +514,20 @@ Variable 2 も常に表示され、入力できます。 これは二番目の ->MyListbox{3}:=True ``` -*Non-hierarchical representation:* +*非階層表示:* ![](../assets/en/FormObjects/hierarch7.png) -*Hierarchical representation:* +*階層表示:* ![](../assets/en/FormObjects/hierarch8.png) > 親が折りたたまれているために行が非表示になっていると、それらは選択から除外されます。 (直接あるいはスクロールによって) 表示されている行のみを選択できます。 言い換えれば、行を選択かつ隠された状態にすることはできません。 選択と同様に、[`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) コマンドは階層リストボックスと非階層リストボックスにおいて同じ値を返します。 つまり以下の両方の例題で、[`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) は同じ位置 (3;2) を返します。 -*Non-hierarchical representation:* +*非階層表示:* ![](../assets/en/FormObjects/hierarch9.png) -*Hierarchical representation:* +*階層表示:* ![](../assets/en/FormObjects/hierarch10.png) サブ階層のすべての行が隠されているとき、ブレーク行は自動で隠されます。 先の例題で 1から 3行目までが隠されていると、"Brittany" のブレーク行は表示されません。 @@ -544,13 +544,13 @@ Variable 2 も常に表示され、入力できます。 これは二番目の 以下のリストボックスを例題とします (割り当てた配列名は括弧内に記載しています): -*Non-hierarchical representation:* +*非階層表示:* ![](../assets/en/FormObjects/hierarch12.png) -*Hierarchical representation:* +*階層表示:* ![](../assets/en/FormObjects/hierarch13.png) -階層モードでは `tStyle` や `tColors` 配列で変更されたスタイルは、ブレーク行に適用されません。 ブレークレベルでカラーやスタイルを変更するには、以下のステートメントを実行します: ブレークレベルでカラーやスタイルを変更するには、以下のステートメントを実行します: +階層モードでは `tStyle` や `tColors` 配列で変更されたスタイルは、ブレーク行に適用されません。 ブレークレベルでカラーやスタイルを変更するには、以下のステートメントを実行します: ```4d OBJECT SET RGB COLORS(T1;0x0000FF;0xB0B0B0) @@ -573,7 +573,7 @@ Variable 2 も常に表示され、入力できます。 これは二番目の この場合、開発者がコードを使用して配列を空にしたり値を埋めたりしなければなりません。 実装する際注意すべき原則は以下のとおりです: -- リストボックスが表示される際、先頭の配列のみ値を埋めます。 However, you must create a second array with empty values so that the list box displays the expand/collapse buttons: +- リストボックスが表示される際、先頭の配列のみ値を埋めます。 しかし 2番目の配列を空の値で生成し、リストボックスに展開/折りたたみアイコンが表示されるようにしなければなりません: ![](../assets/en/FormObjects/hierarch15.png) - ユーザーが展開アイコンをクリックすると `On Expand` イベントが生成されます。 [`LISTBOX GET CELL POSITION`](../commands/listbox-get-cell-position) コマンドはクリックされたセルを返すので、適切な階層を構築します: 先頭の配列に繰り返しの値を設定し、2番目の配列には [`SELECTION TO ARRAY`](../commands/selection-to-array) コマンドから得られる値を設定します。そして[`LISTBOX INSERT ROWS`](../commands/listbox-insert-rows) コマンドを使用して必要なだけ行を挿入します。 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md index b3ab85c625a09e..b2991805d53ba5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md @@ -114,7 +114,30 @@ title: 動作 #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Forms](FormEditor/forms.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[フォーム](FormEditor/forms.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[リストボックス列](listbox-column.md) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[Web エリア](webArea_overview.md) --- diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_BackgroundAndBorder.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_BackgroundAndBorder.md index 1cf17afd7eeba9..ef2d4e10aac6f4 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_BackgroundAndBorder.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_BackgroundAndBorder.md @@ -17,7 +17,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -41,7 +41,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) - [Oval](shapes_overview.md#oval) - [Rectangle](shapes_overview.md#rectangle) - [Text Area](text.md) +[階層リスト](list_overview.md) - [リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) - [楕円](shapes_overview.md#楕円) - [四角](shapes_overview.md#四角) - [テキストエリア](text.md) #### コマンド @@ -71,7 +71,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -240,7 +240,7 @@ title: 背景色と境界線 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_CoordinatesAndSizing.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_CoordinatesAndSizing.md index 42a1f58686a1b4..9427e253a55d77 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_CoordinatesAndSizing.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_CoordinatesAndSizing.md @@ -44,7 +44,7 @@ title: 座標とサイズ #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -64,7 +64,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Rectangle](shapes_overview.md#rectangle) - [Ruler](ruler.md) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[四角](shapes_overview.md#四角) - +[ルーラー](ruler.md) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -84,7 +112,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -104,7 +160,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -124,7 +208,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -192,7 +304,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box](listbox_overview.md) - [Line](shapes_overview.md#line) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックス](listbox_overview.md) - +[線](shapes_overview.md#線) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -205,7 +345,7 @@ title: 座標とサイズ オブジェクトの横のサイズを指定します。 > - オブジェクトによっては高さが規定されているものがあり、その場合は変更できません。 -> - If the [Resizable](properties_ResizingOptions.md#resizable) property is used for a [list box column](listbox-column.md), the user can also manually resize the column. +> - [リストボックスカラム](listbox-column.md) に [サイズ変更可](properties_ResizingOptions.md#サイズ変更可) プロパティが設定されている場合には、ユーザーは手動でカラムサイズを変更することもできます。 > - リストボックスの [横方向サイズ変更](properties_ResizingOptions.md#横方向サイズ変更) プロパティに "拡大" を設定している場合にフォームをリサイズすると、一番右のカラムの幅は必要に応じて最大幅を超えて拡大されます。 #### JSON 文法 @@ -216,7 +356,35 @@ title: 座標とサイズ #### 対象オブジェクト -[4D View Pro Area](viewProArea_overview.md) - [4D Write Pro Area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Dropdown list](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [Line](shapes_overview.md#line) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Oval](shapes_overview.md#oval) - [Picture Button](pictureButton_overview.md) - [Picture Pop up menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress Indicators](progressIndicator.md) - [Radio Button](radio_overview.md) - [Ruler](ruler.md) - [Rectangle](shapes_overview.md#rectangle) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[線](shapes_overview.md#線) - +[リストボックス](listbox_overview.md) - +[リストボックスカラム](listbox-column.md) - +[楕円](shapes_overview.md#楕円) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[ルーラー](ruler.md) - +[四角](shapes_overview.md#四角) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) - +[Web エリア](webArea_overview.md) #### コマンド @@ -238,7 +406,7 @@ title: 座標とサイズ #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -260,7 +428,7 @@ title: 座標とサイズ #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -344,7 +512,7 @@ RowHeights{5}:=3 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Footers](properties_Footers.md) - [Headers](properties_Headers.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) - [フッター](properties_Footers.md) - [ヘッダー](properties_Headers.md) #### コマンド @@ -368,7 +536,7 @@ RowHeights{5}:=3 #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [Footers](properties_Footers.md) - [Headers](properties_Headers.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) - [フッター](properties_Footers.md) - [ヘッダー](properties_Headers.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_DataSource.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_DataSource.md index 90ba6ff5ab4d39..317d1279aecba2 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_DataSource.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_DataSource.md @@ -11,7 +11,7 @@ title: データソース このプロパティは次のフォームオブジェクトでサポートされています: -- [Combo box](comboBox_overview.md) and [list box column](listbox-column.md) form objects associated to a choice list. +- 選択リストと紐づけられている [コンボボックス](comboBox_overview.md) および [リストボックスカラム](listbox-column.md) フォームオブジェクト。 - 配列またはオブジェクトデータソースにより、紐づけられたリストが生成されている [コンボボックス](comboBox_overview.md) フォームオブジェクト。 たとえば、"France, Germany, Italy" という値を含む選択リストが "Countries" というコンボボックスに関連付けられていた場合を考えます。**自動挿入** のオプションがチェックをされていて、ユーザーが "Spain" という値を入力すると、"Spain" という値が自動的にメモリー内のリストに追加されます: @@ -28,7 +28,7 @@ title: データソース #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [List Box Column](listbox-column.md) +[コンボボックス](comboBox_overview.md) - [リストボックスカラム](listbox-column.md) --- @@ -45,8 +45,9 @@ title: データソース #### 対象オブジェクト -[Drop-down List](dropdownList_Overview.md) - -[Combo Box](comboBox_overview.md) - [Hierarchical List](list_overview.md) - [List Box Column](listbox-column.md) +[ドロップダウンリスト](dropdownList_Overview.md)* [コンボボックス](comboBox_overview.md) +* [階層リスト](list_overview.md) +* [リストボックスカラム](listbox-column.md) #### コマンド @@ -126,7 +127,7 @@ title: データソース 表示される式のデータタイプを定義します。 このプロパティは次のフォームオブジェクトで使用されます: -- [List box columns](listbox-column.md) of the selection and collection types. +- セレクションおよびコレクション型の [リストボックスカラム](listbox-column.md)。 - オブジェクトまたは配列と紐づいた [ドロップダウンリスト](dropdownList_Overview.md)。 [式タイプ](properties_Object.md#式の型式タイプ) の章も参照ください。 @@ -139,7 +140,7 @@ title: データソース #### 対象オブジェクト -[Drop-down Lists](dropdownList_Overview.md) associated to objects or arrays - [List Box column](listbox-column.md) +オブジェクトまたは配列と紐づいた [ドロップダウンリスト](dropdownList_Overview.md) - [リストボックスカラム](listbox-column.md) --- @@ -196,14 +197,13 @@ title: データソース #### 対象オブジェクト -[List Box Column (array type only)](listbox-column.md) +[リストボックスカラム(配列型のみ)](listbox-column.md) --- ## 式 -This description is specific to [selection](FormObjects/listbox-object.md#selection-list-boxes) -and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection-list-boxes) type list box columns. **[変数あるいは式](properties_Object.md#変数あるいは式)** の章も参照ください。 +[セレクション型](FormObjects/listbox_object.md#セレクションリストボックス) および [コレクション / エンティティセレクション型](../FormObjects/listbox-object.md#コレクションまたはエンティティセレクションリストボックス) リストボックス特有のプロパティです。 **[変数あるいは式](properties_Object.md#変数あるいは式)** の章も参照ください。 列に割り当てる 4D式です。 以下のものを指定できます: @@ -242,7 +242,7 @@ and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) --- @@ -275,7 +275,7 @@ and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection このプロパティは以下の場合に表示されます: - オブジェクトに対して [選択リスト](#選択リスト) が割り当てられている -- for [inputs](input_overview.md) and [list box columns](listbox-column.md), a [required list](properties_RangeOfValues.md#required-list) is also defined for the object (both options should use usually the same list), so that only values from the list can be entered by the user. +- [入力](input_overview.md) および [リストボックスカラム](listbox-column.md) の場合には、ユーザーがリスト内の値のみ入力できるように、オブジェクトに対して [指定リスト](properties_RangeOfValues.md#指定リスト) も定義されている (通常は両方のオプションで同じリストを使用しているはずです)。 このプロパティは、選択リストに関連付けされたフィールドまたは変数において、フィールドに保存する内容の型を指定します: @@ -297,7 +297,7 @@ and [collection](../FormObjects/listbox-object.md#collection-or-entity-selection #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) --- diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Display.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Display.md index a3bc2a573daf33..6453d9344b4849 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Display.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Display.md @@ -46,7 +46,7 @@ RB-1762-1 #### 対象オブジェクト -[Drop-down List](dropdownList_Overview.md) - [Combo Box](comboBox_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[ドロップダウンリスト](dropdownList_Overview.md) - [コンボボックス](comboBox_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -105,13 +105,13 @@ RB-1762-1 :::note blankIfNull - デフォルトでは、 [null 日付](../Concepts/dt_date.md#日付リテラル) は 00/00/00 のように、ゼロとして表示されます。 "blankIfNull" オプションを使用すると、null の日付は空白として表示されます。 "blankIfNull" 文字列 (文字の大小を区別) は、選択されたフォーマットの値と組み合わせて使います。 例: "systemShort blankIfNull" または "LLLdd日 ee blankIfNull"。 -- [List box columns](listbox-column.md) and [list box footers](listbox-header-footer.md#footers) of type date always use the "blank if null" behavior (it cannot be disengaged). +- 日付型の [リストボックスのカラム](listbox-column.md) および [リストボックスのフッター](listbox-header-footer.md#フッター) は常に "blankIfNull" (null値は空白表示) の振る舞いをします (解除できません)。 ::: #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[コンボボックス](comboBox_overview.md) - [ドロップダウンリスト](dropdownList_Overview.md) - [入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -276,7 +276,12 @@ RB-1762-1 #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) - [Progress Indicators](progressIndicator.md) +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[入力](input_overview.md) - +[リストボックスカラム](listbox-column.md) - +[リストボックスフッター](listbox-header-footer.md#フッター) - +[進捗インジケーター](progressIndicator.md) #### コマンド @@ -340,7 +345,7 @@ RB-1762-1 #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -398,7 +403,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[コンボボックス](comboBox_overview.md) - [ドロップダウンリスト](dropdownList_Overview.md) - [入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -411,7 +416,7 @@ Customized time formats can be built using several patterns described in the [** [ブール式](properties_Object.md#式の型) を次のフォームオブジェクトで表示した場合: - [入力オブジェクト](input_overview.md) にテキストとして -- a ["popup"](properties_Display.md#display-type) in a [list box column](listbox-column.md), +- [リストボックスカラム](listbox-column.md) に表示タイプ ["ポップアップ"](properties_Display.md#表示タイプ) を選択して ... 値の代わりに表示するテキストを指定することができます: @@ -426,7 +431,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) - [Input](input_overview.md) +[リストボックスカラム](listbox-column.md) - [入力](input_overview.md) #### コマンド @@ -450,7 +455,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド @@ -502,7 +507,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[Check box](checkbox_overview.md) - [List Box Column](listbox-column.md) +[チェックボックス](checkbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -527,7 +532,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) --- @@ -564,7 +569,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド @@ -599,7 +604,31 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[4D View Pro area](viewProArea_overview.md) - [4D Write Pro area](writeProArea_overview.md) - [Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Group Box](groupBox.md) - [Hierarchical List](list_overview.md) - [List Box](listbox_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) - [List Box Header](listbox-header-footer.md#headers) - [Picture Button](pictureButton_overview.md) - [Picture Pop-up Menu](picturePopupMenu_overview.md) - [Plug-in Area](pluginArea_overview.md) - [Progress indicator](progressIndicator.md) - [Radio Button](radio_overview.md) - [Spinner](spinner.md) - [Splitter](splitters.md) - [Static Picture](staticPicture.md) - [Stepper](stepper.md) - [Subform](subform_overview.md) - [Tab control](tabControl.md) - [Text Area](text.md) - [Web Area](webArea_overview.md) +[4D View Pro エリア](viewProArea_overview.md) - +[4D Write Pro エリア](writeProArea_overview.md) - +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[コンボボックス](comboBox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[グループボックス](groupBox.md) - +[階層リスト](list_overview.md) - +[リストボックス](listbox_overview.md) - +[リストボックスカラム](listbox-column.md) - +[リストボックスフッター](listbox-header-footer.md#フッター) - +[リストボックスヘッダー](listbox-header-footer.md#ヘッダー) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[プラグインエリア](pluginArea_overview.md) - +[進捗インジケーター](progressIndicator.md) - +[ラジオボタン](radio_overview.md) - +[スピナー](spinner.md) - +[スプリッター](splitters.md) - +[スタティックピクチャー](staticPicture.md) - +[ステッパー](stepper.md) - +[サブフォーム](subform_overview.md) - +[タブコントロール](tabControl.md) - +[テキストエリア](text.md) #### コマンド @@ -658,7 +687,7 @@ Customized time formats can be built using several patterns described in the [** #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) - [List Box Footer](listbox-header-footer.md#footers) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) - [リストボックスフッター](listbox-header-footer.md#フッター) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Entry.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Entry.md index 5b855002a45dda..3180ffc05a3527 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Entry.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Entry.md @@ -73,7 +73,14 @@ title: 入力 #### 対象オブジェクト -[4D Write Pro areas](writeProArea_overview.md) - [Check Box](checkbox_overview.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) - [Progress Bar](progressIndicator.md) - [Ruler](ruler.md) - [Stepper](stepper.md) +[4D Write Pro エリア](writeProArea_overview.md) - +[チェックボックス](checkbox_overview.md) - +[階層リスト](list_overview.md) - +[入力](input_overview.md) - +[リストボックスカラム](listbox-column.md) - +[進捗インジケーター](progressIndicator.md) - +[ルーラー](ruler.md) - +[ステッパー](stepper.md) #### コマンド @@ -135,7 +142,7 @@ title: 入力 #### 対象オブジェクト -[Check Box](checkbox_overview.md) - [Combo Box](comboBox_overview.md) - [Hierarchical List](list_overview.md) - [Input](input_overview.md) - [List Box Column](listbox-column.md) +[チェックボックス](checkbox_overview.md) - [コンボボックス](comboBox_overview.md) - [階層リスト](list_overview.md) - [入力](input_overview.md) - [リストボックスカラム](listbox-column.md) --- diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Footers.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Footers.md index 11e26f264216e3..efb6a284e61391 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Footers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Footers.md @@ -5,7 +5,7 @@ title: フッター ## フッターを表示 -This property is used to display or hide [list box column footers](listbox-header-footer.md#footers). 列ごとに 1つのフッターを表示できます。それぞれのフッターは個別に設定できます。 +このプロパティは、[リストボックスカラムのフッター](listbox-header-footer.md#フッター) の表示/非表示を指定するのに使用されます。 列ごとに 1つのフッターを表示できます。それぞれのフッターは個別に設定できます。 #### JSON 文法 @@ -70,4 +70,4 @@ This property is used to display or hide [list box column footers](listbox-heade #### 参照 -[Headers](properties_Headers.md) - [List box footers](listbox-header-footer.md#footers) +[ヘッダー](properties_Headers.md) - [リストボックスフッター](listbox-header-footer.md#フッター) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Headers.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Headers.md index 376219a5d1613a..fa222619a3bebf 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Headers.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Headers.md @@ -5,7 +5,7 @@ title: ヘッダー ## ヘッダーを表示 -This property is used to display or hide [list box column headers](listbox-header-footer.md#headers). 列ごとに 1つのヘッダーを表示できます。それぞれのヘッダーは個別に設定できます。 +このプロパティは、[リストボックスカラムのヘッダー](listbox-header-footer.md#ヘッダー) の表示/非表示を指定するのに使用されます。 列ごとに 1つのヘッダーを表示できます。それぞれのヘッダーは個別に設定できます。 #### JSON 文法 @@ -70,4 +70,4 @@ This property is used to display or hide [list box column headers](listbox-heade #### 参照 -[Footers](properties_Footers.md) - [List box headers](listbox-header-footer.md#headers) +[フッター](properties_Footers.md) - [リストボックスヘッダー](listbox-header-footer.md#ヘッダー) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Help.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Help.md index 6a338925e47caf..ab853d62e60b9c 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Help.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Help.md @@ -27,7 +27,17 @@ title: ヘルプ #### 対象オブジェクト -[Button](button_overview.md) - [Button Grid](buttonGrid_overview.md) - [Check Box](checkbox_overview.md) - [Drop-down List](dropdownList_Overview.md) - [Combo Box](comboBox_overview.md) - [Hierarchical List](list_overview.md) - [List Box Header](listbox-header-footer.md#headers) - [List Box Footer](listbox-header-footer.md#footers) - [Picture Button](pictureButton_overview.md) - [Picture Pop-up menu](picturePopupMenu_overview.md) - [Radio Button](radio_overview.md) +[ボタン](button_overview.md) - +[ボタングリッド](buttonGrid_overview.md) - +[チェックボックス](checkbox_overview.md) - +[ドロップダウンリスト](dropdownList_Overview.md) - +[コンボボックス](comboBox_overview.md) - +[階層リスト](list_overview.md) - +[リストボックスヘッダー](listbox-header-footer.md#ヘッダー) - +[リストボックスフッター](listbox-header-footer.md#フッター) - +[ピクチャーボタン](pictureButton_overview.md) - +[ピクチャーポップアップメニュー](picturePopupMenu_overview.md) - +[ラジオボタン](radio_overview.md) #### 追加のヘルプ機能 diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_ListBox.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_ListBox.md index 890a833b05f88e..1af5642bff7dc6 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_ListBox.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_ListBox.md @@ -15,7 +15,7 @@ title: リストボックス | ------- | -------------- | --------------------- | | columns | 列オブジェクトのコレクション | リストボックス列のプロパティを格納します。 | -For a list of properties supported by column objects, please refer to the [Column Specific Properties](listbox-column.md#column-specific-properties) section. +カラムオブジェクトに関してサポートされているプロパティの一覧については [カラム特有のプロパティ](listbox-column.md#column-specific-properties) の章を参照してください。 #### 対象オブジェクト diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_ResizingOptions.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_ResizingOptions.md index 71d3f5d27f5b4f..5701d4b136cb4b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_ResizingOptions.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_ResizingOptions.md @@ -142,7 +142,7 @@ title: リサイズオプション #### 対象オブジェクト -[List Box Column](listbox-column.md) +[リストボックスカラム](listbox-column.md) #### コマンド diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Text.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Text.md index 80006a7c69a73d..78e7746760a32b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Text.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Text.md @@ -266,7 +266,7 @@ Choose([Companies]ID;Bold;Plain;Italic;Underline) #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -429,7 +429,7 @@ End if #### 対象オブジェクト -[Input](input_overview.md) - [List Box Column](listbox-column.md) +[入力](input_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -482,7 +482,7 @@ End if #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド @@ -506,7 +506,7 @@ End if #### 対象オブジェクト -[List Box](listbox_overview.md) - [List Box Column](listbox-column.md) +[リストボックス](listbox_overview.md) - [リストボックスカラム](listbox-column.md) #### コマンド diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/ClassClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/ClassClass.md index 7724f9bf50d28a..1774cbcceb4c41 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/ClassClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/ClassClass.md @@ -3,7 +3,7 @@ id: ClassClass title: Class --- -Quando uma classe de usuário é [defined](Concepts/classes.md#class-definition) no projeto, ela é carregada no ambiente de linguagem 4D. Uma classe é um objeto em si mesmo, da classe "Class", que tem propriedades e uma função. +Quando uma classe de usuário é [defined](../Project/code-overview.md#creating-classes) no projeto, ela é carregada no ambiente de linguagem 4D. Uma classe é um objeto em si mesmo, da classe "Class", que tem propriedades e uma função. ### Resumo diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/SessionClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/SessionClass.md index 5e57ee79b8324e..18e86823d388d6 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/SessionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/SessionClass.md @@ -855,7 +855,7 @@ Quando um objeto `Session` é criado, a propriedade `.storage` está vazia. Essa In client/server, the `.storage` object of the remote user session is **not** the same on the server and on the client. -When a remote user session and a web session are [shared using an OTP](../Desktop/sessions.md#sharing-a-desktop-session-for-web-accesses), they also share the same `.storage` object on the server, even if the OTP was [created](#createotp) from the session on the client side. +When a remote user session and a web session are [shared using an OTP](../Desktop/sessions.md#sharing-a-remote-session-for-web-accesses), they also share the same `.storage` object on the server, even if the OTP was [created](#createotp) from the session on the client side. :::tip diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/classes.md b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/classes.md index 8a60fb37a2c527..a72527c2ea7daa 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/classes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/classes.md @@ -67,7 +67,7 @@ As classes disponíveis são acessíveis a partir das suas class stores. Estão
    -O comando `cs` devolve a loja de classes de utilizadores para o projecto ou componente actual. Ele retorna todas as classes de usuários [definidas](#class-definition) no projeto ou componente aberto. Por padrão, apenas as classes [ORDA do projeto](ORDA/ordaClasses.md) estão disponíveis. +O comando `cs` devolve a loja de classes de utilizadores para o projecto ou componente actual. Ele retorna todas as classes de usuários [definidas](../Project/code-overview.md#creating-classes) no projeto ou componente aberto. Por padrão, apenas as classes [ORDA do projeto](ORDA/ordaClasses.md) estão disponíveis. #### Exemplo @@ -928,7 +928,7 @@ The `server` keyword is useless for [ORDA data model functions](../ORDA/ordaClas `server` function parameters and result must be [**streamable**](./dt_object.md#streaming-support). For example, [4D.Datastore](../API/DataStoreClass.md), [File handle](../API/FileHandleClass.md), or [WebServer](../API/WebServerClass.md) are non-streamable classes but [4D.File](../API/FileClass.md) is streamable. -This feature is particularly useful in the context of [remote user sessions](../Desktop/sessions.md#remote-user-sessions), allowing you to implement the business logic in a [session singleton](#shared-or-session-singleton-functions) to share it accross all the processes of the session, thus extending the functionalities of the [`Session`](../commands/session) command. In this case, you might want the relevant business logic to be executed **on the server** so that all the session information is gathered on the server. +This feature is particularly useful in the context of [remote user sessions](../Desktop/sessions.md#remote-user-sessions), allowing you to implement the business logic in a [session singleton](../Concepts/classes.md#session-singleton) to share it accross all the processes of the session, thus extending the functionalities of the [`Session`](../commands/session) command. In this case, you might want the relevant business logic to be executed **on the server** so that all the session information is gathered on the server. By default, shared or session singleton functions are executed locally. Adding the `server` keyword in the class function definition makes 4D use the singleton instance on the server. Note that this can result of an instantiation of the singleton on the server if no instance exists yet. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/methods.md b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/methods.md index aabc9b5a2bc2a1..d0bd1d4a51e54a 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/methods.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/methods.md @@ -13,13 +13,13 @@ O tamanho máximo de um método de projecto é limitado a 2 GB de texto ou 32.00 Na Linguagem 4D, existem várias categorias de métodos. A categoria depende da forma como podem ser chamados: -| Tipo | Contexto de chamada | Aceita parâmetros | Descrição | -| ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **Métodos projeto** | Por demanda, quando chamar ao nome do método projeto (ver [Chamando a métodos projeto](#chamando-metodos-projeto)) | Sim | Pode conter qualquer código para executar ações personalizadas Quando um método projeto for criado, se torna parte parte da linguagem do banco de dados na qual foi criado. | -| **Método objeto (widget)** | Automático, quando um evento envolve a forma a que o método está ligado | Não | Propriedade de um objecto de formulário (também chamado widget) | -| **Método formulário** | Automático, quando um evento envolve o objecto ao qual o método está ligado | Não | Propriedade de um formulário. Pode-se utilizar um método de formulário para gerir dados e objectos, mas é geralmente mais simples e mais eficiente utilizar um método de objecto para estes fins. | -| **Trigger** (o *método tabla*) | Automático, cada vez que manipula os registos de uma tabela (Adicionar, Apagar e Modificar) | Não | Propriedade de uma tabela. Os gatilhos/triggers são métodos que podem prevenir operações "ilegais" com os registos da sua base de dados. | -| **Método base** | Automático, quando ocorre um evento de sessão de trabalho | Sim (pré-definido) | Existem 16 métodos base em 4D. | -| **Class** | Automatically called when an object of the class is instantiated or when a function of the class is executed on an object instance in any other methods or in a [database field](../Develop/field-properties.md#class). | yes (class functions) | A **Class** is used to declare and configure the class [constructor](./classes.md#class-constructor), [properties](./classes.md#property*), and [functions](./classes.md#function) of objects. Veja [**Classes**](classes.md) | +| Tipo | Contexto de chamada | Aceita parâmetros | Descrição | +| ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **Métodos projeto** | On demand, when the project method name [is called](../Project/project-method-properties.md) | Sim | Pode conter qualquer código para executar ações personalizadas Quando um método projeto for criado, se torna parte parte da linguagem do banco de dados na qual foi criado. | +| **Método objeto (widget)** | Automático, quando um evento envolve a forma a que o método está ligado | Não | Propriedade de um objecto de formulário (também chamado widget) | +| **Método formulário** | Automático, quando um evento envolve o objecto ao qual o método está ligado | Não | Propriedade de um formulário. Pode-se utilizar um método de formulário para gerir dados e objectos, mas é geralmente mais simples e mais eficiente utilizar um método de objecto para estes fins. | +| **Trigger** (o *método tabla*) | Automático, cada vez que manipula os registos de uma tabela (Adicionar, Apagar e Modificar) | Não | Propriedade de uma tabela. Os gatilhos/triggers são métodos que podem prevenir operações "ilegais" com os registos da sua base de dados. | +| **Método base** | Automático, quando ocorre um evento de sessão de trabalho | Sim (pré-definido) | Existem 16 métodos base em 4D. | +| **Class** | Automatically called when an object of the class is instantiated or when a function of the class is executed on an object instance in any other methods or in a [database field](../Develop/field-properties.md#class). | yes (class functions) | A **Class** is used to declare and configure the class [constructor](./classes.md#class-constructor), [properties](./classes.md#property), and [functions](./classes.md#function) of objects. Veja [**Classes**](classes.md) | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Desktop/clientServer.md b/i18n/pt/docusaurus-plugin-content-docs/current/Desktop/clientServer.md index 84e98f856380b8..e94638623a4625 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Desktop/clientServer.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Desktop/clientServer.md @@ -131,20 +131,20 @@ In a client/server application, it is important to know where your code will be The following table summarizes where the code is executed by default and how to switch its execution location (if allowed). Note that **local** means that the code will be executed on the machine from where it is actually called. -| Code | Default execution | How to switch | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| [ORDA data model functions](../ORDA/ordaClasses.md) | server | use `local` keyword in function definition | -| ORDA computed attribute functions [`get()`](../ORDA/ordaClasses.md#function-get-attributename), [`set()`](../ORDA/ordaClasses.md#function-set-attributename) | server | use `local` keyword in function definition | -| ORDA computed attribute functions [`query()`](../ORDA/ordaClasses.md#function-query-attributename), [`orderBy()`](../ORDA/ordaClasses.md#function-orderby-attributename) | server | n/a | -| ORDA event functions [(general)](../ORDA/orda-events.md) | server | n/a | -| ORDA event function [`constructor()`](../ORDA/ordaClasses.md#class-constructor-1) | local | n/a | -| ORDA event function [`event touched()`](../ORDA/orda-events.md#function-event-touched) | server | use `local` keyword in function definition | -| [User class functions](../Concepts/classes.md#function) | local | n/a | -| [Shared or session singleton function](../Concepts/classes.md#singleton-classes) | local | use `server` keyword in function definition | -| Trigger | server | n/a | -| Project method called from a client | client | check [**Execute on server** option](../Project/project-method-properties.md#execute-on-server). The code is executed in the twin process of the [user session process](./sessions.md#remote-user-sessions-remote-user-sessions) | -| | | call [`Execute on server`](../commands/execute-on-server) command. The code is executed in the [Stored procedures session](./sessions.md#stored-procedure-sessions-stored-procedure-sessions) | -| Project method called from a stored procedure on the server | server | call [`EXECUTE ON CLIENT`](../commands/execute-on-client) command. The target client must have been [registered](../commands/register-client) | -| Object method | local | n/a | -| Database methods:
    • On Backup Shutdown
    • On Backup Startup
    • On Server Close Connection
    • On Server Open Connection
    • On Server Shutdown
    • On Server Startup
    • On SQL Authentication
    • On Web Authentication
    • On Web Connection
    | server | n/a | -| Database methods:
    • On Startup
    • On Exit
    • On Drop
    | client | n/a | \ No newline at end of file +| Code | Default execution | How to switch | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [ORDA data model functions](../ORDA/ordaClasses.md) | server | use `local` keyword in function definition | +| ORDA computed attribute functions [`get()`](../ORDA/ordaClasses.md#function-get-attributename), [`set()`](../ORDA/ordaClasses.md#function-set-attributename) | server | use `local` keyword in function definition | +| ORDA computed attribute functions [`query()`](../ORDA/ordaClasses.md#function-query-attributename), [`orderBy()`](../ORDA/ordaClasses.md#function-orderby-attributename) | server | n/a | +| ORDA event functions [(general)](../ORDA/orda-events.md) | server | n/a | +| ORDA event function [`constructor()`](../ORDA/ordaClasses.md#class-constructor-1) | local | n/a | +| ORDA event function [`event touched()`](../ORDA/orda-events.md#function-event-touched) | server | use `local` keyword in function definition | +| [User class functions](../Concepts/classes.md#function) | local | n/a | +| [Shared or session singleton function](../Concepts/classes.md#singleton-classes) | local | use `server` keyword in function definition | +| Trigger | server | n/a | +| Project method called from a client | client | check [**Execute on server** option](../Project/project-method-properties.md#execute-on-server). The code is executed in the twin process of the [user session process](./sessions.md#remote-user-sessions) | +| | | call [`Execute on server`](../commands/execute-on-server) command. The code is executed in the [Stored procedures session](./sessions.md#stored-procedure-sessions) | +| Project method called from a stored procedure on the server | server | call [`EXECUTE ON CLIENT`](../commands/execute-on-client) command. The target client must have been [registered](../commands/register-client) | +| Object method | local | n/a | +| Database methods:
    • On Backup Shutdown
    • On Backup Startup
    • On Server Close Connection
    • On Server Open Connection
    • On Server Shutdown
    • On Server Startup
    • On SQL Authentication
    • On Web Authentication
    • On Web Connection
    | server | n/a | +| Database methods:
    • On Startup
    • On Exit
    • On Drop
    | client | n/a | \ No newline at end of file diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Desktop/sessions.md b/i18n/pt/docusaurus-plugin-content-docs/current/Desktop/sessions.md index 5c82bdb20726ff..6151d7e13c968e 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Desktop/sessions.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Desktop/sessions.md @@ -164,7 +164,7 @@ A standalone session is the single-user session running when you work locally wi ### Utilização -The standalone session can be used to develop and test your client/server application and its interaction with web sessions and [OTP sharing](#sharing-a-desktop-session-for-web-accesses). You can use the `session` object in your code in standalone session just as the `session` object of the remote sessions. +The standalone session can be used to develop and test your client/server application and its interaction with web sessions and [OTP sharing](#sharing-a-remote-session-for-web-accesses). You can use the `session` object in your code in standalone session just as the `session` object of the remote sessions. ### Disponibilidade diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Develop/async.md b/i18n/pt/docusaurus-plugin-content-docs/current/Develop/async.md index 240992b1028312..bbba933912d148 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Develop/async.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Develop/async.md @@ -16,17 +16,18 @@ Synchronous execution is used when: - Task execution must follow a strict order. - Performance impact is minimal (e.g., quick operations). - Running in a single-threaded context where blocking is acceptable. -- Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. + +Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. #### Asynchronous Execution -Asynchronous execution is **event-driven** and allows tasks other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. +Asynchronous execution is **event-driven** and allows other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. Asynchronous execution is used when: - An operation takes a long time (e.g., waiting for a server response). - Responsiveness is critical (e.g., UI interactions). -- Performing background tasks, network communication, or parallel processing. +- Background tasks, network communication, or parallel processing are performed. Choosing Between Synchronous and Asynchronous Execution: @@ -87,7 +88,7 @@ In 4D, all objects are released [when no more references](../Concepts/dt_object. For asynchronous classes, an **extra reference** is always maintained by 4D in the process that instantiated the object. This reference is only released when the operation is finished, i.e. after the `onTerminate` event is triggered. This automatic referencing allows your object to survive even if you don't have referenced it specifically in a variable. -If you want to "force" the release of an object at any moment, use a `.shutdown()` or `terminate()` function; it triggers the onTerminate\` event ànd thus releases the object. +If you want to "force" the release of an object at any moment, use a `.shutdown()` or `terminate()` function; it triggers the onTerminate\\` event ànd thus releases the object. ### Examples illustrating the common concept @@ -109,7 +110,7 @@ Several 4D classes support asynchronous processing: - [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. - [`WebSocketServer`](../API/WebSocketServerClass.md) – Manages WebSocket server connections. -All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asychronously when a *reponse* event is fired. +All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. We recommend the following sequence: @@ -171,7 +172,7 @@ var $options.onResponse:=Formula(myMethod) ## Synchronous execution in asynchronous code -Even when using modern, asynchronous code, you may need to introduce a degree of synchronous execution. For example, you may want a function to wait for a certain amount of time to get a result. It could be the case with guaranteed fast network connections or system workers. Then, you can enforce synchronous execution using the `wait()` function. +Even when using modern, asynchronous code, you may need to introduce a degree of synchronous execution. For example, you may want a function to wait for a certain amount of time to get a result. It could be the case with guaranteed fast network connections or system workers. It could be the case with guaranteed fast network connections or system workers. The **`.wait()`** function pauses execution of the current process and puts 4D in [event listening](#event-listening) mode. Keep in mind that it will trigger events received from any sources, not only from the object on which the `wait()` function was called. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Extensions/develop-components.md b/i18n/pt/docusaurus-plugin-content-docs/current/Extensions/develop-components.md index eaa046a76c7e8a..e45b4043096b4c 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Extensions/develop-components.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Extensions/develop-components.md @@ -68,7 +68,7 @@ You can edit a component code as long as the following conditions are met: - the host project is running interpreted, - the component has been [loaded in interpreted mode](../Project/components.md#interpreted-and-compiled-components) and the source code is available, -- the component files are stored locally (i.e. they are not [downloaded from GitHub](../Project/components.md#adding-a-github-dependency)). +- the component files are stored locally (i.e. they are not [downloaded from GitHub](../Project/components.md#adding-a-github-or-gitlab-dependency)). In this context, you can open, edit, and save your component code in the Code editor on the host project from two places: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Extensions/overview.md b/i18n/pt/docusaurus-plugin-content-docs/current/Extensions/overview.md index ca0a3fc936d7f5..090b6856ce76e3 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Extensions/overview.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Extensions/overview.md @@ -18,8 +18,7 @@ The 4D [project architecture](../Project/architecture.md) is open and can be ext 4D proposes various components to the 4D community, covering many development needs. All 4D components can be found on the [**4D github repository**](https://github.com/4d). -A subset of these components is listed by default in the Github panel of the [Dependency Manager](../Project/components.md#adding-a-github-dependency), including: -including: +A subset of these components is listed by default in the Github panel of the [Dependency Manager](../Project/components.md#adding-a-github-or-gitlab-dependency), including: | Componente | Github repository | Descrição | Principais funcionalidades | | --------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md b/i18n/pt/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md index 240ffe5bce0c15..a3ed7f6292f466 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/FormEditor/properties_FormProperties.md @@ -41,7 +41,7 @@ Um ficheiro CSS definido ao nível do formulário substituirá a(s) folha(s) de ## Classe de formulário -Nome de uma [classe usuário](../Concepts/classes.md#class-definition) existente para associar ao formulário. A classe do usuário pode pertencer ao projeto host ou a um [componente](../Extensions/develop-components.md#sharing-of-classes), caso em que a sintaxe formal é "[*componentNameSpace*](../settings/general.md#component-namespace-in-the-class-store).className". +Nome de uma [classe usuário](../Project/code-overview.md#user-classes) existente para associar ao formulário. A classe do usuário pode pertencer ao projeto host ou a um [componente](../Extensions/develop-components.md#sharing-of-classes), caso em que a sintaxe formal é "[*componentNameSpace*](../settings/general.md#component-namespace-in-the-class-store).className". A associação de uma classe ao formulário oferece os seguintes benefícios: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md b/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md index 525c7fbba419af..89c91553460d40 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/ordaClasses.md @@ -28,7 +28,7 @@ Graças a esta caraterística, toda a lógica comercial da sua aplicação 4D po ![](../assets/en/ORDA/api.png) -Além disso, 4D [pré-criações automaticamente](#creating-classes) as classes para cada objeto do modelo de dados disponível. +Além disso, 4D [pré-criações automaticamente](../Project/code-overview.md#creating-classes) as classes para cada objeto do modelo de dados disponível. ## Arquitetura @@ -45,7 +45,7 @@ Todas as classes do modelo de dados ORDA são expostas como propriedades do **`c | cs._DataClassName_Entity | cs. EmployeeEntity | [`dataClass.get()`](API/DataClassClass.md#get), [`dataClass.new()`](API/DataClassClass.md#new), [`entitySelection.first()`](API/EntitySelectionClass.md#first), [`entitySelection.last()`](API/EntitySelectionClass.md#last), [`entity.previous()`](API/EntityClass.md#previous), [`entity.next()`](API/EntityClass.md#next), [`entity.first()`](API/EntityClass.md#first), [`entity.last()`](API/EntityClass.md#last), [`entity.clone()`](API/EntityClass.md#clone) | | cs._DataClassName_Selection | cs. EmployeeSelection | [`dataClass.query()`](API/DataClassClass.md#query), [`entitySelection.query()`](API/EntitySelectionClass.md#query), [`dataClass.all()`](API/DataClassClass.md#all), [`dataClass.fromCollection()`](API/DataClassClass.md#fromcollection), [`dataClass.newSelection()`](API/DataClassClass.md#newselection), [`entitySelection.drop()`](API/EntitySelectionClass.md#drop), [`entity.getSelection()`](API/EntityClass.md#getselection), [`entitySelection.and()`](API/EntitySelectionClass.md#and), [`entitySelection.minus()`](API/EntitySelectionClass.md#minus), [`entitySelection.or()`](API/EntitySelectionClass.md#or), [`entitySelection.orderBy()`](API/EntitySelectionClass.md#or), [`entitySelection.orderByFormula()`](API/EntitySelectionClass.md#orderbyformula), [`entitySelection.slice()`](API/EntitySelectionClass.md#slice), `Create entity selection` | -> As classes de utilizador ORDA são armazenadas como arquivos de classe normais (.4dm) na subpasta Classes do projeto [(ver abaixo)](#class-files). +> ORDA user classes are stored as regular class files (.4dm) in the Classes subfolder of the project. Além disso, as instâncias de objetos das classes de usuárioes do modelo de dados ORDA beneficiam das propriedades e funções dos seus pais: @@ -265,7 +265,7 @@ End if Ao criar ou editar classes de modelo de dados, é necessário preste atenção às seguintes regras: - Como eles são usados para definir nomes automáticos de classe de DataClass nos **cs** [loja de classe](Concepts/classes.md#class-stores), tabelas 4D devem ser nomeadas para evitar qualquer conflito no namespace **cs**. Em particular: - - Não dê o mesmo nome a uma tabela 4D e a um [nome de classe de usuário](../Concepts/classes.md#class-definition). Se isso acontecer, o construtor da classe de utilizador torna-se inutilizável (o compilador emite um aviso). + - Não dê o mesmo nome a uma tabela 4D e a um [nome de classe de usuário](../Project/code-overview.md#creating-classes). Se isso acontecer, o construtor da classe de utilizador torna-se inutilizável (o compilador emite um aviso). - Não use um nome reservado para uma tabela 4D (por exemplo, "DataClass"). - Ao definir uma classe, verifique se a instrução [`class extends`](../Concepts/classes.md#class-extends-classname) corresponde exatamente ao nome da classe pai (lembre-se de que são sensíveis a maiúsculas e minúsculas). Por exemplo, 'Classe amplia EntitySelection' para uma classe de seleção de entidade. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Project/components.md b/i18n/pt/docusaurus-plugin-content-docs/current/Project/components.md index 11864e3d7b963a..a5102477d08187 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Project/components.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Project/components.md @@ -49,7 +49,7 @@ This section describes how to work with components in the **4D** and **4D Server Para carregar um componente no seu projeto 4D, você pode: - copie os arquivos de componentes na pasta [**Components** do seu projeto](architecture.md#components) (as pastas de pacotes de componentes interpretados devem ser sufixadas com ".4dbase", veja acima), -- ou, declarar o componente nas **dependências**. fil\*\* arquivo de seu projeto; isto é feito automaticamente para arquivos locais quando você [**adicionar uma dependência usando a interface do Gerenciador de Dependência**](#adding-a-github-dependency). +- ou, declarar o componente nas **dependências**. fil\*\* arquivo de seu projeto; isto é feito automaticamente para arquivos locais quando você [**adicionar uma dependência usando a interface do Gerenciador de Dependência**](#adding-a-github-or-gitlab-dependency). Os componentes declarados no arquivo **dependencies.json** podem ser armazenados em locais diferentes: @@ -256,7 +256,7 @@ When a release is created in GitHub or GitLab, it is associated to a **tag** and :::note -Se você selecionar a [**Seguir 4D Version**](#defining-a-github-dependency-version-range) regra de dependência, você precisa usar uma [convenção de nome específico para as tags](#naming-conventions-for-4d-version-tags). +Se você selecionar a [**Seguir 4D Version**](#defining-a-dependency-version-range) regra de dependência, você precisa usar uma [convenção de nome específico para as tags](#naming-conventions-for-4d-version-tags). ::: @@ -524,7 +524,7 @@ Once the connection is established, an icon ![dependency-gitlogo](../assets/en/P :::note -If the component is stored on a [private repository](#private-repositories) and your personal token is missing, an error message is displayed and a **Add a personal access token...** button is displayed (see [Providing your access token](#providing-your-access-token)). +If the component is stored on a [private repository](#authentication-and-tokens) and your personal token is missing, an error message is displayed and a **Add a personal access token...** button is displayed (see [Providing your access token](#providing-your-access-token)). ::: @@ -571,7 +571,7 @@ As dependências são verificadas regularmente quanto a atualizações no GitHub :::note -Se você fornecer um [token de acesso](#providing-your-github-access-token), as verificações serão realizadas com mais frequência, pois o GitHub permite uma frequência maior de solicitações aos repositórios. +Se você fornecer um [token de acesso](#providing-your-access-token), as verificações serão realizadas com mais frequência, pois o GitHub permite uma frequência maior de solicitações aos repositórios. ::: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md index 5317d67f6bb774..014689d5f56f27 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ViewPro/getting-started.md @@ -26,11 +26,11 @@ The easiest way to install 4D View Pro in an opened project is to use the Depend 1. Open the [Dependency Manager](../Project/components.md) window. 2. Click on the **+** button to add a component. 3. Click on the **GitHub** tab. -4. Select **4d/4D-ViewPro** in the [default list of components](../Extensions/overview.md) and (recommended) **Follow 4D version** as [Dependency rule](../Project/components.md#defining-a-github-dependency-version-range), then click **Add**. +4. Select **4d/4D-ViewPro** in the [default list of components](../Extensions/overview.md) and (recommended) **Follow 4D version** as [Dependency rule](../Project/components.md#defining-a-dependency-version-range), then click **Add**. ![](../assets/en/ViewPro/install.png) -Once you restart the project, the 4D View Pro component is installed as a [Github dependency](../Project/components.md#adding-a-github-dependency). +Once you restart the project, the 4D View Pro component is installed as a [Github dependency](../Project/components.md#adding-a-github-or-gitlab-dependency). 4D View Pro requires a license. Você precisa ativar essa licença em seu aplicativo para usar seus recursos. Ao usar esse componente sem uma licença, o conteúdo de um objeto que requer um recurso do 4D View Pro não é exibido em tempo de execução; em vez disso, é exibida uma mensagem de erro: diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md b/i18n/pt/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md index 584f25d3818375..2abf9aa191c342 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/code-editor/write-class-method.md @@ -25,16 +25,16 @@ If you are used to coding with **VS Code**, you can also use this editor with 4D Cada janela do Editor de Código possui uma barra de ferramentas que fornece acesso instantâneo a funções básicas relacionadas à execução e edição de código. -| Elemento | Ícone | Descrição | -| -------------------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| **Execução do método** | ![execute-method](../assets/en/code-editor/execute-method.png) | Ao trabalhar com métodos, cada janela do Code Editor tem um botão que pode ser usado para executar o método atual. Usando o menu associado a este botão, você pode escolher o tipo de execução:
    • **Executar novo processo**: Cria um processo e executa o método no modo padrão neste processo.
    • **Executar e depurar novo processo**: Cria um novo processo e exibe o método na janela do Depurador para execução passo a passo neste processo.
    • **Executar no processo do Aplicativo**: Executa o método no modo padrão no contexto do processo do Aplicativo (ou seja, a janela de exibição do registro).
    • **Executar e depurar no processo do Aplicativo**: Exibe o método na janela do Depurador para execução passo a passo no contexto do processo do Aplicativo (ou seja, a janela de exibição do registro).
    Para obter mais informações sobre a execução de métodos, consulte [Chamando Métodos do Projeto](../Concepts/methods.md#calling-project-methods). | -| **Procurar no método** | ![search-icon](../assets/en/code-editor/search.png) | Exibe a área de [\*Pesquisa](#find-and-replace). | -| **Macros** | ![macros-button](../assets/en/code-editor/macros.png) | Insere uma macro na seleção. Clique na seta pendente para visualizar uma lista de macros disponíveis. Para obter mais informações sobre como criar e instanciar macros, consulte [Macros](#macros). | -| **Expandir tudo / Recolher tudo** | ![expand-collapse-button](../assets/en/code-editor/expand-collapse-all.png) | Estes botões permitem expandir ou recolher todas as estruturas de fluxo de controle do código. | -| **Informações sobre o método** | ![method-information-icon](../assets/en/code-editor/method-information.png) | Exibe a caixa de diálogo de [Propriedades do Método](../Project/project-method-properties.md) (apenas métodos de projeto). | -| **Últimos valores da área de transferência** | ![last-clipboard-values-icon](../assets/en/code-editor/last-clipboard-values.png) | Exibe os últimos valores armazenados na área de transferência. | -| **Pranchetas** | ![clipboard icons](../assets/en/code-editor/clipboards.png) | Nove pranchetas disponíveis no editor de código. You can [use these clipboards](#clipboards) by clicking on them directly or by using keyboard shortcuts. Você pode usar uma [opção de Preferências](Preferences/methods.md#options-1) para ocultá-las. | -| **Menu de navegação suspenso** | ![code-navigation-icons](../assets/en/code-editor/tags.png) | Permite navegar dentro de métodos e classes com conteúdo marcado automaticamente ou marcadores declarados manualmente. Ver abaixo | +| Elemento | Ícone | Descrição | +| -------------------------------------------- | --------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **Execução do método** | ![execute-method](../assets/en/code-editor/execute-method.png) | Ao trabalhar com métodos, cada janela do Code Editor tem um botão que pode ser usado para executar o método atual. Using the menu associated with this button, you can choose the type of execution:
    • **Run new process**: Creates a process and runs the method in standard mode in this process.
    • **Run and debug new process**: Creates a new process and displays the method in the Debugger window for step by step execution in this process.
    • **Run in Application process**: Runs the method in standard mode in the context of the Application process (in other words, the record display window).
    • **Run and debug in Application process**: Displays the method in the Debugger window for step by step execution in the context of the Application process (in other words, the record display window).
    For more information on method execution, see [Project Methods](../Project/project-method-properties.md). | +| **Procurar no método** | ![search-icon](../assets/en/code-editor/search.png) | Exibe a área de [\*Pesquisa](#find-and-replace). | +| **Macros** | ![macros-button](../assets/en/code-editor/macros.png) | Insere uma macro na seleção. Clique na seta pendente para visualizar uma lista de macros disponíveis. Para obter mais informações sobre como criar e instanciar macros, consulte [Macros](#macros). | +| **Expandir tudo / Recolher tudo** | ![expand-collapse-button](../assets/en/code-editor/expand-collapse-all.png) | Estes botões permitem expandir ou recolher todas as estruturas de fluxo de controle do código. | +| **Informações sobre o método** | ![method-information-icon](../assets/en/code-editor/method-information.png) | Exibe a caixa de diálogo de [Propriedades do Método](../Project/project-method-properties.md) (apenas métodos de projeto). | +| **Últimos valores da área de transferência** | ![last-clipboard-values-icon](../assets/en/code-editor/last-clipboard-values.png) | Exibe os últimos valores armazenados na área de transferência. | +| **Pranchetas** | ![clipboard icons](../assets/en/code-editor/clipboards.png) | Nove pranchetas disponíveis no editor de código. You can [use these clipboards](#clipboards) by clicking on them directly or by using keyboard shortcuts. Você pode usar uma [opção de Preferências](Preferences/methods.md#options-1) para ocultá-las. | +| **Menu de navegação suspenso** | ![code-navigation-icons](../assets/en/code-editor/tags.png) | Permite navegar dentro de métodos e classes com conteúdo marcado automaticamente ou marcadores declarados manualmente. Ver abaixo | ### Área de edição diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-get.md b/i18n/pt/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-get.md index 9e37622ee0894c..4ab1140e6a1665 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-get.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-get.md @@ -51,7 +51,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por exemplo, pode passar as seguintes cadeias: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Durante as solicitações HTTPS, a autoridade do certificado não é verificada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-request.md b/i18n/pt/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-request.md index ae8a51ac6a10a1..1abc5ac8d251af 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-request.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/language-legacy/HTTP/http-request.md @@ -65,7 +65,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por exemplo, você pode passar as seguintes cadeias: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md index c731d9f8939903..748425b6fc91fa 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/Develop/async.md @@ -16,17 +16,18 @@ Synchronous execution is used when: - Task execution must follow a strict order. - Performance impact is minimal (e.g., quick operations). - Running in a single-threaded context where blocking is acceptable. -- Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. + +Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. #### Asynchronous Execution -Asynchronous execution is **event-driven** and allows tasks other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. +Asynchronous execution is **event-driven** and allows other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. Asynchronous execution is used when: - An operation takes a long time (e.g., waiting for a server response). - Responsiveness is critical (e.g., UI interactions). -- Performing background tasks, network communication, or parallel processing. +- Background tasks, network communication, or parallel processing are performed. Choosing Between Synchronous and Asynchronous Execution: @@ -59,7 +60,7 @@ Each worker (or form window for [`CALL FORM`](../commands-legacy/call-form.md)) ### Bidirectional communication via messages -The calling process posts a message then the worker executes it. The worker can in turn post a message (via [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). This mechanism replaces the classic return of synchronous calls. +The calling process posts a message then the worker executes it. The calling process posts a message then the worker executes it. This mechanism replaces the classic return of synchronous calls. ### Event listening @@ -87,7 +88,7 @@ In 4D, all objects are released [when no more references](../Concepts/dt_object. For asynchronous classes, an **extra reference** is always maintained by 4D in the process that instantiated the object. This reference is only released when the operation is finished, i.e. after the `onTerminate` event is triggered. This automatic referencing allows your object to survive even if you don't have referenced it specifically in a variable. -If you want to "force" the release of an object at any moment, use a `.shutdown()` or `terminate()` function; it triggers the onTerminate\` event ànd thus releases the object. +If you want to "force" the release of an object at any moment, use a `.shutdown()` or `terminate()` function; it triggers the onTerminate\\` event ànd thus releases the object. ### Examples illustrating the common concept @@ -109,7 +110,7 @@ Several 4D classes support asynchronous processing: - [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. - [`WebSocketServer`](../API/WebSocketServerClass.md) – Manages WebSocket server connections. -All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asychronously when a *reponse* event is fired. +All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. We recommend the following sequence: @@ -171,7 +172,7 @@ var $options.onResponse:=Formula(myMethod) ## Synchronous execution in asynchronous code -Even when using modern, asynchronous code, you may need to introduce a degree of synchronous execution. For example, you may want a function to wait for a certain amount of time to get a result. It could be the case with guaranteed fast network connections or system workers. Then, you can enforce synchronous execution using the `wait()` function. +Even when using modern, asynchronous code, you may need to introduce a degree of synchronous execution. For example, you may want a function to wait for a certain amount of time to get a result. It could be the case with guaranteed fast network connections or system workers. It could be the case with guaranteed fast network connections or system workers. The **`.wait()`** function pauses execution of the current process and puts 4D in [event listening](#event-listening) mode. Keep in mind that it will trigger events received from any sources, not only from the object on which the `wait()` function was called. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-get.md b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-get.md index 389615e919c9a0..44d55cc24c733b 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-get.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-get.md @@ -51,7 +51,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por exemplo, pode passar as seguintes cadeias: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Durante as solicitações HTTPS, a autoridade do certificado não é verificada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-request.md b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-request.md index fd76e91f9031f7..5a550bc8dac602 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-request.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/commands-legacy/http-request.md @@ -65,7 +65,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por exemplo, você pode passar as seguintes cadeias: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md b/i18n/pt/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md index 240992b1028312..bbba933912d148 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21-R3/Develop/async.md @@ -16,17 +16,18 @@ Synchronous execution is used when: - Task execution must follow a strict order. - Performance impact is minimal (e.g., quick operations). - Running in a single-threaded context where blocking is acceptable. -- Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. + +Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. #### Asynchronous Execution -Asynchronous execution is **event-driven** and allows tasks other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. +Asynchronous execution is **event-driven** and allows other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. Asynchronous execution is used when: - An operation takes a long time (e.g., waiting for a server response). - Responsiveness is critical (e.g., UI interactions). -- Performing background tasks, network communication, or parallel processing. +- Background tasks, network communication, or parallel processing are performed. Choosing Between Synchronous and Asynchronous Execution: @@ -87,7 +88,7 @@ In 4D, all objects are released [when no more references](../Concepts/dt_object. For asynchronous classes, an **extra reference** is always maintained by 4D in the process that instantiated the object. This reference is only released when the operation is finished, i.e. after the `onTerminate` event is triggered. This automatic referencing allows your object to survive even if you don't have referenced it specifically in a variable. -If you want to "force" the release of an object at any moment, use a `.shutdown()` or `terminate()` function; it triggers the onTerminate\` event ànd thus releases the object. +If you want to "force" the release of an object at any moment, use a `.shutdown()` or `terminate()` function; it triggers the onTerminate\\` event ànd thus releases the object. ### Examples illustrating the common concept @@ -109,7 +110,7 @@ Several 4D classes support asynchronous processing: - [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. - [`WebSocketServer`](../API/WebSocketServerClass.md) – Manages WebSocket server connections. -All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asychronously when a *reponse* event is fired. +All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. We recommend the following sequence: @@ -171,7 +172,7 @@ var $options.onResponse:=Formula(myMethod) ## Synchronous execution in asynchronous code -Even when using modern, asynchronous code, you may need to introduce a degree of synchronous execution. For example, you may want a function to wait for a certain amount of time to get a result. It could be the case with guaranteed fast network connections or system workers. Then, you can enforce synchronous execution using the `wait()` function. +Even when using modern, asynchronous code, you may need to introduce a degree of synchronous execution. For example, you may want a function to wait for a certain amount of time to get a result. It could be the case with guaranteed fast network connections or system workers. It could be the case with guaranteed fast network connections or system workers. The **`.wait()`** function pauses execution of the current process and puts 4D in [event listening](#event-listening) mode. Keep in mind that it will trigger events received from any sources, not only from the object on which the `wait()` function was called. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md b/i18n/pt/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md index 9e37622ee0894c..4ab1140e6a1665 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-get.md @@ -51,7 +51,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por exemplo, pode passar as seguintes cadeias: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Durante as solicitações HTTPS, a autoridade do certificado não é verificada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md b/i18n/pt/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md index ae8a51ac6a10a1..1abc5ac8d251af 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21-R3/language-legacy/HTTP/http-request.md @@ -65,7 +65,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por exemplo, você pode passar as seguintes cadeias: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/Develop/async.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/Develop/async.md index c731d9f8939903..748425b6fc91fa 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21/Develop/async.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/Develop/async.md @@ -16,17 +16,18 @@ Synchronous execution is used when: - Task execution must follow a strict order. - Performance impact is minimal (e.g., quick operations). - Running in a single-threaded context where blocking is acceptable. -- Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. + +Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. #### Asynchronous Execution -Asynchronous execution is **event-driven** and allows tasks other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. +Asynchronous execution is **event-driven** and allows other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. Asynchronous execution is used when: - An operation takes a long time (e.g., waiting for a server response). - Responsiveness is critical (e.g., UI interactions). -- Performing background tasks, network communication, or parallel processing. +- Background tasks, network communication, or parallel processing are performed. Choosing Between Synchronous and Asynchronous Execution: @@ -59,7 +60,7 @@ Each worker (or form window for [`CALL FORM`](../commands-legacy/call-form.md)) ### Bidirectional communication via messages -The calling process posts a message then the worker executes it. The worker can in turn post a message (via [`CALL WORKER`](../commands-legacy/call-worker.md) or [`CALL FORM`](../commands-legacy/call-form.md)) back to the caller or another worker to notify an event (task completion, data received, error, progress, etc.). This mechanism replaces the classic return of synchronous calls. +The calling process posts a message then the worker executes it. The calling process posts a message then the worker executes it. This mechanism replaces the classic return of synchronous calls. ### Event listening @@ -87,7 +88,7 @@ In 4D, all objects are released [when no more references](../Concepts/dt_object. For asynchronous classes, an **extra reference** is always maintained by 4D in the process that instantiated the object. This reference is only released when the operation is finished, i.e. after the `onTerminate` event is triggered. This automatic referencing allows your object to survive even if you don't have referenced it specifically in a variable. -If you want to "force" the release of an object at any moment, use a `.shutdown()` or `terminate()` function; it triggers the onTerminate\` event ànd thus releases the object. +If you want to "force" the release of an object at any moment, use a `.shutdown()` or `terminate()` function; it triggers the onTerminate\\` event ànd thus releases the object. ### Examples illustrating the common concept @@ -109,7 +110,7 @@ Several 4D classes support asynchronous processing: - [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. - [`WebSocketServer`](../API/WebSocketServerClass.md) – Manages WebSocket server connections. -All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asychronously when a *reponse* event is fired. +All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. We recommend the following sequence: @@ -171,7 +172,7 @@ var $options.onResponse:=Formula(myMethod) ## Synchronous execution in asynchronous code -Even when using modern, asynchronous code, you may need to introduce a degree of synchronous execution. For example, you may want a function to wait for a certain amount of time to get a result. It could be the case with guaranteed fast network connections or system workers. Then, you can enforce synchronous execution using the `wait()` function. +Even when using modern, asynchronous code, you may need to introduce a degree of synchronous execution. For example, you may want a function to wait for a certain amount of time to get a result. It could be the case with guaranteed fast network connections or system workers. It could be the case with guaranteed fast network connections or system workers. The **`.wait()`** function pauses execution of the current process and puts 4D in [event listening](#event-listening) mode. Keep in mind that it will trigger events received from any sources, not only from the object on which the `wait()` function was called. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md index d8c821655b8122..27115e76a2d324 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/FormEditor/forms.md @@ -131,4 +131,4 @@ Para interromper a herança de um formulário, selecione `\` na Property L ## Supported Events -[On Activate](../Events/onActivate.md) - [On After Edit](../Events/onAfterEdit.md) - [On After Keystroke](../Events/onAfterKeystroke.md) - [On Before Keystroke](../Events/onBeforeKeystroke.md) - [On Begin Drag Over](../Events/onBeginDragOver.md) - [On Bound Variable Change](../Events/onBoundVariableChange.md) - [On Clicked](../Events/onClicked.md) - [On Close Box](../Events/onCloseBox.md) - [On Close Detail](../Events/onCloseDetail.md) - [On Data Change](../Events/onDataChange.md) - [On Deactivate](../Events/onDeactivate.md) - [On Display Detail](../Events/onDisplayDetail.md) - [On Double Clicked](../Events/onDoubleClicked.md) - [On Drop](../Events/onDrop.md) - [On Header](../Events/onHeader.md) - [On Load](../Events/onLoad.md) - [On Load Record](../Events/onLoadRecord.md) - [On Losing focus](../Events/onLosingFocus.md) - [On Menu Selected](../Events/onMenuSelected.md) - [On Mouse Enter](../Events/onMouseEnter.md) - [On Mouse Leave](../Events/onMouseLeave.md) - [On Mouse Move](../Events/onMouseMove.md) - [On Open Detail](../Events/onOpenDetail.md) - [On Outside Call](../Events/onOutsideCall.md) - [On Page Change](../Events/onPageChange.md) - [On Plug in Area](../Events/onPluginArea.md) - [On Printing Break](../Events/onPrintingBreak.md) - [On Printing Detail](../Events/onPrintingDetail.md) - [On Printing Footer](../Events/onPrintingFooter.md) - [On Resize](../Events/onResize.md) - [On Selection Change](../Events/onSelectionChange.md) - [On Timer](../Events/onTimer.md) - [On Unload](../Events/onUnload.md) - [On Validate](../Events/onValidate.md) \ No newline at end of file +[On Activate](../Events/onActivate.md) - [On After Edit](../Events/onAfterEdit.md) - [On After Keystroke](../Events/onAfterKeystroke.md) - [On Before Keystroke](../Events/onBeforeKeystroke.md) - [On Begin Drag Over](../Events/onBeginDragOver.md) - [On Bound Variable Change](../Events/onBoundVariableChange.md) - [On Clicked](../Events/onClicked.md) - [On Close Box](../Events/onCloseBox.md) - [On Close Detail](../Events/onCloseDetail.md) - [On Data Change](../Events/onDataChange.md) - [On Deactivate](../Events/onDeactivate.md) - [On Display Detail](../Events/onDisplayDetail.md) - [On Double Clicked](../Events/onDoubleClicked.md) - [On Drop](../Events/onDrop.md) - [On Header](../Events/onHeader.md) - [On Load](../Events/onLoad.md) - [On Load Record](../Events/onLoadRecord.md) - [On Losing focus](../Events/onLosingFocus.md) - [On Menu Selected](../Events/onMenuSelected.md) - [On Mouse Enter](../Events/onMouseEnter.md) - [On Mouse Leave](../Events/onMouseLeave.md) - [On Mouse Move](../Events/onMouseMove.md) - [On Open Detail](../Events/onOpenDetail.md) - [On Outside Call](../Events/onOutsideCall.md) - [On Page Change](../Events/onPageChange.md) - [On Plug in Area](../Events/onPlugInArea.md) - [On Printing Break](../Events/onPrintingBreak.md) - [On Printing Detail](../Events/onPrintingDetail.md) - [On Printing Footer](../Events/onPrintingFooter.md) - [On Resize](../Events/onResize.md) - [On Selection Change](../Events/onSelectionChange.md) - [On Timer](../Events/onTimer.md) - [On Unload](../Events/onUnload.md) - [On Validate](../Events/onValidate.md) \ No newline at end of file diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/commands-legacy/http-get.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/commands-legacy/http-get.md index 7de764067ae512..0318d58c994014 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21/commands-legacy/http-get.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/commands-legacy/http-get.md @@ -53,7 +53,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por exemplo, pode passar as seguintes cadeias: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* Durante as solicitações HTTPS, a autoridade do certificado não é verificada. diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/commands-legacy/http-request.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/commands-legacy/http-request.md index dcbd82e0945c80..6df3be50f38d0a 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21/commands-legacy/http-request.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/commands-legacy/http-request.md @@ -67,7 +67,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] Por exemplo, você pode passar as seguintes cadeias: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` diff --git a/src/pages/searchAPI.html.js b/src/pages/searchAPI.html.js index b2f2712be10eee..0e6b41321675bf 100644 --- a/src/pages/searchAPI.html.js +++ b/src/pages/searchAPI.html.js @@ -33,13 +33,11 @@ export default function RedirectAPI() { let versionToGo = "" //Match version - for (let i = 1; i < versions.length; ++i) { - + for (let i = 0; i < versions.length; i++) { const version = versions[i].replace('-',''); if(version === versionWanted) { versionToGo = versions[i] + "/" } - i++; } let commandFile = "" diff --git a/versioned_docs/version-21-R2/Develop/async.md b/versioned_docs/version-21-R2/Develop/async.md index a8964ab09a4a40..108cdf2a34e38c 100644 --- a/versioned_docs/version-21-R2/Develop/async.md +++ b/versioned_docs/version-21-R2/Develop/async.md @@ -15,16 +15,18 @@ Synchronous execution is used when: - Task execution must follow a strict order. - Performance impact is minimal (e.g., quick operations). - Running in a single-threaded context where blocking is acceptable. -- Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. + + +Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. #### Asynchronous Execution -Asynchronous execution is **event-driven** and allows tasks other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. +Asynchronous execution is **event-driven** and allows other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. Asynchronous execution is used when: - An operation takes a long time (e.g., waiting for a server response). - Responsiveness is critical (e.g., UI interactions). -- Performing background tasks, network communication, or parallel processing. +- Background tasks, network communication, or parallel processing are performed. Choosing Between Synchronous and Asynchronous Execution: @@ -110,7 +112,7 @@ Several 4D classes support asynchronous processing: - [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. - [`WebSocketServer`](../API/WebSocketServerClass.md) – Manages WebSocket server connections. -All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asychronously when a *reponse* event is fired. +All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. We recommend the following sequence: diff --git a/versioned_docs/version-21-R2/commands-legacy/http-get.md b/versioned_docs/version-21-R2/commands-legacy/http-get.md index cc0596a9de2bd0..229915e40867bd 100644 --- a/versioned_docs/version-21-R2/commands-legacy/http-get.md +++ b/versioned_docs/version-21-R2/commands-legacy/http-get.md @@ -51,7 +51,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] For example, you can pass the following strings: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* During HTTPS requests, authority of the certificate is not checked. diff --git a/versioned_docs/version-21-R2/commands-legacy/http-request.md b/versioned_docs/version-21-R2/commands-legacy/http-request.md index 31197c2f20e403..d9fb5642bcead1 100644 --- a/versioned_docs/version-21-R2/commands-legacy/http-request.md +++ b/versioned_docs/version-21-R2/commands-legacy/http-request.md @@ -65,7 +65,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] For example, you can pass the following strings: ``` -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* During HTTPS requests, authority of the certificate is not checked. diff --git a/versioned_docs/version-21-R3/Develop/async.md b/versioned_docs/version-21-R3/Develop/async.md index 3b0e4335599517..51cd28f3661a21 100644 --- a/versioned_docs/version-21-R3/Develop/async.md +++ b/versioned_docs/version-21-R3/Develop/async.md @@ -15,16 +15,18 @@ Synchronous execution is used when: - Task execution must follow a strict order. - Performance impact is minimal (e.g., quick operations). - Running in a single-threaded context where blocking is acceptable. -- Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. + + +Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. #### Asynchronous Execution -Asynchronous execution is **event-driven** and allows tasks other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. +Asynchronous execution is **event-driven** and allows other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. Asynchronous execution is used when: - An operation takes a long time (e.g., waiting for a server response). - Responsiveness is critical (e.g., UI interactions). -- Performing background tasks, network communication, or parallel processing. +- Background tasks, network communication, or parallel processing are performed. Choosing Between Synchronous and Asynchronous Execution: @@ -110,7 +112,7 @@ Several 4D classes support asynchronous processing: - [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. - [`WebSocketServer`](../API/WebSocketServerClass.md) – Manages WebSocket server connections. -All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asychronously when a *reponse* event is fired. +All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. We recommend the following sequence: diff --git a/versioned_docs/version-21-R3/language-legacy/HTTP/http-get.md b/versioned_docs/version-21-R3/language-legacy/HTTP/http-get.md index 523060ecb54225..c31157af218400 100644 --- a/versioned_docs/version-21-R3/language-legacy/HTTP/http-get.md +++ b/versioned_docs/version-21-R3/language-legacy/HTTP/http-get.md @@ -5,17 +5,17 @@ slug: /commands/http-get displayed_sidebar: docs --- -**HTTP Get** ( *url* : Text ; *response* : Text, Blob, Picture, Object {; *headerNames* : Text array ; *headerValues* : Text array}{; *} ) : Integer +**HTTP Get** ( *url* : Text ; *response* : Text, Blob, Picture, Object, Collection {; *headerNames* : Text array ; *headerValues* : Text array}{; *} ) : Integer
    | Parameter | Type | | Description | | --- | --- | --- | --- | | url | Text | → | URL to which to send the request | -| response | Text, Blob, Picture, Object | ← | Result of request | +| response | Text, Blob, Picture, Object, Collection | ← | Result of request | | headerNames | Text array | ↔ | *in:* Header names of the request
    *out:* Returned header names | | headerValues | Text array | ↔ | *in:* Header values of the request
    *out:* Returned header values | -| * | Operator | → | If passed, connection is maintained (keep-alive)If omitted, connection is closed automatically | +| * | Operator | → | If passed, connection is maintained (keep-alive)
    If omitted, connection is closed automatically | | Function result | Integer | ← | HTTP status code |
    @@ -51,7 +51,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] For example, you can pass the following strings: ```RAW -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* During HTTPS requests, authority of the certificate is not checked. diff --git a/versioned_docs/version-21-R3/language-legacy/HTTP/http-request.md b/versioned_docs/version-21-R3/language-legacy/HTTP/http-request.md index 0ca2a8888306f6..7e55149773c226 100644 --- a/versioned_docs/version-21-R3/language-legacy/HTTP/http-request.md +++ b/versioned_docs/version-21-R3/language-legacy/HTTP/http-request.md @@ -17,7 +17,7 @@ displayed_sidebar: docs | response | Text, Blob, Picture, Object, Collection | ← | Result of request | | headerNames | Text array | ↔ | *in:* Header names of the request
    *out:* Returned header names | | headerValues | Text array | ↔ | *in:* Header values of the request
    *out:* Returned header values | -| * | Operator | → | If passed, connection is maintained (keep-alive)If omitted, connection is closed automatically | +| * | Operator | → | If passed, connection is maintained (keep-alive)
    If omitted, connection is closed automatically | | Function result | Integer | ← | HTTP status code |
    @@ -65,7 +65,15 @@ http://[{user}:[{password}]@]host[:{port}][/{path}][?{queryString}] For example, you can pass the following strings: ``` -    http://www.myserver.com    http://www.myserver.com/path    http://www.myserver.com/path?name="jones"    https://www.myserver.com/login (*)    http://123.45.67.89:8083    http://john:smith@123.45.67.89:8083    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]    http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) +http://www.myserver.com +http://www.myserver.com/path +http://www.myserver.com/path?name="jones"     +https://www.myserver.com/login (*)    +http://123.45.67.89:8083 +http://john:smith@123.45.67.89:8083 +http://[2001:0db8:0000:0000:0000:ff00:0042:8329] +http://[2001:0db8:0000:0000:0000:ff00:0042:8329]:8080/index.html (**) + ``` *(\*)* During HTTPS requests, authority of the certificate is not checked. diff --git a/versioned_docs/version-21/Develop/async.md b/versioned_docs/version-21/Develop/async.md index a8964ab09a4a40..108cdf2a34e38c 100644 --- a/versioned_docs/version-21/Develop/async.md +++ b/versioned_docs/version-21/Develop/async.md @@ -15,16 +15,18 @@ Synchronous execution is used when: - Task execution must follow a strict order. - Performance impact is minimal (e.g., quick operations). - Running in a single-threaded context where blocking is acceptable. -- Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. + + +Synchronous execution blocks the UI and is best suited for quick, ordered tasks where blocking is acceptable. #### Asynchronous Execution -Asynchronous execution is **event-driven** and allows tasks other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. +Asynchronous execution is **event-driven** and allows other operations to complete. It relies on **callbacks**, **workers**, and **event handlers** to manage execution flow. Asynchronous execution is used when: - An operation takes a long time (e.g., waiting for a server response). - Responsiveness is critical (e.g., UI interactions). -- Performing background tasks, network communication, or parallel processing. +- Background tasks, network communication, or parallel processing are performed. Choosing Between Synchronous and Asynchronous Execution: @@ -110,7 +112,7 @@ Several 4D classes support asynchronous processing: - [`WebSocket`](../API/WebSocketClass.md) – Manages WebSocket client connections. - [`WebSocketServer`](../API/WebSocketServerClass.md) – Manages WebSocket server connections. -All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asychronously when a *reponse* event is fired. +All these classes follow the same rules regarding asynchronous execution. Their constructor accepts an *options* parameter that is used to configure your asynchronous object. It is recommended that the *options* object is a [user class](../Concepts/classes.md) instance which has callback functions. For example, you can create an `onResponse()` function in the class, it will be automatically called asynchronously when a *response* event is fired. We recommend the following sequence: