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
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:
@@ -81,6 +81,32 @@ const ca = {
|
||||
'product.dosage': 'Dosificació:',
|
||||
'product.viewDetails': 'Veure detalls →',
|
||||
|
||||
// ProductView (detail)
|
||||
'productView.loading': 'Carregant...',
|
||||
'productView.back': 'Tornar',
|
||||
'productView.notFound': 'Producte no trobat',
|
||||
'productView.parapharmacy': 'Parafarmàcia',
|
||||
'productView.activeIngredient': 'Principi actiu',
|
||||
'productView.dosage': 'Dosificació',
|
||||
'productView.form': 'Forma farmacèutica',
|
||||
'productView.prescription': 'Prescripció',
|
||||
'productView.commercialized': 'Comercialitzat',
|
||||
'productView.yes': 'Sí',
|
||||
'productView.no': 'No',
|
||||
'productView.price': 'Preu',
|
||||
'productView.previousPrice': 'Preu anterior',
|
||||
'productView.category': 'Categoria',
|
||||
'productView.brand': 'Marca',
|
||||
'productView.source': 'Font',
|
||||
'productView.loadingPharmacies': 'Carregant farmàcies...',
|
||||
'productView.availableInPharmacies': 'Disponible a {{count}} farmàcia/es',
|
||||
'productView.locating': '📍 Localitzant…',
|
||||
'productView.sortedByDistance': '📍 Ordenat per distància · Restablir',
|
||||
'productView.sortByDistance': '📍 Ordenar per distància',
|
||||
'productView.usingLocation': 'Usant la vostra ubicació',
|
||||
'productView.retry': 'Tornar a provar',
|
||||
'productView.productNotFound': 'Producte no trobat',
|
||||
|
||||
// LoginModal
|
||||
'login.login': 'Iniciar sessió',
|
||||
'login.register': 'Crear compte',
|
||||
|
||||
Reference in New Issue
Block a user