Added comprehensive localization to tracking and settings pages: **Translation Keys Added:** - Sleep: locations, status, duration formatting, success/delete messages - Diaper: conditions, rash severity and alert, success/delete messages - Activity: activity types, form labels, placeholders - Settings: profile, preferences, notifications, appearance, account actions - Common: shared labels (selectChild, noChildrenAdded, etc.) **Pages Localized:** 1. Sleep tracking page (/app/track/sleep/page.tsx) - All form labels and dropdowns - Location options (crib, bed, stroller, carrier, other) - Sleep status (completed/ongoing) - Duration display with interpolation - Success and delete messages 2. Diaper tracking page (/app/track/diaper/page.tsx) - Diaper types (wet, dirty, both, dry) - Conditions (normal, soft, hard, watery, mucus, blood) - Rash detection with severity levels - Alert message for diaper rash - Recent diapers display with translated labels 3. Activity tracking page (/app/track/activity/page.tsx) - Activity types (play, walk, music, reading, tummy time, outdoor, other) - Duration and description fields - Form placeholders - Recent activities display 4. Settings page (/app/settings/page.tsx) - Profile information section - Preferences, notifications, appearance sections - Account actions (logout) - Save/saving button states - Success message All pages now support multi-language translation and are ready for Spanish, French, Portuguese, and Chinese translations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
219 lines
5.6 KiB
JSON
219 lines
5.6 KiB
JSON
{
|
|
"title": "Activity Tracking",
|
|
"trackActivity": "Track Activity",
|
|
"selectActivity": "Select an activity to track",
|
|
"activities": {
|
|
"feeding": "Feeding",
|
|
"sleep": "Sleep",
|
|
"diaper": "Diaper",
|
|
"medicine": "Medicine",
|
|
"activity": "Activity"
|
|
},
|
|
"feeding": {
|
|
"title": "Feeding",
|
|
"addFeeding": "Add Feeding",
|
|
"type": "Feeding Type",
|
|
"types": {
|
|
"breast": "Breast",
|
|
"bottle": "Bottle",
|
|
"solid": "Solid Food"
|
|
},
|
|
"side": "Side",
|
|
"sides": {
|
|
"left": "Left",
|
|
"right": "Right",
|
|
"both": "Both"
|
|
},
|
|
"amount": "Amount",
|
|
"duration": "Duration",
|
|
"startTime": "Start Time",
|
|
"endTime": "End Time",
|
|
"notes": "Notes",
|
|
"placeholders": {
|
|
"amount": "Enter amount",
|
|
"notes": "Add any notes about this feeding..."
|
|
},
|
|
"units": {
|
|
"ml": "ml",
|
|
"oz": "oz",
|
|
"minutes": "minutes"
|
|
}
|
|
},
|
|
"sleep": {
|
|
"title": "Sleep",
|
|
"addSleep": "Add Sleep",
|
|
"logSleep": "Log Sleep",
|
|
"startTime": "Sleep Start",
|
|
"endTime": "Sleep End",
|
|
"duration": "Duration",
|
|
"quality": "Quality",
|
|
"qualities": {
|
|
"poor": "Poor",
|
|
"fair": "Fair",
|
|
"good": "Good",
|
|
"excellent": "Excellent"
|
|
},
|
|
"location": "Location",
|
|
"locations": {
|
|
"crib": "Crib",
|
|
"bed": "Bed",
|
|
"stroller": "Stroller",
|
|
"carrier": "Carrier",
|
|
"other": "Other"
|
|
},
|
|
"status": {
|
|
"title": "Sleep Status",
|
|
"completed": "Completed (has end time)",
|
|
"ongoing": "Ongoing (still sleeping)"
|
|
},
|
|
"now": "Now",
|
|
"notes": "Notes",
|
|
"placeholders": {
|
|
"notes": "Add any notes about this sleep session..."
|
|
},
|
|
"recentSleeps": "Recent Sleeps",
|
|
"success": "Sleep logged successfully!",
|
|
"deleted": "Sleep deleted successfully",
|
|
"ongoing_duration": "Ongoing - {{duration}}"
|
|
},
|
|
"diaper": {
|
|
"title": "Diaper",
|
|
"addDiaper": "Add Diaper Change",
|
|
"logDiaper": "Log Diaper Change",
|
|
"type": "Type",
|
|
"types": {
|
|
"wet": "Wet",
|
|
"dirty": "Dirty",
|
|
"both": "Both",
|
|
"dry": "Dry"
|
|
},
|
|
"time": "Time",
|
|
"now": "Now",
|
|
"conditions": {
|
|
"title": "Conditions",
|
|
"normal": "Normal",
|
|
"soft": "Soft",
|
|
"hard": "Hard",
|
|
"watery": "Watery",
|
|
"mucus": "Mucus",
|
|
"blood": "Blood"
|
|
},
|
|
"rash": {
|
|
"title": "Has Rash",
|
|
"yes": "Yes",
|
|
"no": "No",
|
|
"severity": "Rash Severity",
|
|
"alert": "Diaper rash detected. Consider applying diaper rash cream and consulting your pediatrician if it persists.",
|
|
"severities": {
|
|
"mild": "Mild",
|
|
"moderate": "Moderate",
|
|
"severe": "Severe"
|
|
}
|
|
},
|
|
"notes": "Notes",
|
|
"placeholders": {
|
|
"notes": "Add any notes about this diaper change..."
|
|
},
|
|
"recentDiapers": "Recent Diaper Changes",
|
|
"success": "Diaper change logged successfully!",
|
|
"deleted": "Diaper change deleted successfully"
|
|
},
|
|
"milestone": {
|
|
"title": "Milestone",
|
|
"addMilestone": "Add Milestone",
|
|
"category": "Category",
|
|
"categories": {
|
|
"physical": "Physical",
|
|
"cognitive": "Cognitive",
|
|
"social": "Social",
|
|
"language": "Language"
|
|
},
|
|
"description": "Description",
|
|
"date": "Date",
|
|
"notes": "Notes",
|
|
"placeholders": {
|
|
"description": "Describe the milestone...",
|
|
"notes": "Add any additional notes..."
|
|
}
|
|
},
|
|
"health": {
|
|
"title": "Health",
|
|
"addHealth": "Add Health Record",
|
|
"type": "Type",
|
|
"types": {
|
|
"temperature": "Temperature",
|
|
"medication": "Medication",
|
|
"symptom": "Symptom",
|
|
"doctor": "Doctor Visit"
|
|
},
|
|
"temperature": "Temperature",
|
|
"medication": "Medication",
|
|
"dosage": "Dosage",
|
|
"symptom": "Symptom",
|
|
"severity": "Severity",
|
|
"severities": {
|
|
"mild": "Mild",
|
|
"moderate": "Moderate",
|
|
"severe": "Severe"
|
|
},
|
|
"notes": "Notes",
|
|
"placeholders": {
|
|
"medication": "Medication name",
|
|
"dosage": "Dosage amount",
|
|
"symptom": "Describe symptom",
|
|
"notes": "Add any notes..."
|
|
},
|
|
"units": {
|
|
"celsius": "°C",
|
|
"fahrenheit": "°F"
|
|
}
|
|
},
|
|
"activity": {
|
|
"title": "Activity",
|
|
"addActivity": "Add Activity",
|
|
"logActivity": "Log Activity",
|
|
"type": "Activity Type",
|
|
"types": {
|
|
"play": "Play",
|
|
"tummyTime": "Tummy Time",
|
|
"walk": "Walk",
|
|
"music": "Music",
|
|
"reading": "Reading",
|
|
"outdoor": "Outdoor Play",
|
|
"other": "Other"
|
|
},
|
|
"duration": "Duration (minutes)",
|
|
"description": "Description",
|
|
"notes": "Notes",
|
|
"placeholders": {
|
|
"duration": "Enter duration in minutes",
|
|
"description": "Describe the activity...",
|
|
"notes": "Add any notes..."
|
|
},
|
|
"recentActivities": "Recent Activities",
|
|
"success": "Activity logged successfully!",
|
|
"deleted": "Activity deleted successfully"
|
|
},
|
|
"common": {
|
|
"selectChild": "Select Child",
|
|
"cancel": "Cancel",
|
|
"delete": "Delete",
|
|
"loading": "Loading...",
|
|
"noChildrenAdded": "No Children Added",
|
|
"noChildrenMessage": "You need to add a child before you can track activities",
|
|
"addChild": "Add Child",
|
|
"recentActivities": "Recent Activities"
|
|
},
|
|
"quickLog": "Quick Log",
|
|
"viewHistory": "View History",
|
|
"editEntry": "Edit Entry",
|
|
"deleteEntry": "Delete Entry",
|
|
"confirmDelete": "Are you sure you want to delete this entry?",
|
|
"filterByType": "Filter by Type",
|
|
"filterByChild": "Filter by Child",
|
|
"sortByNewest": "Newest First",
|
|
"sortByOldest": "Oldest First",
|
|
"noEntries": "No entries yet",
|
|
"addFirstEntry": "Add your first entry to start tracking"
|
|
}
|