Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
3404b8dd
"src/webui/config/paths.js" did not exist on "3a6d137276fca3d122b877e9fd8e35654fc4ad5d"
Commit
3404b8dd
authored
May 07, 2024
by
Jannik Streidl
Browse files
added some missing keys
parent
8d5f35a4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
src/lib/components/chat/MessageInput/Documents.svelte
src/lib/components/chat/MessageInput/Documents.svelte
+1
-1
src/lib/components/chat/MessageInput/Suggestions.svelte
src/lib/components/chat/MessageInput/Suggestions.svelte
+5
-3
src/lib/i18n/locales/de-DE/translation.json
src/lib/i18n/locales/de-DE/translation.json
+5
-2
No files found.
src/lib/components/chat/MessageInput/Documents.svelte
View file @
3404b8dd
...
...
@@ -24,7 +24,7 @@
{
name: 'All Documents',
type: 'collection',
title: 'All Documents',
title:
$i18n.t(
'All Documents'
)
,
collection_names: $documents.map((doc) => doc.collection_name)
}
]
...
...
src/lib/components/chat/MessageInput/Suggestions.svelte
View file @
3404b8dd
<script lang="ts">
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 suggestionPrompts = [];
...
...
@@ -33,7 +35,7 @@
{#if prompts.length > 0}
<div class="mb-2 flex gap-1 text-sm font-medium items-center text-gray-400 dark:text-gray-600">
<Bolt />
Suggested
{$i18n.t('
Suggested
')}
</div>
{/if}
...
...
@@ -71,7 +73,7 @@
<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"
>
Prompt
{$i18n.t('
Prompt
')}
</div>
<div
...
...
src/lib/i18n/locales/de-DE/translation.json
View file @
3404b8dd
...
...
@@ -14,7 +14,7 @@
"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 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 Docs"
:
"Dokumente hinzufügen"
,
"Add Files"
:
"Dateien hinzufügen"
,
...
...
@@ -466,5 +466,8 @@
"You're a helpful assistant."
:
"Du bist ein hilfreicher Assistent."
,
"You're now logged in."
:
"Du bist nun eingeloggt."
,
"Youtube"
:
"YouTube"
,
"Help"
:
"Hilfe"
"Help"
:
"Hilfe"
,
"All Documents"
:
"Alle Dokumente"
,
"Suggested"
:
"Vorgeschlagen"
,
"Prompt"
:
"Prompt"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment