From 1548b2e3e4e2da9acd8e61d3eb66957f860e7b98 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 19 Dec 2024 20:52:43 +0200 Subject: [PATCH] chore(client/ts): fix errors in i18n --- src/public/app/services/i18n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/services/i18n.ts b/src/public/app/services/i18n.ts index 7e9be3a09..3d82c0e1d 100644 --- a/src/public/app/services/i18n.ts +++ b/src/public/app/services/i18n.ts @@ -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)