Commit 276b7b90 authored by Jun Siang Cheah's avatar Jun Siang Cheah
Browse files

Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search

parents b1265c9c 7b81271b
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "API გასაღები", "API keys": "API გასაღები",
"April": "აპრილი", "April": "აპრილი",
"Archive": "არქივი", "Archive": "არქივი",
"Archive All Chats": "",
"Archived Chats": "ჩატის ისტორიის არქივი", "Archived Chats": "ჩატის ისტორიის არქივი",
"are allowed - Activate this command by typing": "დაშვებულია - ბრძანების გასააქტიურებლად აკრიფეთ:", "are allowed - Activate this command by typing": "დაშვებულია - ბრძანების გასააქტიურებლად აკრიფეთ:",
"Are you sure?": "დარწმუნებული ხარ?", "Are you sure?": "დარწმუნებული ხარ?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "საკუთარი", "Custom": "საკუთარი",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "მუქი", "Dark": "მუქი",
"Dashboard": "პანელი",
"Database": "მონაცემთა ბაზა", "Database": "მონაცემთა ბაზა",
"December": "დეკემბერი", "December": "დეკემბერი",
"Default": "დეფოლტი", "Default": "დეფოლტი",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "წაშლა", "delete": "წაშლა",
"Delete": "წაშლა", "Delete": "წაშლა",
"Delete a model": "მოდელის წაშლა", "Delete a model": "მოდელის წაშლა",
"Delete All Chats": "",
"Delete chat": "შეტყობინების წაშლა", "Delete chat": "შეტყობინების წაშლა",
"Delete Chat": "შეტყობინების წაშლა", "Delete Chat": "შეტყობინების წაშლა",
"Delete Chats": "შეტყობინებების წაშლა",
"delete this link": "ბმულის წაშლა", "delete this link": "ბმულის წაშლა",
"Delete User": "მომხმარებლის წაშლა", "Delete User": "მომხმარებლის წაშლა",
"Deleted {{deleteModelTag}}": "{{deleteModelTag}} წაშლილია", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} წაშლილია",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "OpenAI URL/Key აუცილებელია", "OpenAI URL/Key required.": "OpenAI URL/Key აუცილებელია",
"or": "ან", "or": "ან",
"Other": "სხვა", "Other": "სხვა",
"Overview": "ოვერვიუ",
"Password": "პაროლი", "Password": "პაროლი",
"PDF document (.pdf)": "PDF დოკუმენტი (.pdf)", "PDF document (.pdf)": "PDF დოკუმენტი (.pdf)",
"PDF Extract Images (OCR)": "PDF იდან ამოღებული სურათები (OCR)", "PDF Extract Images (OCR)": "PDF იდან ამოღებული სურათები (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "დოკუმენტების სკანირება {{ path}}-დან", "Scan for documents from {{path}}": "დოკუმენტების სკანირება {{ path}}-დან",
"Search": "ძიება", "Search": "ძიება",
"Search a model": "მოდელის ძიება", "Search a model": "მოდელის ძიება",
"Search Chats": "",
"Search Documents": "დოკუმენტების ძიება", "Search Documents": "დოკუმენტების ძიება",
"Search Models": "",
"Search Prompts": "მოთხოვნების ძიება", "Search Prompts": "მოთხოვნების ძიება",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "API 키", "API keys": "API 키",
"April": "4월", "April": "4월",
"Archive": "아카이브", "Archive": "아카이브",
"Archive All Chats": "",
"Archived Chats": "채팅 기록 아카이브", "Archived Chats": "채팅 기록 아카이브",
"are allowed - Activate this command by typing": "허용됩니다 - 이 명령을 활성화하려면 입력하세요.", "are allowed - Activate this command by typing": "허용됩니다 - 이 명령을 활성화하려면 입력하세요.",
"Are you sure?": "확실합니까?", "Are you sure?": "확실합니까?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "사용자 정의", "Custom": "사용자 정의",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "어두운", "Dark": "어두운",
"Dashboard": "대시보드",
"Database": "데이터베이스", "Database": "데이터베이스",
"December": "12월", "December": "12월",
"Default": "기본값", "Default": "기본값",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "삭제", "delete": "삭제",
"Delete": "삭제", "Delete": "삭제",
"Delete a model": "모델 삭제", "Delete a model": "모델 삭제",
"Delete All Chats": "",
"Delete chat": "채팅 삭제", "Delete chat": "채팅 삭제",
"Delete Chat": "채팅 삭제", "Delete Chat": "채팅 삭제",
"Delete Chats": "채팅들 삭제",
"delete this link": "이 링크를 삭제합니다.", "delete this link": "이 링크를 삭제합니다.",
"Delete User": "사용자 삭제", "Delete User": "사용자 삭제",
"Deleted {{deleteModelTag}}": "{{deleteModelTag}} 삭제됨", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} 삭제됨",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "OpenAI URL/Key가 필요합니다.", "OpenAI URL/Key required.": "OpenAI URL/Key가 필요합니다.",
"or": "또는", "or": "또는",
"Other": "기타", "Other": "기타",
"Overview": "개요",
"Password": "비밀번호", "Password": "비밀번호",
"PDF document (.pdf)": "PDF 문서 (.pdf)", "PDF document (.pdf)": "PDF 문서 (.pdf)",
"PDF Extract Images (OCR)": "PDF에서 이미지 추출 (OCR)", "PDF Extract Images (OCR)": "PDF에서 이미지 추출 (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "{{path}}에서 문서 스캔", "Scan for documents from {{path}}": "{{path}}에서 문서 스캔",
"Search": "검색", "Search": "검색",
"Search a model": "모델 검색", "Search a model": "모델 검색",
"Search Chats": "",
"Search Documents": "문서 검색", "Search Documents": "문서 검색",
"Search Models": "",
"Search Prompts": "프롬프트 검색", "Search Prompts": "프롬프트 검색",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "API keys", "API keys": "API keys",
"April": "April", "April": "April",
"Archive": "Archief", "Archive": "Archief",
"Archive All Chats": "",
"Archived Chats": "chatrecord", "Archived Chats": "chatrecord",
"are allowed - Activate this command by typing": "zijn toegestaan - Activeer deze commando door te typen", "are allowed - Activate this command by typing": "zijn toegestaan - Activeer deze commando door te typen",
"Are you sure?": "Zeker weten?", "Are you sure?": "Zeker weten?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "Aangepast", "Custom": "Aangepast",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "Donker", "Dark": "Donker",
"Dashboard": "Dashboard",
"Database": "Database", "Database": "Database",
"December": "December", "December": "December",
"Default": "Standaard", "Default": "Standaard",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "verwijderen", "delete": "verwijderen",
"Delete": "Verwijderen", "Delete": "Verwijderen",
"Delete a model": "Verwijder een model", "Delete a model": "Verwijder een model",
"Delete All Chats": "",
"Delete chat": "Verwijder chat", "Delete chat": "Verwijder chat",
"Delete Chat": "Verwijder Chat", "Delete Chat": "Verwijder Chat",
"Delete Chats": "Verwijder Chats",
"delete this link": "verwijder deze link", "delete this link": "verwijder deze link",
"Delete User": "Verwijder Gebruiker", "Delete User": "Verwijder Gebruiker",
"Deleted {{deleteModelTag}}": "{{deleteModelTag}} is verwijderd", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} is verwijderd",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "OpenAI URL/Sleutel vereist.", "OpenAI URL/Key required.": "OpenAI URL/Sleutel vereist.",
"or": "of", "or": "of",
"Other": "Andere", "Other": "Andere",
"Overview": "Overzicht",
"Password": "Wachtwoord", "Password": "Wachtwoord",
"PDF document (.pdf)": "PDF document (.pdf)", "PDF document (.pdf)": "PDF document (.pdf)",
"PDF Extract Images (OCR)": "PDF Extract Afbeeldingen (OCR)", "PDF Extract Images (OCR)": "PDF Extract Afbeeldingen (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "Scan voor documenten van {{path}}", "Scan for documents from {{path}}": "Scan voor documenten van {{path}}",
"Search": "Zoeken", "Search": "Zoeken",
"Search a model": "Zoek een model", "Search a model": "Zoek een model",
"Search Chats": "",
"Search Documents": "Zoek Documenten", "Search Documents": "Zoek Documenten",
"Search Models": "",
"Search Prompts": "Zoek Prompts", "Search Prompts": "Zoek Prompts",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "API ਕੁੰਜੀਆਂ", "API keys": "API ਕੁੰਜੀਆਂ",
"April": "ਅਪ੍ਰੈਲ", "April": "ਅਪ੍ਰੈਲ",
"Archive": "ਆਰਕਾਈਵ", "Archive": "ਆਰਕਾਈਵ",
"Archive All Chats": "",
"Archived Chats": "ਆਰਕਾਈਵ ਕੀਤੀਆਂ ਗੱਲਾਂ", "Archived Chats": "ਆਰਕਾਈਵ ਕੀਤੀਆਂ ਗੱਲਾਂ",
"are allowed - Activate this command by typing": "ਅਨੁਮਤ ਹਨ - ਇਸ ਕਮਾਂਡ ਨੂੰ ਟਾਈਪ ਕਰਕੇ ਸਰਗਰਮ ਕਰੋ", "are allowed - Activate this command by typing": "ਅਨੁਮਤ ਹਨ - ਇਸ ਕਮਾਂਡ ਨੂੰ ਟਾਈਪ ਕਰਕੇ ਸਰਗਰਮ ਕਰੋ",
"Are you sure?": "ਕੀ ਤੁਸੀਂ ਯਕੀਨਨ ਹੋ?", "Are you sure?": "ਕੀ ਤੁਸੀਂ ਯਕੀਨਨ ਹੋ?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "ਕਸਟਮ", "Custom": "ਕਸਟਮ",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "ਗੂੜ੍ਹਾ", "Dark": "ਗੂੜ੍ਹਾ",
"Dashboard": "ਡੈਸ਼ਬੋਰਡ",
"Database": "ਡਾਟਾਬੇਸ", "Database": "ਡਾਟਾਬੇਸ",
"December": "ਦਸੰਬਰ", "December": "ਦਸੰਬਰ",
"Default": "ਮੂਲ", "Default": "ਮੂਲ",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "ਮਿਟਾਓ", "delete": "ਮਿਟਾਓ",
"Delete": "ਮਿਟਾਓ", "Delete": "ਮਿਟਾਓ",
"Delete a model": "ਇੱਕ ਮਾਡਲ ਮਿਟਾਓ", "Delete a model": "ਇੱਕ ਮਾਡਲ ਮਿਟਾਓ",
"Delete All Chats": "",
"Delete chat": "ਗੱਲਬਾਤ ਮਿਟਾਓ", "Delete chat": "ਗੱਲਬਾਤ ਮਿਟਾਓ",
"Delete Chat": "ਗੱਲਬਾਤ ਮਿਟਾਓ", "Delete Chat": "ਗੱਲਬਾਤ ਮਿਟਾਓ",
"Delete Chats": "ਗੱਲਾਂ ਮਿਟਾਓ",
"delete this link": "ਇਸ ਲਿੰਕ ਨੂੰ ਮਿਟਾਓ", "delete this link": "ਇਸ ਲਿੰਕ ਨੂੰ ਮਿਟਾਓ",
"Delete User": "ਉਪਭੋਗਤਾ ਮਿਟਾਓ", "Delete User": "ਉਪਭੋਗਤਾ ਮਿਟਾਓ",
"Deleted {{deleteModelTag}}": "{{deleteModelTag}} ਮਿਟਾਇਆ ਗਿਆ", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} ਮਿਟਾਇਆ ਗਿਆ",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "ਓਪਨਏਆਈ URL/ਕੁੰਜੀ ਦੀ ਲੋੜ ਹੈ।", "OpenAI URL/Key required.": "ਓਪਨਏਆਈ URL/ਕੁੰਜੀ ਦੀ ਲੋੜ ਹੈ।",
"or": "ਜਾਂ", "or": "ਜਾਂ",
"Other": "ਹੋਰ", "Other": "ਹੋਰ",
"Overview": "ਸੰਖੇਪ",
"Password": "ਪਾਸਵਰਡ", "Password": "ਪਾਸਵਰਡ",
"PDF document (.pdf)": "PDF ਡਾਕੂਮੈਂਟ (.pdf)", "PDF document (.pdf)": "PDF ਡਾਕੂਮੈਂਟ (.pdf)",
"PDF Extract Images (OCR)": "PDF ਚਿੱਤਰ ਕੱਢੋ (OCR)", "PDF Extract Images (OCR)": "PDF ਚਿੱਤਰ ਕੱਢੋ (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "{{path}} ਤੋਂ ਡਾਕੂਮੈਂਟਾਂ ਲਈ ਸਕੈਨ ਕਰੋ", "Scan for documents from {{path}}": "{{path}} ਤੋਂ ਡਾਕੂਮੈਂਟਾਂ ਲਈ ਸਕੈਨ ਕਰੋ",
"Search": "ਖੋਜ", "Search": "ਖੋਜ",
"Search a model": "ਇੱਕ ਮਾਡਲ ਖੋਜੋ", "Search a model": "ਇੱਕ ਮਾਡਲ ਖੋਜੋ",
"Search Chats": "",
"Search Documents": "ਡਾਕੂਮੈਂਟ ਖੋਜੋ", "Search Documents": "ਡਾਕੂਮੈਂਟ ਖੋਜੋ",
"Search Models": "",
"Search Prompts": "ਪ੍ਰੰਪਟ ਖੋਜੋ", "Search Prompts": "ਪ੍ਰੰਪਟ ਖੋਜੋ",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "Klucze API", "API keys": "Klucze API",
"April": "Kwiecień", "April": "Kwiecień",
"Archive": "Archiwum", "Archive": "Archiwum",
"Archive All Chats": "",
"Archived Chats": "Zarchiwizowane czaty", "Archived Chats": "Zarchiwizowane czaty",
"are allowed - Activate this command by typing": "są dozwolone - Aktywuj to polecenie, wpisując", "are allowed - Activate this command by typing": "są dozwolone - Aktywuj to polecenie, wpisując",
"Are you sure?": "Jesteś pewien?", "Are you sure?": "Jesteś pewien?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "Niestandardowy", "Custom": "Niestandardowy",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "Ciemny", "Dark": "Ciemny",
"Dashboard": "Dashboard",
"Database": "Baza danych", "Database": "Baza danych",
"December": "Grudzień", "December": "Grudzień",
"Default": "Domyślny", "Default": "Domyślny",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "usuń", "delete": "usuń",
"Delete": "Usuń", "Delete": "Usuń",
"Delete a model": "Usuń model", "Delete a model": "Usuń model",
"Delete All Chats": "",
"Delete chat": "Usuń czat", "Delete chat": "Usuń czat",
"Delete Chat": "Usuń czat", "Delete Chat": "Usuń czat",
"Delete Chats": "Usuń czaty",
"delete this link": "usuń ten link", "delete this link": "usuń ten link",
"Delete User": "Usuń użytkownika", "Delete User": "Usuń użytkownika",
"Deleted {{deleteModelTag}}": "Usunięto {{deleteModelTag}}", "Deleted {{deleteModelTag}}": "Usunięto {{deleteModelTag}}",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "URL/Klucz OpenAI jest wymagany.", "OpenAI URL/Key required.": "URL/Klucz OpenAI jest wymagany.",
"or": "lub", "or": "lub",
"Other": "Inne", "Other": "Inne",
"Overview": "Przegląd",
"Password": "Hasło", "Password": "Hasło",
"PDF document (.pdf)": "Dokument PDF (.pdf)", "PDF document (.pdf)": "Dokument PDF (.pdf)",
"PDF Extract Images (OCR)": "PDF Wyodrębnij obrazy (OCR)", "PDF Extract Images (OCR)": "PDF Wyodrębnij obrazy (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "Skanuj dokumenty z {{path}}", "Scan for documents from {{path}}": "Skanuj dokumenty z {{path}}",
"Search": "Szukaj", "Search": "Szukaj",
"Search a model": "Szukaj modelu", "Search a model": "Szukaj modelu",
"Search Chats": "",
"Search Documents": "Szukaj dokumentów", "Search Documents": "Szukaj dokumentów",
"Search Models": "",
"Search Prompts": "Szukaj promptów", "Search Prompts": "Szukaj promptów",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "Chaves da API", "API keys": "Chaves da API",
"April": "Abril", "April": "Abril",
"Archive": "Arquivo", "Archive": "Arquivo",
"Archive All Chats": "",
"Archived Chats": "Bate-papos arquivados", "Archived Chats": "Bate-papos arquivados",
"are allowed - Activate this command by typing": "são permitidos - Ative este comando digitando", "are allowed - Activate this command by typing": "são permitidos - Ative este comando digitando",
"Are you sure?": "Tem certeza?", "Are you sure?": "Tem certeza?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "Personalizado", "Custom": "Personalizado",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "Escuro", "Dark": "Escuro",
"Dashboard": "Painel",
"Database": "Banco de dados", "Database": "Banco de dados",
"December": "Dezembro", "December": "Dezembro",
"Default": "Padrão", "Default": "Padrão",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "excluir", "delete": "excluir",
"Delete": "Excluir", "Delete": "Excluir",
"Delete a model": "Excluir um modelo", "Delete a model": "Excluir um modelo",
"Delete All Chats": "",
"Delete chat": "Excluir bate-papo", "Delete chat": "Excluir bate-papo",
"Delete Chat": "Excluir Bate-papo", "Delete Chat": "Excluir Bate-papo",
"Delete Chats": "Excluir Bate-papos",
"delete this link": "excluir este link", "delete this link": "excluir este link",
"Delete User": "Excluir Usuário", "Delete User": "Excluir Usuário",
"Deleted {{deleteModelTag}}": "{{deleteModelTag}} excluído", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} excluído",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "URL/Chave da API OpenAI é necessária.", "OpenAI URL/Key required.": "URL/Chave da API OpenAI é necessária.",
"or": "ou", "or": "ou",
"Other": "Outro", "Other": "Outro",
"Overview": "Visão Geral",
"Password": "Senha", "Password": "Senha",
"PDF document (.pdf)": "Documento PDF (.pdf)", "PDF document (.pdf)": "Documento PDF (.pdf)",
"PDF Extract Images (OCR)": "Extrair Imagens de PDF (OCR)", "PDF Extract Images (OCR)": "Extrair Imagens de PDF (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "Digitalizar documentos de {{path}}", "Scan for documents from {{path}}": "Digitalizar documentos de {{path}}",
"Search": "Pesquisar", "Search": "Pesquisar",
"Search a model": "Pesquisar um modelo", "Search a model": "Pesquisar um modelo",
"Search Chats": "",
"Search Documents": "Pesquisar Documentos", "Search Documents": "Pesquisar Documentos",
"Search Models": "",
"Search Prompts": "Pesquisar Prompts", "Search Prompts": "Pesquisar Prompts",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "Chaves da API", "API keys": "Chaves da API",
"April": "Abril", "April": "Abril",
"Archive": "Arquivo", "Archive": "Arquivo",
"Archive All Chats": "",
"Archived Chats": "Bate-papos arquivados", "Archived Chats": "Bate-papos arquivados",
"are allowed - Activate this command by typing": "são permitidos - Ative este comando digitando", "are allowed - Activate this command by typing": "são permitidos - Ative este comando digitando",
"Are you sure?": "Tem certeza?", "Are you sure?": "Tem certeza?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "Personalizado", "Custom": "Personalizado",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "Escuro", "Dark": "Escuro",
"Dashboard": "Painel",
"Database": "Banco de dados", "Database": "Banco de dados",
"December": "Dezembro", "December": "Dezembro",
"Default": "Padrão", "Default": "Padrão",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "excluir", "delete": "excluir",
"Delete": "Excluir", "Delete": "Excluir",
"Delete a model": "Excluir um modelo", "Delete a model": "Excluir um modelo",
"Delete All Chats": "",
"Delete chat": "Excluir bate-papo", "Delete chat": "Excluir bate-papo",
"Delete Chat": "Excluir Bate-papo", "Delete Chat": "Excluir Bate-papo",
"Delete Chats": "Excluir Bate-papos",
"delete this link": "excluir este link", "delete this link": "excluir este link",
"Delete User": "Excluir Usuário", "Delete User": "Excluir Usuário",
"Deleted {{deleteModelTag}}": "{{deleteModelTag}} excluído", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} excluído",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "URL/Chave da API OpenAI é necessária.", "OpenAI URL/Key required.": "URL/Chave da API OpenAI é necessária.",
"or": "ou", "or": "ou",
"Other": "Outro", "Other": "Outro",
"Overview": "Visão Geral",
"Password": "Senha", "Password": "Senha",
"PDF document (.pdf)": "Documento PDF (.pdf)", "PDF document (.pdf)": "Documento PDF (.pdf)",
"PDF Extract Images (OCR)": "Extrair Imagens de PDF (OCR)", "PDF Extract Images (OCR)": "Extrair Imagens de PDF (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "Digitalizar documentos de {{path}}", "Scan for documents from {{path}}": "Digitalizar documentos de {{path}}",
"Search": "Pesquisar", "Search": "Pesquisar",
"Search a model": "Pesquisar um modelo", "Search a model": "Pesquisar um modelo",
"Search Chats": "",
"Search Documents": "Pesquisar Documentos", "Search Documents": "Pesquisar Documentos",
"Search Models": "",
"Search Prompts": "Pesquisar Prompts", "Search Prompts": "Pesquisar Prompts",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "Ключи API", "API keys": "Ключи API",
"April": "Апрель", "April": "Апрель",
"Archive": "Архив", "Archive": "Архив",
"Archive All Chats": "",
"Archived Chats": "запис на чат", "Archived Chats": "запис на чат",
"are allowed - Activate this command by typing": "разрешено - активируйте эту команду вводом", "are allowed - Activate this command by typing": "разрешено - активируйте эту команду вводом",
"Are you sure?": "Вы уверены?", "Are you sure?": "Вы уверены?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "Пользовательский", "Custom": "Пользовательский",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "Тёмный", "Dark": "Тёмный",
"Dashboard": "Панель управления",
"Database": "База данных", "Database": "База данных",
"December": "Декабрь", "December": "Декабрь",
"Default": "По умолчанию", "Default": "По умолчанию",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "удалить", "delete": "удалить",
"Delete": "Удалить", "Delete": "Удалить",
"Delete a model": "Удалить модель", "Delete a model": "Удалить модель",
"Delete All Chats": "",
"Delete chat": "Удалить чат", "Delete chat": "Удалить чат",
"Delete Chat": "Удалить чат", "Delete Chat": "Удалить чат",
"Delete Chats": "Удалить чаты",
"delete this link": "удалить эту ссылку", "delete this link": "удалить эту ссылку",
"Delete User": "Удалить пользователя", "Delete User": "Удалить пользователя",
"Deleted {{deleteModelTag}}": "Удалено {{deleteModelTag}}", "Deleted {{deleteModelTag}}": "Удалено {{deleteModelTag}}",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "Требуется URL-адрес API OpenAI или ключ API.", "OpenAI URL/Key required.": "Требуется URL-адрес API OpenAI или ключ API.",
"or": "или", "or": "или",
"Other": "Прочее", "Other": "Прочее",
"Overview": "Обзор",
"Password": "Пароль", "Password": "Пароль",
"PDF document (.pdf)": "PDF-документ (.pdf)", "PDF document (.pdf)": "PDF-документ (.pdf)",
"PDF Extract Images (OCR)": "Извлечение изображений из PDF (OCR)", "PDF Extract Images (OCR)": "Извлечение изображений из PDF (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "Сканирование документов из {{path}}", "Scan for documents from {{path}}": "Сканирование документов из {{path}}",
"Search": "Поиск", "Search": "Поиск",
"Search a model": "Поиск модели", "Search a model": "Поиск модели",
"Search Chats": "",
"Search Documents": "Поиск документов", "Search Documents": "Поиск документов",
"Search Models": "",
"Search Prompts": "Поиск промтов", "Search Prompts": "Поиск промтов",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "API кључеви", "API keys": "API кључеви",
"April": "Април", "April": "Април",
"Archive": "Архива", "Archive": "Архива",
"Archive All Chats": "",
"Archived Chats": "Архивирана ћаскања", "Archived Chats": "Архивирана ћаскања",
"are allowed - Activate this command by typing": "су дозвољени - Покрените ову наредбу уношењем", "are allowed - Activate this command by typing": "су дозвољени - Покрените ову наредбу уношењем",
"Are you sure?": "Да ли сте сигурни?", "Are you sure?": "Да ли сте сигурни?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "Прилагођено", "Custom": "Прилагођено",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "Тамна", "Dark": "Тамна",
"Dashboard": "Контролна табла",
"Database": "База података", "Database": "База података",
"December": "Децембар", "December": "Децембар",
"Default": "Подразумевано", "Default": "Подразумевано",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "обриши", "delete": "обриши",
"Delete": "Обриши", "Delete": "Обриши",
"Delete a model": "Обриши модел", "Delete a model": "Обриши модел",
"Delete All Chats": "",
"Delete chat": "Обриши ћаскање", "Delete chat": "Обриши ћаскање",
"Delete Chat": "Обриши ћаскање", "Delete Chat": "Обриши ћаскање",
"Delete Chats": "Обриши ћаскања",
"delete this link": "обриши ову везу", "delete this link": "обриши ову везу",
"Delete User": "Обриши корисника", "Delete User": "Обриши корисника",
"Deleted {{deleteModelTag}}": "Обрисано {{deleteModelTag}}", "Deleted {{deleteModelTag}}": "Обрисано {{deleteModelTag}}",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "Потребан је OpenAI URL/кључ.", "OpenAI URL/Key required.": "Потребан је OpenAI URL/кључ.",
"or": "или", "or": "или",
"Other": "Остало", "Other": "Остало",
"Overview": "Преглед",
"Password": "Лозинка", "Password": "Лозинка",
"PDF document (.pdf)": "PDF документ (.pdf)", "PDF document (.pdf)": "PDF документ (.pdf)",
"PDF Extract Images (OCR)": "Извлачење PDF слика (OCR)", "PDF Extract Images (OCR)": "Извлачење PDF слика (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "Скенирај документе из {{path}}", "Scan for documents from {{path}}": "Скенирај документе из {{path}}",
"Search": "Претражи", "Search": "Претражи",
"Search a model": "Претражи модел", "Search a model": "Претражи модел",
"Search Chats": "",
"Search Documents": "Претражи документе", "Search Documents": "Претражи документе",
"Search Models": "",
"Search Prompts": "Претражи упите", "Search Prompts": "Претражи упите",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "API-nycklar", "API keys": "API-nycklar",
"April": "April", "April": "April",
"Archive": "Arkiv", "Archive": "Arkiv",
"Archive All Chats": "",
"Archived Chats": "Arkiverade chattar", "Archived Chats": "Arkiverade chattar",
"are allowed - Activate this command by typing": "är tillåtna - Aktivera detta kommando genom att skriva", "are allowed - Activate this command by typing": "är tillåtna - Aktivera detta kommando genom att skriva",
"Are you sure?": "Är du säker?", "Are you sure?": "Är du säker?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "Anpassad", "Custom": "Anpassad",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "Mörk", "Dark": "Mörk",
"Dashboard": "Instrumentbräda",
"Database": "Databas", "Database": "Databas",
"December": "December", "December": "December",
"Default": "Standard", "Default": "Standard",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "radera", "delete": "radera",
"Delete": "Radera", "Delete": "Radera",
"Delete a model": "Ta bort en modell", "Delete a model": "Ta bort en modell",
"Delete All Chats": "",
"Delete chat": "Radera chatt", "Delete chat": "Radera chatt",
"Delete Chat": "Radera chatt", "Delete Chat": "Radera chatt",
"Delete Chats": "Radera chattar",
"delete this link": "radera denna länk", "delete this link": "radera denna länk",
"Delete User": "Radera användare", "Delete User": "Radera användare",
"Deleted {{deleteModelTag}}": "Raderad {{deleteModelTag}}", "Deleted {{deleteModelTag}}": "Raderad {{deleteModelTag}}",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "OpenAI-URL/nyckel krävs.", "OpenAI URL/Key required.": "OpenAI-URL/nyckel krävs.",
"or": "eller", "or": "eller",
"Other": "Andra", "Other": "Andra",
"Overview": "Översikt",
"Password": "Lösenord", "Password": "Lösenord",
"PDF document (.pdf)": "PDF-dokument (.pdf)", "PDF document (.pdf)": "PDF-dokument (.pdf)",
"PDF Extract Images (OCR)": "PDF Extrahera bilder (OCR)", "PDF Extract Images (OCR)": "PDF Extrahera bilder (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "Skanna efter dokument från {{path}}", "Scan for documents from {{path}}": "Skanna efter dokument från {{path}}",
"Search": "Sök", "Search": "Sök",
"Search a model": "Sök efter en modell", "Search a model": "Sök efter en modell",
"Search Chats": "",
"Search Documents": "Sök dokument", "Search Documents": "Sök dokument",
"Search Models": "",
"Search Prompts": "Sök promptar", "Search Prompts": "Sök promptar",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "API anahtarları", "API keys": "API anahtarları",
"April": "Nisan", "April": "Nisan",
"Archive": "Arşiv", "Archive": "Arşiv",
"Archive All Chats": "",
"Archived Chats": "Arşivlenmiş Sohbetler", "Archived Chats": "Arşivlenmiş Sohbetler",
"are allowed - Activate this command by typing": "izin verilir - Bu komutu yazarak etkinleştirin", "are allowed - Activate this command by typing": "izin verilir - Bu komutu yazarak etkinleştirin",
"Are you sure?": "Emin misiniz?", "Are you sure?": "Emin misiniz?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "Özel", "Custom": "Özel",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "Koyu", "Dark": "Koyu",
"Dashboard": "Panel",
"Database": "Veritabanı", "Database": "Veritabanı",
"December": "Aralık", "December": "Aralık",
"Default": "Varsayılan", "Default": "Varsayılan",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "sil", "delete": "sil",
"Delete": "Sil", "Delete": "Sil",
"Delete a model": "Bir modeli sil", "Delete a model": "Bir modeli sil",
"Delete All Chats": "",
"Delete chat": "Sohbeti sil", "Delete chat": "Sohbeti sil",
"Delete Chat": "Sohbeti Sil", "Delete Chat": "Sohbeti Sil",
"Delete Chats": "Sohbetleri Sil",
"delete this link": "bu bağlantıyı sil", "delete this link": "bu bağlantıyı sil",
"Delete User": "Kullanıcıyı Sil", "Delete User": "Kullanıcıyı Sil",
"Deleted {{deleteModelTag}}": "{{deleteModelTag}} silindi", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} silindi",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "OpenAI URL/Anahtar gereklidir.", "OpenAI URL/Key required.": "OpenAI URL/Anahtar gereklidir.",
"or": "veya", "or": "veya",
"Other": "Diğer", "Other": "Diğer",
"Overview": "Genel Bakış",
"Password": "Parola", "Password": "Parola",
"PDF document (.pdf)": "PDF belgesi (.pdf)", "PDF document (.pdf)": "PDF belgesi (.pdf)",
"PDF Extract Images (OCR)": "PDF Görüntülerini Çıkart (OCR)", "PDF Extract Images (OCR)": "PDF Görüntülerini Çıkart (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "{{path}} dizininden belgeleri tarayın", "Scan for documents from {{path}}": "{{path}} dizininden belgeleri tarayın",
"Search": "Ara", "Search": "Ara",
"Search a model": "Bir model ara", "Search a model": "Bir model ara",
"Search Chats": "",
"Search Documents": "Belgeleri Ara", "Search Documents": "Belgeleri Ara",
"Search Models": "",
"Search Prompts": "Prompt Ara", "Search Prompts": "Prompt Ara",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "Ключі API", "API keys": "Ключі API",
"April": "Квітень", "April": "Квітень",
"Archive": "Архів", "Archive": "Архів",
"Archive All Chats": "",
"Archived Chats": "Архівовані чати", "Archived Chats": "Архівовані чати",
"are allowed - Activate this command by typing": "дозволено - активізуйте цю команду набором", "are allowed - Activate this command by typing": "дозволено - активізуйте цю команду набором",
"Are you sure?": "Ви впевнені?", "Are you sure?": "Ви впевнені?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "Налаштувати", "Custom": "Налаштувати",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "Темна", "Dark": "Темна",
"Dashboard": "Панель управління",
"Database": "База даних", "Database": "База даних",
"December": "Грудень", "December": "Грудень",
"Default": "За замовчуванням", "Default": "За замовчуванням",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "видалити", "delete": "видалити",
"Delete": "Видалити", "Delete": "Видалити",
"Delete a model": "Видалити модель", "Delete a model": "Видалити модель",
"Delete All Chats": "",
"Delete chat": "Видалити чат", "Delete chat": "Видалити чат",
"Delete Chat": "Видалити чат", "Delete Chat": "Видалити чат",
"Delete Chats": "Видалити чати",
"delete this link": "видалити це посилання", "delete this link": "видалити це посилання",
"Delete User": "Видалити користувача", "Delete User": "Видалити користувача",
"Deleted {{deleteModelTag}}": "Видалено {{deleteModelTag}}", "Deleted {{deleteModelTag}}": "Видалено {{deleteModelTag}}",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "Потрібен OpenAI URL/ключ.", "OpenAI URL/Key required.": "Потрібен OpenAI URL/ключ.",
"or": "або", "or": "або",
"Other": "Інше", "Other": "Інше",
"Overview": "Огляд",
"Password": "Пароль", "Password": "Пароль",
"PDF document (.pdf)": "PDF документ (.pdf)", "PDF document (.pdf)": "PDF документ (.pdf)",
"PDF Extract Images (OCR)": "Розпізнавання зображень з PDF (OCR)", "PDF Extract Images (OCR)": "Розпізнавання зображень з PDF (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "Сканування документів з {{path}}", "Scan for documents from {{path}}": "Сканування документів з {{path}}",
"Search": "Пошук", "Search": "Пошук",
"Search a model": "Шукати модель", "Search a model": "Шукати модель",
"Search Chats": "",
"Search Documents": "Пошук документів", "Search Documents": "Пошук документів",
"Search Models": "",
"Search Prompts": "Пошук промтів", "Search Prompts": "Пошук промтів",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "API Keys", "API keys": "API Keys",
"April": "Tháng 4", "April": "Tháng 4",
"Archive": "Lưu trữ", "Archive": "Lưu trữ",
"Archive All Chats": "",
"Archived Chats": "bản ghi trò chuyện", "Archived Chats": "bản ghi trò chuyện",
"are allowed - Activate this command by typing": "được phép - Kích hoạt lệnh này bằng cách gõ", "are allowed - Activate this command by typing": "được phép - Kích hoạt lệnh này bằng cách gõ",
"Are you sure?": "Bạn có chắc chắn không?", "Are you sure?": "Bạn có chắc chắn không?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "Tùy chỉnh", "Custom": "Tùy chỉnh",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "Tối", "Dark": "Tối",
"Dashboard": "Trang tổng quan",
"Database": "Cơ sở dữ liệu", "Database": "Cơ sở dữ liệu",
"December": "Tháng 12", "December": "Tháng 12",
"Default": "Mặc định", "Default": "Mặc định",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "xóa", "delete": "xóa",
"Delete": "Xóa", "Delete": "Xóa",
"Delete a model": "Xóa mô hình", "Delete a model": "Xóa mô hình",
"Delete All Chats": "",
"Delete chat": "Xóa nội dung chat", "Delete chat": "Xóa nội dung chat",
"Delete Chat": "Xóa chat", "Delete Chat": "Xóa chat",
"Delete Chats": "Xóa nội dung chat",
"delete this link": "Xóa link này", "delete this link": "Xóa link này",
"Delete User": "Xóa người dùng", "Delete User": "Xóa người dùng",
"Deleted {{deleteModelTag}}": "Đã xóa {{deleteModelTag}}", "Deleted {{deleteModelTag}}": "Đã xóa {{deleteModelTag}}",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "Yêu cầu URL/Key API OpenAI.", "OpenAI URL/Key required.": "Yêu cầu URL/Key API OpenAI.",
"or": "hoặc", "or": "hoặc",
"Other": "Khác", "Other": "Khác",
"Overview": "Tổng quan",
"Password": "Mật khẩu", "Password": "Mật khẩu",
"PDF document (.pdf)": "Tập tin PDF (.pdf)", "PDF document (.pdf)": "Tập tin PDF (.pdf)",
"PDF Extract Images (OCR)": "Trích xuất ảnh từ PDF (OCR)", "PDF Extract Images (OCR)": "Trích xuất ảnh từ PDF (OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "Quét tài liệu từ đường dẫn: {{path}}", "Scan for documents from {{path}}": "Quét tài liệu từ đường dẫn: {{path}}",
"Search": "Tìm kiếm", "Search": "Tìm kiếm",
"Search a model": "Tìm model", "Search a model": "Tìm model",
"Search Chats": "",
"Search Documents": "Tìm tài liệu", "Search Documents": "Tìm tài liệu",
"Search Models": "",
"Search Prompts": "Tìm prompt", "Search Prompts": "Tìm prompt",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "API 密钥", "API keys": "API 密钥",
"April": "四月", "April": "四月",
"Archive": "存档", "Archive": "存档",
"Archive All Chats": "",
"Archived Chats": "聊天记录存档", "Archived Chats": "聊天记录存档",
"are allowed - Activate this command by typing": "允许 - 通过输入来激活这个命令", "are allowed - Activate this command by typing": "允许 - 通过输入来激活这个命令",
"Are you sure?": "你确定吗?", "Are you sure?": "你确定吗?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "自定义", "Custom": "自定义",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "暗色", "Dark": "暗色",
"Dashboard": "仪表盘",
"Database": "数据库", "Database": "数据库",
"December": "十二月", "December": "十二月",
"Default": "默认", "Default": "默认",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "删除", "delete": "删除",
"Delete": "删除", "Delete": "删除",
"Delete a model": "删除一个模型", "Delete a model": "删除一个模型",
"Delete All Chats": "",
"Delete chat": "删除聊天", "Delete chat": "删除聊天",
"Delete Chat": "删除聊天", "Delete Chat": "删除聊天",
"Delete Chats": "删除聊天记录",
"delete this link": "删除这个链接", "delete this link": "删除这个链接",
"Delete User": "删除用户", "Delete User": "删除用户",
"Deleted {{deleteModelTag}}": "已删除{{deleteModelTag}}", "Deleted {{deleteModelTag}}": "已删除{{deleteModelTag}}",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "需要 OpenAI URL/Key", "OpenAI URL/Key required.": "需要 OpenAI URL/Key",
"or": "或", "or": "或",
"Other": "其他", "Other": "其他",
"Overview": "概述",
"Password": "密码", "Password": "密码",
"PDF document (.pdf)": "PDF 文档 (.pdf)", "PDF document (.pdf)": "PDF 文档 (.pdf)",
"PDF Extract Images (OCR)": "PDF 图像处理 (使用 OCR)", "PDF Extract Images (OCR)": "PDF 图像处理 (使用 OCR)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "从 {{path}} 扫描文档", "Scan for documents from {{path}}": "从 {{path}} 扫描文档",
"Search": "搜索", "Search": "搜索",
"Search a model": "搜索模型", "Search a model": "搜索模型",
"Search Chats": "",
"Search Documents": "搜索文档", "Search Documents": "搜索文档",
"Search Models": "",
"Search Prompts": "搜索提示词", "Search Prompts": "搜索提示词",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
"API keys": "API Keys", "API keys": "API Keys",
"April": "4月", "April": "4月",
"Archive": "存檔", "Archive": "存檔",
"Archive All Chats": "",
"Archived Chats": "聊天記錄存檔", "Archived Chats": "聊天記錄存檔",
"are allowed - Activate this command by typing": "是允許的 - 透過輸入", "are allowed - Activate this command by typing": "是允許的 - 透過輸入",
"Are you sure?": "你確定嗎?", "Are you sure?": "你確定嗎?",
...@@ -120,7 +121,6 @@ ...@@ -120,7 +121,6 @@
"Custom": "自訂", "Custom": "自訂",
"Customize models for a specific purpose": "", "Customize models for a specific purpose": "",
"Dark": "暗色", "Dark": "暗色",
"Dashboard": "儀表板",
"Database": "資料庫", "Database": "資料庫",
"December": "12月", "December": "12月",
"Default": "預設", "Default": "預設",
...@@ -133,9 +133,9 @@ ...@@ -133,9 +133,9 @@
"delete": "刪除", "delete": "刪除",
"Delete": "刪除", "Delete": "刪除",
"Delete a model": "刪除一個模型", "Delete a model": "刪除一個模型",
"Delete All Chats": "",
"Delete chat": "刪除聊天紀錄", "Delete chat": "刪除聊天紀錄",
"Delete Chat": "刪除聊天紀錄", "Delete Chat": "刪除聊天紀錄",
"Delete Chats": "刪除聊天紀錄",
"delete this link": "刪除此連結", "delete this link": "刪除此連結",
"Delete User": "刪除用戶", "Delete User": "刪除用戶",
"Deleted {{deleteModelTag}}": "已刪除 {{deleteModelTag}}", "Deleted {{deleteModelTag}}": "已刪除 {{deleteModelTag}}",
...@@ -314,7 +314,6 @@ ...@@ -314,7 +314,6 @@
"OpenAI URL/Key required.": "需要 OpenAI URL/金鑰。", "OpenAI URL/Key required.": "需要 OpenAI URL/金鑰。",
"or": "或", "or": "或",
"Other": "其他", "Other": "其他",
"Overview": "總覽",
"Password": "密碼", "Password": "密碼",
"PDF document (.pdf)": "PDF 文件 (.pdf)", "PDF document (.pdf)": "PDF 文件 (.pdf)",
"PDF Extract Images (OCR)": "PDF 圖像擷取(OCR 光學文字辨識)", "PDF Extract Images (OCR)": "PDF 圖像擷取(OCR 光學文字辨識)",
...@@ -365,7 +364,9 @@ ...@@ -365,7 +364,9 @@
"Scan for documents from {{path}}": "從 {{path}} 掃描文件", "Scan for documents from {{path}}": "從 {{path}} 掃描文件",
"Search": "搜尋", "Search": "搜尋",
"Search a model": "搜尋模型", "Search a model": "搜尋模型",
"Search Chats": "",
"Search Documents": "搜尋文件", "Search Documents": "搜尋文件",
"Search Models": "",
"Search Prompts": "搜尋提示詞", "Search Prompts": "搜尋提示詞",
"Search Results": "", "Search Results": "",
"Searching the web for '{{searchQuery}}'": "", "Searching the web for '{{searchQuery}}'": "",
......
...@@ -133,9 +133,9 @@ type Config = { ...@@ -133,9 +133,9 @@ type Config = {
images?: boolean; images?: boolean;
default_models?: string[]; default_models?: string[];
default_prompt_suggestions?: PromptSuggestion[]; default_prompt_suggestions?: PromptSuggestion[];
trusted_header_auth?: boolean; auth_trusted_header?: boolean;
model_config?: GlobalModelConfig; model_config?: GlobalModelConfig;
websearch?: boolean; enable_websearch?: boolean;
}; };
type PromptSuggestion = { type PromptSuggestion = {
......
...@@ -12,11 +12,12 @@ export const sanitizeResponseContent = (content: string) => { ...@@ -12,11 +12,12 @@ export const sanitizeResponseContent = (content: string) => {
.replace(/<$/, '') .replace(/<$/, '')
.replaceAll(/<\|[a-z]+\|>/g, ' ') .replaceAll(/<\|[a-z]+\|>/g, ' ')
.replaceAll('<', '&lt;') .replaceAll('<', '&lt;')
.replaceAll('>', '&gt;')
.trim(); .trim();
}; };
export const revertSanitizedResponseContent = (content: string) => { export const revertSanitizedResponseContent = (content: string) => {
return content.replaceAll('&lt;', '<'); return content.replaceAll('&lt;', '<').replaceAll('&gt;', '>');
}; };
export const capitalizeFirstLetter = (string) => { export const capitalizeFirstLetter = (string) => {
......
<script lang="ts">
import { onMount, getContext } from 'svelte';
import { WEBUI_NAME, showSidebar } from '$lib/stores';
import MenuLines from '$lib/components/icons/MenuLines.svelte';
import { page } from '$app/stores';
const i18n = getContext('i18n');
</script>
<svelte:head>
<title>
{$i18n.t('Admin Panel')} | {$WEBUI_NAME}
</title>
</svelte:head>
<div class=" flex flex-col w-full min-h-screen max-h-screen">
<div class=" px-4 pt-3 mt-0.5 mb-1">
<div class=" flex items-center gap-1">
<div class="{$showSidebar ? 'md:hidden' : ''} mr-1 self-start flex flex-none items-center">
<button
id="sidebar-toggle-button"
class="cursor-pointer p-1 flex rounded-xl hover:bg-gray-100 dark:hover:bg-gray-850 transition"
on:click={() => {
showSidebar.set(!$showSidebar);
}}
>
<div class=" m-auto self-center">
<MenuLines />
</div>
</button>
</div>
<div class="flex items-center text-xl font-semibold">{$i18n.t('Workspace')}</div>
</div>
</div>
<!-- <div class="px-4 my-1">
<div
class="flex scrollbar-none overflow-x-auto w-fit text-center text-sm font-medium rounded-xl bg-transparent/10 p-1"
>
<a
class="min-w-fit rounded-lg p-1.5 px-3 {$page.url.pathname.includes('/workspace/models')
? 'bg-gray-50 dark:bg-gray-850'
: ''} transition"
href="/workspace/models">{$i18n.t('Models')}</a
>
<a
class="min-w-fit rounded-lg p-1.5 px-3 {$page.url.pathname.includes('/workspace/prompts')
? 'bg-gray-50 dark:bg-gray-850'
: ''} transition"
href="/workspace/prompts">{$i18n.t('Prompts')}</a
>
<a
class="min-w-fit rounded-lg p-1.5 px-3 {$page.url.pathname.includes('/workspace/documents')
? 'bg-gray-50 dark:bg-gray-850'
: ''} transition"
href="/workspace/documents"
>
{$i18n.t('Documents')}
</a>
<a
class="min-w-fit rounded-lg p-1.5 px-3 {$page.url.pathname.includes('/workspace/playground')
? 'bg-gray-50 dark:bg-gray-850'
: ''} transition"
href="/workspace/playground">{$i18n.t('Playground')}</a
>
</div>
</div> -->
<hr class=" my-2 dark:border-gray-850" />
<div class=" py-1 px-5 flex-1 max-h-full overflow-y-auto">
<slot />
</div>
</div>
...@@ -82,10 +82,6 @@ ...@@ -82,10 +82,6 @@
}); });
</script> </script>
<svelte:head>
<title>{$i18n.t('Admin Panel')} | {$WEBUI_NAME}</title>
</svelte:head>
{#key selectedUser} {#key selectedUser}
<EditUserModal <EditUserModal
bind:show={showEditUserModal} bind:show={showEditUserModal}
...@@ -106,265 +102,222 @@ ...@@ -106,265 +102,222 @@
<UserChatsModal bind:show={showUserChatsModal} user={selectedUser} /> <UserChatsModal bind:show={showUserChatsModal} user={selectedUser} />
<SettingsModal bind:show={showSettingsModal} /> <SettingsModal bind:show={showSettingsModal} />
<div class=" flex flex-col w-full min-h-screen"> {#if loaded}
{#if loaded} <div class="mt-0.5 mb-3 gap-1 flex flex-col md:flex-row justify-between">
<div class="px-4 pt-3 mt-0.5 mb-1"> <div class="flex md:self-center text-lg font-medium px-0.5">
<div class=" flex items-center gap-1"> {$i18n.t('All Users')}
<div class="{$showSidebar ? 'md:hidden' : ''} mr-1 self-start flex flex-none items-center"> <div class="flex self-center w-[1px] h-6 mx-2.5 bg-gray-200 dark:bg-gray-700" />
<span class="text-lg font-medium text-gray-500 dark:text-gray-300">{users.length}</span>
</div>
<div class="flex gap-1">
<input
class="w-full md:w-60 rounded-xl py-1.5 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
placeholder={$i18n.t('Search')}
bind:value={search}
/>
<div class="flex gap-0.5">
<Tooltip content="Add User">
<button <button
id="sidebar-toggle-button" class=" px-2 py-2 rounded-xl border border-gray-200 dark:border-gray-600 dark:border-0 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 transition font-medium text-sm flex items-center space-x-1"
class="cursor-pointer p-1 flex rounded-xl hover:bg-gray-100 dark:hover:bg-gray-850 transition"
on:click={() => { on:click={() => {
showSidebar.set(!$showSidebar); showAddUserModal = !showAddUserModal;
}} }}
> >
<div class=" m-auto self-center"> <svg
<MenuLines /> xmlns="http://www.w3.org/2000/svg"
</div> viewBox="0 0 16 16"
fill="currentColor"
class="w-4 h-4"
>
<path
d="M8.75 3.75a.75.75 0 0 0-1.5 0v3.5h-3.5a.75.75 0 0 0 0 1.5h3.5v3.5a.75.75 0 0 0 1.5 0v-3.5h3.5a.75.75 0 0 0 0-1.5h-3.5v-3.5Z"
/>
</svg>
</button> </button>
</div> </Tooltip>
<div class="flex items-center text-xl font-semibold">{$i18n.t('Dashboard')}</div>
</div>
</div>
<!-- <div class="px-4 my-1"> <Tooltip content={$i18n.t('Admin Settings')}>
<div <button
class="flex scrollbar-none overflow-x-auto w-fit text-center text-sm font-medium rounded-xl bg-transparent/10 p-1" class=" px-2 py-2 rounded-xl border border-gray-200 dark:border-gray-600 dark:border-0 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 transition font-medium text-sm flex items-center space-x-1"
> on:click={() => {
<button showSettingsModal = !showSettingsModal;
class="min-w-fit rounded-lg p-1.5 px-3 {tab === '' }}
? 'bg-gray-50 dark:bg-gray-850' >
: ''} transition" <svg
type="button" xmlns="http://www.w3.org/2000/svg"
on:click={() => { viewBox="0 0 16 16"
tab = ''; fill="currentColor"
}}>{$i18n.t('Overview')}</button class="w-4 h-4"
> >
<path
fill-rule="evenodd"
d="M6.955 1.45A.5.5 0 0 1 7.452 1h1.096a.5.5 0 0 1 .497.45l.17 1.699c.484.12.94.312 1.356.562l1.321-1.081a.5.5 0 0 1 .67.033l.774.775a.5.5 0 0 1 .034.67l-1.08 1.32c.25.417.44.873.561 1.357l1.699.17a.5.5 0 0 1 .45.497v1.096a.5.5 0 0 1-.45.497l-1.699.17c-.12.484-.312.94-.562 1.356l1.082 1.322a.5.5 0 0 1-.034.67l-.774.774a.5.5 0 0 1-.67.033l-1.322-1.08c-.416.25-.872.44-1.356.561l-.17 1.699a.5.5 0 0 1-.497.45H7.452a.5.5 0 0 1-.497-.45l-.17-1.699a4.973 4.973 0 0 1-1.356-.562L4.108 13.37a.5.5 0 0 1-.67-.033l-.774-.775a.5.5 0 0 1-.034-.67l1.08-1.32a4.971 4.971 0 0 1-.561-1.357l-1.699-.17A.5.5 0 0 1 1 8.548V7.452a.5.5 0 0 1 .45-.497l1.699-.17c.12-.484.312-.94.562-1.356L2.629 4.107a.5.5 0 0 1 .034-.67l.774-.774a.5.5 0 0 1 .67-.033L5.43 3.71a4.97 4.97 0 0 1 1.356-.561l.17-1.699ZM6 8c0 .538.212 1.026.558 1.385l.057.057a2 2 0 0 0 2.828-2.828l-.058-.056A2 2 0 0 0 6 8Z"
clip-rule="evenodd"
/>
</svg>
</button>
</Tooltip>
</div> </div>
</div> --> </div>
</div>
<hr class=" my-2 dark:border-gray-850" />
<div class="scrollbar-hidden relative whitespace-nowrap overflow-x-auto max-w-full">
<div class="px-6"> <table class="w-full text-sm text-left text-gray-500 dark:text-gray-400 table-auto max-w-full">
<div class="mt-0.5 mb-3 gap-1 flex flex-col md:flex-row justify-between"> <thead class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-850 dark:text-gray-400">
<div class="flex md:self-center text-lg font-medium px-0.5"> <tr>
{$i18n.t('All Users')} <th scope="col" class="px-3 py-2"> {$i18n.t('Role')} </th>
<div class="flex self-center w-[1px] h-6 mx-2.5 bg-gray-200 dark:bg-gray-700" /> <th scope="col" class="px-3 py-2"> {$i18n.t('Name')} </th>
<span class="text-lg font-medium text-gray-500 dark:text-gray-300">{users.length}</span> <th scope="col" class="px-3 py-2"> {$i18n.t('Email')} </th>
</div> <th scope="col" class="px-3 py-2"> {$i18n.t('Last Active')} </th>
<div class="flex gap-1"> <th scope="col" class="px-3 py-2"> {$i18n.t('Created at')} </th>
<input
class="w-full md:w-60 rounded-xl py-1.5 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none" <th scope="col" class="px-3 py-2 text-right" />
placeholder={$i18n.t('Search')} </tr>
bind:value={search} </thead>
/> <tbody>
{#each users
<div class="flex gap-0.5"> .filter((user) => {
<Tooltip content="Add User"> if (search === '') {
return true;
} else {
let name = user.name.toLowerCase();
const query = search.toLowerCase();
return name.includes(query);
}
})
.slice((page - 1) * 20, page * 20) as user}
<tr class="bg-white border-b dark:bg-gray-900 dark:border-gray-700 text-xs">
<td class="px-3 py-2 min-w-[7rem] w-28">
<button <button
class=" px-2 py-2 rounded-xl border border-gray-200 dark:border-gray-600 dark:border-0 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 transition font-medium text-sm flex items-center space-x-1" class=" flex items-center gap-2 text-xs px-3 py-0.5 rounded-lg {user.role ===
'admin' && 'text-sky-600 dark:text-sky-200 bg-sky-200/30'} {user.role ===
'user' && 'text-green-600 dark:text-green-200 bg-green-200/30'} {user.role ===
'pending' && 'text-gray-600 dark:text-gray-200 bg-gray-200/30'}"
on:click={() => { on:click={() => {
showAddUserModal = !showAddUserModal; if (user.role === 'user') {
updateRoleHandler(user.id, 'admin');
} else if (user.role === 'pending') {
updateRoleHandler(user.id, 'user');
} else {
updateRoleHandler(user.id, 'pending');
}
}} }}
> >
<svg <div
xmlns="http://www.w3.org/2000/svg" class="w-1 h-1 rounded-full {user.role === 'admin' &&
viewBox="0 0 16 16" 'bg-sky-600 dark:bg-sky-300'} {user.role === 'user' &&
fill="currentColor" 'bg-green-600 dark:bg-green-300'} {user.role === 'pending' &&
class="w-4 h-4" 'bg-gray-600 dark:bg-gray-300'}"
> />
<path {$i18n.t(user.role)}</button
d="M8.75 3.75a.75.75 0 0 0-1.5 0v3.5h-3.5a.75.75 0 0 0 0 1.5h3.5v3.5a.75.75 0 0 0 1.5 0v-3.5h3.5a.75.75 0 0 0 0-1.5h-3.5v-3.5Z"
/>
</svg>
</button>
</Tooltip>
<Tooltip content={$i18n.t('Admin Settings')}>
<button
class=" px-2 py-2 rounded-xl border border-gray-200 dark:border-gray-600 dark:border-0 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 transition font-medium text-sm flex items-center space-x-1"
on:click={() => {
showSettingsModal = !showSettingsModal;
}}
> >
<svg </td>
xmlns="http://www.w3.org/2000/svg" <td class="px-3 py-2 font-medium text-gray-900 dark:text-white w-max">
viewBox="0 0 16 16" <div class="flex flex-row w-max">
fill="currentColor" <img
class="w-4 h-4" class=" rounded-full w-6 h-6 object-cover mr-2.5"
> src={user.profile_image_url.startsWith(WEBUI_BASE_URL) ||
<path user.profile_image_url.startsWith('https://www.gravatar.com/avatar/') ||
fill-rule="evenodd" user.profile_image_url.startsWith('data:')
d="M6.955 1.45A.5.5 0 0 1 7.452 1h1.096a.5.5 0 0 1 .497.45l.17 1.699c.484.12.94.312 1.356.562l1.321-1.081a.5.5 0 0 1 .67.033l.774.775a.5.5 0 0 1 .034.67l-1.08 1.32c.25.417.44.873.561 1.357l1.699.17a.5.5 0 0 1 .45.497v1.096a.5.5 0 0 1-.45.497l-1.699.17c-.12.484-.312.94-.562 1.356l1.082 1.322a.5.5 0 0 1-.034.67l-.774.774a.5.5 0 0 1-.67.033l-1.322-1.08c-.416.25-.872.44-1.356.561l-.17 1.699a.5.5 0 0 1-.497.45H7.452a.5.5 0 0 1-.497-.45l-.17-1.699a4.973 4.973 0 0 1-1.356-.562L4.108 13.37a.5.5 0 0 1-.67-.033l-.774-.775a.5.5 0 0 1-.034-.67l1.08-1.32a4.971 4.971 0 0 1-.561-1.357l-1.699-.17A.5.5 0 0 1 1 8.548V7.452a.5.5 0 0 1 .45-.497l1.699-.17c.12-.484.312-.94.562-1.356L2.629 4.107a.5.5 0 0 1 .034-.67l.774-.774a.5.5 0 0 1 .67-.033L5.43 3.71a4.97 4.97 0 0 1 1.356-.561l.17-1.699ZM6 8c0 .538.212 1.026.558 1.385l.057.057a2 2 0 0 0 2.828-2.828l-.058-.056A2 2 0 0 0 6 8Z" ? user.profile_image_url
clip-rule="evenodd" : `/user.png`}
/> alt="user"
</svg> />
</button>
</Tooltip> <div class=" font-medium self-center">{user.name}</div>
</div> </div>
</div> </td>
</div> <td class=" px-3 py-2"> {user.email} </td>
<div class="scrollbar-hidden relative overflow-x-auto whitespace-nowrap"> <td class=" px-3 py-2">
<table class="w-full text-sm text-left text-gray-500 dark:text-gray-400 table-auto"> {dayjs(user.last_active_at * 1000).fromNow()}
<thead </td>
class="text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-850 dark:text-gray-400"
> <td class=" px-3 py-2">
<tr> {dayjs(user.created_at * 1000).format($i18n.t('MMMM DD, YYYY'))}
<th scope="col" class="px-3 py-2"> {$i18n.t('Role')} </th> </td>
<th scope="col" class="px-3 py-2"> {$i18n.t('Name')} </th>
<th scope="col" class="px-3 py-2"> {$i18n.t('Email')} </th> <td class="px-3 py-2 text-right">
<th scope="col" class="px-3 py-2"> {$i18n.t('Last Active')} </th> <div class="flex justify-end w-full">
{#if user.role !== 'admin'}
<th scope="col" class="px-3 py-2"> {$i18n.t('Created at')} </th> <Tooltip content={$i18n.t('Chats')}>
<button
<th scope="col" class="px-3 py-2 text-right" /> class="self-center w-fit text-sm px-2 py-2 hover:bg-black/5 dark:hover:bg-white/5 rounded-xl"
</tr> on:click={async () => {
</thead> showUserChatsModal = !showUserChatsModal;
<tbody> selectedUser = user;
{#each users }}
.filter((user) => { >
if (search === '') { <ChatBubbles />
return true; </button>
} else { </Tooltip>
let name = user.name.toLowerCase();
const query = search.toLowerCase(); <Tooltip content={$i18n.t('Edit User')}>
return name.includes(query); <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 () => {
.slice((page - 1) * 20, page * 20) as user} showEditUserModal = !showEditUserModal;
<tr class="bg-white border-b dark:bg-gray-900 dark:border-gray-700 text-xs"> selectedUser = user;
<td class="px-3 py-2 min-w-[7rem] w-28"> }}
<button >
class=" flex items-center gap-2 text-xs px-3 py-0.5 rounded-lg {user.role === <svg
'admin' && 'text-sky-600 dark:text-sky-200 bg-sky-200/30'} {user.role === xmlns="http://www.w3.org/2000/svg"
'user' && 'text-green-600 dark:text-green-200 bg-green-200/30'} {user.role === fill="none"
'pending' && 'text-gray-600 dark:text-gray-200 bg-gray-200/30'}" viewBox="0 0 24 24"
on:click={() => { stroke-width="1.5"
if (user.role === 'user') { stroke="currentColor"
updateRoleHandler(user.id, 'admin'); class="w-4 h-4"
} else if (user.role === 'pending') { >
updateRoleHandler(user.id, 'user'); <path
} else { stroke-linecap="round"
updateRoleHandler(user.id, 'pending'); stroke-linejoin="round"
} d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"
}} />
> </svg>
<div </button>
class="w-1 h-1 rounded-full {user.role === 'admin' && </Tooltip>
'bg-sky-600 dark:bg-sky-300'} {user.role === 'user' &&
'bg-green-600 dark:bg-green-300'} {user.role === 'pending' && <Tooltip content={$i18n.t('Delete User')}>
'bg-gray-600 dark:bg-gray-300'}" <button
/> class="self-center w-fit text-sm px-2 py-2 hover:bg-black/5 dark:hover:bg-white/5 rounded-xl"
{$i18n.t(user.role)}</button on:click={async () => {
> deleteUserHandler(user.id);
</td> }}
<td class="px-3 py-2 font-medium text-gray-900 dark:text-white w-max"> >
<div class="flex flex-row w-max"> <svg
<img xmlns="http://www.w3.org/2000/svg"
class=" rounded-full w-6 h-6 object-cover mr-2.5" fill="none"
src={user.profile_image_url.startsWith(WEBUI_BASE_URL) || viewBox="0 0 24 24"
user.profile_image_url.startsWith('https://www.gravatar.com/avatar/') || stroke-width="1.5"
user.profile_image_url.startsWith('data:') stroke="currentColor"
? user.profile_image_url class="w-4 h-4"
: `/user.png`} >
alt="user" <path
/> stroke-linecap="round"
stroke-linejoin="round"
<div class=" font-medium self-center">{user.name}</div> d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
</div> />
</td> </svg>
<td class=" px-3 py-2"> {user.email} </td> </button>
</Tooltip>
<td class=" px-3 py-2"> {/if}
{dayjs(user.last_active_at * 1000).fromNow()} </div>
</td> </td>
</tr>
<td class=" px-3 py-2"> {/each}
{dayjs(user.created_at * 1000).format($i18n.t('MMMM DD, YYYY'))} </tbody>
</td> </table>
</div>
<td class="px-3 py-2 text-right">
<div class="flex justify-end w-full"> <div class=" text-gray-500 text-xs mt-2 text-right">
{#if user.role !== 'admin'} ⓘ {$i18n.t("Click on the user role button to change a user's role.")}
<Tooltip content={$i18n.t('Chats')}> </div>
<button
class="self-center w-fit text-sm px-2 py-2 hover:bg-black/5 dark:hover:bg-white/5 rounded-xl" <Pagination bind:page count={users.length} />
on:click={async () => { {/if}
showUserChatsModal = !showUserChatsModal;
selectedUser = user;
}}
>
<ChatBubbles />
</button>
</Tooltip>
<Tooltip content={$i18n.t('Edit User')}>
<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 () => {
showEditUserModal = !showEditUserModal;
selectedUser = user;
}}
>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-4 h-4"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"
/>
</svg>
</button>
</Tooltip>
<Tooltip content={$i18n.t('Delete User')}>
<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);
}}
>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-4 h-4"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
/>
</svg>
</button>
</Tooltip>
{/if}
</div>
</td>
</tr>
{/each}
</tbody>
</table>
</div>
<div class=" text-gray-500 text-xs mt-2 text-right">
ⓘ {$i18n.t("Click on the user role button to change a user's role.")}
</div>
<Pagination bind:page count={users.length} />
</div>
{/if}
</div>
<style> <style>
.font-mona { .font-mona {
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
info.id = id; info.id = id;
info.name = name; info.name = name;
info.meta.capabilities = capabilities; info.meta.capabilities = capabilities;
info.params.stop = params.stop !== null ? params.stop.split(',').filter((s) => s.trim()) : null; info.params.stop = params.stop ? params.stop.split(',').filter((s) => s.trim()) : null;
if ($models.find((m) => m.id === info.id)) { if ($models.find((m) => m.id === info.id)) {
toast.error( toast.error(
...@@ -316,11 +316,9 @@ ...@@ -316,11 +316,9 @@
bind:value={info.base_model_id} bind:value={info.base_model_id}
required required
> >
<option value={null} class=" placeholder:text-gray-500" <option value={null} class=" text-gray-900">{$i18n.t('Select a base model')}</option>
>{$i18n.t('Select a base model')}</option
>
{#each $models.filter((m) => !m?.preset) as model} {#each $models.filter((m) => !m?.preset) as model}
<option value={model.id}>{model.name}</option> <option value={model.id} class=" text-gray-900">{model.name}</option>
{/each} {/each}
</select> </select>
</div> </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