From ffbd774d32b0f8d14d21baae31e6e0fac493e6e4 Mon Sep 17 00:00:00 2001 From: Shirasawa <764798966@qq.com> Date: Sat, 20 Dec 2025 18:32:12 +0800 Subject: [PATCH] I18n: improve Chinese translation (#20055) * i18n: improve zh-CN translation * i18n: improve zh-TW translation --- src/lib/i18n/locales/zh-CN/translation.json | 26 +++++++++++++++---- src/lib/i18n/locales/zh-TW/translation.json | 28 ++++++++++++++++----- 2 files changed, 43 insertions(+), 11 deletions(-) diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index 3b54fa6c69..70e08a76f9 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -12,6 +12,7 @@ "{{COUNT}} Available Tools": "{{COUNT}} 个可用工具", "{{COUNT}} characters": "{{COUNT}} 个字符", "{{COUNT}} extracted lines": "已提取 {{COUNT}} 行", + "{{count}} files_other": "{{count}} 个文件", "{{COUNT}} hidden lines": "{{COUNT}} 行被隐藏", "{{COUNT}} Replies": "{{COUNT}} 条回复", "{{COUNT}} Sources": "{{COUNT}} 个引用来源", @@ -84,7 +85,6 @@ "AI": "AI", "All": "全部", "All chats have been unarchived.": "已成功将所有对话取消归档。", - "All Documents": "所有文档", "All models deleted successfully": "所有模型删除成功", "Allow Call": "允许语音通话", "Allow Chat Controls": "允许使用对话高级设置", @@ -154,6 +154,7 @@ "Are you sure?": "您确认吗?", "Arena Models": "启用竞技场匿名评价模型", "Artifacts": "产物", + "Asc": "升序", "Ask": "提问", "Ask a question": "提问", "Assistant": "助手", @@ -219,6 +220,7 @@ "Call feature is not supported when using Web STT engine": "使用 Web 语音转文字引擎时不支持语音通话功能", "Camera": "摄像头", "Cancel": "取消", + "Cannot create an empty note.": "无法创建空笔记。", "Capabilities": "能力", "Capture": "截图", "Capture Audio": "录制音频", @@ -228,6 +230,7 @@ "Channel deleted successfully": "删除频道成功", "Channel Name": "频道名称", "Channel name cannot be empty.": "频道名称不能为空。", + "Channel name must be less than 128 characters": "频道名称不能超过 128 个字符。", "Channel Type": "频道类型", "Channel updated successfully": "更新频道成功", "Channels": "频道", @@ -297,6 +300,7 @@ "Collaboration channel where people join as members": "成员可加入的协作频道", "Collapse": "折叠", "Collection": "文件集", + "Collections": "文件集", "Color": "颜色", "ComfyUI": "ComfyUI", "ComfyUI API Key": "ComfyUI 接口密钥", @@ -365,7 +369,7 @@ "Create Model": "创建模型", "Create new key": "创建新密钥", "Create new secret key": "创建新安全密钥", - "Create Note": "创建笔记", + "Create note": "创建笔记", "Create your first note by clicking on the plus button below.": "点击下面的加号按钮创建您的第一个笔记", "Created at": "创建于", "Created At": "创建于", @@ -429,6 +433,7 @@ "Deleted {{name}}": "已删除 {{name}}", "Deleted User": "已删除用户", "Deployment names are required for Azure OpenAI": "Azure OpenAI 需要部署名称", + "Desc": "降序", "Describe your knowledge base and objectives": "描述您的知识库和目标", "Description": "描述", "Detect Artifacts Automatically": "自动检测对话产物", @@ -487,7 +492,6 @@ "Download as SVG": "下载为 SVG", "Download canceled": "下载已取消", "Download Database": "下载数据库", - "Drag and drop a file to upload or select a file to view": "拖动文件上传或选择文件查看", "Draw": "平局", "Drop any files here to upload": "拖拽文件至此上传", "e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "例如:“30s”,“10m”。有效的时间单位包括:“s”(秒), “m”(分), “h”(时)", @@ -623,6 +627,7 @@ "Enter SearchApi API Key": "输入 SearchApi 接口密钥", "Enter SearchApi Engine": "输入 SearchApi 引擎", "Enter Searxng Query URL": "输入 Searxng 查询接口地址", + "Enter Searxng search language": "输入 Searxng 搜索语言", "Enter Seed": "输入 Seed", "Enter SerpApi API Key": "输入 SerpApi 接口密钥", "Enter SerpApi Engine": "输入 SerpApi 引擎", @@ -831,6 +836,7 @@ "Google PSE API Key": "Google PSE 接口密钥", "Google PSE Engine Id": "Google PSE 引擎 ID", "Gravatar": "Gravatar 头像", + "Grid": "网格", "Group": "权限组", "Group Channel": "群组频道", "Group created successfully": "权限组创建成功", @@ -891,7 +897,6 @@ "Import Config from JSON File": "从 JSON 文件中导入配置信息", "Import From Link": "从链接导入", "Import Models": "导入模型配置", - "Import Notes": "导入笔记", "Import Presets": "导入预设", "Import Prompts": "导入提示词", "Import successful": "导入成功", @@ -989,6 +994,7 @@ "License": "授权", "Lift List": "上移列表", "Light": "浅色", + "List": "列表", "Listening...": "正在倾听...", "Llama.cpp": "Llama.cpp", "LLMs can make mistakes. Verify important information.": "大语言模型可能会犯错,请核实关键信息。", @@ -1094,12 +1100,14 @@ "Name and ID are required, please fill them out": "名称和 ID 是必填项,请填写。", "Name your knowledge base": "为您的知识库命名", "Native": "原生", + "New": "最新", "New Button": "新按钮", "New Chat": "新对话", "New Folder": "创建分组", "New Function": "新函数", "New Knowledge": "创建知识库", "New Model": "创建模型", + "New Note": "创建笔记", "New Password": "新密码", "New Prompt": "创建提示词", "New Temporary Chat": "创建临时对话", @@ -1112,17 +1120,18 @@ "No chats found.": "未找到对话记录", "No content": "没有内容", "No content found": "未发现内容", - "No content found in file.": "文件中未找到内容", "No content to speak": "没有内容可朗读", "No conversation to save": "没有可保存的对话", "No distance available": "没有可用距离", "No expiration can pose security risks.": "未设置 JWT 过期时间会导致安全风险。", "No feedbacks found": "暂无任何反馈", "No file selected": "未选中文件", + "No files in this knowledge base.": "此知识库中没有文件。", "No functions found": "未找到函数", "No groups with access, add a group to grant access": "没有权限组,请添加一个权限组以授予访问权限", "No HTML, CSS, or JavaScript content found.": "未找到 HTML、CSS 或 JavaScript 内容。", "No inference engine with management support found": "未找到支持管理的推理引擎", + "No knowledge bases found.": "未找到知识库", "No knowledge found": "未找到知识", "No memories to clear": "记忆为空,无须清理", "No model IDs": "没有模型 ID", @@ -1309,6 +1318,8 @@ "Read": "只读", "Read Aloud": "朗读", "Read more →": "了解更多 →", + "Read Only": "只读", + "Read-Only Access": "只读权限", "Reason": "推理", "Reasoning Effort": "推理努力 (Reasoning Effort)", "Reasoning Tags": "推理过程标签", @@ -1416,6 +1427,7 @@ "Searching Knowledge for \"{{searchQuery}}\"": "检索有关 \"{{searchQuery}}\" 的知识中", "Searching the web": "正在搜索网络...", "Searxng Query URL": "Searxng 查询接口地址", + "Searxng search language (all, en, es, de, fr, etc.)": "Searxng 搜索语言 (例如:all, en, es, de, fr 等)", "See readme.md for instructions": "查看 readme.md 以获取说明", "See what's new": "查阅最新更新内容", "Seed": "种子 (Seed)", @@ -1490,6 +1502,7 @@ "Show": "显示", "Show \"What's New\" modal on login": "版本更新后首次登录时显示“新功能介绍”弹窗", "Show Admin Details in Account Pending Overlay": "在待激活用户的界面中显示管理员邮箱等详细信息", + "Show Files": "显示文件", "Show Formatting Toolbar": "显示文本格式工具栏", "Show image preview": "显示图像预览", "Show Model": "显示模型", @@ -1514,6 +1527,7 @@ "Sonar Pro": "Sonar Pro", "Sonar Reasoning": "Sonar Reasoning", "Sonar Reasoning Pro": "Sonar Reasoning Pro", + "Sort": "排序", "Sougou Search API sID": "搜狗搜索接口 Secret ID", "Sougou Search API SK": "搜狗搜索接口 Secret 密钥", "Source": "来源", @@ -1661,6 +1675,7 @@ "Tools have a function calling system that allows arbitrary code execution.": "注意:工具有权执行任意代码", "Tools Public Sharing": "工具公开分享", "Tools Sharing": "分享工具", + "Top": "置顶", "Top K": "Top K", "Top K Reranker": "Top K Reranker", "Transformers": "Transformers", @@ -1804,6 +1819,7 @@ "You cannot upload an empty file.": "请勿上传空文件。", "You do not have permission to send messages in this channel.": "您没有权限在当前频道发送消息。", "You do not have permission to send messages in this thread.": "您没有权限在当前主题中发送消息。", + "You do not have permission to upload files to this knowledge base.": "您没有权限上传文件到此知识库。", "You do not have permission to upload files.": "您没有上传文件的权限。", "You have no archived conversations.": "没有已归档的对话。", "You have shared this chat": "此对话已经分享过", diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index 38cd055dac..a31c0f5707 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -12,6 +12,7 @@ "{{COUNT}} Available Tools": "{{COUNT}} 個可用工具", "{{COUNT}} characters": "{{COUNT}} 個字元", "{{COUNT}} extracted lines": "已擷取 {{COUNT}} 行", + "{{count}} files_other": "{{count}} 個文件", "{{COUNT}} hidden lines": "已隱藏 {{COUNT}} 行", "{{COUNT}} Replies": "{{COUNT}} 回覆", "{{COUNT}} Sources": "{{COUNT}} 個來源", @@ -84,7 +85,6 @@ "AI": "AI", "All": "全部", "All chats have been unarchived.": "已成功將所有對話解除封存。", - "All Documents": "所有檔案", "All models deleted successfully": "成功刪除所有模型", "Allow Call": "允許通話", "Allow Chat Controls": "允許控制對話", @@ -154,6 +154,7 @@ "Are you sure?": "您確定嗎?", "Arena Models": "競技場模型", "Artifacts": "產物", + "Asc": "升序", "Ask": "提問", "Ask a question": "提出問題", "Assistant": "助理", @@ -219,6 +220,7 @@ "Call feature is not supported when using Web STT engine": "使用網頁語音辨識 (Web STT) 引擎時不支援通話功能", "Camera": "相機", "Cancel": "取消", + "Cannot create an empty note.": "無法建立空筆記。", "Capabilities": "功能", "Capture": "相機", "Capture Audio": "錄製音訊", @@ -228,6 +230,7 @@ "Channel deleted successfully": "成功刪除頻道", "Channel Name": "頻道名稱", "Channel name cannot be empty.": "頻道名稱不能為空。", + "Channel name must be less than 128 characters": "頻道名稱不能超過 128 個字元。", "Channel Type": "頻道類型", "Channel updated successfully": "成功更新頻道", "Channels": "頻道", @@ -296,7 +299,8 @@ "Code Interpreter Prompt Template": "程式碼直譯器提示詞範本", "Collaboration channel where people join as members": "成員可加入的協作頻道", "Collapse": "摺疊", - "Collection": "集合", + "Collection": "文件集", + "Collections": "文件集", "Color": "顏色", "ComfyUI": "ComfyUI", "ComfyUI API Key": "ComfyUI API 金鑰", @@ -365,7 +369,7 @@ "Create Model": "建立模型", "Create new key": "建立新的金鑰", "Create new secret key": "建立新的金鑰", - "Create Note": "新增筆記", + "Create note": "建立筆記", "Create your first note by clicking on the plus button below.": "點選下方加號按鈕建立您的第一則筆記。", "Created at": "建立於", "Created At": "建立於", @@ -429,6 +433,7 @@ "Deleted {{name}}": "已刪除 {{name}}", "Deleted User": "刪除使用者?", "Deployment names are required for Azure OpenAI": "需要提供 Azure OpenAI 部署名稱", + "Desc": "降序", "Describe your knowledge base and objectives": "描述您的知識庫和目標", "Description": "描述", "Detect Artifacts Automatically": "自動偵測對話產物", @@ -487,7 +492,6 @@ "Download as SVG": "以 SVG 格式下載", "Download canceled": "已取消下載", "Download Database": "下載資料庫", - "Drag and drop a file to upload or select a file to view": "拖放檔案以上傳或選擇檔案以檢視", "Draw": "平手", "Drop any files here to upload": "拖曳檔案至此處進行上傳", "e.g. '30s','10m'. Valid time units are 's', 'm', 'h'.": "例如:'30s'、'10m'。有效的時間單位為 's'、'm'、'h'。", @@ -623,6 +627,7 @@ "Enter SearchApi API Key": "輸入 SearchApi API 金鑰", "Enter SearchApi Engine": "輸入 SearchApi 引擎", "Enter Searxng Query URL": "輸入 SearXNG 查詢 URL", + "Enter Searxng search language": "輸入 SearXNG 搜尋語言", "Enter Seed": "輸入種子值", "Enter SerpApi API Key": "輸入 SerpApi API 金鑰", "Enter SerpApi Engine": "輸入 SerpApi 引擎", @@ -831,6 +836,7 @@ "Google PSE API Key": "Google PSE API 金鑰", "Google PSE Engine Id": "Google PSE 引擎 ID", "Gravatar": "Gravatar 大頭貼", + "Grid": "網格", "Group": "群組", "Group Channel": "群組頻道", "Group created successfully": "成功建立群組", @@ -891,7 +897,6 @@ "Import Config from JSON File": "從 JSON 檔案匯入設定", "Import From Link": "從連結匯入", "Import Models": "匯入模型", - "Import Notes": "匯入筆記", "Import Presets": "匯入預設集", "Import Prompts": "匯入提示詞", "Import successful": "匯入成功", @@ -989,6 +994,7 @@ "License": "授權", "Lift List": "上移清單", "Light": "淺色", + "List": "列表", "Listening...": "正在聆聽...", "Llama.cpp": "Llama.cpp", "LLMs can make mistakes. Verify important information.": "大型語言模型可能會犯錯。請自行驗證重要資訊。", @@ -1094,12 +1100,14 @@ "Name and ID are required, please fill them out": "名稱和 ID 為必填項目,請填寫", "Name your knowledge base": "命名您的知識庫", "Native": "原生", + "New": "最新", "New Button": "新按鈕", "New Chat": "新增對話", "New Folder": "新增資料夾", "New Function": "新增函式", "New Knowledge": "新增知識", "New Model": "新增模型", + "New Note": "建立筆記", "New Password": "新密碼", "New Prompt": "新增提示詞", "New Temporary Chat": "新增臨時對話", @@ -1112,17 +1120,18 @@ "No chats found.": "未找到對話記錄。", "No content": "無內容", "No content found": "未找到內容", - "No content found in file.": "檔案中未找到內容。", "No content to speak": "無可朗讀的內容", "No conversation to save": "沒有可儲存的對話", "No distance available": "無可用距離", "No expiration can pose security risks.": "未設定 JWT 到期時間可能造成安全風險。", "No feedbacks found": "未找到回饋", "No file selected": "未選取檔案", + "No files in this knowledge base.": "此知識庫中沒有文件。", "No functions found": "未找到函式", "No groups with access, add a group to grant access": "沒有具有存取權限的群組,新增群組以授予存取權限", "No HTML, CSS, or JavaScript content found.": "未找到 HTML、CSS 或 JavaScript 內容。", "No inference engine with management support found": "未找到支援管理功能的推理引擎", + "No knowledge bases found.": "未找到知識庫", "No knowledge found": "未找到知識", "No memories to clear": "沒有記憶可清除", "No model IDs": "沒有模型 ID", @@ -1309,6 +1318,8 @@ "Read": "讀取", "Read Aloud": "大聲朗讀", "Read more →": "閱讀更多 →", + "Read Only": "只讀", + "Read-Only Access": "只讀權限", "Reason": "原因", "Reasoning Effort": "推理程度", "Reasoning Tags": "推理標籤", @@ -1416,6 +1427,7 @@ "Searching Knowledge for \"{{searchQuery}}\"": "正在搜尋知識庫中的「{{searchQuery}}」", "Searching the web": "正在搜尋網路...", "Searxng Query URL": "Searxng 查詢 URL", + "Searxng search language (all, en, es, de, fr, etc.)": "Searxng 搜尋語言(例如:all, en, es, de, fr 等)", "See readme.md for instructions": "檢視 readme.md 以取得說明", "See what's new": "檢視新功能", "Seed": "種子值", @@ -1490,6 +1502,7 @@ "Show": "顯示", "Show \"What's New\" modal on login": "登入時顯示「新功能」對話框", "Show Admin Details in Account Pending Overlay": "在帳號待審覆蓋層中顯示管理員詳細資訊", + "Show Files": "顯示文件", "Show Formatting Toolbar": "顯示文字格式工具列", "Show image preview": "顯示圖片預覽", "Show Model": "顯示模型", @@ -1514,6 +1527,7 @@ "Sonar Pro": "Sonar Pro", "Sonar Reasoning": "Sonar Reasoning", "Sonar Reasoning Pro": "Sonar Reasoning Pro", + "Sort": "排序", "Sougou Search API sID": "搜狗搜尋 API sID", "Sougou Search API SK": "搜狗搜尋 API SK", "Source": "來源", @@ -1661,6 +1675,7 @@ "Tools have a function calling system that allows arbitrary code execution.": "工具具有允許執行任意程式碼的函式呼叫系統。", "Tools Public Sharing": "工具公開分享", "Tools Sharing": "分享工具", + "Top": "置頂", "Top K": "Top K", "Top K Reranker": "Top K Reranker", "Transformers": "Transformers", @@ -1804,6 +1819,7 @@ "You cannot upload an empty file.": "您無法上傳空檔案", "You do not have permission to send messages in this channel.": "您沒有在此頻道中傳送訊息的權限。", "You do not have permission to send messages in this thread.": "您沒有在此討論串中傳送訊息的權限。", + "You do not have permission to upload files to this knowledge base.": "您沒有權限上傳檔案到此知識庫。", "You do not have permission to upload files.": "您沒有權限上傳檔案。", "You have no archived conversations.": "您沒有已封存的對話。", "You have shared this chat": "您已分享此對話",