forked from open-webui/open-webui
Added more german translations + added more i18n keys
This commit is contained in:
parent
9130428a55
commit
19843e39fd
13 changed files with 74 additions and 39 deletions
|
@ -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);
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue