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
fbed07f6
Commit
fbed07f6
authored
Mar 03, 2024
by
Ased Mammad
Browse files
fix: Merge similar string literals
parent
511b52f6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
src/lib/components/chat/Settings/Images.svelte
src/lib/components/chat/Settings/Images.svelte
+2
-2
src/lib/components/chat/Settings/Interface.svelte
src/lib/components/chat/Settings/Interface.svelte
+7
-3
src/lib/i18n/locales/en/common.json
src/lib/i18n/locales/en/common.json
+0
-1
No files found.
src/lib/components/chat/Settings/Images.svelte
View file @
fbed07f6
...
...
@@ -197,10 +197,10 @@
<select
class="w-full rounded py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-800 outline-none"
bind:value={selectedModel}
placeholder={$i18n.t('Select a
M
odel')}
placeholder={$i18n.t('Select a
m
odel')}
>
{#if !selectedModel}
<option value="" disabled selected>{$i18n.t('Select a
M
odel')}</option>
<option value="" disabled selected>{$i18n.t('Select a
m
odel')}</option>
{/if}
{#each models ?? [] as model}
<option value={model.title} class="bg-gray-100 dark:bg-gray-700"
...
...
src/lib/components/chat/Settings/Interface.svelte
View file @
fbed07f6
...
...
@@ -120,7 +120,9 @@
<div>
<div class=" py-0.5 flex w-full justify-between">
<div class=" self-center text-xs font-medium">{$i18n.t('Response AutoCopy to Clipboard')}</div>
<div class=" self-center text-xs font-medium">
{$i18n.t('Response AutoCopy to Clipboard')}
</div>
<button
class="p-1 px-3 text-xs flex rounded transition"
...
...
@@ -190,7 +192,7 @@
<select
class="w-full rounded py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-800 outline-none"
bind:value={titleAutoGenerateModel}
placeholder={$i18n.t('Select a
M
odel')}
placeholder={$i18n.t('Select a
m
odel')}
>
<option value="" selected>Current Model</option>
{#each $models as model}
...
...
@@ -241,7 +243,9 @@
<div class=" space-y-3 pr-1.5 overflow-y-scroll max-h-80">
<div class="flex w-full justify-between mb-2">
<div class=" self-center text-sm font-semibold">{$i18n.t('Default Prompt Suggestions')}</div>
<div class=" self-center text-sm font-semibold">
{$i18n.t('Default Prompt Suggestions')}
</div>
<button
class="p-1 px-3 text-xs flex rounded transition"
...
...
src/lib/i18n/locales/en/common.json
View file @
fbed07f6
...
...
@@ -184,7 +184,6 @@
"Seed"
:
"Seed"
,
"See readme.md for instructions"
:
"See readme.md for instructions"
,
"Select a model"
:
"Select a model"
,
"Select a Model"
:
"Select a Model"
,
"Send a Messsage"
:
"Send a Messsage"
,
"Send message"
:
"Send message"
,
"Server connection verified"
:
"Server connection verified"
,
...
...
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