diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 73586261b..506fb40b8 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -1,4 +1,14 @@ { + "rightSidebar": { + "onThisPage": "On This Page", + "more": "More", + "editThisPage": "Edit this page", + "joinOurCommunity": "Join our community", + "feedback": "Feedback" + }, + "ui": { + "whatsNext": "What's Next" + }, "landing": { "test": "test", "search": { diff --git a/src/components/PageContent/WhatsNext.astro b/src/components/PageContent/WhatsNext.astro index f201197a6..2e21d4258 100644 --- a/src/components/PageContent/WhatsNext.astro +++ b/src/components/PageContent/WhatsNext.astro @@ -1,10 +1,11 @@ --- +import i18next, { t } from "i18next" export type Props = { content: Record } const { content = {} } = Astro.props as Props ---
-

Whats Next

+

{t("ui.whatsNext")}