diff --git a/packages/smooth_app/lib/l10n/app_en.arb b/packages/smooth_app/lib/l10n/app_en.arb index 08d2282566d..ffc90bef3b5 100644 --- a/packages/smooth_app/lib/l10n/app_en.arb +++ b/packages/smooth_app/lib/l10n/app_en.arb @@ -1686,6 +1686,10 @@ "@all_search_to_be_completed_title": { "description": "All products to be completed: list tile title" }, + "categorize_products_country_title": "Help categorize products in your country", + "@categorize_products_country_title": { + "description": "Help categorize products in your country: list tile title" + }, "edit_product_action_retake_picture": "Retake photo", "@edit_product_action_retake_picture": { "description": "Product edition - FAB actions - retake a picture" diff --git a/packages/smooth_app/lib/l10n/app_fr.arb b/packages/smooth_app/lib/l10n/app_fr.arb index b214582de4c..6921f0feeb3 100644 --- a/packages/smooth_app/lib/l10n/app_fr.arb +++ b/packages/smooth_app/lib/l10n/app_fr.arb @@ -1686,6 +1686,10 @@ "@all_search_to_be_completed_title": { "description": "All products to be completed: list tile title" }, + "categorize_products_country_title": "Aidez-nous pour les catégories des produits dans votre pays", + "@categorize_products_country_title": { + "description": "Help categorize products in your country: list tile title" + }, "edit_product_action_retake_picture": "Reprendre une photo", "@edit_product_action_retake_picture": { "description": "Product edition - FAB actions - retake a picture" diff --git a/packages/smooth_app/lib/pages/preferences/user_preferences_account.dart b/packages/smooth_app/lib/pages/preferences/user_preferences_account.dart index 3a4e20de19e..6b177cb067c 100644 --- a/packages/smooth_app/lib/pages/preferences/user_preferences_account.dart +++ b/packages/smooth_app/lib/pages/preferences/user_preferences_account.dart @@ -217,6 +217,13 @@ class UserPreferencesAccount extends AbstractUserPreferences { context: context, localDatabase: localDatabase, ), + _getListTile( + appLocalizations.categorize_products_country_title, + () async => LaunchUrlHelper.launchURL( + 'https://hunger.openfoodfacts.org/eco-score?cc=${ProductQuery.getCountry().offTag}', + ), + Icons.open_in_new, + ), _getListTile( appLocalizations.view_profile, () async => LaunchUrlHelper.launchURL(