mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
chore(client/ts): fix errors in i18n
This commit is contained in:
@@ -4,7 +4,7 @@ import options from "./options.js";
|
||||
await library_loader.requireLibrary(library_loader.I18NEXT);
|
||||
|
||||
export async function initLocale() {
|
||||
const locale = options.get("locale") || "en";
|
||||
const locale = (options.get("locale") as string) || "en";
|
||||
|
||||
await i18next
|
||||
.use(i18nextHttpBackend)
|
||||
|
||||
Reference in New Issue
Block a user