mirror of
https://github.com/zadam/trilium.git
synced 2026-07-07 20:02:49 +02:00
chore: disable support notice for i18next
Signed-off-by: Elian Doran <contact@eliandoran.me>
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -21,7 +21,8 @@ beforeAll(async () => {
|
||||
ns: "server",
|
||||
backend: {
|
||||
loadPath: join(__dirname, "../src/assets/translations/{{lng}}/{{ns}}.json")
|
||||
}
|
||||
},
|
||||
showSupportNotice: false
|
||||
});
|
||||
|
||||
// Initialize dayjs
|
||||
|
||||
@@ -18,7 +18,8 @@ export async function initializeTranslations() {
|
||||
ns: "server",
|
||||
backend: {
|
||||
loadPath: join(resourceDir, "assets/translations/{{lng}}/{{ns}}.json")
|
||||
}
|
||||
},
|
||||
showSupportNotice: false
|
||||
});
|
||||
|
||||
// Initialize dayjs locale.
|
||||
|
||||
@@ -27,7 +27,8 @@ export function initTranslations(lng: string) {
|
||||
initAsync: false,
|
||||
react: {
|
||||
useSuspense: false
|
||||
}
|
||||
},
|
||||
showSupportNotice: false
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user