mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 04:36:43 +02:00
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:
committed by
GitHub
parent
e55cd7841f
commit
7f1e4c0969
@@ -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);
|
||||
|
||||
@@ -18,8 +18,7 @@ export async function initializeTranslations() {
|
||||
ns: "server",
|
||||
backend: {
|
||||
loadPath: join(resourceDir, "assets/translations/{{lng}}/{{ns}}.json")
|
||||
},
|
||||
showSupportNotice: false
|
||||
}
|
||||
});
|
||||
|
||||
// Initialize dayjs locale.
|
||||
|
||||
@@ -27,8 +27,7 @@ export function initTranslations(lng: string) {
|
||||
initAsync: false,
|
||||
react: {
|
||||
useSuspense: false
|
||||
},
|
||||
showSupportNotice: false
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user