From bd8e98d7e24c4dbaee7db6ec7955f7c2f6d396a6 Mon Sep 17 00:00:00 2001
From: Ruben Beltran del Rio <ruben@unlimited.pizza>
Date: Tue, 9 Mar 2021 22:43:12 +0100
Subject: Update to SvelteKit

---
 .../language_selector/language_selector.svelte     | 28 ----------------------
 1 file changed, 28 deletions(-)
 delete mode 100644 app/components/language_selector/language_selector.svelte

(limited to 'app/components/language_selector/language_selector.svelte')

diff --git a/app/components/language_selector/language_selector.svelte b/app/components/language_selector/language_selector.svelte
deleted file mode 100644
index 67c0814..0000000
--- a/app/components/language_selector/language_selector.svelte
+++ /dev/null
@@ -1,28 +0,0 @@
-<script>
-  import { locale, locales } from 'svelte-i18n';
-  import { getLangNameFromCode } from 'language-name-map';
-
-  $: namedLocales = $locales
-    .map((locale) => ({
-      code: locale,
-      ...getLangNameFromCode(locale)
-    }))
-    .sort((a, b) => a.native - b.native);
-
-  let selected = $locale;
-
-  $: {
-    console.log(`the current locale is ${selected}`);
-    locale.set(selected);
-  }
-</script>
-
-<select bind:value={selected}>
-  {#each namedLocales as namedLocale}
-    <option value="{ namedLocale.code }">{ namedLocale.native }</option>
-  {/each}
-</select>
-
-<style>
-</style>
-
-- 
cgit 

