diff --git a/apps/ui/locales/en.json b/apps/ui/locales/en.json index 6083498..338313a 100644 --- a/apps/ui/locales/en.json +++ b/apps/ui/locales/en.json @@ -33,6 +33,14 @@ "moreInformation": "More information", "bestValue": "Best value" }, + "landmarks": { + "main": "Main", + "blogCategories": "Blog categories", + "tableOfContents": "On this page", + "pageContents": "On this page", + "footerSection": "Footer: {title}", + "footerIndexed": "Footer {index}" + }, "plans": { "planFeatureCategory": { "cloud": "Cloud", diff --git a/apps/ui/src/app/[locale]/dev/component-library/page.tsx b/apps/ui/src/app/[locale]/dev/component-library/page.tsx index bad97df..1459468 100644 --- a/apps/ui/src/app/[locale]/dev/component-library/page.tsx +++ b/apps/ui/src/app/[locale]/dev/component-library/page.tsx @@ -1,4 +1,5 @@ import type { Data } from "@repo/strapi-types" +import { useTranslations } from "next-intl" import { BlogPostHeader } from "@/components/blog/BlogPostHeader" import { AppLink } from "@/components/elementary/AppLink" @@ -1130,11 +1131,13 @@ const newsListMockItems: readonly PopulatedNewsItem[] = [ // --------------------------------------------------------------------------- export default function ComponentLibraryPage() { + const t = useTranslations("landmarks") + return (

Component Library

-