- Feeding page: 47+ strings localized with validation, success/error messages - Medicine page: 44 strings localized with unit conversion support - Sleep page: Already localized (verified) - Diaper page: Already localized (verified) - Activity page: Already localized (verified) - AI Assistant: 51 strings localized including chat interface and suggested questions - Children page: 38 strings fully localized with gender labels - Family page: 42 strings localized with role management - Insights page: 41 strings localized including charts and analytics Added translation files: - locales/en/ai.json (44 keys) - locales/en/family.json (42 keys) - locales/en/insights.json (41 keys) Updated translation files: - locales/en/tracking.json (added feeding, health/medicine sections) - locales/en/children.json (verified complete) All pages now use useTranslation hook with proper namespaces. All user-facing text externalized and ready for multi-language support.
74 lines
1.8 KiB
JSON
74 lines
1.8 KiB
JSON
{
|
|
"title": "Insights & Analytics",
|
|
"subtitle": "Track patterns and get insights about your child's activities",
|
|
"filters": {
|
|
"child": "Child",
|
|
"dateRange": {
|
|
"7days": "7 Days",
|
|
"30days": "30 Days",
|
|
"3months": "3 Months"
|
|
}
|
|
},
|
|
"stats": {
|
|
"feedings": {
|
|
"title": "Feedings",
|
|
"subtitle": "Total count"
|
|
},
|
|
"sleep": {
|
|
"title": "Sleep",
|
|
"subtitle": "Average per day"
|
|
},
|
|
"diapers": {
|
|
"title": "Diapers",
|
|
"subtitle": "Total changes"
|
|
},
|
|
"topActivity": {
|
|
"title": "Top Activity",
|
|
"subtitle": "Most frequent"
|
|
}
|
|
},
|
|
"charts": {
|
|
"feedingFrequency": "Feeding Frequency",
|
|
"sleepDuration": "Sleep Duration (Hours)",
|
|
"diaperChangesByType": "Diaper Changes by Type",
|
|
"activityTimeline": "Activity Timeline",
|
|
"activityDistribution": "Activity Distribution",
|
|
"chartLabels": {
|
|
"feedings": "Feedings",
|
|
"diapers": "Diapers",
|
|
"sleepHours": "Sleep (hrs)"
|
|
}
|
|
},
|
|
"recentActivities": {
|
|
"title": "Recent Activities (Last 20)"
|
|
},
|
|
"emptyStates": {
|
|
"noChildren": {
|
|
"title": "No Children Added",
|
|
"message": "Add a child to view insights and analytics",
|
|
"action": "Add Child"
|
|
},
|
|
"noActivities": "No activities found for the selected date range. Start tracking activities to see insights!"
|
|
},
|
|
"errors": {
|
|
"loadChildren": "Failed to load children",
|
|
"loadActivities": "Failed to load activities"
|
|
},
|
|
"activityTypes": {
|
|
"feeding": "Feeding",
|
|
"sleep": "Sleep",
|
|
"diaper": "Diaper",
|
|
"medication": "Medication",
|
|
"milestone": "Milestone",
|
|
"note": "Note",
|
|
"none": "None"
|
|
},
|
|
"diaperTypes": {
|
|
"wet": "Wet",
|
|
"dirty": "Dirty",
|
|
"both": "Both",
|
|
"dry": "Dry",
|
|
"unknown": "Unknown"
|
|
}
|
|
}
|