From 41701697ec438c293de4e409f878bfff12bae197 Mon Sep 17 00:00:00 2001 From: Shirasawa <764798966@qq.com> Date: Fri, 21 Nov 2025 14:39:27 +0800 Subject: [PATCH] i18n: improve Chinese translation (#19334) --- src/lib/i18n/locales/zh-CN/translation.json | 18 +++++++++++--- src/lib/i18n/locales/zh-TW/translation.json | 26 +++++++++++++++------ 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index 1664d74311..5e2961070a 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -95,6 +95,7 @@ "Allow Continue Response": "允许继续生成回答", "Allow Delete Messages": "允许删除对话消息", "Allow File Upload": "允许上传文件", + "Allow Group Sharing": "允许群组内共享", "Allow Multiple Models in Chat": "允许在对话中使用多个模型", "Allow non-local voices": "允许调用非本土音色", "Allow Rate Response": "允许对回答进行评价", @@ -388,6 +389,7 @@ "Default description enabled": "默认描述已启用", "Default Features": "默认功能", "Default Filters": "默认过滤器", + "Default Group": "默认权限组", "Default mode works with a wider range of models by calling tools once before execution. Native mode leverages the model's built-in tool-calling capabilities, but requires the model to inherently support this feature.": "“默认”模式会在请求模型前调用工具,因此能兼容更多模型。“原生”模式则依赖模型本身的工具调用能力,但需要模型本身支持该功能。", "Default Model": "默认模型", "Default model updated": "默认模型已更新", @@ -731,6 +733,7 @@ "Features": "功能", "Features Permissions": "功能权限", "February": "二月", + "Feedback deleted successfully": "反馈删除成功", "Feedback Details": "反馈详情", "Feedback History": "历史反馈", "Feedbacks": "反馈", @@ -745,6 +748,7 @@ "File size should not exceed {{maxSize}} MB.": "文件大小不应超过 {{maxSize}} MB", "File Upload": "文件上传", "File uploaded successfully": "文件上传成功", + "File uploaded!": "文件上传成功", "Files": "文件", "Filter": "过滤", "Filter is now globally disabled": "过滤器已全局禁用", @@ -858,6 +862,7 @@ "Image Compression": "压缩图像", "Image Compression Height": "压缩图像高度", "Image Compression Width": "压缩图像宽度", + "Image Edit": "图片编辑", "Image Edit Engine": "图片编辑引擎", "Image Generation": "图像生成", "Image Generation Engine": "图像生成引擎", @@ -942,6 +947,7 @@ "Knowledge Name": "知识库名称", "Knowledge Public Sharing": "公开分享知识库", "Knowledge reset successfully.": "知识库重置成功", + "Knowledge Sharing": "分享知识库", "Knowledge updated successfully": "知识库更新成功", "Kokoro.js (Browser)": "Kokoro.js(运行于用户浏览器)", "Kokoro.js Dtype": "Kokoro.js Dtype", @@ -1062,7 +1068,8 @@ "Models Access": "访问模型列表", "Models configuration saved successfully": "模型配置保存成功", "Models imported successfully": "已成功导入模型配置", - "Models Public Sharing": "模型公开共享", + "Models Public Sharing": "模型公开分享", + "Models Sharing": "分享模型", "Mojeek Search API Key": "Mojeek Search 接口密钥", "More": "更多", "More Concise": "精炼表达", @@ -1129,6 +1136,7 @@ "Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.": "注意:如果设置了最低分数,搜索结果只会返回分数大于或等于最低分数的文档。", "Notes": "笔记", "Notes Public Sharing": "公开分享笔记", + "Notes Sharing": "分享笔记", "Notification Sound": "通知提示音", "Notification Webhook": "通知 Webhook", "Notifications": "桌面通知", @@ -1274,7 +1282,8 @@ "Prompt updated successfully": "提示词更新成功", "Prompts": "提示词", "Prompts Access": "访问提示词", - "Prompts Public Sharing": "提示词公开共享", + "Prompts Public Sharing": "提示词公开分享", + "Prompts Sharing": "分享提示词", "Provider Type": "服务提供商类型", "Public": "公共", "Pull \"{{searchValue}}\" from Ollama.com": "从 Ollama.com 下载 “{{searchValue}}”", @@ -1457,6 +1466,7 @@ "Sets the random number seed to use for generation. Setting this to a specific number will make the model generate the same text for the same prompt.": "设置用于内容生成的随机数种子。将其设置为特定数字可使模型针对同一提示词生成相同的文本。", "Sets the size of the context window used to generate the next token.": "设置用于生成下一个 Token 的上下文窗口的大小。", "Sets the stop sequences to use. When this pattern is encountered, the LLM will stop generating text and return. Multiple stop patterns may be set by specifying multiple separate stop parameters in a modelfile.": "设置要使用的停止序列。在该模式下,大语言模型将停止生成文本并返回。可以通过在模型文件中指定多个单独的停止参数来设置多个停止模式。", + "Setting": "设置", "Settings": "设置", "Settings saved successfully!": "设置已成功保存!", "Share": "分享", @@ -1636,7 +1646,8 @@ "Tools are a function calling system with arbitrary code execution": "工具是一个支持任意代码执行的函数调用系统", "Tools Function Calling Prompt": "工具函数调用提示词", "Tools have a function calling system that allows arbitrary code execution.": "注意:工具有权执行任意代码", - "Tools Public Sharing": "工具公开共享", + "Tools Public Sharing": "工具公开分享", + "Tools Sharing": "分享工具", "Top K": "Top K", "Top K Reranker": "Top K Reranker", "Transformers": "Transformers", @@ -1684,6 +1695,7 @@ "Upload Pipeline": "上传 Pipeline", "Upload Progress": "上传进度", "Upload Progress: {{uploadedFiles}}/{{totalFiles}} ({{percentage}}%)": "上传进度:{{uploadedFiles}}/{{totalFiles}} ({{percentage}}%)", + "Uploading file...": "正在上传文件...", "URL": "URL", "URL is required": "URL 是必填项。", "URL Mode": "URL 模式", diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index 3b2c89ff68..5c7d578a24 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -95,6 +95,7 @@ "Allow Continue Response": "允許繼續回應", "Allow Delete Messages": "允許刪除訊息", "Allow File Upload": "允許上傳檔案", + "Allow Group Sharing": "允許在群組內分享", "Allow Multiple Models in Chat": "允許在對話中使用多個模型", "Allow non-local voices": "允許非本機語音", "Allow Rate Response": "允許為回應評分", @@ -388,6 +389,7 @@ "Default description enabled": "預設描述已啟用", "Default Features": "預設功能", "Default Filters": "預設篩選器", + "Default Group": "預設群組", "Default mode works with a wider range of models by calling tools once before execution. Native mode leverages the model's built-in tool-calling capabilities, but requires the model to inherently support this feature.": "預設模式透過在執行前呼叫工具一次,來與更廣泛的模型相容。原生模式則利用模型內建的工具呼叫能力,但需要模型本身就支援此功能。", "Default Model": "預設模型", "Default model updated": "預設模型已更新", @@ -731,6 +733,7 @@ "Features": "功能", "Features Permissions": "功能權限", "February": "2 月", + "Feedback deleted successfully": "成功刪除回饋", "Feedback Details": "回饋詳情", "Feedback History": "回饋歷史", "Feedbacks": "回饋", @@ -745,6 +748,7 @@ "File size should not exceed {{maxSize}} MB.": "檔案大小不應超過 {{maxSize}} MB。", "File Upload": "檔案上傳", "File uploaded successfully": "成功上傳檔案", + "File uploaded!": "檔案已上傳", "Files": "檔案", "Filter": "篩選", "Filter is now globally disabled": "篩選器已全域停用", @@ -858,6 +862,7 @@ "Image Compression": "圖片壓縮", "Image Compression Height": "圖片壓縮高度", "Image Compression Width": "圖片壓縮寬度", + "Image Edit": "圖片編輯", "Image Edit Engine": "圖片編輯引擎", "Image Generation": "圖片生成", "Image Generation Engine": "圖片生成引擎", @@ -933,16 +938,17 @@ "Key is required": "金鑰為必填項目", "Keyboard shortcuts": "鍵盤快捷鍵", "Keyboard Shortcuts": "鍵盤快捷鍵", - "Knowledge": "知識", - "Knowledge Access": "知識存取", + "Knowledge": "知識庫", + "Knowledge Access": "知識庫存取", "Knowledge Base": "知識庫", - "Knowledge created successfully.": "成功建立知識。", - "Knowledge deleted successfully.": "成功刪除知識。", + "Knowledge created successfully.": "成功建立知識庫。", + "Knowledge deleted successfully.": "成功刪除知識庫。", "Knowledge Description": "知識庫描述", "Knowledge Name": "知識庫名稱", - "Knowledge Public Sharing": "知識公開分享", - "Knowledge reset successfully.": "成功重設知識。", - "Knowledge updated successfully": "成功更新知識", + "Knowledge Public Sharing": "知識庫公開分享", + "Knowledge reset successfully.": "成功重設知識庫。", + "Knowledge Sharing": "分享知識庫", + "Knowledge updated successfully": "成功更新知識庫", "Kokoro.js (Browser)": "Kokoro.js (瀏覽器)", "Kokoro.js Dtype": "Kokoro.js Dtype", "Label": "標籤", @@ -1063,6 +1069,7 @@ "Models configuration saved successfully": "成功儲存模型設定", "Models imported successfully": "已成功匯入模型", "Models Public Sharing": "模型公開分享", + "Models Sharing": "分享模型", "Mojeek Search API Key": "Mojeek 搜尋 API 金鑰", "More": "更多", "More Concise": "精煉表達", @@ -1129,6 +1136,7 @@ "Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.": "注意:如果您設定了最低分數,則搜尋只會回傳分數大於或等於最低分數的檔案。", "Notes": "筆記", "Notes Public Sharing": "公開分享筆記", + "Notes Sharing": "分享筆記", "Notification Sound": "通知聲音", "Notification Webhook": "通知 Webhook", "Notifications": "通知", @@ -1275,6 +1283,7 @@ "Prompts": "提示詞", "Prompts Access": "提示詞存取", "Prompts Public Sharing": "提示詞公開分享", + "Prompts Sharing": "分享提示詞", "Provider Type": "服務提供商類型", "Public": "公開", "Pull \"{{searchValue}}\" from Ollama.com": "從 Ollama.com 下載「{{searchValue}}」", @@ -1457,6 +1466,7 @@ "Sets the random number seed to use for generation. Setting this to a specific number will make the model generate the same text for the same prompt.": "設定用於生成的隨機數種子。將其設定為特定數字將使模型針對相同的提示生成相同的文字。", "Sets the size of the context window used to generate the next token.": "設定用於生成下一個 token 的上下文視窗大小。", "Sets the stop sequences to use. When this pattern is encountered, the LLM will stop generating text and return. Multiple stop patterns may be set by specifying multiple separate stop parameters in a modelfile.": "設定要使用的停止序列。當遇到此模式時,大型語言模型將停止生成文字並返回。可以在模型檔案中指定多個單獨的停止參數來設定多個停止模式。", + "Setting": "設定", "Settings": "設定", "Settings saved successfully!": "設定已成功儲存!", "Share": "分享", @@ -1637,6 +1647,7 @@ "Tools Function Calling Prompt": "工具函式呼叫提示詞", "Tools have a function calling system that allows arbitrary code execution.": "工具具有允許執行任意程式碼的函式呼叫系統。", "Tools Public Sharing": "工具公開分享", + "Tools Sharing": "分享工具", "Top K": "Top K", "Top K Reranker": "Top K Reranker", "Transformers": "Transformers", @@ -1684,6 +1695,7 @@ "Upload Pipeline": "上傳管線", "Upload Progress": "上傳進度", "Upload Progress: {{uploadedFiles}}/{{totalFiles}} ({{percentage}}%)": "上傳進度:{{uploadedFiles}}/{{totalFiles}} ({{percentage}}%)", + "Uploading file...": "正在上傳檔案...", "URL": "URL", "URL is required": "URL 為必填項目", "URL Mode": "URL 模式",