fix: add i18n support for parapharmacy products and notification bell
Run Tests on Branches / Detect Changes (push) Successful in 12s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Successful in 1m37s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m52s
Run Tests on Branches / Parapharmacy API Tests (push) Has been skipped
Run Tests on Branches / PIP Platform Tests (push) Has been skipped

- Mobile: Replace hardcoded Spanish in map.tsx with t() calls
- Mobile: Add notification bell to parapharmacy product detail screen
- Mobile: Add map/product i18n keys to es.js and ca.js locales
- Web: Add useTranslation to ProductView.jsx, replace all hardcoded strings
- Web: Add 24 productView.* translation keys to es.js and ca.js locales
- Fix 'Disponible en X farmacias' to respect language setting
This commit is contained in:
Antoni Nuñez Romeu
2026-07-17 13:04:04 +02:00
parent 8a7ef81964
commit 854de92be5
7 changed files with 153 additions and 31 deletions
@@ -28,6 +28,10 @@ const ca = {
'search.parapharmacy': 'Parafarmàcia',
'search.error': 'Error en cercar medicaments',
// Map
'map.loadingPharmacies': 'Carregant farmàcies...',
'map.pharmaciesOnMap': '{{count}} farmàcies al mapa',
// Login
'login.tab.login': 'Iniciar Sessió',
'login.tab.register': 'Crear Compte',
@@ -210,6 +214,9 @@ const ca = {
'product.brand': 'Marca',
'product.source': 'Font',
'product.images': 'Imatges',
'product.availableInPharmacies': 'Disponible a {{count}} farmàcia/es',
'product.notifyWhenAvailable': 'Notificar-me quan hi hagi estoc',
'product.notificationsActive': 'Notificacions actives',
// Components
'medicineCard.noPrice': 'Sense preu',