Skip to content

Commit b01c918

Browse files
committed
chore: format
1 parent fbf4f5e commit b01c918

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+112
-5
lines changed

src/app.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" type="image/png" href="/static/favicon.png" />
5+
<link rel="icon" type="image/png" href="/static/favicon.png" />
66
<link rel="icon" type="image/png" href="/static/favicon-96x96.png" sizes="96x96" />
77
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg" />
88
<link rel="shortcut icon" href="/static/favicon.ico" />
@@ -77,7 +77,6 @@
7777
}
7878
});
7979

80-
8180
function setSplashImage() {
8281
const logo = document.getElementById('logo');
8382
const isDarkMode = document.documentElement.classList.contains('dark');
@@ -99,8 +98,6 @@
9998

10099
// Runs after classes are assigned
101100
window.onload = setSplashImage;
102-
103-
104101
})();
105102
</script>
106103

src/lib/components/chat/Chat.svelte

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1940,6 +1940,18 @@
19401940
{#if $banners.length > 0 && !history.currentId && !$chatId && selectedModels.length <= 1}
19411941
<div class="absolute top-12 left-0 right-0 w-full z-30">
19421942
<div class=" flex flex-col gap-1 w-full">
1943+
{#if ($config?.license_metadata?.type ?? null) === 'trial'}
1944+
<Banner
1945+
banner={{
1946+
type: 'info',
1947+
title: 'Trial License',
1948+
content: $i18n.t(
1949+
'You are currently using a trial license. Please contact support to upgrade your license.'
1950+
)
1951+
}}
1952+
/>
1953+
{/if}
1954+
19431955
{#if ($config?.license_metadata?.seats ?? null) !== null && $config?.user_count > $config?.license_metadata?.seats}
19441956
<Banner
19451957
banner={{

src/lib/components/chat/Placeholder.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
($i18n.language === 'dg-DG'
127127
? `/doge.png`
128128
: `${WEBUI_BASE_URL}/static/favicon.png`)}
129-
class=" size-9 @sm:size-10 rounded-full border-[1px] border-gray-200 dark:border-none"
129+
class=" size-9 @sm:size-10 rounded-full border-[1px] border-gray-100 dark:border-none"
130130
alt="logo"
131131
draggable="false"
132132
/>

src/lib/i18n/locales/ar-BH/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@
450450
"Example: mail": "",
451451
"Example: ou=users,dc=foo,dc=example": "",
452452
"Example: sAMAccountName or uid or userPrincipalName": "",
453+
"Exceeded the number of seats in your license. Please contact support to increase the number of seats.": "",
453454
"Exclude": "",
454455
"Execute code for analysis": "",
455456
"Expand": "",
@@ -1157,6 +1158,7 @@
11571158
"Write your model template content here": "",
11581159
"Yesterday": "أمس",
11591160
"You": "انت",
1161+
"You are currently using a trial license. Please contact support to upgrade your license.": "",
11601162
"You can only chat with a maximum of {{maxCount}} file(s) at a time.": "",
11611163
"You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "",
11621164
"You cannot upload an empty file.": "",

src/lib/i18n/locales/bg-BG/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@
450450
"Example: mail": "Пример: поща",
451451
"Example: ou=users,dc=foo,dc=example": "Пример: ou=users,dc=foo,dc=example",
452452
"Example: sAMAccountName or uid or userPrincipalName": "Пример: sAMAccountName или uid или userPrincipalName",
453+
"Exceeded the number of seats in your license. Please contact support to increase the number of seats.": "",
453454
"Exclude": "Изключи",
454455
"Execute code for analysis": "Изпълнете код за анализ",
455456
"Expand": "",
@@ -1157,6 +1158,7 @@
11571158
"Write your model template content here": "Напишете съдържанието на вашия шаблон за модел тук",
11581159
"Yesterday": "вчера",
11591160
"You": "Вие",
1161+
"You are currently using a trial license. Please contact support to upgrade your license.": "",
11601162
"You can only chat with a maximum of {{maxCount}} file(s) at a time.": "Можете да чатите с максимум {{maxCount}} файл(а) наведнъж.",
11611163
"You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "Можете да персонализирате взаимодействията си с LLM-и, като добавите спомени чрез бутона 'Управление' по-долу, правейки ги по-полезни и съобразени с вас.",
11621164
"You cannot upload an empty file.": "Не можете да качите празен файл.",

src/lib/i18n/locales/bn-BD/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@
450450
"Example: mail": "",
451451
"Example: ou=users,dc=foo,dc=example": "",
452452
"Example: sAMAccountName or uid or userPrincipalName": "",
453+
"Exceeded the number of seats in your license. Please contact support to increase the number of seats.": "",
453454
"Exclude": "",
454455
"Execute code for analysis": "",
455456
"Expand": "",
@@ -1157,6 +1158,7 @@
11571158
"Write your model template content here": "",
11581159
"Yesterday": "আগামী",
11591160
"You": "আপনি",
1161+
"You are currently using a trial license. Please contact support to upgrade your license.": "",
11601162
"You can only chat with a maximum of {{maxCount}} file(s) at a time.": "",
11611163
"You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "",
11621164
"You cannot upload an empty file.": "",

src/lib/i18n/locales/ca-ES/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@
450450
"Example: mail": "Exemple: mail",
451451
"Example: ou=users,dc=foo,dc=example": "Exemple: ou=users,dc=foo,dc=example",
452452
"Example: sAMAccountName or uid or userPrincipalName": "Exemple: sAMAccountName o uid o userPrincipalName",
453+
"Exceeded the number of seats in your license. Please contact support to increase the number of seats.": "",
453454
"Exclude": "Excloure",
454455
"Execute code for analysis": "Executa el codi per analitzar-lo",
455456
"Expand": "",
@@ -1157,6 +1158,7 @@
11571158
"Write your model template content here": "Introdueix el contingut de la plantilla del teu model aquí",
11581159
"Yesterday": "Ahir",
11591160
"You": "Tu",
1161+
"You are currently using a trial license. Please contact support to upgrade your license.": "",
11601162
"You can only chat with a maximum of {{maxCount}} file(s) at a time.": "Només pots xatejar amb un màxim de {{maxCount}} fitxers alhora.",
11611163
"You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "Pots personalitzar les teves interaccions amb els models de llenguatge afegint memòries mitjançant el botó 'Gestiona' que hi ha a continuació, fent-les més útils i adaptades a tu.",
11621164
"You cannot upload an empty file.": "No es pot pujar un ariux buit.",

src/lib/i18n/locales/ceb-PH/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@
450450
"Example: mail": "",
451451
"Example: ou=users,dc=foo,dc=example": "",
452452
"Example: sAMAccountName or uid or userPrincipalName": "",
453+
"Exceeded the number of seats in your license. Please contact support to increase the number of seats.": "",
453454
"Exclude": "",
454455
"Execute code for analysis": "",
455456
"Expand": "",
@@ -1157,6 +1158,7 @@
11571158
"Write your model template content here": "",
11581159
"Yesterday": "",
11591160
"You": "",
1161+
"You are currently using a trial license. Please contact support to upgrade your license.": "",
11601162
"You can only chat with a maximum of {{maxCount}} file(s) at a time.": "",
11611163
"You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "",
11621164
"You cannot upload an empty file.": "",

src/lib/i18n/locales/cs-CZ/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@
450450
"Example: mail": "",
451451
"Example: ou=users,dc=foo,dc=example": "",
452452
"Example: sAMAccountName or uid or userPrincipalName": "",
453+
"Exceeded the number of seats in your license. Please contact support to increase the number of seats.": "",
453454
"Exclude": "Vyloučit",
454455
"Execute code for analysis": "",
455456
"Expand": "",
@@ -1157,6 +1158,7 @@
11571158
"Write your model template content here": "",
11581159
"Yesterday": "Včera",
11591160
"You": "Vy",
1161+
"You are currently using a trial license. Please contact support to upgrade your license.": "",
11601162
"You can only chat with a maximum of {{maxCount}} file(s) at a time.": "Můžete komunikovat pouze s maximálně {{maxCount}} soubor(y) najednou.",
11611163
"You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "Můžete personalizovat své interakce s LLM pomocí přidávání vzpomínek prostřednictvím tlačítka 'Spravovat' níže, což je učiní pro vás užitečnějšími a lépe přizpůsobenými.",
11621164
"You cannot upload an empty file.": "Nemůžete nahrát prázdný soubor.",

src/lib/i18n/locales/da-DK/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@
450450
"Example: mail": "",
451451
"Example: ou=users,dc=foo,dc=example": "",
452452
"Example: sAMAccountName or uid or userPrincipalName": "",
453+
"Exceeded the number of seats in your license. Please contact support to increase the number of seats.": "",
453454
"Exclude": "",
454455
"Execute code for analysis": "",
455456
"Expand": "",
@@ -1157,6 +1158,7 @@
11571158
"Write your model template content here": "",
11581159
"Yesterday": "I går",
11591160
"You": "Du",
1161+
"You are currently using a trial license. Please contact support to upgrade your license.": "",
11601162
"You can only chat with a maximum of {{maxCount}} file(s) at a time.": "Du kan kun chatte med maksimalt {{maxCount}} fil(er) ad gangen.",
11611163
"You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "Du kan personliggøre dine interaktioner med LLM'er ved at tilføje minder via knappen 'Administrer' nedenfor, hvilket gør dem mere nyttige og skræddersyet til dig.",
11621164
"You cannot upload an empty file.": "",

0 commit comments

Comments
 (0)