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:
30
maternal-web/locales/en/dashboard.json
Normal file
30
maternal-web/locales/en/dashboard.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"welcomeBack": "Welcome Back",
|
||||
"welcomeBackWithName": "Welcome Back, {{name}}!",
|
||||
"subtitle": "Track your child's activities and get AI-powered insights",
|
||||
"quickActions": {
|
||||
"title": "Quick Actions",
|
||||
"feeding": "Feeding",
|
||||
"sleep": "Sleep",
|
||||
"diaper": "Diaper",
|
||||
"medicine": "Medicine",
|
||||
"activities": "Activities",
|
||||
"aiAssistant": "AI Assistant",
|
||||
"navigateTo": "Navigate to {{action}}"
|
||||
},
|
||||
"summary": {
|
||||
"title": "Today's Summary",
|
||||
"titleWithChild": "Today's Summary - {{childName}}",
|
||||
"feedings": "Feedings",
|
||||
"sleep": "Sleep",
|
||||
"diapers": "Diapers",
|
||||
"medications": "Medications",
|
||||
"noChild": "Add a child to start tracking",
|
||||
"noActivities": "No activities tracked today"
|
||||
},
|
||||
"predictions": {
|
||||
"title": "Next Predicted Activity",
|
||||
"napTime": "Nap time in {{minutes}} minutes",
|
||||
"basedOnPatterns": "Based on your child's sleep patterns"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user