From 7f1e4c0969eec127680673ee74e2a9a0de6838aa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 20:13:27 +0000 Subject: [PATCH] fix: remove showSupportNotice from i18next init options (removed in v26) Agent-Logs-Url: https://github.com/TriliumNext/Trilium/sessions/41f772f7-49b7-4905-8b17-cf90165fc736 Co-authored-by: eliandoran <21236836+eliandoran@users.noreply.github.com> --- apps/client/src/services/i18n.ts | 3 +-- apps/server/src/services/i18n.ts | 3 +-- apps/website/src/i18n.ts | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/apps/client/src/services/i18n.ts b/apps/client/src/services/i18n.ts index c8bb9097d7..5b5f38b762 100644 --- a/apps/client/src/services/i18n.ts +++ b/apps/client/src/services/i18n.ts @@ -24,8 +24,7 @@ export async function initLocale() { backend: { loadPath: `${window.glob.assetPath}/translations/{{lng}}/{{ns}}.json` }, - returnEmptyString: false, - showSupportNotice: false + returnEmptyString: false }); await setDayjsLocale(locale); diff --git a/apps/server/src/services/i18n.ts b/apps/server/src/services/i18n.ts index ddea58eaaa..f77ec93ef6 100644 --- a/apps/server/src/services/i18n.ts +++ b/apps/server/src/services/i18n.ts @@ -18,8 +18,7 @@ export async function initializeTranslations() { ns: "server", backend: { loadPath: join(resourceDir, "assets/translations/{{lng}}/{{ns}}.json") - }, - showSupportNotice: false + } }); // Initialize dayjs locale. diff --git a/apps/website/src/i18n.ts b/apps/website/src/i18n.ts index a41b50c43d..93931d9365 100644 --- a/apps/website/src/i18n.ts +++ b/apps/website/src/i18n.ts @@ -27,8 +27,7 @@ export function initTranslations(lng: string) { initAsync: false, react: { useSuspense: false - }, - showSupportNotice: false + } }); }