From 9617df04ae15cdb3c19b6926dea539198f76450e Mon Sep 17 00:00:00 2001 From: Shirasawa <764798966@qq.com> Date: Tue, 13 Jan 2026 00:34:13 +0800 Subject: [PATCH] I18n: improve Chinese translation (#20613) * i18n: improve zh-CN translation * i18n: improve zh-TW translation --- src/lib/i18n/locales/zh-CN/translation.json | 38 ++++++++++----------- src/lib/i18n/locales/zh-TW/translation.json | 36 +++++++++---------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index f185bc8b12..dacae40c77 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -47,7 +47,7 @@ "Activate this command by typing \"/{{COMMAND}}\" to chat input.": "在对话框中输入 \"/{{COMMAND}}\" 激活此命令", "Active": "在线", "Active Users": "当前在线用户", - "Activity": "", + "Activity": "活动", "Add": "添加", "Add a model ID": "添加模型 ID", "Add a short description about what this model does": "添加有关该模型能力的简短描述", @@ -221,7 +221,7 @@ "Button ID": "按钮 ID", "Button Label": "按钮文本", "Button Prompt": "点击按钮后执行的提示词", - "by {{name}}": "", + "by {{name}}": "由 {{name}} 提供", "By {{name}}": "由 {{name}} 提供", "Bypass Embedding and Retrieval": "绕过嵌入和检索", "Bypass Web Loader": "绕过网页加载器", @@ -303,7 +303,7 @@ "Code Block": "代码块", "Code Editor": "代码编辑器", "Code execution": "代码执行", - "Code Execution": "", + "Code Execution": "代码执行", "Code Execution Engine": "代码执行引擎", "Code Execution Timeout": "代码执行超时", "Code formatted successfully": "代码格式化成功", @@ -367,7 +367,7 @@ "Copy link": "复制链接", "Copy Link": "复制链接", "Copy to clipboard": "复制到剪贴板", - "Copy URL": "", + "Copy URL": "复制 URL", "Copying to clipboard was successful!": "成功复制到剪贴板!", "CORS must be properly configured by the provider to allow requests from Open WebUI.": "为允许 Open WebUI 发出的请求,提供商必须正确配置 CORS", "Create": "创建", @@ -391,7 +391,7 @@ "Created At": "创建于", "Created by": "作者", "Created by you": "由您创建", - "Created on {{date}}": "", + "Created on {{date}}": "创建于 {{date}}", "CSV Import": "通过 CSV 文件导入", "Ctrl+Enter to Send": "Ctrl+Enter 发送", "Current Model": "当前模型", @@ -447,7 +447,7 @@ "delete this link": "此处删除这个链接", "Delete tool?": "要删除此工具吗?", "Delete User": "删除用户", - "Deleted": "", + "Deleted": "删除成功", "Deleted {{deleteModelTag}}": "已删除 {{deleteModelTag}}", "Deleted {{name}}": "已删除 {{name}}", "Deleted User": "已删除用户", @@ -498,7 +498,7 @@ "Document Intelligence endpoint required.": "Document Intelligence 接口地址是必填项。", "Document Intelligence Model": "Document Intelligence 模型", "Documentation": "帮助文档", - "Documents": "", + "Documents": "文档", "does not make any external connections, and your data stays securely on your locally hosted server.": "不会与外部建立任何连接,您的数据会安全地存储在本地托管的服务器上。", "Domain Filter List": "域名过滤列表", "don't fetch random pipelines from sources you don't trust.": "请勿从未经验证或不可信的来源获取 Pipelines。", @@ -522,7 +522,7 @@ "e.g. 60": "例如:60", "e.g. A filter to remove profanity from text": "例如:一个用于剔除文本中不当内容的过滤器", "e.g. about the Roman Empire": "例如:关于罗马帝国的趣闻", - "e.g. alloy, echo, shimmer": "", + "e.g. alloy, echo, shimmer": "例如:alloy, echo, shimmer", "e.g. en": "例如:en", "e.g. My Filter": "例如:我的过滤器", "e.g. My Tools": "例如:我的工具", @@ -786,7 +786,7 @@ "File": "文件", "File added successfully.": "文件成功添加", "File content updated successfully.": "文件内容成功更新", - "File Context": "", + "File Context": "文件上下文", "File Mode": "文件模式", "File not found.": "文件未找到。", "File removed successfully.": "文件成功删除", @@ -923,7 +923,7 @@ "Image Prompt Generation": "图像提示词生成", "Image Prompt Generation Prompt": "用于生成图像提示词的提示词", "Image Size": "图片尺寸", - "Images": "", + "Images": "图片", "Import": "导入", "Import Chats": "导入对话记录", "Import Config from JSON File": "从 JSON 文件中导入配置信息", @@ -942,7 +942,7 @@ "Influences how quickly the algorithm responds to feedback from the generated text. A lower learning rate will result in slower adjustments, while a higher learning rate will make the algorithm more responsive.": "影响算法对生成文本反馈的响应速度。较低的学习率会导致调整过程较慢,而较高的学习率将使算法反应更灵敏。", "Info": "信息", "Initials": "姓名缩写", - "Inject file content into conversation context": "", + "Inject file content into conversation context": "将文件内容注入为对话上下文", "Inject the entire content as context for comprehensive processing, this is recommended for complex queries.": "注入整个内容作为上下文进行综合处理,适用于复杂查询", "Input": "输入", "Input Key (e.g. text, unet_name, steps)": "输入键名(例如:text, unet_name, steps)", @@ -1156,11 +1156,11 @@ "New Password": "新密码", "New Prompt": "创建提示词", "New Temporary Chat": "创建临时对话", - "New Tool": "新工具", - "New Webhook": "", + "New Tool": "新建工具", + "New Webhook": "新建 Webhook", "new-channel": "新频道", "Next message": "下一条消息", - "No activity data": "", + "No activity data": "没有活动数据", "No authentication": "无身份验证", "No chats found": "未找到对话记录", "No chats found for this user.": "未找到此用户的对话记录", @@ -1199,7 +1199,7 @@ "No users were found.": "未找到用户", "No valves": "没有配置项", "No valves to update": "没有需要更新的配置项", - "No webhooks yet": "", + "No webhooks yet": "没有 Webhook", "Node Ids": "节点 ID", "None": "无", "Not factually correct": "与事实不符", @@ -1308,7 +1308,7 @@ "Pipe": "Pipe", "Pipeline deleted successfully": "Pipeline 删除成功", "Pipeline downloaded successfully": "Pipeline 下载成功", - "Pipelines": "", + "Pipelines": "Pipelines", "Pipelines are a plugin system with arbitrary code execution —": "Pipelines 是具有任意代码执行风险的插件系统 —", "Pipelines Not Detected": "未检测到 Pipeline", "Pipelines Valves": "Pipeline 配置项", @@ -1805,7 +1805,7 @@ "User location successfully retrieved.": "成功检索到用户位置", "User menu": "用户菜单", "User ratings (thumbs up/down)": "用户评分(赞/踩)", - "User Status": "", + "User Status": "用户状态", "User Webhooks": "用户 Webhook", "Username": "用户名", "users": "用户", @@ -1846,9 +1846,9 @@ "Web Search Engine": "联网搜索引擎", "Web Search in Chat": "在对话时进行联网搜索", "Web Search Query Generation": "联网搜索关键词生成", - "Webhook Name": "", + "Webhook Name": "Webhook 名称", "Webhook URL": "Webhook URL", - "Webhooks": "", + "Webhooks": "Webhook", "Webpage URLs": "网页链接", "WebUI Settings": "WebUI 设置", "WebUI URL": "WebUI URL", diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index 41ce6f5813..eea7b2162b 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -47,7 +47,7 @@ "Activate this command by typing \"/{{COMMAND}}\" to chat input.": "在對話輸入框中輸入 \"/{{COMMAND}}\" 來啟用此命令。", "Active": "線上", "Active Users": "活躍使用者", - "Activity": "", + "Activity": "活動", "Add": "新增", "Add a model ID": "新增模型 ID", "Add a short description about what this model does": "新增這個模型的簡短描述", @@ -221,7 +221,7 @@ "Button ID": "按鈕 ID", "Button Label": "按鈕文字", "Button Prompt": "點擊按鈕後執行的提示詞", - "by {{name}}": "", + "by {{name}}": "由 {{name}} 提供", "By {{name}}": "由 {{name}} 製作", "Bypass Embedding and Retrieval": "繞過嵌入與檢索", "Bypass Web Loader": "繞過網頁載入器", @@ -303,7 +303,7 @@ "Code Block": "程式碼區塊", "Code Editor": "程式碼編輯器", "Code execution": "程式碼執行", - "Code Execution": "", + "Code Execution": "程式碼執行", "Code Execution Engine": "程式碼執行引擎", "Code Execution Timeout": "程式執行超時", "Code formatted successfully": "成功格式化程式碼", @@ -367,7 +367,7 @@ "Copy link": "複製連結", "Copy Link": "複製連結", "Copy to clipboard": "複製到剪貼簿", - "Copy URL": "", + "Copy URL": "複製 URL", "Copying to clipboard was successful!": "成功複製到剪貼簿!", "CORS must be properly configured by the provider to allow requests from Open WebUI.": "CORS 必須由供應商正確設定,以允許來自 Open WebUI 的請求。", "Create": "建立", @@ -391,7 +391,7 @@ "Created At": "建立於", "Created by": "建立者", "Created by you": "由您建立", - "Created on {{date}}": "", + "Created on {{date}}": "建立於 {{date}}", "CSV Import": "CSV 匯入", "Ctrl+Enter to Send": "使用 Ctrl+Enter 傳送", "Current Model": "目前模型", @@ -447,7 +447,7 @@ "delete this link": "刪除此連結", "Delete tool?": "刪除工具?", "Delete User": "刪除使用者", - "Deleted": "", + "Deleted": "刪除成功", "Deleted {{deleteModelTag}}": "已刪除 {{deleteModelTag}}", "Deleted {{name}}": "已刪除 {{name}}", "Deleted User": "刪除使用者?", @@ -498,7 +498,7 @@ "Document Intelligence endpoint required.": "需要提供 Document Intelligence 端點。", "Document Intelligence Model": "Document Intelligence 模型", "Documentation": "說明檔案", - "Documents": "", + "Documents": "文件", "does not make any external connections, and your data stays securely on your locally hosted server.": "不會建立任何外部連線,而且您的資料會安全地儲存在您本機伺服器上。", "Domain Filter List": "網域篩選列表", "don't fetch random pipelines from sources you don't trust.": "請勿從您無法信任的來源擷取任意管線。", @@ -522,7 +522,7 @@ "e.g. 60": "例如:60", "e.g. A filter to remove profanity from text": "例如:用來移除不雅詞彙的過濾器", "e.g. about the Roman Empire": "例如:關於羅馬帝國的事蹟", - "e.g. alloy, echo, shimmer": "", + "e.g. alloy, echo, shimmer": "例如:alloy, echo, shimmer", "e.g. en": "例如:en", "e.g. My Filter": "例如:我的篩選器", "e.g. My Tools": "例如:我的工具", @@ -786,7 +786,7 @@ "File": "檔案", "File added successfully.": "成功新增檔案。", "File content updated successfully.": "成功更新檔案內容。", - "File Context": "", + "File Context": "檔案上下文", "File Mode": "檔案模式", "File not found.": "未找到檔案。", "File removed successfully.": "成功移除檔案。", @@ -923,7 +923,7 @@ "Image Prompt Generation": "圖片提示詞生成", "Image Prompt Generation Prompt": "生成圖片提示詞的提示詞", "Image Size": "圖片尺寸", - "Images": "", + "Images": "圖片", "Import": "匯入", "Import Chats": "匯入對話紀錄", "Import Config from JSON File": "從 JSON 檔案匯入設定", @@ -942,7 +942,7 @@ "Influences how quickly the algorithm responds to feedback from the generated text. A lower learning rate will result in slower adjustments, while a higher learning rate will make the algorithm more responsive.": "影響演算法對生成文字回饋的反應速度。較低的學習率會導致調整速度較慢,而較高的學習率會使演算法反應更靈敏。", "Info": "資訊", "Initials": "姓名縮寫", - "Inject file content into conversation context": "", + "Inject file content into conversation context": "將文件內容注入為對話上下文", "Inject the entire content as context for comprehensive processing, this is recommended for complex queries.": "將完整內容注入為上下文以進行全面處理,建議用於複雜查詢。", "Input": "輸入", "Input Key (e.g. text, unet_name, steps)": "輸入鍵名(例如:text, unet_name, steps)", @@ -1157,10 +1157,10 @@ "New Prompt": "新增提示詞", "New Temporary Chat": "新增臨時對話", "New Tool": "新增工具", - "New Webhook": "", + "New Webhook": "新增 Webhook", "new-channel": "新頻道", "Next message": "下一條訊息", - "No activity data": "", + "No activity data": "沒有活動數據", "No authentication": "無身份驗證", "No chats found": "未找到對話記錄", "No chats found for this user.": "未找到此使用者的對話記錄。", @@ -1199,7 +1199,7 @@ "No users were found.": "未找到任何使用者", "No valves": "沒有設定項目", "No valves to update": "設定項目可更新", - "No webhooks yet": "", + "No webhooks yet": "尚無 Webhook", "Node Ids": "節點 ID", "None": "無", "Not factually correct": "與事實不符", @@ -1308,7 +1308,7 @@ "Pipe": "Pipe", "Pipeline deleted successfully": "成功刪除管線", "Pipeline downloaded successfully": "成功下載管線", - "Pipelines": "", + "Pipelines": "管線", "Pipelines are a plugin system with arbitrary code execution —": "管線是具任意程式碼執行風險的外掛系統 —", "Pipelines Not Detected": "未偵測到管線", "Pipelines Valves": "管線設定項目", @@ -1805,7 +1805,7 @@ "User location successfully retrieved.": "成功取得使用者位置。", "User menu": "使用者選單", "User ratings (thumbs up/down)": "使用者評分(讚/踩)", - "User Status": "", + "User Status": "使用者狀態", "User Webhooks": "使用者 Webhooks", "Username": "使用者名稱", "users": "使用者", @@ -1846,9 +1846,9 @@ "Web Search Engine": "網頁搜尋引擎", "Web Search in Chat": "在對話中進行網頁搜尋", "Web Search Query Generation": "網頁搜尋查詢生成", - "Webhook Name": "", + "Webhook Name": "Webhook 名稱", "Webhook URL": "Webhook URL", - "Webhooks": "", + "Webhooks": "Webhook", "Webpage URLs": "網頁連結", "WebUI Settings": "WebUI 設定", "WebUI URL": "WebUI URL",