Commit 3404b8dd authored by Jannik Streidl's avatar Jannik Streidl
Browse files

added some missing keys

parent 8d5f35a4
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
{ {
name: 'All Documents', name: 'All Documents',
type: 'collection', type: 'collection',
title: 'All Documents', title: $i18n.t('All Documents'),
collection_names: $documents.map((doc) => doc.collection_name) collection_names: $documents.map((doc) => doc.collection_name)
} }
] ]
......
<script lang="ts"> <script lang="ts">
import Bolt from '$lib/components/icons/Bolt.svelte'; import Bolt from '$lib/components/icons/Bolt.svelte';
import { onMount } from 'svelte'; import { onMount, getContext } from 'svelte';
const i18n = getContext('i18n');
export let submitPrompt: Function; export let submitPrompt: Function;
export let suggestionPrompts = []; export let suggestionPrompts = [];
...@@ -33,7 +35,7 @@ ...@@ -33,7 +35,7 @@
{#if prompts.length > 0} {#if prompts.length > 0}
<div class="mb-2 flex gap-1 text-sm font-medium items-center text-gray-400 dark:text-gray-600"> <div class="mb-2 flex gap-1 text-sm font-medium items-center text-gray-400 dark:text-gray-600">
<Bolt /> <Bolt />
Suggested {$i18n.t('Suggested')}
</div> </div>
{/if} {/if}
...@@ -71,7 +73,7 @@ ...@@ -71,7 +73,7 @@
<div <div
class="text-xs text-gray-400 group-hover:text-gray-500 dark:text-gray-600 dark:group-hover:text-gray-500 transition self-center" class="text-xs text-gray-400 group-hover:text-gray-500 dark:text-gray-600 dark:group-hover:text-gray-500 transition self-center"
> >
Prompt {$i18n.t('Prompt')}
</div> </div>
<div <div
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"Add a model tag name": "Benenne deinen Modell-Tag", "Add a model tag name": "Benenne deinen Modell-Tag",
"Add a short description about what this modelfile does": "Füge eine kurze Beschreibung hinzu, was dieses Modelfile kann", "Add a short description about what this modelfile does": "Füge eine kurze Beschreibung hinzu, was dieses Modelfile kann",
"Add a short title for this prompt": "Füge einen kurzen Titel für diesen Prompt hinzu", "Add a short title for this prompt": "Füge einen kurzen Titel für diesen Prompt hinzu",
"Add a tag": "Tag hinzufügen", "Add a tag": "benenne",
"Add custom prompt": "Eigenen Prompt hinzufügen", "Add custom prompt": "Eigenen Prompt hinzufügen",
"Add Docs": "Dokumente hinzufügen", "Add Docs": "Dokumente hinzufügen",
"Add Files": "Dateien hinzufügen", "Add Files": "Dateien hinzufügen",
...@@ -466,5 +466,8 @@ ...@@ -466,5 +466,8 @@
"You're a helpful assistant.": "Du bist ein hilfreicher Assistent.", "You're a helpful assistant.": "Du bist ein hilfreicher Assistent.",
"You're now logged in.": "Du bist nun eingeloggt.", "You're now logged in.": "Du bist nun eingeloggt.",
"Youtube": "YouTube", "Youtube": "YouTube",
"Help": "Hilfe" "Help": "Hilfe",
"All Documents": "Alle Dokumente",
"Suggested": "Vorgeschlagen",
"Prompt": "Prompt"
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment