Files
maternal-app/maternal-web/locales/en/insights.json
Andrei be16eebdae
Some checks failed
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Application (push) Has been cancelled
fix: Add missing activity type translations
Added translations for all activity types:
- growth: Growth
- medication: Medication
- medicine: Medicine
- temperature: Temperature
- activity: Activity

This fixes the 'activityTypes.medicine: 1' label display issue
on the insights page where translation keys were showing instead
of translated text.

File Changed:
- locales/en/insights.json

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-04 12:13:24 +00:00

78 lines
1.9 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",
"growth": "Growth",
"medication": "Medication",
"medicine": "Medicine",
"temperature": "Temperature",
"milestone": "Milestone",
"activity": "Activity",
"note": "Note",
"none": "None"
},
"diaperTypes": {
"wet": "Wet",
"dirty": "Dirty",
"both": "Both",
"dry": "Dry",
"unknown": "Unknown"
}
}