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
76bd77bc
Commit
76bd77bc
authored
Apr 19, 2024
by
Entaigner
Browse files
Enable translation for chat suggestion placeholders (settings>interface)
parent
e0ebd7ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/lib/components/chat/Settings/Interface.svelte
src/lib/components/chat/Settings/Interface.svelte
+3
-3
No files found.
src/lib/components/chat/Settings/Interface.svelte
View file @
76bd77bc
...
@@ -288,20 +288,20 @@
...
@@ -288,20 +288,20 @@
<div class="flex border-b dark:border-gray-600 w-full">
<div class="flex border-b dark:border-gray-600 w-full">
<input
<input
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r dark:border-gray-600"
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r dark:border-gray-600"
placeholder=
"
Title (e.g. Tell me a fun fact)
"
placeholder=
{$i18n.t('
Title (e.g. Tell me a fun fact)
')}
bind:value={prompt.title[0]}
bind:value={prompt.title[0]}
/>
/>
<input
<input
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r dark:border-gray-600"
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r dark:border-gray-600"
placeholder=
"
Subtitle (e.g. about the Roman Empire)
"
placeholder=
{$i18n.t('
Subtitle (e.g. about the Roman Empire)
')}
bind:value={prompt.title[1]}
bind:value={prompt.title[1]}
/>
/>
</div>
</div>
<input
<input
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r dark:border-gray-600"
class="px-3 py-1.5 text-xs w-full bg-transparent outline-none border-r dark:border-gray-600"
placeholder=
"
Prompt (e.g. Tell me a fun fact about the Roman Empire)
"
placeholder=
{$i18n.t('
Prompt (e.g. Tell me a fun fact about the Roman Empire)
')}
bind:value={prompt.content}
bind:value={prompt.content}
/>
/>
</div>
</div>
...
...
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