Skip to content

Commit

Permalink
feat: 4554 - new links in FAQ (#4572)
Browse files Browse the repository at this point in the history
* feat: 4554 - new links in FAQ

Impacted files:
* `app_en.arb`: added labels for the 9 new items
* `app_fr.arb`: added labels for 4 new items
* `user_preferences_faq.dart`: added 9 items; fixed 2 items
* `product_query.dart`: new `replaceSubdomain` method

* feat: 4554 - new icons for app install

Impacted files:
* `RVB_ICON_BLACK_BG_OBF.svg`: dark version of Beauty app icon
* `RVB_ICON_BLACK_BG_OPF.svg`: dark version of Product app icon
* `RVB_ICON_BLACK_BG_OPFF.svg`: dark version of Pet Food app icon
* `RVB_ICON_WHITE_BG_OBF.svg`: light version of Beauty app icon
* `RVB_ICON_WHITE_BG_OPF.svg`: light version of Product app icon
* `RVB_ICON_WHITE_BG_OPFF.svg`: light version of Pet Food app icon
* `user_preferences_faq.dart`: new icons for app install, dark and light

* feat: 4554 - new icon layout

Impacted file:
* `user_preferences_faq.dart`: all icons are now centered on a 48x48 square, the real icons have the standard size, and the svg icons have a width of 48

* feat: 4554 - new 5 items for the contact page

Impacted files:
* `app_en.arb`: added labels for the new 5 items
* `user_preferences_connect.dart`: added 5 items
* `user_preferences_faq.dart`: minor refactoring
  • Loading branch information
monsieurtanuki committed Aug 19, 2023
1 parent 9c6138d commit 369f145
Show file tree
Hide file tree
Showing 11 changed files with 281 additions and 100 deletions.
1 change: 1 addition & 0 deletions packages/smooth_app/assets/app/RVB_ICON_BLACK_BG_OBF.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/smooth_app/assets/app/RVB_ICON_BLACK_BG_OPF.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/smooth_app/assets/app/RVB_ICON_BLACK_BG_OPFF.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/smooth_app/assets/app/RVB_ICON_WHITE_BG_OBF.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/smooth_app/assets/app/RVB_ICON_WHITE_BG_OPF.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/smooth_app/assets/app/RVB_ICON_WHITE_BG_OPFF.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions packages/smooth_app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -2438,25 +2438,39 @@
"@product_list_create_tooltip": {
"description": "Button description to create a new list (long sentence)"
},
"nutriscore_generic": "Nutri-Score",
"nutriscore_a": "Nutri-Score A",
"nutriscore_b": "Nutri-Score B",
"nutriscore_c": "Nutri-Score C",
"nutriscore_d": "Nutri-Score D",
"nutriscore_e": "Nutri-Score E",
"nutriscore_unknown": "Unknown Nutri-Score",
"nutriscore_not_applicable": "Nutri-Score is not applicable",
"ecoscore_generic": "Eco-Score",
"ecoscore_a": "Eco-Score A",
"ecoscore_b": "Eco-Score B",
"ecoscore_c": "Eco-Score C",
"ecoscore_d": "Eco-Score D",
"ecoscore_e": "Eco-Score E",
"ecoscore_unknown": "Unknown Eco-Score",
"ecoscore_not_applicable": "Eco-Score is not applicable",
"nova_group_generic": "Ultra-processing - NOVA groups",
"nova_group_1": "NOVA Group 1",
"nova_group_2": "NOVA Group 2",
"nova_group_3": "NOVA Group 3",
"nova_group_4": "NOVA Group 4",
"nova_group_unknown": "Unknown NOVA Group",
"nutrition_facts": "Nutrition Facts",
"faq_title_partners": "Partners",
"faq_title_vision": "The Open Food Facts Vision, Mission, Values and Programs",
"faq_title_install_beauty": "Install Open Beauty Facts to create a cosmetic database",
"faq_title_install_pet": "Install Open Pet Food Facts to create a pet food database",
"faq_title_install_product": "Install Open Products Facts to create a products database to extend the life of objects",
"contact_title_pro_page": "Pro? Import your products in Open Food Facts",
"contact_title_pro_email": "Producer Contact",
"contact_title_press_page": "Press Page",
"contact_title_press_email": "Press Contact",
"contact_title_newsletter": "Subscribe to our newsletter",
"hunger_games_loading_line1": "Please let us a few seconds…",
"hunger_games_loading_line2": "We're downloading the questions!",
"hunger_games_error_label": "Argh! Something went wrong… and we couldn't load the questions.",
Expand Down
14 changes: 9 additions & 5 deletions packages/smooth_app/lib/l10n/app_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -2404,25 +2404,29 @@
"@product_list_create_tooltip": {
"description": "Button description to create a new list (long sentence)"
},
"nutriscore_generic": "Nutri-Score",
"nutriscore_a": "Nutri-Score A",
"nutriscore_b": "Nutri-Score B",
"nutriscore_c": "Nutri-Score C",
"nutriscore_d": "Nutri-Score D",
"nutriscore_e": "Nutri-Score E",
"nutriscore_unknown": "Nutri-Score inconnu",
"nutriscore_not_applicable": "Nutri-Score non applicable",
"ecoscore_a": "Éco-score A",
"ecoscore_b": "Éco-score B",
"ecoscore_c": "Éco-score C",
"ecoscore_d": "Éco-score D",
"ecoscore_e": "Éco-score E",
"ecoscore_generic": "Éco-Score",
"ecoscore_a": "Éco-Score A",
"ecoscore_b": "Éco-Score B",
"ecoscore_c": "Éco-Score C",
"ecoscore_d": "Éco-Score D",
"ecoscore_e": "Éco-Score E",
"ecoscore_unknown": "Éco-score inconnu",
"ecoscore_not_applicable": "Éco-Score non applicable",
"nova_group_generic": "Groupe NOVA",
"nova_group_1": "Groupe NOVA 1",
"nova_group_2": "Groupe NOVA 2",
"nova_group_3": "Groupe NOVA 3",
"nova_group_4": "Groupe NOVA 4",
"nova_group_unknown": "Groupe NOVA inconnu",
"nutrition_facts": "Repères nutritionnels",
"hunger_games_loading_line1": "Veuillez nous laisser quelques secondes…",
"hunger_games_loading_line2": "Nous téléchargeons les questions !",
"hunger_games_error_label": "Argh ! Quelque chose s'est mal passé… et nous n'avons pas pu charger les questions.",
Expand Down
Loading

0 comments on commit 369f145

Please sign in to comment.