diff --git a/apps/client/public/locales/en-US/translation.json b/apps/client/public/locales/en-US/translation.json index f831289b..905fde70 100644 --- a/apps/client/public/locales/en-US/translation.json +++ b/apps/client/public/locales/en-US/translation.json @@ -970,5 +970,18 @@ "Experimental": "Experimental", "Strikethrough": "Strikethrough", "Undo": "Undo", - "Redo": "Redo" + "Redo": "Redo", + "Backlinks": "Backlinks", + "Last updated by": "Last updated by", + "Last updated": "Last updated", + "Stats": "Stats", + "Word count": "Word count", + "Characters": "Characters", + "Incoming links": "Incoming links", + "Outgoing links": "Outgoing links", + "Incoming links ({{count}})": "Incoming links ({{count}})", + "Outgoing links ({{count}})": "Outgoing links ({{count}})", + "No pages link here yet.": "No pages link here yet.", + "This page doesn't link to other pages yet.": "This page doesn't link to other pages yet.", + "Verified until {{date}}": "Verified until {{date}}" } diff --git a/apps/client/src/components/layouts/global/aside.tsx b/apps/client/src/components/layouts/global/aside.tsx index 4f2cf592..73e6a381 100644 --- a/apps/client/src/components/layouts/global/aside.tsx +++ b/apps/client/src/components/layouts/global/aside.tsx @@ -8,6 +8,7 @@ import { TableOfContents } from "@/features/editor/components/table-of-contents/ import { useAtomValue } from "jotai"; import { pageEditorAtom } from "@/features/editor/atoms/editor-atoms.ts"; import AsideChatPanel from "@/ee/ai-chat/components/aside-chat-panel"; +import { PageDetailsAside } from "@/features/page-details/components/page-details-aside.tsx"; export default function Aside() { const [{ tab }] = useAtom(asideStateAtom); @@ -30,6 +31,10 @@ export default function Aside() { component = ; title = "AI Chat"; break; + case "details": + component = ; + title = "Details"; + break; default: component = null; title = null; diff --git a/apps/client/src/components/layouts/global/global-app-shell.tsx b/apps/client/src/components/layouts/global/global-app-shell.tsx index d3d9ebcd..4c56fe07 100644 --- a/apps/client/src/components/layouts/global/global-app-shell.tsx +++ b/apps/client/src/components/layouts/global/global-app-shell.tsx @@ -147,7 +147,9 @@ export default function GlobalAppShell({ ? t("Table of contents") : asideTab === "chat" ? t("AI Chat") - : undefined + : asideTab === "details" + ? t("Details") + : undefined } >