fix(dashboard): correct translation keys for tasks, settings, analytics
- Updated grid item labels to use valid i18next keys - Ensured consistent German localization for all dashboard widgets
This commit is contained in:
@@ -348,7 +348,7 @@ function LifecycleHero({ event, stats, locale, navigate, onSwitch, canSwitch }:
|
|||||||
<Text fontSize="$sm" color={theme.textStrong} fontWeight="600">
|
<Text fontSize="$sm" color={theme.textStrong} fontWeight="600">
|
||||||
{t('management:photobooth.checklist.title', 'Setup Status')}
|
{t('management:photobooth.checklist.title', 'Setup Status')}
|
||||||
</Text>
|
</Text>
|
||||||
<Text fontSize="$xs" color={theme.muted}>{completedSteps}/{totalSteps} {t('steps', 'Schritte')}</Text>
|
<Text fontSize="$xs" color={theme.muted}>{completedSteps}/{totalSteps} Schritte</Text>
|
||||||
</XStack>
|
</XStack>
|
||||||
|
|
||||||
<ModernButton
|
<ModernButton
|
||||||
@@ -407,7 +407,7 @@ function UnifiedToolGrid({ event, navigate, permissions, isMember }: any) {
|
|||||||
items: [
|
items: [
|
||||||
{ label: t('management:photos.gallery.title', 'Photos'), icon: ImageIcon, path: `/mobile/events/${slug}/control-room`, color: theme.primary },
|
{ label: t('management:photos.gallery.title', 'Photos'), icon: ImageIcon, path: `/mobile/events/${slug}/control-room`, color: theme.primary },
|
||||||
{ label: t('management:events.quick.liveShowSettings', 'Slide Show'), icon: Tv, path: `/mobile/events/${slug}/live-show/settings`, color: '#F59E0B' },
|
{ label: t('management:events.quick.liveShowSettings', 'Slide Show'), icon: Tv, path: `/mobile/events/${slug}/live-show/settings`, color: '#F59E0B' },
|
||||||
{ label: t('management:tasks.badge', 'Tasks'), icon: ListTodo, path: `/mobile/events/${slug}/tasks`, color: theme.accent },
|
{ label: t('management:events.quick.tasks', 'Tasks'), icon: ListTodo, path: `/mobile/events/${slug}/tasks`, color: theme.accent },
|
||||||
{ label: t('management:events.quick.photobooth', 'Photobooth'), icon: Camera, path: `/mobile/events/${slug}/photobooth`, color: '#8B5CF6' },
|
{ label: t('management:events.quick.photobooth', 'Photobooth'), icon: Camera, path: `/mobile/events/${slug}/photobooth`, color: '#8B5CF6' },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -417,15 +417,15 @@ function UnifiedToolGrid({ event, navigate, permissions, isMember }: any) {
|
|||||||
{ label: t('management:invites.badge', 'QR Codes'), icon: QrCode, path: `/mobile/events/${slug}/qr`, color: '#10B981' },
|
{ label: t('management:invites.badge', 'QR Codes'), icon: QrCode, path: `/mobile/events/${slug}/qr`, color: '#10B981' },
|
||||||
{ label: t('management:events.quick.guests', 'Guests'), icon: Users, path: `/mobile/events/${slug}/members`, color: theme.text },
|
{ label: t('management:events.quick.guests', 'Guests'), icon: Users, path: `/mobile/events/${slug}/members`, color: theme.text },
|
||||||
{ label: t('management:events.quick.guestMessages', 'Messages'), icon: Megaphone, path: `/mobile/events/${slug}/guest-notifications`, color: theme.text },
|
{ label: t('management:events.quick.guestMessages', 'Messages'), icon: Megaphone, path: `/mobile/events/${slug}/guest-notifications`, color: theme.text },
|
||||||
{ label: t('management:branding.titleShort', 'Branding'), icon: Layout, path: `/mobile/events/${slug}/branding`, color: theme.text },
|
{ label: t('management:events.branding.titleShort', 'Branding'), icon: Layout, path: `/mobile/events/${slug}/branding`, color: theme.text },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('management:settings.hero.badge', 'Admin'),
|
title: t('management:settings.hero.badge', 'Admin'),
|
||||||
items: [
|
items: [
|
||||||
{ label: t('management:events.fields.insights', 'Analytics'), icon: TrendingUp, path: `/mobile/events/${slug}/analytics` },
|
{ label: t('management:mobileDashboard.shortcutAnalytics', 'Analytics'), icon: TrendingUp, path: `/mobile/events/${slug}/analytics` },
|
||||||
{ label: t('management:recap.exportTitle', 'Exports'), icon: Download, path: `/mobile/exports` },
|
{ label: t('management:recap.exportTitle', 'Exports'), icon: Download, path: `/mobile/exports` },
|
||||||
{ label: t('management:events.actions.settings', 'Settings'), icon: Settings, path: `/mobile/events/${slug}/edit` },
|
{ label: t('management:mobileProfile.settings', 'Settings'), icon: Settings, path: `/mobile/events/${slug}/edit` },
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user