Commit df47c496 authored by Jonathan Rohde's avatar Jonathan Rohde
Browse files

Merge branch 'refs/heads/dev' into feat/sqlalchemy-instead-of-peewee

# Conflicts:
#	backend/apps/webui/models/functions.py
#	backend/apps/webui/routers/chats.py
parents 827b1e58 cd9170ed
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "ファイルモード",
"File not found.": "ファイルが見つかりません。",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "指紋のなりすましが検出されました: イニシャルをアバターとして使用できません。デフォルトのプロファイル画像にデフォルト設定されています。",
"Fluidly stream large external response chunks": "大規模な外部応答チャンクを流動的にストリーミングする",
......@@ -279,6 +281,7 @@
"Generate Image": "",
"Generating search query": "検索クエリの生成",
"Generation Info": "生成情報",
"Global": "",
"Good Response": "良い応答",
"Google PSE API Key": "Google PSE APIキー",
"Google PSE Engine Id": "Google PSE エンジン ID",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "ფაილური რეჟიმი",
"File not found.": "ფაილი ვერ მოიძებნა",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "აღმოჩენილია თითის ანაბეჭდის გაყალბება: ინიციალების გამოყენება ავატარად შეუძლებელია. დეფოლტ პროფილის დეფოლტ სურათი.",
"Fluidly stream large external response chunks": "თხევადი ნაკადი დიდი გარე საპასუხო ნაწილაკების",
......@@ -279,6 +281,7 @@
"Generate Image": "",
"Generating search query": "საძიებო მოთხოვნის გენერირება",
"Generation Info": "გენერაციის ინფორმაცია",
"Global": "",
"Good Response": "დიდი პასუხი",
"Google PSE API Key": "Google PSE API გასაღები",
"Google PSE Engine Id": "Google PSE ძრავის Id",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "파일 모드",
"File not found.": "파일을 찾을 수 없습니다.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Fingerprint spoofing 감지: 이니셜을 아바타로 사용할 수 없습니다. 기본 프로필 이미지로 설정합니다.",
"Fluidly stream large external response chunks": "대규모 외부 응답 청크를 유연하게 스트리밍",
......@@ -279,6 +281,7 @@
"Generate Image": "이미지 생성",
"Generating search query": "검색 쿼리 생성",
"Generation Info": "생성 정보",
"Global": "",
"Good Response": "좋은 응답",
"Google PSE API Key": "Google PSE API 키",
"Google PSE Engine Id": "Google PSE 엔진 ID",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "Dokumentų rėžimas",
"File not found.": "Failas nerastas.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Nepavyko nsutatyti profilio nuotraukos",
"Fluidly stream large external response chunks": "Sklandžiai transliuoti ilgus atsakymus",
......@@ -279,6 +281,7 @@
"Generate Image": "",
"Generating search query": "",
"Generation Info": "Generavimo informacija",
"Global": "",
"Good Response": "Geras atsakymas",
"Google PSE API Key": "",
"Google PSE Engine Id": "",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "Filmodus",
"File not found.": "Fil ikke funnet.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Fingeravtrykk-spoofing oppdaget: Kan ikke bruke initialer som avatar. Bruker standard profilbilde.",
"Fluidly stream large external response chunks": "Strøm store eksterne svarchunks flytende",
......@@ -279,6 +281,7 @@
"Generate Image": "",
"Generating search query": "Genererer søkeforespørsel",
"Generation Info": "Generasjonsinfo",
"Global": "",
"Good Response": "Godt svar",
"Google PSE API Key": "Google PSE API-nøkkel",
"Google PSE Engine Id": "Google PSE Motor-ID",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "Bestandsmodus",
"File not found.": "Bestand niet gevonden.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Vingerafdruk spoofing gedetecteerd: kan initialen niet gebruiken als avatar. Standaardprofielafbeelding wordt gebruikt.",
"Fluidly stream large external response chunks": "Stream vloeiend grote externe responsbrokken",
......@@ -279,6 +281,7 @@
"Generate Image": "",
"Generating search query": "Zoekopdracht genereren",
"Generation Info": "Generatie Info",
"Global": "",
"Good Response": "Goede Antwoord",
"Google PSE API Key": "Google PSE API-sleutel",
"Google PSE Engine Id": "Google PSE-engine-ID",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "ਫਾਈਲ ਮੋਡ",
"File not found.": "ਫਾਈਲ ਨਹੀਂ ਮਿਲੀ।",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "ਫਿੰਗਰਪ੍ਰਿੰਟ ਸਪੂਫਿੰਗ ਪਾਈ ਗਈ: ਅਵਤਾਰ ਵਜੋਂ ਸ਼ੁਰੂਆਤੀ ਅੱਖਰ ਵਰਤਣ ਵਿੱਚ ਅਸਮਰੱਥ। ਮੂਲ ਪ੍ਰੋਫਾਈਲ ਚਿੱਤਰ 'ਤੇ ਡਿਫਾਲਟ।",
"Fluidly stream large external response chunks": "ਵੱਡੇ ਬਾਹਰੀ ਜਵਾਬ ਚੰਕਾਂ ਨੂੰ ਸਹੀ ਢੰਗ ਨਾਲ ਸਟ੍ਰੀਮ ਕਰੋ",
......@@ -279,6 +281,7 @@
"Generate Image": "",
"Generating search query": "ਖੋਜ ਪੁੱਛਗਿੱਛ ਤਿਆਰ ਕਰਨਾ",
"Generation Info": "ਜਨਰੇਸ਼ਨ ਜਾਣਕਾਰੀ",
"Global": "",
"Good Response": "ਵਧੀਆ ਜਵਾਬ",
"Google PSE API Key": "Google PSE API ਕੁੰਜੀ",
"Google PSE Engine Id": "ਗੂਗਲ PSE ਇੰਜਣ ID",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "Tryb pliku",
"File not found.": "Plik nie został znaleziony.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Wykryto podszywanie się pod odcisk palca: Nie można używać inicjałów jako awatara. Przechodzenie do domyślnego obrazu profilowego.",
"Fluidly stream large external response chunks": "Płynnie przesyłaj strumieniowo duże fragmenty odpowiedzi zewnętrznych",
......@@ -279,6 +281,7 @@
"Generate Image": "",
"Generating search query": "Generowanie zapytania",
"Generation Info": "Informacja o generacji",
"Global": "",
"Good Response": "Dobra odpowiedź",
"Google PSE API Key": "Klucz API Google PSE",
"Google PSE Engine Id": "Identyfikator silnika Google PSE",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "Modo de Arquivo",
"File not found.": "Arquivo não encontrado.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Impostação de impressão digital detectada: Não é possível usar iniciais como avatar. Padronizando para imagem de perfil padrão.",
"Fluidly stream large external response chunks": "Transmita com fluidez grandes blocos de resposta externa",
......@@ -279,6 +281,7 @@
"Generate Image": "",
"Generating search query": "Gerando consulta de pesquisa",
"Generation Info": "Informações de Geração",
"Global": "",
"Good Response": "Boa Resposta",
"Google PSE API Key": "Chave de API PSE do Google",
"Google PSE Engine Id": "ID do mecanismo PSE do Google",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "Modo de Ficheiro",
"File not found.": "Ficheiro não encontrado.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Detectada falsificação da impressão digital: Não é possível usar iniciais como avatar. A usar a imagem de perfil padrão.",
"Fluidly stream large external response chunks": "Transmita com fluidez grandes blocos de resposta externa",
......@@ -279,6 +281,7 @@
"Generate Image": "Gerar imagem",
"Generating search query": "A gerar a consulta da pesquisa",
"Generation Info": "Informações de Geração",
"Global": "",
"Good Response": "Boa Resposta",
"Google PSE API Key": "Chave da API PSE do Google",
"Google PSE Engine Id": "ID do mecanismo PSE do Google",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "Режим файла",
"File not found.": "Файл не найден.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Определение подделки отпечатка: Невозможно использовать инициалы в качестве аватара. По умолчанию используется изображение профиля по умолчанию.",
"Fluidly stream large external response chunks": "Плавная потоковая передача больших фрагментов внешних ответов",
......@@ -279,6 +281,7 @@
"Generate Image": "",
"Generating search query": "Генерация поискового запроса",
"Generation Info": "Информация о генерации",
"Global": "",
"Good Response": "Хороший ответ",
"Google PSE API Key": "Ключ API Google PSE",
"Google PSE Engine Id": "Идентификатор движка Google PSE",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "Режим датотеке",
"File not found.": "Датотека није пронађена.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Откривено лажно представљање отиска прста: Немогуће је користити иницијале као аватар. Прелазак на подразумевану профилну слику.",
"Fluidly stream large external response chunks": "Течно стримујте велике спољне делове одговора",
......@@ -279,6 +281,7 @@
"Generate Image": "",
"Generating search query": "Генерисање упита претраге",
"Generation Info": "Информације о стварању",
"Global": "",
"Good Response": "Добар одговор",
"Google PSE API Key": "Гоогле ПСЕ АПИ кључ",
"Google PSE Engine Id": "Гоогле ПСЕ ИД мотора",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "Fil-läge",
"File not found.": "Fil hittades inte.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"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": "Strömma flytande stora externa svarschunks",
......@@ -279,6 +281,7 @@
"Generate Image": "Generera bild",
"Generating search query": "Genererar sökfråga",
"Generation Info": "Info om generation",
"Global": "",
"Good Response": "Bra svar",
"Google PSE API Key": "Google PSE API-nyckel",
"Google PSE Engine Id": "Google PSE Engine Id",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "",
"File not found.": "",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "",
"Fluidly stream large external response chunks": "",
......@@ -279,6 +281,7 @@
"Generate Image": "",
"Generating search query": "",
"Generation Info": "",
"Global": "",
"Good Response": "",
"Google PSE API Key": "",
"Google PSE Engine Id": "",
......
......@@ -261,6 +261,8 @@
"File": "",
"File Mode": "Dosya Modu",
"File not found.": "Dosya bulunamadı.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Parmak izi sahteciliği tespit edildi: Avatar olarak baş harfler kullanılamıyor. Varsayılan profil resmine dönülüyor.",
"Fluidly stream large external response chunks": "Büyük harici yanıt chunklarını akıcı bir şekilde yayınlayın",
......@@ -279,6 +281,7 @@
"Generate Image": "",
"Generating search query": "Arama sorgusu oluşturma",
"Generation Info": "Üretim Bilgisi",
"Global": "",
"Good Response": "İyi Yanıt",
"Google PSE API Key": "Google PSE API Anahtarı",
"Google PSE Engine Id": "Google PSE Engine Id",
......
......@@ -261,6 +261,8 @@
"File": "Файл",
"File Mode": "Файловий режим",
"File not found.": "Файл не знайдено.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "Фільтри",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Виявлено підробку відбитків: Неможливо використовувати ініціали як аватар. Повернення до зображення профілю за замовчуванням.",
"Fluidly stream large external response chunks": "Плавно передавати великі фрагменти зовнішніх відповідей",
......@@ -279,6 +281,7 @@
"Generate Image": "Створити зображення",
"Generating search query": "Сформувати пошуковий запит",
"Generation Info": "Інформація про генерацію",
"Global": "",
"Good Response": "Гарна відповідь",
"Google PSE API Key": "Ключ API Google PSE",
"Google PSE Engine Id": "Id рушія Google PSE",
......
......@@ -261,6 +261,8 @@
"File": "Tệp",
"File Mode": "Chế độ Tệp văn bản",
"File not found.": "Không tìm thấy tệp.",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "Phát hiện giả mạo vân tay: Không thể sử dụng tên viết tắt làm hình đại diện. Mặc định là hình ảnh hồ sơ mặc định.",
"Fluidly stream large external response chunks": "Truyền tải các khối phản hồi bên ngoài lớn một cách trôi chảy",
......@@ -279,6 +281,7 @@
"Generate Image": "Sinh ảnh",
"Generating search query": "Tạo truy vấn tìm kiếm",
"Generation Info": "Thông tin chung",
"Global": "",
"Good Response": "Trả lời tốt",
"Google PSE API Key": "Khóa API Google PSE",
"Google PSE Engine Id": "ID công cụ Google PSE",
......
......@@ -18,7 +18,7 @@
"Active Users": "当前在线用户",
"Add": "添加",
"Add a model id": "添加一个模型 ID",
"Add a short description about what this model does": "添加有关该模型能的简短描述",
"Add a short description about what this model does": "添加有关该模型能的简短描述",
"Add a short title for this prompt": "为此提示词添加一个简短的标题",
"Add a tag": "添加标签",
"Add custom prompt": "添加自定义提示词",
......@@ -44,7 +44,7 @@
"Allow Chat Deletion": "允许删除聊天记录",
"Allow non-local voices": "允许调用非本地音色",
"Allow User Location": "允许获取您的位置",
"Allow Voice Interruption in Call": "",
"Allow Voice Interruption in Call": "允许通话中的打断语音",
"alphanumeric characters and hyphens": "字母数字字符和连字符",
"Already have an account?": "已经拥有账号了?",
"an assistant": "助手",
......@@ -63,7 +63,7 @@
"Attach file": "添加文件",
"Attention to detail": "注重细节",
"Audio": "语音",
"Audio settings updated successfully": "",
"Audio settings updated successfully": "语音设置更新成功",
"August": "八月",
"Auto-playback response": "自动念出回复内容",
"AUTOMATIC1111 Api Auth String": "AUTOMATIC1111 Api鉴权字符串",
......@@ -110,10 +110,10 @@
"Click here to select documents.": "单击选择文档",
"click here.": "点击这里。",
"Click on the user role button to change a user's role.": "点击角色前方的组别按钮以更改用户所属权限组。",
"Clipboard write permission denied. Please check your browser settings to grant the necessary access.": "",
"Clipboard write permission denied. Please check your browser settings to grant the necessary access.": "写入剪贴板时被拒绝。请检查浏览器设置,授予必要权限。",
"Clone": "复制",
"Close": "关闭",
"Code formatted successfully": "",
"Code formatted successfully": "代码格式化成功",
"Collection": "集合",
"ComfyUI": "ComfyUI",
"ComfyUI Base URL": "ComfyUI 基础地址",
......@@ -128,7 +128,7 @@
"Content": "内容",
"Context Length": "上下文长度",
"Continue Response": "继续生成",
"Continue with {{provider}}": "",
"Continue with {{provider}}": "使用 {{provider}} 继续",
"Copied shared chat URL to clipboard!": "已复制此对话分享链接至剪贴板!",
"Copy": "复制",
"Copy last code block": "复制最后一个代码块中的代码",
......@@ -165,22 +165,22 @@
"Delete chat": "删除对话记录",
"Delete Chat": "删除对话记录",
"Delete chat?": "删除对话记录?",
"Delete function?": "",
"Delete prompt?": "",
"Delete function?": "删除函数?",
"Delete prompt?": "删除提示词?",
"delete this link": "此处删除这个链接",
"Delete tool?": "",
"Delete tool?": "删除工具?",
"Delete User": "删除用户",
"Deleted {{deleteModelTag}}": "已删除 {{deleteModelTag}}",
"Deleted {{name}}": "已删除 {{name}}",
"Description": "描述",
"Didn't fully follow instructions": "没有完全遵照指示",
"Discover a function": "",
"Discover a function": "发现更多函数",
"Discover a model": "发现更多模型",
"Discover a prompt": "发现更多提示词",
"Discover a tool": "",
"Discover, download, and explore custom functions": "",
"Discover a tool": "发现更多工具",
"Discover, download, and explore custom functions": "发现、下载并探索更多函数",
"Discover, download, and explore custom prompts": "发现、下载并探索更多自定义提示词",
"Discover, download, and explore custom tools": "",
"Discover, download, and explore custom tools": "发现、下载并探索更多工具",
"Discover, download, and explore model presets": "发现、下载并探索更多模型预设",
"Dismissible": "是否可关闭",
"Display Emoji in Call": "在通话中显示 Emoji 表情符号",
......@@ -193,7 +193,7 @@
"Don't Allow": "不允许",
"Don't have an account?": "没有账号?",
"Don't like the style": "不喜欢这个文风",
"Done": "",
"Done": "完成",
"Download": "下载",
"Download canceled": "下载已取消",
"Download Database": "下载数据库",
......@@ -247,8 +247,8 @@
"Export chat (.json)": "JSON 文件 (.json)",
"Export Chats": "导出对话",
"Export Documents Mapping": "导出文档映射",
"Export Functions": "导出功能",
"Export LiteLLM config.yaml": "",
"Export Functions": "导出函数",
"Export LiteLLM config.yaml": "导出 LteLLM config.yaml 文件",
"Export Models": "导出模型",
"Export Prompts": "导出提示词",
"Export Tools": "导出工具",
......@@ -261,6 +261,8 @@
"File": "文件",
"File Mode": "文件模式",
"File not found.": "文件未找到。",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "过滤器",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "检测到指纹伪造:无法使用姓名缩写作为头像。默认使用默认个人形象。",
"Fluidly stream large external response chunks": "流畅地传输外部大型响应块数据",
......@@ -269,16 +271,17 @@
"Form": "手动创建",
"Format your variables using square brackets like this:": "使用这样的方括号格式化你的变量:",
"Frequency Penalty": "频率惩罚",
"Function created successfully": "",
"Function deleted successfully": "",
"Function updated successfully": "",
"Functions": "功能",
"Functions imported successfully": "",
"Function created successfully": "函数创建成功",
"Function deleted successfully": "函数删除成功",
"Function updated successfully": "函数更新成功",
"Functions": "函数",
"Functions imported successfully": "函数导入成功",
"General": "通用",
"General Settings": "通用设置",
"Generate Image": "生成图像",
"Generating search query": "生成搜索查询",
"Generation Info": "生成信息",
"Global": "",
"Good Response": "点赞此回答",
"Google PSE API Key": "Google PSE API 密钥",
"Google PSE Engine Id": "Google PSE 引擎 ID",
......@@ -296,7 +299,7 @@
"Images": "图像",
"Import Chats": "导入对话记录",
"Import Documents Mapping": "导入文档映射",
"Import Functions": "导入功能",
"Import Functions": "导入函数",
"Import Models": "导入模型",
"Import Prompts": "导入提示词",
"Import Tools": "导入工具",
......@@ -333,17 +336,17 @@
"Manage Models": "管理模型",
"Manage Ollama Models": "管理 Ollama 模型",
"Manage Pipelines": "管理 Pipeline",
"Manage Valves": "",
"Manage Valves": "管理值",
"March": "三月",
"Max Tokens (num_predict)": "最多 Token (num_predict)",
"Maximum of 3 models can be downloaded simultaneously. Please try again later.": "最多可以同时下载 3 个模型,请稍后重试。",
"May": "五月",
"Memories accessible by LLMs will be shown here.": "大语言模型可访问的记忆将在此显示。",
"Memory": "记忆",
"Memory added successfully": "",
"Memory cleared successfully": "",
"Memory deleted successfully": "",
"Memory updated successfully": "",
"Memory added successfully": "记忆添加成功",
"Memory cleared successfully": "记忆清除成功",
"Memory deleted successfully": "记忆删除成功",
"Memory updated successfully": "记忆更新成功",
"Messages you send after creating your link won't be shared. Users with the URL will be able to view the shared chat.": "创建链接后发送的消息不会被共享。具有 URL 的用户将能够查看共享对话。",
"Minimum Score": "最低分",
"Mirostat": "Mirostat",
......@@ -355,14 +358,14 @@
"Model '{{modelName}}' has been successfully downloaded.": "模型'{{modelName}}'已成功下载。",
"Model '{{modelTag}}' is already in queue for downloading.": "模型'{{modelTag}}'已在下载队列中。",
"Model {{modelId}} not found": "未找到模型 {{modelId}}",
"Model {{modelName}} is not vision capable": "模型 {{modelName}} 不支持视觉能",
"Model {{modelName}} is not vision capable": "模型 {{modelName}} 不支持视觉能",
"Model {{name}} is now {{status}}": "模型 {{name}} 现在是 {{status}}",
"Model created successfully!": "",
"Model created successfully!": "模型创建成功!",
"Model filesystem path detected. Model shortname is required for update, cannot continue.": "检测到模型文件系统路径,无法继续进行。更新操作需要提供模型简称。",
"Model ID": "模型 ID",
"Model not selected": "未选择模型",
"Model Params": "模型参数",
"Model updated successfully": "",
"Model updated successfully": "模型更新成功",
"Model Whitelisting": "白名单模型",
"Model(s) Whitelisted": "模型已加入白名单",
"Modelfile Content": "模型文件内容",
......@@ -373,20 +376,20 @@
"Name your model": "为您的模型命名",
"New Chat": "新对话",
"New Password": "新密码",
"No content to speak": "",
"No content to speak": "没有内容可朗读",
"No documents found": "未找到文档",
"No file selected": "",
"No file selected": "未选中文件",
"No results found": "未找到结果",
"No search query generated": "未生成搜索查询",
"No source available": "没有可用来源",
"No valves to update": "",
"No valves to update": "没有需要更新的值",
"None": "无",
"Not factually correct": "事实并非如此",
"Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.": "注意:如果设置了最低分数,搜索只会返回分数大于或等于最低分数的文档。",
"Notifications": "桌面通知",
"November": "十一月",
"num_thread (Ollama)": "num_thread(Ollama)",
"OAuth ID": "",
"OAuth ID": "OAuth ID",
"October": "十月",
"Off": "关闭",
"Okay, Let's Go!": "确认,开始使用!",
......@@ -421,10 +424,10 @@
"Permission denied when accessing microphone": "申请麦克风权限被拒绝",
"Permission denied when accessing microphone: {{error}}": "申请麦克风权限被拒绝:{{error}}",
"Personalization": "个性化",
"Pipeline deleted successfully": "",
"Pipeline downloaded successfully": "",
"Pipeline deleted successfully": "Pipeline 删除成功",
"Pipeline downloaded successfully": "Pipeline 下载成功",
"Pipelines": "Pipeline",
"Pipelines Not Detected": "",
"Pipelines Not Detected": "未检测到 Pipeline",
"Pipelines Valves": "Pipeline 值",
"Plain text (.txt)": "TXT 文档 (.txt)",
"Playground": "AI 对话游乐场",
......@@ -460,7 +463,7 @@
"Reset Upload Directory": "重置上传目录",
"Reset Vector Storage": "重置向量存储",
"Response AutoCopy to Clipboard": "自动复制回复到剪贴板",
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "无法激活回复时发送通知。请检查浏览器设置,并授予必要的访问权限。",
"Role": "权限组",
"Rosé Pine": "Rosé Pine",
"Rosé Pine Dawn": "Rosé Pine Dawn",
......@@ -477,7 +480,7 @@
"Search a model": "搜索模型",
"Search Chats": "搜索对话",
"Search Documents": "搜索文档",
"Search Functions": "搜索功能",
"Search Functions": "搜索函数",
"Search Models": "搜索模型",
"Search Prompts": "搜索提示词",
"Search Query Generation Prompt": "搜索查询生成提示",
......@@ -492,12 +495,12 @@
"Seed": "种子 (Seed)",
"Select a base model": "选择一个基础模型",
"Select a engine": "选择一个搜索引擎",
"Select a function": "",
"Select a function": "选择一个函数",
"Select a mode": "选择一个模式",
"Select a model": "选择一个模型",
"Select a pipeline": "选择一个管道",
"Select a pipeline url": "选择一个管道 URL",
"Select a tool": "",
"Select a tool": "选择一个工具",
"Select an Ollama instance": "选择一个 Ollama 实例",
"Select Documents": "选择文档",
"Select model": "选择模型",
......@@ -530,7 +533,7 @@
"Show Admin Details in Account Pending Overlay": "在用户待激活界面中显示管理员邮箱等详细信息",
"Show Model": "显示",
"Show shortcuts": "显示快捷方式",
"Show your support!": "",
"Show your support!": "表达你的支持!",
"Showcased creativity": "很有创意",
"sidebar": "侧边栏",
"Sign in": "登录",
......@@ -581,16 +584,16 @@
"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 filters here, add them to the \"Functions\" workspace first.": "要在这里选择过滤器,请先将它们添加到工作空间中的“功能”。",
"To select filters here, add them to the \"Functions\" 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",
"Tool created successfully": "",
"Tool deleted successfully": "",
"Tool imported successfully": "",
"Tool updated successfully": "",
"Tool created successfully": "工具创建成功",
"Tool deleted successfully": "工具删除成功",
"Tool imported successfully": "工具导入成功",
"Tool updated successfully": "工具更新成功",
"Tools": "工具",
"Top K": "Top K",
"Top P": "Top P",
......@@ -619,14 +622,14 @@
"use_mlock (Ollama)": "use_mlock(Ollama)",
"use_mmap (Ollama)": "use_mmap (Ollama)",
"user": "用户",
"User location successfully retrieved.": "",
"User location successfully retrieved.": "成功检索到用户位置。",
"User Permissions": "用户权限",
"Users": "用户",
"Utilize": "利用",
"Valid time units:": "有效时间单位:",
"Valves": "",
"Valves updated": "",
"Valves updated successfully": "",
"Valves": "",
"Valves updated": "已更新值",
"Valves updated successfully": "值更新成功",
"variable": "变量",
"variable to have them replaced with clipboard content.": "变量将被剪贴板内容替换。",
"Version": "版本",
......
......@@ -261,6 +261,8 @@
"File": "檔案",
"File Mode": "檔案模式",
"File not found.": "找不到檔案。",
"Filter is now globally disabled": "",
"Filter is now globally enabled": "",
"Filters": "篩選器",
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "偽造偵測:無法使用初始頭像。預設為預設個人影象。",
"Fluidly stream large external response chunks": "流暢地傳輸大型外部回應區塊",
......@@ -279,6 +281,7 @@
"Generate Image": "生成圖片",
"Generating search query": "生成搜尋查詢",
"Generation Info": "生成資訊",
"Global": "",
"Good Response": "優秀的回應",
"Google PSE API Key": "Google PSE API 金鑰",
"Google PSE Engine Id": "Google PSE 引擎 ID",
......
......@@ -48,6 +48,10 @@
console.log(func);
});
if (window.opener ?? false) {
window.opener.postMessage('loaded', '*');
}
if (sessionStorage.function) {
func = JSON.parse(sessionStorage.function);
sessionStorage.removeItem('function');
......@@ -61,14 +65,16 @@
</script>
{#if mounted}
<FunctionEditor
id={func?.id ?? ''}
name={func?.name ?? ''}
meta={func?.meta ?? { description: '' }}
content={func?.content ?? ''}
{clone}
on:save={(e) => {
saveHandler(e.detail);
}}
/>
{#key func?.content}
<FunctionEditor
id={func?.id ?? ''}
name={func?.name ?? ''}
meta={func?.meta ?? { description: '' }}
content={func?.content ?? ''}
{clone}
on:save={(e) => {
saveHandler(e.detail);
}}
/>
{/key}
{/if}
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