chore: disable support notice for i18next

Signed-off-by: Elian Doran <contact@eliandoran.me>
This commit is contained in:
Elian Doran
2026-02-20 23:37:58 +02:00
parent 2675698d3a
commit 299f694aa9
4 changed files with 8 additions and 4 deletions

View File

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

View File

@@ -21,7 +21,8 @@ beforeAll(async () => {
ns: "server",
backend: {
loadPath: join(__dirname, "../src/assets/translations/{{lng}}/{{ns}}.json")
}
},
showSupportNotice: false
});
// Initialize dayjs

View File

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

View File

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