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

Merge pull request #3159 from open-webui/dev

0.3.5
parents 162643a4 4559c8af
......@@ -42,6 +42,7 @@
"Allow": "Разрешить",
"Allow Chat Deletion": "Дозволять удаление чат",
"Allow non-local voices": "",
"Allow User Location": "",
"alphanumeric characters and hyphens": "буквенно цифровые символы и дефисы",
"Already have an account?": "у вас уже есть аккаунт?",
"an assistant": "ассистент",
......@@ -69,6 +70,7 @@
"Bad Response": "Недопустимый ответ",
"Banners": "Баннеры",
"Base Model (From)": "Базовая модель (от)",
"Batch Size (num_batch)": "",
"before": "до",
"Being lazy": "ленивый",
"Brave Search API Key": "Ключ API поиска Brave",
......@@ -160,6 +162,7 @@
"Discover, download, and explore custom prompts": "Находите, загружайте и исследуйте настраиваемые промты",
"Discover, download, and explore model presets": "Находите, загружайте и исследуйте предустановки модели",
"Dismissible": "",
"Display Emoji in Call": "",
"Display the username instead of You in the Chat": "Отображать имя пользователя вместо 'Вы' в чате",
"Document": "Документ",
"Document Settings": "Настройки документа",
......@@ -176,6 +179,7 @@
"e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "например, '30с','10м'. Допустимые единицы времени: 'с', 'м', 'ч'.",
"Edit": "Редактировать",
"Edit Doc": "Редактировать документ",
"Edit Memory": "",
"Edit User": "Редактировать пользователя",
"Email": "Электронная почта",
"Embedding Batch Size": "",
......@@ -205,6 +209,7 @@
"Enter Serply API Key": "",
"Enter Serpstack API Key": "Введите ключ API Serpstack",
"Enter stop sequence": "Введите последовательность остановки",
"Enter Tavily API Key": "",
"Enter Top K": "Введите Top K",
"Enter URL (e.g. http://127.0.0.1:7860/)": "Введите URL-адрес (например, http://127.0.0.1:7860/)",
"Enter URL (e.g. http://localhost:11434)": "Введите URL-адрес (например, http://localhost:11434)",
......@@ -280,6 +285,7 @@
"Knowledge": "",
"Language": "Язык",
"Last Active": "Последний активный",
"Last Modified": "",
"Light": "Светлый",
"Listening...": "",
"LLMs can make mistakes. Verify important information.": "LLMs могут допускать ошибки. Проверяйте важную информацию.",
......@@ -304,6 +310,7 @@
"Mirostat Tau": "Mirostat Tau",
"MMMM DD, YYYY": "DD MMMM YYYY г.",
"MMMM DD, YYYY HH:mm": "DD MMMM YYYY HH:mm",
"MMMM DD, YYYY hh:mm:ss A": "",
"Model '{{modelName}}' has been successfully downloaded.": "Модель '{{modelName}}' успешно загружена.",
"Model '{{modelTag}}' is already in queue for downloading.": "Модель '{{modelTag}}' уже находится в очереди на загрузку.",
"Model {{modelId}} not found": "Модель {{modelId}} не найдена",
......@@ -490,6 +497,8 @@
"System": "Система",
"System Prompt": "Системный промпт",
"Tags": "Теги",
"Tap to interrupt": "",
"Tavily API Key": "",
"Tell us more:": "Пожалуйста, расскажите нам больше:",
"Temperature": "Температура",
"Template": "Шаблон",
......@@ -520,6 +529,7 @@
"Today": "Сегодня",
"Toggle settings": "Переключить настройки",
"Toggle sidebar": "Переключить боковую панель",
"Tokens To Keep On Context Refresh (num_keep)": "",
"Tools": "",
"Top K": "Top K",
"Top P": "Top P",
......@@ -531,8 +541,10 @@
"Type Hugging Face Resolve (Download) URL": "Введите URL-адрес Hugging Face Resolve (загрузки)",
"Uh-oh! There was an issue connecting to {{provider}}.": "Упс! Возникла проблема подключения к {{provider}}.",
"Unknown File Type '{{file_type}}', but accepting and treating as plain text": "Неизвестный тип файла '{{file_type}}', но принимается и обрабатывается как обычный текст",
"Update": "",
"Update and Copy Link": "Обновить и скопировать ссылку",
"Update password": "Обновить пароль",
"Updated at": "",
"Upload a GGUF model": "Загрузить модель GGUF",
"Upload Files": "Загрузка файлов",
"Upload Pipeline": "",
......
......@@ -42,6 +42,7 @@
"Allow": "Дозволи",
"Allow Chat Deletion": "Дозволи брисање ћаскања",
"Allow non-local voices": "",
"Allow User Location": "",
"alphanumeric characters and hyphens": "алфанумерички знакови и цртице",
"Already have an account?": "Већ имате налог?",
"an assistant": "помоћник",
......@@ -69,6 +70,7 @@
"Bad Response": "Лош одговор",
"Banners": "Барјаке",
"Base Model (From)": "Основни модел (од)",
"Batch Size (num_batch)": "",
"before": "пре",
"Being lazy": "Бити лењ",
"Brave Search API Key": "Апи кључ за храбру претрагу",
......@@ -160,6 +162,7 @@
"Discover, download, and explore custom prompts": "Откријте, преузмите и истражите прилагођене упите",
"Discover, download, and explore model presets": "Откријте, преузмите и истражите образце модела",
"Dismissible": "",
"Display Emoji in Call": "",
"Display the username instead of You in the Chat": "Прикажи корисничко име уместо Ти у чату",
"Document": "Документ",
"Document Settings": "Подешавања документа",
......@@ -176,6 +179,7 @@
"e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "нпр. '30s', '10m'. Важеће временске јединице су 's', 'm', 'h'.",
"Edit": "Уреди",
"Edit Doc": "Уреди документ",
"Edit Memory": "",
"Edit User": "Уреди корисника",
"Email": "Е-пошта",
"Embedding Batch Size": "",
......@@ -205,6 +209,7 @@
"Enter Serply API Key": "",
"Enter Serpstack API Key": "Унесите Серпстацк АПИ кључ",
"Enter stop sequence": "Унесите секвенцу заустављања",
"Enter Tavily API Key": "",
"Enter Top K": "Унесите Топ К",
"Enter URL (e.g. http://127.0.0.1:7860/)": "Унесите адресу (нпр. http://127.0.0.1:7860/)",
"Enter URL (e.g. http://localhost:11434)": "Унесите адресу (нпр. http://localhost:11434)",
......@@ -280,6 +285,7 @@
"Knowledge": "",
"Language": "Језик",
"Last Active": "Последња активност",
"Last Modified": "",
"Light": "Светла",
"Listening...": "",
"LLMs can make mistakes. Verify important information.": "ВЈМ-ови (LLM-ови) могу правити грешке. Проверите важне податке.",
......@@ -304,6 +310,7 @@
"Mirostat Tau": "Миростат Тау",
"MMMM DD, YYYY": "ММММ ДД, ГГГГ",
"MMMM DD, YYYY HH:mm": "ММММ ДД, ГГГГ ЧЧ:мм",
"MMMM DD, YYYY hh:mm:ss A": "",
"Model '{{modelName}}' has been successfully downloaded.": "Модел „{{modelName}}“ је успешно преузет.",
"Model '{{modelTag}}' is already in queue for downloading.": "Модел „{{modelTag}}“ је већ у реду за преузимање.",
"Model {{modelId}} not found": "Модел {{modelId}} није пронађен",
......@@ -489,6 +496,8 @@
"System": "Систем",
"System Prompt": "Системски упит",
"Tags": "Ознаке",
"Tap to interrupt": "",
"Tavily API Key": "",
"Tell us more:": "Реците нам више:",
"Temperature": "Температура",
"Template": "Шаблон",
......@@ -519,6 +528,7 @@
"Today": "Данас",
"Toggle settings": "Пребаци подешавања",
"Toggle sidebar": "Пребаци бочну траку",
"Tokens To Keep On Context Refresh (num_keep)": "",
"Tools": "",
"Top K": "Топ К",
"Top P": "Топ П",
......@@ -530,8 +540,10 @@
"Type Hugging Face Resolve (Download) URL": "Унесите Hugging Face Resolve (Download) адресу",
"Uh-oh! There was an issue connecting to {{provider}}.": "Упс! Дошло је до проблема при повезивању са {{provider}}.",
"Unknown File Type '{{file_type}}', but accepting and treating as plain text": "Непознат тип датотеке '{{file_type}}', али прихваћен и третиран као обичан текст",
"Update": "",
"Update and Copy Link": "Ажурирај и копирај везу",
"Update password": "Ажурирај лозинку",
"Updated at": "",
"Upload a GGUF model": "Отпреми GGUF модел",
"Upload Files": "Отпремање датотека",
"Upload Pipeline": "",
......
{
"'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' eller '-1' för ingen utgång.",
"'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' eller '-1' för inget utgångsdatum",
"(Beta)": "(Beta)",
"(e.g. `sh webui.sh --api`)": "(t.ex. `sh webui.sh --api`)",
"(latest)": "(senaste)",
......@@ -12,15 +12,15 @@
"a user": "en användare",
"About": "Om",
"Account": "Konto",
"Account Activation Pending": "",
"Account Activation Pending": "Kontoaktivering väntar",
"Accurate information": "Exakt information",
"Active Users": "",
"Active Users": "Aktiva användare",
"Add": "Lägg till",
"Add a model id": "Lägga till ett modell-ID",
"Add a short description about what this model does": "Lägg till en kort beskrivning av vad den här modellen gör",
"Add a short title for this prompt": "Lägg till en kort titel för denna prompt",
"Add a short title for this prompt": "Lägg till en kort titel för denna instruktion",
"Add a tag": "Lägg till en tagg",
"Add custom prompt": "Lägg till en anpassad prompt",
"Add custom prompt": "Lägg till en anpassad instruktion",
"Add Docs": "Lägg till dokument",
"Add Files": "Lägg till filer",
"Add Memory": "Lägg till minne",
......@@ -30,10 +30,10 @@
"Add User": "Lägg till användare",
"Adjusting these settings will apply changes universally to all users.": "Justering av dessa inställningar kommer att tillämpa ändringar universellt för alla användare.",
"admin": "administratör",
"Admin": "",
"Admin": "Admin",
"Admin Panel": "Administrationspanel",
"Admin Settings": "Administratörsinställningar",
"Admins have access to all tools at all times; users need tools assigned per model in the workspace.": "",
"Admins have access to all tools at all times; users need tools assigned per model in the workspace.": "Administratörer har tillgång till alla verktyg hela tiden, medan användare behöver verktyg som tilldelas per modell i arbetsytan.",
"Advanced Parameters": "Avancerade parametrar",
"Advanced Params": "Avancerade parametrar",
"all": "alla",
......@@ -41,7 +41,8 @@
"All Users": "Alla användare",
"Allow": "Tillåt",
"Allow Chat Deletion": "Tillåt chattborttagning",
"Allow non-local voices": "",
"Allow non-local voices": "Tillåt icke-lokala röster",
"Allow User Location": "",
"alphanumeric characters and hyphens": "alfanumeriska tecken och bindestreck",
"Already have an account?": "Har du redan ett konto?",
"an assistant": "en assistent",
......@@ -51,7 +52,7 @@
"API Key": "API-nyckel",
"API Key created.": "API-nyckel skapad.",
"API keys": "API-nycklar",
"April": "April",
"April": "april",
"Archive": "Arkiv",
"Archive All Chats": "Arkivera alla chattar",
"Archived Chats": "Arkiverade chattar",
......@@ -60,7 +61,7 @@
"Attach file": "Bifoga fil",
"Attention to detail": "Detaljerad uppmärksamhet",
"Audio": "Ljud",
"August": "Augusti",
"August": "augusti",
"Auto-playback response": "Automatisk uppspelning",
"AUTOMATIC1111 Base URL": "AUTOMATIC1111 bas-URL",
"AUTOMATIC1111 Base URL is required.": "AUTOMATIC1111 bas-URL krävs.",
......@@ -68,16 +69,17 @@
"Back": "Tillbaka",
"Bad Response": "Felaktig respons",
"Banners": "Banners",
"Base Model (From)": "Basmodell (från)",
"before": "før",
"Base Model (From)": "Basmodell (Från)",
"Batch Size (num_batch)": "Batchstorlek (num_batch)",
"before": "för",
"Being lazy": "Lägg till",
"Brave Search API Key": "API-nyckel för modig sökning",
"Brave Search API Key": "API-nyckel för Brave Search",
"Bypass SSL verification for Websites": "Kringgå SSL-verifiering för webbplatser",
"Call": "",
"Call feature is not supported when using Web STT engine": "",
"Camera": "",
"Call": "Samtal",
"Call feature is not supported when using Web STT engine": "Samtalsfunktionen är inte kompatibel med Web Tal-till-text motor",
"Camera": "Kamera",
"Cancel": "Avbryt",
"Capabilities": "Kapacitet",
"Capabilities": "Kapaciteter",
"Change Password": "Ändra lösenord",
"Chat": "Chatt",
"Chat Bubble UI": "Chatbubblar UI",
......@@ -93,12 +95,12 @@
"Chunk Params": "Chunk-parametrar",
"Chunk Size": "Chunk-storlek",
"Citation": "Citat",
"Clear memory": "",
"Clear memory": "Rensa minnet",
"Click here for help.": "Klicka här för hjälp.",
"Click here to": "Klicka här för att",
"Click here to select": "Klicka här för att välja",
"Click here to select a csv file.": "Klicka här för att välja en csv-fil.",
"Click here to select a py file.": "",
"Click here to select a py file.": "Klicka här för att välja en python-fil.",
"Click here to select documents.": "Klicka här för att välja dokument.",
"click here.": "klicka här.",
"Click on the user role button to change a user's role.": "Klicka på knappen för användarroll för att ändra en användares roll.",
......@@ -109,10 +111,10 @@
"ComfyUI Base URL": "ComfyUI Base URL",
"ComfyUI Base URL is required.": "ComfyUI Base URL krävs.",
"Command": "Kommando",
"Concurrent Requests": "Samtidiga begäranden",
"Concurrent Requests": "Parallella anrop",
"Confirm Password": "Bekräfta lösenord",
"Connections": "Anslutningar",
"Contact Admin for WebUI Access": "",
"Contact Admin for WebUI Access": "Kontakta administratören för att få åtkomst till WebUI",
"Content": "Innehåll",
"Context Length": "Kontextlängd",
"Continue Response": "Fortsätt svar",
......@@ -133,15 +135,15 @@
"Custom": "Anpassad",
"Customize models for a specific purpose": "Anpassa modeller för ett specifikt syfte",
"Dark": "Mörk",
"Dashboard": "",
"Dashboard": "Instrumentpanel",
"Database": "Databas",
"December": "December",
"December": "december",
"Default": "Standard",
"Default (Automatic1111)": "Standard (Automatic1111)",
"Default (SentenceTransformers)": "Standard (SentenceTransformers)",
"Default Model": "Standardmodell",
"Default model updated": "Standardmodell uppdaterad",
"Default Prompt Suggestions": "Standardpromptförslag",
"Default Prompt Suggestions": "Standardinstruktionsförslag",
"Default User Role": "Standardanvändarroll",
"delete": "radera",
"Delete": "Radera",
......@@ -156,42 +158,44 @@
"Description": "Beskrivning",
"Didn't fully follow instructions": "Följde inte instruktionerna",
"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",
"Discover a prompt": "Upptäck en instruktion",
"Discover, download, and explore custom prompts": "Upptäck, ladda ner och utforska anpassade instruktioner",
"Discover, download, and explore model presets": "Upptäck, ladda ner och utforska modellförinställningar",
"Dismissible": "",
"Dismissible": "Kan stängas",
"Display Emoji in Call": "Visa Emoji under samtal",
"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": "",
"Documentation": "Dokumentation",
"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",
"Don't have an account?": "Har du inte ett konto?",
"Don't like the style": "Du tycker inte om utseendet",
"Don't have an account?": "Har du inget konto?",
"Don't like the style": "Tycker inte om utseendet",
"Download": "Ladda ner",
"Download canceled": "Nedladdning avbruten",
"Download Database": "Ladda ner databas",
"Drop any files here to add to the conversation": "Släpp filer här för att lägga till i konversationen",
"Drop any files here to add to the conversation": "Släpp filer här för att lägga till i samtalet",
"e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "t.ex. '30s', '10m'. Giltiga tidsenheter är 's', 'm', 'h'.",
"Edit": "Redigera",
"Edit Doc": "Redigera dokument",
"Edit Memory": "",
"Edit User": "Redigera användare",
"Email": "E-post",
"Embedding Batch Size": "",
"Embedding Model": "Embeddingsmodell",
"Embedding Model Engine": "Embeddingsmodellmotor",
"Embedding model set to \"{{embedding_model}}\"": "Embeddingsmodell inställd på \"{{embedding_model}}\"",
"Embedding Batch Size": "Batchstorlek för inbäddning",
"Embedding Model": "Inbäddningsmodell",
"Embedding Model Engine": "Motor för inbäddningsmodell",
"Embedding model set to \"{{embedding_model}}\"": "Inbäddningsmodell inställd på \"{{embedding_model}}\"",
"Enable Chat History": "Aktivera chatthistorik",
"Enable Community Sharing": "Aktivera community-delning",
"Enable New Sign Ups": "Aktivera nya registreringar",
"Enable Web Search": "Aktivera webbsökning",
"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.",
"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: Name, Email, Password, Role.",
"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",
"Enter Brave Search API Key": "Ange API-nyckel för modig sökning",
"Enter Chunk Overlap": "Ange Chunk-överlappning",
"Enter Chunk Size": "Ange Chunk-storlek",
"Enter Brave Search API Key": "Ange API-nyckel för Brave Search",
"Enter Chunk Overlap": "Ange chunköverlappning",
"Enter Chunk Size": "Ange chunkstorlek",
"Enter Github Raw URL": "Ange Github Raw URL",
"Enter Google PSE API Key": "Ange Google PSE API-nyckel",
"Enter Google PSE Engine Id": "Ange Google PSE Engine Id",
......@@ -199,12 +203,13 @@
"Enter language codes": "Skriv språkkoder",
"Enter model tag (e.g. {{modelTag}})": "Ange modelltagg (t.ex. {{modelTag}})",
"Enter Number of Steps (e.g. 50)": "Ange antal steg (t.ex. 50)",
"Enter Score": "Ange poäng",
"Enter Score": "Ange betyg",
"Enter Searxng Query URL": "Ange Searxng Query URL",
"Enter Serper API Key": "Ange Serper API-nyckel",
"Enter Serply API Key": "",
"Enter Serply API Key": "Ange Serply API-nyckel",
"Enter Serpstack API Key": "Ange Serpstack API-nyckel",
"Enter stop sequence": "Ange stoppsekvens",
"Enter Tavily API Key": "",
"Enter Top K": "Ange Top K",
"Enter URL (e.g. http://127.0.0.1:7860/)": "Ange URL (t.ex. http://127.0.0.1:7860/)",
"Enter URL (e.g. http://localhost:11434)": "Ange URL (t.ex. http://localhost:11434)",
......@@ -216,38 +221,38 @@
"Experimental": "Experimentell",
"Export": "Export",
"Export All Chats (All Users)": "Exportera alla chattar (alla användare)",
"Export chat (.json)": "",
"Export chat (.json)": "Exportera chatt (.json)",
"Export Chats": "Exportera chattar",
"Export Documents Mapping": "Exportera dokumentmappning",
"Export Models": "Exportera modeller",
"Export Prompts": "Exportera prompts",
"Export Tools": "",
"External Models": "",
"Export Prompts": "Exportera instruktioner",
"Export Tools": "Exportera verktyg",
"External Models": "Externa modeller",
"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",
"Failed to update settings": "Misslyckades med att uppdatera inställningarna",
"February": "februari",
"Feel free to add specific details": "Tveka inte att lägga till specifika detaljer",
"File Mode": "Fil-läge",
"File not found.": "Fil hittades inte.",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Fingeravtrycksmanipulering upptäckt: Kan inte använda initialer som avatar. Återställning till standardprofilbild.",
"Fluidly stream large external response chunks": "Flytande ström stora externa svarsblock",
"Focus chat input": "Fokusera chattindata",
"Fluidly stream large external response chunks": "Strömma flytande stora externa svarschunks",
"Focus chat input": "Fokusera chattfältet",
"Followed instructions perfectly": "Följde instruktionerna perfekt",
"Format your variables using square brackets like this:": "Formatera dina variabler med hakparenteser så här:",
"Frequency Penalty": "Straff för frekvens",
"General": "Allmän",
"General Settings": "Allmänna inställningar",
"Generate Image": "",
"Generating search query": "Generera sökfråga",
"Generation Info": "Generasjon Info",
"Generate Image": "Generera bild",
"Generating search query": "Genererar sökfråga",
"Generation Info": "Info om generation",
"Good Response": "Bra svar",
"Google PSE API Key": "Google PSE API-nyckel",
"Google PSE Engine Id": "Google PSE Engine Id",
"h:mm a": "h:mm a",
"has no conversations.": "har ingen samtaler.",
"has no conversations.": "har inga samtal.",
"Hello, {{name}}": "Hej, {{name}}",
"Help": "Hjelp",
"Help": "Hjälp",
"Hide": "Dölj",
"How can I help you today?": "Hur kan jag hjälpa dig idag?",
"Hybrid Search": "Hybrid sökning",
......@@ -258,52 +263,54 @@
"Import Chats": "Importera chattar",
"Import Documents Mapping": "Importera dokumentmappning",
"Import Models": "Importera modeller",
"Import Prompts": "Importera prompts",
"Import Tools": "",
"Include `--api` flag when running stable-diffusion-webui": "Inkludera `--api`-flagga när du kör stabil-diffusion-webui",
"Import Prompts": "Importera instruktioner",
"Import Tools": "Importera verktyg",
"Include `--api` flag when running stable-diffusion-webui": "Inkludera flaggan `--api` när du kör stable-diffusion-webui",
"Info": "Information",
"Input commands": "Indatakommandon",
"Install from Github URL": "Installera från Github-URL",
"Instant Auto-Send After Voice Transcription": "",
"Instant Auto-Send After Voice Transcription": "Skicka automatiskt efter rösttranskribering",
"Interface": "Gränssnitt",
"Invalid Tag": "Ogiltig tagg",
"January": "januar",
"January": "januari",
"join our Discord for help.": "gå med i vår Discord för hjälp.",
"JSON": "JSON",
"JSON Preview": "Förhandsversion av JSON",
"July": "juli",
"June": "juni",
"JWT Expiration": "JWT-utgång",
"JWT Expiration": "JWT-utgångsdatum",
"JWT Token": "JWT-token",
"Keep Alive": "Håll vid liv",
"Keep Alive": "Keep Alive",
"Keyboard shortcuts": "Tangentbordsgenvägar",
"Knowledge": "",
"Knowledge": "Kunskap",
"Language": "Språk",
"Last Active": "Senast aktiv",
"Last Modified": "",
"Light": "Ljus",
"Listening...": "",
"LLMs can make mistakes. Verify important information.": "LLM:er kan göra misstag. Verifiera viktig information.",
"Local Models": "",
"Listening...": "Lyssnar...",
"LLMs can make mistakes. Verify important information.": "LLM:er kan göra misstag. Granska viktig information.",
"Local Models": "Lokala modeller",
"LTR": "LTR",
"Made by OpenWebUI Community": "Skapad av OpenWebUI Community",
"Make sure to enclose them with": "Se till att bifoga dem med",
"Manage": "",
"Manage": "Hantera",
"Manage Models": "Hantera modeller",
"Manage Ollama Models": "Hantera Ollama-modeller",
"Manage Pipelines": "Hantera pipelines",
"Manage Pipelines": "Hantera rörledningar",
"March": "mars",
"Max Tokens (num_predict)": "Maximalt antal polletter (num_predict)",
"Max Tokens (num_predict)": "Maximalt antal tokens (num_predict)",
"Maximum of 3 models can be downloaded simultaneously. Please try again later.": "Högst 3 modeller kan laddas ner samtidigt. Vänligen försök igen senare.",
"May": "mai",
"Memories accessible by LLMs will be shown here.": "Minnen som kan komma ihåg av LLM:er kommer att visas här.",
"May": "maj",
"Memories accessible by LLMs will be shown here.": "Minnen som LLM:er kan komma åt visas här.",
"Memory": "Minnen",
"Messages you send after creating your link won't be shared. Users with the URL will be able to view the shared chat.": "Meddelanden du skickar efter att ha skapat din länk kommer inte att delas. Användare med URL:en kommer att kunna se delad chatt.",
"Minimum Score": "Minimum poäng",
"Minimum Score": "Tröskel",
"Mirostat": "Mirostat",
"Mirostat Eta": "Mirostat Eta",
"Mirostat Tau": "Mirostat Tau",
"MMMM DD, YYYY": "MMMM DD, ÅÅÅÅ",
"MMMM DD, YYYY HH:mm": "MMMM DD, ÅÅÅÅ HH:mm",
"MMMM DD, YYYY": "MMMM DD, YYYY",
"MMMM DD, YYYY HH:mm": "MMMM DD, YYYY HH:mm",
"MMMM DD, YYYY hh:mm:ss A": "",
"Model '{{modelName}}' has been successfully downloaded.": "Modellen '{{modelName}}' har laddats ner framgångsrikt.",
"Model '{{modelTag}}' is already in queue for downloading.": "Modellen '{{modelTag}}' är redan i kö för nedladdning.",
"Model {{modelId}} not found": "Modell {{modelId}} hittades inte",
......@@ -314,7 +321,7 @@
"Model not selected": "Modell inte vald",
"Model Params": "Modell Params",
"Model Whitelisting": "Modellens vitlista",
"Model(s) Whitelisted": "Modell(er) vitlistade",
"Model(s) Whitelisted": "Vitlistade modeller",
"Modelfile Content": "Modelfilens innehåll",
"Models": "Modeller",
"More": "Mer",
......@@ -323,24 +330,24 @@
"Name your model": "Namnge din modell",
"New Chat": "Ny chatt",
"New Password": "Nytt lösenord",
"No documents found": "",
"No documents found": "Inga dokument hittades",
"No results found": "Inga resultat hittades",
"No search query generated": "Ingen sökfråga genererad",
"No source available": "Ingen tilgjengelig kilde",
"No source available": "Ingen tillgänglig källa",
"None": "Ingen",
"Not factually correct": "Inte faktiskt korrekt",
"Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.": "Merk: Hvis du angir en minimumspoengsum, returnerer søket bare dokumenter med en poengsum som er større enn eller lik minimumspoengsummen.",
"Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.": "Obs: Om du anger en tröskel kommer sökningen endast att returnera dokument med ett betyg som är större än eller lika med tröskeln.",
"Notifications": "Notifikationer",
"November": "november",
"num_thread (Ollama)": "num_thread (Ollama)",
"October": "oktober",
"Off": "Av",
"Okay, Let's Go!": "Okej, nu kör vi!",
"OLED Dark": "OLED mörkt",
"OLED Dark": "Mörk (OLED)",
"Ollama": "Ollama",
"Ollama API": "Ollama API",
"Ollama API disabled": "Ollama API inaktiverat",
"Ollama API is disabled": "",
"Ollama API is disabled": "Ollama API är inaktiverat",
"Ollama Version": "Ollama-version",
"On": "På",
"Only": "Endast",
......@@ -363,50 +370,50 @@
"PDF document (.pdf)": "PDF-dokument (.pdf)",
"PDF Extract Images (OCR)": "PDF Extrahera bilder (OCR)",
"pending": "väntande",
"Permission denied when accessing media devices": "",
"Permission denied when accessing microphone": "",
"Permission denied when accessing media devices": "Nekad behörighet vid åtkomst till mediaenheter",
"Permission denied when accessing microphone": "Nekad behörighet vid åtkomst till mikrofon",
"Permission denied when accessing microphone: {{error}}": "Tillstånd nekades vid åtkomst till mikrofon: {{error}}",
"Personalization": "Personalisering",
"Pipelines": "Rörledningar",
"Pipelines Valves": "Rörledningar Ventiler",
"Plain text (.txt)": "Rå text (.txt)",
"Pipelines Valves": "Ventiler för rörledningar",
"Plain text (.txt)": "Text (.txt)",
"Playground": "Lekplats",
"Positive attitude": "Positivt humör",
"Positive attitude": "Positivt inställning",
"Previous 30 days": "Föregående 30 dagar",
"Previous 7 days": "Föregående 7 dagar",
"Profile Image": "Profilbild",
"Prompt": "Prompt",
"Prompt (e.g. Tell me a fun fact about the Roman Empire)": "Prompt (t.ex. Berätta mig en rolig faktor om Romerska Imperiet)",
"Prompt Content": "Promptinnehåll",
"Prompt suggestions": "Förslag",
"Prompts": "Prompts",
"Pull \"{{searchValue}}\" from Ollama.com": "Dra \"{{searchValue}}\" från Ollama.com",
"Pull a model from Ollama.com": "Dra en modell från Ollama.com",
"Query Params": "Frågeparametrar",
"Prompt": "Instruktion",
"Prompt (e.g. Tell me a fun fact about the Roman Empire)": "Instruktion (t.ex. Berätta en kuriosa om Romerska Imperiet)",
"Prompt Content": "Instruktionens innehåll",
"Prompt suggestions": "Instruktionsförslag",
"Prompts": "Instruktioner",
"Pull \"{{searchValue}}\" from Ollama.com": "Ladda ner \"{{searchValue}}\" från Ollama.com",
"Pull a model from Ollama.com": "Ladda ner en modell från Ollama.com",
"Query Params": "Inställningar för sökfråga",
"RAG Template": "RAG-mall",
"Read Aloud": "Läs igenom",
"Record voice": "Spela in röst",
"Redirecting you to OpenWebUI Community": "Omdirigerar dig till OpenWebUI Community",
"Refer to yourself as \"User\" (e.g., \"User is learning Spanish\")": "",
"Refused when it shouldn't have": "Avvisades när det inte borde ha",
"Refer to yourself as \"User\" (e.g., \"User is learning Spanish\")": "Referera till dig själv som \"Användare\" (t.ex. \"Användaren lär sig spanska\")",
"Refused when it shouldn't have": "Avvisades när det inte borde ha gjort det",
"Regenerate": "Regenerera",
"Release Notes": "Versionsinformation",
"Remove": "Ta bort",
"Remove Model": "Ta bort modell",
"Rename": "Byt namn",
"Repeat Last N": "Upprepa senaste N",
"Request Mode": "Begär läge",
"Request Mode": "Frågeläge",
"Reranking Model": "Reranking modell",
"Reranking model disabled": "Reranking modell inaktiverad",
"Reranking model set to \"{{reranking_model}}\"": "Reranking modell inställd på \"{{reranking_model}}\"",
"Reset Upload Directory": "",
"Reset Upload Directory": "Återställ uppladdningskatalog",
"Reset Vector Storage": "Återställ vektorlager",
"Response AutoCopy to Clipboard": "Svara AutoCopy till urklipp",
"Role": "Roll",
"Rosé Pine": "Rosé Pine",
"Rosé Pine Dawn": "Rosé Pine Dawn",
"RTL": "RTL",
"Running": "",
"Running": "Kör",
"Save": "Spara",
"Save & Create": "Spara och skapa",
"Save & Update": "Spara och uppdatera",
......@@ -419,35 +426,35 @@
"Search Chats": "Sök i chattar",
"Search Documents": "Sök dokument",
"Search Models": "Sök modeller",
"Search Prompts": "Sök promptar",
"Search Query Generation Prompt": "",
"Search Query Generation Prompt Length Threshold": "",
"Search Prompts": "Sök instruktioner",
"Search Query Generation Prompt": "Instruktion för generering av sökfrågor",
"Search Query Generation Prompt Length Threshold": "Tröskelvärde för generering av sökfrågor",
"Search Result Count": "Antal sökresultat",
"Search Tools": "",
"Search Tools": "Sökverktyg",
"Searched {{count}} sites_one": "Sökte på {{count}} sites_one",
"Searched {{count}} sites_other": "Sökte på {{count}} sites_other",
"Searching \"{{searchQuery}}\"": "",
"Searching \"{{searchQuery}}\"": "Söker \"{{searchQuery}}\"",
"Searxng Query URL": "Searxng Query URL",
"See readme.md for instructions": "Se readme.md för instruktioner",
"See what's new": "Se vad som är nytt",
"Seed": "Seed",
"Select a base model": "Välj en basmodell",
"Select a engine": "",
"Select a engine": "Välj en motor",
"Select a mode": "Välj ett läge",
"Select a model": "Välj en modell",
"Select a pipeline": "Välj en pipeline",
"Select a pipeline url": "Välj en pipeline-URL",
"Select a pipeline": "Välj en rörledning",
"Select a pipeline url": "Välj en URL för rörledningen",
"Select an Ollama instance": "Välj en Ollama-instans",
"Select Documents": "",
"Select Documents": "Välj dokument",
"Select model": "Välj en modell",
"Select only one model to call": "",
"Select only one model to call": "Välj endast en modell att ringa",
"Selected model(s) do not support image inputs": "Valda modeller stöder inte bildinmatningar",
"Send": "Skicka",
"Send a Message": "Skicka ett meddelande",
"Send message": "Skicka meddelande",
"September": "september",
"Serper API Key": "Serper API-nyckel",
"Serply API Key": "",
"Serply API Key": "Serply API-nyckel",
"Serpstack API Key": "Serpstack API-nyckel",
"Server connection verified": "Serveranslutning verifierad",
"Set as default": "Ange som standard",
......@@ -460,15 +467,15 @@
"Set Voice": "Ange röst",
"Settings": "Inställningar",
"Settings saved successfully!": "Inställningar sparades framgångsrikt!",
"Settings updated successfully": "",
"Settings updated successfully": "Inställningar uppdaterades framgångsrikt",
"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 Admin Details in Account Pending Overlay": "Visa administratörsinformation till väntande konton",
"Show shortcuts": "Visa genvägar",
"Showcased creativity": "Visuell kreativitet",
"Showcased creativity": "Visade kreativitet",
"sidebar": "sidofält",
"Sign in": "Logga in",
"Sign Out": "Logga ut",
......@@ -478,16 +485,18 @@
"Speech recognition error: {{error}}": "Fel vid taligenkänning: {{error}}",
"Speech-to-Text Engine": "Tal-till-text-motor",
"Stop Sequence": "Stoppsekvens",
"STT Model": "",
"STT Settings": "STT-inställningar",
"STT Model": "Tal-till-text-modell",
"STT Settings": "Tal-till-text-inställningar",
"Submit": "Skicka in",
"Subtitle (e.g. about the Roman Empire)": "Undertext (t.ex. om Romerska Imperiet)",
"Success": "Framgång",
"Successfully updated.": "Uppdaterades framgångsrikt.",
"Suggested": "Föreslagen",
"System": "System",
"System Prompt": "Systemprompt",
"System Prompt": "Systeminstruktion",
"Tags": "Taggar",
"Tap to interrupt": "",
"Tavily API Key": "",
"Tell us more:": "Berätta mer:",
"Temperature": "Temperatur",
"Template": "Mall",
......@@ -495,48 +504,51 @@
"Text-to-Speech Engine": "Text-till-tal-motor",
"Tfs Z": "Tfs Z",
"Thanks for your feedback!": "Tack för din feedback!",
"The score should be a value between 0.0 (0%) and 1.0 (100%).": "Poäng ska vara ett värde mellan 0,0 (0%) och 1,0 (100%).",
"The score should be a value between 0.0 (0%) and 1.0 (100%).": "Betyget ska vara ett värde mellan 0.0 (0%) och 1.0 (100%).",
"Theme": "Tema",
"Thinking...": "",
"This ensures that your valuable conversations are securely saved to your backend database. Thank you!": "Detta säkerställer att dina värdefulla konversationer sparas säkert till din backend-databas. Tack!",
"This is an experimental feature, it may not function as expected and is subject to change at any time.": "",
"This ensures that your valuable conversations are securely saved to your backend database. Thank you!": "Detta säkerställer att dina värdefulla samtal sparas säkert till din backend-databas. Tack!",
"This is an experimental feature, it may not function as expected and is subject to change at any time.": "Detta är en experimentell funktion som kanske inte fungerar som förväntat och som kan komma att ändras när som helst.",
"This setting does not sync across browsers or devices.": "Denna inställning synkroniseras inte mellan webbläsare eller enheter.",
"Thorough explanation": "Djupare förklaring",
"Tip: Update multiple variable slots consecutively by pressing the tab key in the chat input after each replacement.": "Tips: Uppdatera flera variabelplatser efter varandra genom att trycka på tabb-tangenten i chattinmatningen efter varje ersättning.",
"Tip: Update multiple variable slots consecutively by pressing the tab key in the chat input after each replacement.": "Tips: Uppdatera fler variabler genom att trycka på tabb-tangenten i chattinmatningen efter varje ersättning.",
"Title": "Titel",
"Title (e.g. Tell me a fun fact)": "Tittel (f.eks. Fortell meg en fun fact)",
"Title (e.g. Tell me a fun fact)": "Titel (t.ex. Berätta en kuriosa)",
"Title Auto-Generation": "Automatisk generering av titel",
"Title cannot be an empty string.": "Tittel kan ikke være en tom streng.",
"Title Generation Prompt": "Titelgenereringsprompt",
"Title cannot be an empty string.": "Titeln får inte vara en tom sträng.",
"Title Generation Prompt": "Instruktion för titelgenerering",
"to": "till",
"To access the available model names for downloading,": "För att komma åt de tillgängliga modellnamnen för nedladdning,",
"To access the GGUF models available for downloading,": "För att komma åt de GGUF-modeller som finns tillgängliga för nedladdning,",
"To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.": "",
"To add documents here, upload them to the \"Documents\" workspace first.": "",
"To access the GGUF models available for downloading,": "För att komma åt de GGUF-modellerna som finns tillgängliga för nedladdning,",
"To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.": "För att få tillgång till WebUI, kontakta administratören. Administratörer kan hantera behörigheter från administrationspanelen.",
"To add documents here, upload them to the \"Documents\" workspace first.": "Om du vill lägga till dokument här ska du först ladda upp dem till arbetsytan \"Dokument\".",
"to chat input.": "till chattinmatning.",
"To select toolkits here, add them to the \"Tools\" workspace first.": "",
"To select toolkits here, add them to the \"Tools\" workspace first.": "Om du vill välja verktygslådor här måste du först lägga till dem i arbetsytan \"Verktyg\".",
"Today": "Idag",
"Toggle settings": "Växla inställningar",
"Toggle sidebar": "Växla sidofält",
"Tools": "",
"Tokens To Keep On Context Refresh (num_keep)": "Tokens att behålla vid kontextuppdatering (num_keep)",
"Tools": "Verktyg",
"Top K": "Topp K",
"Top P": "Topp P",
"Trouble accessing Ollama?": "Problem med att komma åt Ollama?",
"TTS Model": "",
"TTS Settings": "TTS-inställningar",
"TTS Voice": "",
"TTS Model": "Text-till-tal-modell",
"TTS Settings": "Text-till-tal-inställningar",
"TTS Voice": "Text-till-tal-röst",
"Type": "Typ",
"Type Hugging Face Resolve (Download) URL": "Skriv Hugging Face Resolve (nedladdning) URL",
"Uh-oh! There was an issue connecting to {{provider}}.": "Oj då! Det uppstod ett problem med att ansluta till {{provider}}.",
"Uh-oh! There was an issue connecting to {{provider}}.": "Oj då! Det uppstod ett problem med anslutningen till {{provider}}.",
"Unknown File Type '{{file_type}}', but accepting and treating as plain text": "Okänd filtyp '{{file_type}}', men accepterar och behandlar som vanlig text",
"Update": "",
"Update and Copy Link": "Uppdatera och kopiera länk",
"Update password": "Uppdatera lösenord",
"Updated at": "",
"Upload a GGUF model": "Ladda upp en GGUF-modell",
"Upload Files": "Ladda upp filer",
"Upload Pipeline": "",
"Upload Progress": "Uppladdningsförlopp",
"Upload Pipeline": "Ladda upp rörledning",
"Upload Progress": "Uppladdningsframsteg",
"URL Mode": "URL-läge",
"Use '#' in the prompt input to load and select your documents.": "Använd '#' i promptinmatningen för att ladda och välja dina dokument.",
"Use '#' in the prompt input to load and select your documents.": "Använd '#' i instruktionsinmatningen för att ladda och välja dina dokument.",
"Use Gravatar": "Använd Gravatar",
"Use Initials": "Använd initialer",
"use_mlock (Ollama)": "use_mlock (Ollama)",
......@@ -552,31 +564,31 @@
"Warning": "Varning",
"Warning: If you update or change your embedding model, you will need to re-import all documents.": "Varning: Om du uppdaterar eller ändrar din embedding modell måste du importera alla dokument igen.",
"Web": "Webb",
"Web API": "",
"Web API": "Webb-API",
"Web Loader Settings": "Web Loader-inställningar",
"Web Params": "Web-parametrar",
"Web Search": "Webbsökning",
"Web Search Engine": "Sökmotor på webben",
"Web Search Engine": "Webbsökmotor",
"Webhook URL": "Webhook-URL",
"WebUI Add-ons": "WebUI-tillägg",
"WebUI Settings": "WebUI-inställningar",
"WebUI will make requests to": "WebUI kommer att skicka förfrågningar till",
"What’s New in": "Vad är nytt i",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "När historiken är avstängd visas inte nya chattar i denna webbläsare i din historik på någon av dina enheter.",
"Whisper (Local)": "",
"Widescreen Mode": "",
"Workspace": "arbetsyta",
"Write a prompt suggestion (e.g. Who are you?)": "Skriv ett förslag (t.ex. Vem är du?)",
"Whisper (Local)": "Whisper (lokal)",
"Widescreen Mode": "Bredbildsläge",
"Workspace": "Arbetsyta",
"Write a prompt suggestion (e.g. Who are you?)": "Skriv ett instruktionsförslag (t.ex. Vem är du?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Skriv en sammanfattning på 50 ord som sammanfattar [ämne eller nyckelord].",
"Yesterday": "Igenom",
"You": "du",
"You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "",
"Yesterday": "Igår",
"You": "Dig",
"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 anpassa dina interaktioner med stora språkmodeller genom att lägga till minnen via knappen 'Hantera' nedan, så att de blir mer användbara och skräddarsydda för dig.",
"You cannot clone a base model": "Du kan inte klona en basmodell",
"You have no archived conversations.": "Du har inga arkiverade konversationer.",
"You have no archived conversations.": "Du har inga arkiverade samtal.",
"You have shared this chat": "Du har delat denna chatt",
"You're a helpful assistant.": "Du är en hjälpsam assistent.",
"You're now logged in.": "Du är nu inloggad.",
"Your account status is currently pending activation.": "",
"Your account status is currently pending activation.": "Ditt konto väntar på att bli aktiverat",
"Youtube": "Youtube",
"Youtube Loader Settings": "Youtube Loader-inställningar"
}
......@@ -42,6 +42,7 @@
"Allow": "",
"Allow Chat Deletion": "",
"Allow non-local voices": "",
"Allow User Location": "",
"alphanumeric characters and hyphens": "",
"Already have an account?": "",
"an assistant": "",
......@@ -69,6 +70,7 @@
"Bad Response": "",
"Banners": "",
"Base Model (From)": "",
"Batch Size (num_batch)": "",
"before": "",
"Being lazy": "",
"Brave Search API Key": "",
......@@ -160,6 +162,7 @@
"Discover, download, and explore custom prompts": "",
"Discover, download, and explore model presets": "",
"Dismissible": "",
"Display Emoji in Call": "",
"Display the username instead of You in the Chat": "",
"Document": "",
"Document Settings": "",
......@@ -176,6 +179,7 @@
"e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "",
"Edit": "",
"Edit Doc": "",
"Edit Memory": "",
"Edit User": "",
"Email": "",
"Embedding Batch Size": "",
......@@ -205,6 +209,7 @@
"Enter Serply API Key": "",
"Enter Serpstack API Key": "",
"Enter stop sequence": "",
"Enter Tavily API Key": "",
"Enter Top K": "",
"Enter URL (e.g. http://127.0.0.1:7860/)": "",
"Enter URL (e.g. http://localhost:11434)": "",
......@@ -280,6 +285,7 @@
"Knowledge": "",
"Language": "",
"Last Active": "",
"Last Modified": "",
"Light": "",
"Listening...": "",
"LLMs can make mistakes. Verify important information.": "",
......@@ -304,6 +310,7 @@
"Mirostat Tau": "",
"MMMM DD, YYYY": "",
"MMMM DD, YYYY HH:mm": "",
"MMMM DD, YYYY hh:mm:ss A": "",
"Model '{{modelName}}' has been successfully downloaded.": "",
"Model '{{modelTag}}' is already in queue for downloading.": "",
"Model {{modelId}} not found": "",
......@@ -488,6 +495,8 @@
"System": "",
"System Prompt": "",
"Tags": "",
"Tap to interrupt": "",
"Tavily API Key": "",
"Tell us more:": "",
"Temperature": "",
"Template": "",
......@@ -518,6 +527,7 @@
"Today": "",
"Toggle settings": "",
"Toggle sidebar": "",
"Tokens To Keep On Context Refresh (num_keep)": "",
"Tools": "",
"Top K": "",
"Top P": "",
......@@ -529,8 +539,10 @@
"Type Hugging Face Resolve (Download) URL": "",
"Uh-oh! There was an issue connecting to {{provider}}.": "",
"Unknown File Type '{{file_type}}', but accepting and treating as plain text": "",
"Update": "",
"Update and Copy Link": "",
"Update password": "",
"Updated at": "",
"Upload a GGUF model": "",
"Upload Files": "",
"Upload Pipeline": "",
......
......@@ -42,6 +42,7 @@
"Allow": "İzin ver",
"Allow Chat Deletion": "Sohbet Silmeye İzin Ver",
"Allow non-local voices": "Yerel olmayan seslere izin verin",
"Allow User Location": "",
"alphanumeric characters and hyphens": "alfanumerik karakterler ve tireler",
"Already have an account?": "Zaten bir hesabınız mı var?",
"an assistant": "bir asistan",
......@@ -69,6 +70,7 @@
"Bad Response": "Kötü Yanıt",
"Banners": "Afişler",
"Base Model (From)": "Temel Model ('den)",
"Batch Size (num_batch)": "",
"before": "önce",
"Being lazy": "Tembelleşiyor",
"Brave Search API Key": "Brave Search API Anahtarı",
......@@ -160,6 +162,7 @@
"Discover, download, and explore custom prompts": "Özel promptları keşfedin, indirin ve inceleyin",
"Discover, download, and explore model presets": "Model ön ayarlarını keşfedin, indirin ve inceleyin",
"Dismissible": "",
"Display Emoji in Call": "",
"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ı",
......@@ -176,6 +179,7 @@
"e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "örn. '30s', '10m'. Geçerli zaman birimleri 's', 'm', 'h'.",
"Edit": "Düzenle",
"Edit Doc": "Belgeyi Düzenle",
"Edit Memory": "",
"Edit User": "Kullanıcıyı Düzenle",
"Email": "E-posta",
"Embedding Batch Size": "Gömme Yığın Boyutu",
......@@ -205,6 +209,7 @@
"Enter Serply API Key": "",
"Enter Serpstack API Key": "Serpstack API Anahtarını Girin",
"Enter stop sequence": "Durdurma dizisini girin",
"Enter Tavily API Key": "",
"Enter Top K": "Top K'yı girin",
"Enter URL (e.g. http://127.0.0.1:7860/)": "URL'yi Girin (örn. http://127.0.0.1:7860/)",
"Enter URL (e.g. http://localhost:11434)": "URL'yi Girin (e.g. http://localhost:11434)",
......@@ -280,6 +285,7 @@
"Knowledge": "",
"Language": "Dil",
"Last Active": "Son Aktivite",
"Last Modified": "",
"Light": "Açık",
"Listening...": "",
"LLMs can make mistakes. Verify important information.": "LLM'ler hata yapabilir. Önemli bilgileri doğrulayın.",
......@@ -304,6 +310,7 @@
"Mirostat Tau": "Mirostat Tau",
"MMMM DD, YYYY": "DD MMMM YYYY",
"MMMM DD, YYYY HH:mm": "DD MMMM YYYY HH:mm",
"MMMM DD, YYYY hh:mm:ss A": "",
"Model '{{modelName}}' has been successfully downloaded.": "'{{modelName}}' başarıyla indirildi.",
"Model '{{modelTag}}' is already in queue for downloading.": "'{{modelTag}}' zaten indirme sırasında.",
"Model {{modelId}} not found": "{{modelId}} bulunamadı",
......@@ -488,6 +495,8 @@
"System": "Sistem",
"System Prompt": "Sistem Promptu",
"Tags": "Etiketler",
"Tap to interrupt": "",
"Tavily API Key": "",
"Tell us more:": "Bize daha fazlasını anlat:",
"Temperature": "Temperature",
"Template": "Şablon",
......@@ -518,6 +527,7 @@
"Today": "Bugün",
"Toggle settings": "Ayarları Aç/Kapat",
"Toggle sidebar": "Kenar Çubuğunu Aç/Kapat",
"Tokens To Keep On Context Refresh (num_keep)": "",
"Tools": "",
"Top K": "Top K",
"Top P": "Top P",
......@@ -529,8 +539,10 @@
"Type Hugging Face Resolve (Download) URL": "Hugging Face Resolve (Download) URL'sini Yazın",
"Uh-oh! There was an issue connecting to {{provider}}.": "Ah! {{provider}}'a bağlanırken bir sorun oluştu.",
"Unknown File Type '{{file_type}}', but accepting and treating as plain text": "Bilinmeyen Dosya Türü '{{file_type}}', ancak düz metin olarak kabul ediliyor ve işleniyor",
"Update": "",
"Update and Copy Link": "Güncelle ve Bağlantıyı Kopyala",
"Update password": "Parolayı Güncelle",
"Updated at": "",
"Upload a GGUF model": "Bir GGUF modeli yükle",
"Upload Files": "Dosyaları Yükle",
"Upload Pipeline": "",
......
......@@ -42,6 +42,7 @@
"Allow": "Дозволити",
"Allow Chat Deletion": "Дозволити видалення чату",
"Allow non-local voices": "Дозволити не локальні голоси",
"Allow User Location": "",
"alphanumeric characters and hyphens": "алфавітно-цифрові символи та дефіси",
"Already have an account?": "Вже є обліковий запис?",
"an assistant": "асистента",
......@@ -69,6 +70,7 @@
"Bad Response": "Неправильна відповідь",
"Banners": "Прапори",
"Base Model (From)": "Базова модель (від)",
"Batch Size (num_batch)": "",
"before": "до того, як",
"Being lazy": "Не поспішати",
"Brave Search API Key": "Ключ API пошуку Brave",
......@@ -160,6 +162,7 @@
"Discover, download, and explore custom prompts": "Знайдіть, завантажте та досліджуйте налаштовані промти",
"Discover, download, and explore model presets": "Знайдіть, завантажте та досліджуйте налаштовані налаштування моделі",
"Dismissible": "Неприйнятно",
"Display Emoji in Call": "",
"Display the username instead of You in the Chat": "Показувати ім'я користувача замість 'Ви' в чаті",
"Document": "Документ",
"Document Settings": "Налаштування документа",
......@@ -176,6 +179,7 @@
"e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "напр., '30s','10m'. Дійсні одиниці часу: 'с', 'хв', 'г'.",
"Edit": "Редагувати",
"Edit Doc": "Редагувати документ",
"Edit Memory": "",
"Edit User": "Редагувати користувача",
"Email": "Електронна пошта",
"Embedding Batch Size": "Розмір пакету під час вбудовування",
......@@ -205,6 +209,7 @@
"Enter Serply API Key": "",
"Enter Serpstack API Key": "Введіть ключ API Serpstack",
"Enter stop sequence": "Введіть символ зупинки",
"Enter Tavily API Key": "",
"Enter Top K": "Введіть Top K",
"Enter URL (e.g. http://127.0.0.1:7860/)": "Введіть URL-адресу (напр., http://127.0.0.1:7860/)",
"Enter URL (e.g. http://localhost:11434)": "Введіть URL-адресу (напр., http://localhost:11434)",
......@@ -280,6 +285,7 @@
"Knowledge": "",
"Language": "Мова",
"Last Active": "Остання активність",
"Last Modified": "",
"Light": "Світла",
"Listening...": "",
"LLMs can make mistakes. Verify important information.": "LLMs можуть помилятися. Перевірте важливу інформацію.",
......@@ -304,6 +310,7 @@
"Mirostat Tau": "Mirostat Tau",
"MMMM DD, YYYY": "MMMM DD, YYYY",
"MMMM DD, YYYY HH:mm": "MMMM DD, YYYY HH:mm",
"MMMM DD, YYYY hh:mm:ss A": "",
"Model '{{modelName}}' has been successfully downloaded.": "Модель '{{modelName}}' успішно завантажено.",
"Model '{{modelTag}}' is already in queue for downloading.": "Модель '{{modelTag}}' вже знаходиться в черзі на завантаження.",
"Model {{modelId}} not found": "Модель {{modelId}} не знайдено",
......@@ -490,6 +497,8 @@
"System": "Система",
"System Prompt": "Системний промт",
"Tags": "Теги",
"Tap to interrupt": "",
"Tavily API Key": "",
"Tell us more:": "Розкажи нам більше:",
"Temperature": "Температура",
"Template": "Шаблон",
......@@ -520,6 +529,7 @@
"Today": "Сьогодні",
"Toggle settings": "Переключити налаштування",
"Toggle sidebar": "Переключити бокову панель",
"Tokens To Keep On Context Refresh (num_keep)": "",
"Tools": "",
"Top K": "Top K",
"Top P": "Top P",
......@@ -531,8 +541,10 @@
"Type Hugging Face Resolve (Download) URL": "Введіть URL ресурсу Hugging Face Resolve (завантаження)",
"Uh-oh! There was an issue connecting to {{provider}}.": "Ой! Виникла проблема при підключенні до {{provider}}.",
"Unknown File Type '{{file_type}}', but accepting and treating as plain text": "Невідомий тип файлу '{{file_type}}', але приймається та обробляється як звичайний текст",
"Update": "",
"Update and Copy Link": "Оновлення та копіювання посилання",
"Update password": "Оновити пароль",
"Updated at": "",
"Upload a GGUF model": "Завантажити GGUF модель",
"Upload Files": "Завантажити файли",
"Upload Pipeline": "Завантаження Pipeline",
......
......@@ -42,6 +42,7 @@
"Allow": "Cho phép",
"Allow Chat Deletion": "Cho phép Xóa nội dung chat",
"Allow non-local voices": "",
"Allow User Location": "",
"alphanumeric characters and hyphens": "ký tự số và gạch nối",
"Already have an account?": "Bạn đã có tài khoản?",
"an assistant": "trợ lý",
......@@ -69,6 +70,7 @@
"Bad Response": "Trả lời KHÔNG tốt",
"Banners": "Biểu ngữ",
"Base Model (From)": "Mô hình cơ sở (từ)",
"Batch Size (num_batch)": "",
"before": "trước",
"Being lazy": "Lười biếng",
"Brave Search API Key": "Khóa API tìm kiếm dũng cảm",
......@@ -160,6 +162,7 @@
"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",
"Discover, download, and explore model presets": "Tìm kiếm, tải về và khám phá thêm các thiết lập mô hình sẵn",
"Dismissible": "Có thể loại bỏ",
"Display Emoji in Call": "",
"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",
......@@ -176,6 +179,7 @@
"e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "vd: '30s','10m'. Đơn vị thời gian hợp lệ là 's', 'm', 'h'.",
"Edit": "Chỉnh sửa",
"Edit Doc": "Thay đổi tài liệu",
"Edit Memory": "",
"Edit User": "Thay đổi thông tin người sử dụng",
"Email": "Email",
"Embedding Batch Size": "",
......@@ -205,6 +209,7 @@
"Enter Serply API Key": "Nhập Serply API Key",
"Enter Serpstack API Key": "Nhập Serpstack API Key",
"Enter stop sequence": "Nhập stop sequence",
"Enter Tavily API Key": "",
"Enter Top K": "Nhập Top K",
"Enter URL (e.g. http://127.0.0.1:7860/)": "Nhập URL (vd: http://127.0.0.1:7860/)",
"Enter URL (e.g. http://localhost:11434)": "Nhập URL (vd: http://localhost:11434)",
......@@ -280,6 +285,7 @@
"Knowledge": "Kiến thức",
"Language": "Ngôn ngữ",
"Last Active": "Truy cập gần nhất",
"Last Modified": "",
"Light": "Sáng",
"Listening...": "Đang nghe...",
"LLMs can make mistakes. Verify important information.": "Hệ thống có thể tạo ra nội dung không chính xác hoặc sai. Hãy kiểm chứng kỹ lưỡng thông tin trước khi tiếp nhận và sử dụng.",
......@@ -304,6 +310,7 @@
"Mirostat Tau": "Mirostat Tau",
"MMMM DD, YYYY": "MMMM DD, YYYY",
"MMMM DD, YYYY HH:mm": "MMMM DD, YYYY HH:mm",
"MMMM DD, YYYY hh:mm:ss A": "",
"Model '{{modelName}}' has been successfully downloaded.": "Mô hình '{{modelName}}' đã được tải xuống thành công.",
"Model '{{modelTag}}' is already in queue for downloading.": "Mô hình '{{modelTag}}' đã có trong hàng đợi để tải xuống.",
"Model {{modelId}} not found": "Không tìm thấy Mô hình {{modelId}}",
......@@ -487,6 +494,8 @@
"System": "Hệ thống",
"System Prompt": "Prompt Hệ thống (System Prompt)",
"Tags": "Thẻ",
"Tap to interrupt": "",
"Tavily API Key": "",
"Tell us more:": "Hãy cho chúng tôi hiểu thêm về chất lượng của câu trả lời:",
"Temperature": "Mức độ sáng tạo",
"Template": "Mẫu",
......@@ -517,6 +526,7 @@
"Today": "Hôm nay",
"Toggle settings": "Bật/tắt cài đặt",
"Toggle sidebar": "Bật/tắt thanh bên",
"Tokens To Keep On Context Refresh (num_keep)": "",
"Tools": "",
"Top K": "Top K",
"Top P": "Top P",
......@@ -528,8 +538,10 @@
"Type Hugging Face Resolve (Download) URL": "Nhập URL Hugging Face Resolve (Tải xuống)",
"Uh-oh! There was an issue connecting to {{provider}}.": "Ồ! Đã xảy ra sự cố khi kết nối với {{provider}}.",
"Unknown File Type '{{file_type}}', but accepting and treating as plain text": "Loại Tệp Không xác định '{{file_type}}', nhưng đang chấp nhận và xử lý như văn bản thô",
"Update": "",
"Update and Copy Link": "Cập nhật và sao chép link",
"Update password": "Cập nhật mật khẩu",
"Updated at": "",
"Upload a GGUF model": "Tải lên mô hình GGUF",
"Upload Files": "Tải tệp lên máy chủ",
"Upload Pipeline": "",
......
......@@ -33,7 +33,7 @@
"Admin": "管理员联系方式",
"Admin Panel": "管理员面板",
"Admin Settings": "管理员设置",
"Admins have access to all tools at all times; users need tools assigned per model in the workspace.": "",
"Admins have access to all tools at all times; users need tools assigned per model in the workspace.": "管理员拥有所有工具的访问权限;用户则需在工作空间中为每个模型单独分配工具。",
"Advanced Parameters": "高级参数",
"Advanced Params": "高级参数",
"all": "所有",
......@@ -42,6 +42,7 @@
"Allow": "允许",
"Allow Chat Deletion": "允许删除聊天记录",
"Allow non-local voices": "允许调用非本地音色",
"Allow User Location": "",
"alphanumeric characters and hyphens": "字母数字字符和连字符",
"Already have an account?": "已经拥有账号了?",
"an assistant": "助手",
......@@ -69,6 +70,7 @@
"Bad Response": "点踩回复",
"Banners": "公告横幅",
"Base Model (From)": "基础模型 (来自)",
"Batch Size (num_batch)": "批大小 (num_batch)",
"before": "对话",
"Being lazy": "懒惰",
"Brave Search API Key": "Brave Search API 密钥",
......@@ -160,6 +162,7 @@
"Discover, download, and explore custom prompts": "发现、下载并探索更多自定义提示词",
"Discover, download, and explore model presets": "发现、下载并探索更多模型预设",
"Dismissible": "是否可关闭",
"Display Emoji in Call": "在通话中显示 Emoji 表情符号",
"Display the username instead of You in the Chat": "在对话中显示用户名而不是“你”",
"Document": "文档",
"Document Settings": "文档设置",
......@@ -176,6 +179,7 @@
"e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "例如 '30s','10m'。有效的时间单位是秒:'s',分:'m',时:'h'。",
"Edit": "编辑",
"Edit Doc": "编辑文档",
"Edit Memory": "",
"Edit User": "编辑用户",
"Email": "电子邮箱",
"Embedding Batch Size": "嵌入层批处理大小 (Embedding Batch Size)",
......@@ -202,9 +206,10 @@
"Enter Score": "输入评分",
"Enter Searxng Query URL": "输入 Searxng 查询地址",
"Enter Serper API Key": "输入 Serper API 密钥",
"Enter Serply API Key": "",
"Enter Serply API Key": "输入 Serply API 密钥",
"Enter Serpstack API Key": "输入 Serpstack API 密钥",
"Enter stop sequence": "输入停止序列 (Stop Sequence)",
"Enter Tavily API Key": "",
"Enter Top K": "输入 Top K",
"Enter URL (e.g. http://127.0.0.1:7860/)": "输入地址 (例如:http://127.0.0.1:7860/)",
"Enter URL (e.g. http://localhost:11434)": "输入地址 (例如:http://localhost:11434)",
......@@ -280,6 +285,7 @@
"Knowledge": "知识库",
"Language": "语言",
"Last Active": "最后在线时间",
"Last Modified": "",
"Light": "浅色",
"Listening...": "正在倾听...",
"LLMs can make mistakes. Verify important information.": "大语言模型可能会生成误导性错误信息,请对关键信息加以验证。",
......@@ -304,6 +310,7 @@
"Mirostat Tau": "Mirostat Tau",
"MMMM DD, YYYY": "YYYY年 MM月 DD日",
"MMMM DD, YYYY HH:mm": "YYYY年 MM月 DD日 HH:mm",
"MMMM DD, YYYY hh:mm:ss A": "",
"Model '{{modelName}}' has been successfully downloaded.": "模型'{{modelName}}'已成功下载。",
"Model '{{modelTag}}' is already in queue for downloading.": "模型'{{modelTag}}'已在下载队列中。",
"Model {{modelId}} not found": "未找到模型 {{modelId}}",
......@@ -424,7 +431,7 @@
"Search Query Generation Prompt Length Threshold": "搜索查询生成提示长度阈值",
"Search Result Count": "搜索结果数量",
"Search Tools": "搜索工具",
"Searched {{count}} sites_other": "索到 {{count}} 个网站",
"Searched {{count}} sites_other": "索到 {{count}} 个结果",
"Searching \"{{searchQuery}}\"": "搜索 \"{{searchQuery}}\" 中",
"Searxng Query URL": "Searxng 查询 URL",
"See readme.md for instructions": "查看 readme.md 以获取说明",
......@@ -487,6 +494,8 @@
"System": "系统",
"System Prompt": "系统提示词",
"Tags": "标签",
"Tap to interrupt": "",
"Tavily API Key": "",
"Tell us more:": "请告诉我们更多细节",
"Temperature": "温度 (Temperature)",
"Template": "模板",
......@@ -513,10 +522,11 @@
"To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.": "请联系管理员以访问。管理员可以在后台管理面板中管理用户状态。",
"To add documents here, upload them to the \"Documents\" workspace first.": "要在此处添加文档,请先将它们上传到工作空间中的“文档”内。",
"to chat input.": "到对话输入。",
"To select toolkits here, add them to the \"Tools\" workspace first.": "",
"To select toolkits here, add them to the \"Tools\" workspace first.": "要在这里选择工具包,请先将它们添加到工作空间中的“工具”。",
"Today": "今天",
"Toggle settings": "切换设置",
"Toggle sidebar": "切换侧边栏",
"Tokens To Keep On Context Refresh (num_keep)": "在语境刷新时需保留的 Tokens",
"Tools": "工具",
"Top K": "Top K",
"Top P": "Top P",
......@@ -528,8 +538,10 @@
"Type Hugging Face Resolve (Download) URL": "输入 Hugging Face 解析(下载)URL",
"Uh-oh! There was an issue connecting to {{provider}}.": "糟糕!连接到 {{provider}} 时出现问题。",
"Unknown File Type '{{file_type}}', but accepting and treating as plain text": "未知文件类型'{{file_type}}',将视为纯文本进行处理",
"Update": "",
"Update and Copy Link": "更新和复制链接",
"Update password": "更新密码",
"Updated at": "",
"Upload a GGUF model": "上传一个 GGUF 模型",
"Upload Files": "上传文件",
"Upload Pipeline": "上传 Pipeline",
......@@ -555,7 +567,7 @@
"Web Loader Settings": "网页爬取设置",
"Web Params": "网络爬取设置",
"Web Search": "网络搜索",
"Web Search Engine": "Web 搜索引擎",
"Web Search Engine": "网络搜索引擎",
"Webhook URL": "Webhook URL",
"WebUI Add-ons": "WebUI 附加组件",
"WebUI Settings": "WebUI 设置",
......
......@@ -42,6 +42,7 @@
"Allow": "允許",
"Allow Chat Deletion": "允許刪除聊天紀錄",
"Allow non-local voices": "",
"Allow User Location": "",
"alphanumeric characters and hyphens": "英文字母、數字(0~9)和連字符(-)",
"Already have an account?": "已經有帳號了嗎?",
"an assistant": "助手",
......@@ -69,6 +70,7 @@
"Bad Response": "錯誤回應",
"Banners": "橫幅",
"Base Model (From)": "基本模型(來自)",
"Batch Size (num_batch)": "",
"before": "前",
"Being lazy": "懶人模式",
"Brave Search API Key": "搜尋 API Key",
......@@ -160,6 +162,7 @@
"Discover, download, and explore custom prompts": "發現、下載並探索他人設置的提示詞",
"Discover, download, and explore model presets": "發現、下載並探索他人設置的模型",
"Dismissible": "",
"Display Emoji in Call": "",
"Display the username instead of You in the Chat": "在聊天中顯示使用者名稱而不是「你」",
"Document": "文件",
"Document Settings": "文件設定",
......@@ -176,6 +179,7 @@
"e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "例如 '30s', '10m'。有效的時間單位為 's', 'm', 'h'。",
"Edit": "編輯",
"Edit Doc": "編輯文件",
"Edit Memory": "",
"Edit User": "編輯使用者",
"Email": "電子郵件",
"Embedding Batch Size": "",
......@@ -205,6 +209,7 @@
"Enter Serply API Key": "",
"Enter Serpstack API Key": "輸入 Serpstack API Key",
"Enter stop sequence": "輸入停止序列",
"Enter Tavily API Key": "",
"Enter Top K": "輸入 Top K",
"Enter URL (e.g. http://127.0.0.1:7860/)": "輸入 URL(例如 http://127.0.0.1:7860/)",
"Enter URL (e.g. http://localhost:11434)": "輸入 URL(例如 http://localhost:11434)",
......@@ -280,6 +285,7 @@
"Knowledge": "",
"Language": "語言",
"Last Active": "最後活動",
"Last Modified": "",
"Light": "亮色",
"Listening...": "",
"LLMs can make mistakes. Verify important information.": "LLM 可能會產生錯誤。請驗證重要資訊。",
......@@ -304,6 +310,7 @@
"Mirostat Tau": "Mirostat Tau",
"MMMM DD, YYYY": "MMMM DD, YYYY",
"MMMM DD, YYYY HH:mm": "MMMM DD, YYYY HH:mm",
"MMMM DD, YYYY hh:mm:ss A": "",
"Model '{{modelName}}' has been successfully downloaded.": "'{{modelName}}' 模型已成功下載。",
"Model '{{modelTag}}' is already in queue for downloading.": "'{{modelTag}}' 模型已經在下載佇列中。",
"Model {{modelId}} not found": "找不到 {{modelId}} 模型",
......@@ -487,6 +494,8 @@
"System": "系統",
"System Prompt": "系統提示詞",
"Tags": "標籤",
"Tap to interrupt": "",
"Tavily API Key": "",
"Tell us more:": "告訴我們更多:",
"Temperature": "溫度",
"Template": "模板",
......@@ -517,6 +526,7 @@
"Today": "今天",
"Toggle settings": "切換設定",
"Toggle sidebar": "切換側邊欄",
"Tokens To Keep On Context Refresh (num_keep)": "",
"Tools": "",
"Top K": "Top K",
"Top P": "Top P",
......@@ -528,8 +538,10 @@
"Type Hugging Face Resolve (Download) URL": "輸入 Hugging Face 解析後的(下載)URL",
"Uh-oh! There was an issue connecting to {{provider}}.": "哎呀!連線到 {{provider}} 時出現問題。",
"Unknown File Type '{{file_type}}', but accepting and treating as plain text": "未知的文件類型 '{{file_type}}',但接受並視為純文字",
"Update": "",
"Update and Copy Link": "更新並複製連結",
"Update password": "更新密碼",
"Updated at": "",
"Upload a GGUF model": "上傳一個 GGUF 模型",
"Upload Files": "上傳文件",
"Upload Pipeline": "",
......
......@@ -92,6 +92,8 @@ type Settings = {
top_k?: string;
top_p?: string;
num_ctx?: string;
num_batch?: string;
num_keep?: string;
options?: ModelOptions;
};
......
......@@ -302,6 +302,29 @@ export const getImportOrigin = (_chats) => {
return 'webui';
};
export const getUserPosition = async (raw = false) => {
// Get the user's location using the Geolocation API
const position = await new Promise((resolve, reject) => {
navigator.geolocation.getCurrentPosition(resolve, reject);
}).catch((error) => {
console.error('Error getting user location:', error);
throw error;
});
if (!position) {
return 'Location not available';
}
// Extract the latitude and longitude from the position
const { latitude, longitude } = position.coords;
if (raw) {
return { latitude, longitude };
} else {
return `${latitude.toFixed(3)}, ${longitude.toFixed(3)} (lat, long)`;
}
};
const convertOpenAIMessages = (convo) => {
// Parse OpenAI chat messages and create chat dictionary for creating new chats
const mapping = convo['mapping'];
......@@ -436,13 +459,31 @@ export const removeEmojis = (str) => {
export const extractSentences = (text) => {
// Split the paragraph into sentences based on common punctuation marks
const sentences = text.split(/(?<=[.!?])/);
const sentences = text.split(/(?<=[.!?])\s+/);
return sentences
.map((sentence) => removeEmojis(sentence.trim()))
.filter((sentence) => sentence !== '');
};
export const extractSentencesForAudio = (text) => {
return extractSentences(text).reduce((mergedTexts, currentText) => {
const lastIndex = mergedTexts.length - 1;
if (lastIndex >= 0) {
const previousText = mergedTexts[lastIndex];
const wordCount = previousText.split(/\s+/).length;
if (wordCount < 2) {
mergedTexts[lastIndex] = previousText + ' ' + currentText;
} else {
mergedTexts.push(currentText);
}
} else {
mergedTexts.push(currentText);
}
return mergedTexts;
}, []);
};
export const blobToFile = (blob, fileName) => {
// Create a new File object from the Blob
const file = new File([blob], fileName, { type: blob.type });
......@@ -456,7 +497,7 @@ export const blobToFile = (blob, fileName) => {
export const promptTemplate = (
template: string,
user_name?: string,
current_location?: string
user_location?: string
): string => {
// Get the current date
const currentDate = new Date();
......@@ -469,17 +510,31 @@ export const promptTemplate = (
'-' +
String(currentDate.getDate()).padStart(2, '0');
// Format the time to HH:MM:SS AM/PM
const currentTime = currentDate.toLocaleTimeString('en-US', {
hour: 'numeric',
minute: 'numeric',
second: 'numeric',
hour12: true
});
// Replace {{CURRENT_DATETIME}} in the template with the formatted datetime
template = template.replace('{{CURRENT_DATETIME}}', `${formattedDate} ${currentTime}`);
// Replace {{CURRENT_DATE}} in the template with the formatted date
template = template.replace('{{CURRENT_DATE}}', formattedDate);
// Replace {{CURRENT_TIME}} in the template with the formatted time
template = template.replace('{{CURRENT_TIME}}', currentTime);
if (user_name) {
// Replace {{USER_NAME}} in the template with the user's name
template = template.replace('{{USER_NAME}}', user_name);
}
if (current_location) {
// Replace {{CURRENT_LOCATION}} in the template with the current location
template = template.replace('{{CURRENT_LOCATION}}', current_location);
if (user_location) {
// Replace {{USER_LOCATION}} in the template with the current location
template = template.replace('{{USER_LOCATION}}', user_location);
}
return template;
......
......@@ -18,6 +18,7 @@
import Tooltip from '$lib/components/common/Tooltip.svelte';
import UserChatsModal from '$lib/components/admin/UserChatsModal.svelte';
import AddUserModal from '$lib/components/admin/AddUserModal.svelte';
import ConfirmDialog from '$lib/components/common/ConfirmDialog.svelte';
const i18n = getContext('i18n');
......@@ -30,6 +31,7 @@
let page = 1;
let showDeleteConfirmDialog = false;
let showAddUserModal = false;
let showUserChatsModal = false;
......@@ -75,8 +77,26 @@
}
loaded = true;
});
let sortKey = 'created_at'; // default sort key
let sortOrder = 'asc'; // default sort order
function setSortKey(key) {
if (sortKey === key) {
sortOrder = sortOrder === 'asc' ? 'desc' : 'asc';
} else {
sortKey = key;
sortOrder = 'asc';
}
}
</script>
<ConfirmDialog
bind:show={showDeleteConfirmDialog}
on:confirm={() => {
deleteUserHandler(selectedUser.id);
}}
/>
{#key selectedUser}
<EditUserModal
bind:show={showEditUserModal}
......@@ -139,12 +159,66 @@
<table class="w-full text-sm text-left text-gray-500 dark:text-gray-400 table-auto max-w-full">
<thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-850 dark:text-gray-400">
<tr>
<th scope="col" class="px-3 py-2"> {$i18n.t('Role')} </th>
<th scope="col" class="px-3 py-2"> {$i18n.t('Name')} </th>
<th scope="col" class="px-3 py-2"> {$i18n.t('Email')} </th>
<th scope="col" class="px-3 py-2"> {$i18n.t('Last Active')} </th>
<th scope="col" class="px-3 py-2"> {$i18n.t('Created at')} </th>
<th
scope="col"
class="px-3 py-2 cursor-pointer select-none"
on:click={() => setSortKey('role')}
>
{$i18n.t('Role')}
{#if sortKey === 'role'}
{sortOrder === 'asc' ? '▲' : '▼'}
{:else}
<span class="invisible">▲</span>
{/if}
</th>
<th
scope="col"
class="px-3 py-2 cursor-pointer select-none"
on:click={() => setSortKey('name')}
>
{$i18n.t('Name')}
{#if sortKey === 'name'}
{sortOrder === 'asc' ? '▲' : '▼'}
{:else}
<span class="invisible">▲</span>
{/if}
</th>
<th
scope="col"
class="px-3 py-2 cursor-pointer select-none"
on:click={() => setSortKey('email')}
>
{$i18n.t('Email')}
{#if sortKey === 'email'}
{sortOrder === 'asc' ? '▲' : '▼'}
{:else}
<span class="invisible">▲</span>
{/if}
</th>
<th
scope="col"
class="px-3 py-2 cursor-pointer select-none"
on:click={() => setSortKey('last_active_at')}
>
{$i18n.t('Last Active')}
{#if sortKey === 'last_active_at'}
{sortOrder === 'asc' ? '▲' : '▼'}
{:else}
<span class="invisible">▲</span>
{/if}
</th>
<th
scope="col"
class="px-3 py-2 cursor-pointer select-none"
on:click={() => setSortKey('created_at')}
>
{$i18n.t('Created at')}
{#if sortKey === 'created_at'}
{sortOrder === 'asc' ? '▲' : '▼'}
{:else}
<span class="invisible">▲</span>
{/if}
</th>
<th scope="col" class="px-3 py-2 text-right" />
</tr>
......@@ -160,6 +234,11 @@
return name.includes(query);
}
})
.sort((a, b) => {
if (a[sortKey] < b[sortKey]) return sortOrder === 'asc' ? -1 : 1;
if (a[sortKey] > b[sortKey]) return sortOrder === 'asc' ? 1 : -1;
return 0;
})
.slice((page - 1) * 20, page * 20) as user}
<tr class="bg-white border-b dark:bg-gray-900 dark:border-gray-850 text-xs">
<td class="px-3 py-2 min-w-[7rem] w-28">
......@@ -256,7 +335,8 @@
<button
class="self-center w-fit text-sm px-2 py-2 hover:bg-black/5 dark:hover:bg-white/5 rounded-xl"
on:click={async () => {
deleteUserHandler(user.id);
showDeleteConfirmDialog = true;
selectedUser = user;
}}
>
<svg
......
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