mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-16 04:21:11 +00:00
feat: add support for translations (#349)
Co-authored-by: Kyle Mendell <kmendell@outlook.com> Co-authored-by: Elias Schneider <login@eliasschneider.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
import Error from '$lib/components/error.svelte';
|
||||
import Header from '$lib/components/header/header.svelte';
|
||||
import { Toaster } from '$lib/components/ui/sonner';
|
||||
import { m } from '$lib/paraglide/messages';
|
||||
import appConfigStore from '$lib/stores/application-configuration-store';
|
||||
import userStore from '$lib/stores/user-store';
|
||||
import { ModeWatcher } from 'mode-watcher';
|
||||
@@ -30,10 +31,7 @@
|
||||
</script>
|
||||
|
||||
{#if !appConfig}
|
||||
<Error
|
||||
message="A critical error occurred. Please contact your administrator."
|
||||
showButton={false}
|
||||
/>
|
||||
<Error message={m.critical_error_occurred_contact_administrator()} showButton={false} />
|
||||
{:else}
|
||||
<Header />
|
||||
{@render children()}
|
||||
|
||||
Reference in New Issue
Block a user