From 3404b8dd13c239a07ce9ab4b00d3a439ce5ccf67 Mon Sep 17 00:00:00 2001
From: Jannik Streidl
Date: Tue, 7 May 2024 08:43:25 +0200
Subject: [PATCH 17/63] added some missing keys
---
src/lib/components/chat/MessageInput/Documents.svelte | 2 +-
src/lib/components/chat/MessageInput/Suggestions.svelte | 8 +++++---
src/lib/i18n/locales/de-DE/translation.json | 7 +++++--
3 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/lib/components/chat/MessageInput/Documents.svelte b/src/lib/components/chat/MessageInput/Documents.svelte
index 37fb672c84..b38cc5f1bd 100644
--- a/src/lib/components/chat/MessageInput/Documents.svelte
+++ b/src/lib/components/chat/MessageInput/Documents.svelte
@@ -24,7 +24,7 @@
{
name: 'All Documents',
type: 'collection',
- title: 'All Documents',
+ title: $i18n.t('All Documents'),
collection_names: $documents.map((doc) => doc.collection_name)
}
]
diff --git a/src/lib/components/chat/MessageInput/Suggestions.svelte b/src/lib/components/chat/MessageInput/Suggestions.svelte
index f094d17aee..c4485f9c66 100644
--- a/src/lib/components/chat/MessageInput/Suggestions.svelte
+++ b/src/lib/components/chat/MessageInput/Suggestions.svelte
@@ -1,6 +1,8 @@
diff --git a/src/lib/components/layout/Sidebar.svelte b/src/lib/components/layout/Sidebar.svelte
index d4e047f415..39554acb24 100644
--- a/src/lib/components/layout/Sidebar.svelte
+++ b/src/lib/components/layout/Sidebar.svelte
@@ -134,7 +134,7 @@
const editChatTitle = async (id, _title) => {
if (_title === '') {
- toast.error('Title cannot be an empty string.');
+ toast.error($i18n.t('Title cannot be an empty string.'));
} else {
title = _title;
From 06683f5ac04fc9b0c189a4d55039a5c606d72498 Mon Sep 17 00:00:00 2001
From: Jannik Streidl
Date: Tue, 7 May 2024 11:54:34 +0200
Subject: [PATCH 26/63] changed german spelling
---
src/lib/i18n/locales/de-DE/translation.json | 28 ++++++++++++---------
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/src/lib/i18n/locales/de-DE/translation.json b/src/lib/i18n/locales/de-DE/translation.json
index 7fcb68088a..f8c9441b3f 100644
--- a/src/lib/i18n/locales/de-DE/translation.json
+++ b/src/lib/i18n/locales/de-DE/translation.json
@@ -139,7 +139,7 @@
"Discover a prompt": "Einen Prompt entdecken",
"Discover, download, and explore custom prompts": "Benutzerdefinierte Prompts entdecken, herunterladen und erkunden",
"Discover, download, and explore model presets": "Modellvorgaben entdecken, herunterladen und erkunden",
- "Display the username instead of You in the Chat": "Den Benutzernamen anstelle von 'Du' im Chat anzeigen",
+ "Display the username instead of You in the Chat": "Den Benutzernamen anstelle von 'du' im Chat anzeigen",
"Document": "Dokument",
"Document Settings": "Dokumenteinstellungen",
"Documents": "Dokumente",
@@ -218,7 +218,7 @@
"Import Documents Mapping": "Dokumentenmapping importieren",
"Import Modelfiles": "Modelfiles importieren",
"Import Prompts": "Prompts importieren",
- "Include `--api` flag when running stable-diffusion-webui": "Füge das `--api`-Flag hinzu, wenn Du stable-diffusion-webui nutzt",
+ "Include `--api` flag when running stable-diffusion-webui": "Füge das `--api`-Flag hinzu, wenn du stable-diffusion-webui nutzt",
"Input commands": "Eingabebefehle",
"Interface": "Benutzeroberfläche",
"join our Discord for help.": "Trete unserem Discord bei, um Hilfe zu erhalten.",
@@ -274,7 +274,7 @@
"No source available": "",
"Not factually correct": "Nicht sachlich korrekt.",
"Not sure what to add?": "Nicht sicher, was hinzugefügt werden soll?",
- "Not sure what to write? Switch to": "Nicht sicher, was Du schreiben sollst? Wechsel zu",
+ "Not sure what to write? Switch to": "Nicht sicher, was du schreiben sollst? Wechsel zu",
"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": "Desktop-Benachrichtigungen",
"Off": "Aus",
@@ -288,7 +288,7 @@
"Only alphanumeric characters and hyphens are allowed in the command string.": "Nur alphanumerische Zeichen und Bindestriche sind im Befehlsstring erlaubt.",
"Oops! Hold tight! Your files are still in the processing oven. We're cooking them up to perfection. Please be patient and we'll let you know once they're ready.": "Hoppla! Warte noch einen Moment! Die Dateien sind noch im der Verarbeitung. Bitte habe etwas Geduld und wir informieren Dich, sobald sie bereit sind.",
"Oops! Looks like the URL is invalid. Please double-check and try again.": "Hoppla! Es sieht so aus, als wäre die URL ungültig. Bitte überprüfe sie und versuche es nochmal.",
- "Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.": "Hoppla! Du verwendest eine nicht unterstützte Methode (nur Frontend). Bitte stelle die WebUI vom Backend aus bereit.",
+ "Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.": "Hoppla! du verwendest eine nicht unterstützte Methode (nur Frontend). Bitte stelle die WebUI vom Backend aus bereit.",
"Open": "Öffne",
"Open AI": "Open AI",
"Open AI (Dall-E)": "Open AI (Dall-E)",
@@ -323,7 +323,7 @@
"Raw Format": "Rohformat",
"Read Aloud": "Vorlesen",
"Record voice": "Stimme aufnehmen",
- "Redirecting you to OpenWebUI Community": "Du wirst zur OpenWebUI-Community weitergeleitet",
+ "Redirecting you to OpenWebUI Community": "du wirst zur OpenWebUI-Community weitergeleitet",
"Refused when it shouldn't have": "Abgelehnt, obwohl es nicht hätte sein sollen.",
"Regenerate": "Neu generieren",
"Release Notes": "Versionshinweise",
@@ -346,7 +346,7 @@
"Save & Create": "Speichern und erstellen",
"Save & Submit": "Speichern und senden",
"Save & Update": "Speichern und aktualisieren",
- "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "Das direkte Speichern von Chat-Protokollen im Browser-Speicher wird nicht mehr unterstützt. Bitte nimm Dir einen Moment Zeit, um deine Chat-Protokolle herunterzuladen und zu löschen, indem Du auf die Schaltfläche unten klickst. Keine Sorge, Du kannst deine Chat-Protokolle problemlos über das Backend wieder importieren.",
+ "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "Das direkte Speichern von Chat-Protokollen im Browser-Speicher wird nicht mehr unterstützt. Bitte nimm Dir einen Moment Zeit, um deine Chat-Protokolle herunterzuladen und zu löschen, indem du auf die Schaltfläche unten klickst. Keine Sorge, du kannst deine Chat-Protokolle problemlos über das Backend wieder importieren.",
"Scan": "Scannen",
"Scan complete!": "Scan abgeschlossen!",
"Scan for documents from {{path}}": "Dokumente von {{path}} scannen",
@@ -460,14 +460,18 @@
"Whisper (Local)": "Whisper (Lokal)",
"Write a prompt suggestion (e.g. Who are you?)": "Gebe einen Prompt-Vorschlag ein (z.B. Wer bist du?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Schreibe eine kurze Zusammenfassung in 50 Wörtern, die [Thema oder Schlüsselwort] zusammenfasst.",
- "You": "Du",
- "You have no archived conversations.": "Du hast keine archivierten Unterhaltungen.",
- "You have shared this chat": "Du hast diesen Chat",
- "You're a helpful assistant.": "Du bist ein hilfreicher Assistent.",
- "You're now logged in.": "Du bist nun eingeloggt.",
+ "You": "du",
+ "You have no archived conversations.": "du hast keine archivierten Unterhaltungen.",
+ "You have shared this chat": "du hast diesen Chat",
+ "You're a helpful assistant.": "du bist ein hilfreicher Assistent.",
+ "You're now logged in.": "du bist nun eingeloggt.",
"Youtube": "YouTube",
"Help": "Hilfe",
"All Documents": "Alle Dokumente",
"Suggested": "Vorgeschlagen",
- "Prompt": "Prompt"
+ "Prompt": "Prompt",
+ "Download canceled": "Download abgebrochen",
+ "Invalid Tag": "Ungültiger Tag",
+ "Title cannot be an empty string.": "Titel darf nicht leer sein."
+
}
From a2d0f9ce1d21649d9d0aec34a0d2e62392ccd1d7 Mon Sep 17 00:00:00 2001
From: Jannik Streidl
Date: Tue, 7 May 2024 11:56:41 +0200
Subject: [PATCH 27/63] fix german spelling
---
src/lib/i18n/locales/de-DE/translation.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/lib/i18n/locales/de-DE/translation.json b/src/lib/i18n/locales/de-DE/translation.json
index f8c9441b3f..3b192c84be 100644
--- a/src/lib/i18n/locales/de-DE/translation.json
+++ b/src/lib/i18n/locales/de-DE/translation.json
@@ -323,7 +323,7 @@
"Raw Format": "Rohformat",
"Read Aloud": "Vorlesen",
"Record voice": "Stimme aufnehmen",
- "Redirecting you to OpenWebUI Community": "du wirst zur OpenWebUI-Community weitergeleitet",
+ "Redirecting you to OpenWebUI Community": "Du wirst zur OpenWebUI-Community weitergeleitet",
"Refused when it shouldn't have": "Abgelehnt, obwohl es nicht hätte sein sollen.",
"Regenerate": "Neu generieren",
"Release Notes": "Versionshinweise",
@@ -460,11 +460,11 @@
"Whisper (Local)": "Whisper (Lokal)",
"Write a prompt suggestion (e.g. Who are you?)": "Gebe einen Prompt-Vorschlag ein (z.B. Wer bist du?)",
"Write a summary in 50 words that summarizes [topic or keyword].": "Schreibe eine kurze Zusammenfassung in 50 Wörtern, die [Thema oder Schlüsselwort] zusammenfasst.",
- "You": "du",
- "You have no archived conversations.": "du hast keine archivierten Unterhaltungen.",
- "You have shared this chat": "du hast diesen Chat",
- "You're a helpful assistant.": "du bist ein hilfreicher Assistent.",
- "You're now logged in.": "du bist nun eingeloggt.",
+ "You": "Du",
+ "You have no archived conversations.": "Du hast keine archivierten Unterhaltungen.",
+ "You have shared this chat": "Du hast diesen Chat",
+ "You're a helpful assistant.": "Du bist ein hilfreicher Assistent.",
+ "You're now logged in.": "Du bist nun eingeloggt.",
"Youtube": "YouTube",
"Help": "Hilfe",
"All Documents": "Alle Dokumente",
From 7ce157a8b8bfcb37ce56835c507ce869fe6cecde Mon Sep 17 00:00:00 2001
From: Jannik Streidl
Date: Tue, 7 May 2024 12:00:03 +0200
Subject: [PATCH 28/63] fix german spelling
---
src/lib/i18n/locales/de-DE/translation.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/i18n/locales/de-DE/translation.json b/src/lib/i18n/locales/de-DE/translation.json
index 3b192c84be..9f280a5b3e 100644
--- a/src/lib/i18n/locales/de-DE/translation.json
+++ b/src/lib/i18n/locales/de-DE/translation.json
@@ -208,7 +208,7 @@
"Hello, {{name}}": "Hallo, {{name}}",
"Hide": "Verbergen",
"Hide Additional Params": "Verstecke zusätzliche Parameter",
- "How can I help you today?": "Wie kann ich Dir heute helfen?",
+ "How can I help you today?": "Wie kann ich dir heute helfen?",
"Hybrid Search": "Hybride Suche",
"Image Generation (Experimental)": "Bildgenerierung (experimentell)",
"Image Generation Engine": "Bildgenerierungs-Engine",
@@ -346,7 +346,7 @@
"Save & Create": "Speichern und erstellen",
"Save & Submit": "Speichern und senden",
"Save & Update": "Speichern und aktualisieren",
- "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "Das direkte Speichern von Chat-Protokollen im Browser-Speicher wird nicht mehr unterstützt. Bitte nimm Dir einen Moment Zeit, um deine Chat-Protokolle herunterzuladen und zu löschen, indem du auf die Schaltfläche unten klickst. Keine Sorge, du kannst deine Chat-Protokolle problemlos über das Backend wieder importieren.",
+ "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "Das direkte Speichern von Chat-Protokollen im Browser-Speicher wird nicht mehr unterstützt. Bitte nimm dir einen Moment Zeit, um deine Chat-Protokolle herunterzuladen und zu löschen, indem du auf die Schaltfläche unten klickst. Keine Sorge, du kannst deine Chat-Protokolle problemlos über das Backend wieder importieren.",
"Scan": "Scannen",
"Scan complete!": "Scan abgeschlossen!",
"Scan for documents from {{path}}": "Dokumente von {{path}} scannen",
From 242e70d1819fe05802dd554e0b7436a4e5f22a46 Mon Sep 17 00:00:00 2001
From: ihavecoke
Date: Tue, 7 May 2024 23:47:47 +0800
Subject: [PATCH 29/63] Adjust text formatting per Chinese copywriting
guidelines
Refined text formatting to follow the recommendations from: https://sparanoid.com/note/chinese-copywriting-guidelines/
---
src/lib/i18n/locales/zh-CN/translation.json | 68 ++++++++++-----------
src/lib/i18n/locales/zh-TW/translation.json | 10 +--
2 files changed, 39 insertions(+), 39 deletions(-)
diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json
index 64192d55f2..59e5001adb 100644
--- a/src/lib/i18n/locales/zh-CN/translation.json
+++ b/src/lib/i18n/locales/zh-CN/translation.json
@@ -46,7 +46,7 @@
"Attention to detail": "",
"Audio": "音频",
"Auto-playback response": "自动播放回应",
- "Auto-send input after 3 sec.": "3秒后自动发送输入",
+ "Auto-send input after 3 sec.": "3 秒后自动发送输入",
"AUTOMATIC1111 Base URL": "AUTOMATIC1111 基础 URL",
"AUTOMATIC1111 Base URL is required.": "需要 AUTOMATIC1111 基础 URL。",
"available!": "可用!",
@@ -65,9 +65,9 @@
"Check for updates": "检查更新",
"Checking for updates...": "正在检查更新...",
"Choose a model before saving...": "保存前选择一个模型...",
- "Chunk Overlap": "块重叠(Chunk Overlap)",
- "Chunk Params": "块参数(Chunk Params)",
- "Chunk Size": "块大小(Chunk Size)",
+ "Chunk Overlap": "块重叠 (Chunk Overlap)",
+ "Chunk Params": "块参数 (Chunk Params)",
+ "Chunk Size": "块大小 (Chunk Size)",
"Click here for help.": "点击这里获取帮助。",
"Click here to check other modelfiles.": "点击这里检查其他模型文件。",
"Click here to select": "点击这里选择",
@@ -93,7 +93,7 @@
"Copy last response": "复制最后一次回复",
"Copy Link": "",
"Copying to clipboard was successful!": "复制到剪贴板成功!",
- "Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':": "为以下查询创建一个简洁的、3-5个词的短语作为标题,严格遵守3-5个词的限制并避免使用“标题”一词:",
+ "Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':": "为以下查询创建一个简洁的、3-5 个词的短语作为标题,严格遵守 3-5 个词的限制并避免使用“标题”一词:",
"Create a modelfile": "创建模型文件",
"Create Account": "创建账户",
"Created at": "创建于",
@@ -101,7 +101,7 @@
"Current Model": "当前模型",
"Current Password": "当前密码",
"Custom": "自定义",
- "Customize Ollama models for a specific purpose": "定制特定用途的Ollama模型",
+ "Customize Ollama models for a specific purpose": "定制特定用途的 Ollama 模型",
"Dark": "暗色",
"Database": "数据库",
"DD/MM/YYYY HH:mm": "DD/MM/YYYY HH:mm",
@@ -151,16 +151,16 @@
"Enabled": "启用",
"Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "",
"Enter {{role}} message here": "在此处输入 {{role}} 信息",
- "Enter Chunk Overlap": "输入块重叠(Chunk Overlap)",
- "Enter Chunk Size": "输入块大小(Chunk Size)",
- "Enter Image Size (e.g. 512x512)": "输入图片大小(例如 512x512)",
+ "Enter Chunk Overlap": "输入块重叠 (Chunk Overlap)",
+ "Enter Chunk Size": "输入块大小 (Chunk Size)",
+ "Enter Image Size (e.g. 512x512)": "输入图片大小 (例如 512x512)",
"Enter LiteLLM API Base URL (litellm_params.api_base)": "输入 LiteLLM API 基本 URL (litellm_params.api_base)",
"Enter LiteLLM API Key (litellm_params.api_key)": "输入 LiteLLM API 密匙 (litellm_params.api_key)",
"Enter LiteLLM API RPM (litellm_params.rpm)": "输入 LiteLLM API 速率限制 (litellm_params.rpm)",
"Enter LiteLLM Model (litellm_params.model)": "输入 LiteLLM 模型 (litellm_params.model)",
"Enter Max Tokens (litellm_params.max_tokens)": "输入模型的 Max Tokens (litellm_params.max_tokens)",
- "Enter model tag (e.g. {{modelTag}})": "输入模型标签(例如{{modelTag}})",
- "Enter Number of Steps (e.g. 50)": "输入步数(例如50)",
+ "Enter model tag (e.g. {{modelTag}})": "输入模型标签 (例如{{modelTag}})",
+ "Enter Number of Steps (e.g. 50)": "输入步数 (例如 50)",
"Enter Score": "",
"Enter stop sequence": "输入停止序列",
"Enter Top K": "输入 Top K",
@@ -205,26 +205,26 @@
"Import Documents Mapping": "导入文档映射",
"Import Modelfiles": "导入模型文件",
"Import Prompts": "导入提示",
- "Include `--api` flag when running stable-diffusion-webui": "运行stable-diffusion-webui时包含`--api`标志",
+ "Include `--api` flag when running stable-diffusion-webui": "运行 stable-diffusion-webui 时包含 `--api` 标志",
"Interface": "界面",
- "join our Discord for help.": "加入我们的Discord寻求帮助。",
+ "join our Discord for help.": "加入我们的 Discord 寻求帮助。",
"JSON": "JSON",
- "JWT Expiration": "JWT过期",
- "JWT Token": "JWT令牌",
+ "JWT Expiration": "JWT 过期",
+ "JWT Token": "JWT 令牌",
"Keep Alive": "保持活动",
"Keyboard shortcuts": "键盘快捷键",
"Language": "语言",
"Last Active": "",
"Light": "浅色",
"Listening...": "监听中...",
- "LLMs can make mistakes. Verify important information.": "LLM可能会生成错误信息,请验证重要信息。",
- "Made by OpenWebUI Community": "由OpenWebUI社区制作",
+ "LLMs can make mistakes. Verify important information.": "LLM 可能会生成错误信息,请验证重要信息。",
+ "Made by OpenWebUI Community": "由 OpenWebUI 社区制作",
"Make sure to enclose them with": "确保将它们包含在内",
- "Manage LiteLLM Models": "管理LiteLLM模型",
+ "Manage LiteLLM Models": "管理 LiteLLM 模型",
"Manage Models": "管理模型",
- "Manage Ollama Models": "管理Ollama模型",
+ "Manage Ollama Models": "管理 Ollama 模型",
"Max Tokens": "最大令牌数",
- "Maximum of 3 models can be downloaded simultaneously. Please try again later.": "最多可以同时下载3个模型,请稍后重试。",
+ "Maximum of 3 models can be downloaded simultaneously. Please try again later.": "最多可以同时下载 3 个模型,请稍后重试。",
"Minimum Score": "",
"Mirostat": "Mirostat",
"Mirostat Eta": "Mirostat Eta",
@@ -268,7 +268,7 @@
"Ollama Version": "Ollama 版本",
"On": "开",
"Only": "仅",
- "Only alphanumeric characters and hyphens are allowed in the command string.": "命令字符串中只允许使用英文字母,数字(0-9)以及连字符(-)。",
+ "Only alphanumeric characters and hyphens are allowed in the command string.": "命令字符串中只允许使用英文字母,数字 (0-9) 以及连字符 (-)。",
"Oops! Hold tight! Your files are still in the processing oven. We're cooking them up to perfection. Please be patient and we'll let you know once they're ready.": "哎呀!请稍等!您的文件仍在处理中。我们正在将它们做得尽善尽美,请耐心等待,一旦准备好我们会通知您。",
"Oops! Looks like the URL is invalid. Please double-check and try again.": "哎呀!看起来 URL 无效。请仔细检查后再试一次。",
"Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.": "哎呀!您正在使用不支持的方法(仅限前端)。请从后端提供 WebUI。",
@@ -286,7 +286,7 @@
"Parameters": "参数",
"Password": "密码",
"PDF document (.pdf)": "",
- "PDF Extract Images (OCR)": "PDF图像处理(使用OCR)",
+ "PDF Extract Images (OCR)": "PDF 图像处理 (使用 OCR)",
"pending": "待定",
"Permission denied when accessing microphone: {{error}}": "访问麦克风时权限被拒绝:{{error}}",
"Plain text (.txt)": "",
@@ -336,7 +336,7 @@
"Seed": "种子",
"Select a mode": "选择一个模式",
"Select a model": "选择一个模型",
- "Select an Ollama instance": "选择一个Ollama实例",
+ "Select an Ollama instance": "选择一个 Ollama 实例",
"Send a Message": "发送消息",
"Send message": "发送消息",
"Server connection verified": "已验证服务器连接",
@@ -350,7 +350,7 @@
"Settings saved successfully!": "设置已保存",
"Share": "",
"Share Chat": "",
- "Share to OpenWebUI Community": "分享到OpenWebUI社区",
+ "Share to OpenWebUI Community": "分享到 OpenWebUI 社区",
"short-summary": "简短总结",
"Show": "显示",
"Show Additional Params": "显示额外参数",
@@ -363,7 +363,7 @@
"Signing in": "",
"Speech recognition error: {{error}}": "语音识别错误:{{error}}",
"Speech-to-Text Engine": "语音转文字引擎",
- "SpeechRecognition API is not supported in this browser.": "此浏览器不支持SpeechRecognition API。",
+ "SpeechRecognition API is not supported in this browser.": "此浏览器不支持 SpeechRecognition API。",
"Stop Sequence": "停止序列",
"STT Settings": "语音转文字设置",
"Submit": "提交",
@@ -386,22 +386,22 @@
"This ensures that your valuable conversations are securely saved to your backend database. Thank you!": "这确保了您宝贵的对话被安全保存到后端数据库中。谢谢!",
"This setting does not sync across browsers or devices.": "此设置不会在浏览器或设备之间同步。",
"Thorough explanation": "",
- "Tip: Update multiple variable slots consecutively by pressing the tab key in the chat input after each replacement.": "提示:在每次替换后,在聊天输入中按Tab键可以连续更新多个变量。",
+ "Tip: Update multiple variable slots consecutively by pressing the tab key in the chat input after each replacement.": "提示:在每次替换后,在聊天输入中按 Tab 键可以连续更新多个变量。",
"Title": "标题",
"Title (e.g. Tell me a fun fact)": "",
"Title Auto-Generation": "标题自动生成",
"Title Generation Prompt": "自动生成标题的提示词",
"to": "到",
"To access the available model names for downloading,": "要访问可下载的模型名称,",
- "To access the GGUF models available for downloading,": "要访问可下载的GGUF模型,",
+ "To access the GGUF models available for downloading,": "要访问可下载的 GGUF 模型,",
"to chat input.": "到聊天输入。",
"Toggle settings": "切换设置",
"Toggle sidebar": "切换侧边栏",
"Top K": "Top K",
"Top P": "Top P",
- "Trouble accessing Ollama?": "访问Ollama时遇到问题?",
+ "Trouble accessing Ollama?": "访问 Ollama 时遇到问题?",
"TTS Settings": "文本转语音设置",
- "Type Hugging Face Resolve (Download) URL": "输入Hugging Face解析(下载)URL",
+ "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 and Copy Link": "",
@@ -410,12 +410,12 @@
"Update password": "更新密码",
"Update Reranking Model": "",
"Update reranking model (e.g. {{model}})": "",
- "Upload a GGUF model": "上传一个GGUF模型",
+ "Upload a GGUF model": "上传一个 GGUF 模型",
"Upload files": "上传文件",
"Upload Progress": "上传进度",
- "URL Mode": "URL模式",
+ "URL Mode": "URL 模式",
"Use '#' in the prompt input to load and select your documents.": "在提示输入中使用'#'来加载和选择你的文档。",
- "Use Gravatar": "使用Gravatar",
+ "Use Gravatar": "使用 Gravatar",
"Use Initials": "",
"user": "用户",
"User Permissions": "用户权限",
@@ -430,12 +430,12 @@
"Webhook URL": "",
"WebUI Add-ons": "WebUI 插件",
"WebUI Settings": "WebUI 设置",
- "WebUI will make requests to": "WebUI将请求",
+ "WebUI will make requests to": "WebUI 将请求",
"What’s New in": "最新变化",
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "当历史记录被关闭时,这个浏览器上的新聊天不会出现在你任何设备的历史记录中。",
"Whisper (Local)": "Whisper(本地)",
"Write a prompt suggestion (e.g. Who are you?)": "写一个提示建议(例如:你是谁?)",
- "Write a summary in 50 words that summarizes [topic or keyword].": "用50个字写一个总结[主题或关键词]。",
+ "Write a summary in 50 words that summarizes [topic or keyword].": "用 50 个字写一个总结 [主题或关键词]。",
"You": "你",
"You're a helpful assistant.": "你是一个有帮助的助手。",
"You're now logged in.": "已登录。",
diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json
index 0976c81106..a306f31ab6 100644
--- a/src/lib/i18n/locales/zh-TW/translation.json
+++ b/src/lib/i18n/locales/zh-TW/translation.json
@@ -46,7 +46,7 @@
"Attention to detail": "",
"Audio": "音訊",
"Auto-playback response": "自動播放回答",
- "Auto-send input after 3 sec.": "3秒後自動傳送輸入內容",
+ "Auto-send input after 3 sec.": "3 秒後自動傳送輸入內容",
"AUTOMATIC1111 Base URL": "AUTOMATIC1111 基本 URL",
"AUTOMATIC1111 Base URL is required.": "需要 AUTOMATIC1111 基本 URL",
"available!": "可以使用!",
@@ -192,7 +192,7 @@
"Generation Info": "",
"Good Response": "",
"has no conversations.": "",
- "Hello, {{name}}": "你好, {{name}}",
+ "Hello, {{name}}": "你好,{{name}}",
"Hide": "隱藏",
"Hide Additional Params": "隱藏額外參數",
"How can I help you today?": "今天能為你做什麼?",
@@ -288,7 +288,7 @@
"PDF document (.pdf)": "",
"PDF Extract Images (OCR)": "PDF 圖像擷取(OCR 光學文字辨識)",
"pending": "待審查",
- "Permission denied when accessing microphone: {{error}}": "存取麥克風時被拒絕權限: {{error}}",
+ "Permission denied when accessing microphone: {{error}}": "存取麥克風時被拒絕權限:{{error}}",
"Plain text (.txt)": "",
"Playground": "AI 對話遊樂場",
"Positive attitude": "",
@@ -361,7 +361,7 @@
"Sign Out": "登出",
"Sign up": "註冊",
"Signing in": "",
- "Speech recognition error: {{error}}": "語音識別錯誤: {{error}}",
+ "Speech recognition error: {{error}}": "語音識別錯誤:{{error}}",
"Speech-to-Text Engine": "語音轉文字引擎",
"SpeechRecognition API is not supported in this browser.": "此瀏覽器不支持 SpeechRecognition API。",
"Stop Sequence": "停止序列",
@@ -435,7 +435,7 @@
"When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "當歷史被關閉時,這個瀏覽器上的新聊天將不會出現在任何裝置的歷史記錄中。",
"Whisper (Local)": "Whisper(本機)",
"Write a prompt suggestion (e.g. Who are you?)": "寫一個提示詞建議(例如:你是誰?)",
- "Write a summary in 50 words that summarizes [topic or keyword].": "寫一個50字的摘要來概括[主題或關鍵詞]。",
+ "Write a summary in 50 words that summarizes [topic or keyword].": "寫一個 50 字的摘要來概括 [主題或關鍵詞]。",
"You": "你",
"You're a helpful assistant.": "你是一位善於協助他人的助手。",
"You're now logged in.": "已登入。",
From ea69c24bf77e046c5740b7cfceed5850f7775220 Mon Sep 17 00:00:00 2001
From: "Timothy J. Baek"
Date: Tue, 7 May 2024 11:39:32 -0700
Subject: [PATCH 30/63] fix: allow message switch during regeneration
Co-Authored-By: Pandazki
---
.../chat/Messages/ResponseMessage.svelte | 376 +++++++++---------
.../components/chat/Messages/Skeleton.svelte | 2 +-
2 files changed, 189 insertions(+), 189 deletions(-)
diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte
index 8c444588b6..d71f3fd3f5 100644
--- a/src/lib/components/chat/Messages/ResponseMessage.svelte
+++ b/src/lib/components/chat/Messages/ResponseMessage.svelte
@@ -352,192 +352,192 @@
{/if}
- {#if message.content === ''}
-
- {:else}
- {#if message.files}
-