feat: Apply localization to Login, Dashboard, and Navigation (Phase 9 - Batch 1)
**Pages Localized:** - Login page: All UI strings (titles, labels, buttons, links) - Dashboard page: Welcome message, quick actions, daily summary, predictions - AppShell: Connection status and presence indicators - MobileNav: Menu items and app branding - TabBar: Bottom navigation labels **Translation Files:** - Created dashboard.json for all 5 languages (en, es, fr, pt, zh) - Enhanced common.json with navigation and connection strings - Updated i18n config to include dashboard namespace **Languages Supported:** - English, Spanish, French, Portuguese, Chinese (Simplified) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -57,10 +57,23 @@
|
||||
},
|
||||
"navigation": {
|
||||
"home": "Accueil",
|
||||
"dashboard": "Tableau de bord",
|
||||
"tracking": "Suivi",
|
||||
"trackActivity": "Enregistrer l'Activité",
|
||||
"track": "Enregistrer",
|
||||
"ai": "Assistant IA",
|
||||
"aiChat": "Chat IA",
|
||||
"family": "Famille",
|
||||
"insights": "Analyses",
|
||||
"settings": "Paramètres"
|
||||
"children": "Enfants",
|
||||
"settings": "Paramètres",
|
||||
"logout": "Déconnexion"
|
||||
},
|
||||
"connection": {
|
||||
"syncActive": "Synchronisation en temps réel active",
|
||||
"syncDisconnected": "Synchronisation en temps réel déconnectée",
|
||||
"live": "En Direct",
|
||||
"offline": "Hors Ligne",
|
||||
"familyMembersOnline": "{{count}} membres de la famille en ligne"
|
||||
}
|
||||
}
|
||||
|
||||
30
maternal-web/locales/fr/dashboard.json
Normal file
30
maternal-web/locales/fr/dashboard.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"welcomeBack": "Bon retour",
|
||||
"welcomeBackWithName": "Bon retour, {{name}}!",
|
||||
"subtitle": "Suivez les activités de votre enfant et obtenez des informations alimentées par l'IA",
|
||||
"quickActions": {
|
||||
"title": "Actions Rapides",
|
||||
"feeding": "Alimentation",
|
||||
"sleep": "Sommeil",
|
||||
"diaper": "Couche",
|
||||
"medicine": "Médicament",
|
||||
"activities": "Activités",
|
||||
"aiAssistant": "Assistant IA",
|
||||
"navigateTo": "Naviguer vers {{action}}"
|
||||
},
|
||||
"summary": {
|
||||
"title": "Résumé d'Aujourd'hui",
|
||||
"titleWithChild": "Résumé d'Aujourd'hui - {{childName}}",
|
||||
"feedings": "Alimentations",
|
||||
"sleep": "Sommeil",
|
||||
"diapers": "Couches",
|
||||
"medications": "Médicaments",
|
||||
"noChild": "Ajoutez un enfant pour commencer le suivi",
|
||||
"noActivities": "Aucune activité suivie aujourd'hui"
|
||||
},
|
||||
"predictions": {
|
||||
"title": "Prochaine Activité Prédite",
|
||||
"napTime": "Heure de sieste dans {{minutes}} minutes",
|
||||
"basedOnPatterns": "Basé sur les habitudes de sommeil de votre enfant"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user