From 37c57140dff4625678692826913745f7bcf5fa22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Gigandet?= Date: Wed, 18 Dec 2024 15:12:24 +0100 Subject: [PATCH 1/2] update tests --- .../get-attribute-groups-fr.json | 6 +- .../get-attribute-groups.json | 6 +- .../get-fields-all-knowledge-panels.json | 16 ++-- ...attribute-groups-all-knowledge-panels.json | 28 +++---- ...knowledge_panels_excluded-health_card.json | 16 ++-- ...included-health_card-environment_card.json | 16 ++-- .../get-knowledge-panels-fr.json | 16 ++-- .../get-knowledge-panels.json | 16 ++-- .../get-attribute-groups-api-v3-1.json | 6 +- .../get-attribute-groups-fr.json | 6 +- .../get-attribute-groups.json | 6 +- .../get-fields-all-knowledge-panels.json | 16 ++-- ...attribute-groups-all-knowledge-panels.json | 28 +++---- ...knowledge_panels_excluded-health_card.json | 16 ++-- ...included-health_card-environment_card.json | 16 ++-- .../get-knowledge-panels-fr.json | 16 ++-- .../get-knowledge-panels.json | 16 ++-- ...ted-attribute-groups-knowledge-panels.json | 14 ++-- .../data-quality.json | 8 +- .../no-data-quality.json | 8 +- .../crawler-access-category-facet-page.html | 8 +- .../crawler-access-product-page.html | 18 ++-- ...r-does-not-get-facet-knowledge-panels.html | 8 +- .../page_crawler/get-robots-txt-ch-it.text | 2 +- .../get-robots-txt-fr-pro-platform.text | 2 +- .../page_crawler/get-robots-txt-fr.text | 2 +- .../get-robots-txt-world-pro-platform.text | 2 +- .../page_crawler/get-robots-txt-world.text | 2 +- ...ormal-user-access-category-facet-page.html | 8 +- .../normal-user-access-nested-facet-page.html | 8 +- .../normal-user-access-product-page.html | 18 ++-- ...ormal-user-get-facet-knowledge-panels.html | 8 +- .../product_read/get-existing-product.html | 16 ++-- .../unknown_tags/country-france-exists.html | 8 +- .../unknown_tags/ingredient-apple-exists.html | 8 +- ...gredient-does-not-exist-but-not-empty.html | 8 +- .../web_html/fr-categories.html | 20 ++--- .../web_html/fr-index.html | 48 +++++------ .../web_html/fr-product-2.html | 18 ++-- .../web_html/fr-product.html | 18 ++-- .../web_html/fr-search-form.html | 12 +-- .../web_html/fr-search-results-cached.html | 14 ++-- .../web_html/fr-search-results-no-cache.html | 14 ++-- .../web_html/fr-search-results.html | 14 ++-- .../web_html/world-categories.html | 42 +++++----- .../web_html/world-index-signedin.html | 84 +++++++++---------- .../web_html/world-index.html | 84 +++++++++---------- .../web_html/world-label-organic.html | 36 ++++---- .../web_html/world-product.html | 18 ++-- .../web_html/world-search-form.html | 20 ++--- .../web_html/world-search-results.html | 32 +++---- .../attributes/en-attributes.json | 6 +- ...ronmental_score-score-at-20-threshold.json | 6 +- .../attributes/en-maybe-vegan.json | 6 +- .../attributes/en-no-ingredients.json | 6 +- .../attributes/en-nova-groups-markers.json | 6 +- .../attributes/en-nutriscore.json | 6 +- .../attributes/en-unknown-ingredients.json | 6 +- .../attributes/fr-palm-kernel-fat.json | 6 +- .../attributes/fr-palm-oil-free.json | 6 +- .../attributes/fr-palm-oil.json | 6 +- .../attributes/fr-vegetable-oils.json | 6 +- 62 files changed, 471 insertions(+), 471 deletions(-) diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-attribute-groups-fr.json b/tests/integration/expected_test_results/api_v2_product_read/get-attribute-groups-fr.json index be6daceb8320d..90c4bfb6730f9 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-attribute-groups-fr.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-attribute-groups-fr.json @@ -276,13 +276,13 @@ "description" : "", "description_short" : "Impact modéré sur l'environnement", "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id" : "ecoscore", "match" : 47, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score C" + "title" : "Green-Score C" }, { "description" : "", diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-attribute-groups.json b/tests/integration/expected_test_results/api_v2_product_read/get-attribute-groups.json index c9ba2bbdc1f5a..f20bf62d1126e 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-attribute-groups.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-attribute-groups.json @@ -276,13 +276,13 @@ "description" : "", "description_short" : "Moderate environmental impact", "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id" : "ecoscore", "match" : 47, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score C" + "title" : "Green-Score C" }, { "description" : "", diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-fields-all-knowledge-panels.json b/tests/integration/expected_test_results/api_v2_product_read/get-fields-all-knowledge-panels.json index 193e5c16a57bc..95a77ace4915d 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-fields-all-knowledge-panels.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-fields-all-knowledge-panels.json @@ -1054,13 +1054,13 @@ { "element_type" : "text", "text_element" : { - "html" : "The Eco-Score is an experimental score that summarizes the environmental impacts of food products." + "html" : "The Green-Score is an experimental score that summarizes the environmental impacts of food products." } }, { "element_type" : "text", "text_element" : { - "html" : "\n \n The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", + "html" : "\n \n The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", "type" : "note" } }, @@ -1090,22 +1090,22 @@ "panel_ids" : [ "environmental_score_total" ], - "title" : "Eco-Score for this product" + "title" : "Green-Score for this product" } }, { "element_type" : "text", "text_element" : { - "html" : "\n

Learn more about the Eco-Score

\n" + "html" : "\n

Learn more about the Green-Score

\n" } } ], "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", - "name" : "Eco-Score", - "title" : "Eco-Score C - Moderate environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", + "name" : "Green-Score", + "title" : "Green-Score C - Moderate environmental impact", "type" : "grade" }, "topics" : [ @@ -1420,7 +1420,7 @@ "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "subtitle" : "Product: Some product - 100 g", "title" : "Impact for this product: C (Score: 47/100)", "type" : "grade" diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-fields-attribute-groups-all-knowledge-panels.json b/tests/integration/expected_test_results/api_v2_product_read/get-fields-attribute-groups-all-knowledge-panels.json index f8d091a1b6ede..e752c216a3b9c 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-fields-attribute-groups-all-knowledge-panels.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-fields-attribute-groups-all-knowledge-panels.json @@ -311,13 +311,13 @@ "description" : "", "description_short" : "Moderate environmental impact", "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id" : "ecoscore", "match" : 47, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score C" + "title" : "Green-Score C" }, { "description" : "", @@ -638,13 +638,13 @@ "description" : "", "description_short" : "Moderate environmental impact", "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id" : "ecoscore", "match" : 47, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score C" + "title" : "Green-Score C" }, { "description" : "", @@ -1708,13 +1708,13 @@ { "element_type" : "text", "text_element" : { - "html" : "The Eco-Score is an experimental score that summarizes the environmental impacts of food products." + "html" : "The Green-Score is an experimental score that summarizes the environmental impacts of food products." } }, { "element_type" : "text", "text_element" : { - "html" : "\n \n The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", + "html" : "\n \n The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", "type" : "note" } }, @@ -1744,22 +1744,22 @@ "panel_ids" : [ "environmental_score_total" ], - "title" : "Eco-Score for this product" + "title" : "Green-Score for this product" } }, { "element_type" : "text", "text_element" : { - "html" : "\n

Learn more about the Eco-Score

\n" + "html" : "\n

Learn more about the Green-Score

\n" } } ], "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", - "name" : "Eco-Score", - "title" : "Eco-Score C - Moderate environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", + "name" : "Green-Score", + "title" : "Green-Score C - Moderate environmental impact", "type" : "grade" }, "topics" : [ @@ -2074,7 +2074,7 @@ "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "subtitle" : "Product: Some product - 100 g", "title" : "Impact for this product: C (Score: 47/100)", "type" : "grade" diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card-knowledge_panels_excluded-health_card.json b/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card-knowledge_panels_excluded-health_card.json index 2913ac93c60a7..b5d9e622e77a2 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card-knowledge_panels_excluded-health_card.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card-knowledge_panels_excluded-health_card.json @@ -190,13 +190,13 @@ { "element_type" : "text", "text_element" : { - "html" : "The Eco-Score is an experimental score that summarizes the environmental impacts of food products." + "html" : "The Green-Score is an experimental score that summarizes the environmental impacts of food products." } }, { "element_type" : "text", "text_element" : { - "html" : "\n \n The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", + "html" : "\n \n The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", "type" : "note" } }, @@ -226,22 +226,22 @@ "panel_ids" : [ "environmental_score_total" ], - "title" : "Eco-Score for this product" + "title" : "Green-Score for this product" } }, { "element_type" : "text", "text_element" : { - "html" : "\n

Learn more about the Eco-Score

\n" + "html" : "\n

Learn more about the Green-Score

\n" } } ], "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", - "name" : "Eco-Score", - "title" : "Eco-Score C - Moderate environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", + "name" : "Green-Score", + "title" : "Green-Score C - Moderate environmental impact", "type" : "grade" }, "topics" : [ @@ -556,7 +556,7 @@ "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "subtitle" : "Product: Some product - 100 g", "title" : "Impact for this product: C (Score: 47/100)", "type" : "grade" diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card.json b/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card.json index 233d2ca308bd3..717dd663dad13 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card.json @@ -273,13 +273,13 @@ { "element_type" : "text", "text_element" : { - "html" : "The Eco-Score is an experimental score that summarizes the environmental impacts of food products." + "html" : "The Green-Score is an experimental score that summarizes the environmental impacts of food products." } }, { "element_type" : "text", "text_element" : { - "html" : "\n \n The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", + "html" : "\n \n The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", "type" : "note" } }, @@ -309,22 +309,22 @@ "panel_ids" : [ "environmental_score_total" ], - "title" : "Eco-Score for this product" + "title" : "Green-Score for this product" } }, { "element_type" : "text", "text_element" : { - "html" : "\n

Learn more about the Eco-Score

\n" + "html" : "\n

Learn more about the Green-Score

\n" } } ], "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", - "name" : "Eco-Score", - "title" : "Eco-Score C - Moderate environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", + "name" : "Green-Score", + "title" : "Green-Score C - Moderate environmental impact", "type" : "grade" }, "topics" : [ @@ -639,7 +639,7 @@ "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "subtitle" : "Product: Some product - 100 g", "title" : "Impact for this product: C (Score: 47/100)", "type" : "grade" diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels-fr.json b/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels-fr.json index 1f2faa7741d6a..b81aa46635592 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels-fr.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels-fr.json @@ -280,13 +280,13 @@ { "element_type" : "text", "text_element" : { - "html" : "L'Eco-Score est un score expérimental qui synthétise les impacts environnementaux des produits alimentaires." + "html" : "L'Green-Score est un score expérimental qui synthétise les impacts environnementaux des produits alimentaires." } }, { "element_type" : "text", "text_element" : { - "html" : "\n \n L'Eco-Score a été initialement conçu pour la France et est en cours d'extension à d'autres pays européens. La formule de l'Eco-Score est susceptible d'évoluer car elle est régulièrement améliorée pour la rendre plus précise et mieux adaptée à chaque pays.\n \n ", + "html" : "\n \n L'Green-Score a été initialement conçu pour la France et est en cours d'extension à d'autres pays européens. La formule de l'Green-Score est susceptible d'évoluer car elle est régulièrement améliorée pour la rendre plus précise et mieux adaptée à chaque pays.\n \n ", "type" : "note" } }, @@ -316,22 +316,22 @@ "panel_ids" : [ "environmental_score_total" ], - "title" : "Eco-Score pour ce produit" + "title" : "Green-Score pour ce produit" } }, { "element_type" : "text", "text_element" : { - "html" : "\n

En savoir plus sur l'Eco-Score

\n" + "html" : "\n

En savoir plus sur l'Green-Score

\n" } } ], "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", - "name" : "Eco-Score", - "title" : "Eco-Score C - Impact modéré sur l'environnement", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", + "name" : "Green-Score", + "title" : "Green-Score C - Impact modéré sur l'environnement", "type" : "grade" }, "topics" : [ @@ -646,7 +646,7 @@ "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "subtitle" : "Produit : Some product - 100 g", "title" : "Impact pour ce produit: C (Score: 47/100)", "type" : "grade" diff --git a/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels.json b/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels.json index b17d9bddf3b9a..20c20957b85af 100644 --- a/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels.json +++ b/tests/integration/expected_test_results/api_v2_product_read/get-knowledge-panels.json @@ -273,13 +273,13 @@ { "element_type" : "text", "text_element" : { - "html" : "The Eco-Score is an experimental score that summarizes the environmental impacts of food products." + "html" : "The Green-Score is an experimental score that summarizes the environmental impacts of food products." } }, { "element_type" : "text", "text_element" : { - "html" : "\n \n The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", + "html" : "\n \n The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", "type" : "note" } }, @@ -309,22 +309,22 @@ "panel_ids" : [ "environmental_score_total" ], - "title" : "Eco-Score for this product" + "title" : "Green-Score for this product" } }, { "element_type" : "text", "text_element" : { - "html" : "\n

Learn more about the Eco-Score

\n" + "html" : "\n

Learn more about the Green-Score

\n" } } ], "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", - "name" : "Eco-Score", - "title" : "Eco-Score C - Moderate environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", + "name" : "Green-Score", + "title" : "Green-Score C - Moderate environmental impact", "type" : "grade" }, "topics" : [ @@ -639,7 +639,7 @@ "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "subtitle" : "Product: Some product - 100 g", "title" : "Impact for this product: C (Score: 47/100)", "type" : "grade" diff --git a/tests/integration/expected_test_results/api_v3_product_read/get-attribute-groups-api-v3-1.json b/tests/integration/expected_test_results/api_v3_product_read/get-attribute-groups-api-v3-1.json index df5d14f94e472..5f2c28b9dd82a 100644 --- a/tests/integration/expected_test_results/api_v3_product_read/get-attribute-groups-api-v3-1.json +++ b/tests/integration/expected_test_results/api_v3_product_read/get-attribute-groups-api-v3-1.json @@ -273,13 +273,13 @@ "description" : "", "description_short" : "Moderate environmental impact", "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id" : "ecoscore", "match" : 47, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score C" + "title" : "Green-Score C" }, { "description" : "", diff --git a/tests/integration/expected_test_results/api_v3_product_read/get-attribute-groups-fr.json b/tests/integration/expected_test_results/api_v3_product_read/get-attribute-groups-fr.json index 4ed9cc6019bdd..2146ec4967fa9 100644 --- a/tests/integration/expected_test_results/api_v3_product_read/get-attribute-groups-fr.json +++ b/tests/integration/expected_test_results/api_v3_product_read/get-attribute-groups-fr.json @@ -273,13 +273,13 @@ "description" : "", "description_short" : "Impact modéré sur l'environnement", "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id" : "ecoscore", "match" : 47, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score C" + "title" : "Green-Score C" }, { "description" : "", diff --git a/tests/integration/expected_test_results/api_v3_product_read/get-attribute-groups.json b/tests/integration/expected_test_results/api_v3_product_read/get-attribute-groups.json index df5d14f94e472..5f2c28b9dd82a 100644 --- a/tests/integration/expected_test_results/api_v3_product_read/get-attribute-groups.json +++ b/tests/integration/expected_test_results/api_v3_product_read/get-attribute-groups.json @@ -273,13 +273,13 @@ "description" : "", "description_short" : "Moderate environmental impact", "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id" : "ecoscore", "match" : 47, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score C" + "title" : "Green-Score C" }, { "description" : "", diff --git a/tests/integration/expected_test_results/api_v3_product_read/get-fields-all-knowledge-panels.json b/tests/integration/expected_test_results/api_v3_product_read/get-fields-all-knowledge-panels.json index 04d286e41fd03..e9c507c8f3ad0 100644 --- a/tests/integration/expected_test_results/api_v3_product_read/get-fields-all-knowledge-panels.json +++ b/tests/integration/expected_test_results/api_v3_product_read/get-fields-all-knowledge-panels.json @@ -1048,13 +1048,13 @@ { "element_type" : "text", "text_element" : { - "html" : "The Eco-Score is an experimental score that summarizes the environmental impacts of food products." + "html" : "The Green-Score is an experimental score that summarizes the environmental impacts of food products." } }, { "element_type" : "text", "text_element" : { - "html" : "\n \n The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", + "html" : "\n \n The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", "type" : "note" } }, @@ -1084,22 +1084,22 @@ "panel_ids" : [ "environmental_score_total" ], - "title" : "Eco-Score for this product" + "title" : "Green-Score for this product" } }, { "element_type" : "text", "text_element" : { - "html" : "\n

Learn more about the Eco-Score

\n" + "html" : "\n

Learn more about the Green-Score

\n" } } ], "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", - "name" : "Eco-Score", - "title" : "Eco-Score C - Moderate environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", + "name" : "Green-Score", + "title" : "Green-Score C - Moderate environmental impact", "type" : "grade" }, "topics" : [ @@ -1414,7 +1414,7 @@ "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "subtitle" : "Product: Some product - 100 g", "title" : "Impact for this product: C (Score: 47/100)", "type" : "grade" diff --git a/tests/integration/expected_test_results/api_v3_product_read/get-fields-attribute-groups-all-knowledge-panels.json b/tests/integration/expected_test_results/api_v3_product_read/get-fields-attribute-groups-all-knowledge-panels.json index c566c03cea2af..79e9f054e2f9e 100644 --- a/tests/integration/expected_test_results/api_v3_product_read/get-fields-attribute-groups-all-knowledge-panels.json +++ b/tests/integration/expected_test_results/api_v3_product_read/get-fields-attribute-groups-all-knowledge-panels.json @@ -308,13 +308,13 @@ "description" : "", "description_short" : "Moderate environmental impact", "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id" : "ecoscore", "match" : 47, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score C" + "title" : "Green-Score C" }, { "description" : "", @@ -631,13 +631,13 @@ "description" : "", "description_short" : "Moderate environmental impact", "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id" : "ecoscore", "match" : 47, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score C" + "title" : "Green-Score C" }, { "description" : "", @@ -1694,13 +1694,13 @@ { "element_type" : "text", "text_element" : { - "html" : "The Eco-Score is an experimental score that summarizes the environmental impacts of food products." + "html" : "The Green-Score is an experimental score that summarizes the environmental impacts of food products." } }, { "element_type" : "text", "text_element" : { - "html" : "\n \n The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", + "html" : "\n \n The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", "type" : "note" } }, @@ -1730,22 +1730,22 @@ "panel_ids" : [ "environmental_score_total" ], - "title" : "Eco-Score for this product" + "title" : "Green-Score for this product" } }, { "element_type" : "text", "text_element" : { - "html" : "\n

Learn more about the Eco-Score

\n" + "html" : "\n

Learn more about the Green-Score

\n" } } ], "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", - "name" : "Eco-Score", - "title" : "Eco-Score C - Moderate environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", + "name" : "Green-Score", + "title" : "Green-Score C - Moderate environmental impact", "type" : "grade" }, "topics" : [ @@ -2060,7 +2060,7 @@ "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "subtitle" : "Product: Some product - 100 g", "title" : "Impact for this product: C (Score: 47/100)", "type" : "grade" diff --git a/tests/integration/expected_test_results/api_v3_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card-knowledge_panels_excluded-health_card.json b/tests/integration/expected_test_results/api_v3_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card-knowledge_panels_excluded-health_card.json index 8e62cf4439cd5..59d2b1a571b88 100644 --- a/tests/integration/expected_test_results/api_v3_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card-knowledge_panels_excluded-health_card.json +++ b/tests/integration/expected_test_results/api_v3_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card-knowledge_panels_excluded-health_card.json @@ -191,13 +191,13 @@ { "element_type" : "text", "text_element" : { - "html" : "The Eco-Score is an experimental score that summarizes the environmental impacts of food products." + "html" : "The Green-Score is an experimental score that summarizes the environmental impacts of food products." } }, { "element_type" : "text", "text_element" : { - "html" : "\n \n The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", + "html" : "\n \n The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", "type" : "note" } }, @@ -227,22 +227,22 @@ "panel_ids" : [ "environmental_score_total" ], - "title" : "Eco-Score for this product" + "title" : "Green-Score for this product" } }, { "element_type" : "text", "text_element" : { - "html" : "\n

Learn more about the Eco-Score

\n" + "html" : "\n

Learn more about the Green-Score

\n" } } ], "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", - "name" : "Eco-Score", - "title" : "Eco-Score C - Moderate environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", + "name" : "Green-Score", + "title" : "Green-Score C - Moderate environmental impact", "type" : "grade" }, "topics" : [ @@ -557,7 +557,7 @@ "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "subtitle" : "Product: Some product - 100 g", "title" : "Impact for this product: C (Score: 47/100)", "type" : "grade" diff --git a/tests/integration/expected_test_results/api_v3_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card.json b/tests/integration/expected_test_results/api_v3_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card.json index cc61d7e22a280..2b6b93ea6b670 100644 --- a/tests/integration/expected_test_results/api_v3_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card.json +++ b/tests/integration/expected_test_results/api_v3_product_read/get-fields-knowledge-panels-knowledge-panels_included-health_card-environment_card.json @@ -274,13 +274,13 @@ { "element_type" : "text", "text_element" : { - "html" : "The Eco-Score is an experimental score that summarizes the environmental impacts of food products." + "html" : "The Green-Score is an experimental score that summarizes the environmental impacts of food products." } }, { "element_type" : "text", "text_element" : { - "html" : "\n \n The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", + "html" : "\n \n The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", "type" : "note" } }, @@ -310,22 +310,22 @@ "panel_ids" : [ "environmental_score_total" ], - "title" : "Eco-Score for this product" + "title" : "Green-Score for this product" } }, { "element_type" : "text", "text_element" : { - "html" : "\n

Learn more about the Eco-Score

\n" + "html" : "\n

Learn more about the Green-Score

\n" } } ], "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", - "name" : "Eco-Score", - "title" : "Eco-Score C - Moderate environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", + "name" : "Green-Score", + "title" : "Green-Score C - Moderate environmental impact", "type" : "grade" }, "topics" : [ @@ -640,7 +640,7 @@ "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "subtitle" : "Product: Some product - 100 g", "title" : "Impact for this product: C (Score: 47/100)", "type" : "grade" diff --git a/tests/integration/expected_test_results/api_v3_product_read/get-knowledge-panels-fr.json b/tests/integration/expected_test_results/api_v3_product_read/get-knowledge-panels-fr.json index 8f7d4b674136d..f45c479bafca9 100644 --- a/tests/integration/expected_test_results/api_v3_product_read/get-knowledge-panels-fr.json +++ b/tests/integration/expected_test_results/api_v3_product_read/get-knowledge-panels-fr.json @@ -281,13 +281,13 @@ { "element_type" : "text", "text_element" : { - "html" : "L'Eco-Score est un score expérimental qui synthétise les impacts environnementaux des produits alimentaires." + "html" : "L'Green-Score est un score expérimental qui synthétise les impacts environnementaux des produits alimentaires." } }, { "element_type" : "text", "text_element" : { - "html" : "\n \n L'Eco-Score a été initialement conçu pour la France et est en cours d'extension à d'autres pays européens. La formule de l'Eco-Score est susceptible d'évoluer car elle est régulièrement améliorée pour la rendre plus précise et mieux adaptée à chaque pays.\n \n ", + "html" : "\n \n L'Green-Score a été initialement conçu pour la France et est en cours d'extension à d'autres pays européens. La formule de l'Green-Score est susceptible d'évoluer car elle est régulièrement améliorée pour la rendre plus précise et mieux adaptée à chaque pays.\n \n ", "type" : "note" } }, @@ -317,22 +317,22 @@ "panel_ids" : [ "environmental_score_total" ], - "title" : "Eco-Score pour ce produit" + "title" : "Green-Score pour ce produit" } }, { "element_type" : "text", "text_element" : { - "html" : "\n

En savoir plus sur l'Eco-Score

\n" + "html" : "\n

En savoir plus sur l'Green-Score

\n" } } ], "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", - "name" : "Eco-Score", - "title" : "Eco-Score C - Impact modéré sur l'environnement", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", + "name" : "Green-Score", + "title" : "Green-Score C - Impact modéré sur l'environnement", "type" : "grade" }, "topics" : [ @@ -647,7 +647,7 @@ "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "subtitle" : "Produit : Some product - 100 g", "title" : "Impact pour ce produit: C (Score: 47/100)", "type" : "grade" diff --git a/tests/integration/expected_test_results/api_v3_product_read/get-knowledge-panels.json b/tests/integration/expected_test_results/api_v3_product_read/get-knowledge-panels.json index efaf2c18c8a81..9468738fb44f4 100644 --- a/tests/integration/expected_test_results/api_v3_product_read/get-knowledge-panels.json +++ b/tests/integration/expected_test_results/api_v3_product_read/get-knowledge-panels.json @@ -274,13 +274,13 @@ { "element_type" : "text", "text_element" : { - "html" : "The Eco-Score is an experimental score that summarizes the environmental impacts of food products." + "html" : "The Green-Score is an experimental score that summarizes the environmental impacts of food products." } }, { "element_type" : "text", "text_element" : { - "html" : "\n \n The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", + "html" : "\n \n The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", "type" : "note" } }, @@ -310,22 +310,22 @@ "panel_ids" : [ "environmental_score_total" ], - "title" : "Eco-Score for this product" + "title" : "Green-Score for this product" } }, { "element_type" : "text", "text_element" : { - "html" : "\n

Learn more about the Eco-Score

\n" + "html" : "\n

Learn more about the Green-Score

\n" } } ], "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", - "name" : "Eco-Score", - "title" : "Eco-Score C - Moderate environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", + "name" : "Green-Score", + "title" : "Green-Score C - Moderate environmental impact", "type" : "grade" }, "topics" : [ @@ -640,7 +640,7 @@ "level" : "info", "title_element" : { "grade" : "c", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "subtitle" : "Product: Some product - 100 g", "title" : "Impact for this product: C (Score: 47/100)", "type" : "grade" diff --git a/tests/integration/expected_test_results/api_v3_product_write/patch-request-fields-updated-attribute-groups-knowledge-panels.json b/tests/integration/expected_test_results/api_v3_product_write/patch-request-fields-updated-attribute-groups-knowledge-panels.json index 653ac9f865f07..1872b305157cf 100644 --- a/tests/integration/expected_test_results/api_v3_product_write/patch-request-fields-updated-attribute-groups-knowledge-panels.json +++ b/tests/integration/expected_test_results/api_v3_product_write/patch-request-fields-updated-attribute-groups-knowledge-panels.json @@ -274,13 +274,13 @@ "description" : "", "description_short" : "Unknown environmental impact", "grade" : "unknown", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id" : "ecoscore", "match" : 0, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "unknown", - "title" : "Eco-Score not computed" + "title" : "Green-Score not computed" }, { "description" : "", @@ -367,7 +367,7 @@ { "element_type" : "text", "text_element" : { - "html" : "We could not compute the Eco-Score of this product as it is missing some data, could you help complete it?", + "html" : "We could not compute the Green-Score of this product as it is missing some data, could you help complete it?", "type" : "summary" } }, @@ -376,7 +376,7 @@ "actions" : [ "add_categories" ], - "html" : "Could you add a precise product category so that we can compute the Eco-Score?" + "html" : "Could you add a precise product category so that we can compute the Green-Score?" }, "element_type" : "action" } @@ -384,8 +384,8 @@ "level" : "info", "title_element" : { "grade" : "unknown", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/environmental-score-unknown.svg", - "title" : "Eco-Score not computed - Unknown environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", + "title" : "Green-Score not computed - Unknown environmental impact", "type" : "grade" }, "topics" : [ diff --git a/tests/integration/expected_test_results/data_quality_knowledge_panel/data-quality.json b/tests/integration/expected_test_results/data_quality_knowledge_panel/data-quality.json index 3c5c6d8f3b167..cb5cdc047fe48 100644 --- a/tests/integration/expected_test_results/data_quality_knowledge_panel/data-quality.json +++ b/tests/integration/expected_test_results/data_quality_knowledge_panel/data-quality.json @@ -179,7 +179,7 @@ { "element_type" : "text", "text_element" : { - "html" : "We could not compute the Eco-Score of this product as it is missing some data, could you help complete it?", + "html" : "We could not compute the Green-Score of this product as it is missing some data, could you help complete it?", "type" : "summary" } }, @@ -188,7 +188,7 @@ "actions" : [ "add_categories" ], - "html" : "Could you add a precise product category so that we can compute the Eco-Score?" + "html" : "Could you add a precise product category so that we can compute the Green-Score?" }, "element_type" : "action" } @@ -196,8 +196,8 @@ "level" : "info", "title_element" : { "grade" : "unknown", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/environmental-score-unknown.svg", - "title" : "Eco-Score not computed - Unknown environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", + "title" : "Green-Score not computed - Unknown environmental impact", "type" : "grade" }, "topics" : [ diff --git a/tests/integration/expected_test_results/data_quality_knowledge_panel/no-data-quality.json b/tests/integration/expected_test_results/data_quality_knowledge_panel/no-data-quality.json index c630bc8a6d43f..283c3996fa074 100644 --- a/tests/integration/expected_test_results/data_quality_knowledge_panel/no-data-quality.json +++ b/tests/integration/expected_test_results/data_quality_knowledge_panel/no-data-quality.json @@ -142,7 +142,7 @@ { "element_type" : "text", "text_element" : { - "html" : "We could not compute the Eco-Score of this product as it is missing some data, could you help complete it?", + "html" : "We could not compute the Green-Score of this product as it is missing some data, could you help complete it?", "type" : "summary" } }, @@ -151,7 +151,7 @@ "actions" : [ "add_categories" ], - "html" : "Could you add a precise product category so that we can compute the Eco-Score?" + "html" : "Could you add a precise product category so that we can compute the Green-Score?" }, "element_type" : "action" } @@ -159,8 +159,8 @@ "level" : "info", "title_element" : { "grade" : "unknown", - "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/environmental-score-unknown.svg", - "title" : "Eco-Score not computed - Unknown environmental impact", + "icon_url" : "http://static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", + "title" : "Green-Score not computed - Unknown environmental impact", "type" : "grade" }, "topics" : [ diff --git a/tests/integration/expected_test_results/page_crawler/crawler-access-category-facet-page.html b/tests/integration/expected_test_results/page_crawler/crawler-access-category-facet-page.html index 511ff52444947..50ef35d1dc98b 100644 --- a/tests/integration/expected_test_results/page_crawler/crawler-access-category-facet-page.html +++ b/tests/integration/expected_test_results/page_crawler/crawler-access-category-facet-page.html @@ -449,7 +449,7 @@

Hazelnut spreads

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -966,13 +966,13 @@

    Discover the project

    "description":"", "description_short":"High environmental impact", "grade":"d", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-d.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-d.svg", "id":"ecoscore", "match":31, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score D" + "title":"Green-Score D" }, { "description":"", diff --git a/tests/integration/expected_test_results/page_crawler/crawler-access-product-page.html b/tests/integration/expected_test_results/page_crawler/crawler-access-product-page.html index 4821c31ebdb2a..19383d69bc2f8 100644 --- a/tests/integration/expected_test_results/page_crawler/crawler-access-product-page.html +++ b/tests/integration/expected_test_results/page_crawler/crawler-access-product-page.html @@ -2217,7 +2217,7 @@

    Environment

    > - iconEnvironment > - Eco-Score D - High environmental impact + Green-Score D - High environmental impact
    @@ -2264,7 +2264,7 @@

    Environment

    - The Eco-Score is an experimental score that summarizes the environmental impacts of food products. + The Green-Score is an experimental score that summarizes the environmental impacts of food products.
    @@ -2283,7 +2283,7 @@

    Environment

    → - The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country. + The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.
    @@ -2802,7 +2802,7 @@

    Bonuses and maluses

    ⚠ ️ - For a more precise calculation of the Eco-Score, you can modify the product page and add them. + For a more precise calculation of the Green-Score, you can modify the product page and add them.

    If you are the manufacturer of this product, you can send us the information with our free platform for producers. @@ -2832,7 +2832,7 @@

    Bonuses and maluses

    -

    Eco-Score for this product

    +

    Green-Score for this product

    @@ -2852,7 +2852,7 @@

    Eco-Score for this product

    > - iconEco-Score for this product @@ -3894,7 +3894,7 @@

    Discover the project

    var page_type = "product"; var default_preferences = {"ecoscore":"important","nova":"important","nutriscore":"very_important"}; var preferences_text = "Classify products according to your preferences"; -var product = {"attribute_groups":[{"attributes":[{"description":"","description_short":"Missing data to compute the Nutri-Score","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutriscore-unknown-new-en.svg","id":"nutriscore","match":0,"name":"Nutri-Score","panel_id":"nutriscore_2023","status":"unknown","title":"Nutri-Score unknown"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-salt-unknown.svg","id":"low_salt","missing":"Missing nutrition facts","name":"Salt","status":"unknown","title":"Salt in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-fat-unknown.svg","id":"low_fat","missing":"Missing nutrition facts","name":"Fat","status":"unknown","title":"Fat in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-sugars-unknown.svg","id":"low_sugars","missing":"Missing nutrition facts","name":"Sugars","status":"unknown","title":"Sugars in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-saturated-fat-unknown.svg","id":"low_saturated_fat","missing":"Missing nutrition facts","name":"Saturated fat","status":"unknown","title":"Saturated fat in unknown quantity"}],"id":"nutritional_quality","name":"Nutritional quality"},{"attributes":[{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/gluten-content-unknown.svg","id":"allergens_no_gluten","name":"Gluten","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Gluten"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/milk-content-unknown.svg","id":"allergens_no_milk","name":"Milk","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Milk"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/eggs-content-unknown.svg","id":"allergens_no_eggs","name":"Eggs","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Eggs"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nuts-content-unknown.svg","id":"allergens_no_nuts","name":"Nuts","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Nuts"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/peanuts-content-unknown.svg","id":"allergens_no_peanuts","name":"Peanuts","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Peanuts"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/sesame-seeds-content-unknown.svg","id":"allergens_no_sesame_seeds","name":"Sesame seeds","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Sesame seeds"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/soybeans-content-unknown.svg","id":"allergens_no_soybeans","name":"Soybeans","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Soybeans"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/celery-content-unknown.svg","id":"allergens_no_celery","name":"Celery","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Celery"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/mustard-content-unknown.svg","id":"allergens_no_mustard","name":"Mustard","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Mustard"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/lupin-content-unknown.svg","id":"allergens_no_lupin","name":"Lupin","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Lupin"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fish-content-unknown.svg","id":"allergens_no_fish","name":"Fish","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Fish"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/crustaceans-content-unknown.svg","id":"allergens_no_crustaceans","name":"Crustaceans","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Crustaceans"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/molluscs-content-unknown.svg","id":"allergens_no_molluscs","name":"Molluscs","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Molluscs"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/sulphur-dioxide-and-sulphites-content-unknown.svg","id":"allergens_no_sulphur_dioxide_and_sulphites","name":"Sulphur dioxide and sulphites","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Sulphur dioxide and sulphites"}],"id":"allergens","name":"Allergens","warning":"There is always a possibility that data about allergens may be missing, incomplete, incorrect or that the product's composition has changed. If you are allergic, always check the information on the actual product packaging."},{"attributes":[{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegan-status-unknown.svg","id":"vegan","name":"Vegan","panel_id":"ingredients_analysis_en:vegan-status-unknown","status":"unknown","title":"Vegan status unknown"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegetarian-status-unknown.svg","id":"vegetarian","name":"Vegetarian","panel_id":"ingredients_analysis_en:vegetarian-status-unknown","status":"unknown","title":"Vegetarian status unknown"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/palm-oil-content-unknown.svg","id":"palm_oil_free","name":"Palm oil free","panel_id":"ingredients_analysis_en:palm-oil-content-unknown","status":"unknown","title":"Palm oil content unknown"}],"id":"ingredients_analysis","name":"Ingredients"},{"attributes":[{"grade":"b","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nova-group-3.svg","id":"nova","match":75,"name":"NOVA group","panel_id":"nova","status":"known","title":"Processed foods"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/0-additives.svg","id":"additives","match":100,"name":"Additives","panel_id":"additives","status":"known","title":"Without additives"}],"id":"processing","name":"Food processing"},{"attributes":[{"description":"","description_short":"High environmental impact","grade":"d","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-d.svg","id":"ecoscore","match":31,"name":"Eco-Score","panel_id":"environmental_score","status":"known","title":"Eco-Score D"},{"description":"","description_short":"Currently only for products with chicken or eggs","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/forest-footprint-not-computed.svg","id":"forest_footprint","match":0,"name":"Forest footprint","status":"known","title":"Forest footprint not computed"}],"id":"environment","name":"Environment"},{"attributes":[{"description":"Organic farming aims to protect the environment and to conserve biodiversity by prohibiting or limiting the use of synthetic fertilizers, pesticides and food additives.","description_short":"Organic products promote ecological sustainability and biodiversity.","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/organic-unknown.svg","id":"labels_organic","name":"Organic farming","status":"unknown","title":"Missing information: organic product?"},{"description":"When you buy fair trade products, producers in developing countries are paid an higher and fairer price, which helps them improve and sustain higher social and often environmental standards.","description_short":"Fair trade products help producers in developing countries.","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fair-trade-unknown.svg","id":"labels_fair_trade","name":"Fair trade","status":"unknown","title":"Missing information: fair trade product?"}],"id":"labels","name":"Labels"}]}; +var product = {"attribute_groups":[{"attributes":[{"description":"","description_short":"Missing data to compute the Nutri-Score","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutriscore-unknown-new-en.svg","id":"nutriscore","match":0,"name":"Nutri-Score","panel_id":"nutriscore_2023","status":"unknown","title":"Nutri-Score unknown"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-salt-unknown.svg","id":"low_salt","missing":"Missing nutrition facts","name":"Salt","status":"unknown","title":"Salt in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-fat-unknown.svg","id":"low_fat","missing":"Missing nutrition facts","name":"Fat","status":"unknown","title":"Fat in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-sugars-unknown.svg","id":"low_sugars","missing":"Missing nutrition facts","name":"Sugars","status":"unknown","title":"Sugars in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-saturated-fat-unknown.svg","id":"low_saturated_fat","missing":"Missing nutrition facts","name":"Saturated fat","status":"unknown","title":"Saturated fat in unknown quantity"}],"id":"nutritional_quality","name":"Nutritional quality"},{"attributes":[{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/gluten-content-unknown.svg","id":"allergens_no_gluten","name":"Gluten","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Gluten"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/milk-content-unknown.svg","id":"allergens_no_milk","name":"Milk","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Milk"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/eggs-content-unknown.svg","id":"allergens_no_eggs","name":"Eggs","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Eggs"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nuts-content-unknown.svg","id":"allergens_no_nuts","name":"Nuts","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Nuts"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/peanuts-content-unknown.svg","id":"allergens_no_peanuts","name":"Peanuts","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Peanuts"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/sesame-seeds-content-unknown.svg","id":"allergens_no_sesame_seeds","name":"Sesame seeds","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Sesame seeds"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/soybeans-content-unknown.svg","id":"allergens_no_soybeans","name":"Soybeans","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Soybeans"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/celery-content-unknown.svg","id":"allergens_no_celery","name":"Celery","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Celery"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/mustard-content-unknown.svg","id":"allergens_no_mustard","name":"Mustard","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Mustard"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/lupin-content-unknown.svg","id":"allergens_no_lupin","name":"Lupin","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Lupin"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fish-content-unknown.svg","id":"allergens_no_fish","name":"Fish","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Fish"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/crustaceans-content-unknown.svg","id":"allergens_no_crustaceans","name":"Crustaceans","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Crustaceans"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/molluscs-content-unknown.svg","id":"allergens_no_molluscs","name":"Molluscs","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Molluscs"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/sulphur-dioxide-and-sulphites-content-unknown.svg","id":"allergens_no_sulphur_dioxide_and_sulphites","name":"Sulphur dioxide and sulphites","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Sulphur dioxide and sulphites"}],"id":"allergens","name":"Allergens","warning":"There is always a possibility that data about allergens may be missing, incomplete, incorrect or that the product's composition has changed. If you are allergic, always check the information on the actual product packaging."},{"attributes":[{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegan-status-unknown.svg","id":"vegan","name":"Vegan","panel_id":"ingredients_analysis_en:vegan-status-unknown","status":"unknown","title":"Vegan status unknown"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegetarian-status-unknown.svg","id":"vegetarian","name":"Vegetarian","panel_id":"ingredients_analysis_en:vegetarian-status-unknown","status":"unknown","title":"Vegetarian status unknown"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/palm-oil-content-unknown.svg","id":"palm_oil_free","name":"Palm oil free","panel_id":"ingredients_analysis_en:palm-oil-content-unknown","status":"unknown","title":"Palm oil content unknown"}],"id":"ingredients_analysis","name":"Ingredients"},{"attributes":[{"grade":"b","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nova-group-3.svg","id":"nova","match":75,"name":"NOVA group","panel_id":"nova","status":"known","title":"Processed foods"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/0-additives.svg","id":"additives","match":100,"name":"Additives","panel_id":"additives","status":"known","title":"Without additives"}],"id":"processing","name":"Food processing"},{"attributes":[{"description":"","description_short":"High environmental impact","grade":"d","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-d.svg","id":"ecoscore","match":31,"name":"Green-Score","panel_id":"environmental_score","status":"known","title":"Green-Score D"},{"description":"","description_short":"Currently only for products with chicken or eggs","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/forest-footprint-not-computed.svg","id":"forest_footprint","match":0,"name":"Forest footprint","status":"known","title":"Forest footprint not computed"}],"id":"environment","name":"Environment"},{"attributes":[{"description":"Organic farming aims to protect the environment and to conserve biodiversity by prohibiting or limiting the use of synthetic fertilizers, pesticides and food additives.","description_short":"Organic products promote ecological sustainability and biodiversity.","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/organic-unknown.svg","id":"labels_organic","name":"Organic farming","status":"unknown","title":"Missing information: organic product?"},{"description":"When you buy fair trade products, producers in developing countries are paid an higher and fairer price, which helps them improve and sustain higher social and often environmental standards.","description_short":"Fair trade products help producers in developing countries.","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fair-trade-unknown.svg","id":"labels_fair_trade","name":"Fair trade","status":"unknown","title":"Missing information: fair trade product?"}],"id":"labels","name":"Labels"}]}; diff --git a/tests/integration/expected_test_results/page_crawler/crawler-does-not-get-facet-knowledge-panels.html b/tests/integration/expected_test_results/page_crawler/crawler-does-not-get-facet-knowledge-panels.html index c360af405258d..b61e73eabd34e 100644 --- a/tests/integration/expected_test_results/page_crawler/crawler-does-not-get-facet-knowledge-panels.html +++ b/tests/integration/expected_test_results/page_crawler/crawler-does-not-get-facet-knowledge-panels.html @@ -513,7 +513,7 @@

    Cakes

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -1030,13 +1030,13 @@

    Discover the project

    "description":"", "description_short":"High environmental impact", "grade":"d", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-d.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-d.svg", "id":"ecoscore", "match":31, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score D" + "title":"Green-Score D" }, { "description":"", diff --git a/tests/integration/expected_test_results/page_crawler/get-robots-txt-ch-it.text b/tests/integration/expected_test_results/page_crawler/get-robots-txt-ch-it.text index 1fa634e5e6b49..faefdafbbb86f 100644 --- a/tests/integration/expected_test_results/page_crawler/get-robots-txt-ch-it.text +++ b/tests/integration/expected_test_results/page_crawler/get-robots-txt-ch-it.text @@ -37,7 +37,7 @@ Disallow: /data-quality-warnings-producers Disallow: /data-source Disallow: /data-sources Disallow: /debug -Disallow: /eco-score +Disallow: /environmental-score Disallow: /editor Disallow: /editors Disallow: /packager-code diff --git a/tests/integration/expected_test_results/page_crawler/get-robots-txt-fr-pro-platform.text b/tests/integration/expected_test_results/page_crawler/get-robots-txt-fr-pro-platform.text index 01decf05fe1b3..6e20ca6f8dddc 100644 --- a/tests/integration/expected_test_results/page_crawler/get-robots-txt-fr-pro-platform.text +++ b/tests/integration/expected_test_results/page_crawler/get-robots-txt-fr-pro-platform.text @@ -65,7 +65,7 @@ Disallow: /data-sources Disallow: /source-de-donnees Disallow: /sources-de-donnees Disallow: /debug -Disallow: /eco-score +Disallow: /environmental-score Disallow: /editor Disallow: /editors Disallow: /editeur diff --git a/tests/integration/expected_test_results/page_crawler/get-robots-txt-fr.text b/tests/integration/expected_test_results/page_crawler/get-robots-txt-fr.text index 01decf05fe1b3..6e20ca6f8dddc 100644 --- a/tests/integration/expected_test_results/page_crawler/get-robots-txt-fr.text +++ b/tests/integration/expected_test_results/page_crawler/get-robots-txt-fr.text @@ -65,7 +65,7 @@ Disallow: /data-sources Disallow: /source-de-donnees Disallow: /sources-de-donnees Disallow: /debug -Disallow: /eco-score +Disallow: /environmental-score Disallow: /editor Disallow: /editors Disallow: /editeur diff --git a/tests/integration/expected_test_results/page_crawler/get-robots-txt-world-pro-platform.text b/tests/integration/expected_test_results/page_crawler/get-robots-txt-world-pro-platform.text index 1fa634e5e6b49..faefdafbbb86f 100644 --- a/tests/integration/expected_test_results/page_crawler/get-robots-txt-world-pro-platform.text +++ b/tests/integration/expected_test_results/page_crawler/get-robots-txt-world-pro-platform.text @@ -37,7 +37,7 @@ Disallow: /data-quality-warnings-producers Disallow: /data-source Disallow: /data-sources Disallow: /debug -Disallow: /eco-score +Disallow: /environmental-score Disallow: /editor Disallow: /editors Disallow: /packager-code diff --git a/tests/integration/expected_test_results/page_crawler/get-robots-txt-world.text b/tests/integration/expected_test_results/page_crawler/get-robots-txt-world.text index 1fa634e5e6b49..faefdafbbb86f 100644 --- a/tests/integration/expected_test_results/page_crawler/get-robots-txt-world.text +++ b/tests/integration/expected_test_results/page_crawler/get-robots-txt-world.text @@ -37,7 +37,7 @@ Disallow: /data-quality-warnings-producers Disallow: /data-source Disallow: /data-sources Disallow: /debug -Disallow: /eco-score +Disallow: /environmental-score Disallow: /editor Disallow: /editors Disallow: /packager-code diff --git a/tests/integration/expected_test_results/page_crawler/normal-user-access-category-facet-page.html b/tests/integration/expected_test_results/page_crawler/normal-user-access-category-facet-page.html index 0933f8116ea0d..6beb2dda2f5f4 100644 --- a/tests/integration/expected_test_results/page_crawler/normal-user-access-category-facet-page.html +++ b/tests/integration/expected_test_results/page_crawler/normal-user-access-category-facet-page.html @@ -490,7 +490,7 @@

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -1007,13 +1007,13 @@

    Discover the project

    "description":"", "description_short":"High environmental impact", "grade":"d", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-d.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-d.svg", "id":"ecoscore", "match":31, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score D" + "title":"Green-Score D" }, { "description":"", diff --git a/tests/integration/expected_test_results/page_crawler/normal-user-access-nested-facet-page.html b/tests/integration/expected_test_results/page_crawler/normal-user-access-nested-facet-page.html index b93996c122a3f..52eb5ea986ce3 100644 --- a/tests/integration/expected_test_results/page_crawler/normal-user-access-nested-facet-page.html +++ b/tests/integration/expected_test_results/page_crawler/normal-user-access-nested-facet-page.html @@ -485,7 +485,7 @@

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -1002,13 +1002,13 @@

    Discover the project

    "description":"", "description_short":"High environmental impact", "grade":"d", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-d.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-d.svg", "id":"ecoscore", "match":31, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score D" + "title":"Green-Score D" }, { "description":"", diff --git a/tests/integration/expected_test_results/page_crawler/normal-user-access-product-page.html b/tests/integration/expected_test_results/page_crawler/normal-user-access-product-page.html index 4821c31ebdb2a..19383d69bc2f8 100644 --- a/tests/integration/expected_test_results/page_crawler/normal-user-access-product-page.html +++ b/tests/integration/expected_test_results/page_crawler/normal-user-access-product-page.html @@ -2217,7 +2217,7 @@

    Environment

    > - iconEnvironment > - Eco-Score D - High environmental impact + Green-Score D - High environmental impact
    @@ -2264,7 +2264,7 @@

    Environment

    - The Eco-Score is an experimental score that summarizes the environmental impacts of food products. + The Green-Score is an experimental score that summarizes the environmental impacts of food products.
    @@ -2283,7 +2283,7 @@

    Environment

    → - The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country. + The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.
    @@ -2802,7 +2802,7 @@

    Bonuses and maluses

    ⚠ ️ - For a more precise calculation of the Eco-Score, you can modify the product page and add them. + For a more precise calculation of the Green-Score, you can modify the product page and add them.

    If you are the manufacturer of this product, you can send us the information with our free platform for producers. @@ -2832,7 +2832,7 @@

    Bonuses and maluses

    -

    Eco-Score for this product

    +

    Green-Score for this product

    @@ -2852,7 +2852,7 @@

    Eco-Score for this product

    > - iconEco-Score for this product @@ -3894,7 +3894,7 @@

    Discover the project

    var page_type = "product"; var default_preferences = {"ecoscore":"important","nova":"important","nutriscore":"very_important"}; var preferences_text = "Classify products according to your preferences"; -var product = {"attribute_groups":[{"attributes":[{"description":"","description_short":"Missing data to compute the Nutri-Score","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutriscore-unknown-new-en.svg","id":"nutriscore","match":0,"name":"Nutri-Score","panel_id":"nutriscore_2023","status":"unknown","title":"Nutri-Score unknown"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-salt-unknown.svg","id":"low_salt","missing":"Missing nutrition facts","name":"Salt","status":"unknown","title":"Salt in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-fat-unknown.svg","id":"low_fat","missing":"Missing nutrition facts","name":"Fat","status":"unknown","title":"Fat in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-sugars-unknown.svg","id":"low_sugars","missing":"Missing nutrition facts","name":"Sugars","status":"unknown","title":"Sugars in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-saturated-fat-unknown.svg","id":"low_saturated_fat","missing":"Missing nutrition facts","name":"Saturated fat","status":"unknown","title":"Saturated fat in unknown quantity"}],"id":"nutritional_quality","name":"Nutritional quality"},{"attributes":[{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/gluten-content-unknown.svg","id":"allergens_no_gluten","name":"Gluten","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Gluten"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/milk-content-unknown.svg","id":"allergens_no_milk","name":"Milk","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Milk"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/eggs-content-unknown.svg","id":"allergens_no_eggs","name":"Eggs","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Eggs"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nuts-content-unknown.svg","id":"allergens_no_nuts","name":"Nuts","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Nuts"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/peanuts-content-unknown.svg","id":"allergens_no_peanuts","name":"Peanuts","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Peanuts"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/sesame-seeds-content-unknown.svg","id":"allergens_no_sesame_seeds","name":"Sesame seeds","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Sesame seeds"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/soybeans-content-unknown.svg","id":"allergens_no_soybeans","name":"Soybeans","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Soybeans"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/celery-content-unknown.svg","id":"allergens_no_celery","name":"Celery","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Celery"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/mustard-content-unknown.svg","id":"allergens_no_mustard","name":"Mustard","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Mustard"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/lupin-content-unknown.svg","id":"allergens_no_lupin","name":"Lupin","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Lupin"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fish-content-unknown.svg","id":"allergens_no_fish","name":"Fish","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Fish"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/crustaceans-content-unknown.svg","id":"allergens_no_crustaceans","name":"Crustaceans","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Crustaceans"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/molluscs-content-unknown.svg","id":"allergens_no_molluscs","name":"Molluscs","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Molluscs"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/sulphur-dioxide-and-sulphites-content-unknown.svg","id":"allergens_no_sulphur_dioxide_and_sulphites","name":"Sulphur dioxide and sulphites","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Sulphur dioxide and sulphites"}],"id":"allergens","name":"Allergens","warning":"There is always a possibility that data about allergens may be missing, incomplete, incorrect or that the product's composition has changed. If you are allergic, always check the information on the actual product packaging."},{"attributes":[{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegan-status-unknown.svg","id":"vegan","name":"Vegan","panel_id":"ingredients_analysis_en:vegan-status-unknown","status":"unknown","title":"Vegan status unknown"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegetarian-status-unknown.svg","id":"vegetarian","name":"Vegetarian","panel_id":"ingredients_analysis_en:vegetarian-status-unknown","status":"unknown","title":"Vegetarian status unknown"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/palm-oil-content-unknown.svg","id":"palm_oil_free","name":"Palm oil free","panel_id":"ingredients_analysis_en:palm-oil-content-unknown","status":"unknown","title":"Palm oil content unknown"}],"id":"ingredients_analysis","name":"Ingredients"},{"attributes":[{"grade":"b","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nova-group-3.svg","id":"nova","match":75,"name":"NOVA group","panel_id":"nova","status":"known","title":"Processed foods"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/0-additives.svg","id":"additives","match":100,"name":"Additives","panel_id":"additives","status":"known","title":"Without additives"}],"id":"processing","name":"Food processing"},{"attributes":[{"description":"","description_short":"High environmental impact","grade":"d","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-d.svg","id":"ecoscore","match":31,"name":"Eco-Score","panel_id":"environmental_score","status":"known","title":"Eco-Score D"},{"description":"","description_short":"Currently only for products with chicken or eggs","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/forest-footprint-not-computed.svg","id":"forest_footprint","match":0,"name":"Forest footprint","status":"known","title":"Forest footprint not computed"}],"id":"environment","name":"Environment"},{"attributes":[{"description":"Organic farming aims to protect the environment and to conserve biodiversity by prohibiting or limiting the use of synthetic fertilizers, pesticides and food additives.","description_short":"Organic products promote ecological sustainability and biodiversity.","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/organic-unknown.svg","id":"labels_organic","name":"Organic farming","status":"unknown","title":"Missing information: organic product?"},{"description":"When you buy fair trade products, producers in developing countries are paid an higher and fairer price, which helps them improve and sustain higher social and often environmental standards.","description_short":"Fair trade products help producers in developing countries.","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fair-trade-unknown.svg","id":"labels_fair_trade","name":"Fair trade","status":"unknown","title":"Missing information: fair trade product?"}],"id":"labels","name":"Labels"}]}; +var product = {"attribute_groups":[{"attributes":[{"description":"","description_short":"Missing data to compute the Nutri-Score","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutriscore-unknown-new-en.svg","id":"nutriscore","match":0,"name":"Nutri-Score","panel_id":"nutriscore_2023","status":"unknown","title":"Nutri-Score unknown"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-salt-unknown.svg","id":"low_salt","missing":"Missing nutrition facts","name":"Salt","status":"unknown","title":"Salt in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-fat-unknown.svg","id":"low_fat","missing":"Missing nutrition facts","name":"Fat","status":"unknown","title":"Fat in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-sugars-unknown.svg","id":"low_sugars","missing":"Missing nutrition facts","name":"Sugars","status":"unknown","title":"Sugars in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-saturated-fat-unknown.svg","id":"low_saturated_fat","missing":"Missing nutrition facts","name":"Saturated fat","status":"unknown","title":"Saturated fat in unknown quantity"}],"id":"nutritional_quality","name":"Nutritional quality"},{"attributes":[{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/gluten-content-unknown.svg","id":"allergens_no_gluten","name":"Gluten","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Gluten"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/milk-content-unknown.svg","id":"allergens_no_milk","name":"Milk","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Milk"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/eggs-content-unknown.svg","id":"allergens_no_eggs","name":"Eggs","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Eggs"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nuts-content-unknown.svg","id":"allergens_no_nuts","name":"Nuts","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Nuts"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/peanuts-content-unknown.svg","id":"allergens_no_peanuts","name":"Peanuts","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Peanuts"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/sesame-seeds-content-unknown.svg","id":"allergens_no_sesame_seeds","name":"Sesame seeds","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Sesame seeds"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/soybeans-content-unknown.svg","id":"allergens_no_soybeans","name":"Soybeans","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Soybeans"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/celery-content-unknown.svg","id":"allergens_no_celery","name":"Celery","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Celery"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/mustard-content-unknown.svg","id":"allergens_no_mustard","name":"Mustard","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Mustard"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/lupin-content-unknown.svg","id":"allergens_no_lupin","name":"Lupin","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Lupin"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fish-content-unknown.svg","id":"allergens_no_fish","name":"Fish","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Fish"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/crustaceans-content-unknown.svg","id":"allergens_no_crustaceans","name":"Crustaceans","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Crustaceans"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/molluscs-content-unknown.svg","id":"allergens_no_molluscs","name":"Molluscs","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Molluscs"},{"debug":"too many unknown ingredients: 2 ingredients (1 unknown)","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/sulphur-dioxide-and-sulphites-content-unknown.svg","id":"allergens_no_sulphur_dioxide_and_sulphites","name":"Sulphur dioxide and sulphites","panel_id":"ingredients_analysis_details","status":"unknown","title":"Presence unknown: Sulphur dioxide and sulphites"}],"id":"allergens","name":"Allergens","warning":"There is always a possibility that data about allergens may be missing, incomplete, incorrect or that the product's composition has changed. If you are allergic, always check the information on the actual product packaging."},{"attributes":[{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegan-status-unknown.svg","id":"vegan","name":"Vegan","panel_id":"ingredients_analysis_en:vegan-status-unknown","status":"unknown","title":"Vegan status unknown"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegetarian-status-unknown.svg","id":"vegetarian","name":"Vegetarian","panel_id":"ingredients_analysis_en:vegetarian-status-unknown","status":"unknown","title":"Vegetarian status unknown"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/palm-oil-content-unknown.svg","id":"palm_oil_free","name":"Palm oil free","panel_id":"ingredients_analysis_en:palm-oil-content-unknown","status":"unknown","title":"Palm oil content unknown"}],"id":"ingredients_analysis","name":"Ingredients"},{"attributes":[{"grade":"b","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nova-group-3.svg","id":"nova","match":75,"name":"NOVA group","panel_id":"nova","status":"known","title":"Processed foods"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/0-additives.svg","id":"additives","match":100,"name":"Additives","panel_id":"additives","status":"known","title":"Without additives"}],"id":"processing","name":"Food processing"},{"attributes":[{"description":"","description_short":"High environmental impact","grade":"d","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-d.svg","id":"ecoscore","match":31,"name":"Green-Score","panel_id":"environmental_score","status":"known","title":"Green-Score D"},{"description":"","description_short":"Currently only for products with chicken or eggs","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/forest-footprint-not-computed.svg","id":"forest_footprint","match":0,"name":"Forest footprint","status":"known","title":"Forest footprint not computed"}],"id":"environment","name":"Environment"},{"attributes":[{"description":"Organic farming aims to protect the environment and to conserve biodiversity by prohibiting or limiting the use of synthetic fertilizers, pesticides and food additives.","description_short":"Organic products promote ecological sustainability and biodiversity.","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/organic-unknown.svg","id":"labels_organic","name":"Organic farming","status":"unknown","title":"Missing information: organic product?"},{"description":"When you buy fair trade products, producers in developing countries are paid an higher and fairer price, which helps them improve and sustain higher social and often environmental standards.","description_short":"Fair trade products help producers in developing countries.","grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fair-trade-unknown.svg","id":"labels_fair_trade","name":"Fair trade","status":"unknown","title":"Missing information: fair trade product?"}],"id":"labels","name":"Labels"}]}; diff --git a/tests/integration/expected_test_results/page_crawler/normal-user-get-facet-knowledge-panels.html b/tests/integration/expected_test_results/page_crawler/normal-user-get-facet-knowledge-panels.html index 8df5c390049e1..c0e1967d87590 100644 --- a/tests/integration/expected_test_results/page_crawler/normal-user-get-facet-knowledge-panels.html +++ b/tests/integration/expected_test_results/page_crawler/normal-user-get-facet-knowledge-panels.html @@ -554,7 +554,7 @@

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -1071,13 +1071,13 @@

    Discover the project

    "description":"", "description_short":"High environmental impact", "grade":"d", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-d.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-d.svg", "id":"ecoscore", "match":31, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score D" + "title":"Green-Score D" }, { "description":"", diff --git a/tests/integration/expected_test_results/product_read/get-existing-product.html b/tests/integration/expected_test_results/product_read/get-existing-product.html index a2bba09e0d7ef..4f4db797a4d7a 100644 --- a/tests/integration/expected_test_results/product_read/get-existing-product.html +++ b/tests/integration/expected_test_results/product_read/get-existing-product.html @@ -2641,7 +2641,7 @@

    Environment

    > - iconEnvironment > - Eco-Score C - Moderate environmental impact + Green-Score C - Moderate environmental impact
    @@ -2688,7 +2688,7 @@

    Environment

    - The Eco-Score is an experimental score that summarizes the environmental impacts of food products. + The Green-Score is an experimental score that summarizes the environmental impacts of food products.
    @@ -2707,7 +2707,7 @@

    Environment

    → - The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country. + The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.
    @@ -3498,7 +3498,7 @@

    Bonuses and maluses

    -

    Eco-Score for this product

    +

    Green-Score for this product

    @@ -3518,7 +3518,7 @@

    Eco-Score for this product

    > - iconEco-Score for this product @@ -5070,7 +5070,7 @@

    Discover the project

    var page_type = "product"; var default_preferences = {"ecoscore":"important","nova":"important","nutriscore":"very_important"}; var preferences_text = "Classify products according to your preferences"; -var product = {"attribute_groups":[{"attributes":[{"description":"","description_short":"Average nutritional quality","grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutriscore-c-new-en.svg","id":"nutriscore","match":53.6666666666667,"name":"Nutri-Score","panel_id":"nutriscore_2023","status":"known","title":"Nutri-Score C"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-salt-unknown.svg","id":"low_salt","missing":"Missing nutrition facts","name":"Salt","status":"unknown","title":"Salt in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-fat-unknown.svg","id":"low_fat","missing":"Missing nutrition facts","name":"Fat","status":"unknown","title":"Fat in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-sugars-unknown.svg","id":"low_sugars","missing":"Missing nutrition facts","name":"Sugars","status":"unknown","title":"Sugars in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-saturated-fat-unknown.svg","id":"low_saturated_fat","missing":"Missing nutrition facts","name":"Saturated fat","status":"unknown","title":"Saturated fat in unknown quantity"}],"id":"nutritional_quality","name":"Nutritional quality"},{"attributes":[{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-gluten.svg","id":"allergens_no_gluten","match":100,"name":"Gluten","status":"known","title":"Does not contain: Gluten"},{"debug":"en:milk in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-milk.svg","id":"allergens_no_milk","match":0,"name":"Milk","status":"known","title":"Contains: Milk"},{"debug":"en:eggs in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-eggs.svg","id":"allergens_no_eggs","match":0,"name":"Eggs","status":"known","title":"Contains: Eggs"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-nuts.svg","id":"allergens_no_nuts","match":100,"name":"Nuts","status":"known","title":"Does not contain: Nuts"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-peanuts.svg","id":"allergens_no_peanuts","match":100,"name":"Peanuts","status":"known","title":"Does not contain: Peanuts"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sesame-seeds.svg","id":"allergens_no_sesame_seeds","match":100,"name":"Sesame seeds","status":"known","title":"Does not contain: Sesame seeds"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-soybeans.svg","id":"allergens_no_soybeans","match":100,"name":"Soybeans","status":"known","title":"Does not contain: Soybeans"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-celery.svg","id":"allergens_no_celery","match":100,"name":"Celery","status":"known","title":"Does not contain: Celery"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-mustard.svg","id":"allergens_no_mustard","match":100,"name":"Mustard","status":"known","title":"Does not contain: Mustard"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-lupin.svg","id":"allergens_no_lupin","match":100,"name":"Lupin","status":"known","title":"Does not contain: Lupin"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-fish.svg","id":"allergens_no_fish","match":100,"name":"Fish","status":"known","title":"Does not contain: Fish"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-crustaceans.svg","id":"allergens_no_crustaceans","match":100,"name":"Crustaceans","status":"known","title":"Does not contain: Crustaceans"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-molluscs.svg","id":"allergens_no_molluscs","match":100,"name":"Molluscs","status":"known","title":"Does not contain: Molluscs"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sulphur-dioxide-and-sulphites.svg","id":"allergens_no_sulphur_dioxide_and_sulphites","match":100,"name":"Sulphur dioxide and sulphites","status":"known","title":"Does not contain: Sulphur dioxide and sulphites"}],"id":"allergens","name":"Allergens","warning":"There is always a possibility that data about allergens may be missing, incomplete, incorrect or that the product's composition has changed. If you are allergic, always check the information on the actual product packaging."},{"attributes":[{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/non-vegan.svg","id":"vegan","match":0,"name":"Vegan","panel_id":"ingredients_analysis_en:non-vegan","status":"known","title":"Non-vegan"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegetarian.svg","id":"vegetarian","match":100,"name":"Vegetarian","panel_id":"ingredients_analysis_en:vegetarian","status":"known","title":"Vegetarian"},{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-palm-oil.svg","id":"palm_oil_free","match":0,"name":"Palm oil free","panel_id":"ingredients_analysis_en:palm-oil","status":"known","title":"Palm oil"}],"id":"ingredients_analysis","name":"Ingredients"},{"attributes":[{"grade":"b","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nova-group-3.svg","id":"nova","match":75,"name":"NOVA group","panel_id":"nova","status":"known","title":"Processed foods"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/0-additives.svg","id":"additives","match":100,"name":"Additives","panel_id":"additives","status":"known","title":"Without additives"}],"id":"processing","name":"Food processing"},{"attributes":[{"description":"","description_short":"Moderate environmental impact","grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg","id":"ecoscore","match":47,"name":"Eco-Score","panel_id":"environmental_score","status":"known","title":"Eco-Score C"},{"description":"","description_short":"Almost no risk of deforestation","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/forest-footprint-a.svg","id":"forest_footprint","match":99.9416666666667,"name":"Forest footprint","status":"known","title":"Very small forest footprint"}],"id":"environment","name":"Environment"},{"attributes":[{"description":"Organic farming aims to protect the environment and to conserve biodiversity by prohibiting or limiting the use of synthetic fertilizers, pesticides and food additives.","description_short":"Promotes ecological sustainability and biodiversity.","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/organic.svg","id":"labels_organic","match":100,"name":"Organic farming","status":"known","title":"Organic product"},{"description":"When you buy fair trade products, producers in developing countries are paid an higher and fairer price, which helps them improve and sustain higher social and often environmental standards.","description_short":"Fair trade products help producers in developing countries.","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/not-fair-trade.svg","id":"labels_fair_trade","match":0,"name":"Fair trade","status":"known","title":"Not a fair trade product"}],"id":"labels","name":"Labels"}]}; +var product = {"attribute_groups":[{"attributes":[{"description":"","description_short":"Average nutritional quality","grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutriscore-c-new-en.svg","id":"nutriscore","match":53.6666666666667,"name":"Nutri-Score","panel_id":"nutriscore_2023","status":"known","title":"Nutri-Score C"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-salt-unknown.svg","id":"low_salt","missing":"Missing nutrition facts","name":"Salt","status":"unknown","title":"Salt in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-fat-unknown.svg","id":"low_fat","missing":"Missing nutrition facts","name":"Fat","status":"unknown","title":"Fat in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-sugars-unknown.svg","id":"low_sugars","missing":"Missing nutrition facts","name":"Sugars","status":"unknown","title":"Sugars in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-saturated-fat-unknown.svg","id":"low_saturated_fat","missing":"Missing nutrition facts","name":"Saturated fat","status":"unknown","title":"Saturated fat in unknown quantity"}],"id":"nutritional_quality","name":"Nutritional quality"},{"attributes":[{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-gluten.svg","id":"allergens_no_gluten","match":100,"name":"Gluten","status":"known","title":"Does not contain: Gluten"},{"debug":"en:milk in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-milk.svg","id":"allergens_no_milk","match":0,"name":"Milk","status":"known","title":"Contains: Milk"},{"debug":"en:eggs in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-eggs.svg","id":"allergens_no_eggs","match":0,"name":"Eggs","status":"known","title":"Contains: Eggs"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-nuts.svg","id":"allergens_no_nuts","match":100,"name":"Nuts","status":"known","title":"Does not contain: Nuts"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-peanuts.svg","id":"allergens_no_peanuts","match":100,"name":"Peanuts","status":"known","title":"Does not contain: Peanuts"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sesame-seeds.svg","id":"allergens_no_sesame_seeds","match":100,"name":"Sesame seeds","status":"known","title":"Does not contain: Sesame seeds"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-soybeans.svg","id":"allergens_no_soybeans","match":100,"name":"Soybeans","status":"known","title":"Does not contain: Soybeans"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-celery.svg","id":"allergens_no_celery","match":100,"name":"Celery","status":"known","title":"Does not contain: Celery"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-mustard.svg","id":"allergens_no_mustard","match":100,"name":"Mustard","status":"known","title":"Does not contain: Mustard"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-lupin.svg","id":"allergens_no_lupin","match":100,"name":"Lupin","status":"known","title":"Does not contain: Lupin"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-fish.svg","id":"allergens_no_fish","match":100,"name":"Fish","status":"known","title":"Does not contain: Fish"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-crustaceans.svg","id":"allergens_no_crustaceans","match":100,"name":"Crustaceans","status":"known","title":"Does not contain: Crustaceans"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-molluscs.svg","id":"allergens_no_molluscs","match":100,"name":"Molluscs","status":"known","title":"Does not contain: Molluscs"},{"debug":"4 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sulphur-dioxide-and-sulphites.svg","id":"allergens_no_sulphur_dioxide_and_sulphites","match":100,"name":"Sulphur dioxide and sulphites","status":"known","title":"Does not contain: Sulphur dioxide and sulphites"}],"id":"allergens","name":"Allergens","warning":"There is always a possibility that data about allergens may be missing, incomplete, incorrect or that the product's composition has changed. If you are allergic, always check the information on the actual product packaging."},{"attributes":[{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/non-vegan.svg","id":"vegan","match":0,"name":"Vegan","panel_id":"ingredients_analysis_en:non-vegan","status":"known","title":"Non-vegan"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegetarian.svg","id":"vegetarian","match":100,"name":"Vegetarian","panel_id":"ingredients_analysis_en:vegetarian","status":"known","title":"Vegetarian"},{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-palm-oil.svg","id":"palm_oil_free","match":0,"name":"Palm oil free","panel_id":"ingredients_analysis_en:palm-oil","status":"known","title":"Palm oil"}],"id":"ingredients_analysis","name":"Ingredients"},{"attributes":[{"grade":"b","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nova-group-3.svg","id":"nova","match":75,"name":"NOVA group","panel_id":"nova","status":"known","title":"Processed foods"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/0-additives.svg","id":"additives","match":100,"name":"Additives","panel_id":"additives","status":"known","title":"Without additives"}],"id":"processing","name":"Food processing"},{"attributes":[{"description":"","description_short":"Moderate environmental impact","grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg","id":"ecoscore","match":47,"name":"Green-Score","panel_id":"environmental_score","status":"known","title":"Green-Score C"},{"description":"","description_short":"Almost no risk of deforestation","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/forest-footprint-a.svg","id":"forest_footprint","match":99.9416666666667,"name":"Forest footprint","status":"known","title":"Very small forest footprint"}],"id":"environment","name":"Environment"},{"attributes":[{"description":"Organic farming aims to protect the environment and to conserve biodiversity by prohibiting or limiting the use of synthetic fertilizers, pesticides and food additives.","description_short":"Promotes ecological sustainability and biodiversity.","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/organic.svg","id":"labels_organic","match":100,"name":"Organic farming","status":"known","title":"Organic product"},{"description":"When you buy fair trade products, producers in developing countries are paid an higher and fairer price, which helps them improve and sustain higher social and often environmental standards.","description_short":"Fair trade products help producers in developing countries.","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/not-fair-trade.svg","id":"labels_fair_trade","match":0,"name":"Fair trade","status":"known","title":"Not a fair trade product"}],"id":"labels","name":"Labels"}]}; diff --git a/tests/integration/expected_test_results/unknown_tags/country-france-exists.html b/tests/integration/expected_test_results/unknown_tags/country-france-exists.html index 1a3d33353a8bd..345a4ee604c22 100644 --- a/tests/integration/expected_test_results/unknown_tags/country-france-exists.html +++ b/tests/integration/expected_test_results/unknown_tags/country-france-exists.html @@ -481,7 +481,7 @@

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -998,13 +998,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", diff --git a/tests/integration/expected_test_results/unknown_tags/ingredient-apple-exists.html b/tests/integration/expected_test_results/unknown_tags/ingredient-apple-exists.html index dd118dd714e55..ea3349531aa08 100644 --- a/tests/integration/expected_test_results/unknown_tags/ingredient-apple-exists.html +++ b/tests/integration/expected_test_results/unknown_tags/ingredient-apple-exists.html @@ -542,7 +542,7 @@

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -1059,13 +1059,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", diff --git a/tests/integration/expected_test_results/unknown_tags/ingredient-someunknowningredient-does-not-exist-but-not-empty.html b/tests/integration/expected_test_results/unknown_tags/ingredient-someunknowningredient-does-not-exist-but-not-empty.html index 0956f8daea0ab..887a71f3b122d 100644 --- a/tests/integration/expected_test_results/unknown_tags/ingredient-someunknowningredient-does-not-exist-but-not-empty.html +++ b/tests/integration/expected_test_results/unknown_tags/ingredient-someunknowningredient-does-not-exist-but-not-empty.html @@ -481,7 +481,7 @@

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -998,13 +998,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", diff --git a/tests/integration/expected_test_results/web_html/fr-categories.html b/tests/integration/expected_test_results/web_html/fr-categories.html index 61d71ff119bbf..0b440e6d634b8 100644 --- a/tests/integration/expected_test_results/web_html/fr-categories.html +++ b/tests/integration/expected_test_results/web_html/fr-categories.html @@ -571,7 +571,7 @@

  • - Produits avec le meilleur Eco-Score + Produits avec le meilleur Green-Score
  • @@ -1094,13 +1094,13 @@

    Découvrez le projet

    "description":"", "description_short":"Faible impact environnemental", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":70, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1422,13 +1422,13 @@

    Découvrez le projet

    "description":"", "description_short":"Faible impact environnemental", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1749,13 +1749,13 @@

    Découvrez le projet

    "description":"", "description_short":"Faible impact environnemental", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":67, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", diff --git a/tests/integration/expected_test_results/web_html/fr-index.html b/tests/integration/expected_test_results/web_html/fr-index.html index 361d00353f9b9..2880aacb66089 100644 --- a/tests/integration/expected_test_results/web_html/fr-index.html +++ b/tests/integration/expected_test_results/web_html/fr-index.html @@ -432,7 +432,7 @@

    Contribute

  • - Produits avec le meilleur Eco-Score + Produits avec le meilleur Green-Score
  • @@ -463,7 +463,7 @@

    Contribute

  • - + Green-Score
  • @@ -531,7 +531,7 @@

    Contribute

  • - + Divers
  • @@ -1084,13 +1084,13 @@

    Découvrez le projet

    "description":"", "description_short":"Faible impact environnemental", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":70, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1411,13 +1411,13 @@

    Découvrez le projet

    "description":"", "description_short":"Impact environnemental inconnu", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score non calculé" + "title":"Green-Score non calculé" }, { "description":"", @@ -1738,13 +1738,13 @@

    Découvrez le projet

    "description":"", "description_short":"Impact modéré sur l'environnement", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id":"ecoscore", "match":50, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score C" + "title":"Green-Score C" }, { "description":"", @@ -2065,13 +2065,13 @@

    Découvrez le projet

    "description":"", "description_short":"Impact modéré sur l'environnement", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id":"ecoscore", "match":50, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score C" + "title":"Green-Score C" }, { "description":"", @@ -2392,13 +2392,13 @@

    Découvrez le projet

    "description":"", "description_short":"Faible impact environnemental", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":67, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -2719,13 +2719,13 @@

    Découvrez le projet

    "description":"", "description_short":"Impact environnemental inconnu", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score non calculé" + "title":"Green-Score non calculé" }, { "description":"", @@ -3046,13 +3046,13 @@

    Découvrez le projet

    "description":"", "description_short":"Faible impact environnemental", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", diff --git a/tests/integration/expected_test_results/web_html/fr-product-2.html b/tests/integration/expected_test_results/web_html/fr-product-2.html index 6042dc30509ff..e79477bd53cb1 100644 --- a/tests/integration/expected_test_results/web_html/fr-product-2.html +++ b/tests/integration/expected_test_results/web_html/fr-product-2.html @@ -2823,7 +2823,7 @@

    Environnement

    > - iconEnvironnement > - Eco-Score B - Faible impact environnemental + Green-Score B - Faible impact environnemental
    @@ -2854,7 +2854,7 @@

    Environnement

    - L'Eco-Score est un score expérimental qui synthétise les impacts environnementaux des produits alimentaires. + L'Green-Score est un score expérimental qui synthétise les impacts environnementaux des produits alimentaires.
    @@ -2873,7 +2873,7 @@

    Environnement

    → - La formule de l'Eco-Score est susceptible d'évoluer car elle est régulièrement améliorée pour la rendre plus précise. + La formule de l'Green-Score est susceptible d'évoluer car elle est régulièrement améliorée pour la rendre plus précise.
    @@ -3421,7 +3421,7 @@

    Bonus et malus

    ⚠ ️ - Pour un calcul plus précis de l'Eco-Score, vous pouvez modifier la fiche produit et les ajouter. + Pour un calcul plus précis de l'Green-Score, vous pouvez modifier la fiche produit et les ajouter.

    Si vous êtes le fabricant de ce produit, vous pouvez nous transmettre les informations avec notre plateforme gratuite pour les producteurs. @@ -3451,7 +3451,7 @@

    Bonus et malus

    -

    Eco-Score pour ce produit

    +

    Green-Score pour ce produit

    @@ -3471,7 +3471,7 @@

    Eco-Score pour ce produit

    > - iconEco-Score pour ce produit @@ -4675,7 +4675,7 @@

    Découvrez le projet

    var page_type = "product"; var default_preferences = {"ecoscore":"important","nova":"important","nutriscore":"very_important"}; var preferences_text = "Classer les produits suivant vos préférences"; -var product = {"attribute_groups":[{"attributes":[{"description":"","description_short":"Mauvaise qualité nutritionnelle","grade":"d","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutriscore-d-new-fr.svg","id":"nutriscore","match":27.3333333333333,"name":"Nutri-Score","panel_id":"nutriscore_2023","status":"known","title":"Nutri-Score D"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-salt-unknown.svg","id":"low_salt","missing":"Données nutritionnelles manquantes","name":"Sel","status":"unknown","title":"Sel en quantité inconnue"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-fat-unknown.svg","id":"low_fat","missing":"Données nutritionnelles manquantes","name":"Matières grasses","status":"unknown","title":"Matières grasses en quantité inconnue"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-sugars-unknown.svg","id":"low_sugars","missing":"Données nutritionnelles manquantes","name":"Sucres","status":"unknown","title":"Sucres en quantité inconnue"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-saturated-fat-unknown.svg","id":"low_saturated_fat","missing":"Données nutritionnelles manquantes","name":"Acides gras saturés","status":"unknown","title":"Acides gras saturés en quantité inconnue"}],"id":"nutritional_quality","name":"Qualité nutritionnelle"},{"attributes":[{"debug":"en:gluten in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-gluten.svg","id":"allergens_no_gluten","match":0,"name":"Gluten","status":"known","title":"Contient : Gluten"},{"debug":"en:milk in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-milk.svg","id":"allergens_no_milk","match":0,"name":"Lait","status":"known","title":"Contient : Lait"},{"debug":"en:eggs in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-eggs.svg","id":"allergens_no_eggs","match":0,"name":"Œufs","status":"known","title":"Contient : Œufs"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-nuts.svg","id":"allergens_no_nuts","match":100,"name":"Fruits à coque","status":"known","title":"Ne contient pas : Fruits à coque"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-peanuts.svg","id":"allergens_no_peanuts","match":100,"name":"Arachides","status":"known","title":"Ne contient pas : Arachides"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sesame-seeds.svg","id":"allergens_no_sesame_seeds","match":100,"name":"Graines de sésame","status":"known","title":"Ne contient pas : Graines de sésame"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-soybeans.svg","id":"allergens_no_soybeans","match":100,"name":"Soja","status":"known","title":"Ne contient pas : Soja"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-celery.svg","id":"allergens_no_celery","match":100,"name":"Céleri","status":"known","title":"Ne contient pas : Céleri"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-mustard.svg","id":"allergens_no_mustard","match":100,"name":"Moutarde","status":"known","title":"Ne contient pas : Moutarde"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-lupin.svg","id":"allergens_no_lupin","match":100,"name":"Lupin","status":"known","title":"Ne contient pas : Lupin"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-fish.svg","id":"allergens_no_fish","match":100,"name":"Poisson","status":"known","title":"Ne contient pas : Poisson"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-crustaceans.svg","id":"allergens_no_crustaceans","match":100,"name":"Crustacés","status":"known","title":"Ne contient pas : Crustacés"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-molluscs.svg","id":"allergens_no_molluscs","match":100,"name":"Mollusques","status":"known","title":"Ne contient pas : Mollusques"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sulphur-dioxide-and-sulphites.svg","id":"allergens_no_sulphur_dioxide_and_sulphites","match":100,"name":"Anhydride sulfureux et sulfites","status":"known","title":"Ne contient pas : Anhydride sulfureux et sulfites"}],"id":"allergens","name":"Allergènes","warning":"Il est toujours possible que les données sur les allergènes soient manquantes, incomplètes, incorrectes ou que la composition du produit ait changé. Si vous êtes allergique, vérifiez toujours les informations sur l'emballage réel du produit."},{"attributes":[{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/non-vegan.svg","id":"vegan","match":0,"name":"Végétalien","panel_id":"ingredients_analysis_en:non-vegan","status":"known","title":"Non végétalien"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegetarian.svg","id":"vegetarian","match":100,"name":"Végétarien","panel_id":"ingredients_analysis_en:vegetarian","status":"known","title":"Végétarien"},{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-palm-oil.svg","id":"palm_oil_free","match":0,"name":"Sans huile de palme","panel_id":"ingredients_analysis_en:palm-oil","status":"known","title":"Huile de palme"}],"id":"ingredients_analysis","name":"Ingrédients"},{"attributes":[{"grade":"b","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nova-group-3.svg","id":"nova","match":75,"name":"Groupe NOVA","panel_id":"nova","status":"known","title":"Aliments transformés"},{"grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/2-additives.svg","id":"additives","match":60,"name":"Additifs","panel_id":"additives","status":"known","title":"2 additifs"}],"id":"processing","name":"Transformation des aliments"},{"attributes":[{"description":"","description_short":"Faible impact environnemental","grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg","id":"ecoscore","match":60,"name":"Eco-Score","panel_id":"environmental_score","status":"known","title":"Eco-Score B"},{"description":"","description_short":"Pas de risque de déforestation","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/forest-footprint-a.svg","id":"forest_footprint","match":99.9766666666667,"name":"Empreinte forêt","status":"known","title":"Très petite empreinte forêt"}],"id":"environment","name":"Environnement"},{"attributes":[{"description":"L'agriculture biologique vise à protéger l'environnement et à conserver la biodiversité en prohibant ou limitant l'utilisation d'engrais synthétiques, de pesticides et d'additifs alimentaires.","description_short":"Encourage la durabilité écologique et la biodiversité.","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/organic.svg","id":"labels_organic","match":100,"name":"Agriculture biologique","status":"known","title":"Produit bio"},{"description":"Quand vous achetez des produits du commerce équitable, les producteurs dans les pays en développement sont payés un prix plus haut et plus équitable, ce qui les aide à atteindre des plus hauts standards sociaux et environnementaux et à les conserver.","description_short":"Aide les producteurs des pays en développement.","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fair-trade.svg","id":"labels_fair_trade","match":100,"name":"Commerce équitable","status":"known","title":"Produit du commerce équitable"}],"id":"labels","name":"Labels"}]}; +var product = {"attribute_groups":[{"attributes":[{"description":"","description_short":"Mauvaise qualité nutritionnelle","grade":"d","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutriscore-d-new-fr.svg","id":"nutriscore","match":27.3333333333333,"name":"Nutri-Score","panel_id":"nutriscore_2023","status":"known","title":"Nutri-Score D"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-salt-unknown.svg","id":"low_salt","missing":"Données nutritionnelles manquantes","name":"Sel","status":"unknown","title":"Sel en quantité inconnue"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-fat-unknown.svg","id":"low_fat","missing":"Données nutritionnelles manquantes","name":"Matières grasses","status":"unknown","title":"Matières grasses en quantité inconnue"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-sugars-unknown.svg","id":"low_sugars","missing":"Données nutritionnelles manquantes","name":"Sucres","status":"unknown","title":"Sucres en quantité inconnue"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-saturated-fat-unknown.svg","id":"low_saturated_fat","missing":"Données nutritionnelles manquantes","name":"Acides gras saturés","status":"unknown","title":"Acides gras saturés en quantité inconnue"}],"id":"nutritional_quality","name":"Qualité nutritionnelle"},{"attributes":[{"debug":"en:gluten in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-gluten.svg","id":"allergens_no_gluten","match":0,"name":"Gluten","status":"known","title":"Contient : Gluten"},{"debug":"en:milk in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-milk.svg","id":"allergens_no_milk","match":0,"name":"Lait","status":"known","title":"Contient : Lait"},{"debug":"en:eggs in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-eggs.svg","id":"allergens_no_eggs","match":0,"name":"Œufs","status":"known","title":"Contient : Œufs"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-nuts.svg","id":"allergens_no_nuts","match":100,"name":"Fruits à coque","status":"known","title":"Ne contient pas : Fruits à coque"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-peanuts.svg","id":"allergens_no_peanuts","match":100,"name":"Arachides","status":"known","title":"Ne contient pas : Arachides"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sesame-seeds.svg","id":"allergens_no_sesame_seeds","match":100,"name":"Graines de sésame","status":"known","title":"Ne contient pas : Graines de sésame"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-soybeans.svg","id":"allergens_no_soybeans","match":100,"name":"Soja","status":"known","title":"Ne contient pas : Soja"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-celery.svg","id":"allergens_no_celery","match":100,"name":"Céleri","status":"known","title":"Ne contient pas : Céleri"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-mustard.svg","id":"allergens_no_mustard","match":100,"name":"Moutarde","status":"known","title":"Ne contient pas : Moutarde"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-lupin.svg","id":"allergens_no_lupin","match":100,"name":"Lupin","status":"known","title":"Ne contient pas : Lupin"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-fish.svg","id":"allergens_no_fish","match":100,"name":"Poisson","status":"known","title":"Ne contient pas : Poisson"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-crustaceans.svg","id":"allergens_no_crustaceans","match":100,"name":"Crustacés","status":"known","title":"Ne contient pas : Crustacés"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-molluscs.svg","id":"allergens_no_molluscs","match":100,"name":"Mollusques","status":"known","title":"Ne contient pas : Mollusques"},{"debug":"12 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sulphur-dioxide-and-sulphites.svg","id":"allergens_no_sulphur_dioxide_and_sulphites","match":100,"name":"Anhydride sulfureux et sulfites","status":"known","title":"Ne contient pas : Anhydride sulfureux et sulfites"}],"id":"allergens","name":"Allergènes","warning":"Il est toujours possible que les données sur les allergènes soient manquantes, incomplètes, incorrectes ou que la composition du produit ait changé. Si vous êtes allergique, vérifiez toujours les informations sur l'emballage réel du produit."},{"attributes":[{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/non-vegan.svg","id":"vegan","match":0,"name":"Végétalien","panel_id":"ingredients_analysis_en:non-vegan","status":"known","title":"Non végétalien"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegetarian.svg","id":"vegetarian","match":100,"name":"Végétarien","panel_id":"ingredients_analysis_en:vegetarian","status":"known","title":"Végétarien"},{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-palm-oil.svg","id":"palm_oil_free","match":0,"name":"Sans huile de palme","panel_id":"ingredients_analysis_en:palm-oil","status":"known","title":"Huile de palme"}],"id":"ingredients_analysis","name":"Ingrédients"},{"attributes":[{"grade":"b","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nova-group-3.svg","id":"nova","match":75,"name":"Groupe NOVA","panel_id":"nova","status":"known","title":"Aliments transformés"},{"grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/2-additives.svg","id":"additives","match":60,"name":"Additifs","panel_id":"additives","status":"known","title":"2 additifs"}],"id":"processing","name":"Transformation des aliments"},{"attributes":[{"description":"","description_short":"Faible impact environnemental","grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg","id":"ecoscore","match":60,"name":"Green-Score","panel_id":"environmental_score","status":"known","title":"Green-Score B"},{"description":"","description_short":"Pas de risque de déforestation","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/forest-footprint-a.svg","id":"forest_footprint","match":99.9766666666667,"name":"Empreinte forêt","status":"known","title":"Très petite empreinte forêt"}],"id":"environment","name":"Environnement"},{"attributes":[{"description":"L'agriculture biologique vise à protéger l'environnement et à conserver la biodiversité en prohibant ou limitant l'utilisation d'engrais synthétiques, de pesticides et d'additifs alimentaires.","description_short":"Encourage la durabilité écologique et la biodiversité.","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/organic.svg","id":"labels_organic","match":100,"name":"Agriculture biologique","status":"known","title":"Produit bio"},{"description":"Quand vous achetez des produits du commerce équitable, les producteurs dans les pays en développement sont payés un prix plus haut et plus équitable, ce qui les aide à atteindre des plus hauts standards sociaux et environnementaux et à les conserver.","description_short":"Aide les producteurs des pays en développement.","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fair-trade.svg","id":"labels_fair_trade","match":100,"name":"Commerce équitable","status":"known","title":"Produit du commerce équitable"}],"id":"labels","name":"Labels"}]}; diff --git a/tests/integration/expected_test_results/web_html/fr-product.html b/tests/integration/expected_test_results/web_html/fr-product.html index 48d3ba4780baa..6d70b6d71d316 100644 --- a/tests/integration/expected_test_results/web_html/fr-product.html +++ b/tests/integration/expected_test_results/web_html/fr-product.html @@ -2837,7 +2837,7 @@

    Environnement

    > - iconEnvironnement > - Eco-Score B - Faible impact environnemental + Green-Score B - Faible impact environnemental
    @@ -2868,7 +2868,7 @@

    Environnement

    - L'Eco-Score est un score expérimental qui synthétise les impacts environnementaux des produits alimentaires. + L'Green-Score est un score expérimental qui synthétise les impacts environnementaux des produits alimentaires.
    @@ -2887,7 +2887,7 @@

    Environnement

    → - La formule de l'Eco-Score est susceptible d'évoluer car elle est régulièrement améliorée pour la rendre plus précise. + La formule de l'Green-Score est susceptible d'évoluer car elle est régulièrement améliorée pour la rendre plus précise.
    @@ -3435,7 +3435,7 @@

    Bonus et malus

    ⚠ ️ - Pour un calcul plus précis de l'Eco-Score, vous pouvez modifier la fiche produit et les ajouter. + Pour un calcul plus précis de l'Green-Score, vous pouvez modifier la fiche produit et les ajouter.

    Si vous êtes le fabricant de ce produit, vous pouvez nous transmettre les informations avec notre plateforme gratuite pour les producteurs. @@ -3465,7 +3465,7 @@

    Bonus et malus

    -

    Eco-Score pour ce produit

    +

    Green-Score pour ce produit

    @@ -3485,7 +3485,7 @@

    Eco-Score pour ce produit

    > - iconEco-Score pour ce produit @@ -4689,7 +4689,7 @@

    Découvrez le projet

    var page_type = "product"; var default_preferences = {"ecoscore":"important","nova":"important","nutriscore":"very_important"}; var preferences_text = "Classer les produits suivant vos préférences"; -var product = {"attribute_groups":[{"attributes":[{"description":"","description_short":"Mauvaise qualité nutritionnelle","grade":"d","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutriscore-d-new-fr.svg","id":"nutriscore","match":27.3333333333333,"name":"Nutri-Score","panel_id":"nutriscore_2023","status":"known","title":"Nutri-Score D"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-salt-unknown.svg","id":"low_salt","missing":"Données nutritionnelles manquantes","name":"Sel","status":"unknown","title":"Sel en quantité inconnue"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-fat-unknown.svg","id":"low_fat","missing":"Données nutritionnelles manquantes","name":"Matières grasses","status":"unknown","title":"Matières grasses en quantité inconnue"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-sugars-unknown.svg","id":"low_sugars","missing":"Données nutritionnelles manquantes","name":"Sucres","status":"unknown","title":"Sucres en quantité inconnue"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-saturated-fat-unknown.svg","id":"low_saturated_fat","missing":"Données nutritionnelles manquantes","name":"Acides gras saturés","status":"unknown","title":"Acides gras saturés en quantité inconnue"}],"id":"nutritional_quality","name":"Qualité nutritionnelle"},{"attributes":[{"debug":"en:gluten in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-gluten.svg","id":"allergens_no_gluten","match":0,"name":"Gluten","status":"known","title":"Contient : Gluten"},{"debug":"en:milk in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-milk.svg","id":"allergens_no_milk","match":0,"name":"Lait","status":"known","title":"Contient : Lait"},{"debug":"en:eggs in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-eggs.svg","id":"allergens_no_eggs","match":0,"name":"Œufs","status":"known","title":"Contient : Œufs"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-nuts.svg","id":"allergens_no_nuts","match":100,"name":"Fruits à coque","status":"known","title":"Ne contient pas : Fruits à coque"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-peanuts.svg","id":"allergens_no_peanuts","match":100,"name":"Arachides","status":"known","title":"Ne contient pas : Arachides"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sesame-seeds.svg","id":"allergens_no_sesame_seeds","match":100,"name":"Graines de sésame","status":"known","title":"Ne contient pas : Graines de sésame"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-soybeans.svg","id":"allergens_no_soybeans","match":100,"name":"Soja","status":"known","title":"Ne contient pas : Soja"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-celery.svg","id":"allergens_no_celery","match":100,"name":"Céleri","status":"known","title":"Ne contient pas : Céleri"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-mustard.svg","id":"allergens_no_mustard","match":100,"name":"Moutarde","status":"known","title":"Ne contient pas : Moutarde"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-lupin.svg","id":"allergens_no_lupin","match":100,"name":"Lupin","status":"known","title":"Ne contient pas : Lupin"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-fish.svg","id":"allergens_no_fish","match":100,"name":"Poisson","status":"known","title":"Ne contient pas : Poisson"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-crustaceans.svg","id":"allergens_no_crustaceans","match":100,"name":"Crustacés","status":"known","title":"Ne contient pas : Crustacés"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-molluscs.svg","id":"allergens_no_molluscs","match":100,"name":"Mollusques","status":"known","title":"Ne contient pas : Mollusques"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sulphur-dioxide-and-sulphites.svg","id":"allergens_no_sulphur_dioxide_and_sulphites","match":100,"name":"Anhydride sulfureux et sulfites","status":"known","title":"Ne contient pas : Anhydride sulfureux et sulfites"}],"id":"allergens","name":"Allergènes","warning":"Il est toujours possible que les données sur les allergènes soient manquantes, incomplètes, incorrectes ou que la composition du produit ait changé. Si vous êtes allergique, vérifiez toujours les informations sur l'emballage réel du produit."},{"attributes":[{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/non-vegan.svg","id":"vegan","match":0,"name":"Végétalien","panel_id":"ingredients_analysis_en:non-vegan","status":"known","title":"Non végétalien"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegetarian.svg","id":"vegetarian","match":100,"name":"Végétarien","panel_id":"ingredients_analysis_en:vegetarian","status":"known","title":"Végétarien"},{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-palm-oil.svg","id":"palm_oil_free","match":0,"name":"Sans huile de palme","panel_id":"ingredients_analysis_en:palm-oil","status":"known","title":"Huile de palme"}],"id":"ingredients_analysis","name":"Ingrédients"},{"attributes":[{"grade":"b","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nova-group-3.svg","id":"nova","match":75,"name":"Groupe NOVA","panel_id":"nova","status":"known","title":"Aliments transformés"},{"grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/2-additives.svg","id":"additives","match":60,"name":"Additifs","panel_id":"additives","status":"known","title":"2 additifs"}],"id":"processing","name":"Transformation des aliments"},{"attributes":[{"description":"","description_short":"Faible impact environnemental","grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg","id":"ecoscore","match":60,"name":"Eco-Score","panel_id":"environmental_score","status":"known","title":"Eco-Score B"},{"description":"","description_short":"Pas de risque de déforestation","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/forest-footprint-a.svg","id":"forest_footprint","match":99.9118518518518,"name":"Empreinte forêt","status":"known","title":"Très petite empreinte forêt"}],"id":"environment","name":"Environnement"},{"attributes":[{"description":"L'agriculture biologique vise à protéger l'environnement et à conserver la biodiversité en prohibant ou limitant l'utilisation d'engrais synthétiques, de pesticides et d'additifs alimentaires.","description_short":"Les produits bios encouragent la durabilité écologique et la biodiversité.","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/not-organic.svg","id":"labels_organic","match":0,"name":"Agriculture biologique","status":"known","title":"Pas un produit bio"},{"description":"Quand vous achetez des produits du commerce équitable, les producteurs dans les pays en développement sont payés un prix plus haut et plus équitable, ce qui les aide à atteindre des plus hauts standards sociaux et environnementaux et à les conserver.","description_short":"Aide les producteurs des pays en développement.","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fair-trade.svg","id":"labels_fair_trade","match":100,"name":"Commerce équitable","status":"known","title":"Produit du commerce équitable"}],"id":"labels","name":"Labels"}]}; +var product = {"attribute_groups":[{"attributes":[{"description":"","description_short":"Mauvaise qualité nutritionnelle","grade":"d","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutriscore-d-new-fr.svg","id":"nutriscore","match":27.3333333333333,"name":"Nutri-Score","panel_id":"nutriscore_2023","status":"known","title":"Nutri-Score D"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-salt-unknown.svg","id":"low_salt","missing":"Données nutritionnelles manquantes","name":"Sel","status":"unknown","title":"Sel en quantité inconnue"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-fat-unknown.svg","id":"low_fat","missing":"Données nutritionnelles manquantes","name":"Matières grasses","status":"unknown","title":"Matières grasses en quantité inconnue"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-sugars-unknown.svg","id":"low_sugars","missing":"Données nutritionnelles manquantes","name":"Sucres","status":"unknown","title":"Sucres en quantité inconnue"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-saturated-fat-unknown.svg","id":"low_saturated_fat","missing":"Données nutritionnelles manquantes","name":"Acides gras saturés","status":"unknown","title":"Acides gras saturés en quantité inconnue"}],"id":"nutritional_quality","name":"Qualité nutritionnelle"},{"attributes":[{"debug":"en:gluten in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-gluten.svg","id":"allergens_no_gluten","match":0,"name":"Gluten","status":"known","title":"Contient : Gluten"},{"debug":"en:milk in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-milk.svg","id":"allergens_no_milk","match":0,"name":"Lait","status":"known","title":"Contient : Lait"},{"debug":"en:eggs in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-eggs.svg","id":"allergens_no_eggs","match":0,"name":"Œufs","status":"known","title":"Contient : Œufs"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-nuts.svg","id":"allergens_no_nuts","match":100,"name":"Fruits à coque","status":"known","title":"Ne contient pas : Fruits à coque"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-peanuts.svg","id":"allergens_no_peanuts","match":100,"name":"Arachides","status":"known","title":"Ne contient pas : Arachides"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sesame-seeds.svg","id":"allergens_no_sesame_seeds","match":100,"name":"Graines de sésame","status":"known","title":"Ne contient pas : Graines de sésame"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-soybeans.svg","id":"allergens_no_soybeans","match":100,"name":"Soja","status":"known","title":"Ne contient pas : Soja"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-celery.svg","id":"allergens_no_celery","match":100,"name":"Céleri","status":"known","title":"Ne contient pas : Céleri"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-mustard.svg","id":"allergens_no_mustard","match":100,"name":"Moutarde","status":"known","title":"Ne contient pas : Moutarde"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-lupin.svg","id":"allergens_no_lupin","match":100,"name":"Lupin","status":"known","title":"Ne contient pas : Lupin"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-fish.svg","id":"allergens_no_fish","match":100,"name":"Poisson","status":"known","title":"Ne contient pas : Poisson"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-crustaceans.svg","id":"allergens_no_crustaceans","match":100,"name":"Crustacés","status":"known","title":"Ne contient pas : Crustacés"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-molluscs.svg","id":"allergens_no_molluscs","match":100,"name":"Mollusques","status":"known","title":"Ne contient pas : Mollusques"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sulphur-dioxide-and-sulphites.svg","id":"allergens_no_sulphur_dioxide_and_sulphites","match":100,"name":"Anhydride sulfureux et sulfites","status":"known","title":"Ne contient pas : Anhydride sulfureux et sulfites"}],"id":"allergens","name":"Allergènes","warning":"Il est toujours possible que les données sur les allergènes soient manquantes, incomplètes, incorrectes ou que la composition du produit ait changé. Si vous êtes allergique, vérifiez toujours les informations sur l'emballage réel du produit."},{"attributes":[{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/non-vegan.svg","id":"vegan","match":0,"name":"Végétalien","panel_id":"ingredients_analysis_en:non-vegan","status":"known","title":"Non végétalien"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegetarian.svg","id":"vegetarian","match":100,"name":"Végétarien","panel_id":"ingredients_analysis_en:vegetarian","status":"known","title":"Végétarien"},{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-palm-oil.svg","id":"palm_oil_free","match":0,"name":"Sans huile de palme","panel_id":"ingredients_analysis_en:palm-oil","status":"known","title":"Huile de palme"}],"id":"ingredients_analysis","name":"Ingrédients"},{"attributes":[{"grade":"b","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nova-group-3.svg","id":"nova","match":75,"name":"Groupe NOVA","panel_id":"nova","status":"known","title":"Aliments transformés"},{"grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/2-additives.svg","id":"additives","match":60,"name":"Additifs","panel_id":"additives","status":"known","title":"2 additifs"}],"id":"processing","name":"Transformation des aliments"},{"attributes":[{"description":"","description_short":"Faible impact environnemental","grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg","id":"ecoscore","match":60,"name":"Green-Score","panel_id":"environmental_score","status":"known","title":"Green-Score B"},{"description":"","description_short":"Pas de risque de déforestation","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/forest-footprint-a.svg","id":"forest_footprint","match":99.9118518518518,"name":"Empreinte forêt","status":"known","title":"Très petite empreinte forêt"}],"id":"environment","name":"Environnement"},{"attributes":[{"description":"L'agriculture biologique vise à protéger l'environnement et à conserver la biodiversité en prohibant ou limitant l'utilisation d'engrais synthétiques, de pesticides et d'additifs alimentaires.","description_short":"Les produits bios encouragent la durabilité écologique et la biodiversité.","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/not-organic.svg","id":"labels_organic","match":0,"name":"Agriculture biologique","status":"known","title":"Pas un produit bio"},{"description":"Quand vous achetez des produits du commerce équitable, les producteurs dans les pays en développement sont payés un prix plus haut et plus équitable, ce qui les aide à atteindre des plus hauts standards sociaux et environnementaux et à les conserver.","description_short":"Aide les producteurs des pays en développement.","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fair-trade.svg","id":"labels_fair_trade","match":100,"name":"Commerce équitable","status":"known","title":"Produit du commerce équitable"}],"id":"labels","name":"Labels"}]}; diff --git a/tests/integration/expected_test_results/web_html/fr-search-form.html b/tests/integration/expected_test_results/web_html/fr-search-form.html index 91e7bd39b429e..82c3dcc2bf058 100644 --- a/tests/integration/expected_test_results/web_html/fr-search-form.html +++ b/tests/integration/expected_test_results/web_html/fr-search-form.html @@ -417,7 +417,7 @@

    Critères

    - + @@ -489,7 +489,7 @@

    Critères

    - + @@ -854,7 +854,7 @@

    Nutriments

    - + @@ -1174,7 +1174,7 @@

    Nutriments

    - + @@ -1573,7 +1573,7 @@

    Résultats sur un graphique

    - + @@ -1872,7 +1872,7 @@

    Résultats sur un graphique

    - + diff --git a/tests/integration/expected_test_results/web_html/fr-search-results-cached.html b/tests/integration/expected_test_results/web_html/fr-search-results-cached.html index 8bed3d244851e..29a1210e0ddc9 100644 --- a/tests/integration/expected_test_results/web_html/fr-search-results-cached.html +++ b/tests/integration/expected_test_results/web_html/fr-search-results-cached.html @@ -421,7 +421,7 @@

    Résultats de la recherche - France

  • - Produits avec le meilleur Eco-Score + Produits avec le meilleur Green-Score
  • @@ -947,13 +947,13 @@

    Découvrez le projet

    "description":"", "description_short":"Faible impact environnemental", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1273,13 +1273,13 @@

    Découvrez le projet

    "description":"", "description_short":"Faible impact environnemental", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":70, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", diff --git a/tests/integration/expected_test_results/web_html/fr-search-results-no-cache.html b/tests/integration/expected_test_results/web_html/fr-search-results-no-cache.html index 8988baedc1c20..8fd509eeccbf5 100644 --- a/tests/integration/expected_test_results/web_html/fr-search-results-no-cache.html +++ b/tests/integration/expected_test_results/web_html/fr-search-results-no-cache.html @@ -421,7 +421,7 @@

    Résultats de la recherche - France

  • - Produits avec le meilleur Eco-Score + Produits avec le meilleur Green-Score
  • @@ -947,13 +947,13 @@

    Découvrez le projet

    "description":"", "description_short":"Faible impact environnemental", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1274,13 +1274,13 @@

    Découvrez le projet

    "description":"", "description_short":"Faible impact environnemental", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":70, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", diff --git a/tests/integration/expected_test_results/web_html/fr-search-results.html b/tests/integration/expected_test_results/web_html/fr-search-results.html index 8bed3d244851e..29a1210e0ddc9 100644 --- a/tests/integration/expected_test_results/web_html/fr-search-results.html +++ b/tests/integration/expected_test_results/web_html/fr-search-results.html @@ -421,7 +421,7 @@

    Résultats de la recherche - France

  • - Produits avec le meilleur Eco-Score + Produits avec le meilleur Green-Score
  • @@ -947,13 +947,13 @@

    Découvrez le projet

    "description":"", "description_short":"Faible impact environnemental", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1273,13 +1273,13 @@

    Découvrez le projet

    "description":"", "description_short":"Faible impact environnemental", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":70, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", diff --git a/tests/integration/expected_test_results/web_html/world-categories.html b/tests/integration/expected_test_results/web_html/world-categories.html index bc615641b5b9a..7d7b8dc447222 100644 --- a/tests/integration/expected_test_results/web_html/world-categories.html +++ b/tests/integration/expected_test_results/web_html/world-categories.html @@ -565,7 +565,7 @@

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -600,7 +600,7 @@

  • - + Green-Score
  • @@ -668,7 +668,7 @@

  • - + Miscellaneous
  • @@ -1220,13 +1220,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":70, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1548,13 +1548,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1875,13 +1875,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -2202,13 +2202,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":67, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -2529,13 +2529,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":67, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -2856,13 +2856,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", diff --git a/tests/integration/expected_test_results/web_html/world-index-signedin.html b/tests/integration/expected_test_results/web_html/world-index-signedin.html index 03e71d60a95b5..b1bf6ec7c8015 100644 --- a/tests/integration/expected_test_results/web_html/world-index-signedin.html +++ b/tests/integration/expected_test_results/web_html/world-index-signedin.html @@ -453,7 +453,7 @@

    Contribute

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -488,7 +488,7 @@

    Contribute

  • - + Green-Score
  • @@ -556,7 +556,7 @@

    Contribute

  • - + Miscellaneous
  • @@ -1121,13 +1121,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":70, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1449,13 +1449,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", @@ -1775,13 +1775,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", @@ -2102,13 +2102,13 @@

    Discover the project

    "description":"Not yet applicable for the category: Sodas", "description_short":"Not yet applicable for the category", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-not-applicable.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-not-applicable.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not yet applicable" + "title":"Green-Score not yet applicable" }, { "description":"", @@ -2429,13 +2429,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", @@ -2756,13 +2756,13 @@

    Discover the project

    "description":"", "description_short":"Moderate environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id":"ecoscore", "match":50, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score C" + "title":"Green-Score C" }, { "description":"", @@ -3083,13 +3083,13 @@

    Discover the project

    "description":"", "description_short":"Moderate environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id":"ecoscore", "match":50, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score C" + "title":"Green-Score C" }, { "description":"", @@ -3410,13 +3410,13 @@

    Discover the project

    "description":"", "description_short":"High environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-d.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-d.svg", "id":"ecoscore", "match":41, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score D" + "title":"Green-Score D" }, { "description":"", @@ -3737,13 +3737,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":67, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -4064,13 +4064,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":67, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -4391,13 +4391,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", @@ -4718,13 +4718,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -5045,13 +5045,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", diff --git a/tests/integration/expected_test_results/web_html/world-index.html b/tests/integration/expected_test_results/web_html/world-index.html index 1bec9382ad624..1dee37b76f566 100644 --- a/tests/integration/expected_test_results/web_html/world-index.html +++ b/tests/integration/expected_test_results/web_html/world-index.html @@ -430,7 +430,7 @@

    Contribute

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -465,7 +465,7 @@

    Contribute

  • - + Green-Score
  • @@ -533,7 +533,7 @@

    Contribute

  • - + Miscellaneous
  • @@ -1098,13 +1098,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":70, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1426,13 +1426,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", @@ -1752,13 +1752,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", @@ -2079,13 +2079,13 @@

    Discover the project

    "description":"Not yet applicable for the category: Sodas", "description_short":"Not yet applicable for the category", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-not-applicable.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-not-applicable.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not yet applicable" + "title":"Green-Score not yet applicable" }, { "description":"", @@ -2406,13 +2406,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", @@ -2733,13 +2733,13 @@

    Discover the project

    "description":"", "description_short":"Moderate environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id":"ecoscore", "match":50, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score C" + "title":"Green-Score C" }, { "description":"", @@ -3060,13 +3060,13 @@

    Discover the project

    "description":"", "description_short":"Moderate environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id":"ecoscore", "match":50, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score C" + "title":"Green-Score C" }, { "description":"", @@ -3387,13 +3387,13 @@

    Discover the project

    "description":"", "description_short":"High environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-d.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-d.svg", "id":"ecoscore", "match":41, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score D" + "title":"Green-Score D" }, { "description":"", @@ -3714,13 +3714,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":67, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -4041,13 +4041,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":67, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -4368,13 +4368,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", @@ -4695,13 +4695,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -5022,13 +5022,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", diff --git a/tests/integration/expected_test_results/web_html/world-label-organic.html b/tests/integration/expected_test_results/web_html/world-label-organic.html index d2a9600a487ac..020623e5b759c 100644 --- a/tests/integration/expected_test_results/web_html/world-label-organic.html +++ b/tests/integration/expected_test_results/web_html/world-label-organic.html @@ -557,7 +557,7 @@

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -592,7 +592,7 @@

  • - + Green-Score
  • @@ -660,7 +660,7 @@

  • - + Miscellaneous
  • @@ -1210,13 +1210,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":70, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1538,13 +1538,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1865,13 +1865,13 @@

    Discover the project

    "description":"", "description_short":"Moderate environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id":"ecoscore", "match":50, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score C" + "title":"Green-Score C" }, { "description":"", @@ -2192,13 +2192,13 @@

    Discover the project

    "description":"", "description_short":"Moderate environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id":"ecoscore", "match":50, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score C" + "title":"Green-Score C" }, { "description":"", @@ -2519,13 +2519,13 @@

    Discover the project

    "description":"", "description_short":"Unknown environmental impact", "grade":"unknown", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-unknown.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-unknown.svg", "id":"ecoscore", "match":0, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"unknown", - "title":"Eco-Score not computed" + "title":"Green-Score not computed" }, { "description":"", diff --git a/tests/integration/expected_test_results/web_html/world-product.html b/tests/integration/expected_test_results/web_html/world-product.html index b68fdc09a57b5..8aec232dd3e32 100644 --- a/tests/integration/expected_test_results/web_html/world-product.html +++ b/tests/integration/expected_test_results/web_html/world-product.html @@ -2834,7 +2834,7 @@

    Environment

    > - iconEnvironment > - Eco-Score B - Low environmental impact + Green-Score B - Low environmental impact
    @@ -2881,7 +2881,7 @@

    Environment

    - The Eco-Score is an experimental score that summarizes the environmental impacts of food products. + The Green-Score is an experimental score that summarizes the environmental impacts of food products.
    @@ -2900,7 +2900,7 @@

    Environment

    → - The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country. + The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.
    @@ -3448,7 +3448,7 @@

    Bonuses and maluses

    ⚠ ️ - For a more precise calculation of the Eco-Score, you can modify the product page and add them. + For a more precise calculation of the Green-Score, you can modify the product page and add them.

    If you are the manufacturer of this product, you can send us the information with our free platform for producers. @@ -3478,7 +3478,7 @@

    Bonuses and maluses

    -

    Eco-Score for this product

    +

    Green-Score for this product

    @@ -3498,7 +3498,7 @@

    Eco-Score for this product

    > - iconEco-Score for this product @@ -4625,7 +4625,7 @@

    Discover the project

    var page_type = "product"; var default_preferences = {"ecoscore":"important","nova":"important","nutriscore":"very_important"}; var preferences_text = "Classify products according to your preferences"; -var product = {"attribute_groups":[{"attributes":[{"description":"","description_short":"Poor nutritional quality","grade":"d","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutriscore-d-new-en.svg","id":"nutriscore","match":27.3333333333333,"name":"Nutri-Score","panel_id":"nutriscore_2023","status":"known","title":"Nutri-Score D"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-salt-unknown.svg","id":"low_salt","missing":"Missing nutrition facts","name":"Salt","status":"unknown","title":"Salt in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-fat-unknown.svg","id":"low_fat","missing":"Missing nutrition facts","name":"Fat","status":"unknown","title":"Fat in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-sugars-unknown.svg","id":"low_sugars","missing":"Missing nutrition facts","name":"Sugars","status":"unknown","title":"Sugars in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-saturated-fat-unknown.svg","id":"low_saturated_fat","missing":"Missing nutrition facts","name":"Saturated fat","status":"unknown","title":"Saturated fat in unknown quantity"}],"id":"nutritional_quality","name":"Nutritional quality"},{"attributes":[{"debug":"en:gluten in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-gluten.svg","id":"allergens_no_gluten","match":0,"name":"Gluten","status":"known","title":"Contains: Gluten"},{"debug":"en:milk in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-milk.svg","id":"allergens_no_milk","match":0,"name":"Milk","status":"known","title":"Contains: Milk"},{"debug":"en:eggs in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-eggs.svg","id":"allergens_no_eggs","match":0,"name":"Eggs","status":"known","title":"Contains: Eggs"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-nuts.svg","id":"allergens_no_nuts","match":100,"name":"Nuts","status":"known","title":"Does not contain: Nuts"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-peanuts.svg","id":"allergens_no_peanuts","match":100,"name":"Peanuts","status":"known","title":"Does not contain: Peanuts"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sesame-seeds.svg","id":"allergens_no_sesame_seeds","match":100,"name":"Sesame seeds","status":"known","title":"Does not contain: Sesame seeds"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-soybeans.svg","id":"allergens_no_soybeans","match":100,"name":"Soybeans","status":"known","title":"Does not contain: Soybeans"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-celery.svg","id":"allergens_no_celery","match":100,"name":"Celery","status":"known","title":"Does not contain: Celery"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-mustard.svg","id":"allergens_no_mustard","match":100,"name":"Mustard","status":"known","title":"Does not contain: Mustard"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-lupin.svg","id":"allergens_no_lupin","match":100,"name":"Lupin","status":"known","title":"Does not contain: Lupin"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-fish.svg","id":"allergens_no_fish","match":100,"name":"Fish","status":"known","title":"Does not contain: Fish"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-crustaceans.svg","id":"allergens_no_crustaceans","match":100,"name":"Crustaceans","status":"known","title":"Does not contain: Crustaceans"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-molluscs.svg","id":"allergens_no_molluscs","match":100,"name":"Molluscs","status":"known","title":"Does not contain: Molluscs"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sulphur-dioxide-and-sulphites.svg","id":"allergens_no_sulphur_dioxide_and_sulphites","match":100,"name":"Sulphur dioxide and sulphites","status":"known","title":"Does not contain: Sulphur dioxide and sulphites"}],"id":"allergens","name":"Allergens","warning":"There is always a possibility that data about allergens may be missing, incomplete, incorrect or that the product's composition has changed. If you are allergic, always check the information on the actual product packaging."},{"attributes":[{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/non-vegan.svg","id":"vegan","match":0,"name":"Vegan","panel_id":"ingredients_analysis_en:non-vegan","status":"known","title":"Non-vegan"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegetarian.svg","id":"vegetarian","match":100,"name":"Vegetarian","panel_id":"ingredients_analysis_en:vegetarian","status":"known","title":"Vegetarian"},{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-palm-oil.svg","id":"palm_oil_free","match":0,"name":"Palm oil free","panel_id":"ingredients_analysis_en:palm-oil","status":"known","title":"Palm oil"}],"id":"ingredients_analysis","name":"Ingredients"},{"attributes":[{"grade":"b","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nova-group-3.svg","id":"nova","match":75,"name":"NOVA group","panel_id":"nova","status":"known","title":"Processed foods"},{"grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/2-additives.svg","id":"additives","match":60,"name":"Additives","panel_id":"additives","status":"known","title":"2 additives"}],"id":"processing","name":"Food processing"},{"attributes":[{"description":"","description_short":"Low environmental impact","grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg","id":"ecoscore","match":60,"name":"Eco-Score","panel_id":"environmental_score","status":"known","title":"Eco-Score B"},{"description":"","description_short":"Almost no risk of deforestation","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/forest-footprint-a.svg","id":"forest_footprint","match":99.9118518518518,"name":"Forest footprint","status":"known","title":"Very small forest footprint"}],"id":"environment","name":"Environment"},{"attributes":[{"description":"Organic farming aims to protect the environment and to conserve biodiversity by prohibiting or limiting the use of synthetic fertilizers, pesticides and food additives.","description_short":"Organic products promote ecological sustainability and biodiversity.","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/not-organic.svg","id":"labels_organic","match":0,"name":"Organic farming","status":"known","title":"Not an organic product"},{"description":"When you buy fair trade products, producers in developing countries are paid an higher and fairer price, which helps them improve and sustain higher social and often environmental standards.","description_short":"Helps producers in developing countries.","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fair-trade.svg","id":"labels_fair_trade","match":100,"name":"Fair trade","status":"known","title":"Fair trade product"}],"id":"labels","name":"Labels"}]}; +var product = {"attribute_groups":[{"attributes":[{"description":"","description_short":"Poor nutritional quality","grade":"d","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutriscore-d-new-en.svg","id":"nutriscore","match":27.3333333333333,"name":"Nutri-Score","panel_id":"nutriscore_2023","status":"known","title":"Nutri-Score D"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-salt-unknown.svg","id":"low_salt","missing":"Missing nutrition facts","name":"Salt","status":"unknown","title":"Salt in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-fat-unknown.svg","id":"low_fat","missing":"Missing nutrition facts","name":"Fat","status":"unknown","title":"Fat in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-sugars-unknown.svg","id":"low_sugars","missing":"Missing nutrition facts","name":"Sugars","status":"unknown","title":"Sugars in unknown quantity"},{"grade":"unknown","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nutrient-level-saturated-fat-unknown.svg","id":"low_saturated_fat","missing":"Missing nutrition facts","name":"Saturated fat","status":"unknown","title":"Saturated fat in unknown quantity"}],"id":"nutritional_quality","name":"Nutritional quality"},{"attributes":[{"debug":"en:gluten in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-gluten.svg","id":"allergens_no_gluten","match":0,"name":"Gluten","status":"known","title":"Contains: Gluten"},{"debug":"en:milk in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-milk.svg","id":"allergens_no_milk","match":0,"name":"Milk","status":"known","title":"Contains: Milk"},{"debug":"en:eggs in allergens","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-eggs.svg","id":"allergens_no_eggs","match":0,"name":"Eggs","status":"known","title":"Contains: Eggs"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-nuts.svg","id":"allergens_no_nuts","match":100,"name":"Nuts","status":"known","title":"Does not contain: Nuts"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-peanuts.svg","id":"allergens_no_peanuts","match":100,"name":"Peanuts","status":"known","title":"Does not contain: Peanuts"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sesame-seeds.svg","id":"allergens_no_sesame_seeds","match":100,"name":"Sesame seeds","status":"known","title":"Does not contain: Sesame seeds"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-soybeans.svg","id":"allergens_no_soybeans","match":100,"name":"Soybeans","status":"known","title":"Does not contain: Soybeans"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-celery.svg","id":"allergens_no_celery","match":100,"name":"Celery","status":"known","title":"Does not contain: Celery"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-mustard.svg","id":"allergens_no_mustard","match":100,"name":"Mustard","status":"known","title":"Does not contain: Mustard"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-lupin.svg","id":"allergens_no_lupin","match":100,"name":"Lupin","status":"known","title":"Does not contain: Lupin"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-fish.svg","id":"allergens_no_fish","match":100,"name":"Fish","status":"known","title":"Does not contain: Fish"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-crustaceans.svg","id":"allergens_no_crustaceans","match":100,"name":"Crustaceans","status":"known","title":"Does not contain: Crustaceans"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-molluscs.svg","id":"allergens_no_molluscs","match":100,"name":"Molluscs","status":"known","title":"Does not contain: Molluscs"},{"debug":"11 ingredients (0 unknown)","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/no-sulphur-dioxide-and-sulphites.svg","id":"allergens_no_sulphur_dioxide_and_sulphites","match":100,"name":"Sulphur dioxide and sulphites","status":"known","title":"Does not contain: Sulphur dioxide and sulphites"}],"id":"allergens","name":"Allergens","warning":"There is always a possibility that data about allergens may be missing, incomplete, incorrect or that the product's composition has changed. If you are allergic, always check the information on the actual product packaging."},{"attributes":[{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/non-vegan.svg","id":"vegan","match":0,"name":"Vegan","panel_id":"ingredients_analysis_en:non-vegan","status":"known","title":"Non-vegan"},{"grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/vegetarian.svg","id":"vegetarian","match":100,"name":"Vegetarian","panel_id":"ingredients_analysis_en:vegetarian","status":"known","title":"Vegetarian"},{"grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/contains-palm-oil.svg","id":"palm_oil_free","match":0,"name":"Palm oil free","panel_id":"ingredients_analysis_en:palm-oil","status":"known","title":"Palm oil"}],"id":"ingredients_analysis","name":"Ingredients"},{"attributes":[{"grade":"b","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/nova-group-3.svg","id":"nova","match":75,"name":"NOVA group","panel_id":"nova","status":"known","title":"Processed foods"},{"grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/2-additives.svg","id":"additives","match":60,"name":"Additives","panel_id":"additives","status":"known","title":"2 additives"}],"id":"processing","name":"Food processing"},{"attributes":[{"description":"","description_short":"Low environmental impact","grade":"c","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg","id":"ecoscore","match":60,"name":"Green-Score","panel_id":"environmental_score","status":"known","title":"Green-Score B"},{"description":"","description_short":"Almost no risk of deforestation","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/forest-footprint-a.svg","id":"forest_footprint","match":99.9118518518518,"name":"Forest footprint","status":"known","title":"Very small forest footprint"}],"id":"environment","name":"Environment"},{"attributes":[{"description":"Organic farming aims to protect the environment and to conserve biodiversity by prohibiting or limiting the use of synthetic fertilizers, pesticides and food additives.","description_short":"Organic products promote ecological sustainability and biodiversity.","grade":"e","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/not-organic.svg","id":"labels_organic","match":0,"name":"Organic farming","status":"known","title":"Not an organic product"},{"description":"When you buy fair trade products, producers in developing countries are paid an higher and fairer price, which helps them improve and sustain higher social and often environmental standards.","description_short":"Helps producers in developing countries.","grade":"a","icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/fair-trade.svg","id":"labels_fair_trade","match":100,"name":"Fair trade","status":"known","title":"Fair trade product"}],"id":"labels","name":"Labels"}]}; diff --git a/tests/integration/expected_test_results/web_html/world-search-form.html b/tests/integration/expected_test_results/web_html/world-search-form.html index 05006d4df9b73..b9d87fc99adb4 100644 --- a/tests/integration/expected_test_results/web_html/world-search-form.html +++ b/tests/integration/expected_test_results/web_html/world-search-form.html @@ -417,7 +417,7 @@

    Criteria

    - + @@ -489,7 +489,7 @@

    Criteria

    - + @@ -694,8 +694,6 @@

    Nutriments

    - - @@ -740,6 +738,8 @@

    Nutriments

    + + @@ -1014,8 +1014,6 @@

    Nutriments

    - - @@ -1060,6 +1058,8 @@

    Nutriments

    + + @@ -1413,8 +1413,6 @@

    Results on a graph

    - - @@ -1459,6 +1457,8 @@

    Results on a graph

    + + @@ -1712,8 +1712,6 @@

    Results on a graph

    - - @@ -1758,6 +1756,8 @@

    Results on a graph

    + + diff --git a/tests/integration/expected_test_results/web_html/world-search-results.html b/tests/integration/expected_test_results/web_html/world-search-results.html index aa07a0ef0e9fc..fcfdeff1b52f9 100644 --- a/tests/integration/expected_test_results/web_html/world-search-results.html +++ b/tests/integration/expected_test_results/web_html/world-search-results.html @@ -419,7 +419,7 @@

    Search results - World

  • - Products with the best Eco-Score + Products with the best Green-Score
  • @@ -951,13 +951,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1278,13 +1278,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":60, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", @@ -1605,13 +1605,13 @@

    Discover the project

    "description":"", "description_short":"Moderate environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id":"ecoscore", "match":50, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score C" + "title":"Green-Score C" }, { "description":"", @@ -1932,13 +1932,13 @@

    Discover the project

    "description":"", "description_short":"Moderate environmental impact", "grade":"c", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-c.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-c.svg", "id":"ecoscore", "match":50, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score C" + "title":"Green-Score C" }, { "description":"", @@ -2258,13 +2258,13 @@

    Discover the project

    "description":"", "description_short":"Low environmental impact", "grade":"b", - "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/ecoscore-b.svg", + "icon_url":"//static.openfoodfacts.localhost/images/attributes/dist/green-score-b.svg", "id":"ecoscore", "match":70, - "name":"Eco-Score", + "name":"Green-Score", "panel_id":"environmental_score", "status":"known", - "title":"Eco-Score B" + "title":"Green-Score B" }, { "description":"", diff --git a/tests/unit/expected_test_results/attributes/en-attributes.json b/tests/unit/expected_test_results/attributes/en-attributes.json index f628004d1ffe6..4157731407eab 100644 --- a/tests/unit/expected_test_results/attributes/en-attributes.json +++ b/tests/unit/expected_test_results/attributes/en-attributes.json @@ -299,13 +299,13 @@ "description" : "", "description_short" : "Low environmental impact", "grade" : "b", - "icon_url" : "https://server_domain/images/attributes/dist/ecoscore-b.svg", + "icon_url" : "https://server_domain/images/attributes/dist/green-score-b.svg", "id" : "ecoscore", "match" : 68, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score B" + "title" : "Green-Score B" }, { "description" : "", diff --git a/tests/unit/expected_test_results/attributes/en-environmental_score-score-at-20-threshold.json b/tests/unit/expected_test_results/attributes/en-environmental_score-score-at-20-threshold.json index fc4ad6b054a09..39d4f067bcb0c 100644 --- a/tests/unit/expected_test_results/attributes/en-environmental_score-score-at-20-threshold.json +++ b/tests/unit/expected_test_results/attributes/en-environmental_score-score-at-20-threshold.json @@ -276,13 +276,13 @@ "description" : "", "description_short" : "High environmental impact", "grade" : "d", - "icon_url" : "https://server_domain/images/attributes/dist/ecoscore-d.svg", + "icon_url" : "https://server_domain/images/attributes/dist/green-score-d.svg", "id" : "ecoscore", "match" : 31, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score D" + "title" : "Green-Score D" }, { "description" : "", diff --git a/tests/unit/expected_test_results/attributes/en-maybe-vegan.json b/tests/unit/expected_test_results/attributes/en-maybe-vegan.json index dc188d2666b2b..2930388214baa 100644 --- a/tests/unit/expected_test_results/attributes/en-maybe-vegan.json +++ b/tests/unit/expected_test_results/attributes/en-maybe-vegan.json @@ -278,13 +278,13 @@ "description" : "", "description_short" : "Unknown environmental impact", "grade" : "unknown", - "icon_url" : "https://server_domain/images/attributes/dist/ecoscore-unknown.svg", + "icon_url" : "https://server_domain/images/attributes/dist/green-score-unknown.svg", "id" : "ecoscore", "match" : 0, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "unknown", - "title" : "Eco-Score not computed" + "title" : "Green-Score not computed" }, { "description" : "", diff --git a/tests/unit/expected_test_results/attributes/en-no-ingredients.json b/tests/unit/expected_test_results/attributes/en-no-ingredients.json index 092077e3c17a2..21b8612654a46 100644 --- a/tests/unit/expected_test_results/attributes/en-no-ingredients.json +++ b/tests/unit/expected_test_results/attributes/en-no-ingredients.json @@ -276,13 +276,13 @@ "description" : "", "description_short" : "High environmental impact", "grade" : "d", - "icon_url" : "https://server_domain/images/attributes/dist/ecoscore-d.svg", + "icon_url" : "https://server_domain/images/attributes/dist/green-score-d.svg", "id" : "ecoscore", "match" : 35, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score D" + "title" : "Green-Score D" }, { "description" : "", diff --git a/tests/unit/expected_test_results/attributes/en-nova-groups-markers.json b/tests/unit/expected_test_results/attributes/en-nova-groups-markers.json index e10e6475e6efd..1fff205f40aed 100644 --- a/tests/unit/expected_test_results/attributes/en-nova-groups-markers.json +++ b/tests/unit/expected_test_results/attributes/en-nova-groups-markers.json @@ -287,13 +287,13 @@ "description" : "", "description_short" : "High environmental impact", "grade" : "d", - "icon_url" : "https://server_domain/images/attributes/dist/ecoscore-d.svg", + "icon_url" : "https://server_domain/images/attributes/dist/green-score-d.svg", "id" : "ecoscore", "match" : 35, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score D" + "title" : "Green-Score D" }, { "description" : "", diff --git a/tests/unit/expected_test_results/attributes/en-nutriscore.json b/tests/unit/expected_test_results/attributes/en-nutriscore.json index e2033f998f3fe..a27f8ae1c003b 100644 --- a/tests/unit/expected_test_results/attributes/en-nutriscore.json +++ b/tests/unit/expected_test_results/attributes/en-nutriscore.json @@ -282,13 +282,13 @@ "description" : "", "description_short" : "Moderate environmental impact", "grade" : "c", - "icon_url" : "https://server_domain/images/attributes/dist/ecoscore-c.svg", + "icon_url" : "https://server_domain/images/attributes/dist/green-score-c.svg", "id" : "ecoscore", "match" : 50, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score C" + "title" : "Green-Score C" }, { "description" : "", diff --git a/tests/unit/expected_test_results/attributes/en-unknown-ingredients.json b/tests/unit/expected_test_results/attributes/en-unknown-ingredients.json index 4b00f9149efb6..1e4437409f65a 100644 --- a/tests/unit/expected_test_results/attributes/en-unknown-ingredients.json +++ b/tests/unit/expected_test_results/attributes/en-unknown-ingredients.json @@ -277,13 +277,13 @@ "description" : "", "description_short" : "High environmental impact", "grade" : "d", - "icon_url" : "https://server_domain/images/attributes/dist/ecoscore-d.svg", + "icon_url" : "https://server_domain/images/attributes/dist/green-score-d.svg", "id" : "ecoscore", "match" : 35, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "known", - "title" : "Eco-Score D" + "title" : "Green-Score D" }, { "description" : "", diff --git a/tests/unit/expected_test_results/attributes/fr-palm-kernel-fat.json b/tests/unit/expected_test_results/attributes/fr-palm-kernel-fat.json index b4ddda2fd58f8..787cad5a2c654 100644 --- a/tests/unit/expected_test_results/attributes/fr-palm-kernel-fat.json +++ b/tests/unit/expected_test_results/attributes/fr-palm-kernel-fat.json @@ -280,13 +280,13 @@ "description" : "", "description_short" : "Impact environnemental inconnu", "grade" : "unknown", - "icon_url" : "https://server_domain/images/attributes/dist/ecoscore-unknown.svg", + "icon_url" : "https://server_domain/images/attributes/dist/green-score-unknown.svg", "id" : "ecoscore", "match" : 0, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "unknown", - "title" : "Eco-Score non calculé" + "title" : "Green-Score non calculé" }, { "description" : "", diff --git a/tests/unit/expected_test_results/attributes/fr-palm-oil-free.json b/tests/unit/expected_test_results/attributes/fr-palm-oil-free.json index f66025df41bcd..fc0fc2500483e 100644 --- a/tests/unit/expected_test_results/attributes/fr-palm-oil-free.json +++ b/tests/unit/expected_test_results/attributes/fr-palm-oil-free.json @@ -280,13 +280,13 @@ "description" : "", "description_short" : "Impact environnemental inconnu", "grade" : "unknown", - "icon_url" : "https://server_domain/images/attributes/dist/ecoscore-unknown.svg", + "icon_url" : "https://server_domain/images/attributes/dist/green-score-unknown.svg", "id" : "ecoscore", "match" : 0, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "unknown", - "title" : "Eco-Score non calculé" + "title" : "Green-Score non calculé" }, { "description" : "", diff --git a/tests/unit/expected_test_results/attributes/fr-palm-oil.json b/tests/unit/expected_test_results/attributes/fr-palm-oil.json index be9a065a5eaa6..13913ab2a222a 100644 --- a/tests/unit/expected_test_results/attributes/fr-palm-oil.json +++ b/tests/unit/expected_test_results/attributes/fr-palm-oil.json @@ -280,13 +280,13 @@ "description" : "", "description_short" : "Impact environnemental inconnu", "grade" : "unknown", - "icon_url" : "https://server_domain/images/attributes/dist/ecoscore-unknown.svg", + "icon_url" : "https://server_domain/images/attributes/dist/green-score-unknown.svg", "id" : "ecoscore", "match" : 0, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "unknown", - "title" : "Eco-Score non calculé" + "title" : "Green-Score non calculé" }, { "description" : "", diff --git a/tests/unit/expected_test_results/attributes/fr-vegetable-oils.json b/tests/unit/expected_test_results/attributes/fr-vegetable-oils.json index f8e23e0bd2ac1..9b1609c1d9404 100644 --- a/tests/unit/expected_test_results/attributes/fr-vegetable-oils.json +++ b/tests/unit/expected_test_results/attributes/fr-vegetable-oils.json @@ -280,13 +280,13 @@ "description" : "", "description_short" : "Impact environnemental inconnu", "grade" : "unknown", - "icon_url" : "https://server_domain/images/attributes/dist/ecoscore-unknown.svg", + "icon_url" : "https://server_domain/images/attributes/dist/green-score-unknown.svg", "id" : "ecoscore", "match" : 0, - "name" : "Eco-Score", + "name" : "Green-Score", "panel_id" : "environmental_score", "status" : "unknown", - "title" : "Eco-Score non calculé" + "title" : "Green-Score non calculé" }, { "description" : "", From da3e91195ef02a743e0f5a079752ab04b1854464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Gigandet?= Date: Wed, 18 Dec 2024 15:41:55 +0100 Subject: [PATCH 2/2] l'Green -> le Green --- po/common/ca.po | 22 +++++++++++----------- po/common/fr.po | 32 ++++++++++++++++---------------- po/common/it.po | 24 ++++++++++++------------ 3 files changed, 39 insertions(+), 39 deletions(-) diff --git a/po/common/ca.po b/po/common/ca.po index 8f844e48cfcd3..8d4d2e03efd9f 100644 --- a/po/common/ca.po +++ b/po/common/ca.po @@ -4825,7 +4825,7 @@ msgstr "Baix impacte ambiental (Green-Score)" msgctxt "attribute_environmental_score_setting_note" msgid "The Green-Score is an environmental score (environmental_score) from A to E which makes it easy to compare the impact of food products on the environment." -msgstr "L'Green-Score és una puntuació ambiental (environmental_score) de la A a la E que facilita la comparació de l'impacte dels productes alimentaris en el medi ambient." +msgstr "El Green-Score és una puntuació ambiental (environmental_score) de la A a la E que facilita la comparació de l'impacte dels productes alimentaris en el medi ambient." # keep %s, it will be replaced by the letter A+, A, B, C, D, E or F msgctxt "attribute_environmental_score_grade_title" @@ -5362,7 +5362,7 @@ msgstr "S'està suprimint l'usuari. Això pot trigar uns quants minuts." msgctxt "attribute_environmental_score_not_applicable_title" msgid "Green-Score not yet applicable" -msgstr "L'Green-Score encara no s'aplica" +msgstr "El Green-Score encara no s'aplica" msgctxt "attribute_environmental_score_not_applicable_description_short" msgid "Not yet applicable for the category" @@ -5375,7 +5375,7 @@ msgstr "Encara no s'aplica per a la categoria: {category}" msgctxt "environmental_score_not_applicable_coming_soon" msgid "The Green-Score is not yet applicable for this category, but we are working on adding support for it." -msgstr "L'Green-Score encara no és aplicable per a aquesta categoria, però estem treballant per fer-ho possible." +msgstr "El Green-Score encara no és aplicable per a aquesta categoria, però estem treballant per fer-ho possible." msgctxt "attribute_environmental_score_unknown_title" msgid "Green-Score not computed" @@ -5387,7 +5387,7 @@ msgstr "Impacte ambiental desconegut" msgctxt "environmental_score_unknown_call_to_help" msgid "We could not compute the Green-Score of this product as it is missing some data, could you help complete it?" -msgstr "No hem pogut calcular l'Green-Score d'aquest producte perquè li falten algunes dades, podríeu ajudar-nos a completar-lo?" +msgstr "No hem pogut calcular el Green-Score d'aquest producte perquè li falten algunes dades, podríeu ajudar-nos a completar-lo?" msgctxt "org_list_of_gs1_gln_description" msgid "GS1 data is automatically associated with an OFF organization identifier that corresponds to the GS1 partyName field. To change the OFF organization identifier, you can directly assign 1 or more GS1 GLN identifiers." @@ -5517,7 +5517,7 @@ msgstr "La petjada forestal es calcula tenint en compte els ingredients la produ msgctxt "environmental_score_agribalyse_match_warning" msgid "The Green-Score can only be calculated if the product has a sufficiently precise category." -msgstr "L'Green-Score només es pot calcular si el producte té una categoria prou precisa." +msgstr "El Green-Score només es pot calcular si el producte té una categoria prou precisa." msgctxt "environmental_score_add_more_precise_category" msgid "You can modify the product page to add a more precise category." @@ -5663,7 +5663,7 @@ msgstr "No s'ha donat la informació sobre els ingredients d'aquest producte." msgctxt "environmental_score_edit_for_more_precise_environmental_score" msgid "For a more precise calculation of the Green-Score, you can edit the product page and add them." -msgstr "Per a un càlcul més precís de l'Green-Score, podeu editar la pàgina del producte i afegir-los." +msgstr "Per a un càlcul més precís de el Green-Score, podeu editar la pàgina del producte i afegir-los." msgctxt "environmental_score_packaging_ratio" msgid "ratio" @@ -5687,7 +5687,7 @@ msgstr "La informació sobre l'embalatge d'aquest producte no és prou precisa ( msgctxt "environmental_score_edit_for_more_precise_environmental_score" msgid "For a more precise calculation of the Green-Score, you can modify the product page and add them." -msgstr "Per a un càlcul més precís de l'Green-Score, podeu modificar la pàgina del producte i afegir-los." +msgstr "Per a un càlcul més precís de el Green-Score, podeu modificar la pàgina del producte i afegir-los." msgctxt "environmental_score_final_score" msgid "Final score" @@ -5719,7 +5719,7 @@ msgstr "La fórmula Green-Score està subjecta a canvis, ja que es millora regul # do not translate Green-Score msgctxt "environmental_score_warning_international" msgid "The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country." -msgstr "L'Green-Score es va desenvolupar inicialment a França i s'està ampliant per a altres països europeus. La fórmula Green-Score està subjecta a canvis, ja que es millora periòdicament per fer-la més precisa i més adequada per a cada país." +msgstr "El Green-Score es va desenvolupar inicialment a França i s'està ampliant per a altres països europeus. La fórmula Green-Score està subjecta a canvis, ja que es millora periòdicament per fer-la més precisa i més adequada per a cada país." msgctxt "environmental_score_warning_transportation_world" msgid "Select a country in order to include the full impact of transportation." @@ -5731,7 +5731,7 @@ msgstr "Actualment es desconeix l'impacte total del transport al vostre país." msgctxt "app_banner_text" msgid "Scan barcodes to get the Nutri-Score, the Green-Score and more!" -msgstr "Escaneja codis de barres per obtenir el Nutri-Score, l'Green-Score i molt més!" +msgstr "Escaneja codis de barres per obtenir el Nutri-Score, el Green-Score i molt més!" msgctxt "org_gs1_product_name_is_abbreviated" msgid "GS1 product names for this manufacturer are abbreviated." @@ -6240,7 +6240,7 @@ msgstr "Apreneu més sobre la Nutri-Score" msgctxt "environmental_score_learn_more" msgid "Learn more about the Green-Score" -msgstr "Apreneu més sobre l'Green-Score" +msgstr "Apreneu més sobre el Green-Score" # The translation needs to be short as it is displayed at the top of small product cards msgctxt "products_match_very_good_match" @@ -6290,7 +6290,7 @@ msgstr "Podries afegir la informació necessària per calcular el Nutri-Score?" msgctxt "actions_to_compute_environmental_score" msgid "Could you add a precise product category so that we can compute the Green-Score?" -msgstr "Podries afegir una categoria del producte més precisa perquè puguem calcular l'Green-Score?" +msgstr "Podries afegir una categoria del producte més precisa perquè puguem calcular el Green-Score?" msgctxt "action_add_ingredients_text" msgid "Add the ingredients" diff --git a/po/common/fr.po b/po/common/fr.po index d256ff7d98d14..d0e9ed807f3da 100644 --- a/po/common/fr.po +++ b/po/common/fr.po @@ -4836,7 +4836,7 @@ msgstr "Faible impact environnemental (Green-Score)" msgctxt "attribute_environmental_score_setting_note" msgid "The Green-Score is an environmental score (environmental_score) from A to E which makes it easy to compare the impact of food products on the environment." -msgstr "L'Green-Score est un score environnemental (écoscore) de A à E qui permet de comparer facilement l'impact des produits alimentaires sur l'environnement." +msgstr "Le Green-Score est un score environnemental (écoscore) de A à E qui permet de comparer facilement l'impact des produits alimentaires sur l'environnement." # Note: the Eco-Score is renamed to Green-Score, but we keep the ecoscore identifier as it is stored in clients msgctxt "attribute_ecoscore_name" @@ -4849,7 +4849,7 @@ msgstr "Faible impact environnemental (Green-Score)" msgctxt "attribute_ecoscore_setting_note" msgid "The Green-Score is an environmental score from A to E which makes it easy to compare the impact of food products on the environment." -msgstr "L'Green-Score est un score environnemental (écoscore) de A à E qui permet de comparer facilement l'impact des produits alimentaires sur l'environnement." +msgstr "Le Green-Score est un score environnemental (écoscore) de A à E qui permet de comparer facilement l'impact des produits alimentaires sur l'environnement." # keep %s, it will be replaced by the letter A+, A, B, C, D, E or F msgctxt "attribute_environmental_score_grade_title" @@ -5046,12 +5046,12 @@ msgstr "Note Green-Score" # do not translate Green-Score msgctxt "environmental_score_calculation_details" msgid "Details of the calculation of the Green-Score" -msgstr "Détails du calcul de l'Green-Score" +msgstr "Détails du calcul de le Green-Score" # do not translate Green-Score msgctxt "environmental_score_information" msgid "Information about the Green-Score" -msgstr "Information sur l'Green-Score" +msgstr "Information sur le Green-Score" msgctxt "preferences_currently_selected_preferences" msgid "Currently selected preferences" @@ -5267,7 +5267,7 @@ msgstr "La plate-forme fournit également une analyse approfondie des produits." # It = the platform msgctxt "product_edits_by_producers_indicators" msgid "It computes indicators such as the Nutri-Score, NOVA, and the Green-Score, and automatically identifies suggestions to improve them (for instance all products that would get a better Nutri-Score grade with a slight composition change)." -msgstr "Elle calcule des indicateurs tels que le Nutri-Score, NOVA et l'Green-Score, et identifie automatiquement les suggestions pour les améliorer (par exemple tous les produits qui obtiendraient une meilleure note Nutri-Score avec un léger changement de composition)." +msgstr "Elle calcule des indicateurs tels que le Nutri-Score, NOVA et le Green-Score, et identifie automatiquement les suggestions pour les améliorer (par exemple tous les produits qui obtiendraient une meilleure note Nutri-Score avec un léger changement de composition)." msgctxt "attribute_forest_footprint_name" msgid "Forest footprint" @@ -5415,7 +5415,7 @@ msgstr "Pas encore applicable pour la catégorie : {category}" msgctxt "environmental_score_not_applicable_coming_soon" msgid "The Green-Score is not yet applicable for this category, but we are working on adding support for it." -msgstr "L'Green-Score n'est pas encore applicable pour cette catégorie, mais nous travaillons à ajouter un support pour cela." +msgstr "Le Green-Score n'est pas encore applicable pour cette catégorie, mais nous travaillons à ajouter un support pour cela." msgctxt "attribute_environmental_score_unknown_title" msgid "Green-Score not computed" @@ -5427,7 +5427,7 @@ msgstr "Impact environnemental inconnu" msgctxt "environmental_score_unknown_call_to_help" msgid "We could not compute the Green-Score of this product as it is missing some data, could you help complete it?" -msgstr "Nous n'avons pas pu calculer l'Green-Score de ce produit car il manque certaines données, pourriez-vous nous aider à le compléter ?" +msgstr "Nous n'avons pas pu calculer le Green-Score de ce produit car il manque certaines données, pourriez-vous nous aider à le compléter ?" msgctxt "org_list_of_gs1_gln_description" msgid "GS1 data is automatically associated with an OFF organization identifier that corresponds to the GS1 partyName field. To change the OFF organization identifier, you can directly assign 1 or more GS1 GLN identifiers." @@ -5557,7 +5557,7 @@ msgstr "L'empreinte forêt est calculée en prenant en compte les ingrédients d msgctxt "environmental_score_agribalyse_match_warning" msgid "The Green-Score can only be calculated if the product has a sufficiently precise category." -msgstr "L'Green-Score ne peut être calculé que si le produit possède une catégorie suffisamment précise." +msgstr "Le Green-Score ne peut être calculé que si le produit possède une catégorie suffisamment précise." msgctxt "environmental_score_add_more_precise_category" msgid "You can modify the product page to add a more precise category." @@ -5569,7 +5569,7 @@ msgstr "Si vous êtes le fabricant de ce produit, vous pouvez nous transmettre l msgctxt "environmental_score_warning_missing_information" msgid "Warning: some information necessary to calculate the Green-Score with precision is not provided (see the details of the calculation below)." -msgstr "Avertissement : certaines informations nécessaires pour calculer l'Green-Score avec précision ne sont pas indiquées (voir le détail du calcul ci-dessous)." +msgstr "Avertissement : certaines informations nécessaires pour calculer le Green-Score avec précision ne sont pas indiquées (voir le détail du calcul ci-dessous)." msgctxt "environmental_score_add_missing_information" msgid "You can edit the product to add the missing information." @@ -5703,7 +5703,7 @@ msgstr "Les informations sur les ingrédients de ce produit ne sont pas indiqué msgctxt "environmental_score_edit_for_more_precise_environmental_score" msgid "For a more precise calculation of the Green-Score, you can edit the product page and add them." -msgstr "Pour un calcul plus précis de l'Green-Score, vous pouvez modifier la fiche produit et les ajouter." +msgstr "Pour un calcul plus précis de le Green-Score, vous pouvez modifier la fiche produit et les ajouter." msgctxt "environmental_score_packaging_ratio" msgid "ratio" @@ -5727,7 +5727,7 @@ msgstr "Les informations sur l'emballage de ce produit ne sont pas suffisamment msgctxt "environmental_score_edit_for_more_precise_environmental_score" msgid "For a more precise calculation of the Green-Score, you can modify the product page and add them." -msgstr "Pour un calcul plus précis de l'Green-Score, vous pouvez modifier la fiche produit et les ajouter." +msgstr "Pour un calcul plus précis de le Green-Score, vous pouvez modifier la fiche produit et les ajouter." msgctxt "environmental_score_final_score" msgid "Final score" @@ -5754,12 +5754,12 @@ msgstr "L'Green-Score est un score expérim # do not translate Green-Score msgctxt "environmental_score_warning_fr" msgid "The Green-Score formula is subject to change as it is regularly improved to make it more precise." -msgstr "La formule de l'Green-Score est susceptible d'évoluer car elle est régulièrement améliorée pour la rendre plus précise." +msgstr "La formule de le Green-Score est susceptible d'évoluer car elle est régulièrement améliorée pour la rendre plus précise." # do not translate Green-Score msgctxt "environmental_score_warning_international" msgid "The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country." -msgstr "L'Green-Score a été initialement conçu pour la France et est en cours d'extension à d'autres pays européens. La formule de l'Green-Score est susceptible d'évoluer car elle est régulièrement améliorée pour la rendre plus précise et mieux adaptée à chaque pays." +msgstr "Le Green-Score a été initialement conçu pour la France et est en cours d'extension à d'autres pays européens. La formule de le Green-Score est susceptible d'évoluer car elle est régulièrement améliorée pour la rendre plus précise et mieux adaptée à chaque pays." msgctxt "environmental_score_warning_transportation_world" msgid "Select a country in order to include the full impact of transportation." @@ -5771,7 +5771,7 @@ msgstr "L'impact total du transport sur votre pays est actuellement inconnu." msgctxt "app_banner_text" msgid "Scan barcodes to get the Nutri-Score, the Green-Score and more!" -msgstr "Scannez les codes-barres pour obtenir le Nutri-Score, l'Green-Score et plus !" +msgstr "Scannez les codes-barres pour obtenir le Nutri-Score, le Green-Score et plus !" msgctxt "org_gs1_product_name_is_abbreviated" msgid "GS1 product names for this manufacturer are abbreviated." @@ -6280,7 +6280,7 @@ msgstr "En savoir plus sur le Nutri-Score" msgctxt "environmental_score_learn_more" msgid "Learn more about the Green-Score" -msgstr "En savoir plus sur l'Green-Score" +msgstr "En savoir plus sur le Green-Score" # The translation needs to be short as it is displayed at the top of small product cards msgctxt "products_match_very_good_match" @@ -6330,7 +6330,7 @@ msgstr "Pourriez-vous ajouter les informations nécessaires pour calculer le Nut msgctxt "actions_to_compute_environmental_score" msgid "Could you add a precise product category so that we can compute the Green-Score?" -msgstr "Pourriez-vous ajouter une catégorie de produit précise afin que nous puissions calculer l'Green-Score ?" +msgstr "Pourriez-vous ajouter une catégorie de produit précise afin que nous puissions calculer le Green-Score ?" msgctxt "action_add_ingredients_text" msgid "Add the ingredients" diff --git a/po/common/it.po b/po/common/it.po index dc2a97ea4b27e..c6982f80b0741 100644 --- a/po/common/it.po +++ b/po/common/it.po @@ -4825,7 +4825,7 @@ msgstr "Basso impatto ambientale (Green-Score)" msgctxt "attribute_environmental_score_setting_note" msgid "The Green-Score is an environmental score (environmental_score) from A to E which makes it easy to compare the impact of food products on the environment." -msgstr "L'Green-Score è un punteggio ambientale (environmental_score) dalla A alla E che rende facile confrontare l'impatto dei prodotti alimentari sull'ambiente." +msgstr "Il Green-Score è un punteggio ambientale (environmental_score) dalla A alla E che rende facile confrontare l'impatto dei prodotti alimentari sull'ambiente." # keep %s, it will be replaced by the letter A+, A, B, C, D, E or F msgctxt "attribute_environmental_score_grade_title" @@ -5375,7 +5375,7 @@ msgstr "Non ancora applicabile per la categoria: {category}" msgctxt "environmental_score_not_applicable_coming_soon" msgid "The Green-Score is not yet applicable for this category, but we are working on adding support for it." -msgstr "L'Green-Score non è ancora applicabile a questa categoria, ma stiamo lavorando per aggiungere supporto." +msgstr "Il Green-Score non è ancora applicabile a questa categoria, ma stiamo lavorando per aggiungere supporto." msgctxt "attribute_environmental_score_unknown_title" msgid "Green-Score not computed" @@ -5387,7 +5387,7 @@ msgstr "Impatto ambientale sconosciuto" msgctxt "environmental_score_unknown_call_to_help" msgid "We could not compute the Green-Score of this product as it is missing some data, could you help complete it?" -msgstr "Non siamo riusciti a calcolare l'Green-Score di questo prodotto in quanto alcuni dati sono mancanti, potresti aiutare a completarlo?" +msgstr "Non siamo riusciti a calcolare il Green-Score di questo prodotto in quanto alcuni dati sono mancanti, potresti aiutare a completarlo?" msgctxt "org_list_of_gs1_gln_description" msgid "GS1 data is automatically associated with an OFF organization identifier that corresponds to the GS1 partyName field. To change the OFF organization identifier, you can directly assign 1 or more GS1 GLN identifiers." @@ -5517,7 +5517,7 @@ msgstr "L'impronta forestale è calcolata considerando gli ingredienti la cui pr msgctxt "environmental_score_agribalyse_match_warning" msgid "The Green-Score can only be calculated if the product has a sufficiently precise category." -msgstr "L'Green-Score è calcolabile solo se il prodotto ha una categoria sufficientemente precisa." +msgstr "Il Green-Score è calcolabile solo se il prodotto ha una categoria sufficientemente precisa." msgctxt "environmental_score_add_more_precise_category" msgid "You can modify the product page to add a more precise category." @@ -5529,7 +5529,7 @@ msgstr "Se sei il produttore di questo prodotto, puoi inviarci le informazioni c msgctxt "environmental_score_warning_missing_information" msgid "Warning: some information necessary to calculate the Green-Score with precision is not provided (see the details of the calculation below)." -msgstr "Attenzione: alcune informazioni necessarie al calcolo dell'Green-Score con precisione non sono fornite (vedi sotto i dettagli del calcolo)." +msgstr "Attenzione: alcune informazioni necessarie al calcolo delil Green-Score con precisione non sono fornite (vedi sotto i dettagli del calcolo)." msgctxt "environmental_score_add_missing_information" msgid "You can edit the product to add the missing information." @@ -5663,7 +5663,7 @@ msgstr "Le informazioni sugli ingredienti di questo prodotto non sono state date msgctxt "environmental_score_edit_for_more_precise_environmental_score" msgid "For a more precise calculation of the Green-Score, you can edit the product page and add them." -msgstr "Per un calcolo più preciso dell'Green-Score, puoi modificare la pagina del prodotto e aggiungerle." +msgstr "Per un calcolo più preciso delil Green-Score, puoi modificare la pagina del prodotto e aggiungerle." msgctxt "environmental_score_packaging_ratio" msgid "ratio" @@ -5687,7 +5687,7 @@ msgstr "Le informazioni sull'imballaggio di questo prodotto non sono sufficiente msgctxt "environmental_score_edit_for_more_precise_environmental_score" msgid "For a more precise calculation of the Green-Score, you can modify the product page and add them." -msgstr "Per un calcolo più preciso dell'Green-Score, puoi modificare la pagina del prodotto e aggiungerle." +msgstr "Per un calcolo più preciso delil Green-Score, puoi modificare la pagina del prodotto e aggiungerle." msgctxt "environmental_score_final_score" msgid "Final score" @@ -5714,12 +5714,12 @@ msgstr "L'Green-Score è un punteggio speri # do not translate Green-Score msgctxt "environmental_score_warning_fr" msgid "The Green-Score formula is subject to change as it is regularly improved to make it more precise." -msgstr "La formula dell'Green-Score è soggetta a modifiche in quanto viene regolarmente migliorata per renderla più precisa." +msgstr "La formula delil Green-Score è soggetta a modifiche in quanto viene regolarmente migliorata per renderla più precisa." # do not translate Green-Score msgctxt "environmental_score_warning_international" msgid "The Green-Score was initially developped for France and it is being extended to other European countries. The Green-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country." -msgstr "L'Green-Score è stato inizialmente sviluppato per la Francia e sta venendo esteso ad altri paesi europei. La formula Eco-Store è soggetta a modifiche in quanto viene regolarmente migliorata per renderla più precisa e più adatta a ogni paese." +msgstr "Il Green-Score è stato inizialmente sviluppato per la Francia e sta venendo esteso ad altri paesi europei. La formula Eco-Store è soggetta a modifiche in quanto viene regolarmente migliorata per renderla più precisa e più adatta a ogni paese." msgctxt "environmental_score_warning_transportation_world" msgid "Select a country in order to include the full impact of transportation." @@ -5731,7 +5731,7 @@ msgstr "L'impatto completo del trasporto verso il tuo Paese è correntemente sco msgctxt "app_banner_text" msgid "Scan barcodes to get the Nutri-Score, the Green-Score and more!" -msgstr "Scansiona i codici a barre per ottenere il Nutri-Score, l'Green-Score e molto altro!" +msgstr "Scansiona i codici a barre per ottenere il Nutri-Score, il Green-Score e molto altro!" msgctxt "org_gs1_product_name_is_abbreviated" msgid "GS1 product names for this manufacturer are abbreviated." @@ -6240,7 +6240,7 @@ msgstr "Ulteriori informazioni su Punteggio-Nutri" msgctxt "environmental_score_learn_more" msgid "Learn more about the Green-Score" -msgstr "Ulteriori informazioni sull'Green-Score" +msgstr "Ulteriori informazioni sulil Green-Score" # The translation needs to be short as it is displayed at the top of small product cards msgctxt "products_match_very_good_match" @@ -6290,7 +6290,7 @@ msgstr "Potresti aggiungere le informazioni necessarie per calcolare il Nutri-Sc msgctxt "actions_to_compute_environmental_score" msgid "Could you add a precise product category so that we can compute the Green-Score?" -msgstr "Potresti aggiungere una categoria di prodotto precisa in modo da poter calcolare l'Green-Score?" +msgstr "Potresti aggiungere una categoria di prodotto precisa in modo da poter calcolare il Green-Score?" msgctxt "action_add_ingredients_text" msgid "Add the ingredients"