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 es = {
|
||||
'product.dosage': 'Dosis:',
|
||||
'product.viewDetails': 'Ver detalles →',
|
||||
|
||||
// ProductView (detail)
|
||||
'productView.loading': 'Cargando...',
|
||||
'productView.back': 'Volver',
|
||||
'productView.notFound': 'Producto no encontrado',
|
||||
'productView.parapharmacy': 'Parafarmacia',
|
||||
'productView.activeIngredient': 'Principio activo',
|
||||
'productView.dosage': 'Dosis',
|
||||
'productView.form': 'Forma farmacéutica',
|
||||
'productView.prescription': 'Prescripción',
|
||||
'productView.commercialized': 'Comercializado',
|
||||
'productView.yes': 'Sí',
|
||||
'productView.no': 'No',
|
||||
'productView.price': 'Precio',
|
||||
'productView.previousPrice': 'Precio anterior',
|
||||
'productView.category': 'Categoría',
|
||||
'productView.brand': 'Marca',
|
||||
'productView.source': 'Fuente',
|
||||
'productView.loadingPharmacies': 'Cargando farmacias...',
|
||||
'productView.availableInPharmacies': 'Disponible en {{count}} farmacia(s)',
|
||||
'productView.locating': '📍 Localizando…',
|
||||
'productView.sortedByDistance': '📍 Ordenado por distancia · Reset',
|
||||
'productView.sortByDistance': '📍 Ordenar por distancia',
|
||||
'productView.usingLocation': 'Usando tu ubicación',
|
||||
'productView.retry': 'Reintentar',
|
||||
'productView.productNotFound': 'Producto no encontrado',
|
||||
|
||||
// LoginModal
|
||||
'login.login': 'Iniciar sesión',
|
||||
'login.register': 'Crear cuenta',
|
||||
|
||||
Reference in New Issue
Block a user