Skip to content

Commit

Permalink
feat: [PE-616] Change labels in CGN Partner list screen (#5973)
Browse files Browse the repository at this point in the history
## Short description
Change labels in CGN Partner list screen

## List of changes proposed in this pull request
- changed labels in localization files
- added missing internationalization key

## How to test

Links to design screens : [figma
1](https://www.figma.com/design/yOoBGDr1MJpa0LY5lDUFSd/IOapp_CartaGiovaniNazionale?node-id=6102-36994&t=aHiVzjq8uy2jRS9M-4)
[figma
2](https://www.figma.com/design/yOoBGDr1MJpa0LY5lDUFSd/IOapp_CartaGiovaniNazionale?node-id=6102-37040&t=aHiVzjq8uy2jRS9M-4)
Not all changes are in scope of this task, only the following ones
- Screen header “Seleziona un operatore e scopri le agevolazioni e
opportunità” → “Scopri le opportunità”
- Tab “Per Operatore” -> “Per partner”
- Above the search bar “Tutti gli operatori” -> “Tutti i partner”

To reach this screen:
- open the app
- login
- go to the "Portafoglio" screen by pressing on the icon on the bottom
of the screen
- go to the "Carta Giovani Nazionale" screen by pressing its card
- if you don't have it, you must add it to your "portafoglio" by
pressing "Aggiungi al portafoglio" and following the flow
- Go to the merchant list screen by pressing "Scopri le opportunità CGN"

---------

Co-authored-by: Alessandro <[email protected]>
Co-authored-by: mariateresaventura <[email protected]>
  • Loading branch information
3 people authored Aug 12, 2024
1 parent b0f8a2e commit 6f33502
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
7 changes: 5 additions & 2 deletions locales/de/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1988,7 +1988,11 @@ bonus:
online: "Online"
places: "Orte"
navigationTitle: "Rabatte und Ermäßigungen"
screenTitle: "Wähle einen Anbieter und entdecke Rabatte und Ermäßigungen"
screenTitle: Scopri le opportunità
merchantsAll: Tutti i partner
tabs:
perInitiative: Per categoria
perMerchant: Per partner
cta:
filter: "Filtern"
categoriesList:
Expand Down Expand Up @@ -2033,7 +2037,6 @@ bonus:
discountUrl: "Nutze die Ermäßigung"
website: Vai al sito del partner
categories:
all: "Alle Anbieter"
counting: "und weitere {{count}}"
cultureAndEntertainment: "Kultur und Freizeit"
health: "Gesundheit und Wohlbefinden"
Expand Down
8 changes: 5 additions & 3 deletions locales/en/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2628,8 +2628,11 @@ bonus:
online: Online
places: Places
navigationTitle: Benefits
screenTitle: Select an operator and discover benefits and opportunities
merchantsAll: All the operators
screenTitle: Discover opportunities
merchantsAll: All partners
tabs:
perInitiative: By category
perMerchant: By partner
cta:
filter: Filter
categoriesList:
Expand Down Expand Up @@ -2678,7 +2681,6 @@ bonus:
discountUrl: Go to the benefit
website: Go to partner's website
categories:
all: All the operators
counting: and other {{count}}
cultureAndEntertainment: Culture and Entertainment
health: Health and Wellness
Expand Down
8 changes: 5 additions & 3 deletions locales/it/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2628,8 +2628,11 @@ bonus:
online: Online
places: Luoghi
navigationTitle: Agevolazioni
screenTitle: Seleziona un operatore e scopri agevolazioni e opportunità
merchantsAll: Tutti gli operatori
screenTitle: Scopri le opportunità
merchantsAll: Tutti i partner
tabs:
perInitiative: Per categoria
perMerchant: Per partner
cta:
filter: Filtra
categoriesList:
Expand Down Expand Up @@ -2678,7 +2681,6 @@ bonus:
discountUrl: Vai all'opportunità
website: Vai al sito del partner
categories:
all: Tutti gli operatori
counting: e altre {{count}}
cultureAndEntertainment: Cultura e Tempo Libero
health: Salute e Benessere
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ type TabOption = {
const tabOptions: Record<keyof CgnMerchantsHomeTabParamsList, TabOption> = {
[CgnMerchantsHomeTabRoutes.CGN_CATEGORIES]: {
icon: "initiatives",
title: "Per categoria"
title: I18n.t("bonus.cgn.merchantsList.tabs.perInitiative")
},
[CgnMerchantsHomeTabRoutes.CGN_MERCHANTS_ALL]: {
icon: "merchant",
title: "Per operatore"
title: I18n.t("bonus.cgn.merchantsList.tabs.perMerchant")
}
};

Expand Down

0 comments on commit 6f33502

Please sign in to comment.