mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(client/ts): fix errors in i18n
This commit is contained in:
parent
924453cb6f
commit
1548b2e3e4
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user