feat: translate all pages
Some checks failed
TrafficCue CI / check (push) Failing after 32s
TrafficCue CI / build (push) Failing after 35s

This commit is contained in:
Cfp
2025-08-14 16:05:35 +02:00
parent b3f3c4f0b2
commit 4e3f1b06b2
23 changed files with 359 additions and 106 deletions

View File

@ -4,6 +4,7 @@
import Button from "$lib/components/ui/button/button.svelte";
import { getAuthURL, getOIDCUser } from "$lib/services/oidc";
import * as Avatar from "$lib/components/ui/avatar";
import { m } from "$lang/messages";
interface OIDCUser {
sub: string;
@ -26,7 +27,7 @@
</script>
{#if !user}
<SidebarHeader>User</SidebarHeader>
<SidebarHeader>{m["sidebar.user.header"]()}</SidebarHeader>
<Button
onclick={async () => {
@ -57,7 +58,7 @@
atob((localStorage.getItem("lnv-id") || "").split(".")[1]),
);
});
}}>Login</Button
}}>{m["sidebar.user.login"]()}</Button
>
{:else}
<SidebarHeader>