From 0700a1060e217d47b49a196dbc35a3ad79193ead Mon Sep 17 00:00:00 2001 From: Richard BAYET Date: Tue, 14 Jan 2025 15:46:51 +0100 Subject: [PATCH] [Healthchecks] Reworked system message i18n --- .../Model/System/Message/GenericHealthcheckWarning.php | 4 ++-- src/module-elasticsuite-core/i18n/en_US.csv | 2 +- src/module-elasticsuite-core/i18n/fr_FR.csv | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/module-elasticsuite-core/Model/System/Message/GenericHealthcheckWarning.php b/src/module-elasticsuite-core/Model/System/Message/GenericHealthcheckWarning.php index 3372ffa0c..c192dbc42 100644 --- a/src/module-elasticsuite-core/Model/System/Message/GenericHealthcheckWarning.php +++ b/src/module-elasticsuite-core/Model/System/Message/GenericHealthcheckWarning.php @@ -86,8 +86,8 @@ public function getText() // @codingStandardsIgnoreStart return __( - 'You have %1 health checks in a warning state. ' - . 'Please head to the Elasticsuite Healthcheck page to get more details and see how to fix them.', + 'You have %1 health checks in Warning state. ' + . 'We invite you to head to the Elasticsuite Healthcheck page to get more details and to see how to fix them.', $issuesCount, $this->getElasticsuiteHealthcheckUrl() ); diff --git a/src/module-elasticsuite-core/i18n/en_US.csv b/src/module-elasticsuite-core/i18n/en_US.csv index 5774b6958..cb1c0cc10 100644 --- a/src/module-elasticsuite-core/i18n/en_US.csv +++ b/src/module-elasticsuite-core/i18n/en_US.csv @@ -128,7 +128,7 @@ Autocomplete,Autocomplete "Please select a stemmer for the store","Please select a stemmer for the store" "Time for an index to be considered Ghost (in seconds)","Time for an index to be considered Ghost (in seconds)" "Elasticsuite derelict indices resulting from a failed full reindex are considered ghost after this amount of time (in seconds) has elapsed since their creation. You can reduce this amount of time to speed up ghost indices cleanup, but take care to add a safety on top of the maximum reindexing duration of the more complex index of your platform (usually a catalog_product/product search index). Defaults to 172,800 seconds (2 days), minimum value: 3600 (1 hour).","Elasticsuite derelict indices resulting from a failed full reindex are considered ghost after this amount of time (in seconds) has elapsed since their creation. You can reduce this amount of time to speed up ghost indices cleanup, but take care to add a safety on top of the maximum reindexing duration of the more complex index of your platform (usually a catalog_product/product search index). Defaults to 172,800 seconds (2 days), minimum value: 3600 (1 hour)." -"You have %1 health checks in a warning state. Please head to the Elasticsuite Healthcheck page to get more details and see how to fix them.","You have %1 health checks in a warning state. Please head to the Elasticsuite Healthcheck page to get more details and see how to fix them." +"You have %1 health checks in Warning state. We invite you to head to the Elasticsuite Healthcheck page to get more details and to see how to fix them.","You have %1 health checks in Warning state. We invite you to head to the Elasticsuite Healthcheck page to get more details and to see how to fix them." "The number of shards is properly configured for the Elasticsearch cluster. No action is required at this time.","The number of shards is properly configured for the Elasticsearch cluster. No action is required at this time." "The number of shards configured for Elasticsuite is incorrect.","The number of shards configured for Elasticsuite is incorrect." "You do not need to use %1 shards since your biggest Elasticsuite index is only %2.","You do not need to use %1 shards since your biggest Elasticsuite index is only %2." diff --git a/src/module-elasticsuite-core/i18n/fr_FR.csv b/src/module-elasticsuite-core/i18n/fr_FR.csv index 78f07626f..f2177dc7e 100644 --- a/src/module-elasticsuite-core/i18n/fr_FR.csv +++ b/src/module-elasticsuite-core/i18n/fr_FR.csv @@ -128,6 +128,7 @@ General,Général "Please select a stemmer for the store","Veuillez sélectionner un stemmer pour le magasin" "Time for an index to be considered Ghost (in seconds)","Temps avant qu'un index soit considéré Fantôme (en secondes)" "Elasticsuite derelict indices resulting from a failed full reindex are considered ghost after this amount of time (in seconds) has elapsed since their creation. You can reduce this amount of time to speed up ghost indices cleanup, but take care to add a safety on top of the maximum reindexing duration of the more complex index of your platform (usually a catalog_product/product search index). Defaults to 172,800 seconds (2 days), minimum value: 3600 (1 hour).","Les index Elasticsuite résultant de l'échec d'une ré-indexation complète sont considérés comme fantômes après que cette période de temps (en secondes) s'est écoulée depuis leur création. Vous pouvez réduire cette période de temps pour accélérer la suppression des index fantômes, mais prenez soin d'ajouter une période de sécurité au temps de réindexation maximum de l'index le plus complexe de votre plateforme (généralement un index catalog_product/de recherche produits). Valeur par défaut: 172 800 secondes (2 jours), valeur minimum: 3600 (1 heure)." +"You have %1 health checks in Warning state. We invite you to head to the Elasticsuite Healthcheck page to get more details and to see how to fix them.","Vous avez %1 points de contrôle à l'état d'Avertissement. Nous vous invitons à vous rendre sur la page Elasticsuite Healthcheck pour obtenir plus de détails et voir comment les corriger." "The number of shards is properly configured for the Elasticsearch cluster. No action is required at this time.","Le nombre de shards est correctement configuré pour le cluster Elasticsearch. Aucune action n’est requise pour le moment." "The number of shards configured for Elasticsuite is incorrect.","Le nombre de shards configuré pour Elasticsuite est incorrect." "You do not need to use %1 shards since your biggest Elasticsuite index is only %2.","Vous n'avez pas besoin d'utiliser %1 shards car votre index Elasticsuite le plus volumineux pèse %2."