From 8b749614f9cce5ef0ac7cf96acf882e717c35173 Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Wed, 28 Apr 2021 05:15:33 +0800 Subject: [PATCH] Add Korean language selector --- src/components/Sidebar/Sidebar.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Sidebar/Sidebar.svelte b/src/components/Sidebar/Sidebar.svelte index 07697fbd..84c592e0 100644 --- a/src/components/Sidebar/Sidebar.svelte +++ b/src/components/Sidebar/Sidebar.svelte @@ -24,6 +24,7 @@ { id: 'en', label: 'English' }, { id: 'id', label: 'Indonesia' }, { id: 'ru', label: 'Русский' }, + { id: 'ko', label: '한국어' }, ]; $: currentLocale = languages.find((e) => e.id === $locale.substring(0, 2)) || { id: 'en', label: 'English' }; $: locales = languages.filter((e) => e.id !== currentLocale.id); @@ -140,7 +141,7 @@
{#each locales as locale}
changeLocale(locale.id)} > {locale.label}