From 578150e40e997ed22e5f68b1ad9a5f119f31dc3d Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 14 Jul 2024 21:10:41 +0600 Subject: [PATCH] web: add dynamic lang html tag --- web/src/routes/+layout.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index 16422d82..e203f1de 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -4,6 +4,7 @@ import settings from "$lib/state/settings"; import { device, app } from "$lib/device"; + import { locale } from "$lib/i18n/translations"; import currentTheme, { statusBarColors } from "$lib/state/theme"; import Sidebar from "$components/sidebar/Sidebar.svelte"; @@ -24,7 +25,7 @@ {/if} -
+