From 299f694aa932a5ab0778cae0a67184f541fe0e80 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 20 Feb 2026 23:37:58 +0200 Subject: [PATCH] chore: disable support notice for i18next Signed-off-by: Elian Doran --- apps/client/src/services/i18n.ts | 3 ++- apps/server/spec/setup.ts | 3 ++- apps/server/src/services/i18n.ts | 3 ++- apps/website/src/i18n.ts | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/apps/client/src/services/i18n.ts b/apps/client/src/services/i18n.ts index 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.ts index 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 dayjs diff --git a/apps/server/src/services/i18n.ts b/apps/server/src/services/i18n.ts index 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.ts index 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 }); }