feat: Complete Spanish, French, Portuguese, Chinese localization and add German/Italian support
- Updated all Spanish (es) translation files with comprehensive translations for tracking, AI, family, insights, children, and settings pages - Updated French (fr), Portuguese (pt), and Chinese (zh) translations to match English structure - Added German (de) and Italian (it) language support with complete translation files - Fixed medicine tracker route from /track/medication to /track/medicine - Updated i18n config to support 7 languages: en, es, fr, pt, zh, de, it - All tracking pages now fully localized: sleep, feeding, diaper, medicine, activity - AI assistant interface fully translated with thinking messages and suggested questions - Family management and insights pages now support all languages 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -165,7 +165,9 @@ export default function HomePage() {
|
||||
aria-label={t('quickActions.navigateTo', { action: action.label })}
|
||||
sx={{
|
||||
p: 3,
|
||||
height: '100%',
|
||||
height: '140px', // Fixed height for consistency
|
||||
minHeight: '140px', // Ensure minimum height
|
||||
width: '100%', // Full width of grid container
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: 'center',
|
||||
@@ -225,8 +227,10 @@ export default function HomePage() {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: 'center',
|
||||
height: '100%',
|
||||
minHeight: '120px'
|
||||
justifyContent: 'center',
|
||||
height: '120px', // Fixed height for consistency
|
||||
minHeight: '120px',
|
||||
width: '100%'
|
||||
}}
|
||||
>
|
||||
<Restaurant sx={{ fontSize: 32, color: 'primary.main', mb: 1 }} aria-hidden="true" />
|
||||
@@ -245,8 +249,10 @@ export default function HomePage() {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: 'center',
|
||||
height: '100%',
|
||||
minHeight: '120px'
|
||||
justifyContent: 'center',
|
||||
height: '120px', // Fixed height for consistency
|
||||
minHeight: '120px',
|
||||
width: '100%'
|
||||
}}
|
||||
>
|
||||
<Hotel sx={{ fontSize: 32, color: 'info.main', mb: 1 }} aria-hidden="true" />
|
||||
@@ -267,8 +273,10 @@ export default function HomePage() {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: 'center',
|
||||
height: '100%',
|
||||
minHeight: '120px'
|
||||
justifyContent: 'center',
|
||||
height: '120px', // Fixed height for consistency
|
||||
minHeight: '120px',
|
||||
width: '100%'
|
||||
}}
|
||||
>
|
||||
<BabyChangingStation sx={{ fontSize: 32, color: 'warning.main', mb: 1 }} aria-hidden="true" />
|
||||
@@ -287,8 +295,10 @@ export default function HomePage() {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: 'center',
|
||||
height: '100%',
|
||||
minHeight: '120px'
|
||||
justifyContent: 'center',
|
||||
height: '120px', // Fixed height for consistency
|
||||
minHeight: '120px',
|
||||
width: '100%'
|
||||
}}
|
||||
>
|
||||
<MedicalServices sx={{ fontSize: 32, color: 'error.main', mb: 1 }} aria-hidden="true" />
|
||||
|
||||
Reference in New Issue
Block a user