Skip to content

Commit

Permalink
[Healthchecks] Reworked system message i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
rbayet committed Jan 14, 2025
1 parent 0d8286a commit 0700a10
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ public function getText()

// @codingStandardsIgnoreStart
return __(
'You have <strong>%1 health checks</strong> in a <strong>warning</strong> state. '
. 'Please head to the <a href="%2"><strong>Elasticsuite Healthcheck</strong></a> page to get more details and see how to fix them.',
'You have <strong>%1 health checks</strong> in <strong>Warning</strong> state. '
. 'We invite you to head to the <a href="%2"><strong>Elasticsuite Healthcheck</strong></a> page to get more details and to see how to fix them.',
$issuesCount,
$this->getElasticsuiteHealthcheckUrl()
);
Expand Down
2 changes: 1 addition & 1 deletion src/module-elasticsuite-core/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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 <strong>%1 health checks</strong> in a <strong>warning</strong> state. Please head to the <a href=""%2""><strong>Elasticsuite Healthcheck</strong></a> page to get more details and see how to fix them.","You have <strong>%1 health checks</strong> in a <strong>warning</strong> state. Please head to the <a href=""%2""><strong>Elasticsuite Healthcheck</strong></a> page to get more details and see how to fix them."
"You have <strong>%1 health checks</strong> in <strong>Warning</strong> state. We invite you to head to the <a href=""%2""><strong>Elasticsuite Healthcheck</strong></a> page to get more details and to see how to fix them.","You have <strong>%1 health checks</strong> in <strong>Warning</strong> state. We invite you to head to the <a href=""%2""><strong>Elasticsuite Healthcheck</strong></a> 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 <strong>number of shards</strong> configured for Elasticsuite is <strong>incorrect</strong>.","The <strong>number of shards</strong> configured for Elasticsuite is <strong>incorrect</strong>."
"You do not need to use <strong>%1 shards</strong> since your biggest Elasticsuite index is only <strong>%2</strong>.","You do not need to use <strong>%1 shards</strong> since your biggest Elasticsuite index is only <strong>%2</strong>."
Expand Down
1 change: 1 addition & 0 deletions src/module-elasticsuite-core/i18n/fr_FR.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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 <strong>%1 health checks</strong> in <strong>Warning</strong> state. We invite you to head to the <a href=""%2""><strong>Elasticsuite Healthcheck</strong></a> page to get more details and to see how to fix them.","Vous avez <strong>%1 points de contrôle</strong> à l'état d'<strong>Avertissement</strong>. Nous vous invitons à vous rendre sur la page <a href=""%2""><strong>Elasticsuite Healthcheck</strong></a> 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 <strong>number of shards</strong> configured for Elasticsuite is <strong>incorrect</strong>.","Le <strong>nombre de shards</strong> configuré pour Elasticsuite est <strong>incorrect</strong>."
"You do not need to use <strong>%1 shards</strong> since your biggest Elasticsuite index is only <strong>%2</strong>.","Vous n'avez pas besoin d'utiliser <strong>%1 shards</strong> car votre index Elasticsuite le plus volumineux pèse <strong>%2</strong>."
Expand Down

0 comments on commit 0700a10

Please sign in to comment.