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
@@ -1,6 +1,7 @@
<script lang="ts">
import { DropdownMenu } from 'bits-ui';
import { flyAndScale } from '$lib/utils/transitions';
import { getContext } from 'svelte'
import Dropdown from '$lib/components/common/Dropdown.svelte';
import GarbageBin from '$lib/components/icons/GarbageBin.svelte';
@@ -9,6 +10,8 @@
import Tags from '$lib/components/chat/Tags.svelte';
import Share from '$lib/components/icons/Share.svelte';
const i18n = getContext('i18n');
export let shareHandler: Function;
export let renameHandler: Function;
export let deleteHandler: Function;
@@ -27,7 +30,7 @@
}
}}
>
<Tooltip content="More">
<Tooltip content={$i18n.t('More')}>
<slot />
</Tooltip>