diff --git a/messages/en-US.json b/messages/en-US.json index cf066c3d..2009b6ee 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -1163,7 +1163,11 @@ "sidebarLicense": "License", "sidebarClients": "Clients", "sidebarDomains": "Domains", + "sidebarGeneral": "General", + "sidebarLogAndAnalytics": "Log & Analytics", "sidebarBluePrints": "Blueprints", + "sidebarOrganization": "Organization", + "sidebarLogsAnalytics": "Log Analytics", "blueprints": "Blueprints", "blueprintsDescription": "Apply declarative configurations and view previous runs", "blueprintAdd": "Add Blueprint", diff --git a/src/app/navigation.tsx b/src/app/navigation.tsx index e3478fa1..c3380415 100644 --- a/src/app/navigation.tsx +++ b/src/app/navigation.tsx @@ -17,7 +17,8 @@ import { CreditCard, Logs, SquareMousePointer, - ScanEye + ScanEye, + ChartLine } from "lucide-react"; export type SidebarNavSection = { @@ -39,7 +40,7 @@ export const orgNavSections = ( enableClients: boolean = true ): SidebarNavSection[] => [ { - heading: "General", + heading: "sidebarGeneral", items: [ { title: "sidebarSites", @@ -61,7 +62,7 @@ export const orgNavSections = ( } ] : []), - ...(build == "saas" + ...(build === "saas" ? [ { title: "sidebarRemoteExitNodes", @@ -84,7 +85,7 @@ export const orgNavSections = ( ] }, { - heading: "Access Control", + heading: "sidebarAccessControl", items: [ { title: "sidebarUsers", @@ -119,13 +120,18 @@ export const orgNavSections = ( ] }, { - heading: "Analytics", + heading: "sidebarLogAndAnalytics", items: [ { title: "sidebarLogsRequest", href: "/{orgId}/settings/logs/request", icon: }, + { + title: "sidebarLogsAnalytics", + href: "/{orgId}/settings/logs/analytics", + icon: + }, ...(build != "oss" ? [ { @@ -143,7 +149,7 @@ export const orgNavSections = ( ] }, { - heading: "Organization", + heading: "sidebarOrganization", items: [ { title: "sidebarApiKeys", diff --git a/src/components/SidebarNav.tsx b/src/components/SidebarNav.tsx index 7aaebfff..b48e7bbf 100644 --- a/src/components/SidebarNav.tsx +++ b/src/components/SidebarNav.tsx @@ -162,7 +162,7 @@ export function SidebarNav({
{!isCollapsed && (
- {section.heading} + {t(section.heading)}
)}