translate the app

This commit is contained in:
2022-01-16 14:02:53 +01:00
parent bab65bcdad
commit 716034660c
15 changed files with 744 additions and 225 deletions

View File

@@ -1,12 +1,13 @@
<script lang="ts">
import { status } from '$lib/stores/status'
import prettyBytes from 'pretty-bytes'
import { _ } from 'svelte-intl-precompile'
</script>
<span>
{#if $status !== null}
{prettyBytes($status.max_size, { binary: true })}
{:else}
loading...
{$_('common.loading')}
{/if}
</span>