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>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-31 20:13:27 +00:00
committed by GitHub
parent e55cd7841f
commit 7f1e4c0969
3 changed files with 3 additions and 6 deletions

View File

@@ -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);

View File

@@ -18,8 +18,7 @@ export async function initializeTranslations() {
ns: "server",
backend: {
loadPath: join(resourceDir, "assets/translations/{{lng}}/{{ns}}.json")
},
showSupportNotice: false
}
});
// Initialize dayjs locale.

View File

@@ -27,8 +27,7 @@ export function initTranslations(lng: string) {
initAsync: false,
react: {
useSuspense: false
},
showSupportNotice: false
}
});
}