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
chore: disable support notice for i18next
Elian Doran299f694aa932
diff --git a/apps/client/src/services/i18n.ts b/apps/client/src/services/i18n.tsindex 5b5f38b762..c8bb9097d7 100644--- a/apps/client/src/services/i18n.ts+++ b/apps/client/src/services/i18n.ts@@ -24,7 +24,8 @@ export async function initLocale() {backend: {loadPath: `${window.glob.assetPath}/translations/{{lng}}/{{ns}}.json`},- returnEmptyString: false+ returnEmptyString: false,+ showSupportNotice: false});await setDayjsLocale(locale);diff --git a/apps/server/spec/setup.ts b/apps/server/spec/setup.tsindex 4d002369cf..f3ea012c85 100644--- a/apps/server/spec/setup.ts+++ b/apps/server/spec/setup.ts@@ -21,7 +21,8 @@ beforeAll(async () => {ns: "server",backend: {loadPath: join(__dirname, "../src/assets/translations/{{lng}}/{{ns}}.json")- }+ },+ showSupportNotice: false});// Initialize dayjsdiff --git a/apps/server/src/services/i18n.ts b/apps/server/src/services/i18n.tsindex f77ec93ef6..ddea58eaaa 100644--- a/apps/server/src/services/i18n.ts+++ b/apps/server/src/services/i18n.ts@@ -18,7 +18,8 @@ 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 93931d9365..a41b50c43d 100644--- a/apps/website/src/i18n.ts+++ b/apps/website/src/i18n.ts@@ -27,7 +27,8 @@ export function initTranslations(lng: string) {initAsync: false,react: {useSuspense: false- }+ },+ showSupportNotice: false});}