mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-04-02 09:55:23 +00:00
add locales
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
|
||||
<script lang="ts">
|
||||
import Icon from '$lib/ui/Icon.svelte'
|
||||
import { t } from 'svelte-intl-precompile'
|
||||
|
||||
function change() {
|
||||
theme.update((current) => NextTheme[current])
|
||||
@@ -43,7 +42,7 @@
|
||||
|
||||
<div on:click={change}>
|
||||
<Icon class="icon" icon="contrast-sharp" />
|
||||
{$t('theme.' + $theme)}
|
||||
{$theme}
|
||||
</div>
|
||||
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user