From 7618118f878dfc125cdbded92a6a4cb91501679f Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 17:40:10 +0200 Subject: [PATCH 01/68] New translations dataclassclass.md (French) --- .../current/API/DataClassClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 f52b45daec58b3..f625372d8bc7fb 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/API/DataClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/API/DataClassClass.md @@ -1181,11 +1181,11 @@ Si *attributePath* désigne un attribut stockant des [**objets vecteurs**](../AP Dans ce cas, le paramètre *value* doit être un **objet vecteur de comparaison** contenant les propriétés suivantes : -| Propriété | Type | Description | -| --------- | -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| vector | [4D.Vector](../API/VectorClass.md) | Obligatoire. Le vecteur à comparer | -| metric | Text | Optionnel. [Calcul vectoriel](../API/VectorClass.md#understanding-the-different-vector-computations) à utiliser pour la recherche. Vous pouvez utiliser l'une des constantes (texte) suivantes
  • :`mk cosine` (par défaut si omis) : calcule la distance en cosinus entre les vecteurs.
  • `mk dot` : calcule la similarité en points des vecteurs.
  • `mk euclidean` : calcule la distance euclidienne entre les vecteurs. | -| threshold | Real | Facultatif (valeur par défaut : 0,5). Valeur seuil utilisée pour filtrer les comparaisons de vecteurs sur la base de leur score de similarité cosinus, point ou euclidienne selon la "métrique" sélectionnée. Il est fortement recommandé de choisir une similitude qui corresponde le mieux à votre cas d'utilisation spécifique pour des résultats optimaux. | +| Propriété | Type | Description | +| --------- | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| vector | [4D.Vector](../API/VectorClass.md) | Obligatoire. Le vecteur à comparer | +| metric | Text | Optionnel. [Calcul vectoriel](../API/VectorClass.md#understanding-the-different-vector-computations) à utiliser pour la recherche. You can use one of the following (Text) constants:
  • `mk cosine` (default if omitted): calculates the cosine similarity between vectors.
  • `mk dot`: calculates the dot similarity of vectors.
  • `mk euclidean`: calculates the Euclidean distance between vectors. | +| threshold | Real | Facultatif (valeur par défaut : 0,5). Valeur seuil utilisée pour filtrer les comparaisons de vecteurs sur la base de leur score de similarité cosinus, point ou euclidienne selon la "métrique" sélectionnée. Il est fortement recommandé de choisir une similitude qui corresponde le mieux à votre cas d'utilisation spécifique pour des résultats optimaux. | Seul un sous-ensemble de symboles **comparateurs** est pris en charge. Notez qu'ils comparent les résultats à la valeur de seuil (threshold) : From 7a71722abdd42f7d7c14fbd7a5dacec75f26b93b Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 17:40:14 +0200 Subject: [PATCH 02/68] New translations dataclassclass.md (Spanish) --- .../current/API/DataClassClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 b4ddd2e7957dac..08f4b68da0bcd0 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/API/DataClassClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/API/DataClassClass.md @@ -1187,11 +1187,11 @@ Si *attributePath* designa un atributo que almacena [**objetos vectores**](../AP En este caso, el parámetro *value* debe ser un **objeto vectorial de comparación** que contenga las siguientes propiedades: -| Propiedad | Tipo | Descripción | -| --------- | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| vector | [4D.Vector](../API/VectorClass.md) | Obligatorio. El vector a comparar | -| metric | Text | Opcional. [Cálculo vectorial](../API/VectorClass.md#understanding-the-different-vector-computations) a utilizar para la consulta. Puede utilizar una de las siguientes constantes (Texto)
  • :`mk cosine` (por defecto si se omite): calcula la distancia coseno entre vectores.
  • `mk dot`: calcula la similitud punto de los vectores.
  • `mk euclidean`: calcula la distancia euclideana entre vectores. | -| threshold | Real | Opcional (por defecto: 0,5). Un valor umbral utilizado para filtrar las comparaciones de vectores en función de su puntuación de similitud coseno, punto o euclídea según la "métrica" seleccionada. Es altamente recomendable elegir una similitud que se adapte mejor a su caso de uso específico para obtener resultados óptimos. | +| Propiedad | Tipo | Descripción | +| --------- | -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| vector | [4D.Vector](../API/VectorClass.md) | Obligatorio. El vector a comparar | +| metric | Text | Opcional. [Cálculo vectorial](../API/VectorClass.md#understanding-the-different-vector-computations) a utilizar para la consulta. You can use one of the following (Text) constants:
  • `mk cosine` (default if omitted): calculates the cosine similarity between vectors.
  • `mk dot`: calculates the dot similarity of vectors.
  • `mk euclidean`: calculates the Euclidean distance between vectors. | +| threshold | Real | Opcional (por defecto: 0,5). Un valor umbral utilizado para filtrar las comparaciones de vectores en función de su puntuación de similitud coseno, punto o euclídea según la "métrica" seleccionada. Es altamente recomendable elegir una similitud que se adapte mejor a su caso de uso específico para obtener resultados óptimos. | Sólo se admite un subconjunto de símbolos **comparadores**. Tenga en cuenta que comparan los resultados con el valor umbral: From af792bb9cacecb9be0a6d30ba8195dfac8b7338f Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 17:40:17 +0200 Subject: [PATCH 03/68] New translations dataclassclass.md (Japanese) --- .../current/API/DataClassClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 7e34500526e8f9..db5c43d888d144 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/DataClassClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/DataClassClass.md @@ -1187,11 +1187,11 @@ $es:=ds.Movie.query("roles.actor.lastName = :1 AND roles.actor{2}.lastName = :2" この場合、*value* 引数は、以下のプロパティを格納した**比較ベクトルオブジェクト** である必要があります: -| プロパティ | 型 | 説明 | -| --------- | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| vector | [4D.Vector](../API/VectorClass.md) | 必須設定です。 比較するベクトル | -| metric | Text | 任意。 クエリに使用する[ベクトル計算](../API/VectorClass.md#ことなるベクトル計算を理解する)。 以下の(テキストの)定数のいずれか一つを使用することができます:
  • `mk cosine` (省略時にデフォルト): ベクトル間のコサイン距離を計算します。
  • `mk dot`: ベクトル間のドット類似度を計算します。
  • `mk euclidean`: ベクトル間のユークリッド距離を計算します。 | -| threshold | Real | 任意(デフォルト: 0.5)。 選択された"metric"に従って、コサイン、ドット、またはユークリッド類似度に基づいたベクトル比較をフィルタリングするために使用されるしきい値。 最適な結果を得るためには、特定の用途に最適な類似度のしきい値をきちんと選択することが強く推奨されます。 | +| プロパティ | 型 | 説明 | +| --------- | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| vector | [4D.Vector](../API/VectorClass.md) | 必須設定です。 比較するベクトル | +| metric | Text | 任意。 クエリに使用する[ベクトル計算](../API/VectorClass.md#ことなるベクトル計算を理解する)。 You can use one of the following (Text) constants:
  • `mk cosine` (default if omitted): calculates the cosine similarity between vectors.
  • `mk dot`: calculates the dot similarity of vectors.
  • `mk euclidean`: calculates the Euclidean distance between vectors. | +| threshold | Real | 任意(デフォルト: 0.5)。 選択された"metric"に従って、コサイン、ドット、またはユークリッド類似度に基づいたベクトル比較をフィルタリングするために使用されるしきい値。 最適な結果を得るためには、特定の用途に最適な類似度のしきい値をきちんと選択することが強く推奨されます。 | **comparator** 記号の、一部のみがサポートされます。 これらの比較記号は、結果としきい値を比較するのに使用されるという点に注意してください: From f86f9e6dd15ce64c8005cef00349c69eed01a0fe Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 17:40:21 +0200 Subject: [PATCH 04/68] New translations dataclassclass.md (Portuguese, Brazilian) --- .../current/API/DataClassClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 0dac13535e077a..d50fb79572fb50 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/API/DataClassClass.md @@ -1182,11 +1182,11 @@ If *attributePath* designates an attribute storing [**vector objects**](../API/V In this case, the *value* parameter must be a **comparison vector object** containing the following properties: -| Propriedade | Tipo | Descrição | -| ----------- | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| vector | [4D.Vector](../API/VectorClass.md) | Obrigatório. The vector to be compared | -| metric | Text | Opcional. [Vector computation](../API/VectorClass.md#understanding-the-different-vector-computations) to use for the query. You can use one of the following (Text) constants:
  • `mk cosine` (default if omitted): calculates the cosine distance between vectors.
  • `mk dot`: calculates the dot similarity of vectors.
  • `mk euclidean`: calculates the Euclidean distance between vectors. | -| threshold | Real | Optional (default: 0.5). A threshold value used to filter vector comparisons based on their cosine, dot or euclidean similarity score according to the selected "metric". It is highly recommended to choose a similarity that best fits your specific use case for optimal results. | +| Propriedade | Tipo | Descrição | +| ----------- | -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| vector | [4D.Vector](../API/VectorClass.md) | Obrigatório. The vector to be compared | +| metric | Text | Opcional. [Vector computation](../API/VectorClass.md#understanding-the-different-vector-computations) to use for the query. You can use one of the following (Text) constants:
  • `mk cosine` (default if omitted): calculates the cosine similarity between vectors.
  • `mk dot`: calculates the dot similarity of vectors.
  • `mk euclidean`: calculates the Euclidean distance between vectors. | +| threshold | Real | Optional (default: 0.5). A threshold value used to filter vector comparisons based on their cosine, dot or euclidean similarity score according to the selected "metric". It is highly recommended to choose a similarity that best fits your specific use case for optimal results. | Only a subset of **comparator** symbols are supported. Note that they compare results to the threshold value: From 95c596d1dc0c01769c63eaa2414134323e906577 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 17:46:34 +0200 Subject: [PATCH 05/68] New translations parameters.md (French) --- .../current/Concepts/parameters.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/parameters.md b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/parameters.md index 3e106c0ff30907..126ca42643bd67 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/parameters.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Concepts/parameters.md @@ -295,12 +295,6 @@ L'ancienne syntaxe de déclaration des paramètres variadiques (`C_TEXT(${4})`) ::: -## Triggers et On Drag Over - -Certains contextes ne prennent pas en charge la déclaration dans une méthode "Compiler_", ils sont donc gérés de manière spécifique : - -- Triggers - Le paramètre $0 (Entier long), qui résulte d'un trigger, sera typé par le compilateur si le paramètre n'a pas été explicitement déclaré. Néanmoins, si vous souhaitez le déclarer, vous devez le faire dans le trigger lui-même. - ## Type de paramètre erroné L'appel d'un paramètre d'un mauvais type ou d'une mauvaise classe (pour les paramètres objet) est une [erreur](error-handling.md) qui empêche une exécution correcte. Par exemple, si vous écrivez les méthodes suivantes : From 2e3442d43d6b1a866e338d9676e52f0df7081e7e Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 17:46:35 +0200 Subject: [PATCH 06/68] New translations parameters.md (Spanish) --- .../current/Concepts/parameters.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/parameters.md b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/parameters.md index 3a78e87c6b82f8..8f1aa078d11999 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Concepts/parameters.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Concepts/parameters.md @@ -295,12 +295,6 @@ La sintaxis heredada para declarar parámetros variadicos (`C_TEXT(${4})`) está ::: -## Triggers y On Drag Over - -Algunos contextos no soportan la declaración en un método "Compiler_", por lo que se tratan de forma específica: - -- Triggers - El parámetro $0 (Entero largo), que es el resultado de un trigger, será digitado por el compilador si el parámetro no ha sido declarado explícitamente. Sin embargo, si quiere declararlo, debe hacerlo en el propio trigger. - ## Tipo de parámetro equivocado Llamar a un parámetro con un tipo incorrecto o una clase incorrecta (para parámetros de objeto) es un [error](error-handling.md) que impide la correcta ejecución. Por ejemplo, si escribe los siguientes métodos: From e595aabc6964ec16041c5b0d4a6e63c53a8ef626 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 17:46:37 +0200 Subject: [PATCH 07/68] New translations parameters.md (Japanese) --- .../current/Concepts/parameters.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/parameters.md b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/parameters.md index a9acfddec12d2b..7d8c30b7a7a56f 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/parameters.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Concepts/parameters.md @@ -295,12 +295,6 @@ $total3:=SumNumbers(1; 2; "hello"; 4; 5) // エラー ::: -## トリガーと On Drag Over - -コンテキストによっては、"Compiler_" メソッドでの宣言をサポートしていないため、別途処理されます: - -- トリガー - トリガーの結果である $0 パラメーター (倍長整数) は、明確に定義されていなければコンパイラーによって型指定されます。 定義する場合は、トリガーの中でおこなう必要があります。 - ## 引数の型間違い 間違った型の引数、または(オブジェクト型引数に対して)間違ったクラスの引数を呼び出すことは、正しい実行を妨げる [エラー](error-handling.md) となります。 たとえば、次のようなメソッドを書いたとします: From e5c00882dc701470048a46b3b48d2178edfe9fa5 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 17:46:40 +0200 Subject: [PATCH 08/68] New translations parameters.md (Portuguese, Brazilian) --- .../current/Concepts/parameters.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/parameters.md b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/parameters.md index e445ba05f5e050..1a932939fb4e6c 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/parameters.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Concepts/parameters.md @@ -295,12 +295,6 @@ The legacy syntax for declaring variadic parameters (`C_TEXT(${4})`) is deprecat ::: -## Triggers e On Drag Over - -Alguns contextos não suportam a declaração em um método "Compiler_", portanto, são tratados especificamente: - -- Triggers - O parâmetro $0 (Longint), o resultado de um trigger, será tipado pelo compilador se o parâmetro não tiver sido declarado explicitamente. Entretanto, se quiser declará-lo, deve fazer isso no próprio trigger. - ## Tipo de parámetro equivocado Calling a parameter with an wrong type or a wrong class (for object parameters) is an [error](error-handling.md) that prevents correct execution. Por exemplo se executar os métodos From affdbc23d76f9e1cd091584de2fa8180bdb5df0c Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 18:00:57 +0200 Subject: [PATCH 09/68] New translations entities.md (French) --- i18n/fr/docusaurus-plugin-content-docs/current/ORDA/entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/ORDA/entities.md b/i18n/fr/docusaurus-plugin-content-docs/current/ORDA/entities.md index bee47dac9df190..bf8083100bc9ed 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/ORDA/entities.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/ORDA/entities.md @@ -462,7 +462,7 @@ Function event restrict() -> $result : cs.*DataClassName*Selection Cette fonction est appelée chaque fois qu'une entity selection ou une entité de la dataclass est demandée. Le filtre est exécuté une seule fois, lors de la création de l'entity selection. -Le filtre doit retourner une entity selection de la dataclass. Il peut s'agir d'une entity selection basée sur une recherche, stockée dans le [`Storage`], etc. +Le filtre doit retourner une entity selection de la dataclass. It can be an entity selection built upon a query, stored in the [`Storage`](../API/SessionClass.md#storage), etc. :::note From 205d65a6e61c4433ce615265336f3804f70130ed Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 18:01:00 +0200 Subject: [PATCH 10/68] New translations entities.md (Spanish) --- i18n/es/docusaurus-plugin-content-docs/current/ORDA/entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/ORDA/entities.md b/i18n/es/docusaurus-plugin-content-docs/current/ORDA/entities.md index 2ac6f5af37a028..759037097c7260 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/ORDA/entities.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/ORDA/entities.md @@ -462,7 +462,7 @@ Function event restrict() -> $result : cs.*DataClassName*Selection Esta función se llama cada vez que se solicita una selección de entidades o una entidad de la dataclass. El filtro se ejecuta una vez, cuando se crea la selección de entidades. -El filtro debe devolver una selección de entidades de la clase de datos. Puede ser una selección de entidades creada a partir de una consulta, almacenada en el [`Storage`], etc. +El filtro debe devolver una selección de entidades de la clase de datos. It can be an entity selection built upon a query, stored in the [`Storage`](../API/SessionClass.md#storage), etc. :::note From a33f731c6f2be01a4fdbf883a4fba1be809dbbbd Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 18:01:04 +0200 Subject: [PATCH 11/68] New translations entities.md (Japanese) --- i18n/ja/docusaurus-plugin-content-docs/current/ORDA/entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/entities.md b/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/entities.md index 29e1132a0df443..eb60ae72c2ff5e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/entities.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/ORDA/entities.md @@ -469,7 +469,7 @@ Function event restrict() -> $result : cs.*DataClassName*Selection この関数は、データクラスのエンティティセレクションまたはエンティティが要求されるたびに呼び出されます。 フィルターは、エンティティセレクションが作成されたときに一度だけ実行されます。 -フィルターは、データクラスのエンティティセレクションを返さなければなりません。 戻り値のエンティティセレクションには、クエリの結果や、[`Storage`] に格納されているものなどが使えます。 +フィルターは、データクラスのエンティティセレクションを返さなければなりません。 It can be an entity selection built upon a query, stored in the [`Storage`](../API/SessionClass.md#storage), etc. :::note From b521560df17976b79483e64395755485b821f314 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 18:01:07 +0200 Subject: [PATCH 12/68] New translations entities.md (Portuguese, Brazilian) --- i18n/pt/docusaurus-plugin-content-docs/current/ORDA/entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/entities.md b/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/entities.md index 647fe5f0082093..07c4d294a07e89 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/entities.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/ORDA/entities.md @@ -463,7 +463,7 @@ Function event restrict() -> $result : cs.*DataClassName*Selection Esta função é chamada sempre que uma seleção de entidade ou uma entidade da classe de dados é solicitada. O filtro é executado uma vez, quando a entity selection é criada. -O filtro deve retornar uma seleção de entidade da dataclass. Puede ser una selección de entidades creada a partir de una consulta, almacenada en el [`Storage`], etc. +O filtro deve retornar uma seleção de entidade da dataclass. It can be an entity selection built upon a query, stored in the [`Storage`](../API/SessionClass.md#storage), etc. :::note From 167952a00a3b3b434f4b0b38ca3b2e87345bccbc Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 18:03:42 +0200 Subject: [PATCH 13/68] New translations $filter.md (French) --- .../current/REST/$filter.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/REST/$filter.md b/i18n/fr/docusaurus-plugin-content-docs/current/REST/$filter.md index 225bb92db1df45..a94eeffc58ee5b 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/REST/$filter.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/REST/$filter.md @@ -90,11 +90,11 @@ Use the `params` property to provide the filter with the vector comparison param The *vectorComparison* parameter is a collection of the following elements: -| Propriété | Type | Description | | -| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [].vector | Collection d'objets) | Obligatoire. A collection that represents the vector to compare | | -| [].metric | Text | Optionnel. [Calcul vectoriel](../API/VectorClass.md#understanding-the-different-vector-computations) à utiliser pour la recherche. Supported values:
  • "cosine" (default if omitted): calculates the cosine distance between vectors.
  • "dot": calculates the dot similarity of vectors.
  • "euclidean": calculates the Euclidean distance between vectors. | | -| | [].threshold | Real | Facultatif (valeur par défaut : 0,5). Valeur seuil utilisée pour filtrer les comparaisons de vecteurs sur la base de leur score de similarité cosinus, point ou euclidienne selon la "métrique" sélectionnée. Il est fortement recommandé de choisir une similitude qui corresponde le mieux à votre cas d'utilisation spécifique pour des résultats optimaux. | +| Propriété | Type | Description | +| -------------------------------------------------------------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [].vector | Collection of numbers | Obligatoire. A collection that represents the vector to compare | +| [].metric | Text | Optionnel. [Calcul vectoriel](../API/VectorClass.md#understanding-the-different-vector-computations) à utiliser pour la recherche. Supported values:
  • "cosine" (default if omitted): calculates the cosine similarity between vectors.
  • "dot": calculates the dot similarity of vectors.
  • "euclidean": calculates the Euclidean distance between vectors. | +| [].threshold | Real | Facultatif (valeur par défaut : 0,5). Valeur seuil utilisée pour filtrer les comparaisons de vecteurs sur la base de leur score de similarité cosinus, point ou euclidienne selon la "métrique" sélectionnée. Il est fortement recommandé de choisir une similitude qui corresponde le mieux à votre cas d'utilisation spécifique pour des résultats optimaux. | Only a subset of **comparator** symbols are supported with vector comparisons. Notez qu'ils comparent les résultats à la valeur de seuil (threshold) : From f4114316fb9f6d88bbc0f046944c5937bd137b50 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 18:03:44 +0200 Subject: [PATCH 14/68] New translations $filter.md (Spanish) --- .../current/REST/$filter.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/REST/$filter.md b/i18n/es/docusaurus-plugin-content-docs/current/REST/$filter.md index 42725545b33289..ca52f5579fa456 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/REST/$filter.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/REST/$filter.md @@ -90,11 +90,11 @@ Use the `params` property to provide the filter with the vector comparison param The *vectorComparison* parameter is a collection of the following elements: -| Propiedad | Tipo | Descripción | | -| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [].vector | Colección de objetos) | Obligatorio. Una colección que representa el vector a comparar | | -| [].metric | Text | Opcional. [Cálculo vectorial](../API/VectorClass.md#understanding-the-different-vector-computations) a utilizar para la consulta. Supported values:
  • "cosine" (default if omitted): calculates the cosine distance between vectors.
  • "dot": calculates the dot similarity of vectors.
  • "euclidean": calculates the Euclidean distance between vectors. | | -| | [].threshold | Real | Opcional (por defecto: 0,5). Un valor umbral utilizado para filtrar las comparaciones de vectores en función de su puntuación de similitud coseno, punto o euclídea según la "métrica" seleccionada. Es altamente recomendable elegir una similitud que se adapte mejor a su caso de uso específico para obtener resultados óptimos. | +| Propiedad | Tipo | Descripción | +| -------------------------------------------------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [].vector | Collection of numbers | Obligatorio. Una colección que representa el vector a comparar | +| [].metric | Text | Opcional. [Cálculo vectorial](../API/VectorClass.md#understanding-the-different-vector-computations) a utilizar para la consulta. Supported values:
  • "cosine" (default if omitted): calculates the cosine similarity between vectors.
  • "dot": calculates the dot similarity of vectors.
  • "euclidean": calculates the Euclidean distance between vectors. | +| [].threshold | Real | Opcional (por defecto: 0,5). Un valor umbral utilizado para filtrar las comparaciones de vectores en función de su puntuación de similitud coseno, punto o euclídea según la "métrica" seleccionada. Es altamente recomendable elegir una similitud que se adapte mejor a su caso de uso específico para obtener resultados óptimos. | Only a subset of **comparator** symbols are supported with vector comparisons. Tenga en cuenta que comparan los resultados con el valor umbral: From d56ec40db7caafc7b45bc2918b7185bf1488fb15 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 18:03:45 +0200 Subject: [PATCH 15/68] New translations $filter.md (Japanese) --- .../current/REST/$filter.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/REST/$filter.md b/i18n/ja/docusaurus-plugin-content-docs/current/REST/$filter.md index 28f0596b8c40dc..e7d79b10f1bfdd 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/REST/$filter.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/REST/$filter.md @@ -89,11 +89,11 @@ Use the `params` property to provide the filter with the vector comparison param The *vectorComparison* parameter is a collection of the following elements: -| プロパティ | 型 | 説明 | | -| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| [].vector | Object の Collection) | 必須設定です。 A collection that represents the vector to compare | | -| [].metric | Text | 任意。 クエリに使用する[ベクトル計算](../API/VectorClass.md#ことなるベクトル計算を理解する)。 Supported values:
  • "cosine" (default if omitted): calculates the cosine distance between vectors.
  • "dot": calculates the dot similarity of vectors.
  • "euclidean": calculates the Euclidean distance between vectors. | | -| | [].threshold | Real | 任意(デフォルト: 0.5)。 選択された"metric"に従って、コサイン、ドット、またはユークリッド類似度に基づいたベクトル比較をフィルタリングするために使用されるしきい値。 最適な結果を得るためには、特定の用途に最適な類似度のしきい値をきちんと選択することが強く推奨されます。 | +| プロパティ | 型 | 説明 | +| -------------------------------------------------------------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [].vector | Collection of numbers | 必須設定です。 A collection that represents the vector to compare | +| [].metric | Text | 任意。 クエリに使用する[ベクトル計算](../API/VectorClass.md#ことなるベクトル計算を理解する)。 Supported values:
  • "cosine" (default if omitted): calculates the cosine similarity between vectors.
  • "dot": calculates the dot similarity of vectors.
  • "euclidean": calculates the Euclidean distance between vectors. | +| [].threshold | Real | 任意(デフォルト: 0.5)。 選択された"metric"に従って、コサイン、ドット、またはユークリッド類似度に基づいたベクトル比較をフィルタリングするために使用されるしきい値。 最適な結果を得るためには、特定の用途に最適な類似度のしきい値をきちんと選択することが強く推奨されます。 | Only a subset of **comparator** symbols are supported with vector comparisons. これらの比較記号は、結果としきい値を比較するのに使用されるという点に注意してください: From eaffb2778244451333486da690e147b8b534a02c Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 18:03:47 +0200 Subject: [PATCH 16/68] New translations $filter.md (Portuguese, Brazilian) --- .../current/REST/$filter.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/REST/$filter.md b/i18n/pt/docusaurus-plugin-content-docs/current/REST/$filter.md index 095aab2c43c2a8..01f9c75981cdbe 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/REST/$filter.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/REST/$filter.md @@ -90,11 +90,11 @@ Use the `params` property to provide the filter with the vector comparison param The *vectorComparison* parameter is a collection of the following elements: -| Propriedade | Tipo | Descrição | | -| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [].vector | Uma coleção de objetos) | Obrigatório. A collection that represents the vector to compare | | -| [].metric | Text | Opcional. [Vector computation](../API/VectorClass.md#understanding-the-different-vector-computations) to use for the query. Supported values:
  • "cosine" (default if omitted): calculates the cosine distance between vectors.
  • "dot": calculates the dot similarity of vectors.
  • "euclidean": calculates the Euclidean distance between vectors. | | -| | [].threshold | Real | Optional (default: 0.5). A threshold value used to filter vector comparisons based on their cosine, dot or euclidean similarity score according to the selected "metric". It is highly recommended to choose a similarity that best fits your specific use case for optimal results. | +| Propriedade | Tipo | Descrição | +| -------------------------------------------------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [].vector | Collection of numbers | Obrigatório. A collection that represents the vector to compare | +| [].metric | Text | Opcional. [Vector computation](../API/VectorClass.md#understanding-the-different-vector-computations) to use for the query. Supported values:
  • "cosine" (default if omitted): calculates the cosine similarity between vectors.
  • "dot": calculates the dot similarity of vectors.
  • "euclidean": calculates the Euclidean distance between vectors. | +| [].threshold | Real | Optional (default: 0.5). A threshold value used to filter vector comparisons based on their cosine, dot or euclidean similarity score according to the selected "metric". It is highly recommended to choose a similarity that best fits your specific use case for optimal results. | Only a subset of **comparator** symbols are supported with vector comparisons. Note that they compare results to the threshold value: From 3ee9078ab6be637536cd46d8c9aec6aec2b398da Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 19:43:33 +0200 Subject: [PATCH 17/68] New translations field-properties.md (French) --- .../current/Develop/field-properties.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Develop/field-properties.md b/i18n/fr/docusaurus-plugin-content-docs/current/Develop/field-properties.md index e8cbe982173df0..c3ca0c1e72ffd8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Develop/field-properties.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Develop/field-properties.md @@ -3,34 +3,34 @@ id: field-properties title: Propriétés des champs --- -For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv20R10/4D/20-R10/Field-properties.300-7543749.en.html#5523008). +For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv21/4D/21/Field-properties.300-7676763.en.html). ## Class ![](../assets/en/Develop/inspector-class.png) -This property is available for fields of type **Object** (in 4D projects only). It allows you to define a **class-typed object field**, enhancing code completion, syntax checking, and runtime validation when typing code that involves object fields. +Cette propriété est disponible pour les champs de type **Objet** (dans les projets 4D uniquement). Elle vous permet de définir un **champ de type classe d'objet**, ce qui améliore la complétion de code, la vérification syntaxique et la validation d'exécution lors de la saisie de code impliquant des champs objet. -You can enter any valid class name in this property, including: +Vous pouvez saisir n'importe quel nom de classe valide dans cette propriété, y compris : -- User classes (e.g. `cs.MyClass`) -- Built-in 4D classes (e.g. `4D.File`, `4D.Folder`) -- [Exposed](../Extensions/develop-components.md#sharing-of-classes) component-defined classes (e.g. `cs.MyComponent.MyClass`) +- des classes utilisateurs (par exemple `cs.MyClass`) +- des classes 4D intégrées (par exemple `4D.File`, `4D.Folder`) +- des classes [exposées](../Extensions/develop-components.md#sharing-of-classes) définies par les composants (par exemple `cs.MyComponent.MyClass`) -If you enter an invalid class name, a warning is triggered and the input is rejected. +Si vous saisissez un nom de classe non valide, la saisie est rejetée. :::note -**Non-streamable classes** such as [ORDA Data Model classes](../ORDA/ordaClasses.md), [file handles](../API/FileHandleClass.md), [web server](../API/WebServerClass.md)... cannot be associated to object fields. +Les **classes non *streamables*** telles que les [classes du modèle de données ORDA](../ORDA/ordaClasses.md), la classe [FileHandle](../API/FileHandleClass.md), [WebServer](../API/WebServerClass.md)... ne peuvent pas être associées à des champs objets. ::: -In your code, when assigning a value to a class-typed object field, 4D verifies that it belongs to the declared class. If not or if the object has no class, an error is triggered. Accessing unknown attributes will also raise syntax errors. +Dans votre code, lors de l'affectation d'une valeur à un champ de type classe d'objet, 4D vérifie qu'elle appartient à la classe déclarée. Si ce n'est pas le cas ou si l'objet n'a pas de classe, une erreur est déclenchée. L'accès à des attributs inconnus entraîne également des erreurs de syntaxe. -To retrieve the associated class name at runtime, use the [`classID`](../API/DataClassClass.md#attributename) property, for example `ds.MyTable.MyField.classID`. +Pour récupérer le nom de la classe associée lors de l'exécution, utilisez la propriété [`classID`](../API/DataClassClass.md#attributename), par exemple `ds.MyTable.MyField.classID`. ### Voir également -- [Blog post: Stricter class-based typing for objects](https://blog.4d.com/stricter-class-based-typing-for-objects/) +- [Article de blog : Un typage plus strict des objets basé sur les classes](https://blog.4d.com/stricter-class-based-typing-for-objects/) From 754e63d9129faf760c48a803ef1e315190e94a0c Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 19:43:35 +0200 Subject: [PATCH 18/68] New translations field-properties.md (Spanish) --- .../current/Develop/field-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Develop/field-properties.md b/i18n/es/docusaurus-plugin-content-docs/current/Develop/field-properties.md index d486ff3d6bbabd..7efd3ff28141a8 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Develop/field-properties.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Develop/field-properties.md @@ -3,7 +3,7 @@ id: field-properties title: Propiedades de los campos --- -For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv20R10/4D/20-R10/Field-properties.300-7543749.en.html#5523008). +For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv21/4D/21/Field-properties.300-7676763.en.html). ## Class From df665eec8fec54c6c819f16ac2a3ac2a8b870aaf Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 19:43:36 +0200 Subject: [PATCH 19/68] New translations field-properties.md (Japanese) --- .../current/Develop/field-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Develop/field-properties.md b/i18n/ja/docusaurus-plugin-content-docs/current/Develop/field-properties.md index 668003a8ccf9e7..a3dee0bff39419 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Develop/field-properties.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Develop/field-properties.md @@ -3,7 +3,7 @@ id: field-properties title: フィールドプロパティ --- -他のフィールドプロパティについては、[doc.4d.com](https://doc.4d.com/4Dv20R10/4D/20-R10/Field-properties.300-7543749.ja.html#5523008) を参照してください。 +For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv21/4D/21/Field-properties.300-7676763.en.html). ## Class From a3a87e859878173c942c8e7210b3b88f7897a834 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 19:43:38 +0200 Subject: [PATCH 20/68] New translations field-properties.md (Portuguese, Brazilian) --- .../current/Develop/field-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Develop/field-properties.md b/i18n/pt/docusaurus-plugin-content-docs/current/Develop/field-properties.md index 0d96fcfcb26f13..b0213ba5a93a84 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Develop/field-properties.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Develop/field-properties.md @@ -3,7 +3,7 @@ id: field-properties title: Field properties --- -For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv20R10/4D/20-R10/Field-properties.300-7543749.en.html#5523008). +For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv21/4D/21/Field-properties.300-7676763.en.html). ## Class From 3129ea8f9689d6e9333015e42fc030c13d183024 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 19:52:54 +0200 Subject: [PATCH 21/68] New translations field-properties.md (French) --- .../Develop/field-properties.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md index e8cbe982173df0..c3ca0c1e72ffd8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md @@ -3,34 +3,34 @@ id: field-properties title: Propriétés des champs --- -For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv20R10/4D/20-R10/Field-properties.300-7543749.en.html#5523008). +For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv21/4D/21/Field-properties.300-7676763.en.html). ## Class ![](../assets/en/Develop/inspector-class.png) -This property is available for fields of type **Object** (in 4D projects only). It allows you to define a **class-typed object field**, enhancing code completion, syntax checking, and runtime validation when typing code that involves object fields. +Cette propriété est disponible pour les champs de type **Objet** (dans les projets 4D uniquement). Elle vous permet de définir un **champ de type classe d'objet**, ce qui améliore la complétion de code, la vérification syntaxique et la validation d'exécution lors de la saisie de code impliquant des champs objet. -You can enter any valid class name in this property, including: +Vous pouvez saisir n'importe quel nom de classe valide dans cette propriété, y compris : -- User classes (e.g. `cs.MyClass`) -- Built-in 4D classes (e.g. `4D.File`, `4D.Folder`) -- [Exposed](../Extensions/develop-components.md#sharing-of-classes) component-defined classes (e.g. `cs.MyComponent.MyClass`) +- des classes utilisateurs (par exemple `cs.MyClass`) +- des classes 4D intégrées (par exemple `4D.File`, `4D.Folder`) +- des classes [exposées](../Extensions/develop-components.md#sharing-of-classes) définies par les composants (par exemple `cs.MyComponent.MyClass`) -If you enter an invalid class name, a warning is triggered and the input is rejected. +Si vous saisissez un nom de classe non valide, la saisie est rejetée. :::note -**Non-streamable classes** such as [ORDA Data Model classes](../ORDA/ordaClasses.md), [file handles](../API/FileHandleClass.md), [web server](../API/WebServerClass.md)... cannot be associated to object fields. +Les **classes non *streamables*** telles que les [classes du modèle de données ORDA](../ORDA/ordaClasses.md), la classe [FileHandle](../API/FileHandleClass.md), [WebServer](../API/WebServerClass.md)... ne peuvent pas être associées à des champs objets. ::: -In your code, when assigning a value to a class-typed object field, 4D verifies that it belongs to the declared class. If not or if the object has no class, an error is triggered. Accessing unknown attributes will also raise syntax errors. +Dans votre code, lors de l'affectation d'une valeur à un champ de type classe d'objet, 4D vérifie qu'elle appartient à la classe déclarée. Si ce n'est pas le cas ou si l'objet n'a pas de classe, une erreur est déclenchée. L'accès à des attributs inconnus entraîne également des erreurs de syntaxe. -To retrieve the associated class name at runtime, use the [`classID`](../API/DataClassClass.md#attributename) property, for example `ds.MyTable.MyField.classID`. +Pour récupérer le nom de la classe associée lors de l'exécution, utilisez la propriété [`classID`](../API/DataClassClass.md#attributename), par exemple `ds.MyTable.MyField.classID`. ### Voir également -- [Blog post: Stricter class-based typing for objects](https://blog.4d.com/stricter-class-based-typing-for-objects/) +- [Article de blog : Un typage plus strict des objets basé sur les classes](https://blog.4d.com/stricter-class-based-typing-for-objects/) From 8bc6565d1400cc9ea446c00d155c9fe5bfaeebc5 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 19:52:56 +0200 Subject: [PATCH 22/68] New translations field-properties.md (Spanish) --- .../version-20-R10/Develop/field-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md index d486ff3d6bbabd..7efd3ff28141a8 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md @@ -3,7 +3,7 @@ id: field-properties title: Propiedades de los campos --- -For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv20R10/4D/20-R10/Field-properties.300-7543749.en.html#5523008). +For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv21/4D/21/Field-properties.300-7676763.en.html). ## Class From 069aca9955aa741bc130a0abecae5cf626993730 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 19:52:58 +0200 Subject: [PATCH 23/68] New translations field-properties.md (Japanese) --- .../version-20-R10/Develop/field-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md index 668003a8ccf9e7..a3dee0bff39419 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md @@ -3,7 +3,7 @@ id: field-properties title: フィールドプロパティ --- -他のフィールドプロパティについては、[doc.4d.com](https://doc.4d.com/4Dv20R10/4D/20-R10/Field-properties.300-7543749.ja.html#5523008) を参照してください。 +For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv21/4D/21/Field-properties.300-7676763.en.html). ## Class From c228d7235ea25db316a0686f1b1f9b2e69245ca6 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 19:52:59 +0200 Subject: [PATCH 24/68] New translations field-properties.md (Portuguese, Brazilian) --- .../version-20-R10/Develop/field-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md index 0d96fcfcb26f13..b0213ba5a93a84 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R10/Develop/field-properties.md @@ -3,7 +3,7 @@ id: field-properties title: Field properties --- -For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv20R10/4D/20-R10/Field-properties.300-7543749.en.html#5523008). +For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv21/4D/21/Field-properties.300-7676763.en.html). ## Class From 0c2589251d0080b300a127850d4375abe2df174f Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 20:00:04 +0200 Subject: [PATCH 25/68] New translations properties_action.md (French) --- .../version-20-R10/FormObjects/properties_Action.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md index 35f9af9007f7a2..2405612664b108 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md @@ -191,15 +191,15 @@ Dans d'autres cas (list box basées sur des sélections nommées, colonnes assoc ## Action standard -Les actions types effectuées par les objets actifs (par exemple, permettre à l'utilisateur d'accepter, d'annuler ou de supprimer des enregistrements, de passer d'un enregistrement à l'autre ou d'une page à l'autre dans un formulaire à plusieurs pages, etc.) ont été prédéfinies par 4D comme des actions standard. Elles sont décrites en détail dans la section [Actions standard](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) du *manuel de développement*. +Les actions types effectuées par les objets actifs (par exemple, permettre à l'utilisateur d'accepter, d'annuler ou de supprimer des enregistrements, de passer d'un enregistrement à l'autre ou d'une page à l'autre dans un formulaire à plusieurs pages, etc.) ont été prédéfinies par 4D comme des actions standard. Elles sont décrites en détail dans la section [Actions standard](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) du *manuel de développement*. There are also [standard actions specific to 4D Write Pro areas](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). Vous pouvez associer à la fois une action standard et une méthode projet à un objet. Dans ce cas, l'action standard est généralement exécutée après la méthode et 4D utilise cette action pour activer/désactiver l'objet en fonction du contexte courant. Lorsqu’un objet est désactivé, la méthode projet associée ne peut être exécutée. #### Grammaire JSON -| Nom | Type de données | Valeurs possibles | -| ------ | --------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| action | string | Le nom d'une [action standard valide](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html). | +| Nom | Type de données | Valeurs possibles | +| ------ | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| action | string | The name of a valid [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) or [4D Write Pro standard action](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). | #### Objets pris en charge From da6449e63a51654ff94e0b448a3e354872db4023 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 20:00:08 +0200 Subject: [PATCH 26/68] New translations properties_action.md (Spanish) --- .../version-20-R10/FormObjects/properties_Action.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md index 1e4635722fa0b1..879812bdbe3360 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md @@ -189,15 +189,15 @@ En otros casos (list box basados en selecciones temporales, columnas asociadas a ## Acción estándar -Actividades típicas que deben realizar los objetos activos (\*por ejemplo, permitir al usuario aceptar, cancelar o eliminar registros, desplazarse entre registros o de una página a otra en un formulario multipágina, etc.) han sido predefinidas por 4D como acciones estándar. Se describen con detalle en la sección [Acciones estándar](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) de la *manual de Diseño*. +Actividades típicas que deben realizar los objetos activos (\*por ejemplo, permitir al usuario aceptar, cancelar o eliminar registros, desplazarse entre registros o de una página a otra en un formulario multipágina, etc.) han sido predefinidas por 4D como acciones estándar. Se describen con detalle en la sección [Acciones estándar](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) de la *manual de Diseño*. There are also [standard actions specific to 4D Write Pro areas](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). Puede asignar al mismo tiempo una acción estándar y un método proyecto de un objeto. En este caso, la acción estándar suele ejecutarse después del método y 4D utiliza esta acción para activar/desactivar el objeto según el contexto actual. Cuando se desactiva un objeto, no se puede ejecutar el método proyecto asociado. #### Gramática JSON -| Nombre | Tipos de datos | Valores posibles | -| ------ | -------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| action | string | El nombre de una [acción estándar válida](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html). | +| Nombre | Tipos de datos | Valores posibles | +| ------ | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| action | string | The name of a valid [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) or [4D Write Pro standard action](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). | #### Objetos soportados From 64076fc6956e714c11daebbfb0c5c6183286fc41 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 20:00:10 +0200 Subject: [PATCH 27/68] New translations properties_action.md (Japanese) --- .../version-20-R10/FormObjects/properties_Action.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md index aad5530955644b..36a6abaf633cf6 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md @@ -212,15 +212,15 @@ title: 動作 ## 標準アクション -アクティブオブジェクトにより実行される典型的な処理 (例: レコードの入力・取り消し・削除、レコード間の移動、マルチページフォームでのページ間の移動、など) は、4D より標準アクションとして提供されています。 詳細な情報に関しては、*デザインリファレンス* の [標準アクション](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.ja.html) の章を参照ください。 +アクティブオブジェクトにより実行される典型的な処理 (例: レコードの入力・取り消し・削除、レコード間の移動、マルチページフォームでのページ間の移動、など) は、4D より標準アクションとして提供されています。 詳細な情報に関しては、*デザインリファレンス* の [標準アクション](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.ja.html) の章を参照ください。 There are also [standard actions specific to 4D Write Pro areas](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). フォームオブジェクトには、標準アクションとメソッドの両方を割り当てることができます。 この場合、標準アクションは通常、メソッドの後に実行されます。また、4D はこのアクションを使用して、カレントコンテキストに応じてオブジェクトを有効化/無効化します。 フォームオブジェクトが無効化されていた場合、関連づけられたメソッドは実行されません。 #### JSON 文法 -| 名称 | データタイプ | とりうる値 | -| ------ | ------ | ------------------------------------------------------------------------------------ | -| action | string | 有効な [標準アクション](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.ja.html) | +| 名称 | データタイプ | とりうる値 | +| ------ | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| action | string | The name of a valid [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) or [4D Write Pro standard action](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). | #### 対象オブジェクト From b0a7c65b02e329442cfbaff770ea6f8e98a6421e Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 20:00:13 +0200 Subject: [PATCH 28/68] New translations properties_action.md (Portuguese, Brazilian) --- .../version-20-R10/FormObjects/properties_Action.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md index cbf8415a3b5a49..9abf540b4ddac0 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R10/FormObjects/properties_Action.md @@ -191,15 +191,15 @@ Em outros casos (list box baseados em seleções nomeadas, colunas associadas co ## Ação padrão -Atividades típicas a serem executadas por objetos ativos (\*e.g., permitindo que o usuário aceite, cancele ou exclua registros, mova entre registros ou de página para página em um formulário multi-páginas, etc.) foi predefinido por 4D como ações padrão. Eles são descritos em detalhes na seção [Ações padrão](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) do *manual de Desenho*. +Atividades típicas a serem executadas por objetos ativos (\*e.g., permitindo que o usuário aceite, cancele ou exclua registros, mova entre registros ou de página para página em um formulário multi-páginas, etc.) foi predefinido por 4D como ações padrão. Eles são descritos em detalhes na seção [Ações padrão](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) do *manual de Desenho*. There are also [standard actions specific to 4D Write Pro areas](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). Você pode atribuir uma ação padrão e um método projeto de um objeto. Neste caso, a ação padrão é geralmente executada depois que o método e o 4D usa esta ação para ativar/desativar o objeto conforme o contexto atual. Quando um objeto é desativado, o método projeto associado não pode ser executado. #### Gramática JSON -| Nome | Tipo de dados | Valores possíveis | -| ------ | ------------- | -------------------------------------------------------------------------------------------------------------------------- | -| action | string | O nome de uma [ação padrão válida](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html). | +| Nome | Tipo de dados | Valores possíveis | +| ------ | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| action | string | The name of a valid [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) or [4D Write Pro standard action](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). | #### Objectos suportados From 6b5a4cb60628c6da9a6be4224d2e50633bb19a39 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 20:05:27 +0200 Subject: [PATCH 29/68] New translations entities.md (French) --- .../version-20-R10/ORDA/entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md b/i18n/fr/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md index 304b4e4426c4d5..460a8d4b10f780 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md @@ -462,7 +462,7 @@ Function event restrict() -> $result : cs.*DataClassName*Selection Cette fonction est appelée chaque fois qu'une entity selection ou une entité de la dataclass est demandée. Le filtre est exécuté une seule fois, lors de la création de l'entity selection. -Le filtre doit retourner une entity selection de la dataclass. Il peut s'agir d'une entity selection basée sur une recherche, stockée dans le [`Storage`], etc. +Le filtre doit retourner une entity selection de la dataclass. It can be an entity selection built upon a query, stored in the [`Storage`](../API/SessionClass.md#storage), etc. :::note From dfd78ee5161afe1a4f128d0b64509e0076ec638d Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 20:05:29 +0200 Subject: [PATCH 30/68] New translations entities.md (Spanish) --- .../version-20-R10/ORDA/entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md b/i18n/es/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md index 7a2db28e32c11f..1d3ac2bbf5320c 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md @@ -462,7 +462,7 @@ Function event restrict() -> $result : cs.*DataClassName*Selection Esta función se llama cada vez que se solicita una selección de entidades o una entidad de la dataclass. El filtro se ejecuta una vez, cuando se crea la selección de entidades. -El filtro debe devolver una selección de entidades de la clase de datos. Puede ser una selección de entidades creada a partir de una consulta, almacenada en el [`Storage`], etc. +El filtro debe devolver una selección de entidades de la clase de datos. It can be an entity selection built upon a query, stored in the [`Storage`](../API/SessionClass.md#storage), etc. :::note From 2c9a9c85c8f8b34412589510bbbcb05ecdcda2dd Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 20:05:31 +0200 Subject: [PATCH 31/68] New translations entities.md (Japanese) --- .../version-20-R10/ORDA/entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md index 29e1132a0df443..eb60ae72c2ff5e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md @@ -469,7 +469,7 @@ Function event restrict() -> $result : cs.*DataClassName*Selection この関数は、データクラスのエンティティセレクションまたはエンティティが要求されるたびに呼び出されます。 フィルターは、エンティティセレクションが作成されたときに一度だけ実行されます。 -フィルターは、データクラスのエンティティセレクションを返さなければなりません。 戻り値のエンティティセレクションには、クエリの結果や、[`Storage`] に格納されているものなどが使えます。 +フィルターは、データクラスのエンティティセレクションを返さなければなりません。 It can be an entity selection built upon a query, stored in the [`Storage`](../API/SessionClass.md#storage), etc. :::note From 23a6534e6f9012324d22aff9b94532a56e56a742 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 20:05:34 +0200 Subject: [PATCH 32/68] New translations entities.md (Portuguese, Brazilian) --- .../version-20-R10/ORDA/entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md b/i18n/pt/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md index 0ab195287b1363..e03a8ca21a49cf 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-20-R10/ORDA/entities.md @@ -463,7 +463,7 @@ Function event restrict() -> $result : cs.*DataClassName*Selection Esta função é chamada sempre que uma seleção de entidade ou uma entidade da classe de dados é solicitada. O filtro é executado uma vez, quando a entity selection é criada. -O filtro deve retornar uma seleção de entidade da dataclass. Puede ser una selección de entidades creada a partir de una consulta, almacenada en el [`Storage`], etc. +O filtro deve retornar uma seleção de entidade da dataclass. It can be an entity selection built upon a query, stored in the [`Storage`](../API/SessionClass.md#storage), etc. :::note From fd8fcf553d16b1a35376ef12d537153b5a0a2c5a Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 21:50:28 +0200 Subject: [PATCH 33/68] New translations dataclassclass.md (French) --- .../version-21/API/DataClassClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md index b19e8e8e1e63c4..a38923d1b9c912 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md @@ -1181,11 +1181,11 @@ Si *attributePath* désigne un attribut stockant des [**objets vecteurs**](../AP Dans ce cas, le paramètre *value* doit être un **objet vecteur de comparaison** contenant les propriétés suivantes : -| Propriété | Type | Description | -| --------- | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| vector | [4D.Vector](../API/VectorClass.md) | Obligatoire. Le vecteur à comparer | -| metric | Text | Optionnel. [Calcul vectoriel](../API/VectorClass.md#understanding-the-different-vector-computations) à utiliser pour la recherche. Vous pouvez utiliser l'une des constantes (texte) suivantes
  • :`mk cosine` (par défaut si omis) : calcule la distance cosinus entre les vecteurs.
  • `mk dot` : calcule la similarité en points des vecteurs.
  • `mk euclidean` : calcule la distance euclidienne entre les vecteurs. | -| threshold | Real | Facultatif (valeur par défaut : 0,5). Valeur seuil utilisée pour filtrer les comparaisons de vecteurs sur la base de leur score de similarité cosinus, point ou euclidienne selon la "métrique" sélectionnée. Il est fortement recommandé de choisir une similitude qui corresponde le mieux à votre cas d'utilisation spécifique pour des résultats optimaux. | +| Propriété | Type | Description | +| --------- | -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| vector | [4D.Vector](../API/VectorClass.md) | Obligatoire. Le vecteur à comparer | +| metric | Text | Optionnel. [Calcul vectoriel](../API/VectorClass.md#understanding-the-different-vector-computations) à utiliser pour la recherche. You can use one of the following (Text) constants:
  • `mk cosine` (default if omitted): calculates the cosine similarity between vectors.
  • `mk dot` : calcule la similarité en points des vecteurs.
  • `mk euclidean` : calcule la distance euclidienne entre les vecteurs. | +| threshold | Real | Facultatif (valeur par défaut : 0,5). Valeur seuil utilisée pour filtrer les comparaisons de vecteurs sur la base de leur score de similarité cosinus, point ou euclidienne selon la "métrique" sélectionnée. Il est fortement recommandé de choisir une similitude qui corresponde le mieux à votre cas d'utilisation spécifique pour des résultats optimaux. | Seul un sous-ensemble de symboles **comparateurs** est pris en charge. Notez qu'ils comparent les résultats à la valeur de seuil (threshold) : From bda66179f1946a659124d9d1301d00d989c22426 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 21:50:32 +0200 Subject: [PATCH 34/68] New translations dataclassclass.md (Spanish) --- .../version-21/API/DataClassClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md b/i18n/es/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md index 11ce46e883e739..d300006546e7b0 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md @@ -1187,11 +1187,11 @@ Si *attributePath* designa un atributo que almacena [**objetos vectores**](../AP En este caso, el parámetro *value* debe ser un **objeto vectorial de comparación** que contenga las siguientes propiedades: -| Propiedad | Tipo | Descripción | -| --------- | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| vector | [4D.Vector](../API/VectorClass.md) | Obligatorio. El vector a comparar | -| metric | Text | Opcional. [Cálculo vectorial](../API/VectorClass.md#understanding-the-different-vector-computations) a utilizar para la consulta. You can use one of the following (Text) constants:
  • `mk cosine` (default if omitted): calculates the cosine distance between vectors.
  • `mk dot`: calcula la similitud en puntos de los vectores.
  • `mk euclidean`: calcula la distancia euclidiana entre vectores. | -| threshold | Real | Opcional (por defecto: 0,5). Un valor umbral utilizado para filtrar las comparaciones de vectores en función de su puntuación de similitud coseno, punto o euclídea según la "métrica" seleccionada. Es altamente recomendable elegir una similitud que se adapte mejor a su caso de uso específico para obtener resultados óptimos. | +| Propiedad | Tipo | Descripción | +| --------- | -------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| vector | [4D.Vector](../API/VectorClass.md) | Obligatorio. El vector a comparar | +| metric | Text | Opcional. [Cálculo vectorial](../API/VectorClass.md#understanding-the-different-vector-computations) a utilizar para la consulta. You can use one of the following (Text) constants:
  • `mk cosine` (default if omitted): calculates the cosine similarity between vectors.
  • `mk dot`: calcula la similitud en puntos de los vectores.
  • `mk euclidean`: calcula la distancia euclidiana entre vectores. | +| threshold | Real | Opcional (por defecto: 0,5). Un valor umbral utilizado para filtrar las comparaciones de vectores en función de su puntuación de similitud coseno, punto o euclídea según la "métrica" seleccionada. Es altamente recomendable elegir una similitud que se adapte mejor a su caso de uso específico para obtener resultados óptimos. | Sólo se admite un subconjunto de símbolos **comparadores**. Tenga en cuenta que comparan los resultados con el valor umbral: From 349a54697f59c8f2f3e49b7625fc2e3254ea310a Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 21:50:35 +0200 Subject: [PATCH 35/68] New translations dataclassclass.md (Japanese) --- .../version-21/API/DataClassClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md index 84c53958a0def8..c6ce0426d6b2c3 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md @@ -1187,11 +1187,11 @@ $es:=ds.Movie.query("roles.actor.lastName = :1 AND roles.actor{2}.lastName = :2" この場合、*value* 引数は、以下のプロパティを格納した**比較ベクトルオブジェクト** である必要があります: -| プロパティ | 型 | 説明 | -| --------- | -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| vector | [4D.Vector](../API/VectorClass.md) | 必須設定です。 比較するベクトル | -| metric | Text | 任意。 クエリに使用する[ベクトル計算](../API/VectorClass.md#ことなるベクトル計算を理解する)。 以下の(テキスト)定数のいずれか一つを使用できます:
  • `mk cosine` (省略時のデフォルト): ベクトル間のコサイン距離を計算します。
  • `mk dot`: ベクトルのドット類似度を計算します。
  • `mk euclidean`: ベクトル間のユークリッド距離を計算します。 | -| threshold | Real | 任意(デフォルト: 0.5)。 選択された"metric"に従って、コサイン、ドット、またはユークリッド類似度に基づいたベクトル比較をフィルタリングするために使用されるしきい値。 最適な結果を得るためには、特定の用途に最適な類似度のしきい値をきちんと選択することが強く推奨されます。 | +| プロパティ | 型 | 説明 | +| --------- | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| vector | [4D.Vector](../API/VectorClass.md) | 必須設定です。 比較するベクトル | +| metric | Text | 任意。 クエリに使用する[ベクトル計算](../API/VectorClass.md#ことなるベクトル計算を理解する)。 You can use one of the following (Text) constants:
  • `mk cosine` (default if omitted): calculates the cosine similarity between vectors.
  • `mk dot`: ベクトルのドット類似度を計算します。
  • `mk euclidean`: ベクトル間のユークリッド距離を計算します。 | +| threshold | Real | 任意(デフォルト: 0.5)。 選択された"metric"に従って、コサイン、ドット、またはユークリッド類似度に基づいたベクトル比較をフィルタリングするために使用されるしきい値。 最適な結果を得るためには、特定の用途に最適な類似度のしきい値をきちんと選択することが強く推奨されます。 | **comparator** 記号の、一部のみがサポートされます。 これらの比較記号は、結果としきい値を比較するのに使用されるという点に注意してください: From dbfe2e60532a0ce58855a16aaa4836433ed19f9d Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 21:50:39 +0200 Subject: [PATCH 36/68] New translations dataclassclass.md (Portuguese, Brazilian) --- .../version-21/API/DataClassClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md index 59ef8f0eddf9b7..53d16f66e9a596 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/API/DataClassClass.md @@ -1182,11 +1182,11 @@ If *attributePath* designates an attribute storing [**vector objects**](../API/V In this case, the *value* parameter must be a **comparison vector object** containing the following properties: -| Propriedade | Tipo | Descrição | -| ----------- | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| vector | [4D.Vector](../API/VectorClass.md) | Obrigatório. The vector to be compared | -| metric | Text | Opcional. [Vector computation](../API/VectorClass.md#understanding-the-different-vector-computations) to use for the query. You can use one of the following (Text) constants:
  • `mk cosine` (default if omitted): calculates the cosine distance between vectors.
  • `mk dot`: calculates the dot similarity of vectors.
  • `mk euclidean`: calculates the Euclidean distance between vectors. | -| threshold | Real | Optional (default: 0.5). A threshold value used to filter vector comparisons based on their cosine, dot or euclidean similarity score according to the selected "metric". It is highly recommended to choose a similarity that best fits your specific use case for optimal results. | +| Propriedade | Tipo | Descrição | +| ----------- | -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| vector | [4D.Vector](../API/VectorClass.md) | Obrigatório. The vector to be compared | +| metric | Text | Opcional. [Vector computation](../API/VectorClass.md#understanding-the-different-vector-computations) to use for the query. You can use one of the following (Text) constants:
  • `mk cosine` (default if omitted): calculates the cosine similarity between vectors.
  • `mk dot`: calculates the dot similarity of vectors.
  • `mk euclidean`: calculates the Euclidean distance between vectors. | +| threshold | Real | Optional (default: 0.5). A threshold value used to filter vector comparisons based on their cosine, dot or euclidean similarity score according to the selected "metric". It is highly recommended to choose a similarity that best fits your specific use case for optimal results. | Only a subset of **comparator** symbols are supported. Note that they compare results to the threshold value: From 7054d6b3bbd157f3aafe37123c9fa9e9c4f18e40 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 21:58:23 +0200 Subject: [PATCH 37/68] New translations field-properties.md (French) --- .../version-21/Develop/field-properties.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md index e8cbe982173df0..c3ca0c1e72ffd8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md @@ -3,34 +3,34 @@ id: field-properties title: Propriétés des champs --- -For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv20R10/4D/20-R10/Field-properties.300-7543749.en.html#5523008). +For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv21/4D/21/Field-properties.300-7676763.en.html). ## Class ![](../assets/en/Develop/inspector-class.png) -This property is available for fields of type **Object** (in 4D projects only). It allows you to define a **class-typed object field**, enhancing code completion, syntax checking, and runtime validation when typing code that involves object fields. +Cette propriété est disponible pour les champs de type **Objet** (dans les projets 4D uniquement). Elle vous permet de définir un **champ de type classe d'objet**, ce qui améliore la complétion de code, la vérification syntaxique et la validation d'exécution lors de la saisie de code impliquant des champs objet. -You can enter any valid class name in this property, including: +Vous pouvez saisir n'importe quel nom de classe valide dans cette propriété, y compris : -- User classes (e.g. `cs.MyClass`) -- Built-in 4D classes (e.g. `4D.File`, `4D.Folder`) -- [Exposed](../Extensions/develop-components.md#sharing-of-classes) component-defined classes (e.g. `cs.MyComponent.MyClass`) +- des classes utilisateurs (par exemple `cs.MyClass`) +- des classes 4D intégrées (par exemple `4D.File`, `4D.Folder`) +- des classes [exposées](../Extensions/develop-components.md#sharing-of-classes) définies par les composants (par exemple `cs.MyComponent.MyClass`) -If you enter an invalid class name, a warning is triggered and the input is rejected. +Si vous saisissez un nom de classe non valide, la saisie est rejetée. :::note -**Non-streamable classes** such as [ORDA Data Model classes](../ORDA/ordaClasses.md), [file handles](../API/FileHandleClass.md), [web server](../API/WebServerClass.md)... cannot be associated to object fields. +Les **classes non *streamables*** telles que les [classes du modèle de données ORDA](../ORDA/ordaClasses.md), la classe [FileHandle](../API/FileHandleClass.md), [WebServer](../API/WebServerClass.md)... ne peuvent pas être associées à des champs objets. ::: -In your code, when assigning a value to a class-typed object field, 4D verifies that it belongs to the declared class. If not or if the object has no class, an error is triggered. Accessing unknown attributes will also raise syntax errors. +Dans votre code, lors de l'affectation d'une valeur à un champ de type classe d'objet, 4D vérifie qu'elle appartient à la classe déclarée. Si ce n'est pas le cas ou si l'objet n'a pas de classe, une erreur est déclenchée. L'accès à des attributs inconnus entraîne également des erreurs de syntaxe. -To retrieve the associated class name at runtime, use the [`classID`](../API/DataClassClass.md#attributename) property, for example `ds.MyTable.MyField.classID`. +Pour récupérer le nom de la classe associée lors de l'exécution, utilisez la propriété [`classID`](../API/DataClassClass.md#attributename), par exemple `ds.MyTable.MyField.classID`. ### Voir également -- [Blog post: Stricter class-based typing for objects](https://blog.4d.com/stricter-class-based-typing-for-objects/) +- [Article de blog : Un typage plus strict des objets basé sur les classes](https://blog.4d.com/stricter-class-based-typing-for-objects/) From 4a6071a7657c915e39df64479e63b4b043552178 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 21:58:25 +0200 Subject: [PATCH 38/68] New translations field-properties.md (Spanish) --- .../version-21/Develop/field-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md b/i18n/es/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md index d486ff3d6bbabd..7efd3ff28141a8 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md @@ -3,7 +3,7 @@ id: field-properties title: Propiedades de los campos --- -For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv20R10/4D/20-R10/Field-properties.300-7543749.en.html#5523008). +For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv21/4D/21/Field-properties.300-7676763.en.html). ## Class From 4da144cd220a927c31b224c654cfb20a0a84c9b9 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 21:58:27 +0200 Subject: [PATCH 39/68] New translations field-properties.md (Japanese) --- .../version-21/Develop/field-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md index 668003a8ccf9e7..a3dee0bff39419 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md @@ -3,7 +3,7 @@ id: field-properties title: フィールドプロパティ --- -他のフィールドプロパティについては、[doc.4d.com](https://doc.4d.com/4Dv20R10/4D/20-R10/Field-properties.300-7543749.ja.html#5523008) を参照してください。 +For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv21/4D/21/Field-properties.300-7676763.en.html). ## Class From 6bdc1862d5d8cb018df26427c3321c86e61071a1 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 21:58:28 +0200 Subject: [PATCH 40/68] New translations field-properties.md (Portuguese, Brazilian) --- .../version-21/Develop/field-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md index 0d96fcfcb26f13..b0213ba5a93a84 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/Develop/field-properties.md @@ -3,7 +3,7 @@ id: field-properties title: Field properties --- -For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv20R10/4D/20-R10/Field-properties.300-7543749.en.html#5523008). +For other field properties, please refer to [doc.4d.com](https://doc.4d.com/4Dv21/4D/21/Field-properties.300-7676763.en.html). ## Class From ea348433e5efff63b1a4604ca01d7d53a4927883 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 22:05:36 +0200 Subject: [PATCH 41/68] New translations properties_action.md (French) --- .../version-21/FormObjects/properties_Action.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md index 35f9af9007f7a2..2405612664b108 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md @@ -191,15 +191,15 @@ Dans d'autres cas (list box basées sur des sélections nommées, colonnes assoc ## Action standard -Les actions types effectuées par les objets actifs (par exemple, permettre à l'utilisateur d'accepter, d'annuler ou de supprimer des enregistrements, de passer d'un enregistrement à l'autre ou d'une page à l'autre dans un formulaire à plusieurs pages, etc.) ont été prédéfinies par 4D comme des actions standard. Elles sont décrites en détail dans la section [Actions standard](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) du *manuel de développement*. +Les actions types effectuées par les objets actifs (par exemple, permettre à l'utilisateur d'accepter, d'annuler ou de supprimer des enregistrements, de passer d'un enregistrement à l'autre ou d'une page à l'autre dans un formulaire à plusieurs pages, etc.) ont été prédéfinies par 4D comme des actions standard. Elles sont décrites en détail dans la section [Actions standard](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) du *manuel de développement*. There are also [standard actions specific to 4D Write Pro areas](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). Vous pouvez associer à la fois une action standard et une méthode projet à un objet. Dans ce cas, l'action standard est généralement exécutée après la méthode et 4D utilise cette action pour activer/désactiver l'objet en fonction du contexte courant. Lorsqu’un objet est désactivé, la méthode projet associée ne peut être exécutée. #### Grammaire JSON -| Nom | Type de données | Valeurs possibles | -| ------ | --------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| action | string | Le nom d'une [action standard valide](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html). | +| Nom | Type de données | Valeurs possibles | +| ------ | --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| action | string | The name of a valid [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) or [4D Write Pro standard action](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). | #### Objets pris en charge From 60038841c1562cb2c3fd9b60eec6b8ab4755ff00 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 22:05:38 +0200 Subject: [PATCH 42/68] New translations properties_action.md (Spanish) --- .../version-21/FormObjects/properties_Action.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md b/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md index 1e4635722fa0b1..879812bdbe3360 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md @@ -189,15 +189,15 @@ En otros casos (list box basados en selecciones temporales, columnas asociadas a ## Acción estándar -Actividades típicas que deben realizar los objetos activos (\*por ejemplo, permitir al usuario aceptar, cancelar o eliminar registros, desplazarse entre registros o de una página a otra en un formulario multipágina, etc.) han sido predefinidas por 4D como acciones estándar. Se describen con detalle en la sección [Acciones estándar](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) de la *manual de Diseño*. +Actividades típicas que deben realizar los objetos activos (\*por ejemplo, permitir al usuario aceptar, cancelar o eliminar registros, desplazarse entre registros o de una página a otra en un formulario multipágina, etc.) han sido predefinidas por 4D como acciones estándar. Se describen con detalle en la sección [Acciones estándar](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) de la *manual de Diseño*. There are also [standard actions specific to 4D Write Pro areas](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). Puede asignar al mismo tiempo una acción estándar y un método proyecto de un objeto. En este caso, la acción estándar suele ejecutarse después del método y 4D utiliza esta acción para activar/desactivar el objeto según el contexto actual. Cuando se desactiva un objeto, no se puede ejecutar el método proyecto asociado. #### Gramática JSON -| Nombre | Tipos de datos | Valores posibles | -| ------ | -------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| action | string | El nombre de una [acción estándar válida](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html). | +| Nombre | Tipos de datos | Valores posibles | +| ------ | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| action | string | The name of a valid [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) or [4D Write Pro standard action](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). | #### Objetos soportados From 22bd0c061d5b19094204c1b2169afa919715229a Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 22:05:40 +0200 Subject: [PATCH 43/68] New translations properties_action.md (Japanese) --- .../version-21/FormObjects/properties_Action.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md index aad5530955644b..36a6abaf633cf6 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md @@ -212,15 +212,15 @@ title: 動作 ## 標準アクション -アクティブオブジェクトにより実行される典型的な処理 (例: レコードの入力・取り消し・削除、レコード間の移動、マルチページフォームでのページ間の移動、など) は、4D より標準アクションとして提供されています。 詳細な情報に関しては、*デザインリファレンス* の [標準アクション](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.ja.html) の章を参照ください。 +アクティブオブジェクトにより実行される典型的な処理 (例: レコードの入力・取り消し・削除、レコード間の移動、マルチページフォームでのページ間の移動、など) は、4D より標準アクションとして提供されています。 詳細な情報に関しては、*デザインリファレンス* の [標準アクション](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.ja.html) の章を参照ください。 There are also [standard actions specific to 4D Write Pro areas](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). フォームオブジェクトには、標準アクションとメソッドの両方を割り当てることができます。 この場合、標準アクションは通常、メソッドの後に実行されます。また、4D はこのアクションを使用して、カレントコンテキストに応じてオブジェクトを有効化/無効化します。 フォームオブジェクトが無効化されていた場合、関連づけられたメソッドは実行されません。 #### JSON 文法 -| 名称 | データタイプ | とりうる値 | -| ------ | ------ | ------------------------------------------------------------------------------------ | -| action | string | 有効な [標準アクション](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.ja.html) | +| 名称 | データタイプ | とりうる値 | +| ------ | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| action | string | The name of a valid [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) or [4D Write Pro standard action](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). | #### 対象オブジェクト From 964df0cecec0ed565c355297c526002952c957fb Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 22:05:42 +0200 Subject: [PATCH 44/68] New translations properties_action.md (Portuguese, Brazilian) --- .../version-21/FormObjects/properties_Action.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md index cbf8415a3b5a49..9abf540b4ddac0 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/FormObjects/properties_Action.md @@ -191,15 +191,15 @@ Em outros casos (list box baseados em seleções nomeadas, colunas associadas co ## Ação padrão -Atividades típicas a serem executadas por objetos ativos (\*e.g., permitindo que o usuário aceite, cancele ou exclua registros, mova entre registros ou de página para página em um formulário multi-páginas, etc.) foi predefinido por 4D como ações padrão. Eles são descritos em detalhes na seção [Ações padrão](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) do *manual de Desenho*. +Atividades típicas a serem executadas por objetos ativos (\*e.g., permitindo que o usuário aceite, cancele ou exclua registros, mova entre registros ou de página para página em um formulário multi-páginas, etc.) foi predefinido por 4D como ações padrão. Eles são descritos em detalhes na seção [Ações padrão](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) do *manual de Desenho*. There are also [standard actions specific to 4D Write Pro areas](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). Você pode atribuir uma ação padrão e um método projeto de um objeto. Neste caso, a ação padrão é geralmente executada depois que o método e o 4D usa esta ação para ativar/desativar o objeto conforme o contexto atual. Quando um objeto é desativado, o método projeto associado não pode ser executado. #### Gramática JSON -| Nome | Tipo de dados | Valores possíveis | -| ------ | ------------- | -------------------------------------------------------------------------------------------------------------------------- | -| action | string | O nome de uma [ação padrão válida](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html). | +| Nome | Tipo de dados | Valores possíveis | +| ------ | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| action | string | The name of a valid [standard action](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html) or [4D Write Pro standard action](../WritePro/user-legacy/defining-a-4d-write-pro-area.md#standard-actions). | #### Objectos suportados From c609312d484ab8e2fb6ccade15583e1a6e2060b4 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 22:55:00 +0200 Subject: [PATCH 45/68] New translations entities.md (French) --- .../docusaurus-plugin-content-docs/version-21/ORDA/entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/ORDA/entities.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/ORDA/entities.md index 304b4e4426c4d5..460a8d4b10f780 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/ORDA/entities.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/ORDA/entities.md @@ -462,7 +462,7 @@ Function event restrict() -> $result : cs.*DataClassName*Selection Cette fonction est appelée chaque fois qu'une entity selection ou une entité de la dataclass est demandée. Le filtre est exécuté une seule fois, lors de la création de l'entity selection. -Le filtre doit retourner une entity selection de la dataclass. Il peut s'agir d'une entity selection basée sur une recherche, stockée dans le [`Storage`], etc. +Le filtre doit retourner une entity selection de la dataclass. It can be an entity selection built upon a query, stored in the [`Storage`](../API/SessionClass.md#storage), etc. :::note From 7a460acd15c4dc01b880ceeeb20759eb52f40bb6 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 22:55:02 +0200 Subject: [PATCH 46/68] New translations entities.md (Spanish) --- .../docusaurus-plugin-content-docs/version-21/ORDA/entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/ORDA/entities.md b/i18n/es/docusaurus-plugin-content-docs/version-21/ORDA/entities.md index 7a2db28e32c11f..1d3ac2bbf5320c 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/ORDA/entities.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/ORDA/entities.md @@ -462,7 +462,7 @@ Function event restrict() -> $result : cs.*DataClassName*Selection Esta función se llama cada vez que se solicita una selección de entidades o una entidad de la dataclass. El filtro se ejecuta una vez, cuando se crea la selección de entidades. -El filtro debe devolver una selección de entidades de la clase de datos. Puede ser una selección de entidades creada a partir de una consulta, almacenada en el [`Storage`], etc. +El filtro debe devolver una selección de entidades de la clase de datos. It can be an entity selection built upon a query, stored in the [`Storage`](../API/SessionClass.md#storage), etc. :::note From 893657284e5a1d2f9ff2376481a9360843cfcf18 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 22:55:04 +0200 Subject: [PATCH 47/68] New translations entities.md (Japanese) --- .../docusaurus-plugin-content-docs/version-21/ORDA/entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/ORDA/entities.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/ORDA/entities.md index 29e1132a0df443..eb60ae72c2ff5e 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/ORDA/entities.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/ORDA/entities.md @@ -469,7 +469,7 @@ Function event restrict() -> $result : cs.*DataClassName*Selection この関数は、データクラスのエンティティセレクションまたはエンティティが要求されるたびに呼び出されます。 フィルターは、エンティティセレクションが作成されたときに一度だけ実行されます。 -フィルターは、データクラスのエンティティセレクションを返さなければなりません。 戻り値のエンティティセレクションには、クエリの結果や、[`Storage`] に格納されているものなどが使えます。 +フィルターは、データクラスのエンティティセレクションを返さなければなりません。 It can be an entity selection built upon a query, stored in the [`Storage`](../API/SessionClass.md#storage), etc. :::note From 0f804b3a0c0999a911f66e3a7242daaee5d0b188 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 22:55:06 +0200 Subject: [PATCH 48/68] New translations entities.md (Portuguese, Brazilian) --- .../docusaurus-plugin-content-docs/version-21/ORDA/entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/ORDA/entities.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/ORDA/entities.md index 0ab195287b1363..e03a8ca21a49cf 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21/ORDA/entities.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/ORDA/entities.md @@ -463,7 +463,7 @@ Function event restrict() -> $result : cs.*DataClassName*Selection Esta função é chamada sempre que uma seleção de entidade ou uma entidade da classe de dados é solicitada. O filtro é executado uma vez, quando a entity selection é criada. -O filtro deve retornar uma seleção de entidade da dataclass. Puede ser una selección de entidades creada a partir de una consulta, almacenada en el [`Storage`], etc. +O filtro deve retornar uma seleção de entidade da dataclass. It can be an entity selection built upon a query, stored in the [`Storage`](../API/SessionClass.md#storage), etc. :::note From b00920aac73bc043cbff0e7aefa60e12bee0620f Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 22:57:30 +0200 Subject: [PATCH 49/68] New translations $filter.md (French) --- .../version-21/REST/$filter.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/version-21/REST/$filter.md b/i18n/fr/docusaurus-plugin-content-docs/version-21/REST/$filter.md index 34fb6f7e9a251a..e17f1cb10ba4d0 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/version-21/REST/$filter.md +++ b/i18n/fr/docusaurus-plugin-content-docs/version-21/REST/$filter.md @@ -90,11 +90,11 @@ Use the `params` property to provide the filter with the vector comparison param The *vectorComparison* parameter is a collection of the following elements: -| Propriété | Type | Description | | -| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [].vector | Collection d'objets) | Obligatoire. A collection that represents the vector to compare | | -| [].metric | Text | Optionnel. [Calcul vectoriel](../API/VectorClass.md#understanding-the-different-vector-computations) à utiliser pour la recherche. Valeurs prises en charge :
  • "cosine" (valeur par défaut si omis) : calcule la distance cosinus entre les vecteurs.
  • "dot" : calcule la similarité de points des vecteurs.
  • "euclidean" : calcule la distance euclidienne entre les vecteurs. | | -| | [].threshold | Real | Facultatif (valeur par défaut : 0,5). Valeur seuil utilisée pour filtrer les comparaisons de vecteurs sur la base de leur score de similarité cosinus, point ou euclidienne selon la "métrique" sélectionnée. Il est fortement recommandé de choisir une similitude qui corresponde le mieux à votre cas d'utilisation spécifique pour des résultats optimaux. | +| Propriété | Type | Description | +| -------------------------------------------------------------------------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [].vector | Collection of numbers | Obligatoire. A collection that represents the vector to compare | +| [].metric | Text | Optionnel. [Calcul vectoriel](../API/VectorClass.md#understanding-the-different-vector-computations) à utiliser pour la recherche. Supported values:
  • "cosine" (default if omitted): calculates the cosine similarity between vectors.
  • "dot" : calcule la similarité de points des vecteurs.
  • "euclidean" : calcule la distance euclidienne entre les vecteurs. | +| [].threshold | Real | Facultatif (valeur par défaut : 0,5). Valeur seuil utilisée pour filtrer les comparaisons de vecteurs sur la base de leur score de similarité cosinus, point ou euclidienne selon la "métrique" sélectionnée. Il est fortement recommandé de choisir une similitude qui corresponde le mieux à votre cas d'utilisation spécifique pour des résultats optimaux. | Only a subset of **comparator** symbols are supported with vector comparisons. Notez qu'ils comparent les résultats à la valeur de seuil (threshold) : From ad67f055b81f30acd5d7ab2d7cdf47e63b41e903 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 22:57:32 +0200 Subject: [PATCH 50/68] New translations $filter.md (Spanish) --- .../version-21/REST/$filter.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/version-21/REST/$filter.md b/i18n/es/docusaurus-plugin-content-docs/version-21/REST/$filter.md index 42725545b33289..ca52f5579fa456 100644 --- a/i18n/es/docusaurus-plugin-content-docs/version-21/REST/$filter.md +++ b/i18n/es/docusaurus-plugin-content-docs/version-21/REST/$filter.md @@ -90,11 +90,11 @@ Use the `params` property to provide the filter with the vector comparison param The *vectorComparison* parameter is a collection of the following elements: -| Propiedad | Tipo | Descripción | | -| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [].vector | Colección de objetos) | Obligatorio. Una colección que representa el vector a comparar | | -| [].metric | Text | Opcional. [Cálculo vectorial](../API/VectorClass.md#understanding-the-different-vector-computations) a utilizar para la consulta. Supported values:
  • "cosine" (default if omitted): calculates the cosine distance between vectors.
  • "dot": calculates the dot similarity of vectors.
  • "euclidean": calculates the Euclidean distance between vectors. | | -| | [].threshold | Real | Opcional (por defecto: 0,5). Un valor umbral utilizado para filtrar las comparaciones de vectores en función de su puntuación de similitud coseno, punto o euclídea según la "métrica" seleccionada. Es altamente recomendable elegir una similitud que se adapte mejor a su caso de uso específico para obtener resultados óptimos. | +| Propiedad | Tipo | Descripción | +| -------------------------------------------------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [].vector | Collection of numbers | Obligatorio. Una colección que representa el vector a comparar | +| [].metric | Text | Opcional. [Cálculo vectorial](../API/VectorClass.md#understanding-the-different-vector-computations) a utilizar para la consulta. Supported values:
  • "cosine" (default if omitted): calculates the cosine similarity between vectors.
  • "dot": calculates the dot similarity of vectors.
  • "euclidean": calculates the Euclidean distance between vectors. | +| [].threshold | Real | Opcional (por defecto: 0,5). Un valor umbral utilizado para filtrar las comparaciones de vectores en función de su puntuación de similitud coseno, punto o euclídea según la "métrica" seleccionada. Es altamente recomendable elegir una similitud que se adapte mejor a su caso de uso específico para obtener resultados óptimos. | Only a subset of **comparator** symbols are supported with vector comparisons. Tenga en cuenta que comparan los resultados con el valor umbral: From 5cbcfd68feb7c7e9585d8413d585bd760da06583 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 22:57:34 +0200 Subject: [PATCH 51/68] New translations $filter.md (Japanese) --- .../version-21/REST/$filter.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/REST/$filter.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/REST/$filter.md index 1c45add9710b90..bf6aa412bbfee3 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/REST/$filter.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/REST/$filter.md @@ -89,11 +89,11 @@ Use the `params` property to provide the filter with the vector comparison param The *vectorComparison* parameter is a collection of the following elements: -| プロパティ | 型 | 説明 | | -| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| [].vector | Object の Collection) | 必須設定です。 A collection that represents the vector to compare | | -| [].metric | Text | 任意。 クエリに使用する[ベクトル計算](../API/VectorClass.md#ことなるベクトル計算を理解する)。 サポートされる値:
  • "cosine" (省略時のデフォルト): ベクトル間のコサイン距離を計算します。
  • "dot": ベクトルのドット類似度を計算します。
  • "euclidean": ベクトル間のユークリッド距離を計算します。 | | -| | [].threshold | Real | 任意(デフォルト: 0.5)。 選択された"metric"に従って、コサイン、ドット、またはユークリッド類似度に基づいたベクトル比較をフィルタリングするために使用されるしきい値。 最適な結果を得るためには、特定の用途に最適な類似度のしきい値をきちんと選択することが強く推奨されます。 | +| プロパティ | 型 | 説明 | +| -------------------------------------------------------------------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [].vector | Collection of numbers | 必須設定です。 A collection that represents the vector to compare | +| [].metric | Text | 任意。 クエリに使用する[ベクトル計算](../API/VectorClass.md#ことなるベクトル計算を理解する)。 Supported values:
  • "cosine" (default if omitted): calculates the cosine similarity between vectors.
  • "dot": ベクトルのドット類似度を計算します。
  • "euclidean": ベクトル間のユークリッド距離を計算します。 | +| [].threshold | Real | 任意(デフォルト: 0.5)。 選択された"metric"に従って、コサイン、ドット、またはユークリッド類似度に基づいたベクトル比較をフィルタリングするために使用されるしきい値。 最適な結果を得るためには、特定の用途に最適な類似度のしきい値をきちんと選択することが強く推奨されます。 | Only a subset of **comparator** symbols are supported with vector comparisons. これらの比較記号は、結果としきい値を比較するのに使用されるという点に注意してください: From aa7e958c49a21ac1c9e32b9384b6c5b874d042ff Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 22:57:35 +0200 Subject: [PATCH 52/68] New translations $filter.md (Portuguese, Brazilian) --- .../version-21/REST/$filter.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/version-21/REST/$filter.md b/i18n/pt/docusaurus-plugin-content-docs/version-21/REST/$filter.md index 095aab2c43c2a8..01f9c75981cdbe 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/version-21/REST/$filter.md +++ b/i18n/pt/docusaurus-plugin-content-docs/version-21/REST/$filter.md @@ -90,11 +90,11 @@ Use the `params` property to provide the filter with the vector comparison param The *vectorComparison* parameter is a collection of the following elements: -| Propriedade | Tipo | Descrição | | -| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [].vector | Uma coleção de objetos) | Obrigatório. A collection that represents the vector to compare | | -| [].metric | Text | Opcional. [Vector computation](../API/VectorClass.md#understanding-the-different-vector-computations) to use for the query. Supported values:
  • "cosine" (default if omitted): calculates the cosine distance between vectors.
  • "dot": calculates the dot similarity of vectors.
  • "euclidean": calculates the Euclidean distance between vectors. | | -| | [].threshold | Real | Optional (default: 0.5). A threshold value used to filter vector comparisons based on their cosine, dot or euclidean similarity score according to the selected "metric". It is highly recommended to choose a similarity that best fits your specific use case for optimal results. | +| Propriedade | Tipo | Descrição | +| -------------------------------------------------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| [].vector | Collection of numbers | Obrigatório. A collection that represents the vector to compare | +| [].metric | Text | Opcional. [Vector computation](../API/VectorClass.md#understanding-the-different-vector-computations) to use for the query. Supported values:
  • "cosine" (default if omitted): calculates the cosine similarity between vectors.
  • "dot": calculates the dot similarity of vectors.
  • "euclidean": calculates the Euclidean distance between vectors. | +| [].threshold | Real | Optional (default: 0.5). A threshold value used to filter vector comparisons based on their cosine, dot or euclidean similarity score according to the selected "metric". It is highly recommended to choose a similarity that best fits your specific use case for optimal results. | Only a subset of **comparator** symbols are supported with vector comparisons. Note that they compare results to the threshold value: From bc0d1f1afffe53137d807ef616e923cc7a9f1e61 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 23:49:31 +0200 Subject: [PATCH 53/68] New translations triggers-new.md (French) --- .../current/Develop/triggers-new.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/i18n/fr/docusaurus-plugin-content-docs/current/Develop/triggers-new.md b/i18n/fr/docusaurus-plugin-content-docs/current/Develop/triggers-new.md index a40afb77231567..268972c12a12f8 100644 --- a/i18n/fr/docusaurus-plugin-content-docs/current/Develop/triggers-new.md +++ b/i18n/fr/docusaurus-plugin-content-docs/current/Develop/triggers-new.md @@ -3,16 +3,19 @@ id: triggers-new title: Triggers --- +to import + ## Triggers vs ORDA entity events **Triggers** (aka database events) and [**ORDA entity events**](../ORDA/orda-events.md) have similar purposes: they establish rules to control fundamental operations on the data (create, edit, or delete). However, they do not operate at the same level: + - triggers are handled at the database level, which is the lowest level, - ORDA entity events are handled at the [datastore](../ORDA/dsMapping.md#datastore) level, which is related to your business logic. Actions on data executed through the datastore, such as [`.save()`](../API/EntityClass.md#save) or [`.drop`](../API/EntityClass.md#drop), will call the triggers, if any. -On the other hand, actions triggered at the 4D database level using the 4D classic language commands, such as [`SAVE RECORD`](../commands/save-record) or [standard actions](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html#3371159) will NOT trigger ORDA entity events. +On the other hand, actions triggered at the 4D database level using the 4D classic language commands, such as [`SAVE RECORD`](../commands/save-record) or [standard actions](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html#3371159) will NOT trigger ORDA entity events. From 74cb677c0ef5e0924256f470c17f6f0aa3df8c0b Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 23:49:32 +0200 Subject: [PATCH 54/68] New translations triggers-new.md (Spanish) --- .../current/Develop/triggers-new.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/i18n/es/docusaurus-plugin-content-docs/current/Develop/triggers-new.md b/i18n/es/docusaurus-plugin-content-docs/current/Develop/triggers-new.md index a40afb77231567..9c6e8d2308a770 100644 --- a/i18n/es/docusaurus-plugin-content-docs/current/Develop/triggers-new.md +++ b/i18n/es/docusaurus-plugin-content-docs/current/Develop/triggers-new.md @@ -3,16 +3,19 @@ id: triggers-new title: Triggers --- +para importar + -## Triggers vs ORDA entity events +## Triggers vs eventos entidad ORDA + +Los **triggers** (también conocidos como eventos base de datos) y los [**eventos entidad ORDA**](../ORDA/orda-events.md) tienen propósitos similares: establecen reglas para controlar las operaciones fundamentales sobre los datos (crear, editar o eliminar). Sin embargo, no funcionan al mismo nivel: -**Triggers** (aka database events) and [**ORDA entity events**](../ORDA/orda-events.md) have similar purposes: they establish rules to control fundamental operations on the data (create, edit, or delete). However, they do not operate at the same level: -- triggers are handled at the database level, which is the lowest level, -- ORDA entity events are handled at the [datastore](../ORDA/dsMapping.md#datastore) level, which is related to your business logic. +- los triggers se gestionan a nivel de base de datos, que es el nivel más bajo, +- Los eventos de entidad ORDA se gestionan en el nivel [datastore](../ORDA/dsMapping.md#datastore), que está relacionado con su lógica de negocio. -Actions on data executed through the datastore, such as [`.save()`](../API/EntityClass.md#save) or [`.drop`](../API/EntityClass.md#drop), will call the triggers, if any. +Las acciones sobre los datos ejecutadas a través del almacén de datos, como [`.save()`](../API/EntityClass.md#save) o [`.drop`](../API/EntityClass.md#drop), llamarán a los triggers, si los hubiera. -On the other hand, actions triggered at the 4D database level using the 4D classic language commands, such as [`SAVE RECORD`](../commands/save-record) or [standard actions](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html#3371159) will NOT trigger ORDA entity events. +Por otra parte, las acciones se activaron a nivel de base de datos 4D usando los comandos de lenguaje clásico 4D, tal como [`SAVE RECORD`](../commands/save-record) o [acciones estándar](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html#3371159) NO activará eventos de entidades ORDA. From 8a6bb922189c2d467ae3d8da7af3f61fb5d0c42e Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 23:49:34 +0200 Subject: [PATCH 55/68] New translations triggers-new.md (Japanese) --- .../current/Develop/triggers-new.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/Develop/triggers-new.md b/i18n/ja/docusaurus-plugin-content-docs/current/Develop/triggers-new.md index a40afb77231567..268972c12a12f8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/Develop/triggers-new.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/Develop/triggers-new.md @@ -3,16 +3,19 @@ id: triggers-new title: Triggers --- +to import + ## Triggers vs ORDA entity events **Triggers** (aka database events) and [**ORDA entity events**](../ORDA/orda-events.md) have similar purposes: they establish rules to control fundamental operations on the data (create, edit, or delete). However, they do not operate at the same level: + - triggers are handled at the database level, which is the lowest level, - ORDA entity events are handled at the [datastore](../ORDA/dsMapping.md#datastore) level, which is related to your business logic. Actions on data executed through the datastore, such as [`.save()`](../API/EntityClass.md#save) or [`.drop`](../API/EntityClass.md#drop), will call the triggers, if any. -On the other hand, actions triggered at the 4D database level using the 4D classic language commands, such as [`SAVE RECORD`](../commands/save-record) or [standard actions](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html#3371159) will NOT trigger ORDA entity events. +On the other hand, actions triggered at the 4D database level using the 4D classic language commands, such as [`SAVE RECORD`](../commands/save-record) or [standard actions](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html#3371159) will NOT trigger ORDA entity events. From f45e1539bc21f92c06ae047547f3b4d0b212c555 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Tue, 21 Oct 2025 23:49:36 +0200 Subject: [PATCH 56/68] New translations triggers-new.md (Portuguese, Brazilian) --- .../current/Develop/triggers-new.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/i18n/pt/docusaurus-plugin-content-docs/current/Develop/triggers-new.md b/i18n/pt/docusaurus-plugin-content-docs/current/Develop/triggers-new.md index a40afb77231567..268972c12a12f8 100644 --- a/i18n/pt/docusaurus-plugin-content-docs/current/Develop/triggers-new.md +++ b/i18n/pt/docusaurus-plugin-content-docs/current/Develop/triggers-new.md @@ -3,16 +3,19 @@ id: triggers-new title: Triggers --- +to import + ## Triggers vs ORDA entity events **Triggers** (aka database events) and [**ORDA entity events**](../ORDA/orda-events.md) have similar purposes: they establish rules to control fundamental operations on the data (create, edit, or delete). However, they do not operate at the same level: + - triggers are handled at the database level, which is the lowest level, - ORDA entity events are handled at the [datastore](../ORDA/dsMapping.md#datastore) level, which is related to your business logic. Actions on data executed through the datastore, such as [`.save()`](../API/EntityClass.md#save) or [`.drop`](../API/EntityClass.md#drop), will call the triggers, if any. -On the other hand, actions triggered at the 4D database level using the 4D classic language commands, such as [`SAVE RECORD`](../commands/save-record) or [standard actions](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html#3371159) will NOT trigger ORDA entity events. +On the other hand, actions triggered at the 4D database level using the 4D classic language commands, such as [`SAVE RECORD`](../commands/save-record) or [standard actions](https://doc.4d.com/4Dv20/4D/20.2/Standard-actions.300-6750239.en.html#3371159) will NOT trigger ORDA entity events. From 0e75f2806a58fd305615aa43f6c4c0fc5bf30002 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Wed, 22 Oct 2025 03:29:22 +0200 Subject: [PATCH 57/68] New translations collectionclass.md (Japanese) --- .../current/API/CollectionClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 e4e4c9dc5dc0fe..490bac9a2b2ca8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/CollectionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/CollectionClass.md @@ -3220,15 +3220,15 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 > このコマンドは、元のコレクションを変更します。 引数もなしに呼び出された場合、`.sort()` はスカラー値 (数値、テキスト、日付、ブール) のみを並べ替えます。 デフォルトでは、要素はそれぞれの型に応じて昇順で並べ替えられます。 -You can also pass one of the following constants in the *ascOrDesc* parameter: +*ascOrDesc* 引数には、以下の定数のいずれか一つを渡すことができます: ``` -|Constant| Type|Value|Comment| +|定数| 型|値|詳細| |---|---|---|---| -|ck ascending|Integer|0|Elements are ordered in ascending order (default)| -|ck descending|Integer|1|Elements are ordered in descending order| +|ck ascending|Integer|0|要素は昇順に並んでいます(デフォルト)| +|ck descending|Integer|1|要素は降順に並んでいます| -This syntax orders scalar values in the collection only (other element types such as objects or collections are returned unordered). +このシンタックスはコレクション内のスカラー値のみを並び替えます(オブジェクトやコレクションなどの他の型の要素は並べ替えされません)。 ``` コレクションが異なる型の要素を格納している場合、それらはまず型ごとにグループ分けされ、そのあとで並べ替えられます。 型は以下の順番で返されます: From ead095742f940460cd851ab117192ce46fc599b1 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Wed, 22 Oct 2025 03:29:26 +0200 Subject: [PATCH 58/68] New translations dataclassclass.md (Japanese) --- .../current/API/DataClassClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 db5c43d888d144..8212f0fcefa73a 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/DataClassClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/DataClassClass.md @@ -1187,11 +1187,11 @@ $es:=ds.Movie.query("roles.actor.lastName = :1 AND roles.actor{2}.lastName = :2" この場合、*value* 引数は、以下のプロパティを格納した**比較ベクトルオブジェクト** である必要があります: -| プロパティ | 型 | 説明 | -| --------- | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| vector | [4D.Vector](../API/VectorClass.md) | 必須設定です。 比較するベクトル | -| metric | Text | 任意。 クエリに使用する[ベクトル計算](../API/VectorClass.md#ことなるベクトル計算を理解する)。 You can use one of the following (Text) constants:
  • `mk cosine` (default if omitted): calculates the cosine similarity between vectors.
  • `mk dot`: calculates the dot similarity of vectors.
  • `mk euclidean`: calculates the Euclidean distance between vectors. | -| threshold | Real | 任意(デフォルト: 0.5)。 選択された"metric"に従って、コサイン、ドット、またはユークリッド類似度に基づいたベクトル比較をフィルタリングするために使用されるしきい値。 最適な結果を得るためには、特定の用途に最適な類似度のしきい値をきちんと選択することが強く推奨されます。 | +| プロパティ | 型 | 説明 | +| --------- | -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| vector | [4D.Vector](../API/VectorClass.md) | 必須設定です。 比較するベクトル | +| metric | Text | 任意。 クエリに使用する[ベクトル計算](../API/VectorClass.md#ことなるベクトル計算を理解する)。 以下の(テキストの)定数のいずれか一つを使用することができます:
  • `mk cosine` (省略時にデフォルト): ベクトル間のコサイン類似度を計算します。
  • `mk dot`: ベクトル間のドット類似度を計算します。
  • `mk euclidean`: ベクトル間のユークリッド距離を計算します。 | +| threshold | Real | 任意(デフォルト: 0.5)。 選択された"metric"に従って、コサイン、ドット、またはユークリッド類似度に基づいたベクトル比較をフィルタリングするために使用されるしきい値。 最適な結果を得るためには、特定の用途に最適な類似度のしきい値をきちんと選択することが強く推奨されます。 | **comparator** 記号の、一部のみがサポートされます。 これらの比較記号は、結果としきい値を比較するのに使用されるという点に注意してください: From 641a009a0f8cf42edecb08e588bd1f717ab5747d Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Wed, 22 Oct 2025 03:29:30 +0200 Subject: [PATCH 59/68] New translations entityclass.md (Japanese) --- .../current/API/EntityClass.md | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/API/EntityClass.md b/i18n/ja/docusaurus-plugin-content-docs/current/API/EntityClass.md index ee2f4b82093a42..2284f00693599d 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/API/EntityClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/API/EntityClass.md @@ -338,10 +338,10 @@ vCompareResult1 (すべての差異が返されています):
    履歴 -| リリース | 内容 | -| ---- | -------------------- | -| 21 | Added status 7 and 8 | -| 17 | 追加 | +| リリース | 内容 | +| ---- | ----------- | +| 21 | ステータス7と8を追加 | +| 17 | 追加 |
    @@ -368,7 +368,7 @@ vCompareResult1 (すべての差異が返されています): **戻り値** -The object returned by `.drop()` contains the following properties: +`.drop()` によって返されるオブジェクトには以下のプロパティが格納されます: | プロパティ | | 型 | 説明 | | --------------------------------- | ----------------------------------- | ------------------- | ----------------------------------------------------------------------------------------------------------- | @@ -393,15 +393,15 @@ The object returned by `.drop()` contains the following properties: (\*) エラー時には *Result* オブジェクトの *status* あるいは *statusText* プロパティに以下のいずれかの値が返されます: -| 定数 | 値 | 説明 | -| ----------------------------------------- | - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `dk status entity does not exist anymore` | 5 | エンティティはもうデータ内に存在していません。 このエラーは以下のような場合に起きえます:
  • エンティティがドロップされている (スタンプが変更されていて、メモリ空間は解放されている)
  • エンティティがドロップされていて、他のプライマリーキー値を持つエンティティで置き換えられている (スタンプは変更されていて、新しいエンティティがメモリ空間を使用している)。 When using entity.drop(), this error can be returned when dk force drop if stamp changed option is used. When using entity.lock(), this error can be returned when dk reload if stamp changed option is used.
  • **Associated statusText**: "Entity does not exist anymore" | -| `dk status locked` | 3 | エンティティはペシミスティック・ロックでロックされています。
    **割り当てられた statusText**: "Already locked" (既にロックされています) | -| `dk status validation failed` | 7 | Non fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Mild Validation Error" | -| `dk status serious error` | 4 | 深刻なエラーとは、低レベルのデータベースエラー (例: 重複キー)、ハードウェアエラーなどです。
    **割り当てられた statusText**: "Other error" (その他のエラー) | -| `dk status serious validation error` | 8 | Fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Serious Validation Error" | -| `dk status stamp has changed` | 2 | The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).
  • with `.save()`: error only if the `dk auto merge` option is not used
  • with `.drop()`: error only if the `dk force drop if stamp changed` option is not used
  • with `.lock()`: error only if the `dk reload if stamp changed` option is not used
  • **Associated statusText**: "Stamp has changed"
  • | -| `dk status wrong permission` | 1 | 現在の権限では、エンティティを削除することはできません。 現在の権限では、エンティティを保存することはできません。 **割り当てられた statusText**: "Permission Error" (権限エラー) | +| 定数 | 値 | 説明 | +| ----------------------------------------- | - | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `dk status entity does not exist anymore` | 5 | エンティティはもうデータ内に存在していません。 このエラーは以下のような場合に起きえます:
  • エンティティがドロップされている (スタンプが変更されていて、メモリ空間は解放されている)
  • エンティティがドロップされていて、他のプライマリーキー値を持つエンティティで置き換えられている (スタンプは変更されていて、新しいエンティティがメモリ空間を使用している)。 entity.drop() を使用するとき、このエラーは dk force drop if stamp changed オプションを使用した場合に返されることがあります。 `entity.lock()` を使用するとき、このエラーは `dk reload drop if stamp changed` オプションを使用した場合に返されることがあります。
  • **割り当てられた statusText**: "Entity does not exist anymore" (エンティティはもう存在しません) | +| `dk status locked` | 3 | エンティティはペシミスティック・ロックでロックされています。
    **割り当てられた statusText**: "Already locked" (既にロックされています) | +| `dk status validation failed` | 7 | Non fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Mild Validation Error" | +| `dk status serious error` | 4 | 深刻なエラーとは、低レベルのデータベースエラー (例: 重複キー)、ハードウェアエラーなどです。
    **割り当てられた statusText**: "Other error" (その他のエラー) | +| `dk status serious validation error` | 8 | Fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Serious Validation Error" | +| `dk status stamp has changed` | 2 | The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).
  • with `.save()`: error only if the `dk auto merge` option is not used
  • with `.drop()`: error only if the `dk force drop if stamp changed` option is not used
  • with `.lock()`: error only if the `dk reload if stamp changed` option is not used
  • **Associated statusText**: "Stamp has changed"
  • | +| `dk status wrong permission` | 1 | 現在の権限では、エンティティを削除することはできません。 現在の権限では、エンティティを保存することはできません。 **割り当てられた statusText**: "Permission Error" (権限エラー) | #### 例題 1 @@ -1214,10 +1214,10 @@ $info:=$address.getRemoteContextAttributes()
    履歴 -| リリース | 内容 | -| ---- | -------------------- | -| 21 | Added status 7 and 8 | -| 17 | 追加 | +| リリース | 内容 | +| ---- | ----------- | +| 21 | ステータス7と8を追加 | +| 17 | 追加 |
    From 30af33ef7a3a3a54c54a77d70793801485b99be6 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Wed, 22 Oct 2025 03:29:32 +0200 Subject: [PATCH 60/68] New translations compatible-openai.md (Japanese) --- .../current/aikit/compatible-openai.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/aikit/compatible-openai.md b/i18n/ja/docusaurus-plugin-content-docs/current/aikit/compatible-openai.md index bb57ed880d46f3..c7f6e6cc20e6a8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/aikit/compatible-openai.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/aikit/compatible-openai.md @@ -7,7 +7,7 @@ title: プロバイダ 多くのAI プロバイダがOpenAI に似たAPI を提供しているので、このプロジェクトを使用してそれらに接続することができます。 -To do so you just have to set the `baseURL` to the provider one and use their api key if needed. +そのためには元の `baseURL` をプロバイダーのものに設定し、必要であればそのサービスのAPI キーを使用するだけです。 ```4d $client.baseURL:="https://api.mistral.ai/v1" @@ -31,7 +31,7 @@ $client.baseURL:="https://api.mistral.ai/v1" ## ローカル -| プロバイダ | Default baseURL | ドキュメント | +| プロバイダ | デフォルトの baseURL | ドキュメント | | ------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | | https://ollama.com/ja/ | http://127.0.0.1:11434/v1 | https://ollama.com/blog/openai-compatibility | | https://lmstudio.ai/ja/ | http://localhost:1234/v1 | https://lmstudio.ai/docs/api/endpoints/openai | From 7fa166e68810802df83840676d7cbdb2bd26817e Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Wed, 22 Oct 2025 03:29:33 +0200 Subject: [PATCH 61/68] New translations overview.md (Japanese) --- .../docusaurus-plugin-content-docs/current/aikit/overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/current/aikit/overview.md b/i18n/ja/docusaurus-plugin-content-docs/current/aikit/overview.md index 18196a64eec1cf..06c467d9cc2b7b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/current/aikit/overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/current/aikit/overview.md @@ -21,7 +21,7 @@ title: 4D-AIKit var $client:=cs.AIKit.OpenAI.new("あなたの API キー") ``` -For a [compatible provider](compatible-openai.md) API, you need to configure the server URL by setting the `baseURL` parameter. +[互換性のあるプロバイダー](compatible-openai.md) API に対しては、 `baseURL` 引数を設定することでサーバーURL を設定することができます。 ```4d var $client:=cs.AIKit.OpenAI.new({apiKey: "あなたの API キー"; baseURL: "https://your.server.ai"}) @@ -43,7 +43,7 @@ var $result:=$client..() `$result` には`HTTPRequest` と、`success` ステータス、そして`errors` コレクションなどが含まれます。 詳細については [OpenAIResult](Classes/OpenAIResult.md) を参照して下さい。 -See some examples below. +また以下の例題も参照して下さい。 #### チャット From a8466b8368468df925ba4555fb70922c30d10e88 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Wed, 22 Oct 2025 03:29:40 +0200 Subject: [PATCH 62/68] New translations collectionclass.md (Japanese) --- .../version-20-R10/API/CollectionClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/API/CollectionClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/API/CollectionClass.md index b073eab4be9478..a1e68f21ebc952 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/API/CollectionClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/API/CollectionClass.md @@ -3220,15 +3220,15 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 > このコマンドは、元のコレクションを変更します。 引数もなしに呼び出された場合、`.sort()` はスカラー値 (数値、テキスト、日付、ブール) のみを並べ替えます。 デフォルトでは、要素はそれぞれの型に応じて昇順で並べ替えられます。 -You can also pass one of the following constants in the *ascOrDesc* parameter: +*ascOrDesc* 引数には、以下の定数のいずれか一つを渡すことができます: ``` - |Constant| Type|Value|Comment| + |定数| 型|値|詳細| |---|---|---|---| - |ck ascending|Integer|0|Elements are ordered in ascending order (default)| - |ck descending|Integer|1|Elements are ordered in descending order| + |ck ascending|Integer|0|要素は昇順に並んでいます(デフォルト)| + |ck descending|Integer|1|要素は降順に並んでいます| - This syntax orders scalar values in the collection only (other element types such as objects or collections are returned unordered). + このシンタックスはコレクション内のスカラー値のみを並び替えます(オブジェクトやコレクションなどの他の型の要素は並べ替えされません)。 ``` コレクションが異なる型の要素を格納している場合、それらはまず型ごとにグループ分けされ、そのあとで並べ替えられます。 型は以下の順番で返されます: From 00f8b925edff61347f9734d2c6124ceeddef2a9f Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Wed, 22 Oct 2025 03:29:41 +0200 Subject: [PATCH 63/68] New translations compatible-openai.md (Japanese) --- .../version-20-R10/aikit/compatible-openai.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/aikit/compatible-openai.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/aikit/compatible-openai.md index bb57ed880d46f3..c7f6e6cc20e6a8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/aikit/compatible-openai.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/aikit/compatible-openai.md @@ -7,7 +7,7 @@ title: プロバイダ 多くのAI プロバイダがOpenAI に似たAPI を提供しているので、このプロジェクトを使用してそれらに接続することができます。 -To do so you just have to set the `baseURL` to the provider one and use their api key if needed. +そのためには元の `baseURL` をプロバイダーのものに設定し、必要であればそのサービスのAPI キーを使用するだけです。 ```4d $client.baseURL:="https://api.mistral.ai/v1" @@ -31,7 +31,7 @@ $client.baseURL:="https://api.mistral.ai/v1" ## ローカル -| プロバイダ | Default baseURL | ドキュメント | +| プロバイダ | デフォルトの baseURL | ドキュメント | | ------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | | https://ollama.com/ja/ | http://127.0.0.1:11434/v1 | https://ollama.com/blog/openai-compatibility | | https://lmstudio.ai/ja/ | http://localhost:1234/v1 | https://lmstudio.ai/docs/api/endpoints/openai | From 49a58f1bdac396bf88494b0bef65e829f46d5b9a Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Wed, 22 Oct 2025 03:29:43 +0200 Subject: [PATCH 64/68] New translations overview.md (Japanese) --- .../version-20-R10/aikit/overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/aikit/overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/aikit/overview.md index 18196a64eec1cf..06c467d9cc2b7b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/aikit/overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-20-R10/aikit/overview.md @@ -21,7 +21,7 @@ title: 4D-AIKit var $client:=cs.AIKit.OpenAI.new("あなたの API キー") ``` -For a [compatible provider](compatible-openai.md) API, you need to configure the server URL by setting the `baseURL` parameter. +[互換性のあるプロバイダー](compatible-openai.md) API に対しては、 `baseURL` 引数を設定することでサーバーURL を設定することができます。 ```4d var $client:=cs.AIKit.OpenAI.new({apiKey: "あなたの API キー"; baseURL: "https://your.server.ai"}) @@ -43,7 +43,7 @@ var $result:=$client..() `$result` には`HTTPRequest` と、`success` ステータス、そして`errors` コレクションなどが含まれます。 詳細については [OpenAIResult](Classes/OpenAIResult.md) を参照して下さい。 -See some examples below. +また以下の例題も参照して下さい。 #### チャット From d84db2a5f82411a3624c20d9a205f02f49791f69 Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Wed, 22 Oct 2025 03:29:49 +0200 Subject: [PATCH 65/68] New translations collectionclass.md (Japanese) --- .../version-21/API/CollectionClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 b073eab4be9478..a1e68f21ebc952 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 @@ -3220,15 +3220,15 @@ $r:=$c.reduceRight(Formula($1.accumulator*=$1.value); 1) // 戻り値は 86400 > このコマンドは、元のコレクションを変更します。 引数もなしに呼び出された場合、`.sort()` はスカラー値 (数値、テキスト、日付、ブール) のみを並べ替えます。 デフォルトでは、要素はそれぞれの型に応じて昇順で並べ替えられます。 -You can also pass one of the following constants in the *ascOrDesc* parameter: +*ascOrDesc* 引数には、以下の定数のいずれか一つを渡すことができます: ``` - |Constant| Type|Value|Comment| + |定数| 型|値|詳細| |---|---|---|---| - |ck ascending|Integer|0|Elements are ordered in ascending order (default)| - |ck descending|Integer|1|Elements are ordered in descending order| + |ck ascending|Integer|0|要素は昇順に並んでいます(デフォルト)| + |ck descending|Integer|1|要素は降順に並んでいます| - This syntax orders scalar values in the collection only (other element types such as objects or collections are returned unordered). + このシンタックスはコレクション内のスカラー値のみを並び替えます(オブジェクトやコレクションなどの他の型の要素は並べ替えされません)。 ``` コレクションが異なる型の要素を格納している場合、それらはまず型ごとにグループ分けされ、そのあとで並べ替えられます。 型は以下の順番で返されます: From 1ac0097035d5fe921ff18309437909831aea1e3c Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Wed, 22 Oct 2025 03:29:53 +0200 Subject: [PATCH 66/68] New translations entityclass.md (Japanese) --- .../version-21/API/EntityClass.md | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/API/EntityClass.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/API/EntityClass.md index 392e5216fdd387..74b3a87a3d52ef 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/API/EntityClass.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/API/EntityClass.md @@ -338,10 +338,10 @@ vCompareResult1 (すべての差異が返されています):
    履歴 -| リリース | 内容 | -| ---- | -------------------- | -| 21 | Added status 7 and 8 | -| 17 | 追加 | +| リリース | 内容 | +| ---- | ----------- | +| 21 | ステータス7と8を追加 | +| 17 | 追加 |
    @@ -368,7 +368,7 @@ vCompareResult1 (すべての差異が返されています): **戻り値** -The object returned by `.drop()` contains the following properties: +`.drop()` によって返されるオブジェクトには以下のプロパティが格納されます: | プロパティ | | 型 | 説明 | | --------------------------------- | ----------------------------------- | ------------------- | ----------------------------------------------------------------------------------------------------------- | @@ -393,15 +393,15 @@ The object returned by `.drop()` contains the following properties: (\*) エラー時には *Result* オブジェクトの *status* あるいは *statusText* プロパティに以下のいずれかの値が返されます: -| 定数 | 値 | 説明 | -| ----------------------------------------- | - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `dk status entity does not exist anymore` | 5 | エンティティはもうデータ内に存在していません。 このエラーは以下のような場合に起きえます:
  • エンティティがドロップされている (スタンプが変更されていて、メモリ空間は解放されている)
  • エンティティがドロップされていて、他のプライマリーキー値を持つエンティティで置き換えられている (スタンプは変更されていて、新しいエンティティがメモリ空間を使用している)。 When using entity.drop(), this error can be returned when dk force drop if stamp changed option is used. entity.lock() を使用するとき、このエラーは dk reload drop if stamp changed オプションを使用した場合に返されることがあります。
  • **割り当てられた statusText**: "エンティティはもう存在しません" | -| `dk status locked` | 3 | エンティティはペシミスティックロックによってロックされています。
    **割り当てられた statusText**: "Already locked" | -| `dk status validation failed` | 7 | Non fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Mild Validation Error" | -| `dk status serious error` | 4 | 深刻なエラーとは、低レベルのデータベースエラー (例: 重複キー)、ハードウェアエラーなどです。
    **割り当てられた statusText**: "Other error" | -| `dk status serious validation error` | 8 | Fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Serious Validation Error" | -| `dk status stamp has changed` | 2 | エンティティの内部的なスタンプ値がデータ内に保存されているエンティティのものと合致しません (オプティミスティック・ロック)。
  • `entity.save()` の場合: `dk auto merge` オプションが使用されていない場合に限りエラー
  • `entity.drop()` の場合: `dk force drop if stamp changed` オプションが使用されていない場合に限りエラー
  • `entity.lock()` の場合: `dk reload if stamp changed` オプションが使用されていない場合に限りエラー
  • **割り当てられた statusText**: "Stamp has changed"
  • | -| `dk status wrong permission` | 1 | 現在の権限では、エンティティを削除することはできません。 現在の権限では、エンティティを保存することはできません。 **割り当てられた statusText**: "Permission Error" (権限エラー) | +| 定数 | 値 | 説明 | +| ----------------------------------------- | - | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `dk status entity does not exist anymore` | 5 | エンティティはもうデータ内に存在していません。 このエラーは以下のような場合に起きえます:
  • エンティティがドロップされている (スタンプが変更されていて、メモリ空間は解放されている)
  • エンティティがドロップされていて、他のプライマリーキー値を持つエンティティで置き換えられている (スタンプは変更されていて、新しいエンティティがメモリ空間を使用している)。 entity.drop() を使用するとき、このエラーは dk force drop if stamp changed オプションを使用した場合に返されることがあります。 entity.lock() を使用するとき、このエラーは dk reload drop if stamp changed オプションを使用した場合に返されることがあります。
  • **割り当てられた statusText**: "エンティティはもう存在しません" | +| `dk status locked` | 3 | エンティティはペシミスティックロックによってロックされています。
    **割り当てられた statusText**: "Already locked" | +| `dk status validation failed` | 7 | Non fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Mild Validation Error" | +| `dk status serious error` | 4 | 深刻なエラーとは、低レベルのデータベースエラー (例: 重複キー)、ハードウェアエラーなどです。
    **割り当てられた statusText**: "Other error" | +| `dk status serious validation error` | 8 | Fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Serious Validation Error" | +| `dk status stamp has changed` | 2 | エンティティの内部的なスタンプ値がデータ内に保存されているエンティティのものと合致しません (オプティミスティック・ロック)。
  • `entity.save()` の場合: `dk auto merge` オプションが使用されていない場合に限りエラー
  • `entity.drop()` の場合: `dk force drop if stamp changed` オプションが使用されていない場合に限りエラー
  • `entity.lock()` の場合: `dk reload if stamp changed` オプションが使用されていない場合に限りエラー
  • **割り当てられた statusText**: "Stamp has changed"
  • | +| `dk status wrong permission` | 1 | 現在の権限では、エンティティを削除することはできません。 現在の権限では、エンティティを保存することはできません。 **割り当てられた statusText**: "Permission Error" (権限エラー) | #### 例題 1 @@ -1214,10 +1214,10 @@ $info:=$address.getRemoteContextAttributes()
    履歴 -| リリース | 内容 | -| ---- | -------------------- | -| 21 | Added status 7 and 8 | -| 17 | 追加 | +| リリース | 内容 | +| ---- | ----------- | +| 21 | ステータス7と8を追加 | +| 17 | 追加 |
    From 99d91b9d4a9c63cbb72dce1192c006f4df5687ee Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Wed, 22 Oct 2025 03:29:55 +0200 Subject: [PATCH 67/68] New translations compatible-openai.md (Japanese) --- .../version-21/aikit/compatible-openai.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/aikit/compatible-openai.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/aikit/compatible-openai.md index bb57ed880d46f3..c7f6e6cc20e6a8 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/aikit/compatible-openai.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/aikit/compatible-openai.md @@ -7,7 +7,7 @@ title: プロバイダ 多くのAI プロバイダがOpenAI に似たAPI を提供しているので、このプロジェクトを使用してそれらに接続することができます。 -To do so you just have to set the `baseURL` to the provider one and use their api key if needed. +そのためには元の `baseURL` をプロバイダーのものに設定し、必要であればそのサービスのAPI キーを使用するだけです。 ```4d $client.baseURL:="https://api.mistral.ai/v1" @@ -31,7 +31,7 @@ $client.baseURL:="https://api.mistral.ai/v1" ## ローカル -| プロバイダ | Default baseURL | ドキュメント | +| プロバイダ | デフォルトの baseURL | ドキュメント | | ------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | | https://ollama.com/ja/ | http://127.0.0.1:11434/v1 | https://ollama.com/blog/openai-compatibility | | https://lmstudio.ai/ja/ | http://localhost:1234/v1 | https://lmstudio.ai/docs/api/endpoints/openai | From 7c250d89689a610cca457f7461198829cb7c45fe Mon Sep 17 00:00:00 2001 From: arnaud-4d Date: Wed, 22 Oct 2025 03:29:56 +0200 Subject: [PATCH 68/68] New translations overview.md (Japanese) --- .../version-21/aikit/overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/ja/docusaurus-plugin-content-docs/version-21/aikit/overview.md b/i18n/ja/docusaurus-plugin-content-docs/version-21/aikit/overview.md index 18196a64eec1cf..06c467d9cc2b7b 100644 --- a/i18n/ja/docusaurus-plugin-content-docs/version-21/aikit/overview.md +++ b/i18n/ja/docusaurus-plugin-content-docs/version-21/aikit/overview.md @@ -21,7 +21,7 @@ title: 4D-AIKit var $client:=cs.AIKit.OpenAI.new("あなたの API キー") ``` -For a [compatible provider](compatible-openai.md) API, you need to configure the server URL by setting the `baseURL` parameter. +[互換性のあるプロバイダー](compatible-openai.md) API に対しては、 `baseURL` 引数を設定することでサーバーURL を設定することができます。 ```4d var $client:=cs.AIKit.OpenAI.new({apiKey: "あなたの API キー"; baseURL: "https://your.server.ai"}) @@ -43,7 +43,7 @@ var $result:=$client..() `$result` には`HTTPRequest` と、`success` ステータス、そして`errors` コレクションなどが含まれます。 詳細については [OpenAIResult](Classes/OpenAIResult.md) を参照して下さい。 -See some examples below. +また以下の例題も参照して下さい。 #### チャット