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
a92c5381
Commit
a92c5381
authored
Jun 25, 2024
by
Timothy J. Baek
Browse files
chore: format
parent
3750e69e
Changes
40
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
80 additions
and
8 deletions
+80
-8
src/lib/components/admin/Settings/Images.svelte
src/lib/components/admin/Settings/Images.svelte
+4
-1
src/lib/components/admin/Settings/WebSearch.svelte
src/lib/components/admin/Settings/WebSearch.svelte
+24
-6
src/lib/components/common/SensitiveInput.svelte
src/lib/components/common/SensitiveInput.svelte
+1
-1
src/lib/i18n/locales/ar-BH/translation.json
src/lib/i18n/locales/ar-BH/translation.json
+3
-0
src/lib/i18n/locales/bg-BG/translation.json
src/lib/i18n/locales/bg-BG/translation.json
+3
-0
src/lib/i18n/locales/bn-BD/translation.json
src/lib/i18n/locales/bn-BD/translation.json
+3
-0
src/lib/i18n/locales/ca-ES/translation.json
src/lib/i18n/locales/ca-ES/translation.json
+3
-0
src/lib/i18n/locales/ceb-PH/translation.json
src/lib/i18n/locales/ceb-PH/translation.json
+3
-0
src/lib/i18n/locales/de-DE/translation.json
src/lib/i18n/locales/de-DE/translation.json
+3
-0
src/lib/i18n/locales/dg-DG/translation.json
src/lib/i18n/locales/dg-DG/translation.json
+3
-0
src/lib/i18n/locales/en-GB/translation.json
src/lib/i18n/locales/en-GB/translation.json
+3
-0
src/lib/i18n/locales/en-US/translation.json
src/lib/i18n/locales/en-US/translation.json
+3
-0
src/lib/i18n/locales/es-ES/translation.json
src/lib/i18n/locales/es-ES/translation.json
+3
-0
src/lib/i18n/locales/fa-IR/translation.json
src/lib/i18n/locales/fa-IR/translation.json
+3
-0
src/lib/i18n/locales/fi-FI/translation.json
src/lib/i18n/locales/fi-FI/translation.json
+3
-0
src/lib/i18n/locales/fr-CA/translation.json
src/lib/i18n/locales/fr-CA/translation.json
+3
-0
src/lib/i18n/locales/fr-FR/translation.json
src/lib/i18n/locales/fr-FR/translation.json
+3
-0
src/lib/i18n/locales/he-IL/translation.json
src/lib/i18n/locales/he-IL/translation.json
+3
-0
src/lib/i18n/locales/hi-IN/translation.json
src/lib/i18n/locales/hi-IN/translation.json
+3
-0
src/lib/i18n/locales/hr-HR/translation.json
src/lib/i18n/locales/hr-HR/translation.json
+3
-0
No files found.
src/lib/components/admin/Settings/Images.svelte
View file @
a92c5381
...
...
@@ -279,7 +279,10 @@
</div>
<div class=" mb-2.5 text-sm font-medium">{$i18n.t('AUTOMATIC1111 Api Auth String')}</div>
<SensitiveInput placeholder={$i18n.t('Enter api auth string (e.g. username:password)')} bind:value={AUTOMATIC1111_API_AUTH} />
<SensitiveInput
placeholder={$i18n.t('Enter api auth string (e.g. username:password)')}
bind:value={AUTOMATIC1111_API_AUTH}
/>
<div class="mt-2 text-xs text-gray-400 dark:text-gray-500">
{$i18n.t('Include `--api-auth` flag when running stable-diffusion-webui')}
...
...
src/lib/components/admin/Settings/WebSearch.svelte
View file @
a92c5381
...
...
@@ -116,7 +116,10 @@
{$i18n.t('Google PSE API Key')}
</div>
<SensitiveInput placeholder={$i18n.t('Enter Google PSE API Key')} bind:value={webConfig.search.google_pse_api_key} />
<SensitiveInput
placeholder={$i18n.t('Enter Google PSE API Key')}
bind:value={webConfig.search.google_pse_api_key}
/>
</div>
<div class="mt-1.5">
<div class=" self-center text-xs font-medium mb-1">
...
...
@@ -141,7 +144,10 @@
{$i18n.t('Brave Search API Key')}
</div>
<SensitiveInput placeholder={$i18n.t('Enter Brave Search API Key')} bind:value={webConfig.search.brave_search_api_key} />
<SensitiveInput
placeholder={$i18n.t('Enter Brave Search API Key')}
bind:value={webConfig.search.brave_search_api_key}
/>
</div>
{:else if webConfig.search.engine === 'serpstack'}
<div>
...
...
@@ -149,7 +155,10 @@
{$i18n.t('Serpstack API Key')}
</div>
<SensitiveInput placeholder={$i18n.t('Enter Serpstack API Key')} bind:value={webConfig.search.serpstack_api_key} />
<SensitiveInput
placeholder={$i18n.t('Enter Serpstack API Key')}
bind:value={webConfig.search.serpstack_api_key}
/>
</div>
{:else if webConfig.search.engine === 'serper'}
<div>
...
...
@@ -157,7 +166,10 @@
{$i18n.t('Serper API Key')}
</div>
<SensitiveInput placeholder={$i18n.t('Enter Serper API Key')} bind:value={webConfig.search.serper_api_key} />
<SensitiveInput
placeholder={$i18n.t('Enter Serper API Key')}
bind:value={webConfig.search.serper_api_key}
/>
</div>
{:else if webConfig.search.engine === 'serply'}
<div>
...
...
@@ -165,7 +177,10 @@
{$i18n.t('Serply API Key')}
</div>
<SensitiveInput placeholder={$i18n.t('Enter Serply API Key')} bind:value={webConfig.search.serply_api_key} />
<SensitiveInput
placeholder={$i18n.t('Enter Serply API Key')}
bind:value={webConfig.search.serply_api_key}
/>
</div>
{:else if webConfig.search.engine === 'tavily'}
<div>
...
...
@@ -173,7 +188,10 @@
{$i18n.t('Tavily API Key')}
</div>
<SensitiveInput placeholder={$i18n.t('Enter Tavily API Key')} bind:value={webConfig.search.tavily_api_key} />
<SensitiveInput
placeholder={$i18n.t('Enter Tavily API Key')}
bind:value={webConfig.search.tavily_api_key}
/>
</div>
{/if}
</div>
...
...
src/lib/components/common/SensitiveInput.svelte
View file @
a92c5381
<script lang="ts">
export let value: string;
export let placeholder =
""
;
export let placeholder =
''
;
export let readOnly = false;
export let outerClassName = 'flex flex-1';
export let inputClassName =
...
...
src/lib/i18n/locales/ar-BH/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"حذف المحادثه"
,
"Delete Chat"
:
"حذف المحادثه."
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"أحذف هذا الرابط"
,
"Delete tool?"
:
""
,
"Delete User"
:
"حذف المستخدم"
,
"Deleted {{deleteModelTag}}"
:
"{{deleteModelTag}} حذف"
,
"Deleted {{name}}"
:
"حذف {{name}}"
,
...
...
src/lib/i18n/locales/bg-BG/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"Изтриване на чат"
,
"Delete Chat"
:
"Изтриване на Чат"
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"Изтриване на този линк"
,
"Delete tool?"
:
""
,
"Delete User"
:
"Изтриване на потребител"
,
"Deleted {{deleteModelTag}}"
:
"Изтрито {{deleteModelTag}}"
,
"Deleted {{name}}"
:
"Изтрито {{име}}"
,
...
...
src/lib/i18n/locales/bn-BD/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"চ্যাট মুছে ফেলুন"
,
"Delete Chat"
:
"চ্যাট মুছে ফেলুন"
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"এই লিংক মুছে ফেলুন"
,
"Delete tool?"
:
""
,
"Delete User"
:
"ইউজার মুছে ফেলুন"
,
"Deleted {{deleteModelTag}}"
:
"{{deleteModelTag}} মুছে ফেলা হয়েছে"
,
"Deleted {{name}}"
:
"{{name}} মোছা হয়েছে"
,
...
...
src/lib/i18n/locales/ca-ES/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"Eliminar xat"
,
"Delete Chat"
:
"Eliminar xat"
,
"Delete chat?"
:
"Eliminar el xat?"
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"Eliminar aquest enllaç"
,
"Delete tool?"
:
""
,
"Delete User"
:
"Eliminar usuari"
,
"Deleted {{deleteModelTag}}"
:
"S'ha eliminat {{deleteModelTag}}"
,
"Deleted {{name}}"
:
"S'ha eliminat {{name}}"
,
...
...
src/lib/i18n/locales/ceb-PH/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"Pagtangtang sa panaghisgot"
,
"Delete Chat"
:
""
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
""
,
"Delete tool?"
:
""
,
"Delete User"
:
""
,
"Deleted {{deleteModelTag}}"
:
"{{deleteModelTag}} gipapas"
,
"Deleted {{name}}"
:
""
,
...
...
src/lib/i18n/locales/de-DE/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"Chat löschen"
,
"Delete Chat"
:
"Chat löschen"
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"diesen Link zu löschen"
,
"Delete tool?"
:
""
,
"Delete User"
:
"Benutzer löschen"
,
"Deleted {{deleteModelTag}}"
:
"{{deleteModelTag}} gelöscht"
,
"Deleted {{name}}"
:
"Gelöscht {{name}}"
,
...
...
src/lib/i18n/locales/dg-DG/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"Delete chat"
,
"Delete Chat"
:
""
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
""
,
"Delete tool?"
:
""
,
"Delete User"
:
""
,
"Deleted {{deleteModelTag}}"
:
"Deleted {{deleteModelTag}}"
,
"Deleted {{name}}"
:
""
,
...
...
src/lib/i18n/locales/en-GB/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
""
,
"Delete Chat"
:
""
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
""
,
"Delete tool?"
:
""
,
"Delete User"
:
""
,
"Deleted {{deleteModelTag}}"
:
""
,
"Deleted {{name}}"
:
""
,
...
...
src/lib/i18n/locales/en-US/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
""
,
"Delete Chat"
:
""
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
""
,
"Delete tool?"
:
""
,
"Delete User"
:
""
,
"Deleted {{deleteModelTag}}"
:
""
,
"Deleted {{name}}"
:
""
,
...
...
src/lib/i18n/locales/es-ES/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"Borrar chat"
,
"Delete Chat"
:
"Borrar Chat"
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"Borrar este enlace"
,
"Delete tool?"
:
""
,
"Delete User"
:
"Borrar Usuario"
,
"Deleted {{deleteModelTag}}"
:
"Se borró {{deleteModelTag}}"
,
"Deleted {{name}}"
:
"Eliminado {{nombre}}"
,
...
...
src/lib/i18n/locales/fa-IR/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"حذف گپ"
,
"Delete Chat"
:
"حذف گپ"
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"حذف این لینک"
,
"Delete tool?"
:
""
,
"Delete User"
:
"حذف کاربر"
,
"Deleted {{deleteModelTag}}"
:
"{{deleteModelTag}} پاک شد"
,
"Deleted {{name}}"
:
"حذف شده {{name}}"
,
...
...
src/lib/i18n/locales/fi-FI/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"Poista keskustelu"
,
"Delete Chat"
:
"Poista keskustelu"
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"poista tämä linkki"
,
"Delete tool?"
:
""
,
"Delete User"
:
"Poista käyttäjä"
,
"Deleted {{deleteModelTag}}"
:
"Poistettu {{deleteModelTag}}"
,
"Deleted {{name}}"
:
"Poistettu {{nimi}}"
,
...
...
src/lib/i18n/locales/fr-CA/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"Supprimer la discussion"
,
"Delete Chat"
:
"Supprimer la discussion"
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"supprimer ce lien"
,
"Delete tool?"
:
""
,
"Delete User"
:
"Supprimer l'utilisateur"
,
"Deleted {{deleteModelTag}}"
:
"{{deleteModelTag}} supprimé"
,
"Deleted {{name}}"
:
"Supprimé {{nom}}"
,
...
...
src/lib/i18n/locales/fr-FR/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"Supprimer le chat"
,
"Delete Chat"
:
"Supprimer le Chat"
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"supprimer ce lien"
,
"Delete tool?"
:
""
,
"Delete User"
:
"Supprimer l'Utilisateur"
,
"Deleted {{deleteModelTag}}"
:
"{{deleteModelTag}} supprimé"
,
"Deleted {{name}}"
:
"{{name}} supprimé"
,
...
...
src/lib/i18n/locales/he-IL/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"מחק צ'אט"
,
"Delete Chat"
:
"מחק צ'אט"
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"מחק את הקישור הזה"
,
"Delete tool?"
:
""
,
"Delete User"
:
"מחק משתמש"
,
"Deleted {{deleteModelTag}}"
:
"נמחק {{deleteModelTag}}"
,
"Deleted {{name}}"
:
"נמחק {{name}}"
,
...
...
src/lib/i18n/locales/hi-IN/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"चैट हटाएं"
,
"Delete Chat"
:
"चैट हटाएं"
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"इस लिंक को हटाएं"
,
"Delete tool?"
:
""
,
"Delete User"
:
"उपभोक्ता मिटायें"
,
"Deleted {{deleteModelTag}}"
:
"{{deleteModelTag}} हटा दिया गया"
,
"Deleted {{name}}"
:
"{{name}} हटा दिया गया"
,
...
...
src/lib/i18n/locales/hr-HR/translation.json
View file @
a92c5381
...
...
@@ -165,7 +165,10 @@
"Delete chat"
:
"Izbriši razgovor"
,
"Delete Chat"
:
"Izbriši razgovor"
,
"Delete chat?"
:
""
,
"Delete function?"
:
""
,
"Delete prompt?"
:
""
,
"delete this link"
:
"izbriši ovu vezu"
,
"Delete tool?"
:
""
,
"Delete User"
:
"Izbriši korisnika"
,
"Deleted {{deleteModelTag}}"
:
"Izbrisan {{deleteModelTag}}"
,
"Deleted {{name}}"
:
"Izbrisano {{name}}"
,
...
...
Prev
1
2
Next
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