Added more german translations + added more i18n keys

This commit is contained in:
Jannik Streidl 2024-04-28 14:39:06 +02:00
parent 9130428a55
commit 19843e39fd
13 changed files with 74 additions and 39 deletions

View file

@ -1,6 +1,9 @@
<script lang="ts">
import TagInput from './Tags/TagInput.svelte';
import TagList from './Tags/TagList.svelte';
import { getContext } from 'svelte';
const i18n = getContext('i18n');
export let tags = [];
@ -17,7 +20,7 @@
/>
<TagInput
label={tags.length == 0 ? 'Add Tags' : ''}
label={tags.length == 0 ? $i18n.t('Add Tags') : ''}
on:add={(e) => {
addTag(e.detail);
}}