remove svelte-i18n dependency, replace with minimalistic implementation

This commit is contained in:
vcoppe
2025-06-08 13:49:39 +02:00
parent a9ea0e223d
commit 228ad1044e
59 changed files with 121 additions and 746 deletions

View File

@@ -15,7 +15,7 @@
Milestone,
Video,
} from 'lucide-svelte';
import { _ } from 'svelte-i18n';
import { _ } from '$lib/i18n';
import {
allowedEmbeddingBasemaps,
getCleanedEmbeddingOptions,

View File

@@ -2,7 +2,7 @@
import { Button } from '$lib/components/ui/button';
import Logo from '$lib/components/Logo.svelte';
import { getURLForLanguage } from '$lib/utils';
import { _, locale } from 'svelte-i18n';
import { _, locale } from '$lib/i18n';
export let files: string[];
export let ids: string[];