Unverified Commit f28877f4 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #2801 from open-webui/dev

0.2.4
parents 11bb1a6f b673ae7a
......@@ -148,7 +148,6 @@
"Deleted {{name}}": "Удалено {{name}}",
"Description": "Описание",
"Didn't fully follow instructions": "Не полностью следул инструкциям",
"Disabled": "Отключено",
"Discover a model": "Откройте для себя модель",
"Discover a prompt": "Найти промт",
"Discover, download, and explore custom prompts": "Находите, загружайте и исследуйте настраиваемые промты",
......@@ -156,6 +155,7 @@
"Display the username instead of You in the Chat": "Отображать имя пользователя вместо 'Вы' в чате",
"Document": "Документ",
"Document Settings": "Настройки документа",
"Documentation": "",
"Documents": "Документы",
"does not make any external connections, and your data stays securely on your locally hosted server.": "не устанавливает никаких внешних соединений, и ваши данные остаются безопасно на вашем локальном сервере.",
"Don't Allow": "Не разрешать",
......@@ -178,7 +178,6 @@
"Enable Community Sharing": "Включить общий доступ к сообществу",
"Enable New Sign Ups": "Разрешить новые регистрации",
"Enable Web Search": "Включить поиск в Интернете",
"Enabled": "Включено",
"Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Убедитесь, что ваш CSV-файл включает в себя 4 столбца в следующем порядке: Имя, Электронная почта, Пароль, Роль.",
"Enter {{role}} message here": "Введите сообщение {{role}} здесь",
"Enter a detail about yourself for your LLMs to recall": "Введите детали о себе, чтобы LLMs могли запомнить",
......@@ -215,6 +214,7 @@
"Export Prompts": "Экспортировать промты",
"Failed to create API Key.": "Не удалось создать ключ API.",
"Failed to read clipboard contents": "Не удалось прочитать содержимое буфера обмена",
"Failed to update settings": "",
"February": "Февраль",
"Feel free to add specific details": "Feel free to add specific details",
"File Mode": "Режим файла",
......@@ -433,11 +433,13 @@
"Set Voice": "Установить голос",
"Settings": "Настройки",
"Settings saved successfully!": "Настройки успешно сохранены!",
"Settings updated successfully": "",
"Share": "Поделиться",
"Share Chat": "Поделиться чатом",
"Share to OpenWebUI Community": "Поделиться с сообществом OpenWebUI",
"short-summary": "краткое описание",
"Show": "Показать",
"Show Admin Details in Account Pending Overlay": "",
"Show shortcuts": "Показать клавиатурные сокращения",
"Showcased creativity": "Показать творчество",
"sidebar": "боковая панель",
......
......@@ -148,7 +148,6 @@
"Deleted {{name}}": "Избрисано {{наме}}",
"Description": "Опис",
"Didn't fully follow instructions": "Упутства нису праћена у потпуности",
"Disabled": "Онемогућено",
"Discover a model": "Откријте модел",
"Discover a prompt": "Откриј упит",
"Discover, download, and explore custom prompts": "Откријте, преузмите и истражите прилагођене упите",
......@@ -156,6 +155,7 @@
"Display the username instead of You in the Chat": "Прикажи корисничко име уместо Ти у чату",
"Document": "Документ",
"Document Settings": "Подешавања документа",
"Documentation": "",
"Documents": "Документи",
"does not make any external connections, and your data stays securely on your locally hosted server.": "не отвара никакве спољне везе и ваши подаци остају сигурно на вашем локално хостованом серверу.",
"Don't Allow": "Не дозволи",
......@@ -178,7 +178,6 @@
"Enable Community Sharing": "Омогући дељење заједнице",
"Enable New Sign Ups": "Омогући нове пријаве",
"Enable Web Search": "Омогући Wеб претрагу",
"Enabled": "Омогућено",
"Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Уверите се да ваша CSV датотека укључује 4 колоне у овом редоследу: Име, Е-пошта, Лозинка, Улога.",
"Enter {{role}} message here": "Унесите {{role}} поруку овде",
"Enter a detail about yourself for your LLMs to recall": "Унесите детаље за себе да ће LLMs преузимати",
......@@ -215,6 +214,7 @@
"Export Prompts": "Извези упите",
"Failed to create API Key.": "Неуспешно стварање API кључа.",
"Failed to read clipboard contents": "Неуспешно читање садржаја оставе",
"Failed to update settings": "",
"February": "Фебруар",
"Feel free to add specific details": "Слободно додајте специфичне детаље",
"File Mode": "Режим датотеке",
......@@ -432,11 +432,13 @@
"Set Voice": "Подеси глас",
"Settings": "Подешавања",
"Settings saved successfully!": "Подешавања успешно сачувана!",
"Settings updated successfully": "",
"Share": "Подели",
"Share Chat": "Подели ћаскање",
"Share to OpenWebUI Community": "Подели са OpenWebUI заједницом",
"short-summary": "кратак сажетак",
"Show": "Прикажи",
"Show Admin Details in Account Pending Overlay": "",
"Show shortcuts": "Прикажи пречице",
"Showcased creativity": "Приказана креативност",
"sidebar": "бочна трака",
......
......@@ -148,7 +148,6 @@
"Deleted {{name}}": "Borttagen {{name}}",
"Description": "Beskrivning",
"Didn't fully follow instructions": "Följde inte instruktionerna",
"Disabled": "Inaktiverad",
"Discover a model": "Upptäck en modell",
"Discover a prompt": "Upptäck en prompt",
"Discover, download, and explore custom prompts": "Upptäck, ladda ner och utforska anpassade prompts",
......@@ -156,6 +155,7 @@
"Display the username instead of You in the Chat": "Visa användarnamnet istället för du i chatten",
"Document": "Dokument",
"Document Settings": "Dokumentinställningar",
"Documentation": "",
"Documents": "Dokument",
"does not make any external connections, and your data stays securely on your locally hosted server.": "gör inga externa anslutningar, och dina data förblir säkra på din lokalt värdade server.",
"Don't Allow": "Tillåt inte",
......@@ -178,7 +178,6 @@
"Enable Community Sharing": "Aktivera community-delning",
"Enable New Sign Ups": "Aktivera nya registreringar",
"Enable Web Search": "Aktivera webbsökning",
"Enabled": "Aktiverad",
"Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Se till att din CSV-fil innehåller fyra kolumner i denna ordning: Namn, E-post, Lösenord, Roll.",
"Enter {{role}} message here": "Skriv {{role}} meddelande här",
"Enter a detail about yourself for your LLMs to recall": "Skriv en detalj om dig själv för att dina LLMs ska komma ihåg",
......@@ -215,6 +214,7 @@
"Export Prompts": "Exportera prompts",
"Failed to create API Key.": "Misslyckades med att skapa API-nyckel.",
"Failed to read clipboard contents": "Misslyckades med att läsa urklippsinnehåll",
"Failed to update settings": "",
"February": "Februar",
"Feel free to add specific details": "Förfoga att lägga till specifika detaljer",
"File Mode": "Fil-läge",
......@@ -431,11 +431,13 @@
"Set Voice": "Ange röst",
"Settings": "Inställningar",
"Settings saved successfully!": "Inställningar sparades framgångsrikt!",
"Settings updated successfully": "",
"Share": "Dela",
"Share Chat": "Dela chatt",
"Share to OpenWebUI Community": "Dela till OpenWebUI Community",
"short-summary": "kort sammanfattning",
"Show": "Visa",
"Show Admin Details in Account Pending Overlay": "",
"Show shortcuts": "Visa genvägar",
"Showcased creativity": "Visuell kreativitet",
"sidebar": "sidofält",
......
......@@ -148,7 +148,6 @@
"Deleted {{name}}": "{{name}} silindi",
"Description": "Açıklama",
"Didn't fully follow instructions": "Talimatları tam olarak takip etmedi",
"Disabled": "Devre Dışı",
"Discover a model": "Bir model keşfedin",
"Discover a prompt": "Bir prompt keşfedin",
"Discover, download, and explore custom prompts": "Özel promptları keşfedin, indirin ve inceleyin",
......@@ -156,6 +155,7 @@
"Display the username instead of You in the Chat": "Sohbet'te Siz yerine kullanıcı adını göster",
"Document": "Belge",
"Document Settings": "Belge Ayarları",
"Documentation": "",
"Documents": "Belgeler",
"does not make any external connections, and your data stays securely on your locally hosted server.": "herhangi bir harici bağlantı yapmaz ve verileriniz güvenli bir şekilde yerel olarak barındırılan sunucunuzda kalır.",
"Don't Allow": "İzin Verme",
......@@ -178,7 +178,6 @@
"Enable Community Sharing": "Topluluk Paylaşımını Etkinleştir",
"Enable New Sign Ups": "Yeni Kayıtları Etkinleştir",
"Enable Web Search": "Web Aramasını Etkinleştir",
"Enabled": "Etkin",
"Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "CSV dosyanızın şu sırayla 4 sütun içerdiğinden emin olun: İsim, E-posta, Şifre, Rol.",
"Enter {{role}} message here": "Buraya {{role}} mesajını girin",
"Enter a detail about yourself for your LLMs to recall": "LLM'lerinizin hatırlaması için kendiniz hakkında bir bilgi girin",
......@@ -215,6 +214,7 @@
"Export Prompts": "Promptları Dışa Aktar",
"Failed to create API Key.": "API Anahtarı oluşturulamadı.",
"Failed to read clipboard contents": "Pano içeriği okunamadı",
"Failed to update settings": "",
"February": "Şubat",
"Feel free to add specific details": "Spesifik ayrıntılar eklemekten çekinmeyin",
"File Mode": "Dosya Modu",
......@@ -431,11 +431,13 @@
"Set Voice": "Ses Ayarla",
"Settings": "Ayarlar",
"Settings saved successfully!": "Ayarlar başarıyla kaydedildi!",
"Settings updated successfully": "",
"Share": "Paylaş",
"Share Chat": "Sohbeti Paylaş",
"Share to OpenWebUI Community": "OpenWebUI Topluluğu ile Paylaş",
"short-summary": "kısa-özet",
"Show": "Göster",
"Show Admin Details in Account Pending Overlay": "",
"Show shortcuts": "Kısayolları göster",
"Showcased creativity": "Sergilenen yaratıcılık",
"sidebar": "kenar çubuğu",
......
......@@ -148,7 +148,6 @@
"Deleted {{name}}": "Видалено {{name}}",
"Description": "Опис",
"Didn't fully follow instructions": "Не повністю дотримувалися інструкцій",
"Disabled": "Вимкнено",
"Discover a model": "Знайдіть модель",
"Discover a prompt": "Знайти промт",
"Discover, download, and explore custom prompts": "Знайдіть, завантажте та досліджуйте налаштовані промти",
......@@ -156,6 +155,7 @@
"Display the username instead of You in the Chat": "Показувати ім'я користувача замість 'Ви' в чаті",
"Document": "Документ",
"Document Settings": "Налаштування документа",
"Documentation": "",
"Documents": "Документи",
"does not make any external connections, and your data stays securely on your locally hosted server.": "не встановлює жодних зовнішніх з'єднань, і ваші дані залишаються в безпеці на вашому локальному сервері.",
"Don't Allow": "Не дозволяти",
......@@ -178,7 +178,6 @@
"Enable Community Sharing": "Ввімкніть спільний доступ до спільноти",
"Enable New Sign Ups": "Дозволити нові реєстрації",
"Enable Web Search": "Увімкнути веб-пошук",
"Enabled": "Увімкнено",
"Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Переконайтеся, що ваш CSV-файл містить 4 колонки в такому порядку: Ім'я, Email, Пароль, Роль.",
"Enter {{role}} message here": "Введіть повідомлення {{role}} тут",
"Enter a detail about yourself for your LLMs to recall": "Введіть відомості про себе для запам'ятовування вашими LLM.",
......@@ -215,6 +214,7 @@
"Export Prompts": "Експортувати промти",
"Failed to create API Key.": "Не вдалося створити API ключ.",
"Failed to read clipboard contents": "Не вдалося прочитати вміст буфера обміну",
"Failed to update settings": "",
"February": "Лютий",
"Feel free to add specific details": "Не соромтеся додавати конкретні деталі",
"File Mode": "Файловий режим",
......@@ -433,11 +433,13 @@
"Set Voice": "Встановити голос",
"Settings": "Налаштування",
"Settings saved successfully!": "Налаштування успішно збережено!",
"Settings updated successfully": "",
"Share": "Поділитися",
"Share Chat": "Поділитися чатом",
"Share to OpenWebUI Community": "Поділитися зі спільнотою OpenWebUI",
"short-summary": "короткий зміст",
"Show": "Показати",
"Show Admin Details in Account Pending Overlay": "",
"Show shortcuts": "Показати клавіатурні скорочення",
"Showcased creativity": "Продемонстрований креатив",
"sidebar": "бокова панель",
......
......@@ -148,7 +148,6 @@
"Deleted {{name}}": "Đã xóa {{name}}",
"Description": "Mô tả",
"Didn't fully follow instructions": "Không tuân theo chỉ dẫn một cách đầy đủ",
"Disabled": "Đã vô hiệu hóa",
"Discover a model": "Khám phá model",
"Discover a prompt": "Khám phá thêm prompt mới",
"Discover, download, and explore custom prompts": "Tìm kiếm, tải về và khám phá thêm các prompt tùy chỉnh",
......@@ -156,6 +155,7 @@
"Display the username instead of You in the Chat": "Hiển thị tên người sử dụng thay vì 'Bạn' trong nội dung chat",
"Document": "Tài liệu",
"Document Settings": "Cấu hình kho tài liệu",
"Documentation": "",
"Documents": "Tài liệu",
"does not make any external connections, and your data stays securely on your locally hosted server.": "không thực hiện bất kỳ kết nối ngoài nào, và dữ liệu của bạn vẫn được lưu trữ an toàn trên máy chủ lưu trữ cục bộ của bạn.",
"Don't Allow": "Không Cho phép",
......@@ -178,7 +178,6 @@
"Enable Community Sharing": "Kích hoạt Chia sẻ Cộng đồng",
"Enable New Sign Ups": "Cho phép đăng ký mới",
"Enable Web Search": "Kích hoạt tìm kiếm Web",
"Enabled": "Đã bật",
"Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "Đảm bảo tệp CSV của bạn bao gồm 4 cột theo thứ tự sau: Name, Email, Password, Role.",
"Enter {{role}} message here": "Nhập yêu cầu của {{role}} ở đây",
"Enter a detail about yourself for your LLMs to recall": "Nhập chi tiết về bản thân của bạn để LLMs có thể nhớ",
......@@ -215,6 +214,7 @@
"Export Prompts": "Tải các prompt về máy",
"Failed to create API Key.": "Lỗi khởi tạo API Key",
"Failed to read clipboard contents": "Không thể đọc nội dung clipboard",
"Failed to update settings": "",
"February": "Tháng 2",
"Feel free to add specific details": "Mô tả chi tiết về chất lượng của câu hỏi và phương án trả lời",
"File Mode": "Chế độ Tệp văn bản",
......@@ -430,11 +430,13 @@
"Set Voice": "Đặt Giọng nói",
"Settings": "Cài đặt",
"Settings saved successfully!": "Cài đặt đã được lưu thành công!",
"Settings updated successfully": "",
"Share": "Chia sẻ",
"Share Chat": "Chia sẻ Chat",
"Share to OpenWebUI Community": "Chia sẻ đến Cộng đồng OpenWebUI",
"short-summary": "tóm tắt ngắn",
"Show": "Hiển thị",
"Show Admin Details in Account Pending Overlay": "",
"Show shortcuts": "Hiển thị phím tắt",
"Showcased creativity": "Thể hiện sự sáng tạo",
"sidebar": "thanh bên",
......
......@@ -148,7 +148,6 @@
"Deleted {{name}}": "已删除 {{name}}",
"Description": "描述",
"Didn't fully follow instructions": "没有完全遵循指令",
"Disabled": "禁用",
"Discover a model": "发现更多模型",
"Discover a prompt": "发现更多提示词",
"Discover, download, and explore custom prompts": "发现、下载并探索更多自定义提示词",
......@@ -156,6 +155,7 @@
"Display the username instead of You in the Chat": "在对话中显示用户名而不是“你”",
"Document": "文档",
"Document Settings": "文档设置",
"Documentation": "",
"Documents": "文档",
"does not make any external connections, and your data stays securely on your locally hosted server.": "不会与外部建立任何连接,您的数据会安全地存储在本地托管的服务器上。",
"Don't Allow": "不允许",
......@@ -178,7 +178,6 @@
"Enable Community Sharing": "启用分享至社区",
"Enable New Sign Ups": "允许新用户注册",
"Enable Web Search": "启用网络搜索",
"Enabled": "启用",
"Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "确保您的 CSV 文件按以下顺序包含 4 列: 姓名、邮箱地址、密码、角色。",
"Enter {{role}} message here": "在此处输入 {{role}} 信息",
"Enter a detail about yourself for your LLMs to recall": "输入 LLM 可以记住的信息",
......@@ -215,6 +214,7 @@
"Export Prompts": "导出提示词",
"Failed to create API Key.": "无法创建 API 密钥。",
"Failed to read clipboard contents": "无法读取剪贴板内容",
"Failed to update settings": "",
"February": "二月",
"Feel free to add specific details": "欢迎补充具体细节",
"File Mode": "文件模式",
......@@ -430,11 +430,13 @@
"Set Voice": "设置音色",
"Settings": "设置",
"Settings saved successfully!": "设置已保存",
"Settings updated successfully": "",
"Share": "分享",
"Share Chat": "分享对话",
"Share to OpenWebUI Community": "分享到 OpenWebUI 社区",
"short-summary": "简短总结",
"Show": "显示",
"Show Admin Details in Account Pending Overlay": "",
"Show shortcuts": "显示快捷方式",
"Showcased creativity": "显示出较强的创造力",
"sidebar": "侧边栏",
......
......@@ -148,7 +148,6 @@
"Deleted {{name}}": "已刪除 {{name}}",
"Description": "描述",
"Didn't fully follow instructions": "無法完全遵循指示",
"Disabled": "已停用",
"Discover a model": "發現新模型",
"Discover a prompt": "發現新提示詞",
"Discover, download, and explore custom prompts": "發現、下載並探索他人設置的提示詞",
......@@ -156,6 +155,7 @@
"Display the username instead of You in the Chat": "在聊天中顯示使用者名稱而不是「你」",
"Document": "文件",
"Document Settings": "文件設定",
"Documentation": "",
"Documents": "文件",
"does not make any external connections, and your data stays securely on your locally hosted server.": "不會與外部溝通,你的數據會安全地留在你的本機伺服器上。",
"Don't Allow": "不允許",
......@@ -178,7 +178,6 @@
"Enable Community Sharing": "啟用社區分享",
"Enable New Sign Ups": "允許註冊新帳號",
"Enable Web Search": "啟用網絡搜索",
"Enabled": "已啟用",
"Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "請確保你的 CSV 檔案包含這四個欄位,並按照此順序:名稱、電子郵件、密碼、角色。",
"Enter {{role}} message here": "在這裡輸入 {{role}} 訊息",
"Enter a detail about yourself for your LLMs to recall": "輸入 LLM 記憶的詳細內容",
......@@ -215,6 +214,7 @@
"Export Prompts": "匯出提示詞",
"Failed to create API Key.": "無法創建 API 金鑰。",
"Failed to read clipboard contents": "無法讀取剪貼簿內容",
"Failed to update settings": "",
"February": "2月",
"Feel free to add specific details": "請自由添加詳細內容。",
"File Mode": "檔案模式",
......@@ -430,11 +430,13 @@
"Set Voice": "設定語音",
"Settings": "設定",
"Settings saved successfully!": "成功儲存設定",
"Settings updated successfully": "",
"Share": "分享",
"Share Chat": "分享聊天",
"Share to OpenWebUI Community": "分享到 OpenWebUI 社群",
"short-summary": "簡短摘要",
"Show": "顯示",
"Show Admin Details in Account Pending Overlay": "",
"Show shortcuts": "顯示快速鍵",
"Showcased creativity": "展示創造性",
"sidebar": "側邊欄",
......
......@@ -37,6 +37,8 @@
import { getBanners } from '$lib/apis/configs';
import { getUserSettings } from '$lib/apis/users';
import Help from '$lib/components/layout/Help.svelte';
import AccountPending from '$lib/components/layout/Overlay/AccountPending.svelte';
import { error } from '@sveltejs/kit';
const i18n = getContext('i18n');
......@@ -74,7 +76,10 @@
// IndexedDB Not Found
}
const userSettings = await getUserSettings(localStorage.token);
const userSettings = await getUserSettings(localStorage.token).catch((error) => {
console.error(error);
return null;
});
if (userSettings) {
await settings.set(userSettings.ui);
......@@ -186,44 +191,7 @@
>
{#if loaded}
{#if !['user', 'admin'].includes($user.role)}
<div class="fixed w-full h-full flex z-[999]">
<div
class="absolute w-full h-full backdrop-blur-lg bg-white/10 dark:bg-gray-900/50 flex justify-center"
>
<div class="m-auto pb-10 flex flex-col justify-center">
<div class="max-w-md">
<div class="text-center dark:text-white text-2xl font-medium z-50">
Account Activation Pending<br /> Contact Admin for WebUI Access
</div>
<div class=" mt-4 text-center text-sm dark:text-gray-200 w-full">
Your account status is currently pending activation. To access the WebUI, please
reach out to the administrator. Admins can manage user statuses from the Admin
Panel.
</div>
<div class=" mt-6 mx-auto relative group w-fit">
<button
class="relative z-20 flex px-5 py-2 rounded-full bg-white border border-gray-100 dark:border-none hover:bg-gray-100 text-gray-700 transition font-medium text-sm"
on:click={async () => {
location.href = '/';
}}
>
{$i18n.t('Check Again')}
</button>
<button
class="text-xs text-center w-full mt-2 text-gray-400 underline"
on:click={async () => {
localStorage.removeItem('token');
location.href = '/auth';
}}>{$i18n.t('Sign Out')}</button
>
</div>
</div>
</div>
</div>
</div>
<AccountPending />
{:else if localDBChats.length > 0}
<div class="fixed w-full h-full flex z-50">
<div
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment