Initial work on i18n (I'm lazy)

Signed-off-by: Alex J <odyssey346@disroot.org>
This commit is contained in:
Alex J
2022-06-21 20:09:59 +02:00
parent f721504b66
commit f980b9d0a7
12 changed files with 169 additions and 46 deletions

15
src/routes/index.svelte Normal file
View File

@ -0,0 +1,15 @@
<script>
import { t } from '$lib/translations';
</script>
<h1> {$t('common.INDEXTITLE')} </h1>
<h2> {$t('common.indexDescription')} </h2>
<h1> {$t('common.INDEXWHAT')} </h1> <!-- Cause I feel the need to scream -->
<p> {$t('common.INDEXWHOAREWE')} </p>
<h1> {$t('common.INDEXTELLMEMORE')} </h1>
<p>{$t('common.INDEXMOREINFO')}</p>