feat(i18n): update locales, sidebar, and master plan for multilingual support
This commit is contained in:
+11
-15
@@ -12,7 +12,7 @@ import {
|
||||
} from "lucide-react";
|
||||
|
||||
export type SidebarNavItem = {
|
||||
title: string;
|
||||
title?: string;
|
||||
titleKey: string;
|
||||
href?: string;
|
||||
icon?: LucideIcon;
|
||||
@@ -20,40 +20,36 @@ export type SidebarNavItem = {
|
||||
};
|
||||
|
||||
export type SidebarNavGroup = {
|
||||
title: string;
|
||||
title?: string;
|
||||
titleKey: string;
|
||||
items: SidebarNavItem[];
|
||||
};
|
||||
|
||||
export const sidebarData: SidebarNavGroup[] = [
|
||||
{
|
||||
title: "GENEL BAKIŞ",
|
||||
titleKey: "navigation.groups.overview",
|
||||
items: [
|
||||
{ title: "Dashboard", titleKey: "navigation.items.dashboard", href: "/", icon: Sparkles },
|
||||
{ title: "Takvim", titleKey: "navigation.items.calendar", href: "/calendar", icon: Calendar },
|
||||
{ title: "Analizler", titleKey: "navigation.items.analytics", href: "/analytics", icon: BarChart3 },
|
||||
{ titleKey: "navigation.items.dashboard", href: "/", icon: Sparkles },
|
||||
{ titleKey: "navigation.items.calendar", href: "/calendar", icon: Calendar },
|
||||
{ titleKey: "navigation.items.analytics", href: "/analytics", icon: BarChart3 },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "OPERASYON",
|
||||
titleKey: "navigation.groups.operations",
|
||||
items: [
|
||||
{ title: "Müşteriler", titleKey: "navigation.items.clients", href: "/clients", icon: Building2 },
|
||||
{ title: "Projeler", titleKey: "navigation.items.projects", href: "/projects", icon: FolderKanban },
|
||||
{ title: "Görevler", titleKey: "navigation.items.tasks", href: "/tasks", icon: CheckSquare2 },
|
||||
{ title: "Finans", titleKey: "navigation.items.finance", href: "/finance", icon: Wallet },
|
||||
{ titleKey: "navigation.items.clients", href: "/clients", icon: Building2 },
|
||||
{ titleKey: "navigation.items.projects", href: "/projects", icon: FolderKanban },
|
||||
{ titleKey: "navigation.items.tasks", href: "/tasks", icon: CheckSquare2 },
|
||||
{ titleKey: "navigation.items.finance", href: "/finance", icon: Wallet },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "KİŞİSEL",
|
||||
titleKey: "navigation.groups.personal",
|
||||
items: [{ title: "Günlük", titleKey: "navigation.items.journal", href: "/journal", icon: BookOpenText }],
|
||||
items: [{ titleKey: "navigation.items.journal", href: "/journal", icon: BookOpenText }],
|
||||
},
|
||||
{
|
||||
title: "AI ASİSTAN",
|
||||
titleKey: "navigation.groups.ai",
|
||||
items: [{ title: "Sohbet", titleKey: "navigation.items.chat", href: "/chat", icon: MessageCircleHeart }],
|
||||
items: [{ titleKey: "navigation.items.chat", href: "/chat", icon: MessageCircleHeart }],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user