Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(website/i18n): translate final call-to-action
Elian Doranfc9f2bceb041
diff --git a/apps/website/public/translations/en/translation.json b/apps/website/public/translations/en/translation.jsonindex 969ccc48d7..73122853c9 100644--- a/apps/website/public/translations/en/translation.json+++ b/apps/website/public/translations/en/translation.json@@ -95,6 +95,11 @@"security_question": "How is my data protected?","security_answer": "By default, notes are not encrypted and can be read directly from the database. Once a note is marked as encrypted, the note is encrypted using AES-128-CBC."},+ "final_cta": {+ "title": "Ready to get started with Trilium Notes?",+ "description": "Build your personal knowledge base with powerful features and full privacy.",+ "get_started": "Get started"+ },"components": {"link_learn_more": "Learn more...","list_with_screenshot_alt": "Screenshot of the feature being selected"diff --git a/apps/website/src/pages/Home/index.tsx b/apps/website/src/pages/Home/index.tsxindex abb82eb28e..37e5c5f00c 100644--- a/apps/website/src/pages/Home/index.tsx+++ b/apps/website/src/pages/Home/index.tsx@@ -297,11 +297,11 @@ function FaqItem({ question, children }: { question: string; children: Componentfunction FinalCta() {return (- <Section className="final-cta accented" title="Ready to get started with Trilium Notes?">- <p>Build your personal knowledge base with powerful features and full privacy.</p>+ <Section className="final-cta accented" title={t("final_cta.title")}>+ <p>{t("final_cta.description")}</p><div class="buttons">- <Button href="./get-started/" text="Get started" />+ <Button href="./get-started/" text={t("final_cta.get_started")} /></div></Section>)