Skip to content

Build your personal knowledge base with Trilium Notes

refactor(options): drop section titles that duplicate the page name

Elian Doranf5e5c53bc5fb
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index 08214c891f..f3f9d40a2d 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -1624,7 +1624,6 @@
"download": "Download"
},
"etapi": {
- "title": "ETAPI",
"description": "ETAPI is a REST API used to access Trilium instance programmatically, without UI.",
"create_token": "Create new ETAPI token",
"existing_tokens": "Existing tokens",
@@ -2794,7 +2793,6 @@
"summary": "Summary"
},
"llm": {
- "settings_title": "AI / LLM",
"settings_description": "Configure AI and Large Language Model integrations.",
"not_available_in_standalone": "AI/LLM features are not available in the standalone version of Trilium, as LLM providers do not allow direct access from a browser.",
"feature_not_enabled": "Enable the LLM experimental feature in Settings → Advanced → Experimental features to use AI integrations.",
diff --git a/apps/client/src/widgets/type_widgets/options/etapi.tsx b/apps/client/src/widgets/type_widgets/options/etapi.tsx
index 3cf06a7ab5..8c8e35b049 100644
--- a/apps/client/src/widgets/type_widgets/options/etapi.tsx
+++ b/apps/client/src/widgets/type_widgets/options/etapi.tsx
@@ -56,7 +56,6 @@ export default function EtapiSettings() {
<>
<OptionsPageHeader />
<OptionsSection
- title={t("etapi.title")}
description={t("etapi.description")}
helpUrl="pgxEVkzLl1OP"
>
diff --git a/apps/client/src/widgets/type_widgets/options/llm.tsx b/apps/client/src/widgets/type_widgets/options/llm.tsx
index 0ab5ae2fb4..1fa94dd0d1 100644
--- a/apps/client/src/widgets/type_widgets/options/llm.tsx
+++ b/apps/client/src/widgets/type_widgets/options/llm.tsx
@@ -20,7 +20,7 @@ export default function LlmSettings() {
return (
<>
<OptionsPageHeader />
- <OptionsSection title={t("llm.settings_title")}>
+ <OptionsSection>
<NoItems icon="bx bx-bot" text={t("llm.not_available_in_standalone")} />
</OptionsSection>
</>
@@ -31,7 +31,6 @@ export default function LlmSettings() {
<>
<OptionsPageHeader />
<OptionsSection
- title={t("llm.settings_title")}
description={t("llm.settings_description")}
helpUrl="GBBMSlVSOIGP"
>