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
fix: remove showSupportNotice from i18next init options (removed in v26)
copilot-swe-agent[bot]7f1e4c0969ee
diff --git a/apps/client/src/services/i18n.ts b/apps/client/src/services/i18n.tsindex 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.tsindex 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.tsindex 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+ }});}