From 71d458a8e9e95a7ccce7453bba1c61e79320f6b8 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 09:50:35 +0100 Subject: [PATCH 001/107] New translations new-collection.md (Spanish) --- .../current/commands/new-collection.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/new-collection.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/new-collection.md index c682a6048b94a3..cadfde8c493e68 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/new-collection.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/new-collection.md @@ -4,15 +4,18 @@ title: Nueva colección displayed_sidebar: docs --- -**New collection** {( ...*value* : any )} : Collection +**New collection** {( *...value* : any )} : Collection +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---------- | --------------------------- | ------------------------------------------ | | value | any | → | Valor(es) de collection | | Resultado | Collection | ← | Nueva colección | +
## Descripción From 62f9188c3f8f7f55e99b4acb81fe98b3ab1b09b0 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 09:50:37 +0100 Subject: [PATCH 002/107] New translations new-shared-collection.md (Spanish) --- .../current/commands/new-shared-collection.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md b/i18n/es/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md index b8c1db8a280abd..845eb6cb103241 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md @@ -4,15 +4,18 @@ title: New shared collection displayed_sidebar: docs --- -**New shared collection** {( ...*value* : any )} : Collection +**New shared collection** {( *...value* : any )} : Collection +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---------- | --------------------------- | -------------------------------------------------------- | | value | any | → | Valor(es) de la collection compartida | | Resultado | Collection | ← | New shared collection | +
## Descripción From a345b3f60743af9e3bfa837cc302def17b5d16a3 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 09:51:57 +0100 Subject: [PATCH 003/107] New translations wp-reset-attributes.md (Spanish) --- .../current/WritePro/commands/wp-reset-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md index edc93b7e3c5859..08de872b2e0b53 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md @@ -4,7 +4,7 @@ title: WP RESET ATTRIBUTES displayed_sidebar: docs --- -**WP RESET ATTRIBUTES** ( *targetObj* : Object ; ...*attribName* : Text )
**WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; ...*attribName* : Text })
**WP RESET ATTRIBUTES** ( *targetObj* : Object ; *attribColl* : Collection )
**WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *attribColl* : Collection}) +**WP RESET ATTRIBUTES** ( *targetObj* : Object ; *...attribName* : Text )
**WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *...attribName* : Text })
**WP RESET ATTRIBUTES** ( *targetObj* : Object ; *attribColl* : Collection )
**WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *attribColl* : Collection}) From 44eddacd1114959d3a24ba08abbb1abbce3198e5 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 09:52:45 +0100 Subject: [PATCH 004/107] New translations wp-set-attributes.md (Spanish) --- .../current/WritePro/commands/wp-set-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md index f5ec86da3ee5d2..651c2c6b75a62f 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md @@ -4,7 +4,7 @@ title: WP SET ATTRIBUTES displayed_sidebar: docs --- -**WP SET ATTRIBUTES** ( *targetObj* : Object ; ...*attribName* : Text ; ...*attribValue* : any )
**WP SET ATTRIBUTES** ( *targetObj* : Object ; *attribObj* : Object ) +**WP SET ATTRIBUTES** ( *targetObj* : Object ; *...attribName* : Text ; *...attribValue* : any )
**WP SET ATTRIBUTES** ( *targetObj* : Object ; *attribObj* : Object ) From a5d0be3e826abb7e9192f383aa133497389cb9ea Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 09:52:54 +0100 Subject: [PATCH 005/107] New translations wp-table-append-row.md (Spanish) --- .../current/WritePro/commands/wp-table-append-row.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md index c00e6fb4b3b1e7..34a62625e52000 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md @@ -4,7 +4,7 @@ title: WP Table append row displayed_sidebar: docs --- -**WP Table append row** ( *tableRef* : Object ; ...*value* : any ) : Object
**WP Table append row** ( *tableRef* : Object ; *valueColl* : Collection ) : Object +**WP Table append row** ( *tableRef* : Object ; *...value* : any ) : Object
**WP Table append row** ( *tableRef* : Object ; *valueColl* : Collection ) : Object From ab1bdbebddba87898559a00f629945747fdb114f Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 09:56:35 +0100 Subject: [PATCH 006/107] New translations orda-events.md (Spanish) --- .../current/ORDA/orda-events.md | 66 +++++++++---------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/ORDA/orda-events.md b/i18n/es/docusaurus-plugin-content-docs/current/ORDA/orda-events.md index 26dcbd68ea3023..2af1c002667301 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/ORDA/orda-events.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/ORDA/orda-events.md @@ -24,7 +24,7 @@ No se puede activar directamente la ejecución de la función de evento. Los eve :::info Nota de compatibilidad -Los eventos de entidad ORDA en el almacen de datos equivalen a triggers en la base de datos 4D. Sin embargo, las acciones desencadenadas a nivel de la base de datos 4D utilizando los comandos del lenguaje clásico 4D o las acciones estándar no desencadenan eventos ORDA. Note also that, unlike triggers, ORDA entity events do not lock the entire underlying table of a dataclass while saving or dropping entities. Varios eventos pueden ejecutarse en paralelo siempre que afecten a entidades distintas (es decir, registros). +Los eventos de entidad ORDA en el almacen de datos equivalen a triggers en la base de datos 4D. Sin embargo, las acciones desencadenadas a nivel de la base de datos 4D utilizando los comandos del lenguaje clásico 4D o las acciones estándar no desencadenan eventos ORDA. Tenga en cuenta también que, a diferencia de los triggers, los eventos de la entidad ORDA no bloquean toda la tabla subyacente de un dataclass mientras se guardan o se eliminan entidades. Varios eventos pueden ejecutarse en paralelo siempre que afecten a entidades distintas (es decir, registros). ::: @@ -265,7 +265,7 @@ Note over Client:$people.lastname is uppercased Client->>+Server: $people.apply() - Note over Server: The $people entity is received with the lastname attribute uppercased + Nota sobre el servidor: la entidad $people se recibe con el atributo lastname en mayúsculas ``` @@ -285,9 +285,9 @@ sequenceDiagram Note over Server: Function event touched lastname($event : Object)
This.lastname:=Uppercase(This.lastname) - Server-->>-Client: The $people entity is updated + Server-->>-Client: la entidad $people se actualiza - Note over Client:$people.lastname is uppercased + Note over Client:$people.lastname se pone en mayúsculas ``` @@ -298,18 +298,18 @@ sequenceDiagram sequenceDiagram -Qodly page->>+ Server: Get an entity into the People Qodly source +Qodly page->>+ Server: recuperar una entidad en la fuente Qodly People -Qodly page->>+Qodly page: The user updates People.lastname +Qodly page->>+Qodly page: el usuario actualiza People.lastname -Note over Qodly page: The People Qodly source lastname attribute is not uppercased +Nota sobre la página Qodly: el atributo lastname de la fuente Qodly People no está en mayúsculas -Qodly page->>+ Server: Function call People.apply() +Qodly page->>+ Server: llamada de función People.apply() -Note over Server: Function event touched lastname($event : Object)
This.lastname:=Uppercase(This.lastname) +Nota sobre Server: Function event touched lastname($event : Object)
This.lastname:=Uppercase(This.lastname) -Server-->>-Qodly page: The People Qodly source is updated -Note over Qodly page: The People Qodly source lastname attribute is uppercased +Server-->>-Qodly page: la fuente Qodly People es actualizada +Nota sobre Qodly page: el atributo lastname de la fuente Qodly People está en mayúsculas ``` @@ -351,14 +351,14 @@ No se recomienda actualizar la entidad dentro de esta función (utilizando `This En este ejemplo, no se permite guardar un producto con un margen inferior al 50%. En caso de que el atributo precio no sea válido, devuelve un objeto error y, por tanto, detiene la acción de guardar. ```4d -// ProductsEntity class +// Clase ProductsEntity // -// validateSave event at attribute level +// evento validateSave a nivel atributo Function event validateSave margin($event : Object) : Object var $result : Object -//The user can't create a product whose margin is < 50% +//El usuario no puede crear un producto cuyo margen sea < 50% If (This.margin<50) $result:={errCode: 1; message: "The validation of this product failed"; \ extraDescription: {info: "The margin of this product ("+String(This.margin)+") is lower than 50%"}; seriousError: False} @@ -406,8 +406,8 @@ Para detener la acción, el código de la función debe devolver un [objeto erro Cuando se guarda un archivo en el disco, por ejemplo, se capturan errores relacionados con el espacio de disco. ```4d -// ProductsEntity class -// saving event at attribute level +// Clase ProductsEntity +// Evento saver a nivel del atributo Function event saving userManualPath($event : Object) : Object var $result : Object @@ -417,17 +417,17 @@ var $fileCreated : Boolean If (This.userManualPath#"") $userManualFile:=File(This.userManualPath) - // The user manual document file is created on the disk - // This may fail if no more space is available + // El archivo del manual de usuario se crea en el disco + // Esto puede fallar si no hay más espacio disponible Try - // The file content has been generated and stored in a map in Storage.docMap previously + // El contenido del archivo se ha generado y almacenado en un mapa en Storage.docMap anteriormente $docInfo:=Storage.docMap.query("name = :1"; This.name).first() $userManualFile.setContent($docInfo.content) Catch - // No more room on disk for example + // No hay más espacio en disco por ejemplo $result:={/ - errCode: 1; message: "Error during the save action for this product"; / - extraDescription: {info: "There is no available space on disk to store the user manual"}/ + errCode: 1; message: "Error durante la acción de guardar para este producto"; / + extraDescription: {info: "No hay espacio disponible en disco para almacenar el manual de usuario"}/ } End try End if @@ -457,7 +457,7 @@ Este evento es útil después de guardar datos para propagar la acción de guard La función recibe un [objeto *event*](#event-parameter) como parámetro. -- To avoid infinite loops, calling a [`save()`](../API/EntityClass.md#save) on the current entity (through `This`) in this function is **not allowed**. Se producirá un error. +- Para evitar los bucles infinitos, llamar a [`save()`](../API/EntityClass.md#save) en la entidad actual (a través de `This`) en esta función **no está permitido**. Se producirá un error. - Arrojar un [objeto error](#error-object) **no es soportado** por esta función. #### Ejemplo @@ -465,14 +465,14 @@ La función recibe un [objeto *event*](#event-parameter) como parámetro. Si se produce un error en el evento de guardado anterior, el valor del atributo se restablece en consecuencia en el evento `afterSave`: ```4d -// ProductsEntity class -Function event afterSave($event : Object) +// Clase ProductsEntity +Function evento afterSave($event : Object) If (($event.status.success=False) && ($event.status.errors=Null)) - // $event.status.errors is filled if the error comes from the validateSave event + // $event.status.errors se llena si el error proviene del evento validateSave - // The userManualPath attribute has not been properly saved - // Its value is reset + // El atributo userManualPath no se ha guardado correctamente + // Su valor se restablece If ($event.savedAttributes.indexOf("userManualPath")=-1) This.userManualPath:="" This.status:="KO" @@ -502,15 +502,15 @@ Este evento se activa con las siguientes funcionalidades: - [`entity.drop()`](../API/EntityClass.md#drop) - [`entitySelection.drop()`](../API/DataClassClass.md#fromcollection) -- [deletion control rules](https://doc.4d.com/4Dv20/4D/20.2/Relation-properties.300-6750290.en.html#107320) that can be defined at the database structure level. +- [reglas de control de eliminación](https://doc.4d.com/4Dv20/4D/20.2/Relation-properties.300-6750290.en.html#107320) que pueden definirse a nivel de la estructura de la base de datos. -This event is triggered **before** the entity is actually dropped, allowing you to check data consistency and if necessary, to stop the drop action. +Este evento se activa **antes** de que la entidad sea realmente eliminada, permitiéndole comprobar la consistencia de los datos y, si es necesario, detener la acción de eliminación. Para detener la acción, el código de la función debe devolver un [objeto error](#error-object). #### Ejemplo -En este ejemplo, no está permitido eliminar un producto que no esté etiquetado como "TO DELETE". In this case, you return an error object and thus, stop the drop action. +En este ejemplo, no está permitido eliminar un producto que no esté etiquetado como "TO DELETE". En este caso, devuelve un objeto de error y, por lo tanto, detiene la acción de soltar. ```4d // Clase ProductsEntity @@ -549,9 +549,9 @@ Este evento se activa con las siguientes funcionalidades: - [`entity.drop()`](../API/EntityClass.md#drop) - [`entitySelection.drop()`](../API/DataClassClass.md#fromcollection) -- [deletion control rules](https://doc.4d.com/4Dv20/4D/20.2/Relation-properties.300-6750290.en.html#107320) that can be defined at the database structure level. +- [reglas de control de eliminación](https://doc.4d.com/4Dv20/4D/20.2/Relation-properties.300-6750290.en.html#107320) que pueden definirse a nivel de la estructura de la base de datos. -This event is triggered **while** the entity is actually dropped. If a [`validateDrop()`](#function-event-validatedrop) event function was defined, the `dropping()` event function is called if no error was triggered by `validateDrop()`. +Este evento se activa **mientras** la entidad es realmente suprimida. If a [`validateDrop()`](#function-event-validatedrop) event function was defined, the `dropping()` event function is called if no error was triggered by `validateDrop()`. :::note From 04a15fcbac15961e230fa83d4782a8eb92899a97 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 09:57:56 +0100 Subject: [PATCH 007/107] New translations collectionclass.md (Spanish) --- .../version-21/API/CollectionClass.md | 140 +++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md b/i18n/es/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md index 36c4364bd1a55c..5557f2516f9a9a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md @@ -81,11 +81,14 @@ Notas +
+ | Parámetros | Tipo | | Descripción | | ---------- | ------- | :-------------------------: | ------------------------------ | | index | Integer | -> | Índice del elemento a devolver | | Resultado | any | <- | El elemento en ese índice | +
#### Descripción @@ -122,11 +125,14 @@ Lanzamiento +
+ | Parámetros | Tipo | | Descripción | | ------------ | --------------- | :-------------------------: | ---------------------------------------------------------------- | | propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | | Resultado | Real, Undefined | <- | donde: | +
#### Descripción @@ -180,10 +186,13 @@ Si la colección contiene objetos, pasa el parámetro *propertyPath* para indica +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ------------------------------------------- | | Resultado | Collection | <- | Colección original sin elementos eliminados | +
#### Descripción @@ -219,12 +228,15 @@ $vSize:=$col.length //$vSize=0 +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------ | | col2 | Collection | -> | Colección a combinar | | index | Integer | -> | Posición a la que se deben combinar los elementos de inserción en la colección (por defecto=length+1) | | Resultado | Collection | <- | Colección original sin elementos eliminados | +
#### Descripción @@ -268,11 +280,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------------------------------- | | value | any | -> | Valores a concatenar. Si *value* es una colección, todos sus elementos se añaden al final de la colección original. | | Resultado | Collection | <- | Colección original con valores rellenados | +
#### Descripción @@ -313,6 +328,8 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] +
+ | Parámetros | Tipo | | Descripción | | ------------ | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------- | | option | Integer | -> | `ck resolve pointers`: resolver punteros antes de copiar,
`ck shared`: devolver una colección compartida | @@ -320,6 +337,7 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] | groupWithObj | Object | -> | Objeto compartido que se agrupa con la colección resultante | | Resultado | Collection | <- | Colección original ordenada | +
#### Descripción @@ -426,11 +444,14 @@ Mayor que +
+ | Parámetros | Tipo | | Descripción | | ------------ | ---- | :-------------------------: | ---------------------------------------------------------------- | | propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | | Resultado | Real | <- | Primer elemento de la colección | +
#### Descripción @@ -472,12 +493,15 @@ Si la colección contiene objetos, puede pasar el parámetro *propertyPath*. En +
+ | Parámetros | Tipo | | Descripción | | ------------ | ----------------------------------------------- | :-------------------------: | ---------------------------------------------------------------- | | value | Text, Number, Boolean, Date, Object, Collection | -> | Valor a contar | | propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | | Resultado | Real | <- | Valor a contar | +
#### Descripción @@ -549,12 +573,15 @@ El parámetro opcional *propertyPath* permite contar valores dentro de una colec +
+ | Parámetros | Tipo | | Descripción | | ------------ | ---------- | :-------------------------: | ------------------------------------------------------- | | propertyPath | Text | -> | Ruta del atributo cuyos valores distintos desea obtener | | options | Integer | -> | `ck diacritical`, `ck count values` | | Resultado | Collection | <- | Lanzamiento | +
#### Descripción @@ -608,12 +635,15 @@ Ejemplos +
+ | Parámetros | Tipo | | Descripción | | ----------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------- | | collection2 | Collection | -> | Colección a comparar | | option | Integer | -> | `ck diacritical`: evaluación diacrítica ("A" # "a" por ejemplo) | | Resultado | Boolean | <- | Descripción | +
#### Descripción @@ -677,6 +707,8 @@ Una comparación recursiva de colecciones puede llevar mucho tiempo si la colecc +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | --------------------------------------------------------------------- | | startFrom | Integer | -> | Índice para iniciar la prueba en | @@ -685,6 +717,7 @@ Una comparación recursiva de colecciones puede llevar mucho tiempo si la colecc | param | any | -> | Parámetro(s) a pasar a la *formula* o *methodName* | | Resultado | Boolean | <- | Lanzamiento | +
#### Descripción @@ -768,6 +801,8 @@ $b:=$c.every($f;Is real) //$b=false +
+ | Parámetros | Tipo | | Descripción | | ------------ | ---------- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | Ruta de la propiedad del objeto cuyos valores deben ser extraídos a la nueva colección | @@ -775,6 +810,7 @@ $b:=$c.every($f;Is real) //$b=false | option | Integer | -> | `ck keep null`: incluye la propiedad null en la colección devuelta (se ignora por defecto). Parámetro ignorado si se pasa *targetPath*. | | Resultado | Collection | <- | Nueva colección que contiene los valores extraídos | +
#### Descripción @@ -838,6 +874,8 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 +
+ | Parámetros | Tipo | | Descripción | | ---------- | ----------------------------------------------- | :-------------------------: | ----------------------------------------------------------------------------------------- | | value | number, Text, Collection, Object, Date, Boolean | -> | Valor a asignar | @@ -845,6 +883,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 | end | Integer | -> | Índice final (no incluido) | | Resultado | collection | <- | *methodName*, el nombre de un método proyecto (texto). | +
#### Descripción @@ -893,6 +932,8 @@ En caso de incoherencia, se aplican las siguientes reglas: +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | --------------------------------------------------------------------- | | formula | 4D.Function | -> | Objeto fórmula | @@ -900,6 +941,7 @@ En caso de incoherencia, se aplican las siguientes reglas: | param | any | -> | Parámetro(s) a pasar a la *formula* o *methodName* | | Resultado | Collection | <- | donde: | +
#### Descripción @@ -979,6 +1021,8 @@ Quiere filtrar los elementos según su tipo de valor: +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Índice para iniciar la búsqueda en | @@ -987,6 +1031,7 @@ Quiere filtrar los elementos según su tipo de valor: | param | any | -> | Parámetro(s) a pasar a la *formula* o *methodName* | | Resultado | any | <- | La función `.multiSort()` permite realizar una ordenación sincronizada multinivel sobre un conjunto de colecciones. | +
#### Descripción @@ -1067,6 +1112,8 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | --------------------------------------------------------------------- | | startFrom | Integer | -> | Índice para iniciar la búsqueda en | @@ -1075,6 +1122,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 | param | any | -> | Parámetro(s) a pasar a la *formula* o *methodName* | | Resultado | Integer | <- | Índice del primer valor encontrado, o -1 si no se encuentra | +
#### Descripción @@ -1143,10 +1191,13 @@ $val3:=$c.findIndex($val2+1;Formula($1.value.name=$2);"Clanton") //$val3=4 +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Resultado | any | <- | Obtiene los datos coincidentes, admite el comodín (@), no distingue entre mayúsculas de minúsculas ni diacríticas. | +
#### Descripción @@ -1188,11 +1239,14 @@ $first:=$emptyCol.first() // devuelve Undefined +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | depth | Integer | -> | A qué profundidad debe aplanarse una estructura de colección anidada. Por defecto=1 | | Resultado | Collection | <- | *$1.result* (boolean): **true** si *$1.value < $1.value2*, **false** de lo contrario. | +
#### Descripción @@ -1241,6 +1295,8 @@ $col.flat(MAXLONG) +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | --------------------------------------------------------------------- | | formula | 4D.Function | -> | Objeto fórmula | @@ -1248,6 +1304,7 @@ $col.flat(MAXLONG) | param | any | -> | Parámetro(s) a pasar a la *formula* o *methodName* | | Resultado | Collection | <- | Comentario | +
#### Descripción @@ -1333,12 +1390,15 @@ $c2:=$c.flatMap($f; $c.sum()) +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------- | :-------------------------: | ---------------------------------- | | toSearch | expresión | -> | Expresión a buscar en la colección | | startFrom | Integer | -> | Índice para iniciar la búsqueda en | | Resultado | Boolean | <- | Ejemplo 1 | +
#### Descripción @@ -1395,12 +1455,15 @@ Diferente de Si *startFrom* < 0, se considera el desplazamiento desde el final d +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------- | :-------------------------: | ---------------------------------- | | toSearch | expresión | -> | Expresión a buscar en la colección | | startFrom | Integer | -> | Índice para iniciar la búsqueda en | | Resultado | Integer | <- | Descripción | +
#### Descripción @@ -1454,12 +1517,15 @@ Diferente de Si *startFrom* < 0, se considera el desplazamiento desde el final d +
+ | Parámetros | Tipo | | Descripción | | ----------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------- | | queryString | Text | -> | Criterio de búsqueda | | value | any | -> | Valor(es) a comparar cuando se utiliza(n) marcador(es) de posición | | Resultado | Collection | <- | Ejemplo 3 | +
#### Descripción @@ -1509,12 +1575,15 @@ Los elementos se ordenan de forma descendente +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------ | | index | Integer | -> | Dónde insertar el elemento | | element | any | -> | Elemento a insertar en la colección | | Resultado | Collection | <- | Con el siguiente método ***Flatten***: | +
#### Descripción @@ -1561,12 +1630,15 @@ Se puede insertar cualquier tipo de elemento aceptado por una colección, inclus +
+ | Parámetros | Tipo | | Descripción | | ---------- | ------- | :-------------------------: | ------------------------------------ | | delimiter | Text | -> | Separador a utilizar entre elementos | | option | Integer | -> | Conjunción | | Resultado | Text | <- | Ejemplo 3 | +
#### Descripción @@ -1605,10 +1677,13 @@ Por defecto, los elementos nulos o vacíos de la colección se devuelven en la c +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---- | :-------------------------: | ------------------------------------------------------------------------------------------------ | | Resultado | any | <- | Si el valor calculado < 0, *startFrom* toma el valor 0. | +
#### Descripción @@ -1643,12 +1718,15 @@ Propiedad +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------- | :-------------------------: | ----------------------------------------------------- | | toSearch | expresión | -> | El elemento que se va a buscar dentro de la colección | | startFrom | Integer | -> | Índice para iniciar la búsqueda en | | Resultado | Integer | <- | Descripción | +
#### Descripción @@ -1732,6 +1810,8 @@ Tipo +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objeto fórmula | @@ -1739,6 +1819,7 @@ Tipo | param | any | -> | Parámetro(s) a pasar a la *formula* o *methodName* | | Resultado | Collection | <- | `.pop()`, utilizado junto con [`.push()`](#push), puede utilizarse para implementar una funcionalidad primera entrada última salida de tratamiento de datos apilados: | +
#### Descripción @@ -1792,11 +1873,14 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) +
+ | Parámetros | Tipo | | Descripción | | ------------ | ----------------------------------------------- | :-------------------------: | ------------------------------------------------------------------- | | propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para la evaluación | | Resultado | Boolean, Text, Number, Collection, Object, Date | <- | Comentario | +
#### Descripción @@ -1842,11 +1926,14 @@ Lanzamiento +
+ | Parámetros | Tipo | | Descripción | | ------------ | ----------------------------------------------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para la evaluación | | Resultado | Boolean, Text, Number, Collection, Object, Date | <- | *formula* (sintaxis recomendada), un [objeto Fórmula](FunctionClass.md) que puede encapsular toda expresión ejecutable, incluyendo funciones y métodos proyecto; | +
#### Descripción @@ -1892,12 +1979,15 @@ Lanzamiento +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | ------------------ | | formula | 4D.Function | -> | Objeto fórmula | | colsToSort | Collection | -> | Ejemplo 2 | | Resultado | Collection | <- | La nueva colección | +
#### Descripción @@ -2028,6 +2118,8 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) +
+ | Parámetros | Tipo | | Descripción | | ----------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------ | | pathStrings | Text | -> | Ruta(s) de propiedad(es) a utilizar para ordenar la colección | @@ -2035,6 +2127,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) | ascOrDesc | Integer | -> | Ejemplo 1 | | Resultado | Collection | <- | Constantes **null**: utilizando la palabra clave "null" se encontrarán las propiedades **null** y **undefined**. | +
#### Descripción @@ -2165,10 +2258,12 @@ Ordenar con una ruta de propiedad: -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
**.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
**.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objeto fórmula | @@ -2176,6 +2271,7 @@ Ordenar con una ruta de propiedad: | extraParam | any | -> | Parámetro(s) a pasar | | Resultado | Collection | <- | \|startFrom \|Integer \|->\|Índice para comenzar la prueba\| \|formula\|4D.Function\|->\|Objeto fórmula\| \|methodName\|Text\|->\|Nombre de un método\| \|param \|any \|->\|Parámetro(s) a pasar\| \|Result\|Boolean\|<-\|True si al menos un elemento pasa exitosamente la prueba\| | +
#### Descripción @@ -2271,10 +2367,13 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---- | :-------------------------: | ------------------------------------------------------------------------------------------------ | | Resultado | any | <- | Si el valor calculado < 0, *startFrom* toma el valor 0. | +
#### Descripción @@ -2311,11 +2410,14 @@ Lanzamiento +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------ | | element | any | -> | Elemento(s) a añadir a la colección | | Resultado | Collection | <- | Colección que contiene los elementos añadidos | +
#### Descripción @@ -2366,6 +2468,8 @@ Desea ordenar la colección resultante: +
+ | Parámetros | Tipo | | Descripción | | ------------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------- | | queryString | Text | -> | Criterio de búsqueda | @@ -2373,6 +2477,7 @@ Desea ordenar la colección resultante: | querySettings | Object | -> | Opciones de búsqueda: parámetros, atributos | | Resultado | Collection | <- | Descripción | +
#### Descripción @@ -2644,6 +2749,8 @@ Descripción Descripción Sin embargo, ten en cuenta que las fórmulas no están +
+ | Parámetros | Tipo | | Descripción | | ---------- | ----------------------------------------------- | :-------------------------: | --------------------------------------------- | | formula | 4D.Function | -> | Objeto fórmula | @@ -2652,6 +2759,7 @@ Descripción Descripción Sin embargo, ten en cuenta que las fórmulas no están | param | expresión | -> | Parámetro(s) a pasar | | Resultado | Text, Number, Object, Collection, Date, Boolean | <- | donde: | +
#### Descripción @@ -2729,6 +2837,8 @@ Con el siguiente método ***Flatten***: +
+ | Parámetros | Tipo | | Descripción | | ---------- | ----------------------------------------------- | :-------------------------: | --------------------------------------------- | | formula | 4D.Function | -> | Objeto fórmula | @@ -2737,6 +2847,7 @@ Con el siguiente método ***Flatten***: | param | expresión | -> | Parámetro(s) a pasar | | Resultado | Text, Number, Object, Collection, Date, Boolean | <- | donde: | +
#### Descripción @@ -2809,12 +2920,15 @@ Ejemplo 4 +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | -------------------------------------------------------- | | index | Integer | -> | Elemento en el que se inicia la eliminación | | howMany | Integer | -> | Número de elementos a eliminar, o 1 elemento si se omite | | Resultado | Collection | <- | O | +
#### Descripción @@ -2864,12 +2978,15 @@ Si se intenta eliminar un elemento de una colección vacía, el método no hace +
+ | Parámetros | Tipo | | Descripción | | ------------ | ----------------------------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------- | | size | Integer | -> | Nuevo tamaño de la colección | | defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | Valor por defecto para llenar nuevos elementos | | Resultado | Collection | <- | o *methodName*, el nombre de un método proyecto (texto). | +
#### Descripción @@ -2919,10 +3036,13 @@ Por defecto, los nuevos elementos se llenan con valores **null**. Puede especifi +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Resultado | Collection | <- | (obligatorio si se ha utilizado un método) *$1.result* (booleano): **true** si la evaluación del valor del elemento tiene éxito, **false** en caso contrario. | +
#### Descripción @@ -2957,10 +3077,13 @@ La función `.reverse()` devuelve una +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Resultado | any | <- | Obtiene los datos coincidentes, admite el comodín (@), no distingue entre mayúsculas de minúsculas ni diacríticas. | +
#### Descripción @@ -3000,12 +3123,15 @@ Si la colección está vacía, este método no hace nada. +
+ | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ---------------------------------------------- | | startFrom | Integer | -> | Índice de inicio (incluido) | | end | Integer | -> | Índice final (no incluido) | | Resultado | Collection | <- | Resultado | +
#### Descripción @@ -3051,6 +3177,8 @@ La colección devuelta contiene el elemento especificado por *startFrom* y todos +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | ------------------------------------------------------------ | | startFrom | Integer | -> | Índice para iniciar la prueba en | @@ -3059,6 +3187,7 @@ La colección devuelta contiene el elemento especificado por *startFrom* y todos | param | any | -> | Parámetro(s) a pasar | | Resultado | Boolean | <- | True si al menos un elemento ha superado la prueba con éxito | +
#### Descripción @@ -3131,6 +3260,8 @@ Soporte de fórmula +
+ | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | --------------------- | | ascOrDesc | Integer | -> | Ejemplo 1 | @@ -3139,6 +3270,7 @@ Soporte de fórmula | extraParam | any | -> | Parámetros del método | | Resultado | Collection | <- | La nueva colección | +
#### Descripción @@ -3224,11 +3356,14 @@ $col3:=$col.sort(Formula(String($1.value) +
+ | Parámetros | Tipo | | Descripción | | ------------ | ---- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | | Resultado | Real | <- | `.pop()`, utilizado junto con [`.push()`](#push), puede utilizarse para implementar una funcionalidad primera entrada última salida de tratamiento de datos apilados: | +
#### Descripción @@ -3284,12 +3419,15 @@ Esta función no modifica la colección original. +
+ | Parámetros | Tipo | | Descripción | | ---------- | -------------------------------------- | :-------------------------: | -------------------------------------------------------------------- | | value | Text, Number, Object, Collection, Date | -> | Valor(es) a insertar al principio de la colección | | Resultado | Collection | <- | Colección que contiene los elementos añadidos | | | | | | +
#### Descripción From 48b275efdc1dacaa93f348f2ebb78cf642e4aa1c Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 09:58:22 +0100 Subject: [PATCH 008/107] New translations functionclass.md (Spanish) --- .../version-21/API/FunctionClass.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md b/i18n/es/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md index 73b3e1d9e11a62..978217c85461e0 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md @@ -112,12 +112,15 @@ Los parámetros se reciben en el método, en el orden en que se especifican en l +
+ | Parámetros | Tipo | | Descripción | | ------------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------- | | thisObj | Object | -> | Objeto a devolver por el comando This en la fórmula | | formulaParams | Collection | -> | Colección de valores que se pasan como $1...$n cuando se ejecuta `formula` | | Resultado | any | <- | Valor obtenido de la ejecución de la fórmula | +
#### Descripción @@ -168,16 +171,19 @@ Tenga en cuenta que `.apply()` es similar a [`.call()`](#call) excepto que los p -**.call**() : any
**.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
**.call**( *thisObj* : Object { ; *...params* : any } ) : any +
+ | Parámetros | Tipo | | Descripción | | ---------- | ------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | thisObj | Object | -> | Objeto a devolver por el comando This en la fórmula | | params | any | -> | Valor(es) que se pasa(n) como $1...$n cuando se ejecuta la fórmula | | Resultado | any | <- | Valor obtenido de la ejecución de la fórmula | +
#### Descripción From df9eba1d97066373c1500636fd77ab99e27cd2d1 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 10:00:28 +0100 Subject: [PATCH 009/107] New translations onafteredit.md (Spanish) --- .../version-21/Events/onAfterEdit.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/Events/onAfterEdit.md b/i18n/es/docusaurus-plugin-content-docs/version-21/Events/onAfterEdit.md index 122a0395c08180..e0362097b3a498 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/Events/onAfterEdit.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/Events/onAfterEdit.md @@ -62,11 +62,11 @@ En función del valor de la propiedad `action`, el [objeto evento](overview.md#e #### action = DragFillBlock -| Propiedad | Tipo | Descripción | -| ------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| fillRange | object | Gama utilizada para el relleno | -| autoFillType | entero largo | Valor utilizado para el relleno.
  • 0: Cells are filled with all data (values, formatting, and formulas)
  • 1: Cells are filled with automatically sequential data
  • 2: Cells are filled with formatting only
  • 3: Cells are filled with values but not formatting
  • 4: Values are removed from the cells
  • 5: Cells are filled automatically
  • | -| fillDirection | entero largo | Dirección del relleno.
  • 0: The cells to the left are filled
  • 1: The cells to the right are filled
  • 2: The cells above are filled
  • 3: The cells below are filled
  • | +| Propiedad | Tipo | Descripción | +| ------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| fillRange | object | Gama utilizada para el relleno | +| autoFillType | entero largo | Valor utilizado para el relleno.
  • 0: las celdas se llenan con todos los datos (valores, formato y fórmulas)
  • 1: las celdas se llenan con datos secuenciales automáticamente
  • 2: las celdas se llenan solo con formato
  • 3: las celdas se llenan con valores pero no con formato
  • 4: los valores se eliminan de las celdas
  • 5: las celdas se llenan automáticamente
  • | +| fillDirection | entero largo | Dirección del relleno.
  • 0: Las celdas a la izquierda se llenan
  • 1: las celdas a la derecha se llenan
  • 2: las celdas de arriba se llenan
  • 3: las celdas de abajo se llenan
  • | #### action = formulaChanged From 228b4750973c9ebe8702c93362ea38fe7a115f0c Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 10:14:52 +0100 Subject: [PATCH 010/107] New translations orda-events.md (Spanish) --- .../version-21/ORDA/orda-events.md | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/ORDA/orda-events.md b/i18n/es/docusaurus-plugin-content-docs/version-21/ORDA/orda-events.md index 7c351a9fa89256..109c8564e05e85 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/ORDA/orda-events.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/ORDA/orda-events.md @@ -298,18 +298,18 @@ sequenceDiagram sequenceDiagram -Qodly page->>+ Server: Get an entity into the People Qodly source +Qodly page->>+ Server: recuperar una entidad en la fuente Qodly People -Qodly page->>+Qodly page: The user updates People.lastname +Qodly page->>+Qodly page: el usuario actualiza People.lastname -Note over Qodly page: The People Qodly source lastname attribute is not uppercased +Nota sobre la página Qodly: el atributo lastname de la fuente Qodly People no está en mayúsculas -Qodly page->>+ Server: Function call People.apply() +Qodly page->>+ Server: llamada de función People.apply() -Note over Server: Function event touched lastname($event : Object)
    This.lastname:=Uppercase(This.lastname) +Nota sobre Server: Function event touched lastname($event : Object)
    This.lastname:=Uppercase(This.lastname) -Server-->>-Qodly page: The People Qodly source is updated -Note over Qodly page: The People Qodly source lastname attribute is uppercased +Server-->>-Qodly page: la fuente Qodly People es actualizada +Nota sobre Qodly page: el atributo lastname de la fuente Qodly People está en mayúsculas ``` @@ -351,14 +351,14 @@ No se recomienda actualizar la entidad dentro de esta función (utilizando `This En este ejemplo, no se permite guardar un producto con un margen inferior al 50%. En caso de que el atributo precio no sea válido, devuelve un objeto error y, por tanto, detiene la acción de guardar. ```4d -// ProductsEntity class +// Clase ProductsEntity // -// validateSave event at attribute level +// evento validateSave a nivel atributo Function event validateSave margin($event : Object) : Object var $result : Object -//The user can't create a product whose margin is < 50% +//El usuario no puede crear un producto cuyo margen sea < 50% If (This.margin<50) $result:={errCode: 1; message: "The validation of this product failed"; \ extraDescription: {info: "The margin of this product ("+String(This.margin)+") is lower than 50%"}; seriousError: False} @@ -406,8 +406,8 @@ Para detener la acción, el código de la función debe devolver un [objeto erro Cuando se guarda un archivo en el disco, por ejemplo, se capturan errores relacionados con el espacio de disco. ```4d -// ProductsEntity class -// saving event at attribute level +// Clase ProductsEntity +// Evento saver a nivel del atributo Function event saving userManualPath($event : Object) : Object var $result : Object @@ -417,17 +417,17 @@ var $fileCreated : Boolean If (This.userManualPath#"") $userManualFile:=File(This.userManualPath) - // The user manual document file is created on the disk - // This may fail if no more space is available + // El archivo del manual de usuario se crea en el disco + // Esto puede fallar si no hay más espacio disponible Try - // The file content has been generated and stored in a map in Storage.docMap previously + // El contenido del archivo se ha generado y almacenado en un mapa en Storage.docMap anteriormente $docInfo:=Storage.docMap.query("name = :1"; This.name).first() $userManualFile.setContent($docInfo.content) Catch - // No more room on disk for example + // No hay más espacio en disco por ejemplo $result:={/ - errCode: 1; message: "Error during the save action for this product"; / - extraDescription: {info: "There is no available space on disk to store the user manual"}/ + errCode: 1; message: "Error durante la acción de guardar para este producto"; / + extraDescription: {info: "No hay espacio disponible en disco para almacenar el manual de usuario"}/ } End try End if @@ -457,7 +457,7 @@ Este evento es útil después de guardar datos para propagar la acción de guard La función recibe un [objeto *event*](#event-parameter) como parámetro. -- To avoid infinite loops, calling a [`save()`](../API/EntityClass.md#save) on the current entity (through `This`) in this function is **not allowed**. Se producirá un error. +- Para evitar los bucles infinitos, llamar a [`save()`](../API/EntityClass.md#save) en la entidad actual (a través de `This`) en esta función **no está permitido**. Se producirá un error. - Arrojar un [objeto error](#error-object) **no es soportado** por esta función. #### Ejemplo @@ -465,14 +465,14 @@ La función recibe un [objeto *event*](#event-parameter) como parámetro. Si se produce un error en el evento de guardado anterior, el valor del atributo se restablece en consecuencia en el evento `afterSave`: ```4d -// ProductsEntity class -Function event afterSave($event : Object) +// Clase ProductsEntity +Function evento afterSave($event : Object) If (($event.status.success=False) && ($event.status.errors=Null)) - // $event.status.errors is filled if the error comes from the validateSave event + // $event.status.errors se llena si el error proviene del evento validateSave - // The userManualPath attribute has not been properly saved - // Its value is reset + // El atributo userManualPath no se ha guardado correctamente + // Su valor se restablece If ($event.savedAttributes.indexOf("userManualPath")=-1) This.userManualPath:="" This.status:="KO" @@ -502,7 +502,7 @@ Este evento se activa con las siguientes funcionalidades: - [`entity.drop()`](../API/EntityClass.md#drop) - [`entitySelection.drop()`](../API/DataClassClass.md#fromcollection) -- [deletion control rules](https://doc.4d.com/4Dv20/4D/20.2/Relation-properties.300-6750290.en.html#107320) that can be defined at the database structure level. +- [reglas de control de eliminación](https://doc.4d.com/4Dv20/4D/20.2/Relation-properties.300-6750290.en.html#107320) que pueden definirse a nivel de la estructura de la base de datos. Este evento se activa **antes** de que la entidad sea realmente eliminada, permitiéndole comprobar la consistencia de los datos y, si es necesario, detener la acción de eliminación. @@ -510,7 +510,7 @@ Para detener la acción, el código de la función debe devolver un [objeto erro #### Ejemplo -En este ejemplo, no está permitido eliminar un producto que no esté etiquetado como "TO DELETE". In this case, you return an error object and thus, stop the drop action. +En este ejemplo, no está permitido eliminar un producto que no esté etiquetado como "TO DELETE". En este caso, devuelve un objeto de error y, por lo tanto, detiene la acción de soltar. ```4d // Clase ProductsEntity @@ -549,9 +549,9 @@ Este evento se activa con las siguientes funcionalidades: - [`entity.drop()`](../API/EntityClass.md#drop) - [`entitySelection.drop()`](../API/DataClassClass.md#fromcollection) -- [deletion control rules](https://doc.4d.com/4Dv20/4D/20.2/Relation-properties.300-6750290.en.html#107320) that can be defined at the database structure level. +- [reglas de control de eliminación](https://doc.4d.com/4Dv20/4D/20.2/Relation-properties.300-6750290.en.html#107320) que pueden definirse a nivel de la estructura de la base de datos. -This event is triggered **while** the entity is actually dropped. If a [`validateDrop()`](#function-event-validatedrop) event function was defined, the `dropping()` event function is called if no error was triggered by `validateDrop()`. +Este evento se activa **mientras** la entidad es realmente suprimida. If a [`validateDrop()`](#function-event-validatedrop) event function was defined, the `dropping()` event function is called if no error was triggered by `validateDrop()`. :::note From f02f4c3242024a86ae0a62d86d2be14217998a3e Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 10:19:50 +0100 Subject: [PATCH 011/107] New translations managing-formulas.md (Spanish) --- .../version-21/WritePro/managing-formulas.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/WritePro/managing-formulas.md b/i18n/es/docusaurus-plugin-content-docs/version-21/WritePro/managing-formulas.md index b9ed80777eca59..3847a9239bba7c 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/WritePro/managing-formulas.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/WritePro/managing-formulas.md @@ -95,17 +95,17 @@ Por ejemplo, para insertar el número de página en el pie de página: Cuando se utiliza en una fórmula dentro de la tabla, la palabra clave **This** da acceso a diferentes datos según el contexto: -| **Contexto** | **Expression** | **Tipo** | **Devuelve** | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| En cualquier sitio | [This](../commands/this.md).table | Object | Tabla actual | -| | [This](../commands/this.md).row | Object | Current table row element | -| | [This](../commands/this.md).rowIndex | Number | Índice de la línea actual, a partir de 1 | -| Cuando se ha definido una fuente de datos para la tabla | [This](../commands/this.md).table.dataSource | Objet (fórmula) | Fuente de datos como fórmula | -| | [This](../commands/this.md).tableData | Collection o Entity selection (por lo general) | table.dataSource evaluada | -| En cada fila de datos cuando una fuente de datos tabla devuelve una colección o una selección de entidades | [This](../commands/this.md).item.xxx | Cualquiera | Asignado a cada elemento de la colección de fuentes de datos de la tabla o selección de entidades, por ejemplo **This.item.firstName** si la entidad asociada tiene el atributo *firstName* | -| | [This](../commands/this.md).itemIndex | Number | Índice del elemento actual en la colección o selección de entidades, a partir de 0 | -| En cualquier línea (excepto en las líneas de encabezado) cuando una fuente de datos tabla devuelve una colección o una selección de entidades | [This](../commands/this.md).previousItems | Collection o entity selection | Items displayed on the pages before the bottom carry over row (if any) or before the row of the expression, including the page where is displayed the row containing the expression.
    Esta expresión devuelve el mismo tipo de valor que la expresión **This.tableData**. | -| In a break row | [This](../commands/this.md).breakItems | Collection o entity selection | Items of the collection or entity selection displayed in the rows between:
    • the current break row and the previous break row of the same level (or the start of the table) if the break row(s) are displayed after the data row.
    • the current break and the next break row of the same level (or the end of the table) if the break row(s) are displayed before the data row.
    | +| **Contexto** | **Expression** | **Tipo** | **Devuelve** | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| En cualquier sitio | [This](../commands/this.md).table | Object | Tabla actual | +| | [This](../commands/this.md).row | Object | Current table row element | +| | [This](../commands/this.md).rowIndex | Number | Índice de la línea actual, a partir de 1 | +| Cuando se ha definido una fuente de datos para la tabla | [This](../commands/this.md).table.dataSource | Objet (fórmula) | Fuente de datos como fórmula | +| | [This](../commands/this.md).tableData | Collection o Entity selection (por lo general) | table.dataSource evaluada | +| En cada fila de datos cuando una fuente de datos tabla devuelve una colección o una selección de entidades | [This](../commands/this.md).item.xxx | Cualquiera | Asignado a cada elemento de la colección de fuentes de datos de la tabla o selección de entidades, por ejemplo **This.item.firstName** si la entidad asociada tiene el atributo *firstName* | +| | [This](../commands/this.md).itemIndex | Number | Índice del elemento actual en la colección o selección de entidades, a partir de 0 | +| En cualquier línea (excepto en las líneas de encabezado) cuando una fuente de datos tabla devuelve una colección o una selección de entidades | [This](../commands/this.md).previousItems | Collection o entity selection | Items displayed on the pages before the bottom carry over row (if any) or before the row of the expression, including the page where is displayed the row containing the expression.
    Esta expresión devuelve el mismo tipo de valor que la expresión **This.tableData**. | +| In a break row | [This](../commands/this.md).breakItems | Collection o entity selection | Items of the collection or entity selection displayed in the rows between:
    • the current break row and the previous break row of the same level (or the start of the table) if the break row(s) are displayed after the data row.
    • la línea de ruptura actual y la siguiente del mismo nivel (o el final de la tabla) si la línea o líneas de ruptura se muestran antes de la línea de datos.
    | En cualquier otro contexto, estas expresiones devolverán *undefined*. From a42a26c11be06a450bf7103aca8815ae9d7473cd Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 10:28:31 +0100 Subject: [PATCH 012/107] New translations collectionclass.md (Spanish) --- .../version-21-R2/API/CollectionClass.md | 140 +++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md index f58397404ba0ff..e48fb4408f5c1d 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md @@ -81,11 +81,14 @@ Notas +
    + | Parámetros | Tipo | | Descripción | | ---------- | ------- | :-------------------------: | ------------------------------ | | index | Integer | -> | Índice del elemento a devolver | | Resultado | any | <- | El elemento en ese índice | +
    #### Descripción @@ -122,11 +125,14 @@ Lanzamiento +
    + | Parámetros | Tipo | | Descripción | | ------------ | --------------- | :-------------------------: | ---------------------------------------------------------------- | | propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | | Resultado | Real, Undefined | <- | donde: | +
    #### Descripción @@ -180,10 +186,13 @@ Si la colección contiene objetos, pasa el parámetro *propertyPath* para indica +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ------------------------------------------- | | Resultado | Collection | <- | Colección original sin elementos eliminados | +
    #### Descripción @@ -219,12 +228,15 @@ $vSize:=$col.length //$vSize=0 +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------ | | col2 | Collection | -> | Colección a combinar | | index | Integer | -> | Posición a la que se deben combinar los elementos de inserción en la colección (por defecto=length+1) | | Resultado | Collection | <- | Colección original sin elementos eliminados | +
    #### Descripción @@ -268,11 +280,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------------------------------- | | value | any | -> | Valores a concatenar. Si *value* es una colección, todos sus elementos se añaden al final de la colección original. | | Resultado | Collection | <- | Colección original con valores rellenados | +
    #### Descripción @@ -313,6 +328,8 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] +
    + | Parámetros | Tipo | | Descripción | | ------------ | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------- | | option | Integer | -> | `ck resolve pointers`: resolver punteros antes de copiar,
    `ck shared`: devolver una colección compartida | @@ -320,6 +337,7 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] | groupWithObj | Object | -> | Objeto compartido que se agrupa con la colección resultante | | Resultado | Collection | <- | Colección original ordenada | +
    #### Descripción @@ -426,11 +444,14 @@ Mayor que +
    + | Parámetros | Tipo | | Descripción | | ------------ | ---- | :-------------------------: | ---------------------------------------------------------------- | | propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | | Resultado | Real | <- | Primer elemento de la colección | +
    #### Descripción @@ -472,12 +493,15 @@ Si la colección contiene objetos, puede pasar el parámetro *propertyPath*. En +
    + | Parámetros | Tipo | | Descripción | | ------------ | ---- | :-------------------------: | ---------------------------------------------------------------- | | value | any | -> | Valor a contar | | propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | | Resultado | Real | <- | Valor a contar | +
    #### Descripción @@ -549,12 +573,15 @@ El parámetro opcional *propertyPath* permite contar valores dentro de una colec +
    + | Parámetros | Tipo | | Descripción | | ------------ | ---------- | :-------------------------: | ------------------------------------------------------- | | propertyPath | Text | -> | Ruta del atributo cuyos valores distintos desea obtener | | options | Integer | -> | `ck diacritical`, `ck count values` | | Resultado | Collection | <- | Lanzamiento | +
    #### Descripción @@ -608,12 +635,15 @@ Ejemplos +
    + | Parámetros | Tipo | | Descripción | | ----------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------- | | collection2 | Collection | -> | Colección a comparar | | option | Integer | -> | `ck diacritical`: evaluación diacrítica ("A" # "a" por ejemplo) | | Resultado | Boolean | <- | Descripción | +
    #### Descripción @@ -677,6 +707,8 @@ Una comparación recursiva de colecciones puede llevar mucho tiempo si la colecc +
    + | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | --------------------------------------------------------------------- | | startFrom | Integer | -> | Índice para iniciar la prueba en | @@ -685,6 +717,7 @@ Una comparación recursiva de colecciones puede llevar mucho tiempo si la colecc | param | any | -> | Parámetro(s) a pasar a la *formula* o *methodName* | | Resultado | Boolean | <- | Lanzamiento | +
    #### Descripción @@ -768,6 +801,8 @@ $b:=$c.every($f;Is real) //$b=false +
    + | Parámetros | Tipo | | Descripción | | ------------ | ---------- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | Ruta de la propiedad del objeto cuyos valores deben ser extraídos a la nueva colección | @@ -775,6 +810,7 @@ $b:=$c.every($f;Is real) //$b=false | option | Integer | -> | `ck keep null`: incluye la propiedad null en la colección devuelta (se ignora por defecto). Parámetro ignorado si se pasa *targetPath*. | | Resultado | Collection | <- | Nueva colección que contiene los valores extraídos | +
    #### Descripción @@ -838,6 +874,8 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------- | | value | any | -> | Valor a asignar | @@ -845,6 +883,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 | end | Integer | -> | Índice final (no incluido) | | Resultado | Collection | <- | *methodName*, el nombre de un método proyecto (texto). | +
    #### Descripción @@ -893,6 +932,8 @@ En caso de incoherencia, se aplican las siguientes reglas: +
    + | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | --------------------------------------------------------------------- | | formula | 4D.Function | -> | Objeto fórmula | @@ -900,6 +941,7 @@ En caso de incoherencia, se aplican las siguientes reglas: | param | any | -> | Parámetro(s) a pasar a la *formula* o *methodName* | | Resultado | Collection | <- | donde: | +
    #### Descripción @@ -979,6 +1021,8 @@ Quiere filtrar los elementos según su tipo de valor: +
    + | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Índice para iniciar la búsqueda en | @@ -987,6 +1031,7 @@ Quiere filtrar los elementos según su tipo de valor: | param | any | -> | Parámetro(s) a pasar a la *formula* o *methodName* | | Resultado | any | <- | La función `.multiSort()` permite realizar una ordenación sincronizada multinivel sobre un conjunto de colecciones. | +
    #### Descripción @@ -1067,6 +1112,8 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 +
    + | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | --------------------------------------------------------------------- | | startFrom | Integer | -> | Índice para iniciar la búsqueda en | @@ -1075,6 +1122,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 | param | any | -> | Parámetro(s) a pasar a la *formula* o *methodName* | | Resultado | Integer | <- | Índice del primer valor encontrado, o -1 si no se encuentra | +
    #### Descripción @@ -1143,10 +1191,13 @@ $val3:=$c.findIndex($val2+1;Formula($1.value.name=$2);"Clanton") //$val3=4 +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Resultado | any | <- | Obtiene los datos coincidentes, admite el comodín (@), no distingue entre mayúsculas de minúsculas ni diacríticas. | +
    #### Descripción @@ -1188,11 +1239,14 @@ $first:=$emptyCol.first() // devuelve Undefined +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | depth | Integer | -> | A qué profundidad debe aplanarse una estructura de colección anidada. Por defecto=1 | | Resultado | Collection | <- | *$1.result* (boolean): **true** si *$1.value < $1.value2*, **false** de lo contrario. | +
    #### Descripción @@ -1241,6 +1295,8 @@ $col.flat(MAXLONG) +
    + | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | --------------------------------------------------------------------- | | formula | 4D.Function | -> | Objeto fórmula | @@ -1248,6 +1304,7 @@ $col.flat(MAXLONG) | param | any | -> | Parámetro(s) a pasar a la *formula* o *methodName* | | Resultado | Collection | <- | Comentario | +
    #### Descripción @@ -1333,12 +1390,15 @@ $c2:=$c.flatMap($f; $c.sum()) +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ---------------------------------- | | toSearch | Expression | -> | Expresión a buscar en la colección | | startFrom | Integer | -> | Índice para iniciar la búsqueda en | | Resultado | Boolean | <- | Ejemplo 1 | +
    #### Descripción @@ -1395,12 +1455,15 @@ Diferente de Si *startFrom* < 0, se considera el desplazamiento desde el final d +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ---------------------------------- | | toSearch | Expression | -> | Expresión a buscar en la colección | | startFrom | Integer | -> | Índice para iniciar la búsqueda en | | Resultado | Integer | <- | Descripción | +
    #### Descripción @@ -1454,12 +1517,15 @@ Diferente de Si *startFrom* < 0, se considera el desplazamiento desde el final d +
    + | Parámetros | Tipo | | Descripción | | ----------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------- | | queryString | Text | -> | Criterio de búsqueda | | value | any | -> | Valor(es) a comparar cuando se utiliza(n) marcador(es) de posición | | Resultado | Collection | <- | Ejemplo 3 | +
    #### Descripción @@ -1509,12 +1575,15 @@ Los elementos se ordenan de forma descendente +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------ | | index | Integer | -> | Dónde insertar el elemento | | element | any | -> | Elemento a insertar en la colección | | Resultado | Collection | <- | Con el siguiente método ***Flatten***: | +
    #### Descripción @@ -1561,12 +1630,15 @@ Se puede insertar cualquier tipo de elemento aceptado por una colección, inclus +
    + | Parámetros | Tipo | | Descripción | | ---------- | ------- | :-------------------------: | ------------------------------------ | | delimiter | Text | -> | Separador a utilizar entre elementos | | option | Integer | -> | Conjunción | | Resultado | Text | <- | Ejemplo 3 | +
    #### Descripción @@ -1605,10 +1677,13 @@ Por defecto, los elementos nulos o vacíos de la colección se devuelven en la c +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---- | :-------------------------: | ------------------------------------------------------------------------------------------------ | | Resultado | any | <- | Si el valor calculado < 0, *startFrom* toma el valor 0. | +
    #### Descripción @@ -1643,12 +1718,15 @@ Propiedad +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ----------------------------------------------------- | | toSearch | Expression | -> | El elemento que se va a buscar dentro de la colección | | startFrom | Integer | -> | Índice para iniciar la búsqueda en | | Resultado | Integer | <- | Descripción | +
    #### Descripción @@ -1732,6 +1810,8 @@ Tipo +
    + | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objeto fórmula | @@ -1739,6 +1819,7 @@ Tipo | param | any | -> | Parámetro(s) a pasar a la *formula* o *methodName* | | Resultado | Collection | <- | `.pop()`, utilizado junto con [`.push()`](#push), puede utilizarse para implementar una funcionalidad primera entrada última salida de tratamiento de datos apilados: | +
    #### Descripción @@ -1792,11 +1873,14 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) +
    + | Parámetros | Tipo | | Descripción | | ------------ | ---- | :-------------------------: | ------------------------------------------------------------------- | | propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para la evaluación | | Resultado | any | <- | Comentario | +
    #### Descripción @@ -1842,11 +1926,14 @@ Lanzamiento +
    + | Parámetros | Tipo | | Descripción | | ------------ | ---- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para la evaluación | | Resultado | any | <- | *formula* (sintaxis recomendada), un [objeto Fórmula](FunctionClass.md) que puede encapsular toda expresión ejecutable, incluyendo funciones y métodos proyecto; | +
    #### Descripción @@ -1892,12 +1979,15 @@ Lanzamiento +
    + | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | ------------------ | | formula | 4D.Function | -> | Objeto fórmula | | colsToSort | Collection | -> | Ejemplo 2 | | Resultado | Collection | <- | La nueva colección | +
    #### Descripción @@ -2028,6 +2118,8 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) +
    + | Parámetros | Tipo | | Descripción | | ----------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------ | | pathStrings | Text | -> | Ruta(s) de propiedad(es) a utilizar para ordenar la colección | @@ -2035,6 +2127,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) | ascOrDesc | Integer | -> | Ejemplo 1 | | Resultado | Collection | <- | Constantes **null**: utilizando la palabra clave "null" se encontrarán las propiedades **null** y **undefined**. | +
    #### Descripción @@ -2165,10 +2258,12 @@ Ordenar con una ruta de propiedad: -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection +
    + | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objeto fórmula | @@ -2176,6 +2271,7 @@ Ordenar con una ruta de propiedad: | extraParam | any | -> | Parámetro(s) a pasar | | Resultado | Collection | <- | \|startFrom \|Integer \|->\|Índice para comenzar la prueba\| \|formula\|4D.Function\|->\|Objeto fórmula\| \|methodName\|Text\|->\|Nombre de un método\| \|param \|any \|->\|Parámetro(s) a pasar\| \|Result\|Boolean\|<-\|True si al menos un elemento pasa exitosamente la prueba\| | +
    #### Descripción @@ -2271,10 +2367,13 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---- | :-------------------------: | ------------------------------------------------------------------------------------------------ | | Resultado | any | <- | Si el valor calculado < 0, *startFrom* toma el valor 0. | +
    #### Descripción @@ -2311,11 +2410,14 @@ Lanzamiento +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------ | | element | any | -> | Elemento(s) a añadir a la colección | | Resultado | Collection | <- | Colección que contiene los elementos añadidos | +
    #### Descripción @@ -2366,6 +2468,8 @@ Desea ordenar la colección resultante: +
    + | Parámetros | Tipo | | Descripción | | ------------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------- | | queryString | Text | -> | Criterio de búsqueda | @@ -2373,6 +2477,7 @@ Desea ordenar la colección resultante: | querySettings | Object | -> | Opciones de búsqueda: parámetros, atributos | | Resultado | Collection | <- | Descripción | +
    #### Descripción @@ -2644,6 +2749,8 @@ Descripción Descripción Sin embargo, ten en cuenta que las fórmulas no están +
    + | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | --------------------------------------------- | | formula | 4D.Function | -> | Objeto fórmula | @@ -2652,6 +2759,7 @@ Descripción Descripción Sin embargo, ten en cuenta que las fórmulas no están | param | Expression | -> | Parámetro(s) a pasar | | Resultado | any | <- | donde: | +
    #### Descripción @@ -2729,6 +2837,8 @@ Con el siguiente método ***Flatten***: +
    + | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | --------------------------------------------- | | formula | 4D.Function | -> | Objeto fórmula | @@ -2737,6 +2847,7 @@ Con el siguiente método ***Flatten***: | param | Expression | -> | Parámetro(s) a pasar | | Resultado | any | <- | donde: | +
    #### Descripción @@ -2809,12 +2920,15 @@ Ejemplo 4 +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | -------------------------------------------------------- | | index | Integer | -> | Elemento en el que se inicia la eliminación | | howMany | Integer | -> | Número de elementos a eliminar, o 1 elemento si se omite | | Resultado | Collection | <- | O | +
    #### Descripción @@ -2864,12 +2978,15 @@ Si se intenta eliminar un elemento de una colección vacía, el método no hace +
    + | Parámetros | Tipo | | Descripción | | ------------ | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------- | | size | Integer | -> | Nuevo tamaño de la colección | | defaultValue | any | -> | Valor por defecto para llenar nuevos elementos | | Resultado | Collection | <- | o *methodName*, el nombre de un método proyecto (texto). | +
    #### Descripción @@ -2919,10 +3036,13 @@ Por defecto, los nuevos elementos se llenan con valores **null**. Puede especifi +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Resultado | Collection | <- | (obligatorio si se ha utilizado un método) *$1.result* (booleano): **true** si la evaluación del valor del elemento tiene éxito, **false** en caso contrario. | +
    #### Descripción @@ -2957,10 +3077,13 @@ La función `.reverse()` devuelve una +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Resultado | any | <- | Obtiene los datos coincidentes, admite el comodín (@), no distingue entre mayúsculas de minúsculas ni diacríticas. | +
    #### Descripción @@ -3000,12 +3123,15 @@ Si la colección está vacía, este método no hace nada. +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | ---------------------------------------------- | | startFrom | Integer | -> | Índice de inicio (incluido) | | end | Integer | -> | Índice final (no incluido) | | Resultado | Collection | <- | Resultado | +
    #### Descripción @@ -3051,6 +3177,8 @@ La colección devuelta contiene el elemento especificado por *startFrom* y todos +
    + | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | ------------------------------------------------------------ | | startFrom | Integer | -> | Índice para iniciar la prueba en | @@ -3059,6 +3187,7 @@ La colección devuelta contiene el elemento especificado por *startFrom* y todos | param | any | -> | Parámetro(s) a pasar | | Resultado | Boolean | <- | True si al menos un elemento ha superado la prueba con éxito | +
    #### Descripción @@ -3131,6 +3260,8 @@ Soporte de fórmula +
    + | Parámetros | Tipo | | Descripción | | ---------- | --------------------------- | :-------------------------: | --------------------- | | ascOrDesc | Integer | -> | Ejemplo 1 | @@ -3139,6 +3270,7 @@ Soporte de fórmula | extraParam | any | -> | Parámetros del método | | Resultado | Collection | <- | La nueva colección | +
    #### Descripción @@ -3224,11 +3356,14 @@ $col3:=$col.sort(Formula(String($1.value) +
    + | Parámetros | Tipo | | Descripción | | ------------ | ---- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | | Resultado | Real | <- | `.pop()`, utilizado junto con [`.push()`](#push), puede utilizarse para implementar una funcionalidad primera entrada última salida de tratamiento de datos apilados: | +
    #### Descripción @@ -3284,12 +3419,15 @@ Esta función no modifica la colección original. +
    + | Parámetros | Tipo | | Descripción | | ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------- | | value | any | -> | Valor(es) a insertar al principio de la colección | | Resultado | Collection | <- | Colección que contiene los elementos añadidos | | | | | | +
    #### Descripción From 11c36c08f835b567d09badffe3bfcb4e6278209f Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 10:29:00 +0100 Subject: [PATCH 013/107] New translations functionclass.md (Spanish) --- .../version-21-R2/API/FunctionClass.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md index 73b3e1d9e11a62..978217c85461e0 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md @@ -112,12 +112,15 @@ Los parámetros se reciben en el método, en el orden en que se especifican en l +
    + | Parámetros | Tipo | | Descripción | | ------------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------- | | thisObj | Object | -> | Objeto a devolver por el comando This en la fórmula | | formulaParams | Collection | -> | Colección de valores que se pasan como $1...$n cuando se ejecuta `formula` | | Resultado | any | <- | Valor obtenido de la ejecución de la fórmula | +
    #### Descripción @@ -168,16 +171,19 @@ Tenga en cuenta que `.apply()` es similar a [`.call()`](#call) excepto que los p -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any +
    + | Parámetros | Tipo | | Descripción | | ---------- | ------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | thisObj | Object | -> | Objeto a devolver por el comando This en la fórmula | | params | any | -> | Valor(es) que se pasa(n) como $1...$n cuando se ejecuta la fórmula | | Resultado | any | <- | Valor obtenido de la ejecución de la fórmula | +
    #### Descripción From d4db6fb07e1059af55d8b6845f5478b1f6d94b45 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 10:30:48 +0100 Subject: [PATCH 014/107] New translations quick-tour.md (Spanish) --- .../version-21-R2/Concepts/quick-tour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 122773e082e23e..623f5dc2689dd0 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...). -- la notación `{; ...*param* : Type}` indica 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. +- the `{; *...param* : Type}` notation indicates 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. - la notación `{; ...(*param* : Type ; *param2* : Type) }` indica 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. From 3e96c5d1a907013da9b9b46a7be5f0f45bbd737a Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 10:34:37 +0100 Subject: [PATCH 015/107] New translations orda-events.md (Spanish) --- .../version-21-R2/ORDA/orda-events.md | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/ORDA/orda-events.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/ORDA/orda-events.md index fab5084060cafb..109c8564e05e85 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/ORDA/orda-events.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/ORDA/orda-events.md @@ -351,14 +351,14 @@ No se recomienda actualizar la entidad dentro de esta función (utilizando `This En este ejemplo, no se permite guardar un producto con un margen inferior al 50%. En caso de que el atributo precio no sea válido, devuelve un objeto error y, por tanto, detiene la acción de guardar. ```4d -// ProductsEntity class +// Clase ProductsEntity // -// validateSave event at attribute level +// evento validateSave a nivel atributo Function event validateSave margin($event : Object) : Object var $result : Object -//The user can't create a product whose margin is < 50% +//El usuario no puede crear un producto cuyo margen sea < 50% If (This.margin<50) $result:={errCode: 1; message: "The validation of this product failed"; \ extraDescription: {info: "The margin of this product ("+String(This.margin)+") is lower than 50%"}; seriousError: False} @@ -406,8 +406,8 @@ Para detener la acción, el código de la función debe devolver un [objeto erro Cuando se guarda un archivo en el disco, por ejemplo, se capturan errores relacionados con el espacio de disco. ```4d -// ProductsEntity class -// saving event at attribute level +// Clase ProductsEntity +// Evento saver a nivel del atributo Function event saving userManualPath($event : Object) : Object var $result : Object @@ -417,17 +417,17 @@ var $fileCreated : Boolean If (This.userManualPath#"") $userManualFile:=File(This.userManualPath) - // The user manual document file is created on the disk - // This may fail if no more space is available + // El archivo del manual de usuario se crea en el disco + // Esto puede fallar si no hay más espacio disponible Try - // The file content has been generated and stored in a map in Storage.docMap previously + // El contenido del archivo se ha generado y almacenado en un mapa en Storage.docMap anteriormente $docInfo:=Storage.docMap.query("name = :1"; This.name).first() $userManualFile.setContent($docInfo.content) Catch - // No more room on disk for example + // No hay más espacio en disco por ejemplo $result:={/ - errCode: 1; message: "Error during the save action for this product"; / - extraDescription: {info: "There is no available space on disk to store the user manual"}/ + errCode: 1; message: "Error durante la acción de guardar para este producto"; / + extraDescription: {info: "No hay espacio disponible en disco para almacenar el manual de usuario"}/ } End try End if @@ -457,7 +457,7 @@ Este evento es útil después de guardar datos para propagar la acción de guard La función recibe un [objeto *event*](#event-parameter) como parámetro. -- To avoid infinite loops, calling a [`save()`](../API/EntityClass.md#save) on the current entity (through `This`) in this function is **not allowed**. Se producirá un error. +- Para evitar los bucles infinitos, llamar a [`save()`](../API/EntityClass.md#save) en la entidad actual (a través de `This`) en esta función **no está permitido**. Se producirá un error. - Arrojar un [objeto error](#error-object) **no es soportado** por esta función. #### Ejemplo @@ -465,14 +465,14 @@ La función recibe un [objeto *event*](#event-parameter) como parámetro. Si se produce un error en el evento de guardado anterior, el valor del atributo se restablece en consecuencia en el evento `afterSave`: ```4d -// ProductsEntity class -Function event afterSave($event : Object) +// Clase ProductsEntity +Function evento afterSave($event : Object) If (($event.status.success=False) && ($event.status.errors=Null)) - // $event.status.errors is filled if the error comes from the validateSave event + // $event.status.errors se llena si el error proviene del evento validateSave - // The userManualPath attribute has not been properly saved - // Its value is reset + // El atributo userManualPath no se ha guardado correctamente + // Su valor se restablece If ($event.savedAttributes.indexOf("userManualPath")=-1) This.userManualPath:="" This.status:="KO" @@ -502,7 +502,7 @@ Este evento se activa con las siguientes funcionalidades: - [`entity.drop()`](../API/EntityClass.md#drop) - [`entitySelection.drop()`](../API/DataClassClass.md#fromcollection) -- [deletion control rules](https://doc.4d.com/4Dv20/4D/20.2/Relation-properties.300-6750290.en.html#107320) that can be defined at the database structure level. +- [reglas de control de eliminación](https://doc.4d.com/4Dv20/4D/20.2/Relation-properties.300-6750290.en.html#107320) que pueden definirse a nivel de la estructura de la base de datos. Este evento se activa **antes** de que la entidad sea realmente eliminada, permitiéndole comprobar la consistencia de los datos y, si es necesario, detener la acción de eliminación. @@ -510,7 +510,7 @@ Para detener la acción, el código de la función debe devolver un [objeto erro #### Ejemplo -En este ejemplo, no está permitido eliminar un producto que no esté etiquetado como "TO DELETE". In this case, you return an error object and thus, stop the drop action. +En este ejemplo, no está permitido eliminar un producto que no esté etiquetado como "TO DELETE". En este caso, devuelve un objeto de error y, por lo tanto, detiene la acción de soltar. ```4d // Clase ProductsEntity @@ -549,9 +549,9 @@ Este evento se activa con las siguientes funcionalidades: - [`entity.drop()`](../API/EntityClass.md#drop) - [`entitySelection.drop()`](../API/DataClassClass.md#fromcollection) -- [deletion control rules](https://doc.4d.com/4Dv20/4D/20.2/Relation-properties.300-6750290.en.html#107320) that can be defined at the database structure level. +- [reglas de control de eliminación](https://doc.4d.com/4Dv20/4D/20.2/Relation-properties.300-6750290.en.html#107320) que pueden definirse a nivel de la estructura de la base de datos. -This event is triggered **while** the entity is actually dropped. If a [`validateDrop()`](#function-event-validatedrop) event function was defined, the `dropping()` event function is called if no error was triggered by `validateDrop()`. +Este evento se activa **mientras** la entidad es realmente suprimida. If a [`validateDrop()`](#function-event-validatedrop) event function was defined, the `dropping()` event function is called if no error was triggered by `validateDrop()`. :::note From 7101e12209d2f976502517efcee442ce95ed03c6 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 10:42:53 +0100 Subject: [PATCH 016/107] New translations managing-formulas.md (Spanish) --- .../WritePro/managing-formulas.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/WritePro/managing-formulas.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/WritePro/managing-formulas.md index b9ed80777eca59..3847a9239bba7c 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/WritePro/managing-formulas.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/WritePro/managing-formulas.md @@ -95,17 +95,17 @@ Por ejemplo, para insertar el número de página en el pie de página: Cuando se utiliza en una fórmula dentro de la tabla, la palabra clave **This** da acceso a diferentes datos según el contexto: -| **Contexto** | **Expression** | **Tipo** | **Devuelve** | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| En cualquier sitio | [This](../commands/this.md).table | Object | Tabla actual | -| | [This](../commands/this.md).row | Object | Current table row element | -| | [This](../commands/this.md).rowIndex | Number | Índice de la línea actual, a partir de 1 | -| Cuando se ha definido una fuente de datos para la tabla | [This](../commands/this.md).table.dataSource | Objet (fórmula) | Fuente de datos como fórmula | -| | [This](../commands/this.md).tableData | Collection o Entity selection (por lo general) | table.dataSource evaluada | -| En cada fila de datos cuando una fuente de datos tabla devuelve una colección o una selección de entidades | [This](../commands/this.md).item.xxx | Cualquiera | Asignado a cada elemento de la colección de fuentes de datos de la tabla o selección de entidades, por ejemplo **This.item.firstName** si la entidad asociada tiene el atributo *firstName* | -| | [This](../commands/this.md).itemIndex | Number | Índice del elemento actual en la colección o selección de entidades, a partir de 0 | -| En cualquier línea (excepto en las líneas de encabezado) cuando una fuente de datos tabla devuelve una colección o una selección de entidades | [This](../commands/this.md).previousItems | Collection o entity selection | Items displayed on the pages before the bottom carry over row (if any) or before the row of the expression, including the page where is displayed the row containing the expression.
    Esta expresión devuelve el mismo tipo de valor que la expresión **This.tableData**. | -| In a break row | [This](../commands/this.md).breakItems | Collection o entity selection | Items of the collection or entity selection displayed in the rows between:
    • the current break row and the previous break row of the same level (or the start of the table) if the break row(s) are displayed after the data row.
    • the current break and the next break row of the same level (or the end of the table) if the break row(s) are displayed before the data row.
    | +| **Contexto** | **Expression** | **Tipo** | **Devuelve** | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| En cualquier sitio | [This](../commands/this.md).table | Object | Tabla actual | +| | [This](../commands/this.md).row | Object | Current table row element | +| | [This](../commands/this.md).rowIndex | Number | Índice de la línea actual, a partir de 1 | +| Cuando se ha definido una fuente de datos para la tabla | [This](../commands/this.md).table.dataSource | Objet (fórmula) | Fuente de datos como fórmula | +| | [This](../commands/this.md).tableData | Collection o Entity selection (por lo general) | table.dataSource evaluada | +| En cada fila de datos cuando una fuente de datos tabla devuelve una colección o una selección de entidades | [This](../commands/this.md).item.xxx | Cualquiera | Asignado a cada elemento de la colección de fuentes de datos de la tabla o selección de entidades, por ejemplo **This.item.firstName** si la entidad asociada tiene el atributo *firstName* | +| | [This](../commands/this.md).itemIndex | Number | Índice del elemento actual en la colección o selección de entidades, a partir de 0 | +| En cualquier línea (excepto en las líneas de encabezado) cuando una fuente de datos tabla devuelve una colección o una selección de entidades | [This](../commands/this.md).previousItems | Collection o entity selection | Items displayed on the pages before the bottom carry over row (if any) or before the row of the expression, including the page where is displayed the row containing the expression.
    Esta expresión devuelve el mismo tipo de valor que la expresión **This.tableData**. | +| In a break row | [This](../commands/this.md).breakItems | Collection o entity selection | Items of the collection or entity selection displayed in the rows between:
    • the current break row and the previous break row of the same level (or the start of the table) if the break row(s) are displayed after the data row.
    • la línea de ruptura actual y la siguiente del mismo nivel (o el final de la tabla) si la línea o líneas de ruptura se muestran antes de la línea de datos.
    | En cualquier otro contexto, estas expresiones devolverán *undefined*. From 3459174f555941e72f9d3fc7e310d94aeaea937a Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 10:52:23 +0100 Subject: [PATCH 017/107] New translations collectionclass.md (Japanese) --- .../version-19/API/CollectionClass.md | 599 ++++++++++-------- 1 file changed, 340 insertions(+), 259 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md index 11521a9422e5ef..d71e46125e543b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md @@ -70,12 +70,14 @@ Collection クラスは [コレクション](Concepts/dt_collection.md) 型の -| 引数 | 型 | | 説明 | -| ----- | ----------------------------------------------------------------------- |:--:| ------------------------------------ | -| value | Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer | -> | コレクションの値 | -| 戻り値 | Collection | <- | 新規のコレクション| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Collection's value(s)| +|Result|Collection|<-|The new collection| +
    + #### 説明 @@ -151,12 +153,14 @@ Collection クラスは [コレクション](Concepts/dt_collection.md) 型の -| 引数 | 型 | | 説明 | -| ----- | ------------------------------- |:--:| -------------------------------------- | -| value | 数値、テキスト、日付、時間、ブール、オブジェクト、コレクション | -> | 共有コレクションの値 | -| 戻り値 | Collection | <- | 新規の共有コレクション| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Shared collection's value(s)| +|Result|Collection|<-|The new shared collection| +
    + #### 説明 @@ -212,12 +216,14 @@ Collection クラスは [コレクション](Concepts/dt_collection.md) 型の -| 引数 | 型 | | 説明 | -| ------------ | --------------- |:--:| ---------------------------------------- | -| propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | -| 戻り値 | Real, Undefined | <- | コレクションの値の算術平均| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real, Undefined|<-|Arithmetic mean (average) of collection values| +
    + #### 説明 @@ -269,11 +275,13 @@ Collection クラスは [コレクション](Concepts/dt_collection.md) 型の -| 引数 | 型 | | 説明 | -| --- | ---------- |:--:| -------------------------------------------- | -| 戻り値 | Collection | <- | 全要素が削除された元のコレクション| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Original collection with all elements removed| +
    + #### 説明 @@ -306,13 +314,15 @@ $vSize:=$col.length //$vSize=0 -| 引数 | 型 | | 説明 | -| ----- | ---------- |:--:| -------------------------------------------- | -| col2 | Collection | -> | 追加するコレクション | -| index | Integer | -> | 追加要素を挿入する位置 (デフォルトは length+1) | -| 戻り値 | Collection | <- | 追加要素を格納した元のコレクション| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|col2|Collection|->|Collection to combine| +|index|Integer|->|Position to which insert elements to combine in collection (default=length+1)| +|Result|Collection|<-|Original collection containing combined element(s)| +
    + #### 説明 @@ -353,12 +363,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -| 引数 | 型 | | 説明 | -| ----- | ---------- |:--:| ----------------------------------------------------- | -| value | any | -> | 連結する値。 *value* がコレクションの場合、コレクションの全要素が元のコレクションに追加されます。 | -| 戻り値 | Collection | <- | 元のコレクションに値が追加された新規コレクション| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|any|->|Value(s) to concatenate. If *value* is a collection, all collection elements are added to the original collection| +|Result|Collection|<-|New collection with value(s) added to the original collection| +
    + #### 説明 @@ -396,14 +408,16 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] -| 引数 | 型 | | 説明 | -| ------------ | ---------- |:--:| ------------------------------------------------------------------------- | -| option | Integer | -> | `ck resolve pointers`: コピー前にポインターを解決する
    `ck shared`: 共有コレクションを返す | -| groupWithCol | Collection | -> | 結果のコレクションとグループする共有コレクション | -| groupWithObj | Object | -> | 結果のコレクションとグループする共有オブジェクト | -| 戻り値 | Collection | <- | 元のコレクションのディープ・コピー| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|option|Integer|->|`ck resolve pointers`: resolve pointers before copying,
    `ck shared`: return a shared collection| +|groupWithCol |Collection|->|Shared collection to be grouped with the resulting collection| +|groupWithObj |Object|->|Shared object to be grouped with the resulting collection| +|Result|Collection|<-|Deep copy of the original collection| +
    + #### 説明 @@ -523,12 +537,14 @@ End use -| 引数 | 型 | | 説明 | -| ------------ | ---- |:--:| --------------------------------------- | -| propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | -| 戻り値 | Real | <- | コレクション内の要素の数| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of elements in the collection| +
    + #### 説明 @@ -568,13 +584,15 @@ End use -| 引数 | 型 | | 説明 | -| ------------ | ----------------------------------------------- |:--:| ---------------------------------- | -| value | Text, Number, Boolean, Date, Object, Collection | -> | 数える値 | -| propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | -| 戻り値 | Real | <- | 値の出現回数 | - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Text, Number, Boolean, Date, Object, Collection|->|Value to count| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of occurrences of the value | +
    + #### 説明 @@ -642,13 +660,15 @@ End use -| 引数 | 型 | | 説明 | -| ------------ | ---------- |:--:| -------------------------------------------------------- | -| option | Integer | -> | `ck diacritical`: アクセント等の発音区別符号を無視しない評価 (たとえば "A" # "a") | -| propertyPath | Text | -> | 重複しない値を取得する属性のパス | -| 戻り値 | Collection | <- | 重複しない値のみを格納した新規コレクション| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example)| +|propertyPath|Text|->|Path of attribute whose distinct values you want to get| +|Result|Collection|<-|New collection with only distinct values| +
    + #### 説明 @@ -692,13 +712,15 @@ End use -| 引数 | 型 | | 説明 | -| ----------- | ---------- |:--:| ---------------------------------------------------------- | -| collection2 | Collection | -> | 比較するコレクション | -| option | Integer | -> | `ck diacritical`: アクセント等の発音区別符号を無視しない評価 (たとえば "A" # "a") | -| 戻り値 | Boolean | <- | コレクションが同一の場合には true、それ以外は false| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|collection2|Collection|->|Collection to compare| +|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example) +|Result|Boolean|<-|True if collections are identical, false otherwise| +
    + #### 説明 @@ -753,14 +775,16 @@ End use -| 引数 | 型 | | 説明 | -| ---------- | ------- |:--:| ------------------------------------------------ | -| startFrom | Integer | -> | テストを開始するインデックス | -| methodName | Text | -> | テストに呼び出すメソッド名 | -| param | 複合 | -> | methodName に渡す引数 | -| 戻り値 | Boolean | <- | すべての要素がテストをパスすれば true| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the test at| +|methodName|Text|->|Name of the method to call for the test| +|param|Mixed|->|Parameter(s) to pass to methodName| +|Result|Boolean|<-|True if all elements successfully passed the test| +
    + #### 説明 @@ -846,14 +870,16 @@ End if -| 引数 | 型 | | 説明 | -| ------------ | ---------- |:--:| ----------------------------------------------------------------------------------------------- | -| propertyPath | Text | -> | 新しいコレクションに抽出する値のオブジェクトプロパティパス | -| targetpath | Text | -> | 抽出先のプロパティパスあるいはプロパティ名 | -| option | Integer | -> | `ck keep null`: 返されるコレクションに null プロパティを含めます (デフォルトでは無視されます)。 *targetPath* を渡した場合には、この引数は無視されます。 | -| 戻り値 | Collection | <- | 抽出した値を格納した新しいコレクション| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path whose values must be extracted to the new collection| +|targetpath|Text|->|Target property path or property name| +|option|Integer|->|`ck keep null`: include null properties in the returned collection (ignored by default). Parameter ignored if *targetPath* passed.| +|Result|Collection|<-|New collection containing extracted values| +
    + #### 説明 @@ -914,14 +940,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| 引数 | 型 | | 説明 | -| --------- | ----------------------------------------------- |:--:| ------------------------------------------ | -| value | number, Text, Collection, Object, Date, Boolean | -> | 代入する値 | -| startFrom | Integer | -> | 開始インデックス (含まれる) | -| end | Integer | -> | 終了インデックス (含まれない) | -| 戻り値 | collection | <- | 値が代入された元のコレクション| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|number, Text, Collection, Object, Date, Boolean|->|Filling value| +|startFrom|Integer|->|Start index (included)| +|end|Integer|->|End index (not included)| +|Result|collection|<-|Original collection with filled values| +
    + #### 説明 @@ -966,13 +994,15 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| 引数 | 型 | | 説明 | -| ---------- | ---------- |:--:| -------------------------------------------------------------- | -| methodName | Text | -> | コレクションをフィルターするために呼び出すメソッド名 | -| param | 複合 | -> | *methodName* に渡す引数 | -| 戻り値 | Collection | <- | フィルターされた要素を格納した新しいコレクション (シャロウ・コピー)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName|Text|->|Name of the function to call to filter the collection| +|param|Mixed|->|Parameter(s) to pass to *methodName*| +|Result|Collection|<-|New collection containing filtered elements (shallow copy)| +
    + #### 説明 @@ -1056,14 +1086,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| 引数 | 型 | | 説明 | -| ---------- | ------- |:--:| ----------------------------------------------------------- | -| startFrom | Integer | -> | 検索を開始するインデックス | -| methodName | Text | -> | 検索用に呼び出すメソッド名 | -| param | any | -> | *methodName* に渡す引数 | -| 戻り値 | any | <- | 最初に見つかった値。見つからなかった場合には Undefined| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|methodName|Text|->|Name of the function to call for the find| +|param|any|->|Parameter(s) to pass to *methodName*| +|Result|any |<-|First value found, or Undefined if not found| +
    + #### 説明 @@ -1150,14 +1182,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| 引数 | 型 | | 説明 | -| ---------- | ------- |:--:| ----------------------------------------------------------- | -| startFrom | Integer | -> | 検索を開始するインデックス | -| methodName | Text | -> | 検索用に呼び出すメソッド名 | -| param | any | -> | *methodName* に渡す引数 | -| 戻り値 | Integer | <- | 最初に見つかった値のインデックス。見つからなかった場合には -1| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|methodName|Text|->|Name of the function to call for the find| +|param|any|->|Parameter(s) to pass to *methodName*| +|Result|Integer |<-|Index of first value found, or -1 if not found| +
    + #### 説明 @@ -1225,13 +1259,15 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| 引数 | 型 | | 説明 | -| --------- | ------- |:--:| -------------------------------------------------------------------- | -| toSearch | 式 | -> | コレクション内を検索する式 | -| startFrom | Integer | -> | 検索を開始するインデックス | -| 戻り値 | Integer | <- | 最初に見つかった toSearch のインデックス。見つからなかった場合には -1| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|Expression to search in the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found| +
    + #### 説明 @@ -1281,13 +1317,15 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| 引数 | 型 | | 説明 | -| ----------- | ---------- |:--:| ----------------------------------------------------------- | -| queryString | Text | -> | 検索条件 | -| value | any | -> | プレースホルダー使用時: 比較する値 | -| 戻り値 | Collection | <- | queryString に合致するコレクション要素のインデックス| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|any|->|Value(s) to compare when using placeholder(s)| +|Result|Collection |<-|Element index(es) matching queryString in the collection| +
    + #### 説明 @@ -1334,13 +1372,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ------- | ---------- |:--:| ------------------------------------------- | -| index | Integer | -> | 要素の挿入位置 | -| element | any | -> | コレクションに挿入する要素 | -| 戻り値 | Collection | <- | 要素の挿入された元のコレクション| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index|Integer|->|Where to insert the element| +|element|any|->|Element to insert in the collection| +|Result|Collection |<-|Original collection containing inserted element| +
    + #### 説明 @@ -1383,13 +1423,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| --------- | ------- |:--:| ------------------------------------------------------ | -| delimiter | Text | -> | 要素間に用いる区切り文字 | -| option | Integer | -> | `ck ignore null or empty`: 戻り値に null と空の文字列を含めない | -| 戻り値 | Text | <- | 区切り文字を使ってコレクションの全要素をつなげた文字列| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|delimiter|Text|->|Separator to use between elements| +|option|Integer|->|`ck ignore null or empty`: ignore null and empty strings in the result| +|Result|Text |<-|String containing all elements of the collection, separated by delimiter| +
    + #### 説明 @@ -1425,13 +1467,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| --------- | ------- |:--:| -------------------------------------------------------------------- | -| toSearch | 式 | -> | コレクション内を検索する要素 | -| startFrom | Integer | -> | 検索を開始するインデックス | -| 戻り値 | Integer | <- | 最後に見つかった toSearch のインデックス。見つからなかった場合には -1| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|The element that is to be searched for within the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found| +
    + #### 説明 @@ -1512,13 +1556,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ---------- | ---------- |:--:| ----------------------------------------------- | -| methodName | Text | -> | コレクション要素を変換するのに使用するメソッド名 | -| param | any | -> | methodName に渡す引数 | -| 戻り値 | Collection | <- | 変換された値を格納する新しいコレクション| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName|Text|->|Name of method used to transform the collection elements| +|param|any|->|Parameter(s) for the method| +|Result|Collection |<-|Collection of transformed values| +
    + #### 説明 @@ -1572,12 +1618,14 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ------------ | ----------------------------------------------- |:--:| -------------------------------------- | -| propertyPath | Text | -> | 評価するオブジェクトプロパティのパス | -| 戻り値 | Boolean, Text, Number, Collection, Object, Date | <- | コレクション内の最大値| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection| +
    + #### 説明 @@ -1620,12 +1668,14 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ------------ | ----------------------------------------------- |:--:| -------------------------------------- | -| propertyPath | Text | -> | 評価するオブジェクトプロパティのパス | -| 戻り値 | Boolean, Text, Number, Collection, Object, Date | <- | コレクション内の最小値| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection| +
    + #### 説明 @@ -1668,14 +1718,16 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ----------- | ---------- |:--:| ------------------------------------------------------- | -| pathStrings | Text | -> | コレクションの並べ替え基準とするプロパティパス | -| pathObjects | Collection | -> | 条件オブジェクトのコレクション | -| ascOrDesc | Integer | -> | `ck ascending` または `ck descending` (スカラー値) | -| 戻り値 | Collection | <- | 並べ替えられたコレクションのコピー (シャロウ・コピー)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|pathStrings|Text|->|Property path(s) on which to order the collection| +|pathObjects|Collection|->|Collection of criteria objects| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|Result|Collection |<-|Ordered copy of the collection (shallow copy)| +
    + #### 説明 @@ -1799,17 +1851,19 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -**.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection -| 引数 | 型 | | 説明 | -| ---------- | ---------- |:--:| ------------------------------------------------------- | -| methodName | Text | -> | 並べ替え順の指定に使用するメソッド名 | -| extraParam | 式 | -> | methodName に渡す引数 | -| 戻り値 | Collection | <- | 並べ替えられたコレクションのコピー (シャロウ・コピー)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName|Text|->|Name of method used to specify the sorting order| +|extraParam|expression|->|Parameter(s) for the method | +|Result|Collection |<-|Sorted copy of the collection (shallow copy)| +
    + #### 説明 @@ -1906,11 +1960,13 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0) -| 引数 | 型 | | 説明 | -| --- | --- |:--:| --------------------------------------- | -| 戻り値 | any | <- | コレクションの最後の要素| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any |<-|Last element of collection| +
    + #### 説明 @@ -1950,12 +2006,14 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0) -| 引数 | 型 | | 説明 | -| ------- | ---------- |:--:| ------------------------------------------- | -| element | 複合 | -> | コレクションに追加する要素 | -| 戻り値 | Collection | <- | 要素の追加された元のコレクション| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|element|Mixed|->|Element(s) to add to the collection| +|Result|Collection |<-|Original collection containing added elements| +
    + #### 説明 @@ -2004,14 +2062,16 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0) -| 引数 | 型 | | 説明 | -| ------------- | ---------- |:--:| ---------------------------------------------------- | -| queryString | Text | -> | 検索条件 | -| value | 複合 | -> | プレースホルダー使用時: 比較する値 | -| querySettings | Object | -> | クエリオプション: parameters, attributes 他 | -| 戻り値 | Collection | <- | queryString に合致するコレクション要素| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|Mixed|->|Value(s) to compare when using placeholder(s)| +|querySettings|Object|->|Query options: parameters, attributes| +|Result|Collection |<-|Element(s) matching queryString in the collection| +
    + #### 説明 @@ -2105,14 +2165,16 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ---------- | ----------------------------------------------- |:--:| --------------------------------------- | -| methodName | Text | -> | コレクション要素を処理するのに使用するメソッド名 | -| initValue | Text, Number, Object, Collection, Date, Boolean | -> | *methodName* の最初の呼び出しに最初の引数として使用する値 | -| param | 式 | -> | *methodName* に渡す引数 | -| 戻り値 | Text, Number, Object, Collection, Date, Boolean | <- | アキュムレーター値の結果| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName |Text|->|Name of the function to call to process collection elements| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *methodName*| +|param |expression|->|Parameter(s) to pass to *methodName*| +|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +
    + #### 説明 @@ -2190,13 +2252,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ------- | ---------- |:--:| ------------------------------------------- | -| index | Integer | -> | 削除を開始する要素の位置 | -| howMany | Integer | -> | 削除する要素の数、省略時は 1要素を削除 | -| 戻り値 | Collection | <- | 要素が削除された元のコレクション| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index |Integer|->|Element at which to start removal| +|howMany |Integer|->|Number of elements to remove, or 1 element if omitted| +|Result|Collection|<-|Original collection without removed element(s)| +
    + #### 説明 @@ -2242,13 +2306,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ------------ | ----------------------------------------------- |:--:| ------------------------------------------ | -| size | Integer | -> | コレクションの新しいサイズ | -| defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | 新規要素のデフォルト値 | -| 戻り値 | Collection | <- | リサイズされた元のコレクション| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|size |Integer|->|New size of the collection| +|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Default value to fill new elements| +|Result|Collection|<-|Resized original collection| +
    + #### 説明 @@ -2297,11 +2363,13 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| --- | ---------- |:--:| ---------------------------------------------- | -| 戻り値 | Collection | <- | 逆順に要素を格納した新しいコレクション| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Inverted copy of the collection| +
    + #### 説明 @@ -2333,11 +2401,13 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| --- | --- |:--:| -------------------------------------- | -| 戻り値 | any | <- | コレクションの先頭要素| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any|<-|First element of collection| +
    + #### 説明 @@ -2374,13 +2444,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| --------- | ---------- |:--:| ------------------------------------------------------- | -| startFrom | Integer | -> | 開始インデックス (含まれる) | -| end | Integer | -> | 終了インデックス (含まれない) | -| 戻り値 | Collection | <- | 抜粋要素を格納した新しいコレクション(シャロウ・コピー)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Start index (included)| +|end |Integer |->|End index (not included)| +|Result|Collection|<-|New collection containing sliced elements (shallow copy)| +
    + #### 説明 @@ -2422,14 +2494,16 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ---------- | ------- |:--:| ---------------------------------------------------- | -| startFrom | Integer | -> | テストを開始するインデックス | -| methodName | Text | -> | テストに呼び出すメソッド名 | -| param | 複合 | -> | *methodName* に渡す引数 | -| 戻り値 | Boolean | <- | 少なくとも一つの要素がテストをパスすれば true| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Index to start the test at| +|methodName |Text |->|Name of the method to call for the test| +|param |Mixed |->|Parameter(s) to pass to *methodName*| +|Result|Boolean|<-|True if at least one element successfully passed the test| +
    + #### 説明 @@ -2497,12 +2571,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ---------- | ---------- |:--:| ------------------------------------------ | -| ascOrDesc | Integer | -> | `ck ascending` または `ck descending` (スカラー値) | -| methodName | Text | -> | 並べ替え順の指定に使用するメソッド名 | -| extraParam | any | -> | methodName に渡す引数 | -| 戻り値 | Collection | <- | 並べ替えられた元のコレクション | +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|methodName |Text |->|Name of method used to specify the sorting order| +|extraParam |any |->|Parameter(s) for the method| +|Result|Collection|<-|Original collection sorted| +
    #### 説明 @@ -2590,12 +2667,14 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ------------ | ---- |:--:| ---------------------------------------- | -| propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | -| 戻り値 | Real | <- | コレクション要素の値の合計| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath |Text |->|Object property path to be used for calculation| +|Result|Real|<-|Sum of collection values| +
    + #### 説明 @@ -2650,13 +2729,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| -------------------------- | -------------------------------------- |:--:| ---------------- | -| value | Text, Number, Object, Collection, Date | -> | コレクションの先頭に挿入する値 | -| 戻り値 | Collection | <- | 要素の追加された元のコレクション | -| +
    -| | | | +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value |Text, Number, Object, Collection, Date |->|Value(s) to insert at the beginning of the collection| +|Result|Collection|<-|Collection containing added element(s) +| +
    + #### 説明 From b39d5e38e9141f6454c38c023f9eacfa08ce116c Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 10:52:43 +0100 Subject: [PATCH 018/107] New translations functionclass.md (Japanese) --- .../version-19/API/FunctionClass.md | 62 ++++++++++--------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md index 9b7e6a3736f222..130c40d619098b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md @@ -121,13 +121,14 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する -| 引数 | 型 | | 説明 | -| ---------- | ----------- |:--:| -------------------------------------------------------------- | -| formulaExp | 式 | -> | オブジェクトとして返されるフォーミュラ | -| 戻り値 | 4D.Function | <- | フォーミュラを格納しているネイティブな Function オブジェクト| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaExp|Expression|->|Formula to be returned as object| +|Result|4D.Function|<-|Native function encapsulating the formula| +
    + #### 説明 @@ -260,13 +261,14 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する -| 引数 | 型 | | 説明 | -| ------------- | ----------- |:--:| ---------------------------------------------------- | -| formulaString | Text | -> | オブジェクトとして返されるフォーミュラ文字列 | -| 戻り値 | 4D.Function | <- | フォーミュラを格納しているネイティブなオブジェクト| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaString|Text|->|Text formula to be returned as object| +|Result|4D.Function|<-|Native object encapsulating the formula| +
    + #### 説明 @@ -319,14 +321,15 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する -| 引数 | 型 | | 説明 | -| ------------- | ---------- |:--:| -------------------------------------- | -| thisObj | Object | -> | フォーミュラ内で This コマンドによって返されるオブジェクト | -| formulaParams | Collection | -> | フォーミュラが実行される際に $1...$n として渡される値のコレクション | -| 戻り値 | any | <- | フォーミュラの実行結果| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|formulaParams |Collection|->|Collection of values to be passed as $1...$n when `formula` is executed| +|Result|any|<-|Value from formula execution| +
    + #### 説明 @@ -380,18 +383,19 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any -| 引数 | 型 | | 説明 | -| ------- | ------ | -- | -------------------------------------- | -| thisObj | Object | -> | フォーミュラ内で This コマンドによって返されるオブジェクト | -| params | any | -> | フォーミュラが実行される際に $1...$n として渡される値 | -| 戻り値 | any | <- | フォーミュラの実行結果| - - -| +
    + +|Parameter|Type||Description| +|---|---|---|---| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|params |any|->|Value(s) to be passed as $1...$n when formula is executed| +|Result|any|<-|Value from formula execution| +
    + #### 説明 From 77719bba201cb0598733213d3460f8099832e3e3 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:06:06 +0100 Subject: [PATCH 019/107] New translations collectionclass.md (Japanese) --- .../version-20/API/CollectionClass.md | 762 ++++++++++-------- 1 file changed, 405 insertions(+), 357 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md index dee3449fedfa33..4a2065d7743098 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md @@ -83,13 +83,14 @@ Collection クラスは [コレクション](Concepts/dt_collection.md) 型の -| 引数 | 型 | | 説明 | -| ----- | ----------------------------------------------------------------------- |:--:| ------------------------------------ | -| value | Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer | -> | コレクションの値 | -| 戻り値 | Collection | <- | 新規のコレクション| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Collection's value(s)| +|Result|Collection|<-|The new collection| +
    + #### 説明 @@ -171,13 +172,14 @@ Collection クラスは [コレクション](Concepts/dt_collection.md) 型の -| 引数 | 型 | | 説明 | -| ----- | ------------------------------- |:--:| -------------------------------------- | -| value | 数値、テキスト、日付、時間、ブール、オブジェクト、コレクション | -> | 共有コレクションの値 | -| 戻り値 | Collection | <- | 新規の共有コレクション| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Shared collection's value(s)| +|Result|Collection|<-|The new shared collection| +
    + #### 説明 @@ -247,13 +249,14 @@ Collection クラスは [コレクション](Concepts/dt_collection.md) 型の -| 引数 | 型 | | 説明 | -| ----- | ------- |:--:| ---------------------------------------- | -| index | Integer | -> | 取得する要素のインデックス | -| 戻り値 | any | <- | そのインデックスにある要素| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index|Integer|->|Index of element to return| +|Result|any |<-|The element at that index| +
    + #### 説明 @@ -295,14 +298,14 @@ $element:=$col.at(10) // undefined -| 引数 | 型 | | 説明 | -| ------------ | --------------- |:--:| ---------------------------------------- | -| propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | -| 戻り値 | Real, Undefined | <- | コレクションの値の算術平均| - - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real, Undefined|<-|Arithmetic mean (average) of collection values| +
    + @@ -361,12 +364,13 @@ $element:=$col.at(10) // undefined -| 引数 | 型 | | 説明 | -| --- | ---------- |:--:| -------------------------------------------- | -| 戻り値 | Collection | <- | 全要素が削除された元のコレクション| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Original collection with all elements removed| +
    + #### 説明 @@ -404,14 +408,15 @@ $vSize:=$col.length //$vSize=0 -| 引数 | 型 | | 説明 | -| ----- | ---------- |:--:| -------------------------------------------- | -| col2 | Collection | -> | 追加するコレクション | -| index | Integer | -> | 追加要素を挿入する位置 (デフォルトは length+1) | -| 戻り値 | Collection | <- | 追加要素を格納した元のコレクション| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|col2|Collection|->|Collection to combine| +|index|Integer|->|Position to which insert elements to combine in collection (default=length+1)| +|Result|Collection|<-|Original collection containing combined element(s)| +
    + #### 説明 @@ -457,13 +462,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -| 引数 | 型 | | 説明 | -| ----- | ---------- |:--:| ----------------------------------------------------- | -| value | any | -> | 連結する値。 *value* がコレクションの場合、コレクションの全要素が元のコレクションに追加されます。 | -| 戻り値 | Collection | <- | 元のコレクションに値が追加された新規コレクション| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|any|->|Value(s) to concatenate. If *value* is a collection, all collection elements are added to the original collection| +|Result|Collection|<-|New collection with value(s) added to the original collection| +
    + #### 説明 @@ -506,15 +512,16 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] -| 引数 | 型 | | 説明 | -| ------------ | ---------- |:--:| ------------------------------------------------------------------------- | -| option | Integer | -> | `ck resolve pointers`: コピー前にポインターを解決する
    `ck shared`: 共有コレクションを返す | -| groupWithCol | Collection | -> | 結果のコレクションとグループする共有コレクション | -| groupWithObj | Object | -> | 結果のコレクションとグループする共有オブジェクト | -| 戻り値 | Collection | <- | 元のコレクションのディープ・コピー| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|option|Integer|->|`ck resolve pointers`: resolve pointers before copying,
    `ck shared`: return a shared collection| +|groupWithCol |Collection|->|Shared collection to be grouped with the resulting collection| +|groupWithObj |Object|->|Shared object to be grouped with the resulting collection| +|Result|Collection|<-|Deep copy of the original collection| +
    + #### 説明 @@ -639,13 +646,14 @@ End use -| 引数 | 型 | | 説明 | -| ------------ | ---- |:--:| --------------------------------------- | -| propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | -| 戻り値 | Real | <- | コレクション内の要素の数| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of elements in the collection| +
    + #### 説明 @@ -690,14 +698,15 @@ End use -| 引数 | 型 | | 説明 | -| ------------ | ----------------------------------------------- |:--:| ----------------------------------- | -| value | Text, Number, Boolean, Date, Object, Collection | -> | 数える値 | -| propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | -| 戻り値 | Real | <- | 値の出現回数 | - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Text, Number, Boolean, Date, Object, Collection|->|Value to count| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of occurrences of the value | +
    + #### 説明 @@ -775,14 +784,15 @@ End use -| 引数 | 型 | | 説明 | -| ------------ | ---------- |:--:| ------------------------------------------------ | -| propertyPath | Text | -> | 重複しない値を取得する属性のパス | -| options | Integer | -> | `ck diacritical`, `ck count values` | -| 戻り値 | Collection | <- | 重複しない値のみを格納した新規コレクション| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Path of attribute whose distinct values you want to get| +|options|Integer|->|`ck diacritical`, `ck count values`| +|Result|Collection|<-|New collection with only distinct values| +
    + #### 説明 @@ -839,14 +849,15 @@ End use -| 引数 | 型 | | 説明 | -| ----------- | ---------- |:--:| ---------------------------------------------------------- | -| collection2 | Collection | -> | 比較するコレクション | -| option | Integer | -> | `ck diacritical`: アクセント等の発音区別符号を無視しない評価 (たとえば "A" # "a") | -| 戻り値 | Boolean | <- | コレクションが同一の場合には true、それ以外は false| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|collection2|Collection|->|Collection to compare| +|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example) +|Result|Boolean|<-|True if collections are identical, false otherwise| +
    + #### 説明 @@ -907,16 +918,17 @@ End use -| 引数 | 型 | | 説明 | -| ---------- | ----------- |:--:| ------------------------------------------------ | -| startFrom | Integer | -> | テストを開始するインデックス | -| formula | 4D.Function | -> | フォーミュラオブジェクト | -| methodName | Text | -> | メソッド名 | -| param | 複合 | -> | *formula* または *methodName* に渡す引数 | -| 戻り値 | Boolean | <- | すべての要素がテストをパスすれば true| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the test at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|Mixed|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Boolean|<-|True if all elements successfully passed the test| +
    + #### 説明 @@ -1004,15 +1016,16 @@ $b:=$c.every($f;Is real) //$b=false -| 引数 | 型 | | 説明 | -| ------------ | ---------- |:--:| ----------------------------------------------------------------------------------------------- | -| propertyPath | Text | -> | 新しいコレクションに抽出する値のオブジェクトプロパティパス | -| targetpath | Text | -> | 抽出先のプロパティパスあるいはプロパティ名 | -| option | Integer | -> | `ck keep null`: 返されるコレクションに null プロパティを含めます (デフォルトでは無視されます)。 *targetPath* を渡した場合には、この引数は無視されます。 | -| 戻り値 | Collection | <- | 抽出した値を格納した新しいコレクション| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path whose values must be extracted to the new collection| +|targetpath|Text|->|Target property path or property name| +|option|Integer|->|`ck keep null`: include null properties in the returned collection (ignored by default). Parameter ignored if *targetPath* passed.| +|Result|Collection|<-|New collection containing extracted values| +
    + #### 説明 @@ -1083,15 +1096,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| 引数 | 型 | | 説明 | -| --------- | ----------------------------------------------- |:--:| ------------------------------------------ | -| value | number, Text, Collection, Object, Date, Boolean | -> | 代入する値 | -| startFrom | Integer | -> | 開始インデックス (含まれる) | -| end | Integer | -> | 終了インデックス (含まれない) | -| 戻り値 | collection | <- | 値が代入された元のコレクション| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|number, Text, Collection, Object, Date, Boolean|->|Filling value| +|startFrom|Integer|->|Start index (included)| +|end|Integer|->|End index (not included)| +|Result|collection|<-|Original collection with filled values| +
    + #### 説明 @@ -1143,15 +1157,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| 引数 | 型 | | 説明 | -| ---------- | ----------- |:--:| -------------------------------------------------------------- | -| formula | 4D.Function | -> | フォーミュラオブジェクト | -| methodName | Text | -> | メソッド名 | -| param | any | -> | *formula* または *methodName* に渡す引数 | -| 戻り値 | Collection | <- | フィルターされた要素を格納した新しいコレクション (シャロウ・コピー)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Collection|<-|New collection containing filtered elements (shallow copy)| +
    + #### 説明 @@ -1233,16 +1248,17 @@ $colNew:=$col.filter(Formula((Value type($1.value)=Is text) && (Length($1.value) -| 引数 | 型 | | 説明 | -| ---------- | ----------- |:--:| ----------------------------------------------------------- | -| startFrom | Integer | -> | 検索を開始するインデックス | -| formula | 4D.Function | -> | フォーミュラオブジェクト | -| methodName | Text | -> | メソッド名 | -| param | any | -> | *formula* または *methodName* に渡す引数 | -| 戻り値 | any | <- | 最初に見つかった値。見つからなかった場合には Undefined| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|any |<-|First value found, or Undefined if not found| +
    + #### 説明 @@ -1326,16 +1342,17 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 -| 引数 | 型 | | 説明 | -| ---------- | ----------- |:--:| ----------------------------------------------------------- | -| startFrom | Integer | -> | 検索を開始するインデックス | -| formula | 4D.Function | -> | フォーミュラオブジェクト | -| methodName | Text | -> | メソッド名 | -| param | any | -> | *formula* または *methodName* に渡す引数 | -| 戻り値 | Integer | <- | 最初に見つかった値のインデックス。見つからなかった場合には -1| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Integer |<-|Index of first value found, or -1 if not found| +
    + #### 説明 @@ -1403,12 +1420,13 @@ $val3:=$c.findIndex($val2+1;Formula($1.value.name=$2);"Clanton") //$val3=4 -| 引数 | 型 | | 説明 | -| --- | --- |:--:| -------------------------------------- | -| 戻り値 | any | <- | コレクションの先頭要素| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any|<-|First element of collection| +
    + #### 説明 @@ -1451,13 +1469,14 @@ $first:=$emptyCol.first() // このコードは undefined を返します -| 引数 | 型 | | 説明 | -| ----- | ---------- |:--:| --------------------------------------- | -| depth | Integer | -> | ネストされたコレクションの階層をどの範囲まで平坦化するか。 デフォルト = 1 | -| 戻り値 | Collection | <- | 平坦化されたコレクション| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|depth|Integer |->|How deep a nested collection structure should be flattened. Default=1| +|Result|Collection |<-|Flattened collection| +
    + #### 説明 @@ -1507,14 +1526,16 @@ $col.flat(MAXLONG) **.flatMap**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.flatMap**( *methodName* : Text { ; *...param* : any } ) : Collection -| 引数 | 型 | | 説明 | -| ---------- | ----------- |:--:| ------------------------------------------------------------- | -| formula | 4D.Function | -> | フォーミュラオブジェクト | -| methodName | Text | -> | メソッド名 | -| param | any | -> | *formula* または *methodName* に渡す引数 | -| 戻り値 | Collection | <- | 変換された値を格納し、1レベルのネストが解除された新しいコレクション| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Collection |<-|Collection of transformed values and flattened by a depth of 1| +
    + #### 説明 @@ -1602,14 +1623,15 @@ $c2:=$c.flatMap($f; $c.sum()) -| 引数 | 型 | | 説明 | -| --------- | ------- |:--:| -------------------------------------------------------- | -| toSearch | 式 | -> | コレクション内を検索する式 | -| startFrom | Integer | -> | 検索を開始するインデックス | -| 戻り値 | Boolean | <- | *toSearch* がコレクションにある場合は true。 - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|Expression to search in the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Boolean |<-|True if *toSearch* is found in the collection| +
    + #### 説明 @@ -1669,15 +1691,15 @@ $c2:=$c.flatMap($f; $c.sum()) - -| 引数 | 型 | | 説明 | -| --------- | ------- |:--:| -------------------------------------------------------------------- | -| toSearch | 式 | -> | コレクション内を検索する式 | -| startFrom | Integer | -> | 検索を開始するインデックス | -| 戻り値 | Integer | <- | 最初に見つかった toSearch のインデックス。見つからなかった場合には -1| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|Expression to search in the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found| +
    + #### 説明 @@ -1730,14 +1752,15 @@ $c2:=$c.flatMap($f; $c.sum()) -| 引数 | 型 | | 説明 | -| ----------- | ---------- |:--:| ----------------------------------------------------------- | -| queryString | Text | -> | 検索条件 | -| value | any | -> | プレースホルダー使用時: 比較する値 | -| 戻り値 | Collection | <- | queryString に合致するコレクション要素のインデックス| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|any|->|Value(s) to compare when using placeholder(s)| +|Result|Collection |<-|Element index(es) matching queryString in the collection| +
    + #### 説明 @@ -1789,14 +1812,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ------- | ---------- |:--:| ------------------------------------------- | -| index | Integer | -> | 要素の挿入位置 | -| element | any | -> | コレクションに挿入する要素 | -| 戻り値 | Collection | <- | 要素の挿入された元のコレクション| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index|Integer|->|Where to insert the element| +|element|any|->|Element to insert in the collection| +|Result|Collection |<-|Original collection containing inserted element| +
    + #### 説明 @@ -1844,14 +1868,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| --------- | ------- |:--:| ------------------------------------------------------ | -| delimiter | Text | -> | 要素間に用いる区切り文字 | -| option | Integer | -> | `ck ignore null or empty`: 戻り値に null と空の文字列を含めない | -| 戻り値 | Text | <- | 区切り文字を使ってコレクションの全要素をつなげた文字列| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|delimiter|Text|->|Separator to use between elements| +|option|Integer|->|`ck ignore null or empty`: ignore null and empty strings in the result| +|Result|Text |<-|String containing all elements of the collection, separated by delimiter| +
    + #### 説明 @@ -1892,12 +1917,13 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| --- | --- |:--:| --------------------------------------- | -| 戻り値 | any | <- | コレクションの最後の要素| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any |<-|Last element of collection| +
    + #### 説明 @@ -1943,14 +1969,15 @@ $last:=$emptyCol.last() // このコードは undefined を返します -| 引数 | 型 | | 説明 | -| --------- | ------- |:--:| -------------------------------------------------------------------- | -| toSearch | 式 | -> | コレクション内を検索する要素 | -| startFrom | Integer | -> | 検索を開始するインデックス | -| 戻り値 | Integer | <- | 最後に見つかった toSearch のインデックス。見つからなかった場合には -1| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|The element that is to be searched for within the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found| +
    + #### 説明 @@ -2043,15 +2070,16 @@ $last:=$emptyCol.last() // このコードは undefined を返します -| 引数 | 型 | | 説明 | -| ---------- | ----------- |:--:| ----------------------------------------------- | -| formula | 4D.Function | -> | フォーミュラオブジェクト | -| methodName | Text | -> | メソッド名 | -| param | any | -> | *formula* または *methodName* に渡す引数 | -| 戻り値 | Collection | <- | 変換された値を格納する新しいコレクション| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Collection |<-|Collection of transformed values| +
    + #### 説明 @@ -2110,13 +2138,14 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) -| 引数 | 型 | | 説明 | -| ------------ | ----------------------------------------------- |:--:| -------------------------------------- | -| propertyPath | Text | -> | 評価するオブジェクトプロパティのパス | -| 戻り値 | Boolean, Text, Number, Collection, Object, Date | <- | コレクション内の最大値| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection| +
    + #### 説明 @@ -2165,13 +2194,14 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) -| 引数 | 型 | | 説明 | -| ------------ | ----------------------------------------------- |:--:| -------------------------------------- | -| propertyPath | Text | -> | 評価するオブジェクトプロパティのパス | -| 戻り値 | Boolean, Text, Number, Collection, Object, Date | <- | コレクション内の最小値| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection| +
    + #### 説明 @@ -2219,15 +2249,16 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) -| 引数 | 型 | | 説明 | -| ----------- | ---------- |:--:| ------------------------------------------------------- | -| pathStrings | Text | -> | コレクションの並べ替え基準とするプロパティパス | -| pathObjects | Collection | -> | 条件オブジェクトのコレクション | -| ascOrDesc | Integer | -> | `ck ascending` または `ck descending` (スカラー値) | -| 戻り値 | Collection | <- | 並べ替えられたコレクションのコピー (シャロウ・コピー)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|pathStrings|Text|->|Property path(s) on which to order the collection| +|pathObjects|Collection|->|Collection of criteria objects| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|Result|Collection |<-|Ordered copy of the collection (shallow copy)| +
    + #### 説明 @@ -2360,20 +2391,21 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection -| 引数 | 型 | | 説明 | -| ---------- | ----------- |:--:| ------------------------------------------------------- | -| formula | 4D.Function | -> | フォーミュラオブジェクト | -| methodName | Text | -> | メソッド名 | -| extraParam | any | -> | 渡す引数 | -| 戻り値 | Collection | <- | 並べ替えられたコレクションのコピー (シャロウ・コピー)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|extraParam|any|->|Parameter(s) to pass | +|Result|Collection |<-|Sorted copy of the collection (shallow copy)| +
    + #### 説明 @@ -2473,12 +2505,13 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0) -| 引数 | 型 | | 説明 | -| --- | --- |:--:| --------------------------------------- | -| 戻り値 | any | <- | コレクションの最後の要素| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any |<-|Last element of collection| +
    + #### 説明 @@ -2524,13 +2557,14 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0) -| 引数 | 型 | | 説明 | -| ------- | ---------- |:--:| ------------------------------------------- | -| element | 複合 | -> | コレクションに追加する要素 | -| 戻り値 | Collection | <- | 要素の追加された元のコレクション| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|element|Mixed|->|Element(s) to add to the collection| +|Result|Collection |<-|Original collection containing added elements| +
    + #### 説明 @@ -2587,15 +2621,16 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0) -| 引数 | 型 | | 説明 | -| ------------- | ---------- |:--:| ---------------------------------------------------- | -| queryString | Text | -> | 検索条件 | -| value | 複合 | -> | プレースホルダー使用時: 比較する値 | -| querySettings | Object | -> | クエリオプション: parameters, attributes 他 | -| 戻り値 | Collection | <- | queryString に合致するコレクション要素| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|Mixed|->|Value(s) to compare when using placeholder(s)| +|querySettings|Object|->|Query options: parameters, attributes| +|Result|Collection |<-|Element(s) matching queryString in the collection| +
    + #### 説明 @@ -2697,16 +2732,17 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 -| 引数 | 型 | | 説明 | -| ---------- | ----------------------------------------------- |:--:| ------------------------------------------------- | -| formula | 4D.Function | -> | フォーミュラオブジェクト | -| methodName | Text | -> | メソッド名 | -| initValue | Text, Number, Object, Collection, Date, Boolean | -> | *formula* または *methodName* の最初の呼び出しに最初の引数として使用する値 | -| param | 式 | -> | 渡す引数 | -| 戻り値 | Text, Number, Object, Collection, Date, Boolean | <- | アキュムレーター値の結果| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *formula* or *methodName*| +|param |expression|->|Parameter(s) to pass| +|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +
    + #### 説明 @@ -2790,16 +2826,17 @@ $r:=$c.reduce(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 で -| 引数 | 型 | | 説明 | -| ---------- | ----------------------------------------------- |:--:| ------------------------------------------------- | -| formula | 4D.Function | -> | フォーミュラオブジェクト | -| methodName | Text | -> | メソッド名 | -| initValue | Text, Number, Object, Collection, Date, Boolean | -> | *formula* または *methodName* の最初の呼び出しに最初の引数として使用する値 | -| param | 式 | -> | 渡す引数 | -| 戻り値 | Text, Number, Object, Collection, Date, Boolean | <- | アキュムレーター値の結果| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *formula* or *methodName*| +|param |expression|->|Parameter(s) to pass| +|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +
    + #### 説明 @@ -2886,14 +2923,15 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 -| 引数 | 型 | | 説明 | -| ------- | ---------- |:--:| ------------------------------------------- | -| index | Integer | -> | 削除を開始する要素の位置 | -| howMany | Integer | -> | 削除する要素の数、省略時は 1要素を削除 | -| 戻り値 | Collection | <- | 要素が削除された元のコレクション| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index |Integer|->|Element at which to start removal| +|howMany |Integer|->|Number of elements to remove, or 1 element if omitted| +|Result|Collection|<-|Modified collection without removed element(s)| +
    + #### 説明 @@ -2952,14 +2990,15 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 -| 引数 | 型 | | 説明 | -| ------------ | ----------------------------------------------- |:--:| ------------------------------------------ | -| size | Integer | -> | コレクションの新しいサイズ | -| defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | 新規要素のデフォルト値 | -| 戻り値 | Collection | <- | リサイズされた元のコレクション| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|size |Integer|->|New size of the collection| +|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Default value to fill new elements| +|Result|Collection|<-|Resized original collection| +
    + #### 説明 @@ -3013,12 +3052,13 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 -| 引数 | 型 | | 説明 | -| --- | ---------- |:--:| ---------------------------------------------- | -| 戻り値 | Collection | <- | 逆順に要素を格納した新しいコレクション| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Inverted copy of the collection| +
    + #### 説明 @@ -3056,12 +3096,13 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 -| 引数 | 型 | | 説明 | -| --- | --- |:--:| -------------------------------------- | -| 戻り値 | any | <- | コレクションの先頭要素| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any|<-|First element of collection| +
    + #### 説明 @@ -3106,14 +3147,15 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 -| 引数 | 型 | | 説明 | -| --------- | ---------- |:--:| ------------------------------------------------------- | -| startFrom | Integer | -> | 開始インデックス (含まれる) | -| end | Integer | -> | 終了インデックス (含まれない) | -| 戻り値 | Collection | <- | 抜粋要素を格納した新しいコレクション(シャロウ・コピー)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Start index (included)| +|end |Integer |->|End index (not included)| +|Result|Collection|<-|New collection containing sliced elements (shallow copy)| +
    + #### 説明 @@ -3162,16 +3204,17 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 -| 引数 | 型 | | 説明 | -| ---------- | ----------- |:--:| ---------------------------------------------------- | -| startFrom | Integer | -> | テストを開始するインデックス | -| formula | 4D.Function | -> | フォーミュラオブジェクト | -| methodName | Text | -> | メソッド名 | -| param | 複合 | -> | 渡す引数 | -| 戻り値 | Boolean | <- | 少なくとも一つの要素がテストをパスすれば true| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Index to start the test at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param |Mixed |->|Parameter(s) to pass| +|Result|Boolean|<-|True if at least one element successfully passed the test| +
    + #### 説明 @@ -3249,13 +3292,16 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 -| 引数 | 型 | | 説明 | -| ---------- | ----------- |:--:| ------------------------------------------ | -| ascOrDesc | Integer | -> | `ck ascending` または `ck descending` (スカラー値) | -| formula | 4D.Function | -> | フォーミュラオブジェクト | -| methodName | Text | -> | メソッド名 | -| extraParam | any | -> | methodName に渡す引数 | -| 戻り値 | Collection | <- | 並べ替えられた元のコレクション | +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|extraParam |any |->|Parameter(s) for the method| +|Result|Collection|<-|Original collection sorted| +
    @@ -3345,13 +3391,14 @@ $col3:=$col.sort(Formula(String($1.value) -| 引数 | 型 | | 説明 | -| ------------ | ---- |:--:| ---------------------------------------- | -| propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | -| 戻り値 | Real | <- | コレクション要素の値の合計| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath |Text |->|Object property path to be used for calculation| +|Result|Real|<-|Sum of collection values| +
    + #### 説明 @@ -3411,14 +3458,15 @@ $col3:=$col.sort(Formula(String($1.value) -| 引数 | 型 | | 説明 | -| -------------------------- | -------------------------------------- |:--:| ---------------- | -| value | Text, Number, Object, Collection, Date | -> | コレクションの先頭に挿入する値 | -| 戻り値 | Collection | <- | 要素の追加された元のコレクション | -| - +
    -| | | | +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value |Text, Number, Object, Collection, Date |->|Value(s) to insert at the beginning of the collection| +|Result|Collection|<-|Collection containing added element(s) +| +
    + #### 説明 From 03b6a7946a7bbf516c3b8269b5ffb4e0b0ece3cd Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:06:31 +0100 Subject: [PATCH 020/107] New translations functionclass.md (Japanese) --- .../version-20/API/FunctionClass.md | 74 +++++++++---------- 1 file changed, 33 insertions(+), 41 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md index 80d82ec4988a39..ee9016d2e107a5 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md @@ -136,16 +136,14 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する -| 引数 | 型 | | 説明 | -| ---------- | ----------- |:--:| -------------------------------------------------------------- | -| formulaExp | 式 | -> | オブジェクトとして返されるフォーミュラ | -| 戻り値 | 4D.Function | <- | フォーミュラを格納しているネイティブな Function オブジェクト| - - -| - - +
    +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaExp|Expression|->|Formula to be returned as object| +|Result|4D.Function|<-|Native function encapsulating the formula| +
    + #### 説明 @@ -314,16 +312,14 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する -| 引数 | 型 | | 説明 | -| ------------- | ----------- |:--:| ---------------------------------------------------- | -| formulaString | Text | -> | オブジェクトとして返されるフォーミュラ文字列 | -| 戻り値 | 4D.Function | <- | フォーミュラを格納しているネイティブなオブジェクト| - - -| - - +
    +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaString|Text|->|Text formula to be returned as object| +|Result|4D.Function|<-|Native object encapsulating the formula| +
    + #### 説明 @@ -382,17 +378,15 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する -| 引数 | 型 | | 説明 | -| ------------- | ---------- |:--:| -------------------------------------- | -| thisObj | Object | -> | フォーミュラ内で This コマンドによって返されるオブジェクト | -| formulaParams | Collection | -> | フォーミュラが実行される際に $1...$n として渡される値のコレクション | -| 戻り値 | any | <- | フォーミュラの実行結果| - - -| - - - +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|formulaParams |Collection|->|Collection of values to be passed as $1...$n when `formula` is executed| +|Result|any|<-|Value from formula execution| +
    + #### 説明 @@ -455,21 +449,19 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any -| 引数 | 型 | | 説明 | -| ------- | ------ | -- | -------------------------------------- | -| thisObj | Object | -> | フォーミュラ内で This コマンドによって返されるオブジェクト | -| params | any | -> | フォーミュラが実行される際に $1...$n として渡される値 | -| 戻り値 | any | <- | フォーミュラの実行結果| - - -| - - - +
    + +|Parameter|Type||Description| +|---|---|---|---| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|params |any|->|Value(s) to be passed as $1...$n when formula is executed| +|Result|any|<-|Value from formula execution| +
    + #### 説明 From 82373f79562e2515b4e59b82eb9e0096da1d3cb8 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:21:55 +0100 Subject: [PATCH 021/107] New translations classclass.md (Japanese) --- .../ja/docusaurus-plugin-content-docs/current/API/ClassClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3b6741a20efdec..7c79e83e6bda03 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/ClassClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/ClassClass.md @@ -141,7 +141,7 @@ title: Class -**.new**( { ...*param* : any } ) : 4D.Object +**.new**( { *...param* : any } ) : 4D.Object From e748d8e6223ecbb94814deb4524f974f3c38409a Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:22:01 +0100 Subject: [PATCH 022/107] New translations collectionclass.md (Japanese) --- .../current/API/CollectionClass.md | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/CollectionClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/CollectionClass.md index c0b556979f597a..f84c1767556e54 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/CollectionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/CollectionClass.md @@ -283,7 +283,7 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -**.concat**( *value* : any { ; ...*valueN* } ) : Collection +**.concat**( *value* : any { ; *...valueN* } ) : Collection @@ -951,7 +951,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -**.filter**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
    **.filter**( *methodName* : Text { ; ...*param* : any } ) : Collection +**.filter**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.filter**( *methodName* : Text { ; *...param* : any } ) : Collection @@ -1040,7 +1040,7 @@ $colNew:=$col.filter(Formula((Value type($1.value)=Is text) && (Length($1.value) -**.find**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : any
    **.find**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : any +**.find**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : any
    **.find**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : any @@ -1133,7 +1133,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 -**.findIndex**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : Integer
    **.findIndex**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : Integer +**.findIndex**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : Integer
    **.findIndex**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : Integer @@ -1318,7 +1318,7 @@ $col.flat(MAXLONG) -**.flatMap**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
    **.flatMap**( *methodName* : Text { ; ...*param* : any } ) : Collection +**.flatMap**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.flatMap**( *methodName* : Text { ; *...param* : any } ) : Collection @@ -1545,7 +1545,7 @@ $c2:=$c.flatMap($f; $c.sum()) -**.indices**( *queryString* : Text { ; ...*value* : any } ) : Collection +**.indices**( *queryString* : Text { ; *...value* : any } ) : Collection @@ -1849,7 +1849,7 @@ $last:=$emptyCol.last() // このコードは undefined を返します -**.map**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
    **.map**( *methodName* : Text { ; ...*param* : any } ) : Collection +**.map**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.map**( *methodName* : Text { ; *...param* : any } ) : Collection @@ -2302,7 +2302,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection @@ -2514,7 +2514,7 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) -**.query**( *queryString* : Text ) : Collection
    **.query**( *queryString* : Text ; ...*value* : any ) : Collection
    **.query**( *queryString* : Text ; *querySettings* : Object ) : Collection +**.query**( *queryString* : Text ) : Collection
    **.query**( *queryString* : Text ; *...value* : any ) : Collection
    **.query**( *queryString* : Text ; *querySettings* : Object ) : Collection @@ -2818,7 +2818,7 @@ $entitySelection:=ds.Employee.query("birthDate <= :1";Current date-10950) -**.reduce**( *formula* : 4D.Function { ; *initValue* : any { ; ...*param* : expression }} ) : any
    **.reduce**( *methodName* : Text { ; *initValue* : any { ; ...*param* : expression }} ) : any +**.reduce**( *formula* : 4D.Function { ; *initValue* : any { ; *...param* : expression }} ) : any
    **.reduce**( *methodName* : Text { ; *initValue* : any { ; *...param* : expression }} ) : any @@ -2906,7 +2906,7 @@ $r:=$c.reduce(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 で -**.reduceRight**( *formula* : 4D.Function { ; *initValue* : any { ; ...*param* : expression }} ) : any
    **.reduceRight**( *methodName* : Text { ; *initValue* : any { ; ...*param* : expression }} ) : any +**.reduceRight**( *formula* : 4D.Function { ; *initValue* : any { ; *...param* : expression }} ) : any
    **.reduceRight**( *methodName* : Text { ; *initValue* : any { ; *...param* : expression }} ) : any @@ -3253,7 +3253,7 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 -**.some**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : Boolean
    **.some**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : Boolean +**.some**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : Boolean
    **.some**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : Boolean @@ -3336,7 +3336,7 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 -**.sort**() : Collection
    **.sort**( *ascOrDesc* : Integer ) : Collection
    **.sort**( *formula* : 4D.Function { ; ...*extraParam* : any } ) : Collection
    **.sort**( *methodName* : Text { ; ...*extraParam* : any } ) : Collection +**.sort**() : Collection
    **.sort**( *ascOrDesc* : Integer ) : Collection
    **.sort**( *formula* : 4D.Function { ; *...extraParam* : any } ) : Collection
    **.sort**( *methodName* : Text { ; *...extraParam* : any } ) : Collection From bdb4f4e77e0b2b3ee72571fcab30ade4a73d02a7 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:22:06 +0100 Subject: [PATCH 023/107] New translations dataclassclass.md (Japanese) --- .../current/API/DataClassClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/DataClassClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/DataClassClass.md index 3df7a363a3bc0f..f247735becb39a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/DataClassClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/DataClassClass.md @@ -902,7 +902,7 @@ $cacheAddress:=$ds.Adress.getRemoteCache() -**.query**( *queryString* : Text { ; ...*value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection +**.query**( *queryString* : Text { ; *...value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection From 9c4d46215f6f7218f67ad799523eb80fc3b435be Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:22:25 +0100 Subject: [PATCH 024/107] New translations entityselectionclass.md (Japanese) --- .../current/API/EntitySelectionClass.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md index 4b99bb4818de75..28611dea847311 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md @@ -898,7 +898,7 @@ $paths:=ds.Employee.all().distinctPaths("fullData") -**.extract**( *attributePath* : Text { ; *option* : Integer } ) : Collection
    **.extract**( ...*attributePath* : Text ; ...*targetPath* : Text ) : Collection +**.extract**( *attributePath* : Text { ; *option* : Integer } ) : Collection
    **.extract**( *...attributePath* : Text ; *...targetPath* : Text ) : Collection @@ -1823,7 +1823,7 @@ pathObjects コレクションには必要な数だけオブジェクトを追 -**.query**( *queryString* : Text { ; ...*value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection +**.query**( *queryString* : Text { ; *...value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection From 091a1df5673fa5b2903b91f4e0f5ec0000951f17 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:22:32 +0100 Subject: [PATCH 025/107] New translations functionclass.md (Japanese) --- .../docusaurus-plugin-content-docs/current/API/FunctionClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/FunctionClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/FunctionClass.md index 5e6bb9f9d07908..272b17733a46fc 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/FunctionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/FunctionClass.md @@ -171,7 +171,7 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any From 3632ff125feb18d4158cba40a457256c960af808 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:23:53 +0100 Subject: [PATCH 026/107] New translations quick-tour.md (Japanese) --- .../current/Concepts/quick-tour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md index 7aede1194c82c7..0bd0053c9ebce9 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md @@ -430,5 +430,5 @@ End for - 中カッコ `{ }` は、任意のパラメーターを示します。 たとえば、`.delete( { option : Integer } )` という表記の場合、関数を呼び出す際に *option* パラメーターを省略することができます。 - `any` キーワードは、あらゆる型(数値、テキスト、ブール、日付、時間、オブジェクト、コレクション、など)が可能な引数に対して使用されます。 -- `{; ...*param* : Type}` という表記は、同じ型のパラメーターの数に制限がないことを示します。 たとえば、`.concat( value : any { ;...valueN : any } ) : Collection` という表記の場合、あらゆる型の引数を数に制限なく関数に渡すことができます。 +- the `{; *...param* : Type}` notation indicates an unlimited number of parameters of the same type. たとえば、`.concat( value : any { ;...valueN : any } ) : Collection` という表記の場合、あらゆる型の引数を数に制限なく関数に渡すことができます。 - `{; ...(*param* : Type ; *param2* : Type) }` という表記は、グループでのパラメーターの数に制限がないことを示します。 例えば、`COLLECTION TO ARRAY ( collection : Collection ; array : Array {; propertyName : Text}{; ...(array : Array ; propertyName : Text) } )` という表記は、値またはテキスト型配列のペアを無制限にコマンドに渡すことができるということを意味します。 From 3a6ff4f4cdea3e47bdb2fe7aad0d9d4d6b892f82 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:44:41 +0100 Subject: [PATCH 027/107] New translations new-collection.md (Japanese) --- .../current/commands/new-collection.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/new-collection.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/new-collection.md index cdd42c5dd22df4..c15921e68ba568 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/new-collection.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/new-collection.md @@ -4,15 +4,18 @@ title: New collection displayed_sidebar: docs --- -**New collection** {( ...*value* : any )} : Collection +**New collection** {( *...value* : any )} : Collection +
    + | 引数 | 型 | | 説明 | | ----- | ---------- | --------------------------- | -------------- | | value | any | → | コレクションの値 | | 戻り値 | Collection | ← | New collection | +
    ## 説明 From 7af32230dbcba9e6d2774997cf56937803f5bc0d Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:44:43 +0100 Subject: [PATCH 028/107] New translations new-shared-collection.md (Japanese) --- .../current/commands/new-shared-collection.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md b/i18n/ja/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md index 48fb444f8d01d6..e405fe0d3f4b38 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md @@ -4,15 +4,18 @@ title: New shared collection displayed_sidebar: docs --- -**New shared collection** {( ...*value* : any )} : Collection +**New shared collection** {( *...value* : any )} : Collection -| 引数 | 型 | | 説明 | -| ----- | ---------- | --------------------------- | ---------- | -| value | any | → | 共有コレクションの値 | -| 戻り値 | Collection | ← | 新規共有コレクション | +
    +| 引数 | 型 | | 説明 | +| ----- | ---------- | --------------------------- | --------------------- | +| value | any | → | 共有コレクションの値 | +| 戻り値 | Collection | ← | New shared collection | + +
    ## 説明 @@ -41,8 +44,8 @@ displayed_sidebar: docs - 数値 (実数、倍長整数...)。 数値は常に実数として保存されます。 - text -- ブール -- 日付 +- boolean +- date - 時間 (ミリ秒の数 (実数) として保存されます)。 - null - 共有オブジェクト From 2c3de291bfc20d702c72635519a726ece1db14c1 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:45:53 +0100 Subject: [PATCH 029/107] New translations wp-reset-attributes.md (Japanese) --- .../current/WritePro/commands/wp-reset-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md b/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md index 1215b0960db853..1ceed2b517b7c7 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md @@ -4,7 +4,7 @@ title: WP RESET ATTRIBUTES displayed_sidebar: docs --- -**WP RESET ATTRIBUTES** ( *targetObj* : Object ; ...*attribName* : Text )
    **WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; ...*attribName* : Text })
    **WP RESET ATTRIBUTES** ( *targetObj* : Object ; *attribColl* : Collection )
    **WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *attribColl* : Collection}) +**WP RESET ATTRIBUTES** ( *targetObj* : Object ; *...attribName* : Text )
    **WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *...attribName* : Text })
    **WP RESET ATTRIBUTES** ( *targetObj* : Object ; *attribColl* : Collection )
    **WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *attribColl* : Collection}) From 3ea7eb078267111051490a3d94fe51f3d3d6503b Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:47:05 +0100 Subject: [PATCH 030/107] New translations wp-set-attributes.md (Japanese) --- .../current/WritePro/commands/wp-set-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md b/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md index b925596e77c7da..a6feb7e864b682 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md @@ -4,7 +4,7 @@ title: WP SET ATTRIBUTES displayed_sidebar: docs --- -**WP SET ATTRIBUTES** ( *targetObj* : Object ; ...*attribName* : Text ; ...*attribValue* : any )
    **WP SET ATTRIBUTES** ( *targetObj* : Object ; *attribObj* : Object ) +**WP SET ATTRIBUTES** ( *targetObj* : Object ; *...attribName* : Text ; *...attribValue* : any )
    **WP SET ATTRIBUTES** ( *targetObj* : Object ; *attribObj* : Object ) From a60a9e5186f28db5c2bedf372f4da63a2da463c3 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:47:11 +0100 Subject: [PATCH 031/107] New translations wp-get-attributes.md (Japanese) --- .../current/WritePro/commands/wp-get-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md b/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md index 7b51fb305d1398..05a6bcc9b5f778 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md @@ -4,7 +4,7 @@ title: WP Get attributes displayed_sidebar: docs --- -**WP Get attributes** ( *targetObj* : Object ; ...*attribName* : Text ; ...*attribValue* : any ) : Object
    **WP Get attributes** ( *targetObj* : Object ; *attribColl* : Collection ) : Object +**WP Get attributes** ( *targetObj* : Object ; *...attribName* : Text ; *...attribValue* : any ) : Object
    **WP Get attributes** ( *targetObj* : Object ; *attribColl* : Collection ) : Object From 6f3b060cfdf5a11e62e0e93124d7459e16a42679 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:47:17 +0100 Subject: [PATCH 032/107] New translations wp-table-append-row.md (Japanese) --- .../current/WritePro/commands/wp-table-append-row.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md b/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md index 60842a684b0ca4..f84fe360d476b9 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md @@ -4,7 +4,7 @@ title: WP Table append row displayed_sidebar: docs --- -**WP Table append row** ( *tableRef* : Object ; ...*value* : any ) : Object
    **WP Table append row** ( *tableRef* : Object ; *valueColl* : Collection ) : Object +**WP Table append row** ( *tableRef* : Object ; *...value* : any ) : Object
    **WP Table append row** ( *tableRef* : Object ; *valueColl* : Collection ) : Object From e61b761fb86dc878a55b5c17286805247d1fe353 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:51:58 +0100 Subject: [PATCH 033/107] New translations collectionclass.md (Japanese) --- .../version-21/API/CollectionClass.md | 140 +++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md index 9b31e51c1329dd..445f0c91699653 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md @@ -82,11 +82,14 @@ Collectionクラスは [コレクション](Concepts/dt_collection.md) 型の式 +
    + | 引数 | 型 | | 説明 | | ----- | ------- | :-------------------------: | ------------- | | index | Integer | -> | 取得する要素のインデックス | | 戻り値 | any | <- | そのインデックスにある要素 | +
    #### 説明 @@ -129,11 +132,14 @@ $element:=$col.at(10) // undefined +
    + | 引数 | 型 | | 説明 | | ------------ | --------------- | :-------------------------: | --------------------- | | propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | | 戻り値 | Real, Undefined | <- | コレクションの値の算術平均 | +
    #### 説明 @@ -187,10 +193,13 @@ $element:=$col.at(10) // undefined +
    + | 引数 | 型 | | 説明 | | --- | ---------- | :-------------------------: | ----------------- | | 戻り値 | Collection | <- | 全要素が削除された元のコレクション | +
    #### 説明 @@ -226,12 +235,15 @@ $vSize:=$col.length //$vSize=0 +
    + | 引数 | 型 | | 説明 | | ----- | ---------- | :-------------------------: | ------------------------------------------------ | | col2 | Collection | -> | 追加するコレクション | | index | Integer | -> | 追加要素を挿入する位置 (デフォルトは length+1) | | 戻り値 | Collection | <- | 追加要素を格納した元のコレクション | +
    #### 説明 @@ -275,11 +287,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] +
    + | 引数 | 型 | | 説明 | | ----- | ---------- | :-------------------------: | ----------------------------------------------------- | | value | any | -> | 連結する値。 *value* がコレクションの場合、コレクションの全要素が元のコレクションに追加されます。 | | 戻り値 | Collection | <- | 元のコレクションに値が追加された新規コレクション | +
    #### 説明 @@ -320,6 +335,8 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] +
    + | 引数 | 型 | | 説明 | | ------------ | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------- | | option | Integer | -> | `ck resolve pointers`: コピー前にポインターを解決する
    `ck shared`: 共有コレクションを返す | @@ -327,6 +344,7 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] | groupWithObj | Object | -> | 結果のコレクションとグループする共有オブジェクト | | 戻り値 | Collection | <- | 元のコレクションのディープ・コピー | +
    #### 説明 @@ -447,11 +465,14 @@ End use +
    + | 引数 | 型 | | 説明 | | ------------ | ---- | :-------------------------: | --------------------- | | propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | | 戻り値 | Real | <- | コレクション内の要素の数 | +
    #### 説明 @@ -493,12 +514,15 @@ End use +
    + | 引数 | 型 | | 説明 | | ------------ | ----------------------------------------------- | :-------------------------: | --------------------- | | value | Text, Number, Boolean, Date, Object, Collection | -> | 数える値 | | propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | | 戻り値 | Real | <- | 値の出現回数 | +
    #### 説明 @@ -571,12 +595,15 @@ End use +
    + | 引数 | 型 | | 説明 | | ------------ | ---------- | :-------------------------: | ----------------------------------- | | propertyPath | Text | -> | 重複しない値を取得する属性のパス | | options | Integer | -> | `ck diacritical`, `ck count values` | | 戻り値 | Collection | <- | 重複しない値のみを格納した新規コレクション | +
    #### 説明 @@ -631,12 +658,15 @@ End use +
    + | 引数 | 型 | | 説明 | | ----------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------- | | collection2 | Collection | -> | 比較するコレクション | | option | Integer | -> | `ck diacritical`: アクセント等の発音区別符号を無視しない評価 (たとえば "A" # "a") | | 戻り値 | Boolean | <- | コレクションが同一の場合には true、それ以外は false | +
    #### 説明 @@ -700,6 +730,8 @@ End use +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | -------------------------------- | | startFrom | Integer | -> | テストを開始するインデックス | @@ -708,6 +740,7 @@ End use | param | any | -> | *formula* または *methodName* に渡す引数 | | 戻り値 | Boolean | <- | すべての要素がテストをパスすれば true | +
    #### 説明 @@ -791,6 +824,8 @@ $b:=$c.every($f;Is real) //$b=false +
    + | 引数 | 型 | | 説明 | | ------------ | ---------- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | 新しいコレクションに抽出する値のオブジェクトプロパティパス | @@ -798,6 +833,7 @@ $b:=$c.every($f;Is real) //$b=false | option | Integer | -> | `ck keep null`: 返されるコレクションに null プロパティを含めます (デフォルトでは無視されます)。 *targetPath* を渡した場合には、この引数は無視されます。 | | 戻り値 | Collection | <- | 抽出した値を格納した新しいコレクション | +
    #### 説明 @@ -861,6 +897,8 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 +
    + | 引数 | 型 | | 説明 | | --------- | ----------------------------------------------- | :-------------------------: | ----------------------------------- | | value | number, Text, Collection, Object, Date, Boolean | -> | 代入する値 | @@ -868,6 +906,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 | end | Integer | -> | 終了インデックス (含まれない) | | 戻り値 | collection | <- | 値が代入された元のコレクション | +
    #### 説明 @@ -916,6 +955,8 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ----------------------------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | @@ -923,6 +964,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 | param | any | -> | *formula* または *methodName* に渡す引数 | | 戻り値 | Collection | <- | フィルターされた要素を格納した新しいコレクション(シャロウ・コピー) | +
    #### 説明 @@ -1002,6 +1044,8 @@ $colNew:=$col.filter(Formula((Value type($1.value)=Is text) && (Length($1.value) +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | -------------------------------- | | startFrom | Integer | -> | 検索を開始するインデックス | @@ -1010,6 +1054,7 @@ $colNew:=$col.filter(Formula((Value type($1.value)=Is text) && (Length($1.value) | param | any | -> | *formula* または *methodName* に渡す引数 | | 戻り値 | any | <- | 最初に見つかった値。見つからなかった場合には Undefined | +
    #### 説明 @@ -1092,6 +1137,8 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | -------------------------------- | | startFrom | Integer | -> | 検索を開始するインデックス | @@ -1100,6 +1147,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 | param | any | -> | *formula* または *methodName* に渡す引数 | | 戻り値 | Integer | <- | 最初に見つかった値のインデックス。見つからなかった場合には -1 | +
    #### 説明 @@ -1170,10 +1218,13 @@ $val3:=$c.findIndex($val2+1;Formula($1.value.name=$2);"Clanton") //$val3=4 +
    + | 引数 | 型 | | 説明 | | --- | --- | :-------------------------: | ----------- | | 戻り値 | any | <- | コレクションの先頭要素 | +
    #### 説明 @@ -1215,11 +1266,14 @@ $first:=$emptyCol.first() // このコードは undefined を返します +
    + | 引数 | 型 | | 説明 | | ----- | ---------- | :-------------------------: | --------------------------------------- | | depth | Integer | -> | ネストされたコレクションの階層をどの範囲まで平坦化するか。 デフォルト = 1 | | 戻り値 | Collection | <- | 平坦化されたコレクション | +
    #### 説明 @@ -1268,6 +1322,8 @@ $col.flat(MAXLONG) +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ---------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | @@ -1275,6 +1331,7 @@ $col.flat(MAXLONG) | param | any | -> | *formula* または *methodName* に渡す引数 | | 戻り値 | Collection | <- | 変換された値を格納し、1レベルのネストが解除された新しいコレクション | +
    #### 説明 @@ -1360,12 +1417,15 @@ $c2:=$c.flatMap($f; $c.sum()) +
    + | 引数 | 型 | | 説明 | | --------- | ------- | :-------------------------: | ------------------------------ | | toSearch | 式 | -> | コレクション内を検索する式 | | startFrom | Integer | -> | 検索を開始するインデックス | | 戻り値 | Boolean | <- | *toSearch* がコレクションにある場合は true。 | +
    #### 説明 @@ -1425,12 +1485,15 @@ $c2:=$c.flatMap($f; $c.sum()) +
    + | 引数 | 型 | | 説明 | | --------- | ------- | :-------------------------: | ----------------------------------------- | | toSearch | 式 | -> | コレクション内を検索する式 | | startFrom | Integer | -> | 検索を開始するインデックス | | 戻り値 | Integer | <- | 最初に見つかった toSearch のインデックス。見つからなかった場合には -1 | +
    #### 説明 @@ -1486,12 +1549,15 @@ $c2:=$c.flatMap($f; $c.sum()) +
    + | 引数 | 型 | | 説明 | | ----------- | ---------- | :-------------------------: | ---------------------------------- | | queryString | Text | -> | 検索条件 | | value | any | -> | プレースホルダー使用時: 比較する値 | | 戻り値 | Collection | <- | queryString に合致するコレクション要素のインデックス | +
    #### 説明 @@ -1541,12 +1607,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 +
    + | 引数 | 型 | | 説明 | | ------- | ---------- | :-------------------------: | ---------------- | | index | Integer | -> | 要素の挿入位置 | | element | any | -> | コレクションに挿入する要素 | | 戻り値 | Collection | <- | 要素の挿入された元のコレクション | +
    #### 説明 @@ -1593,12 +1662,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 +
    + | 引数 | 型 | | 説明 | | --------- | ------- | :-------------------------: | ---------------------------------------------------------------- | | delimiter | Text | -> | 要素間に用いる区切り文字 | | option | Integer | -> | `ck ignore null or empty`: 戻り値に null と空の文字列を含めない | | 戻り値 | Text | <- | 区切り文字を使ってコレクションの全要素をつなげた文字列 | +
    #### 説明 @@ -1637,10 +1709,13 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 +
    + | 引数 | 型 | | 説明 | | --- | --- | :-------------------------: | ------------ | | 戻り値 | any | <- | コレクションの最後の要素 | +
    #### 説明 @@ -1683,12 +1758,15 @@ $last:=$emptyCol.last() // このコードは undefined を返します +
    + | 引数 | 型 | | 説明 | | --------- | ------- | :-------------------------: | ----------------------------------------- | | toSearch | 式 | -> | コレクション内を検索する要素 | | startFrom | Integer | -> | 検索を開始するインデックス | | 戻り値 | Integer | <- | 最後に見つかった toSearch のインデックス。見つからなかった場合には -1 | +
    #### 説明 @@ -1775,6 +1853,8 @@ $last:=$emptyCol.last() // このコードは undefined を返します +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | -------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | @@ -1782,6 +1862,7 @@ $last:=$emptyCol.last() // このコードは undefined を返します | param | any | -> | *formula* または *methodName* に渡す引数 | | 戻り値 | Collection | <- | 変換された値を格納する新しいコレクション | +
    #### 説明 @@ -1835,11 +1916,14 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) +
    + | 引数 | 型 | | 説明 | | ------------ | ----------------------------------------------- | :-------------------------: | ------------------ | | propertyPath | Text | -> | 評価するオブジェクトプロパティのパス | | 戻り値 | Boolean, Text, Number, Collection, Object, Date | <- | コレクション内の最大値 | +
    #### 説明 @@ -1885,11 +1969,14 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) +
    + | 引数 | 型 | | 説明 | | ------------ | ----------------------------------------------- | :-------------------------: | ------------------ | | propertyPath | Text | -> | 評価するオブジェクトプロパティのパス | | 戻り値 | Boolean, Text, Number, Collection, Object, Date | <- | コレクション内の最小値 | +
    #### 説明 @@ -1935,12 +2022,15 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | | colsToSort | Collection | -> | コレクションのコレクション、または {`collection`:*colToSort*;`order`:`ck ascending` / `ck descending`} プロパティを持つオブジェクトのコレクション | | 戻り値 | Collection | <- | 並べ替えられた元のコレクション | +
    #### 説明 @@ -2072,6 +2162,8 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) +
    + | 引数 | 型 | | 説明 | | ----------- | ---------- | :-------------------------: | ------------------------------------------------------------- | | pathStrings | Text | -> | コレクションの並べ替え基準とするプロパティパス | @@ -2079,6 +2171,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) | ascOrDesc | Integer | -> | `ck ascending` または `ck descending` (スカラー値) | | 戻り値 | Collection | <- | 並べ替えられたコレクションのコピー (シャロウ・コピー) | +
    #### 説明 @@ -2209,10 +2302,12 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ----------------------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | @@ -2220,6 +2315,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) | extraParam | any | -> | 渡す引数 | | 戻り値 | Collection | <- | 並べ替えられたコレクションのコピー (シャロウ・コピー) | +
    #### 説明 @@ -2315,10 +2411,13 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) +
    + | 引数 | 型 | | 説明 | | --- | --- | :-------------------------: | ------------ | | 戻り値 | any | <- | コレクションの最後の要素 | +
    #### 説明 @@ -2361,11 +2460,14 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) +
    + | 引数 | 型 | | 説明 | | ------- | ---------- | :-------------------------: | ---------------- | | element | any | -> | コレクションに追加する要素 | | 戻り値 | Collection | <- | 要素の追加された元のコレクション | +
    #### 説明 @@ -2416,6 +2518,8 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) +
    + | 引数 | 型 | | 説明 | | ------------- | ---------- | :-------------------------: | -------------------------------------------------- | | queryString | Text | -> | 検索条件 | @@ -2423,6 +2527,7 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) | querySettings | Object | -> | クエリオプション: parameters, attributes 他 | | 戻り値 | Collection | <- | queryString に合致するコレクション要素 | +
    #### 説明 @@ -2717,6 +2822,8 @@ $entitySelection:=ds.Employee.query("birthDate <= :1";Current date-10950) +
    + | 引数 | 型 | | 説明 | | ---------- | ----------------------------------------------- | :-------------------------: | ------------------------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | @@ -2725,6 +2832,7 @@ $entitySelection:=ds.Employee.query("birthDate <= :1";Current date-10950) | param | 式 | -> | 渡す引数 | | 戻り値 | Text, Number, Object, Collection, Date, Boolean | <- | アキュムレーター値の結果 | +
    #### 説明 @@ -2802,6 +2910,8 @@ $r:=$c.reduce(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 で +
    + | 引数 | 型 | | 説明 | | ---------- | ----------------------------------------------- | :-------------------------: | ------------------------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | @@ -2810,6 +2920,7 @@ $r:=$c.reduce(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 で | param | 式 | -> | 渡す引数 | | 戻り値 | Text, Number, Object, Collection, Date, Boolean | <- | アキュムレーター値の結果 | +
    #### 説明 @@ -2889,12 +3000,15 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | ------- | ---------- | :-------------------------: | -------------------- | | index | Integer | -> | 削除を開始する要素の位置 | | howMany | Integer | -> | 削除する要素の数、省略時は 1要素を削除 | | 戻り値 | Collection | <- | 要素が削除された元のコレクション | +
    #### 説明 @@ -2944,12 +3058,15 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | ------------ | ----------------------------------------------- | :-------------------------: | --------------- | | size | Integer | -> | コレクションの新しいサイズ | | defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | 新規要素のデフォルト値 | | 戻り値 | Collection | <- | リサイズされた元のコレクション | +
    #### 説明 @@ -2999,10 +3116,13 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | --- | ---------- | :-------------------------: | ------------------- | | 戻り値 | Collection | <- | 逆順に要素を格納した新しいコレクション | +
    #### 説明 @@ -3037,10 +3157,13 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | --- | --- | :-------------------------: | ----------- | | 戻り値 | any | <- | コレクションの先頭要素 | +
    #### 説明 @@ -3080,12 +3203,15 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | --------- | ---------- | :-------------------------: | ----------------------------------------------- | | startFrom | Integer | -> | 開始インデックス (含まれる) | | end | Integer | -> | 終了インデックス (含まれない) | | 戻り値 | Collection | <- | 抜粋要素を格納した新しいコレクション(シャロウ・コピー) | +
    #### 説明 @@ -3131,6 +3257,8 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ------------------------- | | startFrom | Integer | -> | テストを開始するインデックス | @@ -3139,6 +3267,7 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 | param | any | -> | 渡す引数 | | 戻り値 | Boolean | <- | 少なくとも一つの要素がテストをパスすれば true | +
    #### 説明 @@ -3211,6 +3340,8 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ------------------------------------------------------------- | | ascOrDesc | Integer | -> | `ck ascending` または `ck descending` (スカラー値) | @@ -3219,6 +3350,7 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 | extraParam | any | -> | methodName に渡す引数 | | 戻り値 | Collection | <- | 並べ替えられた元のコレクション | +
    #### 説明 @@ -3304,11 +3436,14 @@ $col3:=$col.sort(Formula(String($1.value) +
    + | 引数 | 型 | | 説明 | | ------------ | ---- | :-------------------------: | --------------------- | | propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | | 戻り値 | Real | <- | コレクション要素の値の合計 | +
    #### 説明 @@ -3364,12 +3499,15 @@ $col3:=$col.sort(Formula(String($1.value) +
    + | 引数 | 型 | | 説明 | | ----- | -------------------------------------- | :-------------------------: | ---------------- | | value | Text, Number, Object, Collection, Date | -> | コレクションの先頭に挿入する値 | | 戻り値 | Collection | <- | 要素の追加された元のコレクション | | | | | | +
    #### 説明 From 1440dc9f902174b286d2bb3726d338ffcc8d56b4 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 11:52:27 +0100 Subject: [PATCH 034/107] New translations functionclass.md (Japanese) --- .../version-21/API/FunctionClass.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md index 5ca092fcbc48af..272b17733a46fc 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md @@ -112,12 +112,15 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する +
    + | 引数 | 型 | | 説明 | | ------------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------- | | thisObj | Object | -> | フォーミュラ内で This コマンドによって返されるオブジェクト | | formulaParams | Collection | -> | フォーミュラが実行される際に $1...$n として渡される値のコレクション | | 戻り値 | any | <- | フォーミュラの実行結果 | +
    #### 説明 @@ -168,16 +171,19 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any +
    + | 引数 | 型 | | 説明 | | ------- | ------ | --------------------------- | ------------------------------------------------------------------------------- | | thisObj | Object | -> | フォーミュラ内で This コマンドによって返されるオブジェクト | | params | any | -> | フォーミュラが実行される際に $1...$n として渡される値 | | 戻り値 | any | <- | フォーミュラの実行結果 | +
    #### 説明 From 88376c9c3f5af87a50cbdd24f940fd0d984477b9 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 12:22:23 +0100 Subject: [PATCH 035/107] New translations collectionclass.md (Japanese) --- .../version-21-R2/API/CollectionClass.md | 140 +++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md index ec314f570a9586..81242ad7283b97 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md @@ -82,11 +82,14 @@ Collectionクラスは [コレクション](Concepts/dt_collection.md) 型の式 +
    + | 引数 | 型 | | 説明 | | ----- | ------- | :-------------------------: | ------------- | | index | Integer | -> | 取得する要素のインデックス | | 戻り値 | any | <- | そのインデックスにある要素 | +
    #### 説明 @@ -129,11 +132,14 @@ $element:=$col.at(10) // undefined +
    + | 引数 | 型 | | 説明 | | ------------ | --------------- | :-------------------------: | --------------------- | | propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | | 戻り値 | Real, Undefined | <- | コレクションの値の算術平均 | +
    #### 説明 @@ -187,10 +193,13 @@ $element:=$col.at(10) // undefined +
    + | 引数 | 型 | | 説明 | | --- | ---------- | :-------------------------: | ----------------- | | 戻り値 | Collection | <- | 全要素が削除された元のコレクション | +
    #### 説明 @@ -226,12 +235,15 @@ $vSize:=$col.length //$vSize=0 +
    + | 引数 | 型 | | 説明 | | ----- | ---------- | :-------------------------: | ------------------------------------------------ | | col2 | Collection | -> | 追加するコレクション | | index | Integer | -> | 追加要素を挿入する位置 (デフォルトは length+1) | | 戻り値 | Collection | <- | 追加要素を格納した元のコレクション | +
    #### 説明 @@ -275,11 +287,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] +
    + | 引数 | 型 | | 説明 | | ----- | ---------- | :-------------------------: | ----------------------------------------------------- | | value | any | -> | 連結する値。 *value* がコレクションの場合、コレクションの全要素が元のコレクションに追加されます。 | | 戻り値 | Collection | <- | 元のコレクションに値が追加された新規コレクション | +
    #### 説明 @@ -320,6 +335,8 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] +
    + | 引数 | 型 | | 説明 | | ------------ | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------- | | option | Integer | -> | `ck resolve pointers`: コピー前にポインターを解決する
    `ck shared`: 共有コレクションを返す | @@ -327,6 +344,7 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] | groupWithObj | Object | -> | 結果のコレクションとグループする共有オブジェクト | | 戻り値 | Collection | <- | 元のコレクションのディープ・コピー | +
    #### 説明 @@ -447,11 +465,14 @@ End use +
    + | 引数 | 型 | | 説明 | | ------------ | ---- | :-------------------------: | --------------------- | | propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | | 戻り値 | Real | <- | コレクション内の要素の数 | +
    #### 説明 @@ -493,12 +514,15 @@ End use +
    + | 引数 | 型 | | 説明 | | ------------ | ---- | :-------------------------: | --------------------- | | value | any | -> | 数える値 | | propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | | 戻り値 | Real | <- | 値の出現回数 | +
    #### 説明 @@ -571,12 +595,15 @@ End use +
    + | 引数 | 型 | | 説明 | | ------------ | ---------- | :-------------------------: | ----------------------------------- | | propertyPath | Text | -> | 重複しない値を取得する属性のパス | | options | Integer | -> | `ck diacritical`, `ck count values` | | 戻り値 | Collection | <- | 重複しない値のみを格納した新規コレクション | +
    #### 説明 @@ -631,12 +658,15 @@ End use +
    + | 引数 | 型 | | 説明 | | ----------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------- | | collection2 | Collection | -> | 比較するコレクション | | option | Integer | -> | `ck diacritical`: アクセント等の発音区別符号を無視しない評価 (たとえば "A" # "a") | | 戻り値 | Boolean | <- | コレクションが同一の場合には true、それ以外は false | +
    #### 説明 @@ -700,6 +730,8 @@ End use +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | -------------------------------- | | startFrom | Integer | -> | テストを開始するインデックス | @@ -708,6 +740,7 @@ End use | param | any | -> | *formula* または *methodName* に渡す引数 | | 戻り値 | Boolean | <- | すべての要素がテストをパスすれば true | +
    #### 説明 @@ -791,6 +824,8 @@ $b:=$c.every($f;Is real) //$b=false +
    + | 引数 | 型 | | 説明 | | ------------ | ---------- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | 新しいコレクションに抽出する値のオブジェクトプロパティパス | @@ -798,6 +833,7 @@ $b:=$c.every($f;Is real) //$b=false | option | Integer | -> | `ck keep null`: 返されるコレクションに null プロパティを含めます (デフォルトでは無視されます)。 *targetPath* を渡した場合には、この引数は無視されます。 | | 戻り値 | Collection | <- | 抽出した値を格納した新しいコレクション | +
    #### 説明 @@ -861,6 +897,8 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 +
    + | 引数 | 型 | | 説明 | | --------- | ---------- | :-------------------------: | ----------------------------------- | | value | any | -> | 代入する値 | @@ -868,6 +906,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 | end | Integer | -> | 終了インデックス (含まれない) | | 戻り値 | Collection | <- | 値が代入された元のコレクション | +
    #### 説明 @@ -916,6 +955,8 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ----------------------------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | @@ -923,6 +964,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 | param | any | -> | *formula* または *methodName* に渡す引数 | | 戻り値 | Collection | <- | フィルターされた要素を格納した新しいコレクション(シャロウ・コピー) | +
    #### 説明 @@ -1002,6 +1044,8 @@ $colNew:=$col.filter(Formula((Value type($1.value)=Is text) && (Length($1.value) +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | -------------------------------- | | startFrom | Integer | -> | 検索を開始するインデックス | @@ -1010,6 +1054,7 @@ $colNew:=$col.filter(Formula((Value type($1.value)=Is text) && (Length($1.value) | param | any | -> | *formula* または *methodName* に渡す引数 | | 戻り値 | any | <- | 最初に見つかった値。見つからなかった場合には Undefined | +
    #### 説明 @@ -1092,6 +1137,8 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | -------------------------------- | | startFrom | Integer | -> | 検索を開始するインデックス | @@ -1100,6 +1147,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 | param | any | -> | *formula* または *methodName* に渡す引数 | | 戻り値 | Integer | <- | 最初に見つかった値のインデックス。見つからなかった場合には -1 | +
    #### 説明 @@ -1170,10 +1218,13 @@ $val3:=$c.findIndex($val2+1;Formula($1.value.name=$2);"Clanton") //$val3=4 +
    + | 引数 | 型 | | 説明 | | --- | --- | :-------------------------: | ----------- | | 戻り値 | any | <- | コレクションの先頭要素 | +
    #### 説明 @@ -1215,11 +1266,14 @@ $first:=$emptyCol.first() // このコードは undefined を返します +
    + | 引数 | 型 | | 説明 | | ----- | ---------- | :-------------------------: | --------------------------------------- | | depth | Integer | -> | ネストされたコレクションの階層をどの範囲まで平坦化するか。 デフォルト = 1 | | 戻り値 | Collection | <- | 平坦化されたコレクション | +
    #### 説明 @@ -1268,6 +1322,8 @@ $col.flat(MAXLONG) +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ---------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | @@ -1275,6 +1331,7 @@ $col.flat(MAXLONG) | param | any | -> | *formula* または *methodName* に渡す引数 | | 戻り値 | Collection | <- | 変換された値を格納し、1レベルのネストが解除された新しいコレクション | +
    #### 説明 @@ -1360,12 +1417,15 @@ $c2:=$c.flatMap($f; $c.sum()) +
    + | 引数 | 型 | | 説明 | | --------- | ------- | :-------------------------: | ------------------------------ | | toSearch | 式 | -> | コレクション内を検索する式 | | startFrom | Integer | -> | 検索を開始するインデックス | | 戻り値 | Boolean | <- | *toSearch* がコレクションにある場合は true。 | +
    #### 説明 @@ -1425,12 +1485,15 @@ $c2:=$c.flatMap($f; $c.sum()) +
    + | 引数 | 型 | | 説明 | | --------- | ------- | :-------------------------: | ----------------------------------------- | | toSearch | 式 | -> | コレクション内を検索する式 | | startFrom | Integer | -> | 検索を開始するインデックス | | 戻り値 | Integer | <- | 最初に見つかった toSearch のインデックス。見つからなかった場合には -1 | +
    #### 説明 @@ -1486,12 +1549,15 @@ $c2:=$c.flatMap($f; $c.sum()) +
    + | 引数 | 型 | | 説明 | | ----------- | ---------- | :-------------------------: | ---------------------------------- | | queryString | Text | -> | 検索条件 | | value | any | -> | プレースホルダー使用時: 比較する値 | | 戻り値 | Collection | <- | queryString に合致するコレクション要素のインデックス | +
    #### 説明 @@ -1541,12 +1607,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 +
    + | 引数 | 型 | | 説明 | | ------- | ---------- | :-------------------------: | ---------------- | | index | Integer | -> | 要素の挿入位置 | | element | any | -> | コレクションに挿入する要素 | | 戻り値 | Collection | <- | 要素の挿入された元のコレクション | +
    #### 説明 @@ -1593,12 +1662,15 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 +
    + | 引数 | 型 | | 説明 | | --------- | ------- | :-------------------------: | ---------------------------------------------------------------- | | delimiter | Text | -> | 要素間に用いる区切り文字 | | option | Integer | -> | `ck ignore null or empty`: 戻り値に null と空の文字列を含めない | | 戻り値 | Text | <- | 区切り文字を使ってコレクションの全要素をつなげた文字列 | +
    #### 説明 @@ -1637,10 +1709,13 @@ propertyPath 比較演算子 値 {logicalOperator propertyPath 比較演算子 +
    + | 引数 | 型 | | 説明 | | --- | --- | :-------------------------: | ------------ | | 戻り値 | any | <- | コレクションの最後の要素 | +
    #### 説明 @@ -1683,12 +1758,15 @@ $last:=$emptyCol.last() // このコードは undefined を返します +
    + | 引数 | 型 | | 説明 | | --------- | ------- | :-------------------------: | ----------------------------------------- | | toSearch | 式 | -> | コレクション内を検索する要素 | | startFrom | Integer | -> | 検索を開始するインデックス | | 戻り値 | Integer | <- | 最後に見つかった toSearch のインデックス。見つからなかった場合には -1 | +
    #### 説明 @@ -1775,6 +1853,8 @@ $last:=$emptyCol.last() // このコードは undefined を返します +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | -------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | @@ -1782,6 +1862,7 @@ $last:=$emptyCol.last() // このコードは undefined を返します | param | any | -> | *formula* または *methodName* に渡す引数 | | 戻り値 | Collection | <- | 変換された値を格納する新しいコレクション | +
    #### 説明 @@ -1835,11 +1916,14 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) +
    + | 引数 | 型 | | 説明 | | ------------ | ---- | :-------------------------: | ------------------ | | propertyPath | Text | -> | 評価するオブジェクトプロパティのパス | | 戻り値 | any | <- | コレクション内の最大値 | +
    #### 説明 @@ -1885,11 +1969,14 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) +
    + | 引数 | 型 | | 説明 | | ------------ | ---- | :-------------------------: | ------------------ | | propertyPath | Text | -> | 評価するオブジェクトプロパティのパス | | 戻り値 | any | <- | コレクション内の最小値 | +
    #### 説明 @@ -1935,12 +2022,15 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | | colsToSort | Collection | -> | コレクションのコレクション、または {`collection`:*colToSort*;`order`:`ck ascending` / `ck descending`} プロパティを持つオブジェクトのコレクション | | 戻り値 | Collection | <- | 並べ替えられた元のコレクション | +
    #### 説明 @@ -2072,6 +2162,8 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) +
    + | 引数 | 型 | | 説明 | | ----------- | ---------- | :-------------------------: | ------------------------------------------------------------- | | pathStrings | Text | -> | コレクションの並べ替え基準とするプロパティパス | @@ -2079,6 +2171,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) | ascOrDesc | Integer | -> | `ck ascending` または `ck descending` (スカラー値) | | 戻り値 | Collection | <- | 並べ替えられたコレクションのコピー (シャロウ・コピー) | +
    #### 説明 @@ -2209,10 +2302,12 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ----------------------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | @@ -2220,6 +2315,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) | extraParam | any | -> | 渡す引数 | | 戻り値 | Collection | <- | 並べ替えられたコレクションのコピー (シャロウ・コピー) | +
    #### 説明 @@ -2315,10 +2411,13 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) +
    + | 引数 | 型 | | 説明 | | --- | --- | :-------------------------: | ------------ | | 戻り値 | any | <- | コレクションの最後の要素 | +
    #### 説明 @@ -2361,11 +2460,14 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) +
    + | 引数 | 型 | | 説明 | | ------- | ---------- | :-------------------------: | ---------------- | | element | any | -> | コレクションに追加する要素 | | 戻り値 | Collection | <- | 要素の追加された元のコレクション | +
    #### 説明 @@ -2416,6 +2518,8 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) +
    + | 引数 | 型 | | 説明 | | ------------- | ---------- | :-------------------------: | -------------------------------------------------- | | queryString | Text | -> | 検索条件 | @@ -2423,6 +2527,7 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) | querySettings | Object | -> | クエリオプション: parameters, attributes 他 | | 戻り値 | Collection | <- | queryString に合致するコレクション要素 | +
    #### 説明 @@ -2717,6 +2822,8 @@ $entitySelection:=ds.Employee.query("birthDate <= :1";Current date-10950) +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ------------------------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | @@ -2725,6 +2832,7 @@ $entitySelection:=ds.Employee.query("birthDate <= :1";Current date-10950) | param | 式 | -> | 渡す引数 | | 戻り値 | any | <- | アキュムレーター値の結果 | +
    #### 説明 @@ -2802,6 +2910,8 @@ $r:=$c.reduce(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 で +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ------------------------------------------------- | | formula | 4D.Function | -> | フォーミュラオブジェクト | @@ -2810,6 +2920,7 @@ $r:=$c.reduce(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 で | param | 式 | -> | 渡す引数 | | 戻り値 | any | <- | アキュムレーター値の結果 | +
    #### 説明 @@ -2889,12 +3000,15 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | ------- | ---------- | :-------------------------: | -------------------- | | index | Integer | -> | 削除を開始する要素の位置 | | howMany | Integer | -> | 削除する要素の数、省略時は 1要素を削除 | | 戻り値 | Collection | <- | 要素が削除された元のコレクション | +
    #### 説明 @@ -2944,12 +3058,15 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | ------------ | ---------- | :-------------------------: | --------------- | | size | Integer | -> | コレクションの新しいサイズ | | defaultValue | any | -> | 新規要素のデフォルト値 | | 戻り値 | Collection | <- | リサイズされた元のコレクション | +
    #### 説明 @@ -2999,10 +3116,13 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | --- | ---------- | :-------------------------: | ------------------- | | 戻り値 | Collection | <- | 逆順に要素を格納した新しいコレクション | +
    #### 説明 @@ -3037,10 +3157,13 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | --- | --- | :-------------------------: | ----------- | | 戻り値 | any | <- | コレクションの先頭要素 | +
    #### 説明 @@ -3080,12 +3203,15 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | --------- | ---------- | :-------------------------: | ----------------------------------------------- | | startFrom | Integer | -> | 開始インデックス (含まれる) | | end | Integer | -> | 終了インデックス (含まれない) | | 戻り値 | Collection | <- | 抜粋要素を格納した新しいコレクション(シャロウ・コピー) | +
    #### 説明 @@ -3131,6 +3257,8 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ------------------------- | | startFrom | Integer | -> | テストを開始するインデックス | @@ -3139,6 +3267,7 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 | param | any | -> | 渡す引数 | | 戻り値 | Boolean | <- | 少なくとも一つの要素がテストをパスすれば true | +
    #### 説明 @@ -3211,6 +3340,8 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 +
    + | 引数 | 型 | | 説明 | | ---------- | --------------------------- | :-------------------------: | ------------------------------------------------------------- | | ascOrDesc | Integer | -> | `ck ascending` または `ck descending` (スカラー値) | @@ -3219,6 +3350,7 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 | extraParam | any | -> | methodName に渡す引数 | | 戻り値 | Collection | <- | 並べ替えられた元のコレクション | +
    #### 説明 @@ -3304,11 +3436,14 @@ $col3:=$col.sort(Formula(String($1.value) +
    + | 引数 | 型 | | 説明 | | ------------ | ---- | :-------------------------: | --------------------- | | propertyPath | Text | -> | 計算に使用するオブジェクトプロパティのパス | | 戻り値 | Real | <- | コレクション要素の値の合計 | +
    #### 説明 @@ -3364,12 +3499,15 @@ $col3:=$col.sort(Formula(String($1.value) +
    + | 引数 | 型 | | 説明 | | ----- | ---------- | :-------------------------: | ---------------- | | value | any | -> | コレクションの先頭に挿入する値 | | 戻り値 | Collection | <- | 要素の追加された元のコレクション | | | | | | +
    #### 説明 From 934281ac0e95e21a751b696e96374dcccb4e4440 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 12:22:51 +0100 Subject: [PATCH 036/107] New translations functionclass.md (Japanese) --- .../version-21-R2/API/FunctionClass.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md index 5ca092fcbc48af..272b17733a46fc 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md @@ -112,12 +112,15 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する +
    + | 引数 | 型 | | 説明 | | ------------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------- | | thisObj | Object | -> | フォーミュラ内で This コマンドによって返されるオブジェクト | | formulaParams | Collection | -> | フォーミュラが実行される際に $1...$n として渡される値のコレクション | | 戻り値 | any | <- | フォーミュラの実行結果 | +
    #### 説明 @@ -168,16 +171,19 @@ Formulaオブジェクトは、オブジェクトプロパティに格納する -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any +
    + | 引数 | 型 | | 説明 | | ------- | ------ | --------------------------- | ------------------------------------------------------------------------------- | | thisObj | Object | -> | フォーミュラ内で This コマンドによって返されるオブジェクト | | params | any | -> | フォーミュラが実行される際に $1...$n として渡される値 | | 戻り値 | any | <- | フォーミュラの実行結果 | +
    #### 説明 From 5ac95164ad584c842ea4733f570478d24c43ca45 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 12:24:39 +0100 Subject: [PATCH 037/107] New translations quick-tour.md (Japanese) --- .../version-21-R2/Concepts/quick-tour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md index f3acbeb5d16b7e..4893f4b73077d4 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md @@ -430,5 +430,5 @@ End for - 中カッコ `{ }` は、任意のパラメーターを示します。 たとえば、`.delete( { option : Integer } )` という表記の場合、関数を呼び出す際に *option* パラメーターを省略することができます。 - `any` キーワードは、あらゆる型(数値、テキスト、ブール、日付、時間、オブジェクト、コレクション、など)が可能な引数に対して使用されます。 -- `{; ...*param* : Type}` という表記は、同じ型のパラメーターの数に制限がないことを示します。 たとえば、`.concat( value : any { ;...valueN : any } ) : Collection` という表記の場合、あらゆる型の引数を数に制限なく関数に渡すことができます。 +- the `{; *...param* : Type}` notation indicates an unlimited number of parameters of the same type. たとえば、`.concat( value : any { ;...valueN : any } ) : Collection` という表記の場合、あらゆる型の引数を数に制限なく関数に渡すことができます。 - `{; ...(*param* : Type ; *param2* : Type) }` という表記は、グループでのパラメーターの数に制限がないことを示します。 例えば、`COLLECTION TO ARRAY ( collection : Collection ; array : Array {; propertyName : Text}{; ...(array : Array ; propertyName : Text) } )` という表記は、値またはテキスト型配列のペアを無制限にコマンドに渡すことができるということを意味します。 From c72a51d75b2215793749ce962521de015b5734f3 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 12:42:31 +0100 Subject: [PATCH 038/107] New translations collectionclass.md (Portuguese, Brazilian) --- .../version-19/API/CollectionClass.md | 599 ++++++++++-------- 1 file changed, 340 insertions(+), 259 deletions(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md index c0445f70e19440..e6c2a62d634a73 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md @@ -70,12 +70,14 @@ Uma coleção se inicializa com: -| Parâmetro | Tipo | | Descrição | -| ---------- | ----------------------------------------------------------------------- |:--:| ----------------------------------------- | -| value | Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer | -> | Valor(es) de collection | -| Resultados | Collection | <- | A nova coleção| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Collection's value(s)| +|Result|Collection|<-|The new collection| +
    + #### Descrição @@ -151,12 +153,14 @@ Pode criar uma nova coleção e adicionar um novo elemento: -| Parâmetro | Tipo | | Descrição | -| ---------- | ----------------------------------------------------- |:--:| ------------------------------------------------------- | -| value | Number, Text, Date, Time, Boolean, Object, Collection | -> | Valores da collection compartida | -| Resultados | Collection | <- | A nova coleção compartilhada| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Shared collection's value(s)| +|Result|Collection|<-|The new shared collection| +
    + #### Descrição @@ -212,12 +216,14 @@ Pode passar qualquer número de valores dos tipos compatíveis abaixo: -| Parâmetro | Tipo | | Descrição | -| ------------ | --------------- |:--:| --------------------------------------------------------------- | -| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | -| Resultados | Real, Undefined | <- | Média aritmética dos valores coleção| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real, Undefined|<-|Arithmetic mean (average) of collection values| +
    + #### Descrição @@ -269,11 +275,13 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------------- | -| Resultados | Collection | <- | Collection original com todos os elementos removidos| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Original collection with all elements removed| +
    + #### Descrição @@ -306,13 +314,15 @@ $vSize:=$col.length //$vSize=0 -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------- | -| col2 | Collection | -> | Collection a combinar | -| index | Integer | -> | Posição para a qual inserir elementos para combinar em coleção (padrão = length +1) | -| Resultados | Collection | <- | Collection original contendo elementos combinados| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|col2|Collection|->|Collection to combine| +|index|Integer|->|Position to which insert elements to combine in collection (default=length+1)| +|Result|Collection|<-|Original collection containing combined element(s)| +
    + #### Descrição @@ -353,12 +363,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------------------------------------------- | -| value | any | -> | Valores a concatenar. Se *value* for uma coleção, todos os elementos da coleção são adicionados para a coleção original | -| Resultados | Collection | <- | Nova coleção com valores adicionados à coleção original| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|any|->|Value(s) to concatenate. If *value* is a collection, all collection elements are added to the original collection| +|Result|Collection|<-|New collection with value(s) added to the original collection| +
    + #### Descrição @@ -396,14 +408,16 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] -| Parâmetro | Tipo | | Descrição | -| ------------ | ---------- |:--:| ---------------------------------------------------------------------------------------------------------------- | -| option | Integer | -> | `ck resolve pointers`: resolve ponteiros antes de copiar,
    `ck shared`: retorna uma coleção partilihada | -| groupWithCol | Collection | -> | Coleção partilhada a ser agrupada com a coleção resultante | -| groupWithObj | Object | -> | Objeto partilhado a ser agrupado com a coleção resultante | -| Resultados | Collection | <- | Cópia profunda da collection original| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|option|Integer|->|`ck resolve pointers`: resolve pointers before copying,
    `ck shared`: return a shared collection| +|groupWithCol |Collection|->|Shared collection to be grouped with the resulting collection| +|groupWithObj |Object|->|Shared object to be grouped with the resulting collection| +|Result|Collection|<-|Deep copy of the original collection| +
    + #### Descrição @@ -518,12 +532,14 @@ Esse exemplo ilustra o uso da opção `ck resolve pointers`: -| Parâmetro | Tipo | | Descrição | -| ------------ | ---- |:--:| --------------------------------------------------------- | -| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | -| Resultados | Real | <- | Número de elementos na coleção| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of elements in the collection| +
    + #### Descrição @@ -563,13 +579,15 @@ Se a coleção conter objetos, pode passar o parâmetro *propertyPath*. Nesse ca -| Parâmetro | Tipo | | Descrição | -| ------------ | ----------------------------------------------- |:--:| ---------------------------------------------------------- | -| value | Text, Number, Boolean, Date, Object, Collection | -> | Valor a contar | -| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | -| Resultados | Real | <- | Número de ocorrências do valor | - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Text, Number, Boolean, Date, Object, Collection|->|Value to count| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of occurrences of the value | +
    + #### Descrição @@ -637,13 +655,15 @@ O parâmetro opcional *propertyPath* permite contar valores dentro de uma coleç -| Parâmetro | Tipo | | Descrição | -| ------------ | ---------- |:--:| -------------------------------------------------------------------- | -| option | Integer | -> | `ck diacritical`: avaliação diacríticos ("A" # "a" por exemplo) | -| propertyPath | Text | -> | Rota do atributo cujos valores quer obter | -| Resultados | Collection | <- | Nova coleção com apenas valores distintos| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example)| +|propertyPath|Text|->|Path of attribute whose distinct values you want to get| +|Result|Collection|<-|New collection with only distinct values| +
    + #### Descrição @@ -687,13 +707,15 @@ Se a coleção conter objetos, pode passar o parâmetro *propertyPath* para indi -| Parâmetro | Tipo | | Descrição | -| ----------- | ---------- |:--:| --------------------------------------------------------------------------- | -| collection2 | Collection | -> | Coleção a comparar | -| option | Integer | -> | `ck diacritical`: avaliação diacríticos ("A" # "a" por exemplo) | -| Resultados | Parâmetros | <- | True se as coleções forem idênticas, senão false| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|collection2|Collection|->|Collection to compare| +|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example) +|Result|Boolean|<-|True if collections are identical, false otherwise| +
    + #### Descrição @@ -748,14 +770,16 @@ Como padrão, uma avaliação não-diacrítica é realizada. Se quiser que a ava -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice para início do teste em | -| methodName | Text | -> | Nome do método a chamar para o teste | -| param | Mixed | -> | Parâmetro(s) a transmitir a methodName | -| Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the test at| +|methodName|Text|->|Name of the method to call for the test| +|param|Mixed|->|Parameter(s) to pass to methodName| +|Result|Boolean|<-|True if all elements successfully passed the test| +
    + #### Descrição @@ -841,14 +865,16 @@ End if -| Parâmetro | Tipo | | Descrição | -| ------------ | ---------- |:--:| ------------------------------------------------------------------------------------------------------------------------------------- | -| propertyPath | Text | -> | Rota de propriedade de objeto cujos valores serão extraídos para nova coleção | -| targetpath | Text | -> | Rota de propriedade alvo ou nome propriedade | -| option | Integer | -> | `ck keep null`: inclui propriedades null na coleção retornada (ignorado como padrão). Parâmetro ignorado se for passado *targetPath*. | -| Resultados | Collection | <- | Nova collection contendo valores extraídos| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path whose values must be extracted to the new collection| +|targetpath|Text|->|Target property path or property name| +|option|Integer|->|`ck keep null`: include null properties in the returned collection (ignored by default). Parameter ignored if *targetPath* passed.| +|Result|Collection|<-|New collection containing extracted values| +
    + #### Descrição @@ -909,14 +935,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| Parâmetro | Tipo | | Descrição | -| ---------- | ----------------------------------------------- |:--:| ------------------------------------------------------------------- | -| value | number, Text, Collection, Object, Date, Boolean | -> | Valores preenchido | -| startFrom | Integer | -> | Início do índice (incluído) | -| end | Integer | -> | Final do índice (não incluído) | -| Resultados | collection | <- | Coleção original com valores preenchidos| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|number, Text, Collection, Object, Date, Boolean|->|Filling value| +|startFrom|Integer|->|Start index (included)| +|end|Integer|->|End index (not included)| +|Result|collection|<-|Original collection with filled values| +
    + #### Descrição @@ -961,13 +989,15 @@ Em caso de inconsistências, as regras abaixos são seguidas: -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------------- | -| methodName | Text | -> | Nome da função a chamar para filtrar a coleção | -| param | Mixed | -> | Parâmetro(s) a ser(em) passado(s) para *methodName* | -| Resultados | Collection | <- | Nova coleção contendo elementos filtrados (cópia superficial)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName|Text|->|Name of the function to call to filter the collection| +|param|Mixed|->|Parameter(s) to pass to *methodName*| +|Result|Collection|<-|New collection containing filtered elements (shallow copy)| +
    + #### Descrição @@ -1051,14 +1081,16 @@ O código para ***TypeLookUp*** é: -| Parâmetro | Tipo | | Descrição | -| ---------- | ------- |:--:| ----------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice onde inicia a pesquisa | -| methodName | Text | -> | Nome da função a chamar para a procura | -| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *methodName* | -| Resultados | any | <- | Primeiro valor encontrado ou Undefined se não encontrado| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|methodName|Text|->|Name of the function to call for the find| +|param|any|->|Parameter(s) to pass to *methodName*| +|Result|any |<-|First value found, or Undefined if not found| +
    + #### Descrição @@ -1145,14 +1177,16 @@ O código do método ***FindCity*** é: -| Parâmetro | Tipo | | Descrição | -| ---------- | ------- |:--:| -------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice onde inicia a pesquisa | -| methodName | Text | -> | Nome da função a chamar para a procura | -| param | any | -> | Parâmetro(s) a ser(em) passado(s) para *methodName* | -| Resultados | Integer | <- | Indice do primeiro valor encontrado ou -1 se não encontrado| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|methodName|Text|->|Name of the function to call for the find| +|param|any|->|Parameter(s) to pass to *methodName*| +|Result|Integer |<-|Index of first value found, or -1 if not found| +
    + #### Descrição @@ -1220,13 +1254,15 @@ O código do método***FindCity***: -| Parâmetro | Tipo | | Descrição | -| ---------- | --------- |:--:| ----------------------------------------------------------------------------------------------------- | -| toSearch | expressão | -> | Expressão a pesquisar na coleção | -| startFrom | Integer | -> | Índice onde inicia a pesquisa | -| Resultados | Integer | <- | Índice da primeira ocorrência de toSearch na coleção, -1 se não encontrado| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|Expression to search in the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found| +
    + #### Descrição @@ -1276,13 +1312,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa -| Parâmetro | Tipo | | Descrição | -| ----------- | ---------- |:--:| ----------------------------------------------------------------------------------- | -| queryString | Text | -> | Critérios de pesquisa | -| value | any | -> | Valores a comparar quando usar placeholders (valores temporários) | -| Resultados | Collection | <- | Índices elemento correspondendo a queryString na coleção| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|any|->|Value(s) to compare when using placeholder(s)| +|Result|Collection |<-|Element index(es) matching queryString in the collection| +
    + #### Descrição @@ -1329,13 +1367,15 @@ Para uma descrição detalhada dos parâmetros *queryString* e *value*, veja a f -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| --------------------------------------------------------------------------- | -| index | Integer | -> | Onde inserir os elementos | -| element | any | -> | Elemento a inserir na coleção | -| Resultados | Collection | <- | Collection original contendo elementos inseridos| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index|Integer|->|Where to insert the element| +|element|any|->|Element to insert in the collection| +|Result|Collection |<-|Original collection containing inserted element| +
    + #### Descrição @@ -1378,13 +1418,15 @@ Qualquer tipo de elemento aceito por uma coleção pode ser inserido, mesmo outr -| Parâmetro | Tipo | | Descrição | -| ---------- | ------- |:--:| ------------------------------------------------------------------------------------------------------ | -| delimiter | Text | -> | Separador a usar entre os elementos | -| option | Integer | -> | `ck ignore null or empty`: ignora strings vazias ou nulls no resultado | -| Resultados | Text | <- | String contendo todos os elementos da coleção, separados por um delimitador| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|delimiter|Text|->|Separator to use between elements| +|option|Integer|->|`ck ignore null or empty`: ignore null and empty strings in the result| +|Result|Text |<-|String containing all elements of the collection, separated by delimiter| +
    + #### Descrição @@ -1420,13 +1462,15 @@ Como padrão, elementos null ou vazios da coleção são retornados na string re -| Parâmetro | Tipo | | Descrição | -| ---------- | --------- |:--:| --------------------------------------------------------------------------------------------------- | -| toSearch | expressão | -> | O elemento que é pesquisado dentro da coleção | -| startFrom | Integer | -> | Índice onde inicia a pesquisa | -| Resultados | Integer | <- | Índice da última ocorrência de toSearch na coleção, -1 se não encontrado| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|The element that is to be searched for within the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found| +
    + #### Descrição @@ -1501,13 +1545,15 @@ A propriedade `.length` é iniciada quando a coleção for criada. Adicionar ou -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| -------------------------------------------------------------- | -| methodName | Text | -> | Nome do método usado para transformar os elementos da coleção | -| param | any | -> | Parâmetros para o método | -| Resultados | Collection | <- | Collection de valores transformados| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName|Text|->|Name of method used to transform the collection elements| +|param|any|->|Parameter(s) for the method| +|Result|Collection |<-|Collection of transformed values| +
    + #### Descrição @@ -1561,12 +1607,14 @@ Aqui está o método ***Percentage***: -| Parâmetro | Tipo | | Descrição | -| ------------ | ----------------------------------------------- |:--:| ----------------------------------------------------- | -| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação | -| Resultados | Boolean, Text, Number, Collection, Object, Date | <- | Valor máximo na coleção| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection| +
    + #### Descrição @@ -1609,12 +1657,14 @@ Se a coleção estiver vazia, `.max()` devolve *Undefined*. -| Parâmetro | Tipo | | Descrição | -| ------------ | ----------------------------------------------- |:--:| ----------------------------------------------------- | -| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação | -| Resultados | Boolean, Text, Number, Collection, Object, Date | <- | Valor mínimo na coleção| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection| +
    + #### Descrição @@ -1657,14 +1707,16 @@ Se a coleção estiver vazia, `.min()` devolve *Undefined*. -| Parâmetro | Tipo | | Descrição | -| ----------- | ---------- |:--:| ------------------------------------------------------------------------ | -| pathStrings | Text | -> | Caminho(s) de propriedade(s) no(s) qual(is) encomendar a coleção | -| pathObjects | Collection | -> | Coleção de objetos criterio | -| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) | -| Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|pathStrings|Text|->|Property path(s) on which to order the collection| +|pathObjects|Collection|->|Collection of criteria objects| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|Result|Collection |<-|Ordered copy of the collection (shallow copy)| +
    + #### Descrição @@ -1788,17 +1840,19 @@ Ordenar com uma rota de propriedade: -**.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------ | -| methodName | Text | -> | Nome do método utilizado para especificar a ordem de ordenação | -| extraParam | expressão | -> | Parâmetros para o método | -| Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName|Text|->|Name of method used to specify the sorting order| +|extraParam|expression|->|Parameter(s) for the method | +|Result|Collection |<-|Sorted copy of the collection (shallow copy)| +
    + #### Descrição @@ -1895,11 +1949,13 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0) -| Parâmetro | Tipo | | Descrição | -| ---------- | ---- |:--:| ----------------------------------------------------- | -| Resultados | any | <- | Último elemento da coleção| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any |<-|Last element of collection| +
    + #### Descrição @@ -1939,12 +1995,14 @@ Quando for aplicado a uma coleção vazia, `.pop()` devolve ***undefined***. -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| --------------------------------------------------------------------------- | -| element | Mixed | -> | Elementos a adicionar à coleção | -| Resultados | Collection | <- | Collection original contendo elementos inseridos| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|element|Mixed|->|Element(s) to add to the collection| +|Result|Collection |<-|Original collection containing added elements| +
    + #### Descrição @@ -1993,14 +2051,16 @@ Se quiser ordenar a coleção resultante: -| Parâmetro | Tipo | | Descrição | -| ------------- | ---------- |:--:| -------------------------------------------------------------------------------- | -| queryString | Text | -> | Critérios de pesquisa | -| value | Mixed | -> | Valores a comparar quando usar placeholders (valores temporários) | -| querySettings | Object | -> | Opções de pesquisa: parâmetros, atributos | -| Resultados | Collection | <- | Elementos que correspondem com queryString na coleção| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|Mixed|->|Value(s) to compare when using placeholder(s)| +|querySettings|Object|->|Query options: parameters, attributes| +|Result|Collection |<-|Element(s) matching queryString in the collection| +
    + #### Descrição @@ -2094,14 +2154,16 @@ Mais exemplos de pesquisas podem ser encontrados na página `dataClass.query()`. -| Parâmetro | Tipo | | Descrição | -| ---------- | ----------------------------------------------- |:--:| ------------------------------------------------------------------------------- | -| methodName | Text | -> | Nome da função a chamar para processar os elementos da coleção | -| initValue | Text, Number, Object, Collection, Date, Boolean | -> | Valor a ser usado como primeiro argumento da primeira chamada para *methodName* | -| param | expressão | -> | Parâmetro(s) a ser(em) passado(s) para *methodName* | -| Resultados | Text, Number, Object, Collection, Date, Boolean | <- | Resultado do valor do acumulador| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName |Text|->|Name of the function to call to process collection elements| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *methodName*| +|param |expression|->|Parameter(s) to pass to *methodName*| +|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +
    + #### Descrição @@ -2179,13 +2241,15 @@ Este exemplo permite reduzir vários elementos da coleção a um só: -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------- | -| index | Integer | -> | Elemento no qual que se inicia a eliminação | -| howMany | Integer | -> | Número de elementos a eliminar, ou 1 elemento se omitir | -| Resultados | Collection | <- | Colección original sem elementos eliminados| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index |Integer|->|Element at which to start removal| +|howMany |Integer|->|Number of elements to remove, or 1 element if omitted| +|Result|Collection|<-|Original collection without removed element(s)| +
    + #### Descrição @@ -2231,13 +2295,15 @@ Se tentar remover um elemento de uma coleção vazia, o método não faz nada (n -| Parâmetro | Tipo | | Descrição | -| ------------ | ----------------------------------------------- |:--:| ----------------------------------------------------------- | -| size | Integer | -> | Nova dimensão da colecção | -| defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | Valor padrão para preencher novos elementos | -| Resultados | Collection | <- | Colecção original redimensionada| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|size |Integer|->|New size of the collection| +|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Default value to fill new elements| +|Result|Collection|<-|Resized original collection| +
    + #### Descrição @@ -2286,11 +2352,13 @@ Por padrão, são preenchidos novos elementos **null** valores. Pode especificar -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ------------------------------------------------------ | -| Resultados | Collection | <- | Cópia invertida da colecção| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Inverted copy of the collection| +
    + #### Descrição @@ -2324,11 +2392,13 @@ A função `.reverse()` devolve uma c -| Parâmetro | Tipo | | Descrição | -| ---------- | ---- |:--:| -------------------------------------------------------- | -| Resultados | any | <- | Primeiro elemento de colecção| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any|<-|First element of collection| +
    + #### Descrição @@ -2365,13 +2435,15 @@ Se a colecção estiver vazia, este método não faz nada. -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Início do índice (incluído) | -| end | Integer | -> | Final do índice (não incluído) | -| Resultados | Collection | <- | Nova colecção contendo elementos cortados (cópia superficial)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Start index (included)| +|end |Integer |->|End index (not included)| +|Result|Collection|<-|New collection containing sliced elements (shallow copy)| +
    + #### Descrição @@ -2413,14 +2485,16 @@ A colecção devolvida contém o elemento especificado por *startFrom* e todos o -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice para início do teste em | -| methodName | Text | -> | Nome do método a chamar para o teste | -| param | Mixed | -> | Parâmetro(s) a ser(em) passado(s) para *methodName* | -| Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Index to start the test at| +|methodName |Text |->|Name of the method to call for the test| +|param |Mixed |->|Parameter(s) to pass to *methodName*| +|Result|Boolean|<-|True if at least one element successfully passed the test| +
    + #### Descrição @@ -2488,12 +2562,15 @@ Com o seguinte método *NumberGreaterThan0*: -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| -------------------------------------------------------------- | -| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) | -| methodName | Text | -> | Nome do método utilizado para especificar a ordem de ordenação | -| extraParam | any | -> | Parâmetros para o método | -| Resultados | Collection | <- | Colecção original ordenada | +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|methodName |Text |->|Name of method used to specify the sorting order| +|extraParam |any |->|Parameter(s) for the method| +|Result|Collection|<-|Original collection sorted| +
    #### Descrição @@ -2581,12 +2658,14 @@ Se você deseja ordenar os elementos da coleção em alguma outra ordem ou class -| Parâmetro | Tipo | | Descrição | -| ------------ | ---- |:--:| ------------------------------------------------------- | -| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | -| Resultados | Real | <- | Soma dos valores da colecção| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath |Text |->|Object property path to be used for calculation| +|Result|Real|<-|Sum of collection values| +
    + #### Descrição @@ -2641,13 +2720,15 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar -| Parâmetro | Tipo | | Descrição | -| -------------------------- | -------------------------------------- |:--:| ------------------------------------------- | -| value | Text, Number, Object, Collection, Date | -> | Valor(es) a inserir no início da colecção | -| Resultados | Collection | <- | Colecção contendo elemento(s) adicionado(s) | -| +
    -| | | | +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value |Text, Number, Object, Collection, Date |->|Value(s) to insert at the beginning of the collection| +|Result|Collection|<-|Collection containing added element(s) +| +
    + #### Descrição From 78144117ed3079dc44e6f5af5cac642ff8066cc2 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 12:42:52 +0100 Subject: [PATCH 039/107] New translations functionclass.md (Portuguese, Brazilian) --- .../version-19/API/FunctionClass.md | 62 ++++++++++--------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md index 49406ae67478aa..60905d072597bd 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md @@ -121,13 +121,14 @@ Parâmetros são recebidos dentro do método, na ordem que são especificados na -| Parâmetro | Tipo | | Descrição | -| ---------- | ------------ |:--:| --------------------------------------------------------------- | -| formulaExp | Expression | -> | Fórmula a ser retornada como objeto | -| Resultados | 4D. Function | <- | Função nativa encapsulando a fórmula| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaExp|Expression|->|Formula to be returned as object| +|Result|4D.Function|<-|Native function encapsulating the formula| +
    + #### Descrição @@ -260,13 +261,14 @@ Chamar uma fórmula usando notação de objeto: -| Parâmetro | Tipo | | Descrição | -| ------------- | ------------ |:--:| --------------------------------------------------------------- | -| formulaString | Text | -> | Fórmula texto a ser retornada como objeto | -| Resultados | 4D. Function | <- | Objeto nativo encapsulando a fórmula| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaString|Text|->|Text formula to be returned as object| +|Result|4D.Function|<-|Native object encapsulating the formula| +
    + #### Descrição @@ -319,14 +321,15 @@ O código abaixo cria um diálogo aceitando uma fórmula em formato texto: -| Parâmetro | Tipo | | Descrição | -| ------------- | ---------- |:--:| ------------------------------------------------------------------------------- | -| thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula | -| formulaParams | Collection | -> | Coleção de valores a serem passados como $1...$n quando `formula` for executado | -| Resultados | any | <- | Valores de execução de fórmula| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|formulaParams |Collection|->|Collection of values to be passed as $1...$n when `formula` is executed| +|Result|any|<-|Value from formula execution| +
    + #### Descrição @@ -380,18 +383,19 @@ Note que `.apply()` é similar a [`.call()`](#call) exceto que parâmetros são -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any -| Parâmetro | Tipo | | Descrição | -| ---------- | ------ | -- | -------------------------------------------------------------------- | -| thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula | -| params | any | -> | Valores a serem passados como $1...$n quando a fórmula for executada | -| Resultados | any | <- | Valores de execução de fórmula| - - -| +
    + +|Parameter|Type||Description| +|---|---|---|---| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|params |any|->|Value(s) to be passed as $1...$n when formula is executed| +|Result|any|<-|Value from formula execution| +
    + #### Descrição From 4556eaf855dcec36e5cfc5b335e0139a7ca393fe Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 12:55:02 +0100 Subject: [PATCH 040/107] New translations collectionclass.md (Portuguese, Brazilian) --- .../version-20/API/CollectionClass.md | 762 ++++++++++-------- 1 file changed, 405 insertions(+), 357 deletions(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md index 4b1ac73632b85b..26bd928ab26ae6 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md @@ -83,13 +83,14 @@ Uma coleção se inicializa com: -| Parâmetro | Tipo | | Descrição | -| ---------- | ----------------------------------------------------------------------- |:--:| ----------------------------------------- | -| value | Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer | -> | Valor(es) de collection | -| Resultados | Collection | <- | A nova coleção| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Collection's value(s)| +|Result|Collection|<-|The new collection| +
    + #### Descrição @@ -171,13 +172,14 @@ Pode criar uma nova coleção e adicionar um novo elemento: -| Parâmetro | Tipo | | Descrição | -| ---------- | ----------------------------------------------------- |:--:| ------------------------------------------------------- | -| value | Number, Text, Date, Time, Boolean, Object, Collection | -> | Valores da collection compartida | -| Resultados | Collection | <- | A nova coleção compartilhada| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Shared collection's value(s)| +|Result|Collection|<-|The new shared collection| +
    + #### Descrição @@ -247,13 +249,14 @@ Diferente de coleções padrão (não partilhadas), coleções partilhadas não -| Parâmetro | Tipo | | Descrição | -| ---------- | ------- |:--:| -------------------------------------------------- | -| index | Integer | -> | Índice de elemento a devolver | -| Resultados | any | <- | O elemento nesse índice| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index|Integer|->|Index of element to return| +|Result|any |<-|The element at that index| +
    + #### Descrição @@ -295,14 +298,14 @@ $element:=$col.at(10) // undefined -| Parâmetro | Tipo | | Descrição | -| ------------ | --------------- |:--:| --------------------------------------------------------------- | -| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | -| Resultados | Real, Undefined | <- | Média aritmética dos valores coleção| - - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real, Undefined|<-|Arithmetic mean (average) of collection values| +
    + @@ -361,12 +364,13 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------------- | -| Resultados | Collection | <- | Collection original com todos os elementos removidos| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Original collection with all elements removed| +
    + #### Descrição @@ -404,14 +408,15 @@ $vSize:=$col.length //$vSize=0 -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------- | -| col2 | Collection | -> | Collection a combinar | -| index | Integer | -> | Posição para a qual inserir elementos para combinar em coleção (padrão = length +1) | -| Resultados | Collection | <- | Collection original contendo elementos combinados| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|col2|Collection|->|Collection to combine| +|index|Integer|->|Position to which insert elements to combine in collection (default=length+1)| +|Result|Collection|<-|Original collection containing combined element(s)| +
    + #### Descrição @@ -457,13 +462,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------------------------------------------- | -| value | any | -> | Valores a concatenar. Se *value* for uma coleção, todos os elementos da coleção são adicionados para a coleção original | -| Resultados | Collection | <- | Nova coleção com valores adicionados à coleção original| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|any|->|Value(s) to concatenate. If *value* is a collection, all collection elements are added to the original collection| +|Result|Collection|<-|New collection with value(s) added to the original collection| +
    + #### Descrição @@ -506,15 +512,16 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] -| Parâmetro | Tipo | | Descrição | -| ------------ | ---------- |:--:| ---------------------------------------------------------------------------------------------------------------- | -| option | Integer | -> | `ck resolve pointers`: resolve ponteiros antes de copiar,
    `ck shared`: retorna uma coleção partilihada | -| groupWithCol | Collection | -> | Coleção partilhada a ser agrupada com a coleção resultante | -| groupWithObj | Object | -> | Objeto partilhado a ser agrupado com a coleção resultante | -| Resultados | Collection | <- | Cópia profunda da collection original| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|option|Integer|->|`ck resolve pointers`: resolve pointers before copying,
    `ck shared`: return a shared collection| +|groupWithCol |Collection|->|Shared collection to be grouped with the resulting collection| +|groupWithObj |Object|->|Shared object to be grouped with the resulting collection| +|Result|Collection|<-|Deep copy of the original collection| +
    + #### Descrição @@ -634,13 +641,14 @@ Esse exemplo ilustra o uso da opção `ck resolve pointers`: -| Parâmetro | Tipo | | Descrição | -| ------------ | ---- |:--:| --------------------------------------------------------- | -| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | -| Resultados | Real | <- | Número de elementos na coleção| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of elements in the collection| +
    + #### Descrição @@ -685,14 +693,15 @@ Se a coleção conter objetos, pode passar o parâmetro *propertyPath*. Nesse ca -| Parâmetro | Tipo | | Descrição | -| ------------ | ----------------------------------------------- |:--:| ---------------------------------------------------------- | -| value | Text, Number, Boolean, Date, Object, Collection | -> | Valor a contar | -| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | -| Resultados | Real | <- | Número de ocorrências do valor | - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Text, Number, Boolean, Date, Object, Collection|->|Value to count| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of occurrences of the value | +
    + #### Descrição @@ -770,14 +779,15 @@ O parâmetro opcional *propertyPath* permite contar valores dentro de uma coleç -| Parâmetro | Tipo | | Descrição | -| ------------ | ---------- |:--:| -------------------------------------------------------------------- | -| propertyPath | Text | -> | Rota do atributo cujos valores quer obter | -| options | Integer | -> | `ck diacritical`: avaliação diacríticos ("A" # "a" por exemplo) | -| Resultados | Collection | <- | Nova coleção com apenas valores distintos| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Path of attribute whose distinct values you want to get| +|options|Integer|->|`ck diacritical`, `ck count values`| +|Result|Collection|<-|New collection with only distinct values| +
    + #### Descrição @@ -833,14 +843,15 @@ Se a coleção conter objetos, pode passar o parâmetro *propertyPath* para indi -| Parâmetro | Tipo | | Descrição | -| ----------- | ---------- |:--:| --------------------------------------------------------------------------- | -| collection2 | Collection | -> | Coleção a comparar | -| option | Integer | -> | `ck diacritical`: avaliação diacríticos ("A" # "a" por exemplo) | -| Resultados | Parâmetros | <- | True se as coleções forem idênticas, senão false| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|collection2|Collection|->|Collection to compare| +|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example) +|Result|Boolean|<-|True if collections are identical, false otherwise| +
    + #### Descrição @@ -901,16 +912,17 @@ Como padrão, uma avaliação não-diacrítica é realizada. Se quiser que a ava -| Parâmetro | Tipo | | Descrição | -| ---------- | ------------ |:--:| ---------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice para início do teste em | -| formula | 4D. Function | -> | Objecto fórmula | -| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção | -| param | Mixed | -> | *methodName* recebe os parâmetros abaixo: | -| Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the test at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|Mixed|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Boolean|<-|True if all elements successfully passed the test| +
    + #### Descrição @@ -992,15 +1004,16 @@ $b:=$c.every("TypeLookUp";Is real) //$b=false -| Parâmetro | Tipo | | Descrição | -| ------------ | ---------- |:--:| ------------------------------------------------------------------------------------------------------------------------------------- | -| propertyPath | Text | -> | Rota de propriedade de objeto cujos valores serão extraídos para nova coleção | -| targetpath | Text | -> | Rota de propriedade alvo ou nome propriedade | -| option | Integer | -> | `ck keep null`: inclui propriedades null na coleção retornada (ignorado como padrão). Parâmetro ignorado se for passado *targetPath*. | -| Resultados | Collection | <- | Nova collection contendo valores extraídos| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path whose values must be extracted to the new collection| +|targetpath|Text|->|Target property path or property name| +|option|Integer|->|`ck keep null`: include null properties in the returned collection (ignored by default). Parameter ignored if *targetPath* passed.| +|Result|Collection|<-|New collection containing extracted values| +
    + #### Descrição @@ -1071,15 +1084,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| Parâmetro | Tipo | | Descrição | -| ---------- | ----------------------------------------------- |:--:| ------------------------------------------------------------------- | -| value | number, Text, Collection, Object, Date, Boolean | -> | Valores preenchido | -| startFrom | Integer | -> | Início do índice (incluído) | -| end | Integer | -> | Final do índice (não incluído) | -| Resultados | collection | <- | Coleção original com valores preenchidos| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|number, Text, Collection, Object, Date, Boolean|->|Filling value| +|startFrom|Integer|->|Start index (included)| +|end|Integer|->|End index (not included)| +|Result|collection|<-|Original collection with filled values| +
    + #### Descrição @@ -1131,15 +1145,16 @@ Em caso de inconsistências, as regras abaixos são seguidas: -| Parâmetro | Tipo | | Descrição | -| ---------- | ------------ |:--:| ---------------------------------------------------------------------------------------- | -| formula | 4D. Function | -> | Objecto fórmula | -| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção | -| param | any | -> | *methodName* recebe os parâmetros abaixo: | -| Resultados | Collection | <- | Nova coleção contendo elementos filtrados (cópia superficial)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Collection|<-|New collection containing filtered elements (shallow copy)| +
    + #### Descrição @@ -1220,16 +1235,17 @@ Se quiser filtrar elementos de acordo com seu tipo de valor: -| Parâmetro | Tipo | | Descrição | -| ---------- | ------------ |:--:| ----------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice onde inicia a pesquisa | -| formula | 4D. Function | -> | Objecto fórmula | -| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção | -| param | any | -> | *methodName* recebe os parâmetros abaixo: | -| Resultados | any | <- | Primeiro valor encontrado ou Undefined se não encontrado| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|any |<-|First value found, or Undefined if not found| +
    + #### Descrição @@ -1312,16 +1328,17 @@ var $c;$c2;$c3 : Collection -| Parâmetro | Tipo | | Descrição | -| ---------- | ------------ |:--:| -------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice onde inicia a pesquisa | -| formula | 4D. Function | -> | Objecto fórmula | -| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção | -| param | any | -> | *methodName* recebe os parâmetros abaixo: | -| Resultados | Integer | <- | Indice do primeiro valor encontrado ou -1 se não encontrado| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Integer |<-|Index of first value found, or -1 if not found| +
    + #### Descrição @@ -1389,12 +1406,13 @@ var $c : Collection -| Parâmetro | Tipo | | Descrição | -| ---------- | ---- |:--:| -------------------------------------------------------- | -| Resultados | any | <- | Primeiro elemento de colecção| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any|<-|First element of collection| +
    + #### Descrição @@ -1432,13 +1450,14 @@ var $col : Collection -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------------------- | -| depth | Integer | -> | A profundidade a que uma estrutura de colecção aninhada deve ser aplanada. O padrão=1 | -| Resultados | Collection | <- | Colecção achatada| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|depth|Integer |->|How deep a nested collection structure should be flattened. Default=1| +|Result|Collection |<-|Flattened collection| +
    + #### Descrição @@ -1488,14 +1507,16 @@ $col.flat(MAXLONG) **.map**( *methodName* : Text { ; *...param* : any } ) : Collection -| Parâmetro | Tipo | | Descrição | -| ---------- | ------------ |:--:| ----------------------------------------------------------------------------------------- | -| formula | 4D. Function | -> | Objecto fórmula | -| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção | -| param | any | -> | *methodName* recebe os parâmetros abaixo: | -| Resultados | Collection | <- | Collection of transformed values and flattened by a depth of 1| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Collection |<-|Collection of transformed values and flattened by a depth of 1| +
    + #### Descrição @@ -1581,14 +1602,15 @@ var $c; $c2 : Collection -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ----------------------------------------------------------- | -| toSearch | expressão | -> | Expressão a pesquisar na coleção | -| startFrom | Integer | -> | Índice onde inicia a pesquisa | -| Resultados | Parâmetros | <- | O código para ***TypeLookUp*** é: - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|Expression to search in the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Boolean |<-|True if *toSearch* is found in the collection| +
    + #### Descrição @@ -1645,15 +1667,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa - -| Parâmetro | Tipo | | Descrição | -| ---------- | --------- |:--:| ----------------------------------------------------------------------------------------------------- | -| toSearch | expressão | -> | Expressão a pesquisar na coleção | -| startFrom | Integer | -> | Índice onde inicia a pesquisa | -| Resultados | Integer | <- | Índice da primeira ocorrência de toSearch na coleção, -1 se não encontrado| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|Expression to search in the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found| +
    + #### Descrição @@ -1706,14 +1728,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa -| Parâmetro | Tipo | | Descrição | -| ----------- | ---------- |:--:| ----------------------------------------------------------------------------------- | -| queryString | Text | -> | Critérios de pesquisa | -| value | any | -> | Valores a comparar quando usar placeholders (valores temporários) | -| Resultados | Collection | <- | Índices elemento correspondendo a queryString na coleção| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|any|->|Value(s) to compare when using placeholder(s)| +|Result|Collection |<-|Element index(es) matching queryString in the collection| +
    + #### Descrição @@ -1765,14 +1788,15 @@ Para uma descrição detalhada dos parâmetros *queryString* e *value*, veja a f -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| --------------------------------------------------------------------------- | -| index | Integer | -> | Onde inserir os elementos | -| element | any | -> | Elemento a inserir na coleção | -| Resultados | Collection | <- | Collection original contendo elementos inseridos| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index|Integer|->|Where to insert the element| +|element|any|->|Element to insert in the collection| +|Result|Collection |<-|Original collection containing inserted element| +
    + #### Descrição @@ -1820,14 +1844,15 @@ Qualquer tipo de elemento aceito por uma coleção pode ser inserido, mesmo outr -| Parâmetro | Tipo | | Descrição | -| ---------- | ------- |:--:| ------------------------------------------------------------------------------------------------------ | -| delimiter | Text | -> | Separador a usar entre os elementos | -| option | Integer | -> | `ck ignore null or empty`: ignora strings vazias ou nulls no resultado | -| Resultados | Text | <- | String contendo todos os elementos da coleção, separados por um delimitador| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|delimiter|Text|->|Separator to use between elements| +|option|Integer|->|`ck ignore null or empty`: ignore null and empty strings in the result| +|Result|Text |<-|String containing all elements of the collection, separated by delimiter| +
    + #### Descrição @@ -1868,12 +1893,13 @@ Como padrão, elementos null ou vazios da coleção são retornados na string re -| Parâmetro | Tipo | | Descrição | -| ---------- | ---- |:--:| ----------------------------------------------------- | -| Resultados | any | <- | Último elemento da coleção| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any |<-|Last element of collection| +
    + #### Descrição @@ -1919,14 +1945,15 @@ var $col : Collection -| Parâmetro | Tipo | | Descrição | -| ---------- | --------- |:--:| --------------------------------------------------------------------------------------------------- | -| toSearch | expressão | -> | O elemento que é pesquisado dentro da coleção | -| startFrom | Integer | -> | Índice onde inicia a pesquisa | -| Resultados | Integer | <- | Índice da última ocorrência de toSearch na coleção, -1 se não encontrado| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|The element that is to be searched for within the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found| +
    + #### Descrição @@ -2013,15 +2040,16 @@ A propriedade `.length` é iniciada quando a coleção for criada. Adicionar ou -| Parâmetro | Tipo | | Descrição | -| ---------- | ------------ |:--:| --------------------------------------------------------------------- | -| formula | 4D. Function | -> | Objecto fórmula | -| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção | -| param | any | -> | *methodName* recebe os parâmetros abaixo: | -| Resultados | Collection | <- | Collection de valores transformados| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Collection |<-|Collection of transformed values| +
    + #### Descrição @@ -2079,13 +2107,14 @@ var $1 : Object -| Parâmetro | Tipo | | Descrição | -| ------------ | ----------------------------------------------- |:--:| ----------------------------------------------------- | -| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação | -| Resultados | Boolean, Text, Number, Collection, Object, Date | <- | Valor máximo na coleção| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection| +
    + #### Descrição @@ -2134,13 +2163,14 @@ Se a coleção estiver vazia, `.max()` devolve *Undefined*. -| Parâmetro | Tipo | | Descrição | -| ------------ | ----------------------------------------------- |:--:| ----------------------------------------------------- | -| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação | -| Resultados | Boolean, Text, Number, Collection, Object, Date | <- | Valor mínimo na coleção| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection| +
    + #### Descrição @@ -2188,15 +2218,16 @@ Se a coleção estiver vazia, `.min()` devolve *Undefined*. -| Parâmetro | Tipo | | Descrição | -| ----------- | ---------- |:--:| ------------------------------------------------------------------------ | -| pathStrings | Text | -> | Caminho(s) de propriedade(s) no(s) qual(is) encomendar a coleção | -| pathObjects | Collection | -> | Coleção de objetos criterio | -| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) | -| Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|pathStrings|Text|->|Property path(s) on which to order the collection| +|pathObjects|Collection|->|Collection of criteria objects| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|Result|Collection |<-|Ordered copy of the collection (shallow copy)| +
    + #### Descrição @@ -2328,20 +2359,21 @@ Ordenar com uma rota de propriedade: -**.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection -| Parâmetro | Tipo | | Descrição | -| ---------- | ------------ |:--:| ------------------------------------------------------------------------ | -| formula | 4D. Function | -> | Objecto fórmula | -| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção | -| extraParam | any | -> | Parâmetro(s) a transmitir | -| Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|extraParam|any|->|Parameter(s) to pass | +|Result|Collection |<-|Sorted copy of the collection (shallow copy)| +
    + #### Descrição @@ -2439,12 +2471,13 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0) -| Parâmetro | Tipo | | Descrição | -| ---------- | ---- |:--:| ----------------------------------------------------- | -| Resultados | any | <- | Último elemento da coleção| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any |<-|Last element of collection| +
    + #### Descrição @@ -2490,13 +2523,14 @@ Quando for aplicado a uma coleção vazia, `.pop()` devolve ***undefined***. -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| --------------------------------------------------------------------------- | -| element | Mixed | -> | Elementos a adicionar à coleção | -| Resultados | Collection | <- | Collection original contendo elementos inseridos| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|element|Mixed|->|Element(s) to add to the collection| +|Result|Collection |<-|Original collection containing added elements| +
    + #### Descrição @@ -2553,15 +2587,16 @@ Você deseja ordenar a coleção resultante: -| Parâmetro | Tipo | | Descrição | -| ------------- | ---------- |:--:| -------------------------------------------------------------------------------- | -| queryString | Text | -> | Critérios de pesquisa | -| value | Mixed | -> | Valores a comparar quando usar placeholders (valores temporários) | -| querySettings | Object | -> | Opções de pesquisa: parâmetros, atributos | -| Resultados | Collection | <- | Elementos que correspondem com queryString na coleção| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|Mixed|->|Value(s) to compare when using placeholder(s)| +|querySettings|Object|->|Query options: parameters, attributes| +|Result|Collection |<-|Element(s) matching queryString in the collection| +
    + #### Descrição @@ -2663,16 +2698,17 @@ Mais exemplos de pesquisas podem ser encontrados na página `dataClass.query()`. -| Parâmetro | Tipo | | Descrição | -| ---------- | ----------------------------------------------- |:--:| ---------------------------------------------------------------------------- | -| formula | 4D. Function | -> | Objecto fórmula | -| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção | -| initValue | Text, Number, Object, Collection, Date, Boolean | -> | Valor a utilizar como primeiro argumento da primeira chamada de *methodName* | -| param | expressão | -> | Parâmetro(s) a transmitir | -| Resultados | Text, Number, Object, Collection, Date, Boolean | <- | Resultado do valor do acumulador| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *formula* or *methodName*| +|param |expression|->|Parameter(s) to pass| +|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +
    + #### Descrição @@ -2757,16 +2793,17 @@ Este exemplo permite reduzir vários elementos da coleção a um só: -| Parâmetro | Tipo | | Descrição | -| ---------- | ----------------------------------------------- |:--:| ---------------------------------------------------------------------------- | -| formula | 4D. Function | -> | Objecto fórmula | -| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção | -| initValue | Text, Number, Object, Collection, Date, Boolean | -> | Valor a utilizar como primeiro argumento da primeira chamada de *methodName* | -| param | expressão | -> | Parâmetro(s) a transmitir | -| Resultados | Text, Number, Object, Collection, Date, Boolean | <- | Resultado do valor do acumulador| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *formula* or *methodName*| +|param |expression|->|Parameter(s) to pass| +|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +
    + #### Descrição @@ -2851,14 +2888,15 @@ Este exemplo permite reduzir vários elementos da coleção a um só: -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------- | -| index | Integer | -> | Elemento no qual que se inicia a eliminação | -| howMany | Integer | -> | Número de elementos a eliminar, ou 1 elemento se omitir | -| Resultados | Collection | <- | Coleção modificada sem elemento(s) removido(s)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index |Integer|->|Element at which to start removal| +|howMany |Integer|->|Number of elements to remove, or 1 element if omitted| +|Result|Collection|<-|Modified collection without removed element(s)| +
    + #### Descrição @@ -2917,14 +2955,15 @@ Se tentar remover um elemento de uma coleção vazia, o método não faz nada (n -| Parâmetro | Tipo | | Descrição | -| ------------ | ----------------------------------------------- |:--:| ----------------------------------------------------------- | -| size | Integer | -> | Nova dimensão da colecção | -| defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | Valor padrão para preencher novos elementos | -| Resultados | Collection | <- | Colecção original redimensionada| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|size |Integer|->|New size of the collection| +|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Default value to fill new elements| +|Result|Collection|<-|Resized original collection| +
    + #### Descrição @@ -2978,12 +3017,13 @@ Por padrão, são preenchidos novos elementos **null** valores. Pode especificar -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ------------------------------------------------------ | -| Resultados | Collection | <- | Cópia invertida da colecção| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Inverted copy of the collection| +
    + #### Descrição @@ -3023,12 +3063,13 @@ A função `.reverse()` devolve uma c -| Parâmetro | Tipo | | Descrição | -| ---------- | ---- |:--:| -------------------------------------------------------- | -| Resultados | any | <- | Primeiro elemento de colecção| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any|<-|First element of collection| +
    + #### Descrição @@ -3073,14 +3114,15 @@ Se a colecção estiver vazia, este método não faz nada. -| Parâmetro | Tipo | | Descrição | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Início do índice (incluído) | -| end | Integer | -> | Final do índice (não incluído) | -| Resultados | Collection | <- | Nova colecção contendo elementos cortados (cópia superficial)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Start index (included)| +|end |Integer |->|End index (not included)| +|Result|Collection|<-|New collection containing sliced elements (shallow copy)| +
    + #### Descrição @@ -3129,16 +3171,17 @@ A colecção devolvida contém o elemento especificado por *startFrom* e todos o -| Parâmetro | Tipo | | Descrição | -| ---------- | ------------ |:--:| ---------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice para início do teste em | -| formula | 4D. Function | -> | Objecto fórmula | -| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção | -| param | Mixed | -> | Parâmetro(s) a transmitir | -| Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Index to start the test at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param |Mixed |->|Parameter(s) to pass| +|Result|Boolean|<-|True if at least one element successfully passed the test| +
    + #### Descrição @@ -3216,13 +3259,16 @@ Quer saber se pelo menos um valor de colecção é >0. -| Parâmetro | Tipo | | Descrição | -| ---------- | ------------ |:--:| --------------------------------------------------------------------- | -| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) | -| formula | 4D. Function | -> | Objecto fórmula | -| methodName | Text | -> | Nome da função a qual se chama para processar os elementos da coleção | -| extraParam | any | -> | Parâmetros para o método | -| Resultados | Collection | <- | Colecção original ordenada | +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|extraParam |any |->|Parameter(s) for the method| +|Result|Collection|<-|Original collection sorted| +
    @@ -3318,13 +3364,14 @@ $strings2:=$strings1.orderByMethod("sortCollection";sk strict) -| Parâmetro | Tipo | | Descrição | -| ------------ | ---- |:--:| ------------------------------------------------------- | -| propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | -| Resultados | Real | <- | Soma dos valores da colecção| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath |Text |->|Object property path to be used for calculation| +|Result|Real|<-|Sum of collection values| +
    + #### Descrição @@ -3384,14 +3431,15 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar -| Parâmetro | Tipo | | Descrição | -| -------------------------- | -------------------------------------- |:--:| ------------------------------------------- | -| value | Text, Number, Object, Collection, Date | -> | Valor(es) a inserir no início da colecção | -| Resultados | Collection | <- | Colecção contendo elemento(s) adicionado(s) | -| - +
    -| | | | +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value |Text, Number, Object, Collection, Date |->|Value(s) to insert at the beginning of the collection| +|Result|Collection|<-|Collection containing added element(s) +| +
    + #### Descrição From db340245f248f19fcb9402d3be5e3cf6e54cb751 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 12:55:26 +0100 Subject: [PATCH 041/107] New translations functionclass.md (Portuguese, Brazilian) --- .../version-20/API/FunctionClass.md | 62 ++++++++++--------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md index 1f7841b8a1307e..ac3a6f38d27baa 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md @@ -120,13 +120,14 @@ Parâmetros são recebidos dentro do método, na ordem que são especificados na -| Parâmetro | Tipo | | Descrição | -| ---------- | ------------ |:--:| --------------------------------------------------------------- | -| formulaExp | Expression | -> | Fórmula a ser retornada como objeto | -| Resultados | 4D. Function | <- | Função nativa encapsulando a fórmula| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaExp|Expression|->|Formula to be returned as object| +|Result|4D.Function|<-|Native function encapsulating the formula| +
    + #### Descrição @@ -259,13 +260,14 @@ Chamar uma fórmula usando notação de objeto: -| Parâmetro | Tipo | | Descrição | -| ------------- | ------------ |:--:| --------------------------------------------------------------- | -| formulaString | Text | -> | Fórmula texto a ser retornada como objeto | -| Resultados | 4D. Function | <- | Objeto nativo encapsulando a fórmula| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaString|Text|->|Text formula to be returned as object| +|Result|4D.Function|<-|Native object encapsulating the formula| +
    + #### Descrição @@ -318,14 +320,15 @@ O código abaixo cria um diálogo aceitando uma fórmula em formato texto: -| Parâmetro | Tipo | | Descrição | -| ------------- | ---------- |:--:| ------------------------------------------------------------------------------- | -| thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula | -| formulaParams | Collection | -> | Coleção de valores a serem passados como $1...$n quando `formula` for executado | -| Resultados | any | <- | Valores de execução de fórmula| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|formulaParams |Collection|->|Collection of values to be passed as $1...$n when `formula` is executed| +|Result|any|<-|Value from formula execution| +
    + #### Descrição @@ -379,18 +382,19 @@ Note que `.apply()` é similar a [`.call()`](#call) exceto que parâmetros são -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any -| Parâmetro | Tipo | | Descrição | -| ---------- | ------ | -- | -------------------------------------------------------------------- | -| thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula | -| params | any | -> | Valores a serem passados como $1...$n quando a fórmula for executada | -| Resultados | any | <- | Valores de execução de fórmula| - - -| +
    + +|Parameter|Type||Description| +|---|---|---|---| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|params |any|->|Value(s) to be passed as $1...$n when formula is executed| +|Result|any|<-|Value from formula execution| +
    + #### Descrição From c55fb3fb5f83d4c5f561c7bfdf0300748dc48d0e Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:11:33 +0100 Subject: [PATCH 042/107] New translations classclass.md (Portuguese, Brazilian) --- .../pt/docusaurus-plugin-content-docs/current/API/ClassClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ca75778cf316a8..7724f9bf50d28a 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/ClassClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/ClassClass.md @@ -141,7 +141,7 @@ Essa propriedade é **somente leitura**. -**.new**( { ...*param* : any } ) : 4D.Object +**.new**( { *...param* : any } ) : 4D.Object From 26913309c76d72f2b4faf78830af8080b339b08e Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:11:41 +0100 Subject: [PATCH 043/107] New translations collectionclass.md (Portuguese, Brazilian) --- .../current/API/CollectionClass.md | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/CollectionClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/CollectionClass.md index 55bdd93689d2cd..c4e83b78cfe107 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/CollectionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/CollectionClass.md @@ -283,7 +283,7 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -**.concat**( *value* : any { ; ...*valueN* } ) : Collection +**.concat**( *value* : any { ; *...valueN* } ) : Collection @@ -941,7 +941,7 @@ Em caso de inconsistências, as regras abaixos são seguidas: -**.filter**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
    **.filter**( *methodName* : Text { ; ...*param* : any } ) : Collection +**.filter**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.filter**( *methodName* : Text { ; *...param* : any } ) : Collection @@ -1030,7 +1030,7 @@ Se quiser filtrar elementos de acordo com seu tipo de valor: -**.find**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : any
    **.find**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : any +**.find**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : any
    **.find**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : any @@ -1122,7 +1122,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 -**.findIndex**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : Integer
    **.findIndex**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : Integer +**.findIndex**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : Integer
    **.findIndex**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : Integer @@ -1301,7 +1301,7 @@ $col.flat(MAXLONG) -**.flatMap**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
    **.flatMap**( *methodName* : Text { ; ...*param* : any } ) : Collection +**.flatMap**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.flatMap**( *methodName* : Text { ; *...param* : any } ) : Collection @@ -1523,7 +1523,7 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa -**.indices**( *queryString* : Text { ; ...*value* : any } ) : Collection +**.indices**( *queryString* : Text { ; *...value* : any } ) : Collection @@ -1821,7 +1821,7 @@ A propriedade `.length` é inicializada quando a coleção é criada. Adicionar -**.map**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
    **.map**( *methodName* : Text { ; ...*param* : any } ) : Collection +**.map**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.map**( *methodName* : Text { ; *...param* : any } ) : Collection @@ -2272,7 +2272,7 @@ Ordenar com uma rota de propriedade: -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection @@ -2484,7 +2484,7 @@ Você deseja ordenar a coleção resultante: -**.query**( *queryString* : Text ) : Collection
    **.query**( *queryString* : Text ; ...*value* : any ) : Collection
    **.query**( *queryString* : Text ; *querySettings* : Object ) : Collection +**.query**( *queryString* : Text ) : Collection
    **.query**( *queryString* : Text ; *...value* : any ) : Collection
    **.query**( *queryString* : Text ; *querySettings* : Object ) : Collection @@ -2788,7 +2788,7 @@ Mais exemplos de consultas podem ser encontrados na página `dataClass.query()`. -**.reduce**( *formula* : 4D.Function { ; *initValue* : any { ; ...*param* : expression }} ) : any
    **.reduce**( *methodName* : Text { ; *initValue* : any { ; ...*param* : expression }} ) : any +**.reduce**( *formula* : 4D.Function { ; *initValue* : any { ; *...param* : expression }} ) : any
    **.reduce**( *methodName* : Text { ; *initValue* : any { ; *...param* : expression }} ) : any @@ -2876,7 +2876,7 @@ Com o seguinte método ***Flatten***: -**.reduceRight**( *formula* : 4D.Function { ; *initValue* : any { ; ...*param* : expression }} ) : any
    **.reduceRight**( *methodName* : Text { ; *initValue* : any { ; ...*param* : expression }} ) : any +**.reduceRight**( *formula* : 4D.Function { ; *initValue* : any { ; *...param* : expression }} ) : any
    **.reduceRight**( *methodName* : Text { ; *initValue* : any { ; *...param* : expression }} ) : any @@ -3224,7 +3224,7 @@ A coleção devolvida contém o elemento especificado por *startFrom* e todos os -**.some**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : Boolean
    **.some**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : Boolean +**.some**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : Boolean
    **.some**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : Boolean @@ -3307,7 +3307,7 @@ Quer saber se pelo menos um valor de coleção é >0. -**.sort**() : Collection
    **.sort**( *ascOrDesc* : Integer ) : Collection
    **.sort**( *formula* : 4D.Function { ; ...*extraParam* : any } ) : Collection
    **.sort**( *methodName* : Text { ; ...*extraParam* : any } ) : Collection +**.sort**() : Collection
    **.sort**( *ascOrDesc* : Integer ) : Collection
    **.sort**( *formula* : 4D.Function { ; *...extraParam* : any } ) : Collection
    **.sort**( *methodName* : Text { ; *...extraParam* : any } ) : Collection From f33514fa985ab18598ac2723cc9d5c41f4f6a04b Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:11:48 +0100 Subject: [PATCH 044/107] New translations dataclassclass.md (Portuguese, Brazilian) --- .../current/API/DataClassClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md index 6d903e90ce897b..9dc00061492e45 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md @@ -899,7 +899,7 @@ Quando criada, a seleção de entidades não contém nenhuma entidade (`mySelect -**.query**( *queryString* : Text { ; ...*value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection +**.query**( *queryString* : Text { ; *...value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection From 70a31bc16f4041f696bc0a6a6a60b0bbc0057e64 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:12:06 +0100 Subject: [PATCH 045/107] New translations entityselectionclass.md (Portuguese, Brazilian) --- .../current/API/EntitySelectionClass.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md index 7e61c37e486af7..3550bc8f0b7170 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md @@ -893,7 +893,7 @@ Exemplo com a opção `dk stop dropping on first error`: -**.extract**( *attributePath* : Text { ; *option* : Integer } ) : Collection
    **.extract**( ...*attributePath* : Text ; ...*targetPath* : Text ) : Collection +**.extract**( *attributePath* : Text { ; *option* : Integer } ) : Collection
    **.extract**( *...attributePath* : Text ; *...targetPath* : Text ) : Collection @@ -1817,7 +1817,7 @@ Neste exemplo, o campo de objeto "marks" na classe de dados **Students** contém -**.query**( *queryString* : Text { ; ...*value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection +**.query**( *queryString* : Text { ; *...value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection From 33587911599967356f932914367363cca321a68a Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:12:15 +0100 Subject: [PATCH 046/107] New translations functionclass.md (Portuguese, Brazilian) --- .../docusaurus-plugin-content-docs/current/API/FunctionClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/API/FunctionClass.md b/i18n/pt/docusaurus-plugin-content-docs/current/API/FunctionClass.md index 9cc110f91bc604..5bbbe75e703b99 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/FunctionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/FunctionClass.md @@ -171,7 +171,7 @@ Note que `.apply()` é similar a [`.call()`](#call) exceto que os parâmetros s -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any From 82ea3196a7b5224ddefb7a124180db3ac34d22dc Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:13:51 +0100 Subject: [PATCH 047/107] New translations quick-tour.md (Portuguese, Brazilian) --- .../current/Concepts/quick-tour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md index 05378e11edbe70..78dd05b986b02c 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md @@ -423,5 +423,5 @@ The following conventions are used in the 4D language documentation: - os caracteres `{ }` (chaves) indicam parâmetros opcionais. Por exemplo, `.delete( { option : Integer } )` significa que o parâmetro *option* pode ser omisso ao chamar a função. - the `any` keyword is used for parameters that can be of any type (number, text, boolean, date, time, object, collection...). -- the `{; ...*param* : Type}` notation indicates an unlimited number of parameters of the same type. For example, `.concat( value : any { ;...valueN : any } ) : Collection` means that an unlimited number of values of any type can be passed to the function. +- the `{; *...param* : Type}` notation indicates an unlimited number of parameters of the same type. For example, `.concat( value : any { ;...valueN : any } ) : Collection` means that an unlimited number of values of any type can be passed to the function. - the `{; ...(*param* : Type ; *param2* : Type) }` notation indicates an unlimited number of groups of parameters. For example, `COLLECTION TO ARRAY ( collection : Collection ; array : Array {; propertyName : Text}{; ...(array : Array ; propertyName : Text) } )` means that an unlimited number of couple values of type array/text can be passed to the command. From 5102c4a8add8a928c78fe8d63547ab0af10fc1ac Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:34:20 +0100 Subject: [PATCH 048/107] New translations new-collection.md (Portuguese, Brazilian) --- .../current/commands/new-collection.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-collection.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-collection.md index 1b9d0053e05ccb..cf0b0225f6a9e7 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-collection.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-collection.md @@ -4,15 +4,18 @@ title: Nova coleção displayed_sidebar: docs --- -**New collection** {( ...*value* : any )} : Collection +**New collection** {( *...value* : any )} : Collection +
    + | Parâmetro | Tipo | | Descrição | | --------- | ---------- | --------------------------- | ------------------------------------------ | | value | any | → | Valor(es) de collection | | Resultado | Collection | ← | Nova coleção | +
    ## Descrição From 84fd8eea4bd8403be868f0079d45e2814b485c22 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:34:22 +0100 Subject: [PATCH 049/107] New translations new-shared-collection.md (Portuguese, Brazilian) --- .../current/commands/new-shared-collection.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md b/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md index d163b70a3d5fcc..09712d2565653e 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md @@ -4,15 +4,18 @@ title: New shared collection displayed_sidebar: docs --- -**New shared collection** {( ...*value* : any )} : Collection +**New shared collection** {( *...value* : any )} : Collection +
    + | Parâmetro | Tipo | | Descrição | | --------- | ---------- | --------------------------- | -------------------------------- | | value | any | → | Valores da collection compartida | | Resultado | Collection | ← | New shared collection | +
    ## Descrição From c363306a6877e20bf3d7c80724d76aab999d33c1 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:35:33 +0100 Subject: [PATCH 050/107] New translations wp-reset-attributes.md (Portuguese, Brazilian) --- .../current/WritePro/commands/wp-reset-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md index aa63ed8f3cc495..d94341d6bc09d0 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md @@ -4,7 +4,7 @@ title: WP RESET ATTRIBUTES displayed_sidebar: docs --- -**WP RESET ATTRIBUTES** ( *targetObj* : Object ; ...*attribName* : Text )
    **WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; ...*attribName* : Text })
    **WP RESET ATTRIBUTES** ( *targetObj* : Object ; *attribColl* : Collection )
    **WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *attribColl* : Collection}) +**WP RESET ATTRIBUTES** ( *targetObj* : Object ; *...attribName* : Text )
    **WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *...attribName* : Text })
    **WP RESET ATTRIBUTES** ( *targetObj* : Object ; *attribColl* : Collection )
    **WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *attribColl* : Collection}) From 251375faea5c40b27bbdf3af38471261947f90e6 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:37:17 +0100 Subject: [PATCH 051/107] New translations wp-set-attributes.md (Portuguese, Brazilian) --- .../current/WritePro/commands/wp-set-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md index 14dacfddbe6bf7..2582d1dc38df66 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md @@ -4,7 +4,7 @@ title: WP SET ATTRIBUTES displayed_sidebar: docs --- -**WP SET ATTRIBUTES** ( *targetObj* : Object ; ...*attribName* : Text ; ...*attribValue* : any )
    **WP SET ATTRIBUTES** ( *targetObj* : Object ; *attribObj* : Object ) +**WP SET ATTRIBUTES** ( *targetObj* : Object ; *...attribName* : Text ; *...attribValue* : any )
    **WP SET ATTRIBUTES** ( *targetObj* : Object ; *attribObj* : Object ) From ca6533f8baf5734e984457cf4b2ad6a260b53f8e Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:37:22 +0100 Subject: [PATCH 052/107] New translations wp-get-attributes.md (Portuguese, Brazilian) --- .../current/WritePro/commands/wp-get-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md index 2e353c729c642c..53674906c3483f 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md @@ -4,7 +4,7 @@ title: WP Get attributes displayed_sidebar: docs --- -**WP Get attributes** ( *targetObj* : Object ; ...*attribName* : Text ; ...*attribValue* : any ) : Object
    **WP Get attributes** ( *targetObj* : Object ; *attribColl* : Collection ) : Object +**WP Get attributes** ( *targetObj* : Object ; *...attribName* : Text ; *...attribValue* : any ) : Object
    **WP Get attributes** ( *targetObj* : Object ; *attribColl* : Collection ) : Object From 57ee020e9dfc74626849cbd0217268701f473603 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:37:29 +0100 Subject: [PATCH 053/107] New translations wp-table-append-row.md (Portuguese, Brazilian) --- .../current/WritePro/commands/wp-table-append-row.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md index ce2825bdde289b..1173c8721f0af6 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md @@ -4,7 +4,7 @@ title: WP Table append row displayed_sidebar: docs --- -**WP Table append row** ( *tableRef* : Object ; ...*value* : any ) : Object
    **WP Table append row** ( *tableRef* : Object ; *valueColl* : Collection ) : Object +**WP Table append row** ( *tableRef* : Object ; *...value* : any ) : Object
    **WP Table append row** ( *tableRef* : Object ; *valueColl* : Collection ) : Object From 468bb39f1f90bef41ae84af410b629b64385ea84 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:42:05 +0100 Subject: [PATCH 054/107] New translations collectionclass.md (Portuguese, Brazilian) --- .../version-21/API/CollectionClass.md | 140 +++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md index 3029132cc05fd8..824124cc781476 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/API/CollectionClass.md @@ -82,11 +82,14 @@ Uma coleção é inicializada com os comandos [`New collection`](../commands/new +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ------- | :-------------------------: | ----------------------------- | | index | Integer | -> | Índice de elemento a devolver | | Resultados | any | <- | O elemento nesse índice | +
    #### Descrição @@ -129,11 +132,14 @@ $element:=$col.at(10) // undefined +
    + | Parâmetro | Tipo | | Descrição | | ------------ | --------------- | :-------------------------: | ---------------------------------------------------- | | propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | | Resultados | Real, Undefined | <- | Média aritmética dos valores coleção | +
    #### Descrição @@ -187,10 +193,13 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ---------------------------------------------------- | | Resultados | Collection | <- | Collection original com todos os elementos removidos | +
    #### Descrição @@ -226,12 +235,15 @@ $vSize:=$col.length //$vSize=0 +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------ | | col2 | Collection | -> | Collection a combinar | | index | Integer | -> | Posição para a qual inserir elementos para combinar em coleção (padrão = length +1) | | Resultados | Collection | <- | Collection original contendo elementos combinados | +
    #### Descrição @@ -275,11 +287,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | value | any | -> | Valores a concatenar. Se *valor* for uma coleção, todos os seus elementos serão adicionados como novos elementos no final da coleção original. | | Resultados | Collection | <- | Nova coleção com valores adicionados à coleção original | +
    #### Descrição @@ -320,6 +335,8 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------- | | option | Integer | -> | `ck resolve pointers`: resolve ponteiros antes de copiar,
    `ck shared`: retorna uma coleção partilhada | @@ -327,6 +344,7 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] | groupWithObj | Object | -> | Objeto partilhado a ser agrupado com a coleção resultante | | Resultados | Collection | <- | Cópia profunda da collection original | +
    #### Descrição @@ -442,11 +460,14 @@ Este exemplo ilustra o uso da opção `ck resolve pointers`: +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---- | :-------------------------: | ---------------------------------------------------- | | propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | | Resultados | Real | <- | Número de elementos na coleção | +
    #### Descrição @@ -488,12 +509,15 @@ Se a coleção contiver objetos, você poderá passar o parâmetro *propertyPath +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ----------------------------------------------- | :-------------------------: | ---------------------------------------------------- | | value | Text, Number, Boolean, Date, Object, Collection | -> | Valor a contar | | propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | | Resultados | Real | <- | Número de ocorrências do valor | +
    #### Descrição @@ -565,12 +589,15 @@ O parâmetro opcional *propertyPath* permite que você conte os valores dentro d +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---------- | :-------------------------: | ----------------------------------------- | | propertyPath | Text | -> | Rota do atributo cujos valores quer obter | | options | Integer | -> | `ck diacritical`, `ck count values` | | Resultados | Collection | <- | Nova coleção com apenas valores distintos | +
    #### Descrição @@ -624,12 +651,15 @@ No parâmetro *opções*, você pode passar uma ou uma combinação das seguinte +
    + | Parâmetro | Tipo | | Descrição | | ----------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------- | | collection2 | Collection | -> | Coleção a comparar | | option | Integer | -> | `ck diacritical`: avaliação diacrítica ("A" # "a", por exemplo) | | Resultados | Parâmetros | <- | True se as coleções forem idênticas, senão false | +
    #### Descrição @@ -693,6 +723,8 @@ Uma comparação recursiva de coleções pode consumir muito tempo se a coleçã +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Índice para início do teste em | @@ -701,6 +733,7 @@ Uma comparação recursiva de coleções pode consumir muito tempo se a coleçã | param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* | | Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso | +
    #### Descrição @@ -781,6 +814,8 @@ $b:=$c.every("TypeLookUp";Is real) //$b=false +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | propertyPath | Text | -> | Rota de propriedade de objeto cujos valores serão extraídos para nova coleção | @@ -788,6 +823,7 @@ $b:=$c.every("TypeLookUp";Is real) //$b=false | option | Integer | -> | `ck keep null`: include null properties na coleção retornada (ignorado por padrão). Parâmetro ignorado se *targetPath* for passado. | | Resultados | Collection | <- | Nova collection contendo valores extraídos | +
    #### Descrição @@ -851,6 +887,8 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ----------------------------------------------- | :-------------------------: | ------------------------------------------------- | | value | number, Text, Collection, Object, Date, Boolean | -> | Valores preenchido | @@ -858,6 +896,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 | end | Integer | -> | Final do índice (não incluído) | | Resultados | collection | <- | Coleção original com valores preenchidos | +
    #### Descrição @@ -906,6 +945,8 @@ Em caso de inconsistências, as regras abaixos são seguidas: +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | formula | 4D. Function | -> | Objecto fórmula | @@ -913,6 +954,7 @@ Em caso de inconsistências, as regras abaixos são seguidas: | param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* | | Resultados | Collection | <- | Nova coleção contendo elementos filtrados (cópia superficial) | +
    #### Descrição @@ -992,6 +1034,8 @@ Se quiser filtrar elementos de acordo com seu tipo de valor: +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Índice onde inicia a pesquisa | @@ -1000,6 +1044,7 @@ Se quiser filtrar elementos de acordo com seu tipo de valor: | param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* | | Resultados | any | <- | Primeiro valor encontrado ou Undefined se não encontrado | +
    #### Descrição @@ -1081,6 +1126,8 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Índice onde inicia a pesquisa | @@ -1089,6 +1136,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 | param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* | | Resultados | Integer | <- | Indice do primeiro valor encontrado ou -1 se não encontrado | +
    #### Descrição @@ -1158,10 +1206,13 @@ var $c : Collection +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---- | :-------------------------: | ----------------------------- | | Resultados | any | <- | Primeiro elemento de colecção | +
    #### Descrição @@ -1198,11 +1249,14 @@ var $col : Collection +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------------------- | | depth | Integer | -> | A profundidade a que uma estrutura de colecção aninhada deve ser aplanada. O padrão=1 | | Resultados | Collection | <- | Colecção achatada | +
    #### Descrição @@ -1251,6 +1305,8 @@ $col.flat(MAXLONG) +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | formula | 4D. Function | -> | Objecto fórmula | @@ -1258,6 +1314,7 @@ $col.flat(MAXLONG) | param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* | | Resultados | Collection | <- | Collection of transformed values and flattened by a depth of 1 | +
    #### Descrição @@ -1341,12 +1398,15 @@ var $c; $c2 : Collection +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | -------------------------------------------- | | toSearch | expressão | -> | Expressão a pesquisar na coleção | | startFrom | Integer | -> | Índice onde inicia a pesquisa | | Resultados | Parâmetros | <- | True se *toSearch* for encontrado na coleção | +
    #### Descrição @@ -1404,12 +1464,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa +
    + | Parâmetro | Tipo | | Descrição | | ---------- | --------- | :-------------------------: | -------------------------------------------------------------------------- | | toSearch | expressão | -> | Expressão a pesquisar na coleção | | startFrom | Integer | -> | Índice onde inicia a pesquisa | | Resultados | Integer | <- | Índice da primeira ocorrência de toSearch na coleção, -1 se não encontrado | +
    #### Descrição @@ -1464,12 +1527,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa +
    + | Parâmetro | Tipo | | Descrição | | ----------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------ | | queryString | Text | -> | Critérios de pesquisa | | value | any | -> | Valores a comparar quando usar placeholders (valores temporários) | | Resultados | Collection | <- | Índices elemento correspondendo a queryString na coleção | +
    #### Descrição @@ -1519,12 +1585,15 @@ Para uma descrição detalhada dos parâmetros *queryString* e *value*, por favo +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ------------------------------------------------ | | index | Integer | -> | Onde inserir os elementos | | element | any | -> | Elemento a inserir na coleção | | Resultados | Collection | <- | Collection original contendo elementos inseridos | +
    #### Descrição @@ -1571,12 +1640,15 @@ Qualquer tipo de elemento aceito por uma coleção pode ser inserido, mesmo outr +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ------- | :-------------------------: | --------------------------------------------------------------------------------------------------- | | delimiter | Text | -> | Separador a usar entre os elementos | | option | Integer | -> | `ck ignore null or empty`: ignora cadeias de caracteres nulas e vazias no resultado | | Resultados | Text | <- | String contendo todos os elementos da coleção, separados por um delimitador | +
    #### Descrição @@ -1615,10 +1687,13 @@ Como padrão, elementos null ou vazios da coleção são retornados na string re +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---- | :-------------------------: | -------------------------- | | Resultados | any | <- | Último elemento da coleção | +
    #### Descrição @@ -1661,12 +1736,15 @@ $last:=$emptyCol.last() // devolve Undefined +
    + | Parâmetro | Tipo | | Descrição | | ---------- | --------- | :-------------------------: | ------------------------------------------------------------------------ | | toSearch | expressão | -> | O elemento que é pesquisado dentro da coleção | | startFrom | Integer | -> | Índice onde inicia a pesquisa | | Resultados | Integer | <- | Índice da última ocorrência de toSearch na coleção, -1 se não encontrado | +
    #### Descrição @@ -1747,6 +1825,8 @@ A propriedade `.length` é inicializada quando a coleção é criada. Adicionar +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | formula | 4D. Function | -> | Objecto fórmula | @@ -1754,6 +1834,7 @@ A propriedade `.length` é inicializada quando a coleção é criada. Adicionar | param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* | | Resultados | Collection | <- | Collection de valores transformados | +
    #### Descrição @@ -1806,11 +1887,14 @@ var $1 : Object +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ----------------------------------------------- | :-------------------------: | ----------------------------------------------------- | | propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação | | Resultados | Boolean, Text, Number, Collection, Object, Date | <- | Valor máximo na coleção | +
    #### Descrição @@ -1856,11 +1940,14 @@ Se a coleção estiver vazia, `.max()` retorna *Undefined*. +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ----------------------------------------------- | :-------------------------: | ----------------------------------------------------- | | propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação | | Resultados | Boolean, Text, Number, Collection, Object, Date | <- | Valor mínimo na coleção | +
    #### Descrição @@ -1906,12 +1993,15 @@ Se a coleção estiver vazia, `.min()` devolve *Undefined*. +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------ | | formula | 4D. Function | -> | Objecto fórmula | | colsToSort | Collection | -> | Coleção de coleções e/ou objetos com propriedades {`collection`:*colToSort*;`order`:`ck ascending` ou `ck descending`} | | Resultados | Collection | <- | Colecção original ordenada | +
    #### Descrição @@ -2042,6 +2132,8 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) +
    + | Parâmetro | Tipo | | Descrição | | ----------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------- | | pathStrings | Text | -> | Caminho(s) de propriedade(s) no(s) qual(is) encomendar a coleção | @@ -2049,6 +2141,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) | ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) | | Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial) | +
    #### Descrição @@ -2179,10 +2272,12 @@ Ordenar com uma rota de propriedade: -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | --------------------------------------------------------------------- | | formula | 4D. Function | -> | Objecto fórmula | @@ -2190,6 +2285,7 @@ Ordenar com uma rota de propriedade: | extraParam | any | -> | Parâmetro(s) a transmitir | | Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial) | +
    #### Descrição @@ -2285,10 +2381,13 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---- | :-------------------------: | -------------------------- | | Resultados | any | <- | Último elemento da coleção | +
    #### Descrição @@ -2331,11 +2430,14 @@ O `.pop()`, usado em conjunto com [`.push()`](#push), pode ser usado para implem +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ------------------------------------------------ | | element | any | -> | Elementos a adicionar à coleção | | Resultados | Collection | <- | Collection original contendo elementos inseridos | +
    #### Descrição @@ -2386,6 +2488,8 @@ Você deseja ordenar a coleção resultante: +
    + | Parâmetro | Tipo | | Descrição | | ------------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------ | | queryString | Text | -> | Critérios de pesquisa | @@ -2393,6 +2497,7 @@ Você deseja ordenar a coleção resultante: | querySettings | Object | -> | Opções de pesquisa: parâmetros, atributos | | Resultados | Collection | <- | Elementos que correspondem com queryString na coleção | +
    #### Descrição @@ -2687,6 +2792,8 @@ Mais exemplos de consultas podem ser encontrados na página `dataClass.query()`. +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ----------------------------------------------- | :-------------------------: | ---------------------------------------------------------------------------------------------- | | formula | 4D. Function | -> | Objecto fórmula | @@ -2695,6 +2802,7 @@ Mais exemplos de consultas podem ser encontrados na página `dataClass.query()`. | param | expressão | -> | Parâmetro(s) a transmitir | | Resultados | Text, Number, Object, Collection, Date, Boolean | <- | Resultado do valor do acumulador | +
    #### Descrição @@ -2772,6 +2880,8 @@ Com o seguinte método ***Flatten***: +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ----------------------------------------------- | :-------------------------: | ---------------------------------------------------------------------------------------------- | | formula | 4D. Function | -> | Objecto fórmula | @@ -2780,6 +2890,7 @@ Com o seguinte método ***Flatten***: | param | expressão | -> | Parâmetro(s) a transmitir | | Resultados | Text, Number, Object, Collection, Date, Boolean | <- | Resultado do valor do acumulador | +
    #### Descrição @@ -2859,12 +2970,15 @@ Com o seguinte método ***Flatten***: +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------ | | index | Integer | -> | Elemento no qual que se inicia a eliminação | | howMany | Integer | -> | Número de elementos a eliminar, ou 1 elemento se omitir | | Resultados | Collection | <- | Coleção modificada sem elemento(s) removido(s) | +
    #### Descrição @@ -2915,12 +3029,15 @@ Se tentar remover um elemento de uma coleção vazia, o método não faz nada (n +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ----------------------------------------------- | :-------------------------: | ------------------------------------------- | | size | Integer | -> | Nova dimensão da colecção | | defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | Valor padrão para preencher novos elementos | | Resultados | Collection | <- | Colecção original redimensionada | +
    #### Descrição @@ -2970,10 +3087,13 @@ Por padrão, novos elementos são preenchidos com valores **null**. Pode especif +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | --------------------------- | | Resultados | Collection | <- | Cópia invertida da colecção | +
    #### Descrição @@ -3008,10 +3128,13 @@ A função `.reverse()` retorna uma c +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---- | :-------------------------: | ----------------------------- | | Resultados | any | <- | Primeiro elemento de colecção | +
    #### Descrição @@ -3051,12 +3174,15 @@ Se a colecção estiver vazia, este método não faz nada. +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------- | | startFrom | Integer | -> | Início do índice (incluído) | | end | Integer | -> | Final do índice (não incluído) | | Resultados | Collection | <- | Nova colecção contendo elementos cortados (cópia superficial) | +
    #### Descrição @@ -3102,6 +3228,8 @@ A coleção devolvida contém o elemento especificado por *startFrom* e todos os +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | --------------------------------------------------------------------- | | startFrom | Integer | -> | Índice para início do teste em | @@ -3110,6 +3238,7 @@ A coleção devolvida contém o elemento especificado por *startFrom* e todos os | param | any | -> | Parâmetro(s) a transmitir | | Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso | +
    #### Descrição @@ -3182,6 +3311,8 @@ Quer saber se pelo menos um valor de coleção é >0. +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------ | | ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) | @@ -3190,6 +3321,7 @@ Quer saber se pelo menos um valor de coleção é >0. | extraParam | any | -> | Parâmetros para o método | | Resultados | Collection | <- | Colecção original ordenada | +
    #### Descrição @@ -3275,11 +3407,14 @@ $col3:=$col.sort(Formula(String($1.value) +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---- | :-------------------------: | ---------------------------------------------------- | | propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | | Resultados | Real | <- | Soma dos valores da colecção | +
    #### Descrição @@ -3335,12 +3470,15 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar +
    + | Parâmetro | Tipo | | Descrição | | ---------- | -------------------------------------- | :-------------------------: | --------------------------------------------------------------------------------- | | value | Text, Number, Object, Collection, Date | -> | Valor(es) a inserir no início da colecção | | Resultados | Collection | <- | Colecção contendo elemento(s) adicionado(s) | | | | | | +
    #### Descrição From ecd0c2c3260e7cb0d4f8704003b01d8bed7857ae Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 13:42:35 +0100 Subject: [PATCH 055/107] New translations functionclass.md (Portuguese, Brazilian) --- .../version-21/API/FunctionClass.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md index 64b6ef79be2608..5bbbe75e703b99 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md @@ -112,12 +112,15 @@ Parâmetros são recebidos dentro do método, na ordem que são especificados na +
    + | Parâmetro | Tipo | | Descrição | | ------------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------- | | thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula | | formulaParams | Collection | -> | Coleção de valores a serem passados como $1...$n quando `formula` for executado | | Resultados | any | <- | Valores de execução de fórmula | +
    #### Descrição @@ -168,16 +171,19 @@ Note que `.apply()` é similar a [`.call()`](#call) exceto que os parâmetros s -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------- | | thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula | | params | any | -> | Valores a serem passados como $1...$n quando a fórmula for executada | | Resultados | any | <- | Valores de execução de fórmula | +
    #### Descrição From cf9ac4c0890b694f061263a1bde9b0945614024d Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 14:12:21 +0100 Subject: [PATCH 056/107] New translations collectionclass.md (Portuguese, Brazilian) --- .../version-21-R2/API/CollectionClass.md | 140 +++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md index 0e1a13c257dd7a..699d2602eb8f2a 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/CollectionClass.md @@ -82,11 +82,14 @@ Uma coleção é inicializada com os comandos [`New collection`](../commands/new +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ------- | :-------------------------: | ----------------------------- | | index | Integer | -> | Índice de elemento a devolver | | Resultados | any | <- | O elemento nesse índice | +
    #### Descrição @@ -129,11 +132,14 @@ $element:=$col.at(10) // undefined +
    + | Parâmetro | Tipo | | Descrição | | ------------ | --------------- | :-------------------------: | ---------------------------------------------------- | | propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | | Resultados | Real, Undefined | <- | Média aritmética dos valores coleção | +
    #### Descrição @@ -187,10 +193,13 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ---------------------------------------------------- | | Resultados | Collection | <- | Collection original com todos os elementos removidos | +
    #### Descrição @@ -226,12 +235,15 @@ $vSize:=$col.length //$vSize=0 +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------ | | col2 | Collection | -> | Collection a combinar | | index | Integer | -> | Posição para a qual inserir elementos para combinar em coleção (padrão = length +1) | | Resultados | Collection | <- | Collection original contendo elementos combinados | +
    #### Descrição @@ -275,11 +287,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | value | any | -> | Valores a concatenar. Se *valor* for uma coleção, todos os seus elementos serão adicionados como novos elementos no final da coleção original. | | Resultados | Collection | <- | Nova coleção com valores adicionados à coleção original | +
    #### Descrição @@ -320,6 +335,8 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------- | | option | Integer | -> | `ck resolve pointers`: resolve ponteiros antes de copiar,
    `ck shared`: retorna uma coleção partilhada | @@ -327,6 +344,7 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] | groupWithObj | Object | -> | Objeto partilhado a ser agrupado com a coleção resultante | | Resultados | Collection | <- | Cópia profunda da collection original | +
    #### Descrição @@ -442,11 +460,14 @@ Este exemplo ilustra o uso da opção `ck resolve pointers`: +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---- | :-------------------------: | ---------------------------------------------------- | | propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | | Resultados | Real | <- | Número de elementos na coleção | +
    #### Descrição @@ -488,12 +509,15 @@ Se a coleção contiver objetos, você poderá passar o parâmetro *propertyPath +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---- | :-------------------------: | ---------------------------------------------------- | | value | any | -> | Valor a contar | | propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | | Resultados | Real | <- | Número de ocorrências do valor | +
    #### Descrição @@ -565,12 +589,15 @@ O parâmetro opcional *propertyPath* permite que você conte os valores dentro d +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---------- | :-------------------------: | ----------------------------------------- | | propertyPath | Text | -> | Rota do atributo cujos valores quer obter | | options | Integer | -> | `ck diacritical`, `ck count values` | | Resultados | Collection | <- | Nova coleção com apenas valores distintos | +
    #### Descrição @@ -624,12 +651,15 @@ No parâmetro *opções*, você pode passar uma ou uma combinação das seguinte +
    + | Parâmetro | Tipo | | Descrição | | ----------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------- | | collection2 | Collection | -> | Coleção a comparar | | option | Integer | -> | `ck diacritical`: avaliação diacrítica ("A" # "a", por exemplo) | | Resultados | Parâmetros | <- | True se as coleções forem idênticas, senão false | +
    #### Descrição @@ -693,6 +723,8 @@ Uma comparação recursiva de coleções pode consumir muito tempo se a coleçã +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Índice para início do teste em | @@ -701,6 +733,7 @@ Uma comparação recursiva de coleções pode consumir muito tempo se a coleçã | param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* | | Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso | +
    #### Descrição @@ -781,6 +814,8 @@ $b:=$c.every("TypeLookUp";Is real) //$b=false +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | propertyPath | Text | -> | Rota de propriedade de objeto cujos valores serão extraídos para nova coleção | @@ -788,6 +823,7 @@ $b:=$c.every("TypeLookUp";Is real) //$b=false | option | Integer | -> | `ck keep null`: include null properties na coleção retornada (ignorado por padrão). Parâmetro ignorado se *targetPath* for passado. | | Resultados | Collection | <- | Nova collection contendo valores extraídos | +
    #### Descrição @@ -851,6 +887,8 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ------------------------------------------------- | | value | any | -> | Valores preenchido | @@ -858,6 +896,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 | end | Integer | -> | Final do índice (não incluído) | | Resultados | Collection | <- | Coleção original com valores preenchidos | +
    #### Descrição @@ -906,6 +945,8 @@ Em caso de inconsistências, as regras abaixos são seguidas: +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | formula | 4D. Function | -> | Objecto fórmula | @@ -913,6 +954,7 @@ Em caso de inconsistências, as regras abaixos são seguidas: | param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* | | Resultados | Collection | <- | Nova coleção contendo elementos filtrados (cópia superficial) | +
    #### Descrição @@ -992,6 +1034,8 @@ Se quiser filtrar elementos de acordo com seu tipo de valor: +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Índice onde inicia a pesquisa | @@ -1000,6 +1044,7 @@ Se quiser filtrar elementos de acordo com seu tipo de valor: | param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* | | Resultados | any | <- | Primeiro valor encontrado ou Undefined se não encontrado | +
    #### Descrição @@ -1081,6 +1126,8 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Índice onde inicia a pesquisa | @@ -1089,6 +1136,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 | param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* | | Resultados | Integer | <- | Indice do primeiro valor encontrado ou -1 se não encontrado | +
    #### Descrição @@ -1158,10 +1206,13 @@ var $c : Collection +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---- | :-------------------------: | ----------------------------- | | Resultados | any | <- | Primeiro elemento de colecção | +
    #### Descrição @@ -1198,11 +1249,14 @@ var $col : Collection +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------------------- | | depth | Integer | -> | A profundidade a que uma estrutura de colecção aninhada deve ser aplanada. O padrão=1 | | Resultados | Collection | <- | Colecção achatada | +
    #### Descrição @@ -1251,6 +1305,8 @@ $col.flat(MAXLONG) +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | formula | 4D. Function | -> | Objecto fórmula | @@ -1258,6 +1314,7 @@ $col.flat(MAXLONG) | param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* | | Resultados | Collection | <- | Collection of transformed values and flattened by a depth of 1 | +
    #### Descrição @@ -1341,12 +1398,15 @@ var $c; $c2 : Collection +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | -------------------------------------------- | | toSearch | Expression | -> | Expressão a pesquisar na coleção | | startFrom | Integer | -> | Índice onde inicia a pesquisa | | Resultados | Parâmetros | <- | True se *toSearch* for encontrado na coleção | +
    #### Descrição @@ -1404,12 +1464,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------------- | | toSearch | Expression | -> | Expressão a pesquisar na coleção | | startFrom | Integer | -> | Índice onde inicia a pesquisa | | Resultados | Integer | <- | Índice da primeira ocorrência de toSearch na coleção, -1 se não encontrado | +
    #### Descrição @@ -1464,12 +1527,15 @@ Opcionalmente pode passar o índice da coleção para a qual iniciar a pesquisa +
    + | Parâmetro | Tipo | | Descrição | | ----------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------ | | queryString | Text | -> | Critérios de pesquisa | | value | any | -> | Valores a comparar quando usar placeholders (valores temporários) | | Resultados | Collection | <- | Índices elemento correspondendo a queryString na coleção | +
    #### Descrição @@ -1519,12 +1585,15 @@ Para uma descrição detalhada dos parâmetros *queryString* e *value*, por favo +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ------------------------------------------------ | | index | Integer | -> | Onde inserir os elementos | | element | any | -> | Elemento a inserir na coleção | | Resultados | Collection | <- | Collection original contendo elementos inseridos | +
    #### Descrição @@ -1571,12 +1640,15 @@ Qualquer tipo de elemento aceito por uma coleção pode ser inserido, mesmo outr +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ------- | :-------------------------: | --------------------------------------------------------------------------------------------------- | | delimiter | Text | -> | Separador a usar entre os elementos | | option | Integer | -> | `ck ignore null or empty`: ignora cadeias de caracteres nulas e vazias no resultado | | Resultados | Text | <- | String contendo todos os elementos da coleção, separados por um delimitador | +
    #### Descrição @@ -1615,10 +1687,13 @@ Como padrão, elementos null ou vazios da coleção são retornados na string re +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---- | :-------------------------: | -------------------------- | | Resultados | any | <- | Último elemento da coleção | +
    #### Descrição @@ -1661,12 +1736,15 @@ $last:=$emptyCol.last() // devolve Undefined +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------ | | toSearch | Expression | -> | O elemento que é pesquisado dentro da coleção | | startFrom | Integer | -> | Índice onde inicia a pesquisa | | Resultados | Integer | <- | Índice da última ocorrência de toSearch na coleção, -1 se não encontrado | +
    #### Descrição @@ -1747,6 +1825,8 @@ A propriedade `.length` é inicializada quando a coleção é criada. Adicionar +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------- | | formula | 4D. Function | -> | Objecto fórmula | @@ -1754,6 +1834,7 @@ A propriedade `.length` é inicializada quando a coleção é criada. Adicionar | param | any | -> | Parâmetro(s) a ser(em) passado(s) para *formula* ou *methodName* | | Resultados | Collection | <- | Collection de valores transformados | +
    #### Descrição @@ -1806,11 +1887,14 @@ var $1 : Object +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---- | :-------------------------: | ----------------------------------------------------- | | propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação | | Resultados | any | <- | Valor máximo na coleção | +
    #### Descrição @@ -1856,11 +1940,14 @@ Se a coleção estiver vazia, `.max()` retorna *Undefined*. +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---- | :-------------------------: | ----------------------------------------------------- | | propertyPath | Text | -> | Rota de propriedade objeto a ser usado para avaliação | | Resultados | any | <- | Valor mínimo na coleção | +
    #### Descrição @@ -1906,12 +1993,15 @@ Se a coleção estiver vazia, `.min()` devolve *Undefined*. +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------ | | formula | 4D. Function | -> | Objecto fórmula | | colsToSort | Collection | -> | Coleção de coleções e/ou objetos com propriedades {`collection`:*colToSort*;`order`:`ck ascending` ou `ck descending`} | | Resultados | Collection | <- | Colecção original ordenada | +
    #### Descrição @@ -2042,6 +2132,8 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) +
    + | Parâmetro | Tipo | | Descrição | | ----------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------- | | pathStrings | Text | -> | Caminho(s) de propriedade(s) no(s) qual(is) encomendar a coleção | @@ -2049,6 +2141,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) | ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) | | Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial) | +
    #### Descrição @@ -2179,10 +2272,12 @@ Ordenar com uma rota de propriedade: -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | --------------------------------------------------------------------- | | formula | 4D. Function | -> | Objecto fórmula | @@ -2190,6 +2285,7 @@ Ordenar com uma rota de propriedade: | extraParam | any | -> | Parâmetro(s) a transmitir | | Resultados | Collection | <- | Cópia ordenada da coleção (cópia superficial) | +
    #### Descrição @@ -2285,10 +2381,13 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---- | :-------------------------: | -------------------------- | | Resultados | any | <- | Último elemento da coleção | +
    #### Descrição @@ -2331,11 +2430,14 @@ O `.pop()`, usado em conjunto com [`.push()`](#push), pode ser usado para implem +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ------------------------------------------------ | | element | any | -> | Elementos a adicionar à coleção | | Resultados | Collection | <- | Collection original contendo elementos inseridos | +
    #### Descrição @@ -2386,6 +2488,8 @@ Você deseja ordenar a coleção resultante: +
    + | Parâmetro | Tipo | | Descrição | | ------------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------ | | queryString | Text | -> | Critérios de pesquisa | @@ -2393,6 +2497,7 @@ Você deseja ordenar a coleção resultante: | querySettings | Object | -> | Opções de pesquisa: parâmetros, atributos | | Resultados | Collection | <- | Elementos que correspondem com queryString na coleção | +
    #### Descrição @@ -2687,6 +2792,8 @@ Mais exemplos de consultas podem ser encontrados na página `dataClass.query()`. +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ---------------------------------------------------------------------------------------------- | | formula | 4D. Function | -> | Objecto fórmula | @@ -2695,6 +2802,7 @@ Mais exemplos de consultas podem ser encontrados na página `dataClass.query()`. | param | Expression | -> | Parâmetro(s) a transmitir | | Resultados | any | <- | Resultado do valor do acumulador | +
    #### Descrição @@ -2772,6 +2880,8 @@ Com o seguinte método ***Flatten***: +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ---------------------------------------------------------------------------------------------- | | formula | 4D. Function | -> | Objecto fórmula | @@ -2780,6 +2890,7 @@ Com o seguinte método ***Flatten***: | param | Expression | -> | Parâmetro(s) a transmitir | | Resultados | any | <- | Resultado do valor do acumulador | +
    #### Descrição @@ -2859,12 +2970,15 @@ Com o seguinte método ***Flatten***: +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------ | | index | Integer | -> | Elemento no qual que se inicia a eliminação | | howMany | Integer | -> | Número de elementos a eliminar, ou 1 elemento se omitir | | Resultados | Collection | <- | Coleção modificada sem elemento(s) removido(s) | +
    #### Descrição @@ -2915,12 +3029,15 @@ Se tentar remover um elemento de uma coleção vazia, o método não faz nada (n +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---------- | :-------------------------: | ------------------------------------------- | | size | Integer | -> | Nova dimensão da colecção | | defaultValue | any | -> | Valor padrão para preencher novos elementos | | Resultados | Collection | <- | Colecção original redimensionada | +
    #### Descrição @@ -2970,10 +3087,13 @@ Por padrão, novos elementos são preenchidos com valores **null**. Pode especif +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | --------------------------- | | Resultados | Collection | <- | Cópia invertida da colecção | +
    #### Descrição @@ -3008,10 +3128,13 @@ A função `.reverse()` retorna uma c +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---- | :-------------------------: | ----------------------------- | | Resultados | any | <- | Primeiro elemento de colecção | +
    #### Descrição @@ -3051,12 +3174,15 @@ Se a colecção estiver vazia, este método não faz nada. +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------- | | startFrom | Integer | -> | Início do índice (incluído) | | end | Integer | -> | Final do índice (não incluído) | | Resultados | Collection | <- | Nova colecção contendo elementos cortados (cópia superficial) | +
    #### Descrição @@ -3102,6 +3228,8 @@ A coleção devolvida contém o elemento especificado por *startFrom* e todos os +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | --------------------------------------------------------------------- | | startFrom | Integer | -> | Índice para início do teste em | @@ -3110,6 +3238,7 @@ A coleção devolvida contém o elemento especificado por *startFrom* e todos os | param | any | -> | Parâmetro(s) a transmitir | | Resultados | Parâmetros | <- | True se todos os elementos passarem o teste com sucesso | +
    #### Descrição @@ -3182,6 +3311,8 @@ Quer saber se pelo menos um valor de coleção é >0. +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------------------------- | :-------------------------: | ------------------------------------------------------------------------ | | ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valores escalares) | @@ -3190,6 +3321,7 @@ Quer saber se pelo menos um valor de coleção é >0. | extraParam | any | -> | Parâmetros para o método | | Resultados | Collection | <- | Colecção original ordenada | +
    #### Descrição @@ -3275,11 +3407,14 @@ $col3:=$col.sort(Formula(String($1.value) +
    + | Parâmetro | Tipo | | Descrição | | ------------ | ---- | :-------------------------: | ---------------------------------------------------- | | propertyPath | Text | -> | Rota de propriedade objeto a ser usado para cálculos | | Resultados | Real | <- | Soma dos valores da colecção | +
    #### Descrição @@ -3335,12 +3470,15 @@ Se a coleção contiver objetos, passe o parâmetro *propertyPath* para indicar +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------- | | value | any | -> | Valor(es) a inserir no início da colecção | | Resultados | Collection | <- | Colecção contendo elemento(s) adicionado(s) | | | | | | +
    #### Descrição From 16f92af45c3e529bb6614b6cba3416fbf165404c Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 14:12:49 +0100 Subject: [PATCH 057/107] New translations functionclass.md (Portuguese, Brazilian) --- .../version-21-R2/API/FunctionClass.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md index 64b6ef79be2608..5bbbe75e703b99 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md @@ -112,12 +112,15 @@ Parâmetros são recebidos dentro do método, na ordem que são especificados na +
    + | Parâmetro | Tipo | | Descrição | | ------------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------- | | thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula | | formulaParams | Collection | -> | Coleção de valores a serem passados como $1...$n quando `formula` for executado | | Resultados | any | <- | Valores de execução de fórmula | +
    #### Descrição @@ -168,16 +171,19 @@ Note que `.apply()` é similar a [`.call()`](#call) exceto que os parâmetros s -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any +
    + | Parâmetro | Tipo | | Descrição | | ---------- | ------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------- | | thisObj | Object | -> | Objeto a ser retornado pelo comando This na fórmula | | params | any | -> | Valores a serem passados como $1...$n quando a fórmula for executada | | Resultados | any | <- | Valores de execução de fórmula | +
    #### Descrição From f222659627fa5d59f6b763b278840f7020a83f64 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 14:14:25 +0100 Subject: [PATCH 058/107] New translations quick-tour.md (Portuguese, Brazilian) --- .../version-21-R2/Concepts/quick-tour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md index 072920e7940ae1..6f80b8bc0aed88 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md @@ -423,5 +423,5 @@ The following conventions are used in the 4D language documentation: - os caracteres `{ }` (chaves) indicam parâmetros opcionais. Por exemplo, `.delete( { option : Integer } )` significa que o parâmetro *option* pode ser omisso ao chamar a função. - the `any` keyword is used for parameters that can be of any type (number, text, boolean, date, time, object, collection...). -- the `{; ...*param* : Type}` notation indicates an unlimited number of parameters of the same type. For example, `.concat( value : any { ;...valueN : any } ) : Collection` means that an unlimited number of values of any type can be passed to the function. +- the `{; *...param* : Type}` notation indicates an unlimited number of parameters of the same type. For example, `.concat( value : any { ;...valueN : any } ) : Collection` means that an unlimited number of values of any type can be passed to the function. - the `{; ...(*param* : Type ; *param2* : Type) }` notation indicates an unlimited number of groups of parameters. For example, `COLLECTION TO ARRAY ( collection : Collection ; array : Array {; propertyName : Text}{; ...(array : Array ; propertyName : Text) } )` means that an unlimited number of couple values of type array/text can be passed to the command. From 01a27caa7693cba3ce58c3cf7515f5699f3c295e Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 14:32:36 +0100 Subject: [PATCH 059/107] New translations collectionclass.md (French) --- .../version-19/API/CollectionClass.md | 599 ++++++++++-------- 1 file changed, 340 insertions(+), 259 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md index d3d548b39e100d..e2c506aaf9ba32 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md @@ -70,12 +70,14 @@ Une collection est initialisée avec : -| Paramètres | Type | | Description | -| ---------- | ----------------------------------------------------------------------- |:--:| ------------------------------------------------- | -| value | Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer | -> | Valeur(s) de collection | -| Résultat | Collection | <- | La nouvelle collection| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Collection's value(s)| +|Result|Collection|<-|The new collection| +
    + #### Description @@ -151,12 +153,14 @@ Vous souhaitez créer une nouvelle collection puis ajouter un élément : -| Paramètres | Type | | Description | -| ---------- | ----------------------------------------------------- |:--:| ---------------------------------------------------------- | -| value | Number, Text, Date, Time, Boolean, Object, Collection | -> | Valeur(s) de la collection partagée | -| Résultat | Collection | <- | La nouvelle collection partagée| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Shared collection's value(s)| +|Result|Collection|<-|The new shared collection| +
    + #### Description @@ -212,12 +216,14 @@ Vous pouvez passer tout nombre de valeurs de n'importe quel type pris en charge -| Paramètres | Type | | Description | -| ------------ | --------------- |:--:| ---------------------------------------------------------------------------- | -| propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | -| Résultat | Real, Undefined | <- | Moyenne arithmétique des valeurs de la collection| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real, Undefined|<-|Arithmetic mean (average) of collection values| +
    + #### Description @@ -269,11 +275,13 @@ Si la collection contient des objets, passez le paramètre *propertyPath* si vou -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------------- | -| Résultat | Collection | <- | Collection d'origine dont tous les éléments ont été supprimés| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Original collection with all elements removed| +
    + #### Description @@ -306,13 +314,15 @@ $vSize:=$col.length //$vSize=0 -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------- | -| col2 | Collection | -> | Collection à combiner | -| index | Integer | -> | Emplacement où insérer les éléments à combiner (défaut=length+1) | -| Résultat | Collection | <- | Collection d'origine incluant les éléments combinés - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|col2|Collection|->|Collection to combine| +|index|Integer|->|Position to which insert elements to combine in collection (default=length+1)| +|Result|Collection|<-|Original collection containing combined element(s)| +
    + #### Description @@ -353,12 +363,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| -------------------------------------------------------------------------------------------------------------------------------- | -| value | any | -> | Valeur(s) à concaténer. Si *value* est une collection, tous les éléments de la collection sont ajoutés à la collection d'origine | -| Résultat | Collection | <- | Nouvelle collection contenant les valeurs d'origine et les valeurs ajoutées| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|any|->|Value(s) to concatenate. If *value* is a collection, all collection elements are added to the original collection| +|Result|Collection|<-|New collection with value(s) added to the original collection| +
    + #### Description @@ -396,14 +408,16 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] -| Paramètres | Type | | Description | -| ------------ | ---------- |:--:| ----------------------------------------------------------------------------------------------------------------------- | -| option | Integer | -> | `ck resolve pointers`: résoudre les pointeurs avant la copie,
    `ck shared` : retourner une collection partagée | -| groupWithCol | Collection | -> | Collection partagée à grouper avec la collection résultante | -| groupWithObj | Object | -> | Objet partagé à grouper avec la collection résultante | -| Résultat | Collection | <- | Copie de la collection d'origine (deep copy) - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|option|Integer|->|`ck resolve pointers`: resolve pointers before copying,
    `ck shared`: return a shared collection| +|groupWithCol |Collection|->|Shared collection to be grouped with the resulting collection| +|groupWithObj |Object|->|Shared object to be grouped with the resulting collection| +|Result|Collection|<-|Deep copy of the original collection| +
    + #### Description @@ -523,12 +537,14 @@ Cet exemple illustre l'utilisation de l'option `ck resolve pointers` : -| Paramètres | Type | | Description | -| ------------ | ---- |:--:| --------------------------------------------------------------- | -| propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | -| Résultat | Real | <- | Nombre d'éléments dans la collection| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of elements in the collection| +
    + #### Description @@ -568,13 +584,15 @@ Si la collection contient des objets, vous pouvez passer le paramètre *property -| Paramètres | Type | | Description | -| ------------ | ----------------------------------------------- |:--:| --------------------------------------------------------------- | -| value | Text, Number, Boolean, Date, Object, Collection | -> | Valeur à compter | -| propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | -| Résultat | Real | <- | Nombre d'occurrences de la valeur | - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Text, Number, Boolean, Date, Object, Collection|->|Value to count| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of occurrences of the value | +
    + #### Description @@ -642,13 +660,15 @@ Le paramètre optionnel *propertyPath* vous permet de compter des valeurs à l'i -| Paramètres | Type | | Description | -| ------------ | ---------- |:--:| ------------------------------------------------------------------------------------------ | -| option | Integer | -> | `ck diacritical` : évaluation diacritique ("A" # "a" par exemple) | -| propertyPath | Text | -> | Chemin de l'attribut dont vous souhaitez obtenir les valeurs distinctes | -| Résultat | Collection | <- | Nouvelle collection contenant uniquement les valeurs distinctes| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example)| +|propertyPath|Text|->|Path of attribute whose distinct values you want to get| +|Result|Collection|<-|New collection with only distinct values| +
    + #### Description @@ -692,13 +712,15 @@ Si la collection contient des objets, vous pouvez passer le paramètre *property -| Paramètres | Type | | Description | -| ----------- | ---------- |:--:| ------------------------------------------------------------------------------ | -| collection2 | Collection | -> | Collection à comparer | -| option | Integer | -> | `ck diacritical` : évaluation diacritique ("A" # "a" par exemple) | -| Résultat | Boolean | <- | Vrai si les collections sont identiques, sinon faux| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|collection2|Collection|->|Collection to compare| +|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example) +|Result|Boolean|<-|True if collections are identical, false otherwise| +
    + #### Description @@ -753,14 +775,16 @@ Par défaut, une évaluation non diacritique est effectuée. Si vous souhaitez q -| Paramètres | Type | | Description | -| ---------- | ------- |:--:| ----------------------------------------------------------------------- | -| startFrom | Integer | -> | Elément à partir duquel débuter l'évaluation | -| methodName | Text | -> | Nom de la méthode à appeler pour l'évaluation | -| param | Mixed | -> | Paramètre(s) à passer à nomMéthode | -| Résultat | Boolean | <- | Vrai si tous les éléments sont évalués à vrai - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the test at| +|methodName|Text|->|Name of the method to call for the test| +|param|Mixed|->|Parameter(s) to pass to methodName| +|Result|Boolean|<-|True if all elements successfully passed the test| +
    + #### Description @@ -846,14 +870,16 @@ End if -| Paramètres | Type | | Description | -| ------------ | ---------- |:--:| -------------------------------------------------------------------------------------------------------------------------------------------- | -| propertyPath | Text | -> | Chemin de propriété d'objet dont les valeurs doivent être extraites dans la nouvelle collection | -| targetpath | Text | -> | Chemin ou nom de propriété cible | -| option | Integer | -> | `ck keep null` : inclure les propriétés null dans la collection retournée (ignorées par défaut). Paramètre ignoré si *targetPath* est passé. | -| Résultat | Collection | <- | Nouvelle collection contenant les valeurs extraites| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path whose values must be extracted to the new collection| +|targetpath|Text|->|Target property path or property name| +|option|Integer|->|`ck keep null`: include null properties in the returned collection (ignored by default). Parameter ignored if *targetPath* passed.| +|Result|Collection|<-|New collection containing extracted values| +
    + #### Description @@ -914,14 +940,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| Paramètres | Type | | Description | -| ---------- | ----------------------------------------------- |:--:| -------------------------------------------------------------------------- | -| value | Number, Text, Object, Collection, Date, Boolean | -> | Valeur de remplissage | -| startFrom | Integer | -> | Indice l'élément de départ (inclus) | -| end | Integer | -> | Indice de fin (non inclus) | -| Résultat | collection | <- | Collection d'origine avec valeurs de remplissage - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|number, Text, Collection, Object, Date, Boolean|->|Filling value| +|startFrom|Integer|->|Start index (included)| +|end|Integer|->|End index (not included)| +|Result|collection|<-|Original collection with filled values| +
    + #### Description @@ -966,13 +994,15 @@ En cas d'incohérence, les règles suivantes sont appliquées : -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| -------------------------------------------------------------------------------------------- | -| methodName | Text | -> | Nom de la méthode à appeler pour filtrer la collection | -| param | Mixed | -> | Paramètre(s) à passer à *methodName* | -| Résultat | Collection | <- | Nouvelle collection contenant les éléments filtrés (shallow copy)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName|Text|->|Name of the function to call to filter the collection| +|param|Mixed|->|Parameter(s) to pass to *methodName*| +|Result|Collection|<-|New collection containing filtered elements (shallow copy)| +
    + #### Description @@ -1056,14 +1086,16 @@ Le code de ***TypeLookUp*** est : -| Paramètres | Type | | Description | -| ---------- | ------- |:--:| ---------------------------------------------------------------------------- | -| startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | -| methodName | Text | -> | Nom de la méthode à appeler pour la recherche | -| param | any | -> | Paramètre(s) à passer à *methodName* | -| Résultat | any | <- | Première valeur trouvée (Undefined si non trouvée) - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|methodName|Text|->|Name of the function to call for the find| +|param|any|->|Parameter(s) to pass to *methodName*| +|Result|any |<-|First value found, or Undefined if not found| +
    + #### Description @@ -1150,14 +1182,16 @@ Le code de la méthode ***FindCity*** est : -| Paramètres | Type | | Description | -| ---------- | ------- |:--:| ----------------------------------------------------------------------------- | -| startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | -| methodName | Text | -> | Nom de la méthode à appeler pour la recherche | -| param | any | -> | Paramètre(s) à passer à *methodName* | -| Résultat | Integer | <- | Numéro du premier élément trouvé (-1 si non trouvé) - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|methodName|Text|->|Name of the function to call for the find| +|param|any|->|Parameter(s) to pass to *methodName*| +|Result|Integer |<-|Index of first value found, or -1 if not found| +
    + #### Description @@ -1225,13 +1259,15 @@ Le code de la méthode ***FindCity*** est : -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------------------------------------------- | -| toSearch | expression | -> | Expression à rechercher dans la collection | -| startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | -| Résultat | Integer | <- | Numéro de la première occurrence de toSearch dans la collection, -1 si non trouvée| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|Expression to search in the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found| +
    + #### Description @@ -1281,13 +1317,15 @@ Optionnellement, vous pouvez passer le numéro de l'élément auquel démarrer l -| Paramètres | Type | | Description | -| ----------- | ---------- |:--:| ---------------------------------------------------------------------------------------------------------- | -| queryString | Text | -> | Critère(s) de recherche | -| value | any | -> | Valeur(s) à comparer lors de l'utilisation de paramètre(s) dans la chaîne | -| Résultat | Collection | <- | Numéro(s) d'élément(s) de la collection répondant au(x) critère(s) de recherche| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|any|->|Value(s) to compare when using placeholder(s)| +|Result|Collection |<-|Element index(es) matching queryString in the collection| +
    + #### Description @@ -1334,13 +1372,15 @@ Pour une description détaillée de la construction de recherches à l'aide des -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------- | -| index | Integer | -> | Où insérer l'élément | -| element | any | -> | Elément à insérer dans la collection | -| Résultat | Collection | <- | Collection d'origine incluant l'élément inséré| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index|Integer|->|Where to insert the element| +|element|any|->|Element to insert in the collection| +|Result|Collection |<-|Original collection containing inserted element| +
    + #### Description @@ -1383,13 +1423,15 @@ Vous pouvez passer tout type d'élément accepté par les collections, y compris -| Paramètres | Type | | Description | -| ---------- | ------- |:--:| ----------------------------------------------------------------------------------------------------- | -| delimiter | Text | -> | Séparateur à utiliser entre les éléments | -| option | Integer | -> | `ck ignore null or empty` : ignorer les chaînes null ou vides dans le résultat | -| Résultat | Text | <- | Chaîne contenant tous les éléments de la collection, séparés par delimiter| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|delimiter|Text|->|Separator to use between elements| +|option|Integer|->|`ck ignore null or empty`: ignore null and empty strings in the result| +|Result|Text |<-|String containing all elements of the collection, separated by delimiter| +
    + #### Description @@ -1425,13 +1467,15 @@ Par défaut, les éléments null ou vides de la collection sont inclus dans la c -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------------------------------------------ | -| toSearch | expression | -> | Elément à chercher dans la collection | -| startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | -| Résultat | Integer | <- | Numéro de la dernière occurrence de toSearch dans la collection, -1 si non trouvé| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|The element that is to be searched for within the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found| +
    + #### Description @@ -1512,13 +1556,15 @@ La propriété `.length` est initialisée à la création de la collection. Elle -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| -------------------------------------------------------------------------- | -| methodName | Text | -> | Nom de la méthode à appeler pour transformer les éléments de la collection | -| param | any | -> | Paramètre(s) à passer à la méthode | -| Résultat | Collection | <- | Collection de valeurs transformées| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName|Text|->|Name of method used to transform the collection elements| +|param|any|->|Parameter(s) for the method| +|Result|Collection |<-|Collection of transformed values| +
    + #### Description @@ -1572,12 +1618,14 @@ Voici la méthode ***Percentage*** : -| Paramètres | Type | | Description | -| ------------ | ----------------------------------------------- |:--:| --------------------------------------------------------------- | -| propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | -| Résultat | Boolean, Text, Number, Collection, Object, Date | <- | Valeur maximum de la collection| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection| +
    + #### Description @@ -1620,12 +1668,14 @@ Si la collection est vide, `.max()` retourne *Undefined*. -| Paramètres | Type | | Description | -| ------------ | ----------------------------------------------- |:--:| --------------------------------------------------------------- | -| propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | -| Résultat | Boolean, Text, Number, Collection, Object, Date | <- | Valeur minimum de la collection| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection| +
    + #### Description @@ -1668,14 +1718,16 @@ Si la collection est vide, `.min()` retourne *Undefined*. -| Paramètres | Type | | Description | -| ----------- | ---------- |:--:| ----------------------------------------------------------------------- | -| pathStrings | Text | -> | Chemin(s) de propriété(s) à utiliser pour trier la collection | -| pathObjects | Collection | -> | Collection d'objets critère | -| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valeurs scalaires) | -| Résultat | Collection | <- | Copiée triée de la collection (shallow copy)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|pathStrings|Text|->|Property path(s) on which to order the collection| +|pathObjects|Collection|->|Collection of criteria objects| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|Result|Collection |<-|Ordered copy of the collection (shallow copy)| +
    + #### Description @@ -1799,17 +1851,19 @@ Tri avec un chemin de propriété : -**.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------- | -| methodName | Text | -> | Nom de la méthode utilisée pour trier la collection | -| extraParam | expression | -> | Paramètre(s) à passer à la méthode | -| Résultat | Collection | <- | Copie triée de la collection (shallow copy)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName|Text|->|Name of method used to specify the sorting order| +|extraParam|expression|->|Parameter(s) for the method | +|Result|Collection |<-|Sorted copy of the collection (shallow copy)| +
    + #### Description @@ -1906,11 +1960,13 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0) -| Paramètres | Type | | Description | -| ---------- | ---- |:--:| -------------------------------------------------------- | -| Résultat | any | <- | Dernier élément de collection| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any |<-|Last element of collection| +
    + #### Description @@ -1950,12 +2006,14 @@ Lorsqu'elle est appliquée à une collection vide, .`pop()` retourne ***undefine -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------------ | -| element | Mixed | -> | Élément(s) à ajouter à la collection | -| Résultat | Collection | <- | Collection originale contenant des éléments ajoutés| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|element|Mixed|->|Element(s) to add to the collection| +|Result|Collection |<-|Original collection containing added elements| +
    + #### Description @@ -2004,14 +2062,16 @@ Vous souhaitez trier la collection résultante : -| Paramètres | Type | | Description | -| ------------- | ---------- |:--:| ------------------------------------------------------------------------------------ | -| queryString | Text | -> | Critère(s) de recherche | -| value | Mixed | -> | Valeur(s) à comparer lors de l'utilisation de paramètre(s) dans la chaîne | -| querySettings | Object | -> | Options de requête : paramètres, attributs | -| Résultat | Collection | <- | Élément(s) correspondant à queryString dans la collection| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|Mixed|->|Value(s) to compare when using placeholder(s)| +|querySettings|Object|->|Query options: parameters, attributes| +|Result|Collection |<-|Element(s) matching queryString in the collection| +
    + #### Description @@ -2105,14 +2165,16 @@ Vous trouverez plus d'exemples de requêtes dans la page `dataClass.query()`. -| Paramètres | Type | | Description | -| ---------- | ----------------------------------------------- |:--:| ------------------------------------------------------------------------- | -| methodName | Text | -> | Nom de la fonction à appeler pour traiter les éléments de collection | -| initValue | Text, Number, Object, Collection, Date, Boolean | -> | Valeur à utiliser comme premier argument du premier appel de *methodName* | -| param | expression | -> | Paramètre(s) à passer à *methodName* | -| Résultat | Text, Number, Object, Collection, Date, Boolean | <- | Résultat de la valeur de l'accumulateur| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName |Text|->|Name of the function to call to process collection elements| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *methodName*| +|param |expression|->|Parameter(s) to pass to *methodName*| +|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +
    + #### Description @@ -2190,13 +2252,15 @@ Avec la méthode ***Flatten*** suivante : -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| --------------------------------------------------------------------------- | -| index | Integer | -> | Élément à partir duquel la suppression peut commencer | -| howMany | Integer | -> | Nombre d'éléments à supprimer, ou 1 élément si omis | -| Résultat | Collection | <- | Collection d'origine sans élément(s) supprimé(s)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index |Integer|->|Element at which to start removal| +|howMany |Integer|->|Number of elements to remove, or 1 element if omitted| +|Result|Collection|<-|Original collection without removed element(s)| +
    + #### Description @@ -2242,13 +2306,15 @@ Si vous essayez de supprimer un élément d'une collection vide, la méthode ne -| Paramètres | Type | | Description | -| ------------ | ----------------------------------------------- |:--:| -------------------------------------------------------------- | -| size | Integer | -> | Nouvelle taille de la collection | -| defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | Valeur par défaut pour remplir de nouveaux éléments | -| Résultat | Collection | <- | Collection d'origine redimensionnée| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|size |Integer|->|New size of the collection| +|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Default value to fill new elements| +|Result|Collection|<-|Resized original collection| +
    + #### Description @@ -2297,11 +2363,13 @@ Par défaut, les nouveaux éléments sont remplis par des valeurs **null**. Vous -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ---------------------------------------------------------- | -| Résultat | Collection | <- | Copie inversée de la collection| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Inverted copy of the collection| +
    + #### Description @@ -2333,11 +2401,13 @@ La fonction `.reverse()` retourne une -| Paramètres | Type | | Description | -| ---------- | ---- |:--:| -------------------------------------------------------- | -| Résultat | any | <- | Premier élément de collection| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any|<-|First element of collection| +
    + #### Description @@ -2374,13 +2444,15 @@ Si la collection est vide, cette méthode ne fait rien. -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| --------------------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Indice l'élément de départ (inclus) | -| end | Integer | -> | Indice de fin (non inclus) | -| Résultat | Collection | <- | Nouvelle collection contenant des éléments scindés (copie superficielle)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Start index (included)| +|end |Integer |->|End index (not included)| +|Result|Collection|<-|New collection containing sliced elements (shallow copy)| +
    + #### Description @@ -2422,14 +2494,16 @@ La collection retournée contient l'élément spécifié par *startFrom* et tous -| Paramètres | Type | | Description | -| ---------- | ------- |:--:| ----------------------------------------------------------------------- | -| startFrom | Integer | -> | Elément à partir duquel débuter l'évaluation | -| methodName | Text | -> | Nom de la méthode à appeler pour l'évaluation | -| param | Mixed | -> | Paramètre(s) à passer à *methodName* | -| Résultat | Boolean | <- | Vrai si au moins un élément a réussi le test| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Index to start the test at| +|methodName |Text |->|Name of the method to call for the test| +|param |Mixed |->|Parameter(s) to pass to *methodName*| +|Result|Boolean|<-|True if at least one element successfully passed the test| +
    + #### Description @@ -2497,12 +2571,15 @@ Avec la méthode *NumberGreaterThan0* suivante : -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------------------------------------------------- | -| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valeurs scalaires) | -| methodName | Text | -> | Nom de la méthode utilisée pour trier la collection | -| extraParam | any | -> | Paramètre(s) à passer à la méthode | -| Résultat | Collection | <- | Optionnellement, vous pouvez passer des paramètres à *formula* ou *methodName* en utilisant le(s) paramètre(s) *param*. | +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|methodName |Text |->|Name of method used to specify the sorting order| +|extraParam |any |->|Parameter(s) for the method| +|Result|Collection|<-|Original collection sorted| +
    #### Description @@ -2590,12 +2667,14 @@ Si vous souhaitez trier les éléments de la collection dans un autre ordre ou t -| Paramètres | Type | | Description | -| ------------ | ---- |:--:| --------------------------------------------------------------- | -| propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | -| Résultat | Real | <- | Somme des valeurs de collection| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath |Text |->|Object property path to be used for calculation| +|Result|Real|<-|Sum of collection values| +
    + #### Description @@ -2650,13 +2729,15 @@ Si la collection contient des objets, passez le paramètre *propertyPath* si vou -| Paramètres | Type | | Description | -| -------------------------- | -------------------------------------- |:--:| --------------------------------------------- | -| value | Text, Number, Object, Collection, Date | -> | Valeur(s) à insérer au début de la collection | -| Résultat | Collection | <- | Collection contenant des éléments ajoutés | -| +
    -| | | | +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value |Text, Number, Object, Collection, Date |->|Value(s) to insert at the beginning of the collection| +|Result|Collection|<-|Collection containing added element(s) +| +
    + #### Description From 545b449c2c1f616a39c1b368d694a37c93ff0b3e Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 14:33:22 +0100 Subject: [PATCH 060/107] New translations quick-tour.md (French) --- .../current/Concepts/quick-tour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md index 27b9361302f106..2b7e6e5e9ccf19 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/quick-tour.md @@ -430,5 +430,5 @@ Les conventions suivantes sont utilisées dans la documentation du langage 4D : - les caractères `{ }` (accolades) indiquent des paramètres facultatifs. Par exemple, `.delete( { option : Integer } )` signifie que le paramètre *option* peut être omis lors de l'appel de la fonction. - le mot-clé `any` est utilisé pour les paramètres qui peuvent être de n'importe quel type (nombre, texte, booléen, date, heure, objet, collection...). -- la notation `{ ; ...*param* : Type}` indique un nombre illimité de paramètres du même type. For example, `.concat( value : any { ;...valueN : any } ) : Collection` means that an unlimited number of values of any type can be passed to the function. +- the `{; *...param* : Type}` notation indicates an unlimited number of parameters of the same type. For example, `.concat( value : any { ;...valueN : any } ) : Collection` means that an unlimited number of values of any type can be passed to the function. - la notation `{ ; ...(*param* : Type ; *param2* : Type) }` indique un nombre illimité de groupes de paramètres. For example, `COLLECTION TO ARRAY ( collection : Collection ; array : Array {; propertyName : Text}{; ...(array : Array ; propertyName : Text) } )` means that an unlimited number of couple values of type array/text can be passed to the command. From 3d1c697fc62fa695e9f63fef3742403e3783ff00 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 14:34:18 +0100 Subject: [PATCH 061/107] New translations collectionclass.md (Spanish) --- .../version-19/API/CollectionClass.md | 599 ++++++++++-------- 1 file changed, 340 insertions(+), 259 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md b/i18n/es/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md index 6da88c80387e1a..3b6de84b93bf6b 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md @@ -70,12 +70,14 @@ Una colección se inicializa con: -| Parámetros | Tipo | | Descripción | -| ---------- | ----------------------------------------------------------------------- |:--:| --------------------------------------------- | -| value | Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer | -> | Valor(es) de collection | -| Resultado | Collection | <- | La nueva colección| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Collection's value(s)| +|Result|Collection|<-|The new collection| +
    + #### Descripción @@ -151,12 +153,14 @@ Se crea una nueva colección y se añade un nuevo elemento: -| Parámetros | Tipo | | Descripción | -| ---------- | ----------------------------------------------------- |:--:| -------------------------------------------------------- | -| value | Number, Text, Date, Time, Boolean, Object, Collection | -> | Valor(es) de la collection compartida | -| Resultado | Collection | <- | La nueva colección compartida| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Shared collection's value(s)| +|Result|Collection|<-|The new shared collection| +
    + #### Descripción @@ -212,12 +216,14 @@ Puede pasar cualquier número de valores de los siguientes tipos soportados: -| Parámetros | Tipo | | Descripción | -| ------------ | --------------- |:--:| ------------------------------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | -| Resultado | Real, Undefined | <- | Media aritmética (promedio) de los valores de la colección| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real, Undefined|<-|Arithmetic mean (average) of collection values| +
    + #### Descripción @@ -269,11 +275,13 @@ Si la colección contiene objetos, pasa el parámetro *propertyPath* para indica -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| -------------------------------------------------------------------------------- | -| Resultado | Collection | <- | Colección original con todos los elementos eliminados| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Original collection with all elements removed| +
    + #### Descripción @@ -306,13 +314,15 @@ $vSize:=$col.length //$vSize=0 -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------------------------- | -| col2 | Collection | -> | Colección a combinar | -| index | Integer | -> | Posición a la que se deben combinar los elementos de inserción en la colección (por defecto=length+1) | -| Resultado | Collection | <- | Colección original que contiene elementos combinados| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|col2|Collection|->|Collection to combine| +|index|Integer|->|Position to which insert elements to combine in collection (default=length+1)| +|Result|Collection|<-|Original collection containing combined element(s)| +
    + #### Descripción @@ -353,12 +363,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------------------------------------------------------ | -| value | any | -> | Valores a concatenar. Si *value* es una colección, todos los elementos de la colección se añaden a la colección original | -| Resultado | Collection | <- | Nueva colección con valor(es) añadido(s) a la colección original| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|any|->|Value(s) to concatenate. If *value* is a collection, all collection elements are added to the original collection| +|Result|Collection|<-|New collection with value(s) added to the original collection| +
    + #### Descripción @@ -396,14 +408,16 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] -| Parámetros | Tipo | | Descripción | -| ------------ | ---------- |:--:| ------------------------------------------------------------------------------------------------------------------ | -| option | Integer | -> | `ck resolve pointers`: resolver punteros antes de copiar,
    `ck shared`: devolver una colección compartida | -| groupWithCol | Collection | -> | Colección compartida que se agrupa con la colección resultante | -| groupWithObj | Object | -> | Objeto compartido que se agrupa con la colección resultante | -| Resultado | Collection | <- | Copia profunda de la colección original| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|option|Integer|->|`ck resolve pointers`: resolve pointers before copying,
    `ck shared`: return a shared collection| +|groupWithCol |Collection|->|Shared collection to be grouped with the resulting collection| +|groupWithObj |Object|->|Shared object to be grouped with the resulting collection| +|Result|Collection|<-|Deep copy of the original collection| +
    + #### Descripción @@ -528,12 +542,14 @@ Este ejemplo ilustra el uso de la opción `ck resolve pointers`: -| Parámetros | Tipo | | Descripción | -| ------------ | ---- |:--:| ---------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | -| Resultado | Real | <- | Número de elementos en la colección| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of elements in the collection| +
    + #### Descripción @@ -573,13 +589,15 @@ Si la colección contiene objetos, se puede pasar el parámetro *propertyPath*. -| Parámetros | Tipo | | Descripción | -| ------------ | ----------------------------------------------- |:--:| ---------------------------------------------------------------- | -| value | Text, Number, Boolean, Date, Object, Collection | -> | Valor a contar | -| propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | -| Resultado | Real | <- | Número de ocurrencias del valor | - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Text, Number, Boolean, Date, Object, Collection|->|Value to count| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of occurrences of the value | +
    + #### Descripción @@ -647,13 +665,15 @@ El parámetro opcional *propertyPath* permite contar valores dentro de una colec -| Parámetros | Tipo | | Descripción | -| ------------ | ---------- |:--:| --------------------------------------------------------------------- | -| option | Integer | -> | `ck diacritical`: evaluación diacrítica ("A" # "a" por ejemplo) | -| propertyPath | Text | -> | Ruta del atributo cuyos valores distintos desea obtener | -| Resultado | Collection | <- | Nueva colección con sólo valores distintos| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example)| +|propertyPath|Text|->|Path of attribute whose distinct values you want to get| +|Result|Collection|<-|New collection with only distinct values| +
    + #### Descripción @@ -697,13 +717,15 @@ Si la colección contiene objetos, puede pasar el parámetro *propertyPath* para -| Parámetros | Tipo | | Descripción | -| ----------- | ---------- |:--:| ----------------------------------------------------------------------------------------- | -| collection2 | Collection | -> | Colección a comparar | -| option | Integer | -> | `ck diacritical`: evaluación diacrítica ("A" # "a" por ejemplo) | -| Resultado | Boolean | <- | True si las colecciones son idénticas, false en caso contrario| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|collection2|Collection|->|Collection to compare| +|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example) +|Result|Boolean|<-|True if collections are identical, false otherwise| +
    + #### Descripción @@ -758,14 +780,16 @@ Por defecto, se realiza una evaluación no diacrítica. Si desea que la evaluaci -| Parámetros | Tipo | | Descripción | -| ---------- | ------- |:--:| ------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice para iniciar la prueba en | -| methodName | Text | -> | Nombre del método a llamar para la prueba | -| param | Mixed | -> | Parámetro(s) a pasar a methodName | -| Resultado | Boolean | <- | True si todos los elementos han pasado la prueba con éxito| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the test at| +|methodName|Text|->|Name of the method to call for the test| +|param|Mixed|->|Parameter(s) to pass to methodName| +|Result|Boolean|<-|True if all elements successfully passed the test| +
    + #### Descripción @@ -851,14 +875,16 @@ End if -| Parámetros | Tipo | | Descripción | -| ------------ | ---------- |:--:| --------------------------------------------------------------------------------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta de la propiedad del objeto cuyos valores deben ser extraídos a la nueva colección | -| targetpath | Text | -> | Ruta de la propiedad de destino o nombre de la propiedad | -| option | Integer | -> | `ck keep null`: incluye la propiedad null en la colección devuelta (se ignora por defecto). Parámetro ignorado si se pasa *targetPath*. | -| Resultado | Collection | <- | Nueva colección que contiene los valores extraídos| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path whose values must be extracted to the new collection| +|targetpath|Text|->|Target property path or property name| +|option|Integer|->|`ck keep null`: include null properties in the returned collection (ignored by default). Parameter ignored if *targetPath* passed.| +|Result|Collection|<-|New collection containing extracted values| +
    + #### Descripción @@ -919,14 +945,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| Parámetros | Tipo | | Descripción | -| ---------- | ----------------------------------------------- |:--:| ------------------------------------------------------------------------ | -| value | number, Text, Collection, Object, Date, Boolean | -> | Valor a asignar | -| startFrom | Integer | -> | Índice de inicio (incluido) | -| end | Integer | -> | Índice final (no incluido) | -| Resultado | collection | <- | Colección original con los valores rellenados| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|number, Text, Collection, Object, Date, Boolean|->|Filling value| +|startFrom|Integer|->|Start index (included)| +|end|Integer|->|End index (not included)| +|Result|collection|<-|Original collection with filled values| +
    + #### Descripción @@ -971,13 +999,15 @@ En caso de incoherencia, se aplican las siguientes reglas: -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| --------------------------------------------------------------------------------------------------- | -| methodName | Text | -> | Nombre de la función a la que se llama para filtrar la colección | -| param | Mixed | -> | Parámetro(s) a pasar a *methodName* | -| Resultado | Collection | <- | Nueva colección que contiene los elementos filtrados (copia superficial)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName|Text|->|Name of the function to call to filter the collection| +|param|Mixed|->|Parameter(s) to pass to *methodName*| +|Result|Collection|<-|New collection containing filtered elements (shallow copy)| +
    + #### Descripción @@ -1061,14 +1091,16 @@ El código de ***TypeLookUp*** es: -| Parámetros | Tipo | | Descripción | -| ---------- | ------- |:--:| ---------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice para iniciar la búsqueda en | -| methodName | Text | -> | Nombre de la función a la que se llama para la búsqueda | -| param | any | -> | Parámetro(s) a pasar a *methodName* | -| Resultado | any | <- | Primer valor encontrado, o Undefined si no se encuentra| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|methodName|Text|->|Name of the function to call for the find| +|param|any|->|Parameter(s) to pass to *methodName*| +|Result|any |<-|First value found, or Undefined if not found| +
    + #### Descripción @@ -1155,14 +1187,16 @@ El código para ***FindCity*** es: -| Parámetros | Tipo | | Descripción | -| ---------- | ------- |:--:| -------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice para iniciar la búsqueda en | -| methodName | Text | -> | Nombre de la función a la que se llama para la búsqueda | -| param | any | -> | Parámetro(s) a pasar a *methodName* | -| Resultado | Integer | <- | Índice del primer valor encontrado, o -1 si no se encuentra| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|methodName|Text|->|Name of the function to call for the find| +|param|any|->|Parameter(s) to pass to *methodName*| +|Result|Integer |<-|Index of first value found, or -1 if not found| +
    + #### Descripción @@ -1230,13 +1264,15 @@ El código del método ***FindCity*** es: -| Parámetros | Tipo | | Descripción | -| ---------- | --------- |:--:| ------------------------------------------------------------------------------------------------------------- | -| toSearch | expresión | -> | Expresión a buscar en la colección | -| startFrom | Integer | -> | Índice para iniciar la búsqueda en | -| Resultado | Integer | <- | Índice de la primera ocurrencia de toSearch en la colección, -1 si no se encuentra| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|Expression to search in the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found| +
    + #### Descripción @@ -1286,13 +1322,15 @@ Opcionalmente, puede pasar el índice de la colección desde el que iniciar la b -| Parámetros | Tipo | | Descripción | -| ----------- | ---------- |:--:| ----------------------------------------------------------------------------------------------- | -| queryString | Text | -> | Criterio de búsqueda | -| value | any | -> | Valor(es) a comparar cuando se utiliza(n) marcador(es) de posición | -| Resultado | Collection | <- | Índice(s) de elementos que coinciden con queryString en la colección| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|any|->|Value(s) to compare when using placeholder(s)| +|Result|Collection |<-|Element index(es) matching queryString in the collection| +
    + #### Descripción @@ -1339,13 +1377,15 @@ Para una descripción detallada de los parámetros *queryString* y *value*, cons -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------- | -| index | Integer | -> | Dónde insertar el elemento | -| element | any | -> | Elemento a insertar en la colección | -| Resultado | Collection | <- | Colección original que contiene los elementos insertados| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index|Integer|->|Where to insert the element| +|element|any|->|Element to insert in the collection| +|Result|Collection |<-|Original collection containing inserted element| +
    + #### Descripción @@ -1388,13 +1428,15 @@ Se puede insertar cualquier tipo de elemento aceptado por una colección, inclus -| Parámetros | Tipo | | Descripción | -| ---------- | ------- |:--:| ---------------------------------------------------------------------------------------------------------------- | -| delimiter | Text | -> | Separador a utilizar entre elementos | -| option | Integer | -> | `ck ignore null or empty`: ignorar las cadenas nulas y vacías en el resultado | -| Resultado | Text | <- | Cadena que contiene todos los elementos de la colección, separados por un delimitador| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|delimiter|Text|->|Separator to use between elements| +|option|Integer|->|`ck ignore null or empty`: ignore null and empty strings in the result| +|Result|Text |<-|String containing all elements of the collection, separated by delimiter| +
    + #### Descripción @@ -1430,13 +1472,15 @@ Por defecto, los elementos nulos o vacíos de la colección se devuelven en la c -| Parámetros | Tipo | | Descripción | -| ---------- | --------- |:--:| ------------------------------------------------------------------------------------------------------------ | -| toSearch | expresión | -> | El elemento que se va a buscar dentro de la colección | -| startFrom | Integer | -> | Índice para iniciar la búsqueda en | -| Resultado | Integer | <- | Índice de la última ocurrencia de toSearch en la colección, -1 si no se encuentra| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|The element that is to be searched for within the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found| +
    + #### Descripción @@ -1517,13 +1561,15 @@ La propiedad `.length` se inicializa cuando se crea la colección. Añadir o eli -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| -------------------------------------------------------------------------- | -| methodName | Text | -> | Nombre del método utilizado para transformar los elementos de la colección | -| param | any | -> | Parámetros del método | -| Resultado | Collection | <- | Colección de valores transformados| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName|Text|->|Name of method used to transform the collection elements| +|param|any|->|Parameter(s) for the method| +|Result|Collection |<-|Collection of transformed values| +
    + #### Descripción @@ -1577,12 +1623,14 @@ Aqui está el método ***Percentage***: -| Parámetros | Tipo | | Descripción | -| ------------ | ----------------------------------------------- |:--:| ------------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para la evaluación | -| Resultado | Boolean, Text, Number, Collection, Object, Date | <- | Valor máximo en la colección| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection| +
    + #### Descripción @@ -1625,12 +1673,14 @@ Si la colección está vacía, `.max()` devuelve *Undefined*. -| Parámetros | Tipo | | Descripción | -| ------------ | ----------------------------------------------- |:--:| ------------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para la evaluación | -| Resultado | Boolean, Text, Number, Collection, Object, Date | <- | Valor mínimo en la colección| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection| +
    + #### Descripción @@ -1673,14 +1723,16 @@ Si la colección está vacía, `.min()` devuelve *Undefined*. -| Parámetros | Tipo | | Descripción | -| ----------- | ---------- |:--:| ----------------------------------------------------------------------------- | -| pathStrings | Text | -> | Ruta(s) de propiedad(es) a utilizar para ordenar la colección | -| pathObjects | Collection | -> | Colección de objetos criterio | -| ascOrDesc | Integer | -> | `ck ascending` o `ck descending` (valores escalares) | -| Resultado | Collection | <- | Copia ordenada de la colección (copia superficial)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|pathStrings|Text|->|Property path(s) on which to order the collection| +|pathObjects|Collection|->|Collection of criteria objects| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|Result|Collection |<-|Ordered copy of the collection (shallow copy)| +
    + #### Descripción @@ -1804,17 +1856,19 @@ Ordenar con una ruta de propiedad: -**.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------- | -| methodName | Text | -> | Nombre del método utilizado para especificar el orden de clasificación | -| extraParam | expresión | -> | Parámetros del método | -| Resultado | Collection | <- | Copia ordenada de la colección (copia superficial)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName|Text|->|Name of method used to specify the sorting order| +|extraParam|expression|->|Parameter(s) for the method | +|Result|Collection |<-|Sorted copy of the collection (shallow copy)| +
    + #### Descripción @@ -1911,11 +1965,13 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0) -| Parámetros | Tipo | | Descripción | -| ---------- | ---- |:--:| ---------------------------------------------------------- | -| Resultado | any | <- | Último elemento de la colección| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any |<-|Last element of collection| +
    + #### Descripción @@ -1955,12 +2011,14 @@ Cuando se aplica a una colección vacía, `.pop()` devuelve ***undefined***. -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| --------------------------------------------------------------------------------- | -| element | Mixed | -> | Elemento(s) a añadir a la colección | -| Resultado | Collection | <- | Colección original que contiene los elementos añadidos| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|element|Mixed|->|Element(s) to add to the collection| +|Result|Collection |<-|Original collection containing added elements| +
    + #### Descripción @@ -2009,14 +2067,16 @@ Quiere ordenar la colección resultante: -| Parámetros | Tipo | | Descripción | -| ------------- | ---------- |:--:| -------------------------------------------------------------------------------------- | -| queryString | Text | -> | Criterio de búsqueda | -| value | Mixed | -> | Valor(es) a comparar cuando se utiliza(n) marcador(es) de posición | -| querySettings | Object | -> | Opciones de búsqueda: parámetros, atributos | -| Resultado | Collection | <- | Elemento(s) que coincide(n) con queryString en la colección| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|Mixed|->|Value(s) to compare when using placeholder(s)| +|querySettings|Object|->|Query options: parameters, attributes| +|Result|Collection |<-|Element(s) matching queryString in the collection| +
    + #### Descripción @@ -2114,14 +2174,16 @@ Se pueden encontrar más ejemplos de búsquedas en la página `dataClass.query() -| Parámetros | Tipo | | Descripción | -| ---------- | ----------------------------------------------- |:--:| ---------------------------------------------------------------------------------- | -| methodName | Text | -> | Nombre de la función a la que se llama para procesar los elementos de la colección | -| initValue | Text, Number, Object, Collection, Date, Boolean | -> | Valor a utilizar como primer argumento de la primera llamada de *methodName* | -| param | expresión | -> | Parámetro(s) a pasar a *methodName* | -| Resultado | Text, Number, Object, Collection, Date, Boolean | <- | Resultado del valor del acumulador| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|methodName |Text|->|Name of the function to call to process collection elements| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *methodName*| +|param |expression|->|Parameter(s) to pass to *methodName*| +|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +
    + #### Descripción @@ -2199,13 +2261,15 @@ Con el siguiente método ***Flatten***: -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------- | -| index | Integer | -> | Elemento en el que se inicia la eliminación | -| howMany | Integer | -> | Número de elementos a eliminar, o 1 elemento si se omite | -| Resultado | Collection | <- | Colección original sin elementos eliminados| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index |Integer|->|Element at which to start removal| +|howMany |Integer|->|Number of elements to remove, or 1 element if omitted| +|Result|Collection|<-|Original collection without removed element(s)| +
    + #### Descripción @@ -2251,13 +2315,15 @@ Si se intenta eliminar un elemento de una colección vacía, el método no hace -| Parámetros | Tipo | | Descripción | -| ------------ | ----------------------------------------------- |:--:| ------------------------------------------------------------ | -| size | Integer | -> | Nuevo tamaño de la colección | -| defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | Valor por defecto para llenar nuevos elementos | -| Resultado | Collection | <- | Colección original redimensionada| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|size |Integer|->|New size of the collection| +|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Default value to fill new elements| +|Result|Collection|<-|Resized original collection| +
    + #### Descripción @@ -2306,11 +2372,13 @@ Por defecto, los nuevos elementos se llenan con valores **null**. Puede especifi -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ---------------------------------------------------------- | -| Resultado | Collection | <- | Copia invertida de la colección| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Inverted copy of the collection| +
    + #### Descripción @@ -2342,11 +2410,13 @@ La función `.reverse()` devuelve una -| Parámetros | Tipo | | Descripción | -| ---------- | ---- |:--:| ---------------------------------------------------------- | -| Resultado | any | <- | Primer elemento de la colección| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any|<-|First element of collection| +
    + #### Descripción @@ -2383,13 +2453,15 @@ Si la colección está vacía, este método no hace nada. -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice de inicio (incluido) | -| end | Integer | -> | Índice final (no incluido) | -| Resultado | Collection | <- | Nueva colección que contiene elementos cortados (copia superficial)| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Start index (included)| +|end |Integer |->|End index (not included)| +|Result|Collection|<-|New collection containing sliced elements (shallow copy)| +
    + #### Descripción @@ -2431,14 +2503,16 @@ La colección devuelta contiene el elemento especificado por *startFrom* y todos -| Parámetros | Tipo | | Descripción | -| ---------- | ------- |:--:| --------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice para iniciar la prueba en | -| methodName | Text | -> | Nombre del método a llamar para la prueba | -| param | Mixed | -> | Parámetro(s) a pasar a *methodName* | -| Resultado | Boolean | <- | True si al menos un elemento ha superado la prueba con éxito| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Index to start the test at| +|methodName |Text |->|Name of the method to call for the test| +|param |Mixed |->|Parameter(s) to pass to *methodName*| +|Result|Boolean|<-|True if at least one element successfully passed the test| +
    + #### Descripción @@ -2506,12 +2580,15 @@ Con el siguiente método *NumberGreaterThan0*: -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------- | -| ascOrDesc | Integer | -> | `ck ascending` o `ck descending` (valores escalares) | -| methodName | Text | -> | Nombre del método utilizado para especificar el orden de clasificación | -| extraParam | any | -> | Parámetros del método | -| Resultado | Collection | <- | La nueva colección | +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|methodName |Text |->|Name of method used to specify the sorting order| +|extraParam |any |->|Parameter(s) for the method| +|Result|Collection|<-|Original collection sorted| +
    #### Descripción @@ -2599,12 +2676,14 @@ Si desea ordenar los elementos de la colección en otro orden o clasificar cualq -| Parámetros | Tipo | | Descripción | -| ------------ | ---- |:--:| ---------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | -| Resultado | Real | <- | Suma de los valores de la colección| +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath |Text |->|Object property path to be used for calculation| +|Result|Real|<-|Sum of collection values| +
    + #### Descripción @@ -2659,13 +2738,15 @@ Si la colección contiene objetos, pasa el parámetro *propertyPath* para indica -| Parámetros | Tipo | | Descripción | -| -------------------------- | -------------------------------------- |:--:| ------------------------------------------------- | -| value | Text, Number, Object, Collection, Date | -> | Valor(es) a insertar al principio de la colección | -| Resultado | Collection | <- | Colección que contiene los elementos añadidos | -| +
    -| | | | +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value |Text, Number, Object, Collection, Date |->|Value(s) to insert at the beginning of the collection| +|Result|Collection|<-|Collection containing added element(s) +| +
    + #### Descripción From 66348667a7e77ac43114434118feb0d2713a87c5 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 14:34:59 +0100 Subject: [PATCH 062/107] New translations quick-tour.md (Spanish) --- .../current/Concepts/quick-tour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2c28e6a9a3060f..d27eee8b1bd67e 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 @@ -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...). -- la notación `{; ...*param* : Type}` indica 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. +- the `{; *...param* : Type}` notation indicates 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. - la notación `{; ...(*param* : Type ; *param2* : Type) }` indica 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. From cfb61c4717f50019a3a0cf9c819d99f7cac229fd Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 14:36:14 +0100 Subject: [PATCH 063/107] New translations functionclass.md (French) --- .../version-19/API/FunctionClass.md | 62 ++++++++++--------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md index 8ea6cb53795000..7dd420240f11c1 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md @@ -121,13 +121,14 @@ Les paramètres sont reçus dans la méthode, dans l'ordre où ils sont spécifi -| Paramètres | Type | | Description | -| ---------- | ----------- |:--:| ----------------------------------------------------------------- | -| formulaExp | Expression | -> | Formule à retourner comme objet | -| Résultat | 4D.Function | <- | Fonction native encapsulant la formule| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaExp|Expression|->|Formula to be returned as object| +|Result|4D.Function|<-|Native function encapsulating the formula| +
    + #### Description @@ -260,13 +261,14 @@ Appeler une formule à l'aide de la notation objet : -| Paramètres | Type | | Description | -| ------------- | ----------- |:--:| ------------------------------------------------------------- | -| formulaString | Text | -> | Formule texte à retourner comme objet | -| Résultat | 4D.Function | <- | Objet natif encapsulant la formule| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaString|Text|->|Text formula to be returned as object| +|Result|4D.Function|<-|Native object encapsulating the formula| +
    + #### Description @@ -319,14 +321,15 @@ Le code suivant permettra de créer un dialogue acceptant une formule dans un fo -| Paramètres | Type | | Description | -| ------------- | ---------- |:--:| --------------------------------------------------------------------------------- | -| thisObj | Object | -> | Objet à retourner par la commande This dans la formule | -| formulaParams | Collection | -> | Collection des valeurs à passer en tant que $1...$n lorsque `formula` est exécuté | -| Résultat | any | <- | Valeur obtenue à partir de l'exécution de la formule| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|formulaParams |Collection|->|Collection of values to be passed as $1...$n when `formula` is executed| +|Result|any|<-|Value from formula execution| +
    + #### Description @@ -380,18 +383,19 @@ A noter que `.apply()` est similaire à [`.call()`](#call), néanmoins les param -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any -| Paramètres | Type | | Description | -| ---------- | ------ | -- | ------------------------------------------------------------------------------- | -| thisObj | Object | -> | Objet à retourner par la commande This dans la formule | -| params | any | -> | Valeur(s) à passer en tant que $1...$n lorsque formula est exécuté | -| Résultat | any | <- | Valeur obtenue à partir de l'exécution de la formule| - - -| +
    + +|Parameter|Type||Description| +|---|---|---|---| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|params |any|->|Value(s) to be passed as $1...$n when formula is executed| +|Result|any|<-|Value from formula execution| +
    + #### Description From ed3ef66a3df7295910799b7e2b752cb2286a90f8 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 14:50:12 +0100 Subject: [PATCH 064/107] New translations collectionclass.md (French) --- .../version-20/API/CollectionClass.md | 762 ++++++++++-------- 1 file changed, 405 insertions(+), 357 deletions(-) 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 16840fe26c608c..d8aefc02f4d5ad 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 @@ -83,13 +83,14 @@ Une collection est initialisée avec : -| Paramètres | Type | | Description | -| ---------- | ----------------------------------------------------------------------- |:--:| ------------------------------------------------- | -| value | Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer | -> | Valeur(s) de collection | -| Résultat | Collection | <- | La nouvelle collection| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Collection's value(s)| +|Result|Collection|<-|The new collection| +
    + #### Description @@ -171,13 +172,14 @@ Vous souhaitez créer une nouvelle collection puis ajouter un élément : -| Paramètres | Type | | Description | -| ---------- | ----------------------------------------------------- |:--:| ---------------------------------------------------------- | -| value | Number, Text, Date, Time, Boolean, Object, Collection | -> | Valeur(s) de la collection partagée | -| Résultat | Collection | <- | La nouvelle collection partagée| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Shared collection's value(s)| +|Result|Collection|<-|The new shared collection| +
    + #### Description @@ -247,13 +249,14 @@ Contrairement aux collections standard (non partagées), les collections partag -| Paramètres | Type | | Description | -| ---------- | ------- |:--:| ------------------------------------------------ | -| index | Integer | -> | Indice de l'élément à renvoyer | -| Résultat | any | <- | L'élément à cet index| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index|Integer|->|Index of element to return| +|Result|any |<-|The element at that index| +
    + #### Description @@ -295,14 +298,14 @@ $element:=$col.at(10) // undefined -| Paramètres | Type | | Description | -| ------------ | --------------- |:--:| ---------------------------------------------------------------------------- | -| propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | -| Résultat | Real, Undefined | <- | Moyenne arithmétique des valeurs de la collection| - - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real, Undefined|<-|Arithmetic mean (average) of collection values| +
    + @@ -361,12 +364,13 @@ Si la collection contient des objets, passez le paramètre *propertyPath* si vou -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------------- | -| Résultat | Collection | <- | Collection d'origine dont tous les éléments ont été supprimés| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Original collection with all elements removed| +
    + #### Description @@ -404,14 +408,15 @@ $vSize:=$col.length //$vSize=0 -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------- | -| col2 | Collection | -> | Collection à combiner | -| index | Integer | -> | Emplacement où insérer les éléments à combiner (défaut=length+1) | -| Résultat | Collection | <- | Collection d'origine incluant les éléments combinés - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|col2|Collection|->|Collection to combine| +|index|Integer|->|Position to which insert elements to combine in collection (default=length+1)| +|Result|Collection|<-|Original collection containing combined element(s)| +
    + #### Description @@ -457,13 +462,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| -------------------------------------------------------------------------------------------------------------------------------- | -| value | any | -> | Valeur(s) à concaténer. Si *value* est une collection, tous les éléments de la collection sont ajoutés à la collection d'origine | -| Résultat | Collection | <- | Nouvelle collection contenant les valeurs d'origine et les valeurs ajoutées| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|any|->|Value(s) to concatenate. If *value* is a collection, all collection elements are added to the original collection| +|Result|Collection|<-|New collection with value(s) added to the original collection| +
    + #### Description @@ -506,15 +512,16 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] -| Paramètres | Type | | Description | -| ------------ | ---------- |:--:| ----------------------------------------------------------------------------------------------------------------------- | -| option | Integer | -> | `ck resolve pointers`: résoudre les pointeurs avant la copie,
    `ck shared` : retourner une collection partagée | -| groupWithCol | Collection | -> | Collection partagée à grouper avec la collection résultante | -| groupWithObj | Object | -> | Objet partagé à grouper avec la collection résultante | -| Résultat | Collection | <- | Copie de la collection d'origine (deep copy) - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|option|Integer|->|`ck resolve pointers`: resolve pointers before copying,
    `ck shared`: return a shared collection| +|groupWithCol |Collection|->|Shared collection to be grouped with the resulting collection| +|groupWithObj |Object|->|Shared object to be grouped with the resulting collection| +|Result|Collection|<-|Deep copy of the original collection| +
    + #### Description @@ -639,13 +646,14 @@ Cet exemple illustre l'utilisation de l'option `ck resolve pointers` : -| Paramètres | Type | | Description | -| ------------ | ---- |:--:| --------------------------------------------------------------- | -| propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | -| Résultat | Real | <- | Nombre d'éléments dans la collection| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of elements in the collection| +
    + #### Description @@ -690,14 +698,15 @@ Si la collection contient des objets, vous pouvez passer le paramètre *property -| Paramètres | Type | | Description | -| ------------ | ----------------------------------------------- |:--:| --------------------------------------------------------------- | -| value | Text, Number, Boolean, Date, Object, Collection | -> | Valeur à compter | -| propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | -| Résultat | Real | <- | Nombre d'occurrences de la valeur - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Text, Number, Boolean, Date, Object, Collection|->|Value to count| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of occurrences of the value | +
    + #### Description @@ -775,14 +784,15 @@ Le paramètre optionnel *propertyPath* vous permet de compter des valeurs à l'i -| Paramètres | Type | | Description | -| ------------ | ---------- |:--:| ------------------------------------------------------------------------------------------ | -| propertyPath | Text | -> | Chemin de l'attribut dont vous souhaitez obtenir les valeurs distinctes | -| options | Integer | -> | `ck diacritical`, `ck count values` | -| Résultat | Collection | <- | Nouvelle collection contenant uniquement les valeurs distinctes| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Path of attribute whose distinct values you want to get| +|options|Integer|->|`ck diacritical`, `ck count values`| +|Result|Collection|<-|New collection with only distinct values| +
    + #### Description @@ -839,14 +849,15 @@ Dans le paramètre *options*, vous pouvez passer une ou une combinaison des cons -| Paramètres | Type | | Description | -| ----------- | ---------- |:--:| ------------------------------------------------------------------------------ | -| collection2 | Collection | -> | Collection à comparer | -| option | Integer | -> | `ck diacritical` : évaluation diacritique ("A" # "a" par exemple) | -| Résultat | Boolean | <- | Vrai si les collections sont identiques, sinon faux| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|collection2|Collection|->|Collection to compare| +|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example) +|Result|Boolean|<-|True if collections are identical, false otherwise| +
    + #### Description @@ -907,16 +918,17 @@ Par défaut, une évaluation non diacritique est effectuée. Si vous souhaitez q -| Paramètres | Type | | Description | -| ---------- | ----------- |:--:| ----------------------------------------------------------------------- | -| startFrom | Integer | -> | Elément à partir duquel débuter l'évaluation | -| formula | 4D.Function | -> | Objet formule | -| methodName | Text | -> | Nom de méthode | -| param | Mixed | -> | Paramètre(s) à passer à *formula* ou à *methodName* | -| Résultat | Boolean | <- | Vrai si tous les éléments sont évalués à vrai - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the test at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|Mixed|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Boolean|<-|True if all elements successfully passed the test| +
    + #### Description @@ -1004,15 +1016,16 @@ $b:=$c.every($f;Is real) //$b=false -| Paramètres | Type | | Description | -| ------------ | ---------- |:--:| -------------------------------------------------------------------------------------------------------------------------------------------- | -| propertyPath | Text | -> | Chemin de propriété d'objet dont les valeurs doivent être extraites dans la nouvelle collection | -| targetpath | Text | -> | Chemin ou nom de propriété cible | -| option | Integer | -> | `ck keep null` : inclure les propriétés null dans la collection retournée (ignorées par défaut). Paramètre ignoré si *targetPath* est passé. | -| Résultat | Collection | <- | Nouvelle collection contenant les valeurs extraites| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path whose values must be extracted to the new collection| +|targetpath|Text|->|Target property path or property name| +|option|Integer|->|`ck keep null`: include null properties in the returned collection (ignored by default). Parameter ignored if *targetPath* passed.| +|Result|Collection|<-|New collection containing extracted values| +
    + #### Description @@ -1083,15 +1096,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| Paramètres | Type | | Description | -| ---------- | ----------------------------------------------- |:--:| -------------------------------------------------------------------------- | -| value | Number, Text, Object, Collection, Date, Boolean | -> | Valeur de remplissage | -| startFrom | Integer | -> | Indice l'élément de départ (inclus) | -| end | Integer | -> | Indice de fin (non inclus) | -| Résultat | collection | <- | Collection d'origine avec valeurs de remplissage - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|number, Text, Collection, Object, Date, Boolean|->|Filling value| +|startFrom|Integer|->|Start index (included)| +|end|Integer|->|End index (not included)| +|Result|collection|<-|Original collection with filled values| +
    + #### Description @@ -1143,15 +1157,16 @@ En cas d'incohérence, les règles suivantes sont appliquées : -| Paramètres | Type | | Description | -| ---------- | ----------- |:--:| -------------------------------------------------------------------------------------------- | -| formula | 4D.Function | -> | Objet formule | -| methodName | Text | -> | Nom de méthode | -| param | any | -> | Paramètre(s) à passer à *formula* ou à *methodName* | -| Résultat | Collection | <- | Nouvelle collection contenant les éléments filtrés (shallow copy)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Collection|<-|New collection containing filtered elements (shallow copy)| +
    + #### Description @@ -1233,16 +1248,17 @@ Vous voulez filtrer les éléments de la collection en fonction de leur type : -| Paramètres | Type | | Description | -| ---------- | ----------- |:--:| ---------------------------------------------------------------------------- | -| startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | -| formula | 4D.Function | -> | Objet formule | -| methodName | Text | -> | Nom de méthode | -| param | any | -> | Paramètre(s) à passer à *formula* ou à *methodName* | -| Résultat | any | <- | Première valeur trouvée (Undefined si non trouvée) - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|any |<-|First value found, or Undefined if not found| +
    + #### Description @@ -1326,16 +1342,17 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 -| Paramètres | Type | | Description | -| ---------- | ----------- |:--:| ----------------------------------------------------------------------------- | -| startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | -| formula | 4D.Function | -> | Objet formule | -| methodName | Text | -> | Nom de méthode | -| param | any | -> | Paramètre(s) à passer à *formula* ou à *methodName* | -| Résultat | Integer | <- | Numéro du premier élément trouvé (-1 si non trouvé) - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Integer |<-|Index of first value found, or -1 if not found| +
    + #### Description @@ -1403,12 +1420,13 @@ $val3:=$c.findIndex($val2+1;Formula($1.value.name=$2);"Clanton") //$val3=4 -| Paramètres | Type | | Description | -| ---------- | ---- |:--:| -------------------------------------------------------- | -| Résultat | any | <- | Premier élément de collection| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any|<-|First element of collection| +
    + #### Description @@ -1451,13 +1469,14 @@ $first:=$emptyCol.first() // retourne Undefined -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| -------------------------------------------------------------------------------------------------- | -| depth | Integer | -> | La profondeur à laquelle une structure de collection imbriquée doit être mise à plat. Par défaut=1 | -| Résultat | Collection | <- | Collection mise à plat| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|depth|Integer |->|How deep a nested collection structure should be flattened. Default=1| +|Result|Collection |<-|Flattened collection| +
    + #### Description @@ -1507,14 +1526,16 @@ $col.flat(MAXLONG) **.flatMap**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.flatMap**( *methodName* : Text { ; *...param* : any } ) : Collection -| Paramètres | Type | | Description | -| ---------- | ----------- |:--:| ----------------------------------------------------------------------------------------------------- | -| formula | 4D.Function | -> | Objet formule | -| methodName | Text | -> | Nom de méthode | -| param | any | -> | Paramètre(s) à passer à *formula* ou à *methodName* | -| Résultat | Collection | <- | Collection de valeurs transformées et mises à plat sur une profondeur de 1| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Collection |<-|Collection of transformed values and flattened by a depth of 1| +
    + #### Description @@ -1602,14 +1623,15 @@ $c2:=$c.flatMap($f; $c.sum()) -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| --------------------------------------------------------------------------- | -| toSearch | expression | -> | Expression à rechercher dans la collection | -| startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | -| Résultat | Boolean | <- | True si *toSearch* est trouvé dans la collection| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|Expression to search in the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Boolean |<-|True if *toSearch* is found in the collection| +
    + #### Description @@ -1669,15 +1691,15 @@ Optionnellement, vous pouvez passer le numéro de l'élément auquel démarrer l - -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------------------------------------------- | -| toSearch | expression | -> | Expression à rechercher dans la collection | -| startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | -| Résultat | Integer | <- | Numéro de la première occurrence de toSearch dans la collection, -1 si non trouvée| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|Expression to search in the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found| +
    + #### Description @@ -1730,14 +1752,15 @@ Optionnellement, vous pouvez passer le numéro de l'élément auquel démarrer l -| Paramètres | Type | | Description | -| ----------- | ---------- |:--:| ---------------------------------------------------------------------------------------------------------- | -| queryString | Text | -> | Critère(s) de recherche | -| value | any | -> | Valeur(s) à comparer lors de l'utilisation de paramètre(s) dans la chaîne | -| Résultat | Collection | <- | Numéro(s) d'élément(s) de la collection répondant au(x) critère(s) de recherche| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|any|->|Value(s) to compare when using placeholder(s)| +|Result|Collection |<-|Element index(es) matching queryString in the collection| +
    + #### Description @@ -1789,14 +1812,15 @@ Pour une description détaillée de la construction de recherches à l'aide des -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------- | -| index | Integer | -> | Où insérer l'élément | -| element | any | -> | Elément à insérer dans la collection | -| Résultat | Collection | <- | Collection d'origine incluant l'élément inséré| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index|Integer|->|Where to insert the element| +|element|any|->|Element to insert in the collection| +|Result|Collection |<-|Original collection containing inserted element| +
    + #### Description @@ -1844,14 +1868,15 @@ Vous pouvez passer tout type d'élément accepté par les collections, y compris -| Paramètres | Type | | Description | -| ---------- | ------- |:--:| ----------------------------------------------------------------------------------------------------- | -| delimiter | Text | -> | Séparateur à utiliser entre les éléments | -| option | Integer | -> | `ck ignore null or empty` : ignorer les chaînes null ou vides dans le résultat | -| Résultat | Text | <- | Chaîne contenant tous les éléments de la collection, séparés par delimiter| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|delimiter|Text|->|Separator to use between elements| +|option|Integer|->|`ck ignore null or empty`: ignore null and empty strings in the result| +|Result|Text |<-|String containing all elements of the collection, separated by delimiter| +
    + #### Description @@ -1892,12 +1917,13 @@ Par défaut, les éléments null ou vides de la collection sont inclus dans la c -| Paramètres | Type | | Description | -| ---------- | ---- |:--:| -------------------------------------------------------- | -| Résultat | any | <- | Dernier élément de collection| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any |<-|Last element of collection| +
    + #### Description @@ -1943,14 +1969,15 @@ $last:=$emptyCol.last() // retourne Undefined -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------------------------------------------ | -| toSearch | expression | -> | Elément à chercher dans la collection | -| startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | -| Résultat | Integer | <- | Numéro de la dernière occurrence de toSearch dans la collection, -1 si non trouvé| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|The element that is to be searched for within the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found| +
    + #### Description @@ -2043,15 +2070,16 @@ La propriété `.length` est initialisée à la création de la collection. Elle -| Paramètres | Type | | Description | -| ---------- | ----------- |:--:| ------------------------------------------------------------- | -| formula | 4D.Function | -> | Objet formule | -| methodName | Text | -> | Nom de méthode | -| param | any | -> | Paramètre(s) à passer à *formula* ou à *methodName* | -| Résultat | Collection | <- | Collection de valeurs transformées| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Collection |<-|Collection of transformed values| +
    + #### Description @@ -2110,13 +2138,14 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) -| Paramètres | Type | | Description | -| ------------ | ----------------------------------------------- |:--:| --------------------------------------------------------------- | -| propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | -| Résultat | Boolean, Text, Number, Collection, Object, Date | <- | Valeur maximum de la collection| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection| +
    + #### Description @@ -2165,13 +2194,14 @@ Si la collection est vide, `.max()` retourne *Undefined*. -| Paramètres | Type | | Description | -| ------------ | ----------------------------------------------- |:--:| --------------------------------------------------------------- | -| propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | -| Résultat | Boolean, Text, Number, Collection, Object, Date | <- | Valeur minimum de la collection| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection| +
    + #### Description @@ -2219,15 +2249,16 @@ Si la collection est vide, `.min()` retourne *Undefined*. -| Paramètres | Type | | Description | -| ----------- | ---------- |:--:| ----------------------------------------------------------------------- | -| pathStrings | Text | -> | Chemin(s) de propriété(s) à utiliser pour trier la collection | -| pathObjects | Collection | -> | Collection d'objets critère | -| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valeurs scalaires) | -| Résultat | Collection | <- | Copiée triée de la collection (shallow copy)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|pathStrings|Text|->|Property path(s) on which to order the collection| +|pathObjects|Collection|->|Collection of criteria objects| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|Result|Collection |<-|Ordered copy of the collection (shallow copy)| +
    + #### Description @@ -2360,20 +2391,21 @@ Tri avec un chemin de propriété : -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection -| Paramètres | Type | | Description | -| ---------- | ----------- |:--:| ---------------------------------------------------------------------- | -| formula | 4D.Function | -> | Objet formule | -| methodName | Text | -> | Nom de méthode | -| extraParam | any | -> | Paramètre(s) à passer | -| Résultat | Collection | <- | Copie triée de la collection (shallow copy)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|extraParam|any|->|Parameter(s) to pass | +|Result|Collection |<-|Sorted copy of the collection (shallow copy)| +
    + #### Description @@ -2474,12 +2506,13 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0) -| Paramètres | Type | | Description | -| ---------- | ---- |:--:| -------------------------------------------------------- | -| Résultat | any | <- | Dernier élément de collection| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any |<-|Last element of collection| +
    + #### Description @@ -2525,13 +2558,14 @@ Lorsqu'elle est appliquée à une collection vide, .`pop()` retourne ***undefine -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------------ | -| element | Mixed | -> | Élément(s) à ajouter à la collection | -| Résultat | Collection | <- | Collection originale contenant des éléments ajoutés| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|element|Mixed|->|Element(s) to add to the collection| +|Result|Collection |<-|Original collection containing added elements| +
    + #### Description @@ -2588,15 +2622,16 @@ Vous souhaitez trier la collection obtenue : -| Paramètres | Type | | Description | -| ------------- | ---------- |:--:| ------------------------------------------------------------------------------------ | -| queryString | Text | -> | Critère(s) de recherche | -| value | Mixed | -> | Valeur(s) à comparer lors de l'utilisation de paramètre(s) dans la chaîne | -| querySettings | Object | -> | Options de requête : paramètres, attributs | -| Résultat | Collection | <- | Élément(s) correspondant à queryString dans la collection| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|Mixed|->|Value(s) to compare when using placeholder(s)| +|querySettings|Object|->|Query options: parameters, attributes| +|Result|Collection |<-|Element(s) matching queryString in the collection| +
    + #### Description @@ -2698,16 +2733,17 @@ Vous trouverez plus d'exemples de requêtes dans la page `dataClass.query()`. -| Paramètres | Type | | Description | -| ---------- | ----------------------------------------------- |:--:| -------------------------------------------------------------------------------------- | -| formula | 4D.Function | -> | Objet formule | -| methodName | Text | -> | Nom de méthode | -| initValue | Text, Number, Object, Collection, Date, Boolean | -> | Valeur à utiliser comme premier argument du premier appel de *formula* ou *methodName* | -| param | expression | -> | Paramètre(s) à passer | -| Résultat | Text, Number, Object, Collection, Date, Boolean | <- | Résultat de la valeur de l'accumulateur| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *formula* or *methodName*| +|param |expression|->|Parameter(s) to pass| +|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +
    + #### Description @@ -2791,16 +2827,17 @@ Avec la méthode ***Flatten*** suivante : -| Paramètres | Type | | Description | -| ---------- | ----------------------------------------------- |:--:| -------------------------------------------------------------------------------------- | -| formula | 4D.Function | -> | Objet formule | -| methodName | Text | -> | Nom de méthode | -| initValue | Text, Number, Object, Collection, Date, Boolean | -> | Valeur à utiliser comme premier argument du premier appel de *formula* ou *methodName* | -| param | expression | -> | Paramètre(s) à passer | -| Résultat | Text, Number, Object, Collection, Date, Boolean | <- | Résultat de la valeur de l'accumulateur| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *formula* or *methodName*| +|param |expression|->|Parameter(s) to pass| +|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +
    + #### Description @@ -2887,14 +2924,15 @@ Avec la méthode ***Flatten*** suivante : -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| --------------------------------------------------------------------------------------- | -| index | Integer | -> | Élément à partir duquel la suppression peut commencer | -| howMany | Integer | -> | Nombre d'éléments à supprimer, ou 1 élément si omis | -| Résultat | Collection | <- | Collection modifiée ne contenant plus les éléments supprimés| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index |Integer|->|Element at which to start removal| +|howMany |Integer|->|Number of elements to remove, or 1 element if omitted| +|Result|Collection|<-|Modified collection without removed element(s)| +
    + #### Description @@ -2953,14 +2991,15 @@ Si vous essayez de supprimer un élément d'une collection vide, la méthode ne -| Paramètres | Type | | Description | -| ------------ | ----------------------------------------------- |:--:| -------------------------------------------------------------- | -| size | Integer | -> | Nouvelle taille de la collection | -| defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | Valeur par défaut pour remplir de nouveaux éléments | -| Résultat | Collection | <- | Collection d'origine redimensionnée| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|size |Integer|->|New size of the collection| +|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Default value to fill new elements| +|Result|Collection|<-|Resized original collection| +
    + #### Description @@ -3014,12 +3053,13 @@ Par défaut, les nouveaux éléments sont remplis par des valeurs **null**. Vous -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| ---------------------------------------------------------- | -| Résultat | Collection | <- | Copie inversée de la collection| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Inverted copy of the collection| +
    + #### Description @@ -3057,12 +3097,13 @@ La fonction `.reverse()` retourne une -| Paramètres | Type | | Description | -| ---------- | ---- |:--:| -------------------------------------------------------- | -| Résultat | any | <- | Premier élément de collection| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any|<-|First element of collection| +
    + #### Description @@ -3107,14 +3148,15 @@ Si la collection est vide, cette méthode ne fait rien. -| Paramètres | Type | | Description | -| ---------- | ---------- |:--:| --------------------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Indice l'élément de départ (inclus) | -| end | Integer | -> | Indice de fin (non inclus) | -| Résultat | Collection | <- | Nouvelle collection contenant des éléments scindés (copie superficielle)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Start index (included)| +|end |Integer |->|End index (not included)| +|Result|Collection|<-|New collection containing sliced elements (shallow copy)| +
    + #### Description @@ -3163,16 +3205,17 @@ La collection retournée contient l'élément spécifié par *startFrom* et tous -| Paramètres | Type | | Description | -| ---------- | ----------- |:--:| ----------------------------------------------------------------------- | -| startFrom | Integer | -> | Elément à partir duquel débuter l'évaluation | -| formula | 4D.Function | -> | Objet formule | -| methodName | Text | -> | Nom de méthode | -| param | Mixed | -> | Paramètre(s) à passer | -| Résultat | Boolean | <- | Vrai si au moins un élément a réussi le test| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Index to start the test at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param |Mixed |->|Parameter(s) to pass| +|Result|Boolean|<-|True if at least one element successfully passed the test| +
    + #### Description @@ -3250,13 +3293,16 @@ Vous voulez savoir si au moins une valeur de la collection est >0. -| Paramètres | Type | | Description | -| ---------- | ----------- |:--:| ----------------------------------------------------------------------------------------------------------------------------- | -| ascOrDesc | Integer | -> | `ck ascending` ou `ck descending` (valeurs scalaires) | -| formula | 4D.Function | -> | Objet formule | -| methodName | Text | -> | Nom de méthode | -| extraParam | any | -> | Paramètre(s) à passer à la méthode | -| Résultat | Collection | <- | Optionnellement, vous pouvez passer des paramètres à *formula* ou *methodName* en utilisant le(s) paramètre(s) *param*. | +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|extraParam |any |->|Parameter(s) for the method| +|Result|Collection|<-|Original collection sorted| +
    @@ -3346,13 +3392,14 @@ $col3:=$col.sort(Formula(String($1.value) -| Paramètres | Type | | Description | -| ------------ | ---- |:--:| --------------------------------------------------------------- | -| propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | -| Résultat | Real | <- | Somme des valeurs de collection| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath |Text |->|Object property path to be used for calculation| +|Result|Real|<-|Sum of collection values| +
    + #### Description @@ -3412,14 +3459,15 @@ Si la collection contient des objets, passez le paramètre *propertyPath* si vou -| Paramètres | Type | | Description | -| -------------------------- | -------------------------------------- |:--:| --------------------------------------------- | -| value | Text, Number, Object, Collection, Date | -> | Valeur(s) à insérer au début de la collection | -| Résultat | Collection | <- | Collection contenant des éléments ajoutés | -| - +
    -| | | | +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value |Text, Number, Object, Collection, Date |->|Value(s) to insert at the beginning of the collection| +|Result|Collection|<-|Collection containing added element(s) +| +
    + #### Description From 1983092cf729c1a52ffd75358c57088e1dfba368 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 14:50:35 +0100 Subject: [PATCH 065/107] New translations functionclass.md (French) --- .../version-20/API/FunctionClass.md | 62 ++++++++++--------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md index f65591d41d47d5..911f1a8d486884 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md @@ -120,13 +120,14 @@ Les paramètres sont reçus dans la méthode, dans l'ordre où ils sont spécifi -| Paramètres | Type | | Description | -| ---------- | ----------- |:--:| ----------------------------------------------------------------- | -| formulaExp | Expression | -> | Formule à retourner comme objet | -| Résultat | 4D.Function | <- | Fonction native encapsulant la formule| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaExp|Expression|->|Formula to be returned as object| +|Result|4D.Function|<-|Native function encapsulating the formula| +
    + #### Description @@ -259,13 +260,14 @@ Appeler une formule à l'aide de la notation objet : -| Paramètres | Type | | Description | -| ------------- | ----------- |:--:| ------------------------------------------------------------- | -| formulaString | Text | -> | Formule texte à retourner comme objet | -| Résultat | 4D.Function | <- | Objet natif encapsulant la formule| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaString|Text|->|Text formula to be returned as object| +|Result|4D.Function|<-|Native object encapsulating the formula| +
    + #### Description @@ -318,14 +320,15 @@ Le code suivant permettra de créer un dialogue acceptant une formule dans un fo -| Paramètres | Type | | Description | -| ------------- | ---------- |:--:| --------------------------------------------------------------------------------- | -| thisObj | Object | -> | Objet à retourner par la commande This dans la formule | -| formulaParams | Collection | -> | Collection des valeurs à passer en tant que $1...$n lorsque `formula` est exécuté | -| Résultat | any | <- | Valeur obtenue à partir de l'exécution de la formule| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|formulaParams |Collection|->|Collection of values to be passed as $1...$n when `formula` is executed| +|Result|any|<-|Value from formula execution| +
    + #### Description @@ -379,18 +382,19 @@ A noter que `.apply()` est similaire à [`.call()`](#call), néanmoins les param -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any -| Paramètres | Type | | Description | -| ---------- | ------ | -- | ------------------------------------------------------------------------------- | -| thisObj | Object | -> | Objet à retourner par la commande This dans la formule | -| params | any | -> | Valeur(s) à passer en tant que $1...$n lorsque formula est exécuté | -| Résultat | any | <- | Valeur obtenue à partir de l'exécution de la formule| - - -| +
    + +|Parameter|Type||Description| +|---|---|---|---| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|params |any|->|Value(s) to be passed as $1...$n when formula is executed| +|Result|any|<-|Value from formula execution| +
    + #### Description From 50f1bf37d52e582f13c5d49f333e2fef1f16dd82 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:06:35 +0100 Subject: [PATCH 066/107] New translations classclass.md (French) --- .../fr/docusaurus-plugin-content-docs/current/API/ClassClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f08784ac217893..c32a3484b6a4af 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/ClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/ClassClass.md @@ -141,7 +141,7 @@ Cette propriété est en **lecture seule**. -**.new**( { ...*param* : any } ) : 4D.Object +**.new**( { *...param* : any } ) : 4D.Object From 72e8eb08b01caa2bf001a569a045beec4116500b Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:06:42 +0100 Subject: [PATCH 067/107] New translations collectionclass.md (French) --- .../current/API/CollectionClass.md | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) 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 04e2887a7f1164..72160d295b6222 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/CollectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/CollectionClass.md @@ -283,7 +283,7 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -**.concat**( *value* : any { ; ...*valueN* } ) : Collection +**.concat**( *value* : any { ; *...valueN* } ) : Collection @@ -926,7 +926,7 @@ En cas d'incohérence, les règles suivantes sont appliquées : -**.filter**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
    **.filter**( *methodName* : Text { ; ...*param* : any } ) : Collection +**.filter**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.filter**( *methodName* : Text { ; *...param* : any } ) : Collection @@ -1015,7 +1015,7 @@ Vous voulez filtrer les éléments de la collection en fonction de leur type : -**.find**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : any
    **.find**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : any +**.find**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : any
    **.find**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : any @@ -1106,7 +1106,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 -**.findIndex**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : Integer
    **.findIndex**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : Integer +**.findIndex**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : Integer
    **.findIndex**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : Integer @@ -1289,7 +1289,7 @@ $col.flat(MAXLONG) -**.flatMap**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
    **.flatMap**( *methodName* : Text { ; ...*param* : any } ) : Collection +**.flatMap**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.flatMap**( *methodName* : Text { ; *...param* : any } ) : Collection @@ -1511,7 +1511,7 @@ Exemple 2 -**.indices**( *queryString* : Text { ; ...*value* : any } ) : Collection +**.indices**( *queryString* : Text { ; *...value* : any } ) : Collection @@ -1797,7 +1797,7 @@ Nom de méthode -**.map**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
    **.map**( *methodName* : Text { ; ...*param* : any } ) : Collection +**.map**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.map**( *methodName* : Text { ; *...param* : any } ) : Collection @@ -2249,7 +2249,7 @@ Tri avec un chemin de propriété : -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection @@ -2451,7 +2451,7 @@ Vous souhaitez trier la collection obtenue : -**.query**( *queryString* : Text ) : Collection
    **.query**( *queryString* : Text ; ...*value* : any ) : Collection
    **.query**( *queryString* : Text ; *querySettings* : Object ) : Collection +**.query**( *queryString* : Text ) : Collection
    **.query**( *queryString* : Text ; *...value* : any ) : Collection
    **.query**( *queryString* : Text ; *querySettings* : Object ) : Collection @@ -2734,7 +2734,7 @@ Vous trouverez d'autres exemples de requêtes dans la page `dataClass.query()`. -**.reduce**( *formula* : 4D.Function { ; *initValue* : any { ; ...*param* : expression }} ) : any
    **.reduce**( *methodName* : Text { ; *initValue* : any { ; ...*param* : expression }} ) : any +**.reduce**( *formula* : 4D.Function { ; *initValue* : any { ; *...param* : expression }} ) : any
    **.reduce**( *methodName* : Text { ; *initValue* : any { ; *...param* : expression }} ) : any @@ -2822,7 +2822,7 @@ Avec la méthode ***Flatten*** suivante : -**.reduceRight**( *formula* : 4D.Function { ; *initValue* : any { ; ...*param* : expression }} ) : any
    **.reduceRight**( *methodName* : Text { ; *initValue* : any { ; ...*param* : expression }} ) : any +**.reduceRight**( *formula* : 4D.Function { ; *initValue* : any { ; *...param* : expression }} ) : any
    **.reduceRight**( *methodName* : Text { ; *initValue* : any { ; *...param* : expression }} ) : any @@ -3169,7 +3169,7 @@ La collection retournée contient l'élément spécifié par *startFrom* et tous -**.some**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : Boolean
    **.some**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : Boolean +**.some**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : Boolean
    **.some**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : Boolean @@ -3252,7 +3252,7 @@ Vous voulez savoir si au moins une valeur de la collection est >0. -**.sort**() : Collection
    **.sort**( *ascOrDesc* : Integer ) : Collection
    **.sort**( *formula* : 4D.Function { ; ...*extraParam* : any } ) : Collection
    **.sort**( *methodName* : Text { ; ...*extraParam* : any } ) : Collection +**.sort**() : Collection
    **.sort**( *ascOrDesc* : Integer ) : Collection
    **.sort**( *formula* : 4D.Function { ; *...extraParam* : any } ) : Collection
    **.sort**( *methodName* : Text { ; *...extraParam* : any } ) : Collection From be65e5750d6fcb27717575fa5ef61872bae7dc9f Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:06:48 +0100 Subject: [PATCH 068/107] New translations dataclassclass.md (French) --- .../current/API/DataClassClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/DataClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/DataClassClass.md index 8f174cd3517823..123e3854e3a34c 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/DataClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/DataClassClass.md @@ -896,7 +896,7 @@ Une fois créée, l'entity selection ne contient aucune entité (`mySelection.le -**.query**( *queryString* : Text { ; ...*value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection +**.query**( *queryString* : Text { ; *...value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection From 77b1e7604a8b83f26b56f5dcc412dc066a9b1ce2 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:07:07 +0100 Subject: [PATCH 069/107] New translations entityselectionclass.md (French) --- .../current/API/EntitySelectionClass.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md index 150c47371b188b..76345729e0cf78 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md @@ -893,7 +893,7 @@ Exemple avec l'option `dk stop dropping on first error` : -**.extract**( *attributePath* : Text { ; *option* : Integer } ) : Collection
    **.extract**( ...*attributePath* : Text ; ...*targetPath* : Text ) : Collection +**.extract**( *attributePath* : Text { ; *option* : Integer } ) : Collection
    **.extract**( *...attributePath* : Text ; *...targetPath* : Text ) : Collection @@ -1820,7 +1820,7 @@ Dans cet exemple, le champ objet "marks" de la dataclass **Students** contient l -**.query**( *queryString* : Text { ; ...*value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection +**.query**( *queryString* : Text { ; *...value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection From 287c884726e0ec24bd14796dc0c3853f4dab4d9c Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:07:16 +0100 Subject: [PATCH 070/107] New translations functionclass.md (French) --- .../docusaurus-plugin-content-docs/current/API/FunctionClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/API/FunctionClass.md b/i18n/fr/docusaurus-plugin-content-docs/current/API/FunctionClass.md index 0b9cbb6b30997b..299ea997be6abd 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/FunctionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/FunctionClass.md @@ -171,7 +171,7 @@ Notez que `.apply()` est similaire à [`.call()`](#call) sauf que les paramètre -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any From d80705c90d916ca5026c6cd29da6adde24f1a5c5 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:30:05 +0100 Subject: [PATCH 071/107] New translations new-collection.md (French) --- .../current/commands/new-collection.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/new-collection.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/new-collection.md index 86edde92fa40d2..972137c729a273 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/new-collection.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/new-collection.md @@ -4,33 +4,36 @@ title: New collection displayed_sidebar: docs --- -**New collection** {( ...*value* : any )} : Collection +**New collection** {( *...value* : any )} : Collection +
    + | Paramètres | Type | | Description | | ---------- | ---------- | --------------------------- | ------------------------------------------ | | value | any | → | Valeur(s) de collection | | Résultat | Collection | ← | New collection | +
    ## Description La commande `New collection` crée une nouvelle collection vide ou pré-remplie et retourne sa référence. Les collections peuvent être manipulées à l'aide des propriétés et des fonctions de la [classe Collection](../API/CollectionClass.md). -Si vous ne passez aucun paramètre, `New collection` crée une collection vide et retourne sa référence. +Prise en charge des formules Vous devez affecter la référence retournée à une variable 4D de type Collection. > N'oubliez pas que l'instruction `var : Collection` déclare une variable de type `Collection` mais ne crée pas de collection. -Optionnellement, vous pouvez préremplir la nouvelle collection en passant une ou plusieurs *value*(s) comme paramètre(s). +Condition Not appliquée à une assertion Sinon, vous pouvez ajouter ou modifier des éléments ultérieurement par affectation. Par exemple : ```4d - myCol[10]:="Mon nouvel élément" +Vous pouvez fournir des paramètres supplémentaires à la callback si nécessaire. ``` Si l'indice du nouvel élément est au-delà du dernier élément existant de la collection, la collection est automatiquement redimensionnée et tous les nouveaux éléments intermédiaires reçoivent la valeur **null**. @@ -39,8 +42,8 @@ Vous pouvez passer n'importe quel nombre de valeurs de n'importe quel type pris Vous devez prêter attention aux problèmes de conversion suivants : -- Si vous passez un pointeur, il est conservé "tel quel" ; il est évalué à l'aide de la commande `JSON Stringify` -- Les dates sont stockées sous la forme de date « aaaa-mm-jj » ou des chaînes au format « AAAA-MM-JJTHH: ss.SSSZ: mm » , selon la configuration actuelle « dates à l'intérieur des objets » de la base de données. Lors de la conversion de dates 4D en texte avant de les stocker dans la collection, par défaut le programme prend en compte le fuseau horaire local. Vous pouvez modifier ce comportement en utilisant le sélecteur `Dates inside objects` de la commande `SET DATABASE PARAMETER`. +- La nouvelle collection partagée +- Les dates sont stockées sous la forme de date « aaaa-mm-jj » ou des chaînes au format « AAAA-MM-JJTHH: ss.SSSZ: mm » , selon la configuration actuelle « dates à l'intérieur des objets » de la base de données. Lors de la conversion de dates 4D en texte avant de les stocker dans la collection, par défaut le programme prend en compte le fuseau horaire local. Indice de fin (non inclus) - Si vous passez une heure, elle est stockée sous la forme d'un nombre de millisecondes (Réel). ## Exemple 1 From ed2d504ece2fc19d82f184469a858f1762ccccfa Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:30:07 +0100 Subject: [PATCH 072/107] New translations new-shared-collection.md (French) --- .../current/commands/new-shared-collection.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md b/i18n/fr/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md index 84f59e2b7fba5c..e8256b2933ba1a 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/commands/new-shared-collection.md @@ -4,22 +4,25 @@ title: New shared collection displayed_sidebar: docs --- -**New shared collection** {( ...*value* : any )} : Collection +**New shared collection** {( *...value* : any )} : Collection +
    + | Paramètres | Type | | Description | | ---------- | ---------- | --------------------------- | ------------------------------------------------------ | | value | any | → | Valeur(s) de la collection partagée | | Résultat | Collection | ← | New shared collection | +
    ## Description -La commande `New shared collection` crée une nouvelle collection partagée vide ou préremplie et retourne sa référence. Les collections peuvent être gérées à l'aide des propriétés et des fonctions de la [classe Collection](../API/CollectionClass.md). +nombres Les collections peuvent être gérées à l'aide des propriétés et des fonctions de la [classe Collection](../API/CollectionClass.md). -L'ajout d'un élément à cette collection à l'aide de l'opérateur d'assignation doit être entouré de la structure [`Use...End use`](../Concepts/shared.md#useend-use), sinon une erreur est générée (cela n'est pas nécessaire lors de l'ajout d'éléments à l'aide de fonctions telles que [`push()`](../API/CollectionClass.md#push) ou [`map()`](../API/CollectionClass.md#map) car elles utilisent automatiquement une structure interne *Use...End use*). La lecture d'un élément sans structure *Use...End use* est cependant possible. +L'ajout d'un élément à cette collection à l'aide de l'opérateur d'assignation doit être entouré de la structure [`Use...End use`](../Concepts/shared.md#useend-use), sinon une erreur est générée (cela n'est pas nécessaire lors de l'ajout d'éléments à l'aide de fonctions telles que [`push()`](../API/CollectionClass.md#push) ou [`map()`](../API/CollectionClass.md#map) car elles utilisent automatiquement une structure interne *Use...End use*). Copie inversée de la collection :::info @@ -27,15 +30,15 @@ Pour plus d'informations sur les collections partagées, veuillez vous référer ::: -Si vous ne passez aucun paramètre, `New shared collection` crée une collection vide et retourne sa référence. +Symbole(s) Vous devez affecter la référence retournée à une variable 4D de type Collection. > N'oubliez pas que l'instruction `var : Collection` déclare une variable de type `Collection` mais ne crée pas de collection. -Optionnellement, vous pouvez préremplir la nouvelle collection partagée en passant une ou plusieurs *value*(s) comme paramètre(s). Sinon, vous pouvez ajouter ou modifier des éléments ultérieurement via l'assignation en notation objet (cf. exemple). +Symbole(s) Sinon, vous pouvez ajouter ou modifier des éléments ultérieurement via l'assignation en notation objet (cf. exemple). -Si l'indice du nouvel élément est au-delà du dernier élément existant de la collection partagée, la collection est automatiquement redimensionnée et tous les nouveaux éléments intermédiaires reçoivent la valeur **null**. +Prise en charge des formules Vous pouvez passer tout nombre de valeurs de n'importe quel type pris en charge : From 7ae62b2fd31728a5a659f1c32b0de85915618997 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:31:35 +0100 Subject: [PATCH 073/107] New translations wp-reset-attributes.md (French) --- .../current/WritePro/commands/wp-reset-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md b/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md index ae054918208f8d..bd9601c40b5e34 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-reset-attributes.md @@ -4,7 +4,7 @@ title: WP RESET ATTRIBUTES displayed_sidebar: docs --- -**WP RESET ATTRIBUTES** ( *targetObj* : Object ; ...*attribName* : Text )
    **WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; ...*attribName* : Text })
    **WP RESET ATTRIBUTES** ( *targetObj* : Object ; *attribColl* : Collection )
    **WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *attribColl* : Collection}) +**WP RESET ATTRIBUTES** ( *targetObj* : Object ; *...attribName* : Text )
    **WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *...attribName* : Text })
    **WP RESET ATTRIBUTES** ( *targetObj* : Object ; *attribColl* : Collection )
    **WP RESET ATTRIBUTES** ( *sectionOrSubsection* : Object {; *attribColl* : Collection}) From e94d1093ca7def044be4437786845ac0edb6272a Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:32:10 +0100 Subject: [PATCH 074/107] New translations wp-set-attributes.md (French) --- .../current/WritePro/commands/wp-set-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md b/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md index 8f80a38e93eafc..476fcceffc8288 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-set-attributes.md @@ -4,7 +4,7 @@ title: WP SET ATTRIBUTES displayed_sidebar: docs --- -**WP SET ATTRIBUTES** ( *targetObj* : Object ; ...*attribName* : Text ; ...*attribValue* : any )
    **WP SET ATTRIBUTES** ( *targetObj* : Object ; *attribObj* : Object ) +**WP SET ATTRIBUTES** ( *targetObj* : Object ; *...attribName* : Text ; *...attribValue* : any )
    **WP SET ATTRIBUTES** ( *targetObj* : Object ; *attribObj* : Object ) From 546becf91d8989055e2e449681c9dd224ce63b2a Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:32:16 +0100 Subject: [PATCH 075/107] New translations wp-get-attributes.md (French) --- .../current/WritePro/commands/wp-get-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md b/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md index 6ff99591d4d82c..8dc22d40bc9abe 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md @@ -4,7 +4,7 @@ title: WP Get attributes displayed_sidebar: docs --- -**WP Get attributes** ( *targetObj* : Object ; ...*attribName* : Text ; ...*attribValue* : any ) : Object
    **WP Get attributes** ( *targetObj* : Object ; *attribColl* : Collection ) : Object +**WP Get attributes** ( *targetObj* : Object ; *...attribName* : Text ; *...attribValue* : any ) : Object
    **WP Get attributes** ( *targetObj* : Object ; *attribColl* : Collection ) : Object From c33f42ca7edb88ad671313fccd3619f2f9a24418 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:32:22 +0100 Subject: [PATCH 076/107] New translations wp-table-append-row.md (French) --- .../current/WritePro/commands/wp-table-append-row.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md b/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md index 0307aac28b51d6..250af58ea17a71 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/WritePro/commands/wp-table-append-row.md @@ -4,7 +4,7 @@ title: WP Table append row displayed_sidebar: docs --- -**WP Table append row** ( *tableRef* : Object ; ...*value* : any ) : Object
    **WP Table append row** ( *tableRef* : Object ; *valueColl* : Collection ) : Object +**WP Table append row** ( *tableRef* : Object ; *...value* : any ) : Object
    **WP Table append row** ( *tableRef* : Object ; *valueColl* : Collection ) : Object From e3d3a413366bf29fb0c4c4e4e5fb445097443b6d Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:39:32 +0100 Subject: [PATCH 077/107] New translations collectionclass.md (French) --- .../version-21/API/CollectionClass.md | 140 +++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) 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 a7c0385dc210f3..6a7ec5625dff50 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 @@ -82,11 +82,14 @@ Une collection est initialisée avec les commandes [`New collection`](../command +
    + | Paramètres | Type | | Description | | ---------- | ------- | :-------------------------: | ------------------------------ | | index | Integer | -> | Indice de l'élément à renvoyer | | Résultat | any | <- | L'élément à cet indice | +
    #### Description @@ -129,11 +132,14 @@ $element:=$col.at(10) // undefined +
    + | Paramètres | Type | | Description | | ------------ | --------------- | :-------------------------: | --------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | | Résultat | Real, Undefined | <- | où : | +
    #### Description @@ -187,10 +193,13 @@ Vous pouvez passer tout type d'élément accepté par les collections, y compris +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------- | | Résultat | Collection | <- | Collection d'origine dont tous les éléments ont été supprimés | +
    #### Description @@ -226,12 +235,15 @@ $vSize:=$col.length //$vSize=0 +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ----------------------------------------------------------------------------------- | | col2 | Collection | -> | Collection à combiner | | index | Integer | -> | Emplacement où insérer les éléments à combiner (défaut=length+1) | | Résultat | Collection | <- | Collection d'origine incluant les éléments combinés | +
    #### Description @@ -275,11 +287,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | value | any | -> | Valeur(s) à concaténer. Si *value* est une collection, tous ses éléments sont ajoutés comme de nouveaux éléments à la fin de la collection d'origine. | | Résultat | Collection | <- | En cas d'incohérence, les règles suivantes sont appliquées : | +
    #### Description @@ -320,6 +335,8 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] +
    + | Paramètres | Type | | Description | | ------------ | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | option | Integer | -> | Exemple 3 | @@ -327,6 +344,7 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] | groupWithObj | Object | -> | Objet partagé à grouper avec la collection résultante | | Résultat | Collection | <- | *pathStrings* contient une formule constituée de 1 à N chemin(s) de propriété(s) et (optionnellement) ordres de tri, séparés par des virgules. | +
    #### Description @@ -433,11 +451,14 @@ Résultat +
    + | Paramètres | Type | | Description | | ------------ | ---- | :-------------------------: | --------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | | Résultat | Real | <- | La recherche d'une personne nommée "smith OR status='private"' échouera simplement. | +
    #### Description @@ -479,12 +500,15 @@ Exemple 2 Tri d'une collection de nombres par ordre croissant ou décroissant : +
    + | Paramètres | Type | | Description | | ------------ | ----------------------------------------------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | value | Text, Number, Boolean, Date, Object, Collection | -> | Valeur à compter | | propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | | Résultat | Real | <- | Par défaut, `copy()` retourne une collection standard (non partagée), même si la commande est appliquée à une collection partagée. | +
    #### Description @@ -556,12 +580,15 @@ Comparaison +
    + | Paramètres | Type | | Description | | ------------ | ---------- | :-------------------------: | ----------------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de l'attribut dont vous souhaitez obtenir les valeurs distinctes | | options | Integer | -> | `ck diacritical`, `ck count values` | | Résultat | Collection | <- | Commentaire | +
    #### Description @@ -615,12 +642,15 @@ Exemple 2 +
    + | Paramètres | Type | | Description | | ----------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------- | | collection2 | Collection | -> | Collection à comparer | | option | Integer | -> | La formule reçoit les paramètres suivants : | | Résultat | Boolean | <- | Cet exemple illustre l'utilisation de l'option `ck resolve pointers` : | +
    #### Description @@ -684,6 +714,8 @@ dans *$2* : param Modifications +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Elément à partir duquel débuter l'évaluation | @@ -692,6 +724,7 @@ dans *$2* : param Modifications | param | any | -> | Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. | | Résultat | Boolean | <- | Paramètres | +
    #### Description @@ -766,6 +799,8 @@ $b:=$c.every($f;Is real) //$b=false +
    + | Paramètres | Type | | Description | | ------------ | ---------- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de propriété d'objet dont les valeurs doivent être extraites dans la nouvelle collection | @@ -773,6 +808,7 @@ $b:=$c.every($f;Is real) //$b=false | option | Integer | -> | Prise en charge des formules Sommaire | | Résultat | Collection | <- | *$1.stop* (booléen, optionnel) : **true** pour stopper le rétroappel. | +
    #### Description @@ -836,6 +872,8 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 +
    + | Paramètres | Type | | Description | | ---------- | ----------------------------------------------- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------------- | | value | Number, Text, Object, Collection, Date, Boolean | -> | Valeur de remplissage | @@ -843,6 +881,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 | end | Integer | -> | Indice de fin (non inclus) | | Résultat | collection | <- | Vous pouvez modifier ce comportement en utilisant le sélecteur `Dates inside objects` de la commande `SET DATABASE PARAMETER`. | +
    #### Description @@ -891,6 +930,8 @@ En cas d'incohérence, les règles suivantes sont appliquées : +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objet formule | @@ -898,6 +939,7 @@ En cas d'incohérence, les règles suivantes sont appliquées : | param | any | -> | Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. | | Résultat | Collection | <- | Résultat | +
    #### Description @@ -977,6 +1019,8 @@ Vous voulez filtrer les éléments de la collection en fonction de leur type : +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | @@ -985,6 +1029,7 @@ Vous voulez filtrer les éléments de la collection en fonction de leur type : | param | any | -> | Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. | | Résultat | any | <- | Pour cela, nous devons créer une copie partagée de la collection (*$sharedLastnames*). | +
    #### Description @@ -1065,6 +1110,8 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | @@ -1073,6 +1120,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 | param | any | -> | Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. | | Résultat | Integer | <- | Etant donné qu'ils appartiennent à différents groupes partagés, une combinaison directe pourrait générer une erreur. | +
    #### Description @@ -1141,10 +1189,13 @@ $val3:=$c.findIndex($val2+1;Formula($1.value.name=$2);"Clanton") //$val3=4 +
    + | Paramètres | Type | | Description | | ---------- | ---- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------- | | Résultat | any | <- | *$1.stop* (booléen, optionnel) : **true** pour stopper le rétroappel. | +
    #### Description @@ -1186,11 +1237,14 @@ $first:=$emptyCol.first() // retourne Undefined +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | depth | Integer | -> | La profondeur à laquelle une structure de collection imbriquée doit être mise à plat. Par défaut=1 | | Résultat | Collection | <- | *$1.result* (booléen): **true** si *$1.value < $1.value2*, **false** sinon | +
    #### Description @@ -1239,6 +1293,8 @@ $col.flat(MAXLONG) +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objet formule | @@ -1246,6 +1302,7 @@ $col.flat(MAXLONG) | param | any | -> | Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. | | Résultat | Collection | <- | **Note** : Même si *startFrom* est négatif, la recherche est effectuée de la droite vers la gauche. | +
    #### Description @@ -1331,12 +1388,15 @@ $c2:=$c.flatMap($f; $c.sum()) +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ----------------------------------------------------- | | toSearch | expression | -> | Expression à rechercher dans la collection | | startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | | Résultat | Boolean | <- | Exemple 1 | +
    #### Description @@ -1393,12 +1453,15 @@ Exemple 2 +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ---------------------------------------------------------------------------------- | | toSearch | expression | -> | Expression à rechercher dans la collection | | startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | | Résultat | Integer | <- | Indice de la première occurrence de toSearch dans la collection, -1 si non trouvée | +
    #### Description @@ -1452,12 +1515,15 @@ Exemple 2 +
    + | Paramètres | Type | | Description | | ----------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------- | | queryString | Text | -> | Critère(s) de recherche | | value | any | -> | Valeur(s) à comparer lors de l'utilisation de paramètre(s) dans la chaîne | | Résultat | Collection | <- | Indice(s) d'élément(s) de la collection répondant aux critères de queryString | +
    #### Description @@ -1507,12 +1573,15 @@ Les éléments sont triés par ordre décroissant +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ------------------------------------ | | index | Integer | -> | Où insérer l'élément | | element | any | -> | Elément à insérer dans la collection | | Résultat | Collection | <- | Résultat | +
    #### Description @@ -1559,12 +1628,15 @@ Vous pouvez passer tout type d'élément accepté par les collections, y compris +
    + | Paramètres | Type | | Description | | ---------- | ------- | :-------------------------: | ---------------------------------------- | | delimiter | Text | -> | Séparateur à utiliser entre les éléments | | option | Integer | -> | collection partagée | | Résultat | Text | <- | Exemple 3 | +
    #### Description @@ -1603,10 +1675,13 @@ Par défaut, les éléments null ou vides de la collection sont inclus dans la c +
    + | Paramètres | Type | | Description | | ---------- | ---- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Résultat | any | <- | *$1.result* (booléen) : **true** si *$1.value < $1.value2*, **false** sinon. | +
    #### Description @@ -1641,12 +1716,15 @@ Nom de méthode +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ----------------------------------------------------- | | toSearch | expression | -> | Elément à chercher dans la collection | | startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | | Résultat | Integer | <- | Commentaire | +
    #### Description @@ -1723,6 +1801,8 @@ Nom de méthode +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objet formule | @@ -1730,6 +1810,7 @@ Nom de méthode | param | any | -> | Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. | | Résultat | Collection | <- | *toSearch* doit correspondre exactement à l'élément à trouver (les mêmes règles que l'opérateur d'égalité du type de données sont appliquées). | +
    #### Description @@ -1783,11 +1864,14 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) +
    + | Paramètres | Type | | Description | | ------------ | ----------------------------------------------- | :-------------------------: | ----------------------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | | Résultat | Boolean, Text, Number, Collection, Object, Date | <- | Cet exemple renvoie les personnes dont le nom contient "in" : | +
    #### Description @@ -1833,11 +1917,14 @@ Modifications +
    + | Paramètres | Type | | Description | | ------------ | ----------------------------------------------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | | Résultat | Boolean, Text, Number, Collection, Object, Date | <- | *formula* (syntaxe recommandée), un [objet Formula](FunctionClass.md) qui peut encapsuler toute expression exécutable, y compris des fonctions et des méthodes projet; | +
    #### Description @@ -1883,12 +1970,15 @@ Modifications +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objet formule | | colsToSort | Collection | -> | Exemple 2 | | Résultat | Collection | <- | Optionnellement, vous pouvez passer des paramètres à *formula* ou *methodName* en utilisant le(s) paramètre(s) *param*. | +
    #### Description @@ -2019,6 +2109,8 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) +
    + | Paramètres | Type | | Description | | ----------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------- | | pathStrings | Text | -> | Chemin(s) de propriété(s) à utiliser pour trier la collection | @@ -2026,6 +2118,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) | ascOrDesc | Integer | -> | Exemple 1 | | Résultat | Collection | <- | Les éléments avec des valeurs **null** ne sont pas égaux aux éléments Undefined. | +
    #### Description @@ -2156,10 +2249,12 @@ Tri avec un chemin de propriété : -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | formula | 4D.Function | -> | Objet formule | @@ -2167,6 +2262,7 @@ Tri avec un chemin de propriété : | extraParam | any | -> | Paramètre(s) à passer | | Résultat | Collection | <- | \|startFrom \|Integer\|->\|Index pour démarrer le test\| \|formula\|4D.Function\|->\|Objet formule\| \|methodName\|Text\|->\|Nom d'une méthode\| \|param \|any \|->\|Paramètre(s) à passer\| \|Resultat\|Boolean\|<-\|Vrai si au moins un élément a réussi le test\| | +
    #### Description @@ -2258,10 +2354,13 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) +
    + | Paramètres | Type | | Description | | ---------- | ---- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Résultat | any | <- | *$1.result* (booléen) : **true** si *$1.value < $1.value2*, **false** sinon. | +
    #### Description @@ -2298,11 +2397,14 @@ Chemin ou nom de propriété cible +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------ | | element | any | -> | Élément(s) à ajouter à la collection | | Résultat | Collection | <- | *$1.stop* (booléen, optionnel) : **true** pour stopper le rétroappel de la méthode. | +
    #### Description @@ -2353,6 +2455,8 @@ Vous souhaitez trier la collection obtenue : +
    + | Paramètres | Type | | Description | | ------------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------- | | queryString | Text | -> | Critère(s) de recherche | @@ -2360,6 +2464,7 @@ Vous souhaitez trier la collection obtenue : | querySettings | Object | -> | Options de requête : paramètres, attributs | | Résultat | Collection | <- | Null | +
    #### Description @@ -2633,6 +2738,8 @@ Vous trouverez d'autres exemples de requêtes dans la page `dataClass.query()`. +
    + | Paramètres | Type | | Description | | ---------- | ----------------------------------------------- | :-------------------------: | -------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objet formule | @@ -2641,6 +2748,7 @@ Vous trouverez d'autres exemples de requêtes dans la page `dataClass.query()`. | param | expression | -> | Paramètre(s) à passer | | Résultat | Text, Number, Object, Collection, Date, Boolean | <- | Résultat de la valeur de l'accumulateur | +
    #### Description @@ -2718,6 +2826,8 @@ Avec la méthode ***Flatten*** suivante : +
    + | Paramètres | Type | | Description | | ---------- | ----------------------------------------------- | :-------------------------: | -------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objet formule | @@ -2726,6 +2836,7 @@ Avec la méthode ***Flatten*** suivante : | param | expression | -> | Paramètre(s) à passer | | Résultat | Text, Number, Object, Collection, Date, Boolean | <- | Résultat de la valeur de l'accumulateur | +
    #### Description @@ -2805,12 +2916,15 @@ Avec la méthode ***Flatten*** suivante : +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------ | | index | Integer | -> | Élément à partir duquel la suppression peut commencer | | howMany | Integer | -> | Nombre d'éléments à supprimer, ou 1 élément si omis | | Résultat | Collection | <- | Collection modifiée ne contenant plus le ou les élément(s) supprimé(s) | +
    #### Description @@ -2860,12 +2974,15 @@ Si vous essayez de supprimer un élément d'une collection vide, la méthode ne +
    + | Paramètres | Type | | Description | | ------------ | ----------------------------------------------- | :-------------------------: | --------------------------------------------------- | | size | Integer | -> | Nouvelle taille de la collection | | defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | Valeur par défaut pour remplir de nouveaux éléments | | Résultat | Collection | <- | Collection d'origine redimensionnée | +
    #### Description @@ -2915,10 +3032,13 @@ Par défaut, les nouveaux éléments sont remplis par des valeurs **null**. Vous +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ------------------------------- | | Résultat | Collection | <- | Copie inversée de la collection | +
    #### Description @@ -2953,10 +3073,13 @@ La fonction `.reverse()` retourne une c +
    + | Paramètres | Type | | Description | | ---------- | ---- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------- | | Résultat | any | <- | *$1.stop* (booléen, optionnel) : **true** pour stopper le rétroappel. | +
    #### Description @@ -2996,12 +3119,15 @@ Si la collection est vide, cette méthode ne fait rien. +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Indice l'élément de départ (inclus) | | end | Integer | -> | Indice de fin (non inclus) | | Résultat | Collection | <- | Nouvelle collection contenant des éléments découpés (copie superficielle) | +
    #### Description @@ -3047,6 +3173,8 @@ La collection retournée contient l'élément spécifié par *startFrom* et tous +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------- | | startFrom | Integer | -> | Elément à partir duquel débuter l'évaluation | @@ -3055,6 +3183,7 @@ La collection retournée contient l'élément spécifié par *startFrom* et tous | param | any | -> | Paramètre(s) à passer | | Résultat | Boolean | <- | Vrai si au moins un élément a réussi le test | +
    #### Description @@ -3127,6 +3256,8 @@ Vous voulez savoir si au moins une valeur de la collection est >0. +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ascOrDesc | Integer | -> | Exemple 1 | @@ -3135,6 +3266,7 @@ Vous voulez savoir si au moins une valeur de la collection est >0. | extraParam | any | -> | Paramètre(s) à passer à la méthode | | Résultat | Collection | <- | Optionnellement, vous pouvez passer des paramètres à *formula* ou *methodName* en utilisant le(s) paramètre(s) *param*. | +
    #### Description @@ -3220,11 +3352,14 @@ $col3:=$col.sort(Formula(String($1.value) +
    + | Paramètres | Type | | Description | | ------------ | ---- | :-------------------------: | --------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | | Résultat | Real | <- | Somme des valeurs de la collection | +
    #### Description @@ -3280,12 +3415,15 @@ Les positions sont retournées dans un ordre croissant. +
    + | Paramètres | Type | | Description | | ---------- | -------------------------------------- | :-------------------------: | ---------------------------------------------------------------- | | value | Text, Number, Object, Collection, Date | -> | Valeur(s) à insérer au début de la collection | | Résultat | Collection | <- | Collection contenant des éléments ajoutés | | | | | | +
    #### Description From ebffe79371e3a831e163b723c365edb32f5a6833 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:40:04 +0100 Subject: [PATCH 078/107] New translations functionclass.md (French) --- .../version-21/API/FunctionClass.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md index bb3b96613e3e09..299ea997be6abd 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/API/FunctionClass.md @@ -112,12 +112,15 @@ Les paramètres sont reçus dans la méthode, dans l'ordre où ils sont spécifi +
    + | Paramètres | Type | | Description | | ------------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------------- | | thisObj | Object | -> | Objet à retourner par la commande This dans la formule | | formulaParams | Collection | -> | Collection des valeurs à passer en tant que $1...$n lorsque `formula` est exécuté | | Résultat | any | <- | Valeur obtenue à partir de l'exécution de la formule | +
    #### Description @@ -168,16 +171,19 @@ Notez que `.apply()` est similaire à [`.call()`](#call) sauf que les paramètre -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any +
    + | Paramètres | Type | | Description | | ---------- | ------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | | thisObj | Object | -> | Objet à retourner par la commande This dans la formule | | params | any | -> | Valeur(s) à passer en tant que $1...$n lorsque formula est exécuté | | Résultat | any | <- | Valeur obtenue à partir de l'exécution de la formule | +
    #### Description From 8b192041ea451af01c4af4861f5f405a313e6a08 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:52:39 +0100 Subject: [PATCH 079/107] New translations new-collection.md (French) --- .../version-21/commands/new-collection.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/new-collection.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/new-collection.md index 0b66c221583e5e..e0435ccbd09ea8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/new-collection.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/new-collection.md @@ -19,18 +19,18 @@ displayed_sidebar: docs La commande `New collection` crée une nouvelle collection vide ou pré-remplie et retourne sa référence. Les collections peuvent être gérées à l'aide des propriétés et des fonctions de la [classe Collection](../API/CollectionClass.md). -Si vous ne passez aucun paramètre, `New collection` crée une collection vide et retourne sa référence. +Prise en charge des formules Vous devez affecter la référence retournée à une variable 4D de type Collection. > N'oubliez pas que l'instruction `var : Collection` déclare une variable de type `Collection` mais ne crée pas de collection. -Optionnellement, vous pouvez préremplir la nouvelle collection en passant une ou plusieurs *value*(s) comme paramètre(s). +Condition Not appliquée à une assertion Sinon, vous pouvez ajouter ou modifier des éléments ultérieurement par affectation. Par exemple : ```4d - myCol[10]:="Mon nouvel élément" +Vous pouvez fournir des paramètres supplémentaires à la callback si nécessaire. ``` Si l'indice du nouvel élément est au-delà du dernier élément existant de la collection, la collection est automatiquement redimensionnée et tous les nouveaux éléments intermédiaires reçoivent la valeur **null**. @@ -39,8 +39,8 @@ Vous pouvez passer n'importe quel nombre de valeurs de n'importe quel type pris Vous devez prêter attention aux problèmes de conversion suivants : -- Si vous passez un pointeur, il est conservé "tel quel" ; il est évalué à l'aide de la commande `JSON Stringify` -- Les dates sont stockées sous la forme de date « aaaa-mm-jj » ou des chaînes au format « AAAA-MM-JJTHH: ss.SSSZ: mm » , selon la configuration actuelle « dates à l'intérieur des objets » de la base de données. Lors de la conversion de dates 4D en texte avant de les stocker dans la collection, par défaut le programme prend en compte le fuseau horaire local. Vous pouvez modifier ce comportement en utilisant le sélecteur `Dates inside objects` de la commande `SET DATABASE PARAMETER`. +- La nouvelle collection partagée +- Les dates sont stockées sous la forme de date « aaaa-mm-jj » ou des chaînes au format « AAAA-MM-JJTHH: ss.SSSZ: mm » , selon la configuration actuelle « dates à l'intérieur des objets » de la base de données. Lors de la conversion de dates 4D en texte avant de les stocker dans la collection, par défaut le programme prend en compte le fuseau horaire local. Indice de fin (non inclus) - Si vous passez une heure, elle est stockée sous la forme d'un nombre de millisecondes (Réel). ## Exemple 1 From 8ef2f13d54d0dda8321921800cc22d7bb57774bb Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 15:52:42 +0100 Subject: [PATCH 080/107] New translations new-shared-collection.md (French) --- .../version-21/commands/new-shared-collection.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/new-shared-collection.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/new-shared-collection.md index 3e472a23fd5e14..02b3c1752e198a 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/new-shared-collection.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/commands/new-shared-collection.md @@ -17,9 +17,9 @@ displayed_sidebar: docs ## Description -La commande `New shared collection` crée une nouvelle collection partagée vide ou préremplie et retourne sa référence. Les collections peuvent être gérées à l'aide des propriétés et des fonctions de la [classe Collection](../API/CollectionClass.md). +nombres Les collections peuvent être gérées à l'aide des propriétés et des fonctions de la [classe Collection](../API/CollectionClass.md). -L'ajout d'un élément à cette collection à l'aide de l'opérateur d'assignation doit être entouré de la structure [`Use...End use`](../Concepts/shared.md#useend-use), sinon une erreur est générée (cela n'est pas nécessaire lors de l'ajout d'éléments à l'aide de fonctions telles que [`push()`](../API/CollectionClass.md#push) ou [`map()`](../API/CollectionClass.md#map) car elles utilisent automatiquement une structure interne *Use...End use*). La lecture d'un élément sans structure *Use...End use* est cependant possible. +L'ajout d'un élément à cette collection à l'aide de l'opérateur d'assignation doit être entouré de la structure [`Use...End use`](../Concepts/shared.md#useend-use), sinon une erreur est générée (cela n'est pas nécessaire lors de l'ajout d'éléments à l'aide de fonctions telles que [`push()`](../API/CollectionClass.md#push) ou [`map()`](../API/CollectionClass.md#map) car elles utilisent automatiquement une structure interne *Use...End use*). Copie inversée de la collection :::info @@ -27,15 +27,15 @@ Pour plus d'informations sur les collections partagées, veuillez vous référer ::: -Si vous ne passez aucun paramètre, `New shared collection` crée une collection vide et retourne sa référence. +Symbole(s) Vous devez affecter la référence retournée à une variable 4D de type Collection. > N'oubliez pas que l'instruction `var : Collection` déclare une variable de type `Collection` mais ne crée pas de collection. -Optionnellement, vous pouvez préremplir la nouvelle collection partagée en passant une ou plusieurs *value*(s) comme paramètre(s). Sinon, vous pouvez ajouter ou modifier des éléments ultérieurement via l'assignation en notation objet (cf. exemple). +Symbole(s) Sinon, vous pouvez ajouter ou modifier des éléments ultérieurement via l'assignation en notation objet (cf. exemple). -Si l'indice du nouvel élément est au-delà du dernier élément existant de la collection partagée, la collection est automatiquement redimensionnée et tous les nouveaux éléments intermédiaires reçoivent la valeur **null**. +Prise en charge des formules Vous pouvez passer tout nombre de valeurs de n'importe quel type pris en charge : From 566683d8df0d5c0c8856d92336c560b6ec0f4f87 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 16:10:39 +0100 Subject: [PATCH 081/107] New translations collectionclass.md (French) --- .../version-21-R2/API/CollectionClass.md | 140 +++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) 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 40cc358d6326bc..269260faae9109 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 @@ -82,11 +82,14 @@ Une collection est initialisée avec les commandes [`New collection`](../command +
    + | Paramètres | Type | | Description | | ---------- | ------- | :-------------------------: | ------------------------------ | | index | Integer | -> | Indice de l'élément à renvoyer | | Résultat | any | <- | L'élément à cet indice | +
    #### Description @@ -129,11 +132,14 @@ $element:=$col.at(10) // undefined +
    + | Paramètres | Type | | Description | | ------------ | --------------- | :-------------------------: | --------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | | Résultat | Real, Undefined | <- | où : | +
    #### Description @@ -187,10 +193,13 @@ Vous pouvez passer tout type d'élément accepté par les collections, y compris +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------- | | Résultat | Collection | <- | Collection d'origine dont tous les éléments ont été supprimés | +
    #### Description @@ -226,12 +235,15 @@ $vSize:=$col.length //$vSize=0 +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ----------------------------------------------------------------------------------- | | col2 | Collection | -> | Collection à combiner | | index | Integer | -> | Emplacement où insérer les éléments à combiner (défaut=length+1) | | Résultat | Collection | <- | Collection d'origine incluant les éléments combinés | +
    #### Description @@ -275,11 +287,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | value | any | -> | Valeur(s) à concaténer. Si *value* est une collection, tous ses éléments sont ajoutés comme de nouveaux éléments à la fin de la collection d'origine. | | Résultat | Collection | <- | En cas d'incohérence, les règles suivantes sont appliquées : | +
    #### Description @@ -320,6 +335,8 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] +
    + | Paramètres | Type | | Description | | ------------ | ---------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | option | Integer | -> | Exemple 3 | @@ -327,6 +344,7 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] | groupWithObj | Object | -> | Objet partagé à grouper avec la collection résultante | | Résultat | Collection | <- | *pathStrings* contient une formule constituée de 1 à N chemin(s) de propriété(s) et (optionnellement) ordres de tri, séparés par des virgules. | +
    #### Description @@ -433,11 +451,14 @@ Résultat +
    + | Paramètres | Type | | Description | | ------------ | ---- | :-------------------------: | --------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | | Résultat | Real | <- | La recherche d'une personne nommée "smith OR status='private"' échouera simplement. | +
    #### Description @@ -479,12 +500,15 @@ Exemple 2 Tri d'une collection de nombres par ordre croissant ou décroissant : +
    + | Paramètres | Type | | Description | | ------------ | ---- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | value | any | -> | Valeur à compter | | propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | | Résultat | Real | <- | Par défaut, `copy()` retourne une collection standard (non partagée), même si la commande est appliquée à une collection partagée. | +
    #### Description @@ -556,12 +580,15 @@ Comparaison +
    + | Paramètres | Type | | Description | | ------------ | ---------- | :-------------------------: | ----------------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de l'attribut dont vous souhaitez obtenir les valeurs distinctes | | options | Integer | -> | `ck diacritical`, `ck count values` | | Résultat | Collection | <- | Commentaire | +
    #### Description @@ -615,12 +642,15 @@ Exemple 2 +
    + | Paramètres | Type | | Description | | ----------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------- | | collection2 | Collection | -> | Collection à comparer | | option | Integer | -> | La formule reçoit les paramètres suivants : | | Résultat | Boolean | <- | Cet exemple illustre l'utilisation de l'option `ck resolve pointers` : | +
    #### Description @@ -684,6 +714,8 @@ dans *$2* : param Modifications +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Elément à partir duquel débuter l'évaluation | @@ -692,6 +724,7 @@ dans *$2* : param Modifications | param | any | -> | Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. | | Résultat | Boolean | <- | Paramètres | +
    #### Description @@ -766,6 +799,8 @@ $b:=$c.every($f;Is real) //$b=false +
    + | Paramètres | Type | | Description | | ------------ | ---------- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de propriété d'objet dont les valeurs doivent être extraites dans la nouvelle collection | @@ -773,6 +808,7 @@ $b:=$c.every($f;Is real) //$b=false | option | Integer | -> | Prise en charge des formules Sommaire | | Résultat | Collection | <- | *$1.stop* (booléen, optionnel) : **true** pour stopper le rétroappel. | +
    #### Description @@ -836,6 +872,8 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------------- | | value | any | -> | Valeur de remplissage | @@ -843,6 +881,7 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 | end | Integer | -> | Indice de fin (non inclus) | | Résultat | Collection | <- | Vous pouvez modifier ce comportement en utilisant le sélecteur `Dates inside objects` de la commande `SET DATABASE PARAMETER`. | +
    #### Description @@ -891,6 +930,8 @@ En cas d'incohérence, les règles suivantes sont appliquées : +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objet formule | @@ -898,6 +939,7 @@ En cas d'incohérence, les règles suivantes sont appliquées : | param | any | -> | Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. | | Résultat | Collection | <- | Résultat | +
    #### Description @@ -977,6 +1019,8 @@ Vous voulez filtrer les éléments de la collection en fonction de leur type : +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | @@ -985,6 +1029,7 @@ Vous voulez filtrer les éléments de la collection en fonction de leur type : | param | any | -> | Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. | | Résultat | any | <- | Pour cela, nous devons créer une copie partagée de la collection (*$sharedLastnames*). | +
    #### Description @@ -1065,6 +1110,8 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | @@ -1073,6 +1120,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 | param | any | -> | Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. | | Résultat | Integer | <- | Etant donné qu'ils appartiennent à différents groupes partagés, une combinaison directe pourrait générer une erreur. | +
    #### Description @@ -1141,10 +1189,13 @@ $val3:=$c.findIndex($val2+1;Formula($1.value.name=$2);"Clanton") //$val3=4 +
    + | Paramètres | Type | | Description | | ---------- | ---- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------- | | Résultat | any | <- | *$1.stop* (booléen, optionnel) : **true** pour stopper le rétroappel. | +
    #### Description @@ -1186,11 +1237,14 @@ $first:=$emptyCol.first() // retourne Undefined +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | depth | Integer | -> | La profondeur à laquelle une structure de collection imbriquée doit être mise à plat. Par défaut=1 | | Résultat | Collection | <- | *$1.result* (booléen): **true** si *$1.value < $1.value2*, **false** sinon | +
    #### Description @@ -1239,6 +1293,8 @@ $col.flat(MAXLONG) +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objet formule | @@ -1246,6 +1302,7 @@ $col.flat(MAXLONG) | param | any | -> | Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. | | Résultat | Collection | <- | **Note** : Même si *startFrom* est négatif, la recherche est effectuée de la droite vers la gauche. | +
    #### Description @@ -1331,12 +1388,15 @@ $c2:=$c.flatMap($f; $c.sum()) +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ----------------------------------------------------- | | toSearch | Expression | -> | Expression à rechercher dans la collection | | startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | | Résultat | Boolean | <- | Exemple 1 | +
    #### Description @@ -1393,12 +1453,15 @@ Exemple 2 +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ---------------------------------------------------------------------------------- | | toSearch | Expression | -> | Expression à rechercher dans la collection | | startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | | Résultat | Integer | <- | Indice de la première occurrence de toSearch dans la collection, -1 si non trouvée | +
    #### Description @@ -1452,12 +1515,15 @@ Exemple 2 +
    + | Paramètres | Type | | Description | | ----------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------- | | queryString | Text | -> | Critère(s) de recherche | | value | any | -> | Valeur(s) à comparer lors de l'utilisation de paramètre(s) dans la chaîne | | Résultat | Collection | <- | Indice(s) d'élément(s) de la collection répondant aux critères de queryString | +
    #### Description @@ -1507,12 +1573,15 @@ Les éléments sont triés par ordre décroissant +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ------------------------------------ | | index | Integer | -> | Où insérer l'élément | | element | any | -> | Elément à insérer dans la collection | | Résultat | Collection | <- | Résultat | +
    #### Description @@ -1559,12 +1628,15 @@ Vous pouvez passer tout type d'élément accepté par les collections, y compris +
    + | Paramètres | Type | | Description | | ---------- | ------- | :-------------------------: | ---------------------------------------- | | delimiter | Text | -> | Séparateur à utiliser entre les éléments | | option | Integer | -> | collection partagée | | Résultat | Text | <- | Exemple 3 | +
    #### Description @@ -1603,10 +1675,13 @@ Par défaut, les éléments null ou vides de la collection sont inclus dans la c +
    + | Paramètres | Type | | Description | | ---------- | ---- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Résultat | any | <- | *$1.result* (booléen) : **true** si *$1.value < $1.value2*, **false** sinon. | +
    #### Description @@ -1641,12 +1716,15 @@ Nom de méthode +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ----------------------------------------------------- | | toSearch | Expression | -> | Elément à chercher dans la collection | | startFrom | Integer | -> | Indice d'élément à partir duquel débuter la recherche | | Résultat | Integer | <- | Commentaire | +
    #### Description @@ -1723,6 +1801,8 @@ Nom de méthode +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objet formule | @@ -1730,6 +1810,7 @@ Nom de méthode | param | any | -> | Si la collection d'origine est une collection partagée, la collection retournée est également une collection partagée. | | Résultat | Collection | <- | *toSearch* doit correspondre exactement à l'élément à trouver (les mêmes règles que l'opérateur d'égalité du type de données sont appliquées). | +
    #### Description @@ -1783,11 +1864,14 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) +
    + | Paramètres | Type | | Description | | ------------ | ---- | :-------------------------: | ----------------------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | | Résultat | any | <- | Cet exemple renvoie les personnes dont le nom contient "in" : | +
    #### Description @@ -1833,11 +1917,14 @@ Modifications +
    + | Paramètres | Type | | Description | | ------------ | ---- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | | Résultat | any | <- | *formula* (syntaxe recommandée), un [objet Formula](FunctionClass.md) qui peut encapsuler toute expression exécutable, y compris des fonctions et des méthodes projet; | +
    #### Description @@ -1883,12 +1970,15 @@ Modifications +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objet formule | | colsToSort | Collection | -> | Exemple 2 | | Résultat | Collection | <- | Optionnellement, vous pouvez passer des paramètres à *formula* ou *methodName* en utilisant le(s) paramètre(s) *param*. | +
    #### Description @@ -2019,6 +2109,8 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) +
    + | Paramètres | Type | | Description | | ----------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------- | | pathStrings | Text | -> | Chemin(s) de propriété(s) à utiliser pour trier la collection | @@ -2026,6 +2118,7 @@ $name.multiSort(Formula($1.value.firstname<$1.value2.firstname); [$address]) | ascOrDesc | Integer | -> | Exemple 1 | | Résultat | Collection | <- | Les éléments avec des valeurs **null** ne sont pas égaux aux éléments Undefined. | +
    #### Description @@ -2156,10 +2249,12 @@ Tri avec un chemin de propriété : -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | formula | 4D.Function | -> | Objet formule | @@ -2167,6 +2262,7 @@ Tri avec un chemin de propriété : | extraParam | any | -> | Paramètre(s) à passer | | Résultat | Collection | <- | \|startFrom \|Integer\|->\|Index pour démarrer le test\| \|formula\|4D.Function\|->\|Objet formule\| \|methodName\|Text\|->\|Nom d'une méthode\| \|param \|any \|->\|Paramètre(s) à passer\| \|Resultat\|Boolean\|<-\|Vrai si au moins un élément a réussi le test\| | +
    #### Description @@ -2258,10 +2354,13 @@ $toSort.result:=(Compare strings($toSort.value;$toSort.value2;$option2)<0) +
    + | Paramètres | Type | | Description | | ---------- | ---- | :-------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Résultat | any | <- | *$1.result* (booléen) : **true** si *$1.value < $1.value2*, **false** sinon. | +
    #### Description @@ -2298,11 +2397,14 @@ Chemin ou nom de propriété cible +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------ | | element | any | -> | Élément(s) à ajouter à la collection | | Résultat | Collection | <- | *$1.stop* (booléen, optionnel) : **true** pour stopper le rétroappel de la méthode. | +
    #### Description @@ -2353,6 +2455,8 @@ Vous souhaitez trier la collection obtenue : +
    + | Paramètres | Type | | Description | | ------------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------- | | queryString | Text | -> | Critère(s) de recherche | @@ -2360,6 +2464,7 @@ Vous souhaitez trier la collection obtenue : | querySettings | Object | -> | Options de requête : paramètres, attributs | | Résultat | Collection | <- | Null | +
    #### Description @@ -2633,6 +2738,8 @@ Vous trouverez d'autres exemples de requêtes dans la page `dataClass.query()`. +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objet formule | @@ -2641,6 +2748,7 @@ Vous trouverez d'autres exemples de requêtes dans la page `dataClass.query()`. | param | Expression | -> | Paramètre(s) à passer | | Résultat | any | <- | Résultat de la valeur de l'accumulateur | +
    #### Description @@ -2718,6 +2826,8 @@ Avec la méthode ***Flatten*** suivante : +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------------------------------------------------- | | formula | 4D.Function | -> | Objet formule | @@ -2726,6 +2836,7 @@ Avec la méthode ***Flatten*** suivante : | param | Expression | -> | Paramètre(s) à passer | | Résultat | any | <- | Résultat de la valeur de l'accumulateur | +
    #### Description @@ -2805,12 +2916,15 @@ Avec la méthode ***Flatten*** suivante : +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ------------------------------------------------------------------------------------------------------------ | | index | Integer | -> | Élément à partir duquel la suppression peut commencer | | howMany | Integer | -> | Nombre d'éléments à supprimer, ou 1 élément si omis | | Résultat | Collection | <- | Collection modifiée ne contenant plus le ou les élément(s) supprimé(s) | +
    #### Description @@ -2860,12 +2974,15 @@ Si vous essayez de supprimer un élément d'une collection vide, la méthode ne +
    + | Paramètres | Type | | Description | | ------------ | ---------- | :-------------------------: | --------------------------------------------------- | | size | Integer | -> | Nouvelle taille de la collection | | defaultValue | any | -> | Valeur par défaut pour remplir de nouveaux éléments | | Résultat | Collection | <- | Collection d'origine redimensionnée | +
    #### Description @@ -2915,10 +3032,13 @@ Par défaut, les nouveaux éléments sont remplis par des valeurs **null**. Vous +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ------------------------------- | | Résultat | Collection | <- | Copie inversée de la collection | +
    #### Description @@ -2953,10 +3073,13 @@ La fonction `.reverse()` retourne une c +
    + | Paramètres | Type | | Description | | ---------- | ---- | :-------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------- | | Résultat | any | <- | *$1.stop* (booléen, optionnel) : **true** pour stopper le rétroappel. | +
    #### Description @@ -2996,12 +3119,15 @@ Si la collection est vide, cette méthode ne fait rien. +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | -------------------------------------------------------------------------------------------- | | startFrom | Integer | -> | Indice l'élément de départ (inclus) | | end | Integer | -> | Indice de fin (non inclus) | | Résultat | Collection | <- | Nouvelle collection contenant des éléments découpés (copie superficielle) | +
    #### Description @@ -3047,6 +3173,8 @@ La collection retournée contient l'élément spécifié par *startFrom* et tous +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | -------------------------------------------- | | startFrom | Integer | -> | Elément à partir duquel débuter l'évaluation | @@ -3055,6 +3183,7 @@ La collection retournée contient l'élément spécifié par *startFrom* et tous | param | any | -> | Paramètre(s) à passer | | Résultat | Boolean | <- | Vrai si au moins un élément a réussi le test | +
    #### Description @@ -3127,6 +3256,8 @@ Vous voulez savoir si au moins une valeur de la collection est >0. +
    + | Paramètres | Type | | Description | | ---------- | --------------------------- | :-------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ascOrDesc | Integer | -> | Exemple 1 | @@ -3135,6 +3266,7 @@ Vous voulez savoir si au moins une valeur de la collection est >0. | extraParam | any | -> | Paramètre(s) à passer à la méthode | | Résultat | Collection | <- | Optionnellement, vous pouvez passer des paramètres à *formula* ou *methodName* en utilisant le(s) paramètre(s) *param*. | +
    #### Description @@ -3220,11 +3352,14 @@ $col3:=$col.sort(Formula(String($1.value) +
    + | Paramètres | Type | | Description | | ------------ | ---- | :-------------------------: | --------------------------------------------------------------- | | propertyPath | Text | -> | Chemin de propriété d'objet à utiliser pour évaluer les valeurs | | Résultat | Real | <- | Somme des valeurs de la collection | +
    #### Description @@ -3280,12 +3415,15 @@ Les positions sont retournées dans un ordre croissant. +
    + | Paramètres | Type | | Description | | ---------- | ---------- | :-------------------------: | ---------------------------------------------------------------- | | value | any | -> | Valeur(s) à insérer au début de la collection | | Résultat | Collection | <- | Collection contenant des éléments ajoutés | | | | | | +
    #### Description From 53b2bb8327005dfb089b82433043a04b69c8032c Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 16:11:05 +0100 Subject: [PATCH 082/107] New translations functionclass.md (French) --- .../version-21-R2/API/FunctionClass.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md index bb3b96613e3e09..299ea997be6abd 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/API/FunctionClass.md @@ -112,12 +112,15 @@ Les paramètres sont reçus dans la méthode, dans l'ordre où ils sont spécifi +
    + | Paramètres | Type | | Description | | ------------- | ---------- | :-------------------------: | --------------------------------------------------------------------------------------------------------------------------------- | | thisObj | Object | -> | Objet à retourner par la commande This dans la formule | | formulaParams | Collection | -> | Collection des valeurs à passer en tant que $1...$n lorsque `formula` est exécuté | | Résultat | any | <- | Valeur obtenue à partir de l'exécution de la formule | +
    #### Description @@ -168,16 +171,19 @@ Notez que `.apply()` est similaire à [`.call()`](#call) sauf que les paramètre -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any +
    + | Paramètres | Type | | Description | | ---------- | ------ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | | thisObj | Object | -> | Objet à retourner par la commande This dans la formule | | params | any | -> | Valeur(s) à passer en tant que $1...$n lorsque formula est exécuté | | Résultat | any | <- | Valeur obtenue à partir de l'exécution de la formule | +
    #### Description From f5e826ab27bd3cebcf428f813be1000167a7dabe Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 16:12:44 +0100 Subject: [PATCH 083/107] New translations quick-tour.md (French) --- .../version-21-R2/Concepts/quick-tour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md index 75362364c4f3ba..d69989b785e5aa 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/Concepts/quick-tour.md @@ -430,5 +430,5 @@ Les conventions suivantes sont utilisées dans la documentation du langage 4D : - les caractères `{ }` (accolades) indiquent des paramètres facultatifs. Par exemple, `.delete( { option : Integer } )` signifie que le paramètre *option* peut être omis lors de l'appel de la fonction. - le mot-clé `any` est utilisé pour les paramètres qui peuvent être de n'importe quel type (nombre, texte, booléen, date, heure, objet, collection...). -- la notation `{ ; ...*param* : Type}` indique un nombre illimité de paramètres du même type. For example, `.concat( value : any { ;...valueN : any } ) : Collection` means that an unlimited number of values of any type can be passed to the function. +- the `{; *...param* : Type}` notation indicates an unlimited number of parameters of the same type. For example, `.concat( value : any { ;...valueN : any } ) : Collection` means that an unlimited number of values of any type can be passed to the function. - la notation `{ ; ...(*param* : Type ; *param2* : Type) }` indique un nombre illimité de groupes de paramètres. For example, `COLLECTION TO ARRAY ( collection : Collection ; array : Array {; propertyName : Text}{; ...(array : Array ; propertyName : Text) } )` means that an unlimited number of couple values of type array/text can be passed to the command. From 58d3ab0d4ed4d56d573c9a5da102d3485a371fa6 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 16:38:26 +0100 Subject: [PATCH 084/107] New translations new-collection.md (French) --- .../version-21-R2/commands/new-collection.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands/new-collection.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands/new-collection.md index 7d1eb407936eab..bcbc21c7805966 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands/new-collection.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands/new-collection.md @@ -19,18 +19,18 @@ displayed_sidebar: docs La commande `New collection` crée une nouvelle collection vide ou pré-remplie et retourne sa référence. Les collections peuvent être gérées à l'aide des propriétés et des fonctions de la [classe Collection](../API/CollectionClass.md). -Si vous ne passez aucun paramètre, `New collection` crée une collection vide et retourne sa référence. +Prise en charge des formules Vous devez affecter la référence retournée à une variable 4D de type Collection. > N'oubliez pas que l'instruction `var : Collection` déclare une variable de type `Collection` mais ne crée pas de collection. -Optionnellement, vous pouvez préremplir la nouvelle collection en passant une ou plusieurs *value*(s) comme paramètre(s). +Condition Not appliquée à une assertion Sinon, vous pouvez ajouter ou modifier des éléments ultérieurement par affectation. Par exemple : ```4d - myCol[10]:="Mon nouvel élément" +Vous pouvez fournir des paramètres supplémentaires à la callback si nécessaire. ``` Si l'indice du nouvel élément est au-delà du dernier élément existant de la collection, la collection est automatiquement redimensionnée et tous les nouveaux éléments intermédiaires reçoivent la valeur **null**. @@ -39,8 +39,8 @@ Vous pouvez passer n'importe quel nombre de valeurs de n'importe quel type pris Vous devez prêter attention aux problèmes de conversion suivants : -- Si vous passez un pointeur, il est conservé "tel quel" ; il est évalué à l'aide de la commande `JSON Stringify` -- Les dates sont stockées sous la forme de date « aaaa-mm-jj » ou des chaînes au format « AAAA-MM-JJTHH: ss.SSSZ: mm » , selon la configuration actuelle « dates à l'intérieur des objets » de la base de données. Lors de la conversion de dates 4D en texte avant de les stocker dans la collection, par défaut le programme prend en compte le fuseau horaire local. Vous pouvez modifier ce comportement en utilisant le sélecteur `Dates inside objects` de la commande `SET DATABASE PARAMETER`. +- La nouvelle collection partagée +- Les dates sont stockées sous la forme de date « aaaa-mm-jj » ou des chaînes au format « AAAA-MM-JJTHH: ss.SSSZ: mm » , selon la configuration actuelle « dates à l'intérieur des objets » de la base de données. Lors de la conversion de dates 4D en texte avant de les stocker dans la collection, par défaut le programme prend en compte le fuseau horaire local. Indice de fin (non inclus) - Si vous passez une heure, elle est stockée sous la forme d'un nombre de millisecondes (Réel). ## Exemple 1 From 29244b4fe16d12fff3dc1265de8b30e4ae1101c6 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 16:38:30 +0100 Subject: [PATCH 085/107] New translations new-shared-collection.md (French) --- .../version-21-R2/commands/new-shared-collection.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands/new-shared-collection.md b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands/new-shared-collection.md index 28c174e50bafe1..7e6faca61a3a30 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands/new-shared-collection.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21-R2/commands/new-shared-collection.md @@ -17,9 +17,9 @@ displayed_sidebar: docs ## Description -La commande `New shared collection` crée une nouvelle collection partagée vide ou préremplie et retourne sa référence. Les collections peuvent être gérées à l'aide des propriétés et des fonctions de la [classe Collection](../API/CollectionClass.md). +nombres Les collections peuvent être gérées à l'aide des propriétés et des fonctions de la [classe Collection](../API/CollectionClass.md). -L'ajout d'un élément à cette collection à l'aide de l'opérateur d'assignation doit être entouré de la structure [`Use...End use`](../Concepts/shared.md#useend-use), sinon une erreur est générée (cela n'est pas nécessaire lors de l'ajout d'éléments à l'aide de fonctions telles que [`push()`](../API/CollectionClass.md#push) ou [`map()`](../API/CollectionClass.md#map) car elles utilisent automatiquement une structure interne *Use...End use*). La lecture d'un élément sans structure *Use...End use* est cependant possible. +L'ajout d'un élément à cette collection à l'aide de l'opérateur d'assignation doit être entouré de la structure [`Use...End use`](../Concepts/shared.md#useend-use), sinon une erreur est générée (cela n'est pas nécessaire lors de l'ajout d'éléments à l'aide de fonctions telles que [`push()`](../API/CollectionClass.md#push) ou [`map()`](../API/CollectionClass.md#map) car elles utilisent automatiquement une structure interne *Use...End use*). Copie inversée de la collection :::info @@ -27,15 +27,15 @@ Pour plus d'informations sur les collections partagées, veuillez vous référer ::: -Si vous ne passez aucun paramètre, `New shared collection` crée une collection vide et retourne sa référence. +Symbole(s) Vous devez affecter la référence retournée à une variable 4D de type Collection. > N'oubliez pas que l'instruction `var : Collection` déclare une variable de type `Collection` mais ne crée pas de collection. -Optionnellement, vous pouvez préremplir la nouvelle collection partagée en passant une ou plusieurs *value*(s) comme paramètre(s). Sinon, vous pouvez ajouter ou modifier des éléments ultérieurement via l'assignation en notation objet (cf. exemple). +Symbole(s) Sinon, vous pouvez ajouter ou modifier des éléments ultérieurement via l'assignation en notation objet (cf. exemple). -Si l'indice du nouvel élément est au-delà du dernier élément existant de la collection partagée, la collection est automatiquement redimensionnée et tous les nouveaux éléments intermédiaires reçoivent la valeur **null**. +Prise en charge des formules Vous pouvez passer tout nombre de valeurs de n'importe quel type pris en charge : From 995939b5ec9a35050ab6ec91e70e2f2df715c923 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 16:41:19 +0100 Subject: [PATCH 086/107] New translations functionclass.md (Spanish) --- .../version-19/API/FunctionClass.md | 62 ++++++++++--------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md b/i18n/es/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md index d89f1480148bfc..43e0307241e507 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-19/API/FunctionClass.md @@ -129,13 +129,14 @@ Los parámetros se reciben en el método, en el orden en que se especifican en l -| Parámetros | Tipo | | Descripción | -| ---------- | ----------- |:--:| ------------------------------------------------------------------ | -| formulaExp | Expression | -> | Fórmula a devolver como objeto | -| Resultado | 4D.Function | <- | Función nativa que encapsula la fórmula| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaExp|Expression|->|Formula to be returned as object| +|Result|4D.Function|<-|Native function encapsulating the formula| +
    + #### Descripción @@ -268,13 +269,14 @@ Llamar a una fórmula utilizando la notación de objetos: -| Parámetros | Tipo | | Descripción | -| ------------- | ----------- |:--:| ----------------------------------------------------------------- | -| formulaString | Text | -> | Fórmula texto a devolver como objeto | -| Resultado | 4D.Function | <- | Objeto nativo que encapsula la fórmula| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaString|Text|->|Text formula to be returned as object| +|Result|4D.Function|<-|Native object encapsulating the formula| +
    + #### Descripción @@ -327,14 +329,15 @@ El siguiente código creará un diálogo que acepta una fórmula en formato text -| Parámetros | Tipo | | Descripción | -| ------------- | ---------- |:--:| ----------------------------------------------------------------------------- | -| thisObj | Object | -> | Objeto a devolver por el comando This en la fórmula | -| formulaParams | Collection | -> | Colección de valores que se pasan como $1...$n cuando se ejecuta la `fórmula` | -| Resultado | any | <- | Valor de la ejecución de la fórmula| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|formulaParams |Collection|->|Collection of values to be passed as $1...$n when `formula` is executed| +|Result|any|<-|Value from formula execution| +
    + #### Descripción @@ -397,18 +400,19 @@ Tenga en cuenta que `.apply()` es similar a [`.call()`](#call) excepto que los p -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any -| Parámetros | Tipo | | Descripción | -| ---------- | ------ | -- | ------------------------------------------------------------------ | -| thisObj | Object | -> | Objeto a devolver por el comando This en la fórmula | -| params | any | -> | Valor(es) que se pasa(n) como $1...$n cuando se ejecuta la fórmula | -| Resultado | any | <- | Valor de la ejecución de la fórmula| - - -| +
    + +|Parameter|Type||Description| +|---|---|---|---| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|params |any|->|Value(s) to be passed as $1...$n when formula is executed| +|Result|any|<-|Value from formula execution| +
    + #### Descripción From bda730c02aa455452a9ae25152b939e1d53bc6d9 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 16:54:05 +0100 Subject: [PATCH 087/107] New translations collectionclass.md (Spanish) --- .../version-20/API/CollectionClass.md | 762 ++++++++++-------- 1 file changed, 405 insertions(+), 357 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md index 94a1bc76899b25..eabf194b3c9174 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20/API/CollectionClass.md @@ -83,13 +83,14 @@ Una colección se inicializa con: -| Parámetros | Tipo | | Descripción | -| ---------- | ----------------------------------------------------------------------- |:--:| --------------------------------------------- | -| value | Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer | -> | Valor(es) de collection | -| Resultado | Collection | <- | La nueva colección| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Collection's value(s)| +|Result|Collection|<-|The new collection| +
    + #### Descripción @@ -171,13 +172,14 @@ Se crea una nueva colección y se añade un nuevo elemento: -| Parámetros | Tipo | | Descripción | -| ---------- | ----------------------------------------------------- |:--:| -------------------------------------------------------- | -| value | Number, Text, Date, Time, Boolean, Object, Collection | -> | Valor(es) de la collection compartida | -| Resultado | Collection | <- | La nueva colección compartida| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Shared collection's value(s)| +|Result|Collection|<-|The new shared collection| +
    + #### Descripción @@ -247,13 +249,14 @@ Esta función modifica la colección original. -| Parámetros | Tipo | | Descripción | -| ---------- | ------- |:--:| ---------------------------------------------------- | -| index | Integer | -> | Índice del elemento a devolver | -| Resultado | any | <- | El elemento en ese índice| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index|Integer|->|Index of element to return| +|Result|any |<-|The element at that index| +
    + #### Descripción @@ -289,14 +292,14 @@ Lanzamiento -| Parámetros | Tipo | | Descripción | -| ------------ | --------------- |:--:| ------------------------------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | -| Resultado | Real, Undefined | <- | Media aritmética (promedio) de los valores de la colección| - - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real, Undefined|<-|Arithmetic mean (average) of collection values| +
    + @@ -355,12 +358,13 @@ Si la colección contiene objetos, pasa el parámetro *propertyPath* para indica -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| -------------------------------------------------------------------------------- | -| Resultado | Collection | <- | Colección original con todos los elementos eliminados| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Original collection with all elements removed| +
    + #### Descripción @@ -398,14 +402,15 @@ $vSize:=$col.length //$vSize=0 -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------------------------- | -| col2 | Collection | -> | Colección a combinar | -| index | Integer | -> | Posición a la que se deben combinar los elementos de inserción en la colección (por defecto=length+1) | -| Resultado | Collection | <- | Colección original que contiene elementos combinados| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|col2|Collection|->|Collection to combine| +|index|Integer|->|Position to which insert elements to combine in collection (default=length+1)| +|Result|Collection|<-|Original collection containing combined element(s)| +
    + #### Descripción @@ -451,13 +456,14 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ------------------------------------------------------------------------------------------------------------------------ | -| value | any | -> | Valores a concatenar. Si *value* es una colección, todos los elementos de la colección se añaden a la colección original | -| Resultado | Collection | <- | Nueva colección con valor(es) añadido(s) a la colección original| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|any|->|Value(s) to concatenate. If *value* is a collection, all collection elements are added to the original collection| +|Result|Collection|<-|New collection with value(s) added to the original collection| +
    + #### Descripción @@ -500,15 +506,16 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8] -| Parámetros | Tipo | | Descripción | -| ------------ | ---------- |:--:| ------------------------------------------------------------------------------------------------------------------ | -| option | Integer | -> | `ck resolve pointers`: resolver punteros antes de copiar,
    `ck shared`: devolver una colección compartida | -| groupWithCol | Collection | -> | Colección compartida que se agrupa con la colección resultante | -| groupWithObj | Object | -> | Objeto compartido que se agrupa con la colección resultante | -| Resultado | Collection | <- | Copia profunda de la colección original| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|option|Integer|->|`ck resolve pointers`: resolve pointers before copying,
    `ck shared`: return a shared collection| +|groupWithCol |Collection|->|Shared collection to be grouped with the resulting collection| +|groupWithObj |Object|->|Shared object to be grouped with the resulting collection| +|Result|Collection|<-|Deep copy of the original collection| +
    + #### Descripción @@ -638,13 +645,14 @@ Este ejemplo ilustra el uso de la opción `ck resolve pointers`: -| Parámetros | Tipo | | Descripción | -| ------------ | ---- |:--:| ---------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | -| Resultado | Real | <- | Número de elementos en la colección| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of elements in the collection| +
    + #### Descripción @@ -689,14 +697,15 @@ Si la colección contiene objetos, se puede pasar el parámetro *propertyPath*. -| Parámetros | Tipo | | Descripción | -| ------------ | ----------------------------------------------- |:--:| ---------------------------------------------------------------- | -| value | Text, Number, Boolean, Date, Object, Collection | -> | Valor a contar | -| propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | -| Resultado | Real | <- | Número de apariciones del valor | - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|Text, Number, Boolean, Date, Object, Collection|->|Value to count| +|propertyPath|Text|->|Object property path to be used for calculation| +|Result|Real|<-|Number of occurrences of the value | +
    + #### Descripción @@ -774,14 +783,15 @@ El parámetro opcional *propertyPath* permite contar valores dentro de una colec -| Parámetros | Tipo | | Descripción | -| ------------ | ---------- |:--:| --------------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta del atributo cuyos valores distintos desea obtener | -| options | Integer | -> | `ck diacritical`, `ck count values` | -| Resultado | Collection | <- | Nueva colección con sólo valores distintos| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Path of attribute whose distinct values you want to get| +|options|Integer|->|`ck diacritical`, `ck count values`| +|Result|Collection|<-|New collection with only distinct values| +
    + #### Descripción @@ -838,14 +848,15 @@ En el parámetro *options*, puede pasar una o una combinación de las siguientes -| Parámetros | Tipo | | Descripción | -| ----------- | ---------- |:--:| ----------------------------------------------------------------------------------------- | -| collection2 | Collection | -> | Colección a comparar | -| option | Integer | -> | `ck diacritical`: evaluación diacrítica ("A" # "a" por ejemplo) | -| Resultado | Boolean | <- | True si las colecciones son idénticas, false en caso contrario| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|collection2|Collection|->|Collection to compare| +|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example) +|Result|Boolean|<-|True if collections are identical, false otherwise| +
    + #### Descripción @@ -906,16 +917,17 @@ Por defecto, se realiza una evaluación no diacrítica. Si desea que la evaluaci -| Parámetros | Tipo | | Descripción | -| ---------- | ----------- |:--:| ------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice para iniciar la prueba en | -| formula | 4D.Function | -> | Objeto fórmula | -| methodName | Text | -> | Nombre de un método | -| param | Mixed | -> | Parámetro(s) a pasar a la *fórmula* o *methodName* | -| Resultado | Boolean | <- | True si todos los elementos han pasado la prueba con éxito| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the test at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|Mixed|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Boolean|<-|True if all elements successfully passed the test| +
    + #### Descripción @@ -1003,15 +1015,16 @@ $b:=$c.every($f;Is real) //$b=false -| Parámetros | Tipo | | Descripción | -| ------------ | ---------- |:--:| --------------------------------------------------------------------------------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta de la propiedad del objeto cuyos valores deben ser extraídos a la nueva colección | -| targetpath | Text | -> | Ruta de la propiedad de destino o nombre de la propiedad | -| option | Integer | -> | `ck keep null`: incluye la propiedad null en la colección devuelta (se ignora por defecto). Parámetro ignorado si se pasa *targetPath*. | -| Resultado | Collection | <- | Nueva colección que contiene los valores extraídos| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path whose values must be extracted to the new collection| +|targetpath|Text|->|Target property path or property name| +|option|Integer|->|`ck keep null`: include null properties in the returned collection (ignored by default). Parameter ignored if *targetPath* passed.| +|Result|Collection|<-|New collection containing extracted values| +
    + #### Descripción @@ -1082,15 +1095,16 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504 -| Parámetros | Tipo | | Descripción | -| ---------- | ----------------------------------------------- |:--:| ------------------------------------------------------------------------ | -| value | number, Text, Collection, Object, Date, Boolean | -> | Valor a asignar | -| startFrom | Integer | -> | Índice de inicio (incluido) | -| end | Integer | -> | Índice final (no incluido) | -| Resultado | collection | <- | Colección original con los valores rellenados| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value|number, Text, Collection, Object, Date, Boolean|->|Filling value| +|startFrom|Integer|->|Start index (included)| +|end|Integer|->|End index (not included)| +|Result|collection|<-|Original collection with filled values| +
    + #### Descripción @@ -1142,15 +1156,16 @@ En caso de incoherencia, se aplican las siguientes reglas: -| Parámetros | Tipo | | Descripción | -| ---------- | ----------- |:--:| --------------------------------------------------------------------------------------------------- | -| formula | 4D.Function | -> | Objeto fórmula | -| methodName | Text | -> | Nombre de un método | -| param | any | -> | Parámetro(s) a pasar a la *fórmula* o *methodName* | -| Resultado | Collection | <- | Nueva colección que contiene los elementos filtrados (copia superficial)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Collection|<-|New collection containing filtered elements (shallow copy)| +
    + #### Descripción @@ -1232,16 +1247,17 @@ Quiere filtrar los elementos según su tipo de valor: -| Parámetros | Tipo | | Descripción | -| ---------- | ----------- |:--:| ---------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice para iniciar la búsqueda en | -| formula | 4D.Function | -> | Objeto fórmula | -| methodName | Text | -> | Nombre de un método | -| param | any | -> | Parámetro(s) a pasar a la *fórmula* o *methodName* | -| Resultado | any | <- | Primer valor encontrado, o Undefined si no se encuentra| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|any |<-|First value found, or Undefined if not found| +
    + #### Descripción @@ -1325,16 +1341,17 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 -| Parámetros | Tipo | | Descripción | -| ---------- | ----------- |:--:| -------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice para iniciar la búsqueda en | -| formula | 4D.Function | -> | Objeto fórmula | -| methodName | Text | -> | Nombre de un método | -| param | any | -> | Parámetro(s) a pasar a la *fórmula* o *methodName* | -| Resultado | Integer | <- | Índice del primer valor encontrado, o -1 si no se encuentra| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom|Integer|->|Index to start the search at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Integer |<-|Index of first value found, or -1 if not found| +
    + #### Descripción @@ -1402,12 +1419,13 @@ $val3:=$c.findIndex($val2+1;Formula($1.value.name=$2);"Clanton") //$val3=4 -| Parámetros | Tipo | | Descripción | -| ---------- | ---- |:--:| ---------------------------------------------------------- | -| Resultado | any | <- | Primer elemento de la colección| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any|<-|First element of collection| +
    + #### Descripción @@ -1450,13 +1468,14 @@ $first:=$emptyCol.first() // devuelve Undefined -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------- | -| depth | Integer | -> | A qué profundidad debe aplanarse una estructura de colección anidada. Por defecto=1 | -| Resultado | Collection | <- | Colección aplanada| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|depth|Integer |->|How deep a nested collection structure should be flattened. Default=1| +|Result|Collection |<-|Flattened collection| +
    + #### Descripción @@ -1506,14 +1525,16 @@ $col.flat(MAXLONG) **.flatMap**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.flatMap**( *methodName* : Text { ; *...param* : any } ) : Collection -| Parámetros | Tipo | | Descripción | -| ---------- | ----------- |:--:| ------------------------------------------------------------------------------------------------- | -| formula | 4D.Function | -> | Objeto fórmula | -| methodName | Text | -> | Nombre de un método | -| param | any | -> | Parámetro(s) a pasar a la *fórmula* o *methodName* | -| Resultado | Collection | <- | Colección de valores transformados y aplanados en una profundidad de 1| - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Collection |<-|Collection of transformed values and flattened by a depth of 1| +
    + #### Descripción @@ -1601,14 +1622,15 @@ $c2:=$c.flatMap($f; $c.sum()) -| Parámetros | Tipo | | Descripción | -| ---------- | --------- |:--:| -------------------------------------------------------------------------- | -| toSearch | expresión | -> | Expresión a buscar en la colección | -| startFrom | Integer | -> | Índice para iniciar la búsqueda en | -| Resultado | Boolean | <- | True si *toSearch* se encuentra en la colección| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|Expression to search in the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Boolean |<-|True if *toSearch* is found in the collection| +
    + #### Descripción @@ -1668,15 +1690,15 @@ Opcionalmente, puede pasar el índice de la colección desde el que iniciar la b - -| Parámetros | Tipo | | Descripción | -| ---------- | --------- |:--:| ------------------------------------------------------------------------------------------------------------- | -| toSearch | expresión | -> | Expresión a buscar en la colección | -| startFrom | Integer | -> | Índice para iniciar la búsqueda en | -| Resultado | Integer | <- | Índice de la primera ocurrencia de toSearch en la colección, -1 si no se encuentra| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|Expression to search in the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found| +
    + #### Descripción @@ -1729,14 +1751,15 @@ Opcionalmente, puede pasar el índice de la colección desde el que iniciar la b -| Parámetros | Tipo | | Descripción | -| ----------- | ---------- |:--:| ----------------------------------------------------------------------------------------------- | -| queryString | Text | -> | Criterio de búsqueda | -| value | any | -> | Valor(es) a comparar cuando se utiliza(n) marcador(es) de posición | -| Resultado | Collection | <- | Índice(s) de elementos que coinciden con queryString en la colección| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|any|->|Value(s) to compare when using placeholder(s)| +|Result|Collection |<-|Element index(es) matching queryString in the collection| +
    + #### Descripción @@ -1788,14 +1811,15 @@ Para una descripción detallada de los parámetros *queryString* y *value*, cons -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ----------------------------------------------------------------------------------- | -| index | Integer | -> | Dónde insertar el elemento | -| element | any | -> | Elemento a insertar en la colección | -| Resultado | Collection | <- | Colección original que contiene los elementos insertados| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index|Integer|->|Where to insert the element| +|element|any|->|Element to insert in the collection| +|Result|Collection |<-|Original collection containing inserted element| +
    + #### Descripción @@ -1843,14 +1867,15 @@ Se puede insertar cualquier tipo de elemento aceptado por una colección, inclus -| Parámetros | Tipo | | Descripción | -| ---------- | ------- |:--:| ---------------------------------------------------------------------------------------------------------------- | -| delimiter | Text | -> | Separador a utilizar entre elementos | -| option | Integer | -> | `ck ignore null or empty`: ignorar las cadenas nulas y vacías en el resultado | -| Resultado | Text | <- | Cadena que contiene todos los elementos de la colección, separados por un delimitador| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|delimiter|Text|->|Separator to use between elements| +|option|Integer|->|`ck ignore null or empty`: ignore null and empty strings in the result| +|Result|Text |<-|String containing all elements of the collection, separated by delimiter| +
    + #### Descripción @@ -1891,12 +1916,13 @@ Por defecto, los elementos nulos o vacíos de la colección se devuelven en la c -| Parámetros | Tipo | | Descripción | -| ---------- | ---- |:--:| ---------------------------------------------------------- | -| Resultado | any | <- | Último elemento de la colección| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any |<-|Last element of collection| +
    + #### Descripción @@ -1942,14 +1968,15 @@ $last:=$emptyCol.last() // devuelve Indefinido -| Parámetros | Tipo | | Descripción | -| ---------- | --------- |:--:| ------------------------------------------------------------------------------------------------------------ | -| toSearch | expresión | -> | El elemento que se va a buscar dentro de la colección | -| startFrom | Integer | -> | Índice para iniciar la búsqueda en | -| Resultado | Integer | <- | Índice de la última ocurrencia de toSearch en la colección, -1 si no se encuentra| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|toSearch|expression|->|The element that is to be searched for within the collection| +|startFrom|Integer|->|Index to start the search at| +|Result|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found| +
    + #### Descripción @@ -2042,15 +2069,16 @@ La propiedad `.length` se inicializa cuando se crea la colección. Añadir o eli -| Parámetros | Tipo | | Descripción | -| ---------- | ----------- |:--:| ------------------------------------------------------------- | -| formula | 4D.Function | -> | Objeto fórmula | -| methodName | Text | -> | Nombre de un método | -| param | any | -> | Parámetro(s) a pasar a la *fórmula* o *methodName* | -| Resultado | Collection | <- | Colección de valores transformados| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param|any|->|Parameter(s) to pass to *formula* or *methodName*| +|Result|Collection |<-|Collection of transformed values| +
    + #### Descripción @@ -2109,13 +2137,14 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum()) -| Parámetros | Tipo | | Descripción | -| ------------ | ----------------------------------------------- |:--:| ------------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para la evaluación | -| Resultado | Boolean, Text, Number, Collection, Object, Date | <- | Valor máximo en la colección| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection| +
    + #### Descripción @@ -2164,13 +2193,14 @@ Si la colección está vacía, `.max()` devuelve *Undefined*. -| Parámetros | Tipo | | Descripción | -| ------------ | ----------------------------------------------- |:--:| ------------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para la evaluación | -| Resultado | Boolean, Text, Number, Collection, Object, Date | <- | Valor mínimo en la colección| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath|Text|->|Object property path to be used for evaluation| +|Result|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection| +
    + #### Descripción @@ -2218,15 +2248,16 @@ Si la colección está vacía, `.min()` devuelve *Undefined*. -| Parámetros | Tipo | | Descripción | -| ----------- | ---------- |:--:| ----------------------------------------------------------------------------- | -| pathStrings | Text | -> | Ruta(s) de propiedad(es) a utilizar para ordenar la colección | -| pathObjects | Collection | -> | Colección de objetos criterio | -| ascOrDesc | Integer | -> | `ck ascending` o `ck descending` (valores escalares) | -| Resultado | Collection | <- | Copia ordenada de la colección (copia superficial)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|pathStrings|Text|->|Property path(s) on which to order the collection| +|pathObjects|Collection|->|Collection of criteria objects| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|Result|Collection |<-|Ordered copy of the collection (shallow copy)| +
    + #### Descripción @@ -2359,20 +2390,21 @@ Ordenar con una ruta de propiedad: -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection -| Parámetros | Tipo | | Descripción | -| ---------- | ----------- |:--:| ----------------------------------------------------------------------------- | -| formula | 4D.Function | -> | Objeto fórmula | -| methodName | Text | -> | Nombre de un método | -| extraParam | any | -> | Parámetro(s) a pasar | -| Resultado | Collection | <- | Copia ordenada de la colección (copia superficial)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|extraParam|any|->|Parameter(s) to pass | +|Result|Collection |<-|Sorted copy of the collection (shallow copy)| +
    + #### Descripción @@ -2473,12 +2505,13 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0) -| Parámetros | Tipo | | Descripción | -| ---------- | ---- |:--:| ---------------------------------------------------------- | -| Resultado | any | <- | Último elemento de la colección| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any |<-|Last element of collection| +
    + #### Descripción @@ -2524,13 +2557,14 @@ Cuando se aplica a una colección vacía, `.pop()` devuelve ***undefined***. -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| --------------------------------------------------------------------------------- | -| element | Mixed | -> | Elemento(s) a añadir a la colección | -| Resultado | Collection | <- | Colección original que contiene los elementos añadidos| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|element|Mixed|->|Element(s) to add to the collection| +|Result|Collection |<-|Original collection containing added elements| +
    + #### Descripción @@ -2587,15 +2621,16 @@ Desea ordenar la colección resultante: -| Parámetros | Tipo | | Descripción | -| ------------- | ---------- |:--:| -------------------------------------------------------------------------------------- | -| queryString | Text | -> | Criterio de búsqueda | -| value | Mixed | -> | Valor(es) a comparar cuando se utiliza(n) marcador(es) de posición | -| querySettings | Object | -> | Opciones de búsqueda: parámetros, atributos | -| Resultado | Collection | <- | Elemento(s) que coincide(n) con queryString en la colección| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|queryString|Text|->|Search criteria| +|value|Mixed|->|Value(s) to compare when using placeholder(s)| +|querySettings|Object|->|Query options: parameters, attributes| +|Result|Collection |<-|Element(s) matching queryString in the collection| +
    + #### Descripción @@ -2701,16 +2736,17 @@ Se pueden encontrar más ejemplos de búsquedas en la página `dataClass.query() -| Parámetros | Tipo | | Descripción | -| ---------- | ----------------------------------------------- |:--:| ---------------------------------------------------------------------------------------- | -| formula | 4D.Function | -> | Objeto fórmula | -| methodName | Text | -> | Nombre de un método | -| initValue | Text, Number, Object, Collection, Date, Boolean | -> | Valor a utilizar como primer argumento de la primera llamada de *formula* o *methodName* | -| param | expresión | -> | Parámetro(s) a pasar | -| Resultado | Text, Number, Object, Collection, Date, Boolean | <- | Resultado del valor del acumulador| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *formula* or *methodName*| +|param |expression|->|Parameter(s) to pass| +|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +
    + #### Descripción @@ -2794,16 +2830,17 @@ Con el siguiente método ***Flatten***: -| Parámetros | Tipo | | Descripción | -| ---------- | ----------------------------------------------- |:--:| ---------------------------------------------------------------------------------------- | -| formula | 4D.Function | -> | Objeto fórmula | -| methodName | Text | -> | Nombre de un método | -| initValue | Text, Number, Object, Collection, Date, Boolean | -> | Valor a utilizar como primer argumento de la primera llamada de *formula* o *methodName* | -| param | expresión | -> | Parámetro(s) a pasar | -| Resultado | Text, Number, Object, Collection, Date, Boolean | <- | Resultado del valor del acumulador| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *formula* or *methodName*| +|param |expression|->|Parameter(s) to pass| +|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +
    + #### Descripción @@ -2890,14 +2927,15 @@ Con el siguiente método ***Flatten***: -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------------- | -| index | Integer | -> | Elemento en el que se inicia la eliminación | -| howMany | Integer | -> | Número de elementos a eliminar, o 1 elemento si se omite | -| Resultado | Collection | <- | Colección modificada sin elemento(s) eliminado(s)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|index |Integer|->|Element at which to start removal| +|howMany |Integer|->|Number of elements to remove, or 1 element if omitted| +|Result|Collection|<-|Modified collection without removed element(s)| +
    + #### Descripción @@ -2956,14 +2994,15 @@ Si se intenta eliminar un elemento de una colección vacía, el método no hace -| Parámetros | Tipo | | Descripción | -| ------------ | ----------------------------------------------- |:--:| ------------------------------------------------------------ | -| size | Integer | -> | Nuevo tamaño de la colección | -| defaultValue | Number, Text, Object, Collection, Date, Boolean | -> | Valor por defecto para llenar nuevos elementos | -| Resultado | Collection | <- | Colección original redimensionada| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|size |Integer|->|New size of the collection| +|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Default value to fill new elements| +|Result|Collection|<-|Resized original collection| +
    + #### Descripción @@ -3017,12 +3056,13 @@ Por defecto, los nuevos elementos se llenan con valores **null**. Puede especifi -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ---------------------------------------------------------- | -| Resultado | Collection | <- | Copia invertida de la colección| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|Collection|<-|Inverted copy of the collection| +
    + #### Descripción @@ -3060,12 +3100,13 @@ La función `.reverse()` devuelve una -| Parámetros | Tipo | | Descripción | -| ---------- | ---- |:--:| ---------------------------------------------------------- | -| Resultado | any | <- | Primer elemento de la colección| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|Result|any|<-|First element of collection| +
    + #### Descripción @@ -3110,14 +3151,15 @@ Si la colección está vacía, este método no hace nada. -| Parámetros | Tipo | | Descripción | -| ---------- | ---------- |:--:| ---------------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice de inicio (incluido) | -| end | Integer | -> | Índice final (no incluido) | -| Resultado | Collection | <- | Nueva colección que contiene elementos cortados (copia superficial)| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Start index (included)| +|end |Integer |->|End index (not included)| +|Result|Collection|<-|New collection containing sliced elements (shallow copy)| +
    + #### Descripción @@ -3166,16 +3208,17 @@ La colección devuelta contiene el elemento especificado por *startFrom* y todos -| Parámetros | Tipo | | Descripción | -| ---------- | ----------- |:--:| --------------------------------------------------------------------------------------- | -| startFrom | Integer | -> | Índice para iniciar la prueba en | -| formula | 4D.Function | -> | Objeto fórmula | -| methodName | Text | -> | Nombre de un método | -| param | Mixed | -> | Parámetro(s) a pasar | -| Resultado | Boolean | <- | True si al menos un elemento ha superado la prueba con éxito| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|startFrom |Integer |->|Index to start the test at| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|param |Mixed |->|Parameter(s) to pass| +|Result|Boolean|<-|True if at least one element successfully passed the test| +
    + #### Descripción @@ -3253,13 +3296,16 @@ Quiere saber si al menos un valor de la colección es >0. -| Parámetros | Tipo | | Descripción | -| ---------- | ----------- |:--:| ---------------------------------------------------- | -| ascOrDesc | Integer | -> | `ck ascending` o `ck descending` (valores escalares) | -| formula | 4D.Function | -> | Objeto fórmula | -| methodName | Text | -> | Nombre de un método | -| extraParam | any | -> | Parámetros del método | -| Resultado | Collection | <- | La nueva colección | +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| +|formula|4D.Function|->|Formula object| +|methodName|Text|->|Name of a method| +|extraParam |any |->|Parameter(s) for the method| +|Result|Collection|<-|Original collection sorted| +
    @@ -3349,13 +3395,14 @@ $col3:=$col.sort(Formula(String($1.value) -| Parámetros | Tipo | | Descripción | -| ------------ | ---- |:--:| ---------------------------------------------------------------- | -| propertyPath | Text | -> | Ruta de la propiedad del objeto que se utilizará para el cálculo | -| Resultado | Real | <- | Suma de los valores de la colección| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|propertyPath |Text |->|Object property path to be used for calculation| +|Result|Real|<-|Sum of collection values| +
    + #### Descripción @@ -3415,14 +3462,15 @@ Si la colección contiene objetos, pasa el parámetro *propertyPath* para indica -| Parámetros | Tipo | | Descripción | -| -------------------------- | -------------------------------------- |:--:| ------------------------------------------------- | -| value | Text, Number, Object, Collection, Date | -> | Valor(es) a insertar al principio de la colección | -| Resultado | Collection | <- | Colección que contiene los elementos añadidos | -| - +
    -| | | | +|Parameter|Type||Description| +|---------|--- |:---:|------| +|value |Text, Number, Object, Collection, Date |->|Value(s) to insert at the beginning of the collection| +|Result|Collection|<-|Collection containing added element(s) +| +
    + #### Descripción From a7b473d75e0cf228a349f7ed7a69d2cb6a78fe06 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 16:54:26 +0100 Subject: [PATCH 088/107] New translations functionclass.md (Spanish) --- .../version-20/API/FunctionClass.md | 62 ++++++++++--------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md b/i18n/es/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md index 0092bc92f53989..05882577527ab2 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20/API/FunctionClass.md @@ -128,13 +128,14 @@ Los parámetros se reciben en el método, en el orden en que se especifican en l -| Parámetros | Tipo | | Descripción | -| ---------- | ----------- |:--:| ------------------------------------------------------------------ | -| formulaExp | Expression | -> | Fórmula a devolver como objeto | -| Resultado | 4D.Function | <- | Función nativa que encapsula la fórmula| +
    - -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaExp|Expression|->|Formula to be returned as object| +|Result|4D.Function|<-|Native function encapsulating the formula| +
    + #### Descripción @@ -267,13 +268,14 @@ Llamar a una fórmula utilizando la notación de objetos: -| Parámetros | Tipo | | Descripción | -| ------------- | ----------- |:--:| ----------------------------------------------------------------- | -| formulaString | Text | -> | Fórmula texto a devolver como objeto | -| Resultado | 4D.Function | <- | Objeto nativo que encapsula la fórmula| - +
    -| +|Parameter|Type||Description| +|---------|--- |:---:|------| +|formulaString|Text|->|Text formula to be returned as object| +|Result|4D.Function|<-|Native object encapsulating the formula| +
    + #### Descripción @@ -326,14 +328,15 @@ El siguiente código creará un diálogo que acepta una fórmula en formato text -| Parámetros | Tipo | | Descripción | -| ------------- | ---------- |:--:| ----------------------------------------------------------------------------- | -| thisObj | Object | -> | Objeto a devolver por el comando This en la fórmula | -| formulaParams | Collection | -> | Colección de valores que se pasan como $1...$n cuando se ejecuta la `fórmula` | -| Resultado | any | <- | Valor de la ejecución de la fórmula| - - -| +
    + +|Parameter|Type||Description| +|---------|--- |:---:|------| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|formulaParams |Collection|->|Collection of values to be passed as $1...$n when `formula` is executed| +|Result|any|<-|Value from formula execution| +
    + #### Descripción @@ -396,18 +399,19 @@ Tenga en cuenta que `.apply()` es similar a [`.call()`](#call) excepto que los p -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any -| Parámetros | Tipo | | Descripción | -| ---------- | ------ | -- | ------------------------------------------------------------------ | -| thisObj | Object | -> | Objeto a devolver por el comando This en la fórmula | -| params | any | -> | Valor(es) que se pasa(n) como $1...$n cuando se ejecuta la fórmula | -| Resultado | any | <- | Valor de la ejecución de la fórmula| - - -| +
    + +|Parameter|Type||Description| +|---|---|---|---| +|thisObj|Object|->|Object to be returned by the This command in the formula| +|params |any|->|Value(s) to be passed as $1...$n when formula is executed| +|Result|any|<-|Value from formula execution| +
    + #### Descripción From 98937070392ba50a1671b3165ac544c5701a1f1e Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 17:10:41 +0100 Subject: [PATCH 089/107] New translations classclass.md (Spanish) --- .../es/docusaurus-plugin-content-docs/current/API/ClassClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e0897e5d3cd0f8..fc198ae4076a2d 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/ClassClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/ClassClass.md @@ -141,7 +141,7 @@ Esta propiedad es de **solo lectura**. -**.new**( { ...*param* : any } ) : 4D.Object +**.new**( { *...param* : any } ) : 4D.Object From da6db6dad0eec09c04945fd4a8366b7da18fec7d Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 17:10:48 +0100 Subject: [PATCH 090/107] New translations collectionclass.md (Spanish) --- .../current/API/CollectionClass.md | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/CollectionClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/CollectionClass.md index 7608ee6680c276..d64e6981829c33 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/CollectionClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/CollectionClass.md @@ -276,7 +276,7 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6] -**.concat**( *value* : any { ; ...*valueN* } ) : Collection +**.concat**( *value* : any { ; *...valueN* } ) : Collection @@ -928,7 +928,7 @@ En caso de incoherencia, se aplican las siguientes reglas: -**.filter**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
    **.filter**( *methodName* : Text { ; ...*param* : any } ) : Collection +**.filter**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.filter**( *methodName* : Text { ; *...param* : any } ) : Collection @@ -1017,7 +1017,7 @@ Quiere filtrar los elementos según su tipo de valor: -**.find**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : any
    **.find**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : any +**.find**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : any
    **.find**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : any @@ -1108,7 +1108,7 @@ $c2:=$c.find(Formula($1.value.name=$2); "Clanton") //$c2={name:Clanton,zc:35046 -**.findIndex**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : Integer
    **.findIndex**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : Integer +**.findIndex**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : Integer
    **.findIndex**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : Integer @@ -1291,7 +1291,7 @@ $col.flat(MAXLONG) -**.flatMap**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
    **.flatMap**( *methodName* : Text { ; ...*param* : any } ) : Collection +**.flatMap**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.flatMap**( *methodName* : Text { ; *...param* : any } ) : Collection @@ -1513,7 +1513,7 @@ Diferente de Si *startFrom* < 0, se considera el desplazamiento desde el final d -**.indices**( *queryString* : Text { ; ...*value* : any } ) : Collection +**.indices**( *queryString* : Text { ; *...value* : any } ) : Collection @@ -1806,7 +1806,7 @@ Tipo -**.map**( *formula* : 4D.Function { ; ...*param* : any } ) : Collection
    **.map**( *methodName* : Text { ; ...*param* : any } ) : Collection +**.map**( *formula* : 4D.Function { ; *...param* : any } ) : Collection
    **.map**( *methodName* : Text { ; *...param* : any } ) : Collection @@ -2258,7 +2258,7 @@ Ordenar con una ruta de propiedad: -**.orderByMethod**( *formula* : 4D.Function { ; ...*extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; ...*extraParam* : expression } ) : Collection +**.orderByMethod**( *formula* : 4D.Function { ; *...extraParam* : expression } ) : Collection
    **.orderByMethod**( *methodName* : Text { ; *...extraParam* : expression } ) : Collection @@ -2464,7 +2464,7 @@ Desea ordenar la colección resultante: -**.query**( *queryString* : Text ) : Collection
    **.query**( *queryString* : Text ; ...*value* : any ) : Collection
    **.query**( *queryString* : Text ; *querySettings* : Object ) : Collection +**.query**( *queryString* : Text ) : Collection
    **.query**( *queryString* : Text ; *...value* : any ) : Collection
    **.query**( *queryString* : Text ; *querySettings* : Object ) : Collection @@ -2745,7 +2745,7 @@ Descripción Descripción Sin embargo, ten en cuenta que las fórmulas no están -**.reduce**( *formula* : 4D.Function { ; *initValue* : any { ; ...*param* : expression }} ) : any
    **.reduce**( *methodName* : Text { ; *initValue* : any { ; ...*param* : expression }} ) : any +**.reduce**( *formula* : 4D.Function { ; *initValue* : any { ; *...param* : expression }} ) : any
    **.reduce**( *methodName* : Text { ; *initValue* : any { ; *...param* : expression }} ) : any @@ -2833,7 +2833,7 @@ Con el siguiente método ***Flatten***: -**.reduceRight**( *formula* : 4D.Function { ; *initValue* : any { ; ...*param* : expression }} ) : any
    **.reduceRight**( *methodName* : Text { ; *initValue* : any { ; ...*param* : expression }} ) : any +**.reduceRight**( *formula* : 4D.Function { ; *initValue* : any { ; *...param* : expression }} ) : any
    **.reduceRight**( *methodName* : Text { ; *initValue* : any { ; *...param* : expression }} ) : any @@ -3173,7 +3173,7 @@ La colección devuelta contiene el elemento especificado por *startFrom* y todos -**.some**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; ...*param* : any } ) : Boolean
    **.some**( { *startFrom* : Integer ; } *methodName* : Text { ; ...*param* : any } ) : Boolean +**.some**( { *startFrom* : Integer ; } *formula* : 4D.Function { ; *...param* : any } ) : Boolean
    **.some**( { *startFrom* : Integer ; } *methodName* : Text { ; *...param* : any } ) : Boolean @@ -3256,7 +3256,7 @@ Soporte de fórmula -**.sort**() : Collection
    **.sort**( *ascOrDesc* : Integer ) : Collection
    **.sort**( *formula* : 4D.Function { ; ...*extraParam* : any } ) : Collection
    **.sort**( *methodName* : Text { ; ...*extraParam* : any } ) : Collection +**.sort**() : Collection
    **.sort**( *ascOrDesc* : Integer ) : Collection
    **.sort**( *formula* : 4D.Function { ; *...extraParam* : any } ) : Collection
    **.sort**( *methodName* : Text { ; *...extraParam* : any } ) : Collection From 0d89ffb3394faf6f487847bbcdf5c69bb61dc878 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 17:10:55 +0100 Subject: [PATCH 091/107] New translations dataclassclass.md (Spanish) --- .../current/API/DataClassClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/DataClassClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/DataClassClass.md index 02cae8ec7fc0f3..00dfb8690a42d6 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/DataClassClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/DataClassClass.md @@ -902,7 +902,7 @@ Cuando se crea, la selección de entidades no contiene ninguna entidad (`mySelec -**.query**( *queryString* : Text { ; ...*value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection +**.query**( *queryString* : Text { ; *...value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection From 7f355096b6367df2bbf97c8e141cfed9e6974b3b Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 17:11:12 +0100 Subject: [PATCH 092/107] New translations entityselectionclass.md (Spanish) --- .../current/API/EntitySelectionClass.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md index 175089e7a1b3b0..2d4046b307ec9a 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/EntitySelectionClass.md @@ -897,7 +897,7 @@ Ejemplo con la opción `dk stop dropping on first error`: -**.extract**( *attributePath* : Text { ; *option* : Integer } ) : Collection
    **.extract**( ...*attributePath* : Text ; ...*targetPath* : Text ) : Collection +**.extract**( *attributePath* : Text { ; *option* : Integer } ) : Collection
    **.extract**( *...attributePath* : Text ; *...targetPath* : Text ) : Collection @@ -1823,7 +1823,7 @@ En este ejemplo, el campo objeto "marks" de la dataClass **Students** contiene l -**.query**( *queryString* : Text { ; ...*value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection +**.query**( *queryString* : Text { ; *...value* : any } { ; *querySettings* : Object } ) : 4D.EntitySelection
    **.query**( *formula* : Object { ; *querySettings* : Object } ) : 4D.EntitySelection From 2898ad7ee8d37cf1a8bca26b5d59f820c07382ea Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 17:11:20 +0100 Subject: [PATCH 093/107] New translations functionclass.md (Spanish) --- .../docusaurus-plugin-content-docs/current/API/FunctionClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/FunctionClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/FunctionClass.md index bae70d403a38cd..978217c85461e0 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/FunctionClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/FunctionClass.md @@ -171,7 +171,7 @@ Tenga en cuenta que `.apply()` es similar a [`.call()`](#call) excepto que los p -**.call**() : any
    **.call**( *thisObj* : Object { ; ...*params* : any } ) : any +**.call**() : any
    **.call**( *thisObj* : Object { ; *...params* : any } ) : any From b7441dbff1b63f1608972fb3a14b0b26fb40498d Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 17:26:46 +0100 Subject: [PATCH 094/107] New translations wp-get-attributes.md (Spanish) --- .../current/WritePro/commands/wp-get-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md index e35ca54ee8a264..c310d7662e7340 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/WritePro/commands/wp-get-attributes.md @@ -4,7 +4,7 @@ title: WP Get attributes displayed_sidebar: docs --- -**WP Get attributes** ( *targetObj* : Object ; ...*attribName* : Text ; ...*attribValue* : any ) : Object
    **WP Get attributes** ( *targetObj* : Object ; *attribColl* : Collection ) : Object +**WP Get attributes** ( *targetObj* : Object ; *...attribName* : Text ; *...attribValue* : any ) : Object
    **WP Get attributes** ( *targetObj* : Object ; *attribColl* : Collection ) : Object From c07c4883639a6b7f629461e5c93656e53b23dc77 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 21:46:41 +0100 Subject: [PATCH 095/107] New translations webformclass.md (Spanish) --- .../docusaurus-plugin-content-docs/current/API/WebFormClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/API/WebFormClass.md b/i18n/es/docusaurus-plugin-content-docs/current/API/WebFormClass.md index b27c96f920d80d..039d5feef0a5ad 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/WebFormClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/WebFormClass.md @@ -50,7 +50,7 @@ shared singleton Class constructor() :::info -While `myForm` may not display typical object properties when examined in the debugger, it behaves as if it were the actual `webForm` object. Puede interactuar con las propiedades y funciones del objeto `webForm` subyacente a través de `myForm`. For example, you can dynamically manipulate page components or transmit messages to web pages using specialized functions like `myForm.setMessage()`. +While `myForm` may not display typical object properties when examined in the debugger, it behaves as if it were the actual `webForm` object. Puede interactuar con las propiedades y funciones del objeto `webForm` subyacente a través de `myForm`. Por ejemplo, puede manipular dinámicamente los componentes de la página o transmitir mensajes a las páginas web utilizando funciones especializadas como `myForm.setMessage()`. ::: From ff17f265d1e9c382e6e11aa6280d221cb9dcd5f4 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 21:47:07 +0100 Subject: [PATCH 096/107] New translations webformclass.md (Spanish) --- .../version-21-R2/API/WebFormClass.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/API/WebFormClass.md b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/API/WebFormClass.md index 76e8473bc7608d..c6bd6aafca19f3 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21-R2/API/WebFormClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21-R2/API/WebFormClass.md @@ -50,7 +50,7 @@ shared singleton Class constructor() :::info -While `myForm` may not display typical object properties when examined in the debugger, it behaves as if it were the actual `webForm` object. Puede interactuar con las propiedades y funciones del objeto `webForm` subyacente a través de `myForm`. For example, you can dynamically manipulate page components or transmit messages to web pages using specialized functions like `myForm.setMessage()`. +While `myForm` may not display typical object properties when examined in the debugger, it behaves as if it were the actual `webForm` object. Puede interactuar con las propiedades y funciones del objeto `webForm` subyacente a través de `myForm`. Por ejemplo, puede manipular dinámicamente los componentes de la página o transmitir mensajes a las páginas web utilizando funciones especializadas como `myForm.setMessage()`. ::: From 6dca9be46aaf7421898238417a5c8ef781a2e2f0 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 21:48:02 +0100 Subject: [PATCH 097/107] New translations collectionclass.md (French) --- .../version-19/API/CollectionClass.md | 306 +++++++++--------- 1 file changed, 153 insertions(+), 153 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md index e2c506aaf9ba32..fb9852514b0a45 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-19/API/CollectionClass.md @@ -72,10 +72,10 @@ Une collection est initialisée avec :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Collection's value(s)| -|Result|Collection|<-|The new collection| +|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Valeur(s) de la collection| +|Résultat|Collection|<-|The new collection|
    @@ -155,10 +155,10 @@ Vous souhaitez créer une nouvelle collection puis ajouter un élément :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Shared collection's value(s)| -|Result|Collection|<-|The new shared collection| +|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Valeur(s) de la collection partagée| +|Résultat|Collection|<-|The new shared collection|
    @@ -218,10 +218,10 @@ Vous pouvez passer tout nombre de valeurs de n'importe quel type pris en charge
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|propertyPath|Text|->|Object property path to be used for calculation| -|Result|Real, Undefined|<-|Arithmetic mean (average) of collection values| +|propertyPath|Text|->|Chemin de propriété d'objet à utiliser pour évaluer les valeurs| +|Résultat|Real, Undefined|<-|Arithmetic mean (average) of collection values|
    @@ -277,9 +277,9 @@ Si la collection contient des objets, passez le paramètre *propertyPath* si vou
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Collection|<-|Original collection with all elements removed| +|Résultat|Collection|<-|Original collection with all elements removed|
    @@ -316,11 +316,11 @@ $vSize:=$col.length //$vSize=0
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|col2|Collection|->|Collection to combine| -|index|Integer|->|Position to which insert elements to combine in collection (default=length+1)| -|Result|Collection|<-|Original collection containing combined element(s)| +|col2|Collection|->|Collection à combiner| +|index|Integer|->|Emplacement où insérer les éléments à combiner (défaut=length+1)| +|Résultat|Collection|<-|Original collection containing combined element(s)|
    @@ -365,10 +365,10 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6]
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|value|any|->|Value(s) to concatenate. If *value* is a collection, all collection elements are added to the original collection| -|Result|Collection|<-|New collection with value(s) added to the original collection| +|value|any|->|Valeur(s) à concaténer. Si *value* est une collection, tous ses éléments sont ajoutés comme de nouveaux éléments à la fin de la collection d'origine| +|Résultat|Collection|<-|New collection with value(s) added to the original collection|
    @@ -410,12 +410,12 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8]
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|option|Integer|->|`ck resolve pointers`: resolve pointers before copying,
    `ck shared`: return a shared collection| -|groupWithCol |Collection|->|Shared collection to be grouped with the resulting collection| -|groupWithObj |Object|->|Shared object to be grouped with the resulting collection| -|Result|Collection|<-|Deep copy of the original collection| +|option|Integer|->|`ck resolve pointers`: résoudre les pointeurs avant la copie,
    `ck shared`: retourner une collection partagée| +|groupWithCol |Collection|->|Collection partagée à grouper avec la collection résultante| +|groupWithObj |Object|->|Objet partagé à grouper avec la collection résultante| +|Résultat|Collection|<-|Deep copy of the original collection|
    @@ -539,10 +539,10 @@ Cet exemple illustre l'utilisation de l'option `ck resolve pointers` :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|propertyPath|Text|->|Object property path to be used for calculation| -|Result|Real|<-|Number of elements in the collection| +|propertyPath|Text|->|Chemin de propriété d'objet à utiliser pour évaluer les valeurs| +|Résultat|Real|<-|Number of elements in the collection|
    @@ -586,11 +586,11 @@ Si la collection contient des objets, vous pouvez passer le paramètre *property
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|value|Text, Number, Boolean, Date, Object, Collection|->|Value to count| -|propertyPath|Text|->|Object property path to be used for calculation| -|Result|Real|<-|Number of occurrences of the value | +|value|Text, Number, Boolean, Date, Object, Collection|->|Valeur à compter| +|propertyPath|Text|->|Chemin de propriété d'objet à utiliser pour évaluer les valeurs| +|Résultat|Real|<-|Number of occurrences of the value |
    @@ -662,11 +662,11 @@ Le paramètre optionnel *propertyPath* vous permet de compter des valeurs à l'i
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example)| -|propertyPath|Text|->|Path of attribute whose distinct values you want to get| -|Result|Collection|<-|New collection with only distinct values| +|option|Integer|->|`ck diacritical`: évaluation diacritique ("A" # "a" par exemple)| +|propertyPath|Text|->|Chemin de l'attribut dont vous souhaitez obtenir les valeurs distinctes| +|Résultat|Collection|<-|New collection with only distinct values|
    @@ -714,11 +714,11 @@ Si la collection contient des objets, vous pouvez passer le paramètre *property
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|collection2|Collection|->|Collection to compare| -|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example) -|Result|Boolean|<-|True if collections are identical, false otherwise| +|collection2|Collection|->|Collection à comparer| +|option|Integer|->|`ck diacritical`: évaluation diacritique ("A" # "a" par exemple) +|Résultat|Boolean|<-|True if collections are identical, false otherwise|
    @@ -777,12 +777,12 @@ Par défaut, une évaluation non diacritique est effectuée. Si vous souhaitez q
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|startFrom|Integer|->|Index to start the test at| -|methodName|Text|->|Name of the method to call for the test| -|param|Mixed|->|Parameter(s) to pass to methodName| -|Result|Boolean|<-|True if all elements successfully passed the test| +|startFrom|Integer|->|Elément à partir duquel débuter l'évaluation| +|methodName|Text|->|Nom de la méthode à appeler pour l'évaluation| +|param|Mixed|->|Paramètre(s) à passer à methodName| +|Résultat|Boolean|<-|True if all elements successfully passed the test|
    @@ -874,10 +874,10 @@ End if |Parameter|Type||Description| |---------|--- |:---:|------| -|propertyPath|Text|->|Object property path whose values must be extracted to the new collection| -|targetpath|Text|->|Target property path or property name| -|option|Integer|->|`ck keep null`: include null properties in the returned collection (ignored by default). Parameter ignored if *targetPath* passed.| -|Result|Collection|<-|New collection containing extracted values| +|propertyPath|Text|->|Chemin de propriété d'objet dont les valeurs doivent être extraites dans la nouvelle collection| +|targetpath|Text|->|Chemin ou nom de propriété cible| +|option|Integer|->|`ck keep null`: inclure les propriétés null dans la collection retournée (ignorées par défaut). Paramètre ignoré si *targetPath* est passé.| +|Résultat|Collection|<-|New collection containing extracted values| @@ -942,12 +942,12 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|value|number, Text, Collection, Object, Date, Boolean|->|Filling value| -|startFrom|Integer|->|Start index (included)| -|end|Integer|->|End index (not included)| -|Result|collection|<-|Original collection with filled values| +|value|number, Text, Collection, Object, Date, Boolean|->|Valeur de remplissage| +|startFrom|Integer|->|Indice l'élément de départ (inclus)| +|end|Integer|->|Indice de fin (non inclus)| +|Résultat|collection|<-|Original collection with filled values|
    @@ -996,11 +996,11 @@ En cas d'incohérence, les règles suivantes sont appliquées :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|methodName|Text|->|Name of the function to call to filter the collection| -|param|Mixed|->|Parameter(s) to pass to *methodName*| -|Result|Collection|<-|New collection containing filtered elements (shallow copy)| +|methodName|Text|->|Nom de la méthode à appeler pour filtrer la collection| +|param|Mixed|->|Paramètre(s) à passer à *methodName*| +|Résultat|Collection|<-|New collection containing filtered elements (shallow copy)|
    @@ -1088,12 +1088,12 @@ Le code de ***TypeLookUp*** est :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|startFrom|Integer|->|Index to start the search at| -|methodName|Text|->|Name of the function to call for the find| -|param|any|->|Parameter(s) to pass to *methodName*| -|Result|any |<-|First value found, or Undefined if not found| +|startFrom|Integer|->|Indice d'élément à partir duquel débuter la recherche| +|methodName|Text|->|Nom de la méthode à appeler pour la recherche| +|param|any|->|Paramètre(s) à passer à *methodName*| +|Résultat|any |<-|First value found, or Undefined if not found|
    @@ -1184,12 +1184,12 @@ Le code de la méthode ***FindCity*** est :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|startFrom|Integer|->|Index to start the search at| -|methodName|Text|->|Name of the function to call for the find| -|param|any|->|Parameter(s) to pass to *methodName*| -|Result|Integer |<-|Index of first value found, or -1 if not found| +|startFrom|Integer|->|Indice d'élément à partir duquel débuter la recherche| +|methodName|Text|->|Nom de la méthode à appeler pour la recherche| +|param|any|->|Paramètre(s) à passer à *methodName*| +|Résultat|Integer |<-|Index of first value found, or -1 if not found|
    @@ -1261,11 +1261,11 @@ Le code de la méthode ***FindCity*** est :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|toSearch|expression|->|Expression to search in the collection| -|startFrom|Integer|->|Index to start the search at| -|Result|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found| +|toSearch|expression|->|Expression à rechercher dans la collection| +|startFrom|Integer|->|Indice d'élément à partir duquel débuter la recherche| +|Résultat|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found|
    @@ -1319,11 +1319,11 @@ Optionnellement, vous pouvez passer le numéro de l'élément auquel démarrer l
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|queryString|Text|->|Search criteria| -|value|any|->|Value(s) to compare when using placeholder(s)| -|Result|Collection |<-|Element index(es) matching queryString in the collection| +|queryString|Text|->|Critère(s) de recherche| +|value|any|->|Valeur(s) à comparer lors de l'utilisation de paramètre(s) dans la chaîne| +|Résultat|Collection |<-|Element index(es) matching queryString in the collection|
    @@ -1374,11 +1374,11 @@ Pour une description détaillée de la construction de recherches à l'aide des
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|index|Integer|->|Where to insert the element| -|element|any|->|Element to insert in the collection| -|Result|Collection |<-|Original collection containing inserted element| +|index|Integer|->|Où insérer l'élément| +|element|any|->|Elément à insérer dans la collection| +|Résultat|Collection |<-|Original collection containing inserted element|
    @@ -1425,17 +1425,17 @@ Vous pouvez passer tout type d'élément accepté par les collections, y compris
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|delimiter|Text|->|Separator to use between elements| -|option|Integer|->|`ck ignore null or empty`: ignore null and empty strings in the result| -|Result|Text |<-|String containing all elements of the collection, separated by delimiter| +|delimiter|Text|->|Séparateur à utiliser entre les éléments| +|option|Integer|->|`ck ignore null or empty`: ignorer les chaînes null ou vides dans le résultat| +|Résultat|Text |<-|String containing all elements of the collection, separated by delimiter|
    #### Description -La fonction `.concat()` retourne une nouvelle collection avec le contenu du paramètre *value* ajouté à la fin de la collection d'origine. La fonction retourne la chaîne résultante. +La fonction `.join()` retourne une nouvelle collection avec le contenu du paramètre *value* ajouté à la fin de la collection d'origine. La fonction retourne la chaîne résultante. > Cette fonction ne modifie pas la collection d'origine. Par défaut, les éléments null ou vides de la collection sont inclus dans la chaîne résultante. Passez la constante `ck ignore null or empty` dans le paramètre *option* si vous souhaitez les exclure de la chaîne résultante. @@ -1469,11 +1469,11 @@ Par défaut, les éléments null ou vides de la collection sont inclus dans la c
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|toSearch|expression|->|The element that is to be searched for within the collection| -|startFrom|Integer|->|Index to start the search at| -|Result|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found| +|toSearch|expression|->|Elément à chercher dans la collection| +|startFrom|Integer|->|Indice d'élément à partir duquel débuter la recherche| +|Résultat|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found|
    @@ -1558,11 +1558,11 @@ La propriété `.length` est initialisée à la création de la collection. Elle
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|methodName|Text|->|Name of method used to transform the collection elements| -|param|any|->|Parameter(s) for the method| -|Result|Collection |<-|Collection of transformed values| +|methodName|Text|->|Nom de la méthode à appeler pour transformer les éléments de la collection| +|param|any|->|Paramètre(s) à passer à la méthode| +|Résultat|Collection |<-|Collection of transformed values|
    @@ -1620,10 +1620,10 @@ Voici la méthode ***Percentage*** :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|propertyPath|Text|->|Object property path to be used for evaluation| -|Result|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection| +|propertyPath|Text|->|Chemin de propriété d'objet à utiliser pour évaluer les valeurs| +|Résultat|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection|
    @@ -1670,10 +1670,10 @@ Si la collection est vide, `.max()` retourne *Undefined*.
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|propertyPath|Text|->|Object property path to be used for evaluation| -|Result|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection| +|propertyPath|Text|->|Chemin de propriété d'objet à utiliser pour évaluer les valeurs| +|Résultat|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection|
    @@ -1720,12 +1720,12 @@ Si la collection est vide, `.min()` retourne *Undefined*.
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|pathStrings|Text|->|Property path(s) on which to order the collection| -|pathObjects|Collection|->|Collection of criteria objects| -|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| -|Result|Collection |<-|Ordered copy of the collection (shallow copy)| +|pathStrings|Text|->|Chemin(s) de propriété(s) à utiliser pour trier la collection| +|pathObjects|Collection|->|Collection d'objets critère| +|ascOrDesc|Integer|->|`ck ascending` ou `ck descending` (valeurs scalaires)| +|Résultat|Collection |<-|Ordered copy of the collection (shallow copy)|
    @@ -1857,11 +1857,11 @@ Tri avec un chemin de propriété :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|methodName|Text|->|Name of method used to specify the sorting order| -|extraParam|expression|->|Parameter(s) for the method | -|Result|Collection |<-|Sorted copy of the collection (shallow copy)| +|methodName|Text|->|Nom de la méthode utilisée pour trier la collection| +|extraParam|expression|->|Paramètre(s) à passer à la méthode | +|Résultat|Collection |<-|Sorted copy of the collection (shallow copy)|
    @@ -1962,9 +1962,9 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0)
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|Result|any |<-|Last element of collection| +|Résultat|any |<-|Last element of collection|
    @@ -2008,10 +2008,10 @@ Lorsqu'elle est appliquée à une collection vide, .`pop()` retourne ***undefine
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|element|Mixed|->|Element(s) to add to the collection| -|Result|Collection |<-|Original collection containing added elements| +|element|Mixed|->|Élément(s) à ajouter à la collection| +|Résultat|Collection |<-|Original collection containing added elements|
    @@ -2064,12 +2064,12 @@ Vous souhaitez trier la collection résultante :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|queryString|Text|->|Search criteria| -|value|Mixed|->|Value(s) to compare when using placeholder(s)| -|querySettings|Object|->|Query options: parameters, attributes| -|Result|Collection |<-|Element(s) matching queryString in the collection| +|queryString|Text|->|Critère(s) de recherche| +|value|Mixed|->|Valeur(s) à comparer lors de l'utilisation de paramètre(s) dans la chaîne| +|querySettings|Object|->|Options de recherche : paramètres, attributs| +|Résultat|Collection |<-|Element(s) matching queryString in the collection|
    @@ -2167,12 +2167,12 @@ Vous trouverez plus d'exemples de requêtes dans la page `dataClass.query()`.
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|methodName |Text|->|Name of the function to call to process collection elements| -|initValue |Text, Number, Object, Collection, Date, Boolean|->|Value to use as the first argument to the first call of *methodName*| -|param |expression|->|Parameter(s) to pass to *methodName*| -|Result|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value| +|methodName |Text|->|Nom de la fonction à appeler pour traiter les éléments de collection| +|initValue |Text, Number, Object, Collection, Date, Boolean|->|Valeur à utiliser comme premier argument du premier appel de *methodName*| +|param |expression|->|Paramètre(s) à passer à *methodName*| +|Résultat|Text, Number, Object, Collection, Date, Boolean |<-|Result of the accumulator value|
    @@ -2254,11 +2254,11 @@ Avec la méthode ***Flatten*** suivante :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|index |Integer|->|Element at which to start removal| -|howMany |Integer|->|Number of elements to remove, or 1 element if omitted| -|Result|Collection|<-|Original collection without removed element(s)| +|index |Integer|->|Élément à partir duquel la suppression peut commencer| +|howMany |Integer|->|Nombre d'éléments à supprimer, ou 1 élément si omis| +|Résultat|Collection|<-|Original collection without removed element(s)|
    @@ -2308,11 +2308,11 @@ Si vous essayez de supprimer un élément d'une collection vide, la méthode ne
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|size |Integer|->|New size of the collection| -|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Default value to fill new elements| -|Result|Collection|<-|Resized original collection| +|size |Integer|->|Nouvelle taille de la collection| +|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Valeur par défaut pour remplir de nouveaux éléments| +|Résultat|Collection|<-|Resized original collection|
    @@ -2365,9 +2365,9 @@ Par défaut, les nouveaux éléments sont remplis par des valeurs **null**. Vous
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Collection|<-|Inverted copy of the collection| +|Résultat|Collection|<-|Inverted copy of the collection|
    @@ -2403,9 +2403,9 @@ La fonction `.reverse()` retourne une
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|Result|any|<-|First element of collection| +|Résultat|any|<-|First element of collection|
    @@ -2446,11 +2446,11 @@ Si la collection est vide, cette méthode ne fait rien.
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|startFrom |Integer |->|Start index (included)| -|end |Integer |->|End index (not included)| -|Result|Collection|<-|New collection containing sliced elements (shallow copy)| +|startFrom |Integer |->|Indice l'élément de départ (inclus)| +|end |Integer |->|Indice de fin (non inclus)| +|Résultat|Collection|<-|New collection containing sliced elements (shallow copy)|
    @@ -2496,12 +2496,12 @@ La collection retournée contient l'élément spécifié par *startFrom* et tous
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|startFrom |Integer |->|Index to start the test at| -|methodName |Text |->|Name of the method to call for the test| -|param |Mixed |->|Parameter(s) to pass to *methodName*| -|Result|Boolean|<-|True if at least one element successfully passed the test| +|startFrom |Integer |->|Elément à partir duquel débuter l'évaluation| +|methodName |Text |->|Nom de la méthode à appeler pour l'évaluation| +|param |Mixed |->|Paramètre(s) à passer à *methodName*| +|Résultat|Boolean|<-|True if at least one element successfully passed the test|
    @@ -2573,12 +2573,12 @@ Avec la méthode *NumberGreaterThan0* suivante :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| -|methodName |Text |->|Name of method used to specify the sorting order| -|extraParam |any |->|Parameter(s) for the method| -|Result|Collection|<-|Original collection sorted| +|ascOrDesc|Integer|->|`ck ascending` ou `ck descending` (valeurs scalaires)| +|methodName |Text |->|Nom de la méthode utilisée pour trier la collection| +|extraParam |any |->|Paramètre(s) à passer à la méthode| +|Résultat|Collection|<-|Original collection sorted|
    @@ -2669,10 +2669,10 @@ Si vous souhaitez trier les éléments de la collection dans un autre ordre ou t
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|propertyPath |Text |->|Object property path to be used for calculation| -|Result|Real|<-|Sum of collection values| +|propertyPath |Text |->|Chemin de propriété d'objet à utiliser pour évaluer les valeurs| +|Résultat|Real|<-|Sum of collection values|
    @@ -2731,10 +2731,10 @@ Si la collection contient des objets, passez le paramètre *propertyPath* si vou
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|value |Text, Number, Object, Collection, Date |->|Value(s) to insert at the beginning of the collection| -|Result|Collection|<-|Collection containing added element(s) +|value |Text, Number, Object, Collection, Date |->|Valeur(s) à insérer au début de la collection| +|Résultat|Collection|<-|Collection containing added element(s) |
    From 0c3cd0ac58f4c05289fc21582157e0b81664736f Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 21:48:05 +0100 Subject: [PATCH 098/107] New translations collectionclass.md (French) --- .../version-20/API/CollectionClass.md | 222 +++++++++--------- 1 file changed, 111 insertions(+), 111 deletions(-) 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 d8aefc02f4d5ad..9f40d5b93846b9 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 @@ -85,10 +85,10 @@ Une collection est initialisée avec :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Collection's value(s)| -|Result|Collection|<-|The new collection| +|value|Number, Text, Date, Time, Boolean, Object, Collection, Picture, Pointer|->|Valeur(s) de la collection| +|Résultat|Collection|<-|The new collection|
    @@ -174,10 +174,10 @@ Vous souhaitez créer une nouvelle collection puis ajouter un élément :
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Shared collection's value(s)| -|Result|Collection|<-|The new shared collection| +|value|Number, Text, Date, Time, Boolean, Object, Collection|->|Valeur(s) de la collection partagée| +|Résultat|Collection|<-|The new shared collection|
    @@ -300,10 +300,10 @@ $element:=$col.at(10) // undefined
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|propertyPath|Text|->|Object property path to be used for calculation| -|Result|Real, Undefined|<-|Arithmetic mean (average) of collection values| +|propertyPath|Text|->|Chemin de propriété d'objet à utiliser pour évaluer les valeurs| +|Résultat|Real, Undefined|<-|Arithmetic mean (average) of collection values|
    @@ -366,9 +366,9 @@ Si la collection contient des objets, passez le paramètre *propertyPath* si vou
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Collection|<-|Original collection with all elements removed| +|Résultat|Collection|<-|Original collection with all elements removed|
    @@ -410,11 +410,11 @@ $vSize:=$col.length //$vSize=0
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|col2|Collection|->|Collection to combine| -|index|Integer|->|Position to which insert elements to combine in collection (default=length+1)| -|Result|Collection|<-|Original collection containing combined element(s)| +|col2|Collection|->|Collection à combiner| +|index|Integer|->|Emplacement où insérer les éléments à combiner (défaut=length+1)| +|Résultat|Collection|<-|Original collection containing combined element(s)|
    @@ -464,10 +464,10 @@ $c.combine($fruits;3) //[1,2,3,"Orange","Banana","Apple","Grape",4,5,6]
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|value|any|->|Value(s) to concatenate. If *value* is a collection, all collection elements are added to the original collection| -|Result|Collection|<-|New collection with value(s) added to the original collection| +|value|any|->|Valeur(s) à concaténer. Si *value* est une collection, tous ses éléments sont ajoutés comme de nouveaux éléments à la fin de la collection d'origine| +|Résultat|Collection|<-|New collection with value(s) added to the original collection|
    @@ -514,12 +514,12 @@ $c2:=$c.concat(6;7;8) //[1,2,3,4,5,6,7,8]
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|option|Integer|->|`ck resolve pointers`: resolve pointers before copying,
    `ck shared`: return a shared collection| -|groupWithCol |Collection|->|Shared collection to be grouped with the resulting collection| -|groupWithObj |Object|->|Shared object to be grouped with the resulting collection| -|Result|Collection|<-|Deep copy of the original collection| +|option|Integer|->|`ck resolve pointers`: résoudre les pointeurs avant la copie,
    `ck shared`: retourner une collection partagée| +|groupWithCol |Collection|->|Collection partagée à grouper avec la collection résultante| +|groupWithObj |Object|->|Objet partagé à grouper avec la collection résultante| +|Résultat|Collection|<-|Deep copy of the original collection|
    @@ -648,10 +648,10 @@ Cet exemple illustre l'utilisation de l'option `ck resolve pointers` :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|propertyPath|Text|->|Object property path to be used for calculation| -|Result|Real|<-|Number of elements in the collection| +|propertyPath|Text|->|Chemin de propriété d'objet à utiliser pour évaluer les valeurs| +|Résultat|Real|<-|Number of elements in the collection|
    @@ -700,11 +700,11 @@ Si la collection contient des objets, vous pouvez passer le paramètre *property
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|value|Text, Number, Boolean, Date, Object, Collection|->|Value to count| -|propertyPath|Text|->|Object property path to be used for calculation| -|Result|Real|<-|Number of occurrences of the value | +|value|Text, Number, Boolean, Date, Object, Collection|->|Valeur à compter| +|propertyPath|Text|->|Chemin de propriété d'objet à utiliser pour évaluer les valeurs| +|Résultat|Real|<-|Number of occurrences of the value |
    @@ -851,11 +851,11 @@ Dans le paramètre *options*, vous pouvez passer une ou une combinaison des cons
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|collection2|Collection|->|Collection to compare| -|option|Integer|->|`ck diacritical`: diacritical evaluation ("A" # "a" for example) -|Result|Boolean|<-|True if collections are identical, false otherwise| +|collection2|Collection|->|Collection à comparer| +|option|Integer|->|`ck diacritical`: évaluation diacritique ("A" # "a" par exemple) +|Résultat|Boolean|<-|True if collections are identical, false otherwise|
    @@ -1020,10 +1020,10 @@ $b:=$c.every($f;Is real) //$b=false |Parameter|Type||Description| |---------|--- |:---:|------| -|propertyPath|Text|->|Object property path whose values must be extracted to the new collection| -|targetpath|Text|->|Target property path or property name| -|option|Integer|->|`ck keep null`: include null properties in the returned collection (ignored by default). Parameter ignored if *targetPath* passed.| -|Result|Collection|<-|New collection containing extracted values| +|propertyPath|Text|->|Chemin de propriété d'objet dont les valeurs doivent être extraites dans la nouvelle collection| +|targetpath|Text|->|Chemin ou nom de propriété cible| +|option|Integer|->|`ck keep null`: inclure les propriétés null dans la collection retournée (ignorées par défaut). Paramètre ignoré si *targetPath* est passé.| +|Résultat|Collection|<-|New collection containing extracted values| @@ -1098,12 +1098,12 @@ $c2:=$c.extract("name";"City";"zc";"Zip") //$c2=[{Zip:35060},{City:null,Zip:3504
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|value|number, Text, Collection, Object, Date, Boolean|->|Filling value| -|startFrom|Integer|->|Start index (included)| -|end|Integer|->|End index (not included)| -|Result|collection|<-|Original collection with filled values| +|value|number, Text, Collection, Object, Date, Boolean|->|Valeur de remplissage| +|startFrom|Integer|->|Indice l'élément de départ (inclus)| +|end|Integer|->|Indice de fin (non inclus)| +|Résultat|collection|<-|Original collection with filled values|
    @@ -1422,9 +1422,9 @@ $val3:=$c.findIndex($val2+1;Formula($1.value.name=$2);"Clanton") //$val3=4
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|Result|any|<-|First element of collection| +|Résultat|any|<-|First element of collection|
    @@ -1693,11 +1693,11 @@ Optionnellement, vous pouvez passer le numéro de l'élément auquel démarrer l
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|toSearch|expression|->|Expression to search in the collection| -|startFrom|Integer|->|Index to start the search at| -|Result|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found| +|toSearch|expression|->|Expression à rechercher dans la collection| +|startFrom|Integer|->|Indice d'élément à partir duquel débuter la recherche| +|Résultat|Integer |<-|Index of the first occurrence of toSearch in the collection, -1 if not found|
    @@ -1754,11 +1754,11 @@ Optionnellement, vous pouvez passer le numéro de l'élément auquel démarrer l
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|queryString|Text|->|Search criteria| -|value|any|->|Value(s) to compare when using placeholder(s)| -|Result|Collection |<-|Element index(es) matching queryString in the collection| +|queryString|Text|->|Critère(s) de recherche| +|value|any|->|Valeur(s) à comparer lors de l'utilisation de paramètre(s) dans la chaîne| +|Résultat|Collection |<-|Element index(es) matching queryString in the collection|
    @@ -1814,11 +1814,11 @@ Pour une description détaillée de la construction de recherches à l'aide des
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|index|Integer|->|Where to insert the element| -|element|any|->|Element to insert in the collection| -|Result|Collection |<-|Original collection containing inserted element| +|index|Integer|->|Où insérer l'élément| +|element|any|->|Elément à insérer dans la collection| +|Résultat|Collection |<-|Original collection containing inserted element|
    @@ -1870,18 +1870,18 @@ Vous pouvez passer tout type d'élément accepté par les collections, y compris
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|delimiter|Text|->|Separator to use between elements| -|option|Integer|->|`ck ignore null or empty`: ignore null and empty strings in the result| -|Result|Text |<-|String containing all elements of the collection, separated by delimiter| +|delimiter|Text|->|Séparateur à utiliser entre les éléments| +|option|Integer|->|`ck ignore null or empty`: ignorer les chaînes null ou vides dans le résultat| +|Résultat|Text |<-|String containing all elements of the collection, separated by delimiter|
    #### Description -La fonction `.concat()` retourne une nouvelle collection avec le contenu du paramètre *value* ajouté à la fin de la collection d'origine. La fonction retourne la chaîne résultante. +La fonction `.join()` retourne une nouvelle collection avec le contenu du paramètre *value* ajouté à la fin de la collection d'origine. La fonction retourne la chaîne résultante. > Cette fonction ne modifie pas la collection d'origine. Par défaut, les éléments null ou vides de la collection sont inclus dans la chaîne résultante. Passez la constante `ck ignore null or empty` dans le paramètre *option* si vous souhaitez les exclure de la chaîne résultante. @@ -1919,9 +1919,9 @@ Par défaut, les éléments null ou vides de la collection sont inclus dans la c
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|Result|any |<-|Last element of collection| +|Résultat|any |<-|Last element of collection|
    @@ -1971,11 +1971,11 @@ $last:=$emptyCol.last() // retourne Undefined
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|toSearch|expression|->|The element that is to be searched for within the collection| -|startFrom|Integer|->|Index to start the search at| -|Result|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found| +|toSearch|expression|->|Elément à chercher dans la collection| +|startFrom|Integer|->|Indice d'élément à partir duquel débuter la recherche| +|Résultat|Integer |<-|Index of last occurrence of toSearch in the collection, -1 if not found|
    @@ -2140,10 +2140,10 @@ $c2:=$c.map(Formula(Round(($1.value/$2)*100; 2)); $c.sum())
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|propertyPath|Text|->|Object property path to be used for evaluation| -|Result|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection| +|propertyPath|Text|->|Chemin de propriété d'objet à utiliser pour évaluer les valeurs| +|Résultat|Boolean, Text, Number, Collection, Object, Date |<-|Maximum value in the collection|
    @@ -2196,10 +2196,10 @@ Si la collection est vide, `.max()` retourne *Undefined*.
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|propertyPath|Text|->|Object property path to be used for evaluation| -|Result|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection| +|propertyPath|Text|->|Chemin de propriété d'objet à utiliser pour évaluer les valeurs| +|Résultat|Boolean, Text, Number, Collection, Object, Date |<-|Minimum value in the collection|
    @@ -2251,12 +2251,12 @@ Si la collection est vide, `.min()` retourne *Undefined*.
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|pathStrings|Text|->|Property path(s) on which to order the collection| -|pathObjects|Collection|->|Collection of criteria objects| -|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)| -|Result|Collection |<-|Ordered copy of the collection (shallow copy)| +|pathStrings|Text|->|Chemin(s) de propriété(s) à utiliser pour trier la collection| +|pathObjects|Collection|->|Collection d'objets critère| +|ascOrDesc|Integer|->|`ck ascending` ou `ck descending` (valeurs scalaires)| +|Résultat|Collection |<-|Ordered copy of the collection (shallow copy)|
    @@ -2508,9 +2508,9 @@ $1.result:=(Compare strings($1.value;$1.value2;$2)<0)
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|Result|any |<-|Last element of collection| +|Résultat|any |<-|Last element of collection|
    @@ -2560,10 +2560,10 @@ Lorsqu'elle est appliquée à une collection vide, .`pop()` retourne ***undefine
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|element|Mixed|->|Element(s) to add to the collection| -|Result|Collection |<-|Original collection containing added elements| +|element|Mixed|->|Élément(s) à ajouter à la collection| +|Résultat|Collection |<-|Original collection containing added elements|
    @@ -2624,12 +2624,12 @@ Vous souhaitez trier la collection obtenue :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|queryString|Text|->|Search criteria| -|value|Mixed|->|Value(s) to compare when using placeholder(s)| -|querySettings|Object|->|Query options: parameters, attributes| -|Result|Collection |<-|Element(s) matching queryString in the collection| +|queryString|Text|->|Critère(s) de recherche| +|value|Mixed|->|Valeur(s) à comparer lors de l'utilisation de paramètre(s) dans la chaîne| +|querySettings|Object|->|Options de recherche : paramètres, attributs| +|Résultat|Collection |<-|Element(s) matching queryString in the collection|
    @@ -2926,11 +2926,11 @@ Avec la méthode ***Flatten*** suivante :
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|index |Integer|->|Element at which to start removal| -|howMany |Integer|->|Number of elements to remove, or 1 element if omitted| -|Result|Collection|<-|Modified collection without removed element(s)| +|index |Integer|->|Élément à partir duquel la suppression peut commencer| +|howMany |Integer|->|Nombre d'éléments à supprimer, ou 1 élément si omis| +|Résultat|Collection|<-|Modified collection without removed element(s)|
    @@ -2993,11 +2993,11 @@ Si vous essayez de supprimer un élément d'une collection vide, la méthode ne
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|size |Integer|->|New size of the collection| -|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Default value to fill new elements| -|Result|Collection|<-|Resized original collection| +|size |Integer|->|Nouvelle taille de la collection| +|defaultValue |Number, Text, Object, Collection, Date, Boolean|->|Valeur par défaut pour remplir de nouveaux éléments| +|Résultat|Collection|<-|Resized original collection|
    @@ -3055,9 +3055,9 @@ Par défaut, les nouveaux éléments sont remplis par des valeurs **null**. Vous
    -|Parameter|Type||Description| +|Paramètre|Type||Description| |---------|--- |:---:|------| -|Result|Collection|<-|Inverted copy of the collection| +|Résultat|Collection|<-|Inverted copy of the collection|
    @@ -3099,9 +3099,9 @@ La fonction `.reverse()` retourne une
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|Result|any|<-|First element of collection| +|Résultat|any|<-|First element of collection|
    @@ -3150,11 +3150,11 @@ Si la collection est vide, cette méthode ne fait rien.
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|startFrom |Integer |->|Start index (included)| -|end |Integer |->|End index (not included)| -|Result|Collection|<-|New collection containing sliced elements (shallow copy)| +|startFrom |Integer |->|Indice l'élément de départ (inclus)| +|end |Integer |->|Indice de fin (non inclus)| +|Résultat|Collection|<-|New collection containing sliced elements (shallow copy)|
    @@ -3394,10 +3394,10 @@ $col3:=$col.sort(Formula(String($1.value)
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|propertyPath |Text |->|Object property path to be used for calculation| -|Result|Real|<-|Sum of collection values| +|propertyPath |Text |->|Chemin de propriété d'objet à utiliser pour évaluer les valeurs| +|Résultat|Real|<-|Sum of collection values|
    @@ -3461,10 +3461,10 @@ Si la collection contient des objets, passez le paramètre *propertyPath* si vou
    -|Parameter|Type||Description| +|Paramètres|Type||Description| |---------|--- |:---:|------| -|value |Text, Number, Object, Collection, Date |->|Value(s) to insert at the beginning of the collection| -|Result|Collection|<-|Collection containing added element(s) +|value |Text, Number, Object, Collection, Date |->|Valeur(s) à insérer au début de la collection| +|Résultat|Collection|<-|Collection containing added element(s) |
    From ebbcebeae5b2bd86664cf54e2d36c13a04727394 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 21:48:16 +0100 Subject: [PATCH 099/107] New translations dt_date.md (Spanish) --- .../docusaurus-plugin-content-docs/current/Concepts/dt_date.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/dt_date.md b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/dt_date.md index 2838b28315bcfc..f09312eb68a7d9 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/dt_date.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/dt_date.md @@ -50,7 +50,7 @@ Una fecha null es especificada por *!00-00-00!*. ## Conversion of dates from JavaScript -Como las fechas en JavaScript son objetos, se envían a 4D como texto que contiene su forma JSON como cualquier otro objeto. This principle is implemented in particular when using [JSON commands](../commands/theme/JSON.md) or [Web Areas](../FormObjects/webArea_overview.md). +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". It is your responsibility to convert this text into a 4D date. Hay dos soluciones disponibles: From 9baa475237a0cfb64f3ebcdd67206c713e0bd7fb Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 21:48:21 +0100 Subject: [PATCH 100/107] New translations listbox_overview.md (Spanish) --- .../current/FormObjects/listbox_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md b/i18n/es/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md index 62f6ee4376e706..e6df41c418d577 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/FormObjects/listbox_overview.md @@ -654,7 +654,7 @@ En este modo, la impresión de los list box se realiza por programación, a trav En este modo: -- La altura del objeto list box se reduce automáticamente cuando el número de líneas a imprimir es inferior a la altura original del objeto (no se imprimen líneas "vacías"). Por el contrario, la altura no aumenta automáticamente en función del contenido del objeto. The size of the object actually printed can be obtained via the [`LISTBOX GET PRINT INFORMATION`](../commands/listbox-get-print-information) command. +- La altura del objeto list box se reduce automáticamente cuando el número de líneas a imprimir es inferior a la altura original del objeto (no se imprimen líneas "vacías"). Por el contrario, la altura no aumenta automáticamente en función del contenido del objeto. El tamaño del objeto realmente impreso puede obtenerse mediante el comando [`LISTBOX GET PRINT INFORMATION`](../commands/listbox-get-print-information). - El objeto list box se imprime "tal cual", es decir, teniendo en cuenta sus parámetros de visualización actuales: visibilidad de los encabezados y de las rejillas, líneas ocultas y mostradas, etc. These parameters also include the first row to be printed: if you call the [`OBJECT SET SCROLL POSITION`](../commands/object-set-scroll-position) command before launching the printing, the first row printed in the list box will be the one designated by the command. - Un mecanismo automático facilita la impresión de los list box que contienen más líneas de las que es posible mostrar: se pueden realizar llamadas sucesivas a `Print object` para imprimir cada vez un nuevo conjunto de líneas. El comando [`LISTBOX GET PRINT INFORMATION`](../commands/listbox-get-print-information) se puede utilizar para comprobar el estado de la impresión mientras se está realizando. From 84359056d348f8c4235c90bd0cf2ae88714fd9a0 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 21:48:23 +0100 Subject: [PATCH 101/107] New translations dt_date.md (Spanish) --- .../version-21/Concepts/dt_date.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2838b28315bcfc..f09312eb68a7d9 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 @@ -50,7 +50,7 @@ Una fecha null es especificada por *!00-00-00!*. ## Conversion of dates from JavaScript -Como las fechas en JavaScript son objetos, se envían a 4D como texto que contiene su forma JSON como cualquier otro objeto. This principle is implemented in particular when using [JSON commands](../commands/theme/JSON.md) or [Web Areas](../FormObjects/webArea_overview.md). +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". It is your responsibility to convert this text into a 4D date. Hay dos soluciones disponibles: From 153aeb3105d16d3493704f0c375ba913844d8460 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 21:48:27 +0100 Subject: [PATCH 102/107] New translations listbox_overview.md (Spanish) --- .../version-21/FormObjects/listbox_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5fd0a5b5dbf430..cec249b971f4eb 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 @@ -654,7 +654,7 @@ En este modo, la impresión de los list box se realiza por programación, a trav En este modo: -- La altura del objeto list box se reduce automáticamente cuando el número de líneas a imprimir es inferior a la altura original del objeto (no se imprimen líneas "vacías"). Por el contrario, la altura no aumenta automáticamente en función del contenido del objeto. The size of the object actually printed can be obtained via the [`LISTBOX GET PRINT INFORMATION`](../commands/listbox-get-print-information) command. +- La altura del objeto list box se reduce automáticamente cuando el número de líneas a imprimir es inferior a la altura original del objeto (no se imprimen líneas "vacías"). Por el contrario, la altura no aumenta automáticamente en función del contenido del objeto. El tamaño del objeto realmente impreso puede obtenerse mediante el comando [`LISTBOX GET PRINT INFORMATION`](../commands/listbox-get-print-information). - El objeto list box se imprime "tal cual", es decir, teniendo en cuenta sus parámetros de visualización actuales: visibilidad de los encabezados y de las rejillas, líneas ocultas y mostradas, etc. These parameters also include the first row to be printed: if you call the [`OBJECT SET SCROLL POSITION`](../commands/object-set-scroll-position) command before launching the printing, the first row printed in the list box will be the one designated by the command. - Un mecanismo automático facilita la impresión de los list box que contienen más líneas de las que es posible mostrar: se pueden realizar llamadas sucesivas a `Print object` para imprimir cada vez un nuevo conjunto de líneas. El comando [`LISTBOX GET PRINT INFORMATION`](../commands/listbox-get-print-information) se puede utilizar para comprobar el estado de la impresión mientras se está realizando. From 6ef0e7693a81efe570e32a59bdc4bb027a95aefe Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 21:48:29 +0100 Subject: [PATCH 103/107] New translations dt_date.md (Spanish) --- .../version-21-R2/Concepts/dt_date.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2838b28315bcfc..f09312eb68a7d9 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 @@ -50,7 +50,7 @@ Una fecha null es especificada por *!00-00-00!*. ## Conversion of dates from JavaScript -Como las fechas en JavaScript son objetos, se envían a 4D como texto que contiene su forma JSON como cualquier otro objeto. This principle is implemented in particular when using [JSON commands](../commands/theme/JSON.md) or [Web Areas](../FormObjects/webArea_overview.md). +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". It is your responsibility to convert this text into a 4D date. Hay dos soluciones disponibles: From a904950fbf8faebe9fcad7c9646e59c3e7e6267f Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Fri, 6 Feb 2026 21:48:33 +0100 Subject: [PATCH 104/107] New translations listbox_overview.md (Spanish) --- .../version-21-R2/FormObjects/listbox_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0b264971c2f708..57ec16e9293841 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 @@ -654,7 +654,7 @@ En este modo, la impresión de los list box se realiza por programación, a trav En este modo: -- La altura del objeto list box se reduce automáticamente cuando el número de líneas a imprimir es inferior a la altura original del objeto (no se imprimen líneas "vacías"). Por el contrario, la altura no aumenta automáticamente en función del contenido del objeto. The size of the object actually printed can be obtained via the [`LISTBOX GET PRINT INFORMATION`](../commands/listbox-get-print-information) command. +- La altura del objeto list box se reduce automáticamente cuando el número de líneas a imprimir es inferior a la altura original del objeto (no se imprimen líneas "vacías"). Por el contrario, la altura no aumenta automáticamente en función del contenido del objeto. El tamaño del objeto realmente impreso puede obtenerse mediante el comando [`LISTBOX GET PRINT INFORMATION`](../commands/listbox-get-print-information). - El objeto list box se imprime "tal cual", es decir, teniendo en cuenta sus parámetros de visualización actuales: visibilidad de los encabezados y de las rejillas, líneas ocultas y mostradas, etc. These parameters also include the first row to be printed: if you call the [`OBJECT SET SCROLL POSITION`](../commands/object-set-scroll-position) command before launching the printing, the first row printed in the list box will be the one designated by the command. - Un mecanismo automático facilita la impresión de los list box que contienen más líneas de las que es posible mostrar: se pueden realizar llamadas sucesivas a `Print object` para imprimir cada vez un nuevo conjunto de líneas. El comando [`LISTBOX GET PRINT INFORMATION`](../commands/listbox-get-print-information) se puede utilizar para comprobar el estado de la impresión mientras se está realizando. From 1795b4aaa7698efc4b616f2ca63a6a995f22f6a4 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Mon, 9 Feb 2026 07:41:39 +0100 Subject: [PATCH 105/107] New translations privileges.md (Japanese) --- .../current/ORDA/privileges.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/privileges.md b/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/privileges.md index b93dd91c1d9488..0a1ba70d2d471a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/privileges.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/privileges.md @@ -241,15 +241,15 @@ exposed Function authenticate($identifier : Text; $password : Text)->$result : T :::note Qodly Studio -In Qodly Studio for 4D, the login mode can be set using the [**Force login** option](https://developer.4d.com/qodly/4DQodlyPro/force-login) in the Roles and Privileges panel. +Qodly Studio for 4D においては、ログインモードはRoles and Privileges パネルの [**Force login** オプション](https://developer.4d.com/qodly/4DQodlyPro/force-login) を使用することで設定することが可能です。 ::: ## 制限モード -The `restrictedByDefault` property configures how every [resource](#resources) are accessed when [no specific permission is defined for it](#permissions): +`restrictedByDefault` プロパティは、[リソース](#resources) に対して[特定のパーミッションが定義されていない時](#パーミッション) にどのようにしてそれにアクセスできるかを設定します: -- **Unrestricted mode** (`restrictedByDefault`: **false**): Resources without defined permissions are accessible to all requests. This mode is suitable for development environments where access can be gradually restricted. +- **無制限モード** (`restrictedByDefault`: **false**): リソースに対して定義されたパーミッションがなくても、全てのリクエストがそれにアクセス可能です。 This mode is suitable for development environments where access can be gradually restricted. - **Restricted mode** (`restrictedByDefault`: **true**): Resources without defined permissions are blocked by default. This mode is recommended for production environments where access must be explicitly granted. :::note 互換性 From a1d09052ce20dfc162523f6742ae8b0b3b69dad2 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Mon, 9 Feb 2026 07:41:43 +0100 Subject: [PATCH 106/107] New translations privileges.md (Japanese) --- .../version-21/ORDA/privileges.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/ORDA/privileges.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/ORDA/privileges.md index b93dd91c1d9488..0a1ba70d2d471a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/ORDA/privileges.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/ORDA/privileges.md @@ -241,15 +241,15 @@ exposed Function authenticate($identifier : Text; $password : Text)->$result : T :::note Qodly Studio -In Qodly Studio for 4D, the login mode can be set using the [**Force login** option](https://developer.4d.com/qodly/4DQodlyPro/force-login) in the Roles and Privileges panel. +Qodly Studio for 4D においては、ログインモードはRoles and Privileges パネルの [**Force login** オプション](https://developer.4d.com/qodly/4DQodlyPro/force-login) を使用することで設定することが可能です。 ::: ## 制限モード -The `restrictedByDefault` property configures how every [resource](#resources) are accessed when [no specific permission is defined for it](#permissions): +`restrictedByDefault` プロパティは、[リソース](#resources) に対して[特定のパーミッションが定義されていない時](#パーミッション) にどのようにしてそれにアクセスできるかを設定します: -- **Unrestricted mode** (`restrictedByDefault`: **false**): Resources without defined permissions are accessible to all requests. This mode is suitable for development environments where access can be gradually restricted. +- **無制限モード** (`restrictedByDefault`: **false**): リソースに対して定義されたパーミッションがなくても、全てのリクエストがそれにアクセス可能です。 This mode is suitable for development environments where access can be gradually restricted. - **Restricted mode** (`restrictedByDefault`: **true**): Resources without defined permissions are blocked by default. This mode is recommended for production environments where access must be explicitly granted. :::note 互換性 From de2e582f1823bbfc796d93b61bd3f38a2248408d Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Mon, 9 Feb 2026 07:41:45 +0100 Subject: [PATCH 107/107] New translations privileges.md (Japanese) --- .../version-21-R2/ORDA/privileges.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/ORDA/privileges.md b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/ORDA/privileges.md index b93dd91c1d9488..0a1ba70d2d471a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/ORDA/privileges.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21-R2/ORDA/privileges.md @@ -241,15 +241,15 @@ exposed Function authenticate($identifier : Text; $password : Text)->$result : T :::note Qodly Studio -In Qodly Studio for 4D, the login mode can be set using the [**Force login** option](https://developer.4d.com/qodly/4DQodlyPro/force-login) in the Roles and Privileges panel. +Qodly Studio for 4D においては、ログインモードはRoles and Privileges パネルの [**Force login** オプション](https://developer.4d.com/qodly/4DQodlyPro/force-login) を使用することで設定することが可能です。 ::: ## 制限モード -The `restrictedByDefault` property configures how every [resource](#resources) are accessed when [no specific permission is defined for it](#permissions): +`restrictedByDefault` プロパティは、[リソース](#resources) に対して[特定のパーミッションが定義されていない時](#パーミッション) にどのようにしてそれにアクセスできるかを設定します: -- **Unrestricted mode** (`restrictedByDefault`: **false**): Resources without defined permissions are accessible to all requests. This mode is suitable for development environments where access can be gradually restricted. +- **無制限モード** (`restrictedByDefault`: **false**): リソースに対して定義されたパーミッションがなくても、全てのリクエストがそれにアクセス可能です。 This mode is suitable for development environments where access can be gradually restricted. - **Restricted mode** (`restrictedByDefault`: **true**): Resources without defined permissions are blocked by default. This mode is recommended for production environments where access must be explicitly granted. :::note 互換性