From e32ba61a3caf2097e1049b18a02d6ba056c989c4 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 11 Oct 2025 22:16:01 +0300 Subject: [PATCH] feat(website/i18n): translate extensibility benefits --- apps/website/public/translations/en/translation.json | 11 +++++++++++ apps/website/src/pages/Home/index.tsx | 10 +++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/apps/website/public/translations/en/translation.json b/apps/website/public/translations/en/translation.json index 3c5a43b08..b58ab0877 100644 --- a/apps/website/public/translations/en/translation.json +++ b/apps/website/public/translations/en/translation.json @@ -58,5 +58,16 @@ "others_saved_searches": "saved searches", "others_render_note": "render note", "others_webview": "web views" + }, + "extensibility_benefits": { + "title": "Sharing & extensibility", + "import_export_title": "Import/export", + "import_export_description": "Easily interact with other applications using Markdown, ENEX, OML formats.", + "share_title": "Share notes on the web", + "share_description": "If you have a server, it can be used to share a subset of your notes with other people.", + "scripting_title": "Advanced scripting", + "scripting_description": "Build your own integrations within Trilium with custom widgets, or server-side logic.", + "api_title": "REST API", + "api_description": "Interact with Trilium programatically using its builtin REST API." } } diff --git a/apps/website/src/pages/Home/index.tsx b/apps/website/src/pages/Home/index.tsx index a78c63ac0..3bacac5bf 100644 --- a/apps/website/src/pages/Home/index.tsx +++ b/apps/website/src/pages/Home/index.tsx @@ -187,12 +187,12 @@ function NoteTypesSection() { function ExtensibilityBenefitsSection() { return ( <> -
+
- Easily interact with other applications using Markdown, ENEX, OML formats. - If you have a server, it can be used to share a subset of your notes with other people. - Build your own integrations within Trilium with custom widgets, or server-side logic. - Interact with Trilium programatically using its builtin REST API. + {t("extensibility_benefits.import_export_description")} + {t("extensibility_benefits.share_description")} + {t("extensibility_benefits.scripting_description")} + {t("extensibility_benefits.api_description")}