diff --git a/internal/site/src/components/add-system.tsx b/internal/site/src/components/add-system.tsx index 7d04ddbc..4891df2b 100644 --- a/internal/site/src/components/add-system.tsx +++ b/internal/site/src/components/add-system.tsx @@ -266,7 +266,13 @@ export const SystemDialog = ({ setOpen, system }: { setOpen: (open: boolean) => /> {/* Save */} - + diff --git a/internal/site/src/components/navbar.tsx b/internal/site/src/components/navbar.tsx index 1416606e..09687151 100644 --- a/internal/site/src/components/navbar.tsx +++ b/internal/site/src/components/navbar.tsx @@ -1,3 +1,4 @@ +import { t } from "@lingui/core/macro" import { Trans } from "@lingui/react/macro" import { getPagePath } from "@nanostores/router" import { @@ -47,6 +48,8 @@ export default function Navbar() { const AdminLinks = AdminDropdownGroup() + const systemTranslation = t`System` + return (
@@ -129,7 +132,7 @@ export default function Navbar() { }} > - Add System + Add {{ foo: systemTranslation }} @@ -216,7 +219,7 @@ export default function Navbar() {
diff --git a/internal/site/src/components/routes/system/info-bar.tsx b/internal/site/src/components/routes/system/info-bar.tsx index 96124792..2ef1f0d8 100644 --- a/internal/site/src/components/routes/system/info-bar.tsx +++ b/internal/site/src/components/routes/system/info-bar.tsx @@ -205,7 +205,7 @@ export default function InfoBar({