mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
i18n
This commit is contained in:
parent
43a490457d
commit
b8b82b9156
@ -1,7 +1,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Fuse from 'fuse.js';
|
import Fuse from 'fuse.js';
|
||||||
import Bolt from '$lib/components/icons/Bolt.svelte';
|
import Bolt from '$lib/components/icons/Bolt.svelte';
|
||||||
import { getContext, createEventDispatcher, onMount } from 'svelte';
|
import { onMount, getContext, createEventDispatcher } from 'svelte';
|
||||||
|
|
||||||
const i18n = getContext('i18n');
|
const i18n = getContext('i18n');
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
@ -71,7 +71,7 @@
|
|||||||
>
|
>
|
||||||
{prompt.content}
|
{prompt.content}
|
||||||
</div>
|
</div>
|
||||||
<div class="text-xs text-gray-500 font-normal line-clamp-1">Prompt</div>
|
<div class="text-xs text-gray-500 font-normal line-clamp-1">{i18n.t('Prompt')}</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user