Browse Source

Merge pull request #19004 from ShirasawaSama/i18n/improve-chinese-translation

i18n: improve Chinese translation
Tim Baek 3 months ago
parent
commit
8114ddc5f9
2 changed files with 49 additions and 49 deletions
  1. 24 24
      src/lib/i18n/locales/zh-CN/translation.json
  2. 25 25
      src/lib/i18n/locales/zh-TW/translation.json

+ 24 - 24
src/lib/i18n/locales/zh-CN/translation.json

@@ -26,7 +26,7 @@
 	"A task model is used when performing tasks such as generating titles for chats and web search queries": "任务模型用于执行生成对话标题和联网搜索查询等任务",
 	"a user": "用户",
 	"About": "关于",
-	"Accept Autocomplete Generation\nJump to Prompt Variable": "",
+	"Accept Autocomplete Generation\nJump to Prompt Variable": "接受自动补全\n跳转提示词变量",
 	"Access": "访问",
 	"Access Control": "访问控制",
 	"Accessible to all users": "对所有用户开放",
@@ -51,7 +51,7 @@
 	"Add Content": "添加内容",
 	"Add content here": "在此添加内容",
 	"Add Custom Parameter": "增加自定义参数",
-	"Add Custom Prompt": "",
+	"Add Custom Prompt": "增加自定义提示词",
 	"Add Details": "丰富细节",
 	"Add Files": "添加文件",
 	"Add Group": "添加权限组",
@@ -151,7 +151,7 @@
 	"Ask": "提问",
 	"Ask a question": "提问",
 	"Assistant": "助手",
-	"Attach File From Knowledge": "",
+	"Attach File From Knowledge": "引用知识库中的文件",
 	"Attach Knowledge": "引用知识库",
 	"Attach Notes": "引用笔记",
 	"Attach Webpage": "引用网页",
@@ -271,7 +271,7 @@
 	"Close Banner": "关闭横幅",
 	"Close Configure Connection Modal": "关闭外部连接配置弹窗",
 	"Close modal": "关闭弹窗",
-	"Close Modal": "",
+	"Close Modal": "关闭弹窗",
 	"Close settings modal": "关闭设置弹窗",
 	"Close Sidebar": "收起侧边栏",
 	"cloud": "云服务",
@@ -335,8 +335,8 @@
 	"Copied to clipboard": "已复制到剪贴板",
 	"Copy": "复制",
 	"Copy Formatted Text": "复制文本时包含特殊格式",
-	"Copy Last Code Block": "",
-	"Copy Last Response": "",
+	"Copy Last Code Block": "复制最后一个代码块",
+	"Copy Last Response": "复制最后一个回答",
 	"Copy link": "复制链接",
 	"Copy Link": "复制链接",
 	"Copy to clipboard": "复制到剪贴板",
@@ -499,7 +499,7 @@
 	"Edit Default Permissions": "编辑默认权限",
 	"Edit Folder": "编辑分组",
 	"Edit Image": "图片编辑",
-	"Edit Last Message": "",
+	"Edit Last Message": "编辑最后一条消息",
 	"Edit Memory": "编辑记忆",
 	"Edit User": "编辑用户",
 	"Edit User Group": "编辑用户组",
@@ -588,7 +588,7 @@
 	"Enter Key Behavior": "Enter 键行为",
 	"Enter language codes": "输入语言代码",
 	"Enter MinerU API Key": "输入 MinerU 接口密钥",
-	"Enter Mistral API Base URL": "",
+	"Enter Mistral API Base URL": "输入 Mistral 接口地址",
 	"Enter Mistral API Key": "输入 Mistral 接口密钥",
 	"Enter Model ID": "输入模型 ID",
 	"Enter model tag (e.g. {{modelTag}})": "输入模型标签(例如:{{modelTag}})",
@@ -744,7 +744,7 @@
 	"Firecrawl API Base URL": "Firecrawl 接口地址",
 	"Firecrawl API Key": "Firecrawl 接口密钥",
 	"Floating Quick Actions": "快捷操作浮窗",
-	"Focus Chat Input": "",
+	"Focus Chat Input": "聚焦对话框",
 	"Folder": "分组",
 	"Folder Background Image": "分组背景图",
 	"Folder deleted successfully": "分组删除成功",
@@ -793,7 +793,7 @@
 	"Generate": "生成",
 	"Generate an image": "生成图像",
 	"Generate Image": "生成图像",
-	"Generate Message Pair": "",
+	"Generate Message Pair": "生成消息对",
 	"Generated Image": "已生成图像",
 	"Generating search query": "生成搜索查询",
 	"Generating...": "生成中...",
@@ -891,7 +891,7 @@
 	"Invalid file content": "文件内容无效",
 	"Invalid file format.": "文件格式无效",
 	"Invalid JSON file": "JSON 文件格式无效",
-	"Invalid JSON format for ComfyUI Edit Workflow.": "",
+	"Invalid JSON format for ComfyUI Edit Workflow.": "ComfyUI 图片编辑工作流的 JSON 格式无效",
 	"Invalid JSON format for ComfyUI Workflow.": "ComfyUI 工作流的 JSON 格式无效",
 	"Invalid JSON format for Parameters": "额外参数的 JSON 格式无效",
 	"Invalid JSON format in Additional Config": "额外配置项的 JSON 格式无效",
@@ -1003,7 +1003,7 @@
 	"Memory updated successfully": "记忆更新成功",
 	"Merge Responses": "合并回复",
 	"Merged Response": "合并的回复",
-	"Message": "",
+	"Message": "消息",
 	"Message rating should be enabled to use this feature": "要使用此功能,需先启用回复评价功能",
 	"Messages you send after creating your link won't be shared. Users with the URL will be able to view the shared chat.": "创建链接后发送的消息将不会被分享。通过该链接访问的用户可以查看对话记录。",
 	"Microsoft OneDrive": "Microsoft OneDrive",
@@ -1066,7 +1066,7 @@
 	"New Note": "新笔记",
 	"New Password": "新密码",
 	"New Prompt": "创建提示词",
-	"New Temporary Chat": "",
+	"New Temporary Chat": "创建临时对话",
 	"New Tool": "新工具",
 	"new-channel": "新频道",
 	"Next message": "下一条消息",
@@ -1133,12 +1133,12 @@
 	"Ollama Version": "Ollama 版本",
 	"On": "开启",
 	"OneDrive": "OneDrive",
-	"Only active when \"Paste Large Text as File\" setting is toggled on.": "",
-	"Only active when the chat input is in focus and an LLM is generating a response.": "",
-	"Only active when the chat input is in focus.": "",
+	"Only active when \"Paste Large Text as File\" setting is toggled on.": "仅在启用“粘贴超长文本为文件”选项时有效。",
+	"Only active when the chat input is in focus and an LLM is generating a response.": "仅在聚焦对话框且大语言模型正在生成回复时有效。",
+	"Only active when the chat input is in focus.": "仅在聚焦对话框时有效。",
 	"Only alphanumeric characters and hyphens are allowed": "只允许使用英文字母,数字 (0-9) 以及连字符 (-)",
 	"Only alphanumeric characters and hyphens are allowed in the command string.": "命令字符串中只允许使用英文字母,数字 (0-9) 以及连字符 (-)。",
-	"Only can be triggered when the chat input is in focus.": "",
+	"Only can be triggered when the chat input is in focus.": "仅在聚焦对话框时有效。",
 	"Only collections can be edited, create a new knowledge base to edit/add documents.": "只能编辑文件集,创建一个新的知识库来编辑/添加文件。",
 	"Only markdown files are allowed": "仅允许使用 markdown 文件",
 	"Only select users and groups with permission can access": "只有具有权限的用户和组才能访问",
@@ -1152,7 +1152,7 @@
 	"Open modal to configure connection": "打开外部连接配置弹窗",
 	"Open Modal To Manage Floating Quick Actions": "管理快捷操作浮窗",
 	"Open Modal To Manage Image Compression": "打开图片压缩配置窗口",
-	"Open Settings": "",
+	"Open Settings": "打开设置页面",
 	"Open Sidebar": "展开侧边栏",
 	"Open User Profile Menu": "打开个人资料菜单",
 	"Open WebUI can use tools provided by any OpenAPI server.": "Open WebUI 可使用任何 OpenAPI 服务器提供的工具。",
@@ -1243,7 +1243,7 @@
 	"Prefer not to say": "暂不透露",
 	"Prefix ID": "模型 ID 前缀",
 	"Prefix ID is used to avoid conflicts with other connections by adding a prefix to the model IDs - leave empty to disable": "在模型 ID 前添加前缀以避免与其它连接提供的模型冲突。留空则禁用此功能。",
-	"Prevent File Creation": "",
+	"Prevent File Creation": "阻止文件创建",
 	"Preview": "预览",
 	"Previous 30 days": "过去 30 天",
 	"Previous 7 days": "过去 7 天",
@@ -1287,7 +1287,7 @@
 	"Refused when it shouldn't have": "拒绝了我的要求",
 	"Regenerate": "重新生成",
 	"Regenerate Menu": "显示重新生成选项菜单",
-	"Regenerate Response": "",
+	"Regenerate Response": "重新生成回答",
 	"Register Again": "重新注册",
 	"Register Client": "注册客户端",
 	"Registered": "已注册",
@@ -1456,7 +1456,7 @@
 	"Show Formatting Toolbar": "显示文本格式工具栏",
 	"Show image preview": "显示图像预览",
 	"Show Model": "显示模型",
-	"Show Shortcuts": "",
+	"Show Shortcuts": "显示快捷键",
 	"Show your support!": "表达您的支持!",
 	"Showcased creativity": "很有创意",
 	"Sign in": "登录",
@@ -1492,7 +1492,7 @@
 	"STDOUT/STDERR": "标准输出/标准错误",
 	"Steps": "迭代步数",
 	"Stop": "停止",
-	"Stop Generating": "",
+	"Stop Generating": "停止生成",
 	"Stop Sequence": "停止序列 (Stop Sequence)",
 	"Stream Chat Response": "流式对话响应 (Stream Chat Response)",
 	"Stream Delta Chunk Size": "流式增量输出的分块大小(Stream Delta Chunk Size)",
@@ -1522,7 +1522,7 @@
 	"Tags Generation": "标签生成",
 	"Tags Generation Prompt": "标签生成提示词",
 	"Tail free sampling is used to reduce the impact of less probable tokens from the output. A higher value (e.g., 2.0) will reduce the impact more, while a value of 1.0 disables this setting.": "无尾采样用于减少输出中出现概率较小的 Token 的影响。较高的值(例如 2.0)将进一步减少影响,而值 1.0 则禁用此设置。",
-	"Talk to Model": "",
+	"Talk to Model": "与模型对话",
 	"Tap to interrupt": "点击以中断",
 	"Task List": "任务列表",
 	"Task Model": "任务模型",
@@ -1604,7 +1604,7 @@
 	"Toast notifications for new updates": "检测到新版本时显示更新通知",
 	"Today": "今天",
 	"Today at {{LOCALIZED_TIME}}": "今天 {{LOCALIZED_TIME}}",
-	"Toggle Sidebar": "",
+	"Toggle Sidebar": "展开或收起侧边栏",
 	"Toggle whether current connection is active.": "切换当前连接的启用状态",
 	"Token": "Token",
 	"Too verbose": "过于冗长",

+ 25 - 25
src/lib/i18n/locales/zh-TW/translation.json

@@ -26,7 +26,7 @@
 	"A task model is used when performing tasks such as generating titles for chats and web search queries": "執行「產生對話標題」和「網頁搜尋查詢生成」等任務時使用的任務模型",
 	"a user": "使用者",
 	"About": "關於",
-	"Accept Autocomplete Generation\nJump to Prompt Variable": "",
+	"Accept Autocomplete Generation\nJump to Prompt Variable": "接受自動補全\n跳轉到提示詞變數",
 	"Access": "存取",
 	"Access Control": "存取控制",
 	"Accessible to all users": "所有使用者皆可存取",
@@ -51,7 +51,7 @@
 	"Add Content": "新增內容",
 	"Add content here": "在此新增內容",
 	"Add Custom Parameter": "新增自訂參數",
-	"Add Custom Prompt": "",
+	"Add Custom Prompt": "新增自訂提示詞",
 	"Add Details": "豐富細節",
 	"Add Files": "新增檔案",
 	"Add Group": "新增群組",
@@ -151,7 +151,7 @@
 	"Ask": "提問",
 	"Ask a question": "提出問題",
 	"Assistant": "助理",
-	"Attach File From Knowledge": "",
+	"Attach File From Knowledge": "從知識庫附加檔案",
 	"Attach Knowledge": "附加知識庫",
 	"Attach Notes": "附加筆記",
 	"Attach Webpage": "附加網頁",
@@ -271,7 +271,7 @@
 	"Close Banner": "關閉橫幅",
 	"Close Configure Connection Modal": "關閉外部連線設定彈出視窗",
 	"Close modal": "關閉彈出視窗",
-	"Close Modal": "",
+	"Close Modal": "關閉彈出視窗",
 	"Close settings modal": "關閉設定彈出視窗",
 	"Close Sidebar": "收起側邊欄",
 	"cloud": "雲端服務",
@@ -335,8 +335,8 @@
 	"Copied to clipboard": "已複製到剪貼簿",
 	"Copy": "複製",
 	"Copy Formatted Text": "複製格式化文字",
-	"Copy Last Code Block": "",
-	"Copy Last Response": "",
+	"Copy Last Code Block": "複製最後的程式碼區塊",
+	"Copy Last Response": "複製最後的回應",
 	"Copy link": "複製連結",
 	"Copy Link": "複製連結",
 	"Copy to clipboard": "複製到剪貼簿",
@@ -499,7 +499,7 @@
 	"Edit Default Permissions": "編輯預設權限",
 	"Edit Folder": "編輯分組",
 	"Edit Image": "編輯圖片",
-	"Edit Last Message": "",
+	"Edit Last Message": "編輯最後一則訊息",
 	"Edit Memory": "編輯記憶",
 	"Edit User": "編輯使用者",
 	"Edit User Group": "編輯使用者群組",
@@ -588,7 +588,7 @@
 	"Enter Key Behavior": "Enter 鍵行為",
 	"Enter language codes": "輸入語言代碼",
 	"Enter MinerU API Key": "輸入 MinerU API 金鑰",
-	"Enter Mistral API Base URL": "",
+	"Enter Mistral API Base URL": "輸入 Mistral API 基底 URL",
 	"Enter Mistral API Key": "輸入 Mistral API 金鑰",
 	"Enter Model ID": "輸入模型 ID",
 	"Enter model tag (e.g. {{modelTag}})": "輸入模型標籤(例如:{{modelTag}})",
@@ -744,7 +744,7 @@
 	"Firecrawl API Base URL": "Firecrawl API 基底 URL",
 	"Firecrawl API Key": "Firecrawl API 金鑰",
 	"Floating Quick Actions": "浮動快速操作",
-	"Focus Chat Input": "",
+	"Focus Chat Input": "聚焦對話輸入框",
 	"Folder": "分組",
 	"Folder Background Image": "分組背景圖",
 	"Folder deleted successfully": "成功刪除分組",
@@ -793,7 +793,7 @@
 	"Generate": "生成",
 	"Generate an image": "生成圖片",
 	"Generate Image": "生成圖片",
-	"Generate Message Pair": "",
+	"Generate Message Pair": "生成訊息對",
 	"Generated Image": "生成圖片",
 	"Generating search query": "正在生成搜尋查詢",
 	"Generating...": "正在生成...",
@@ -891,7 +891,7 @@
 	"Invalid file content": "檔案內容無效",
 	"Invalid file format.": "檔案格式無效。",
 	"Invalid JSON file": "JSON 檔案無效",
-	"Invalid JSON format for ComfyUI Edit Workflow.": "",
+	"Invalid JSON format for ComfyUI Edit Workflow.": "ComfyUI 圖片編輯工作流程的 JSON 格式無效",
 	"Invalid JSON format for ComfyUI Workflow.": "ComfyUI 工作流程的 JSON 格式無效",
 	"Invalid JSON format for Parameters": "額外參數的 JSON 格式無效",
 	"Invalid JSON format in Additional Config": "額外設定的 JSON 格式無效",
@@ -1003,7 +1003,7 @@
 	"Memory updated successfully": "成功更新記憶",
 	"Merge Responses": "合併回應",
 	"Merged Response": "整合回應結果",
-	"Message": "",
+	"Message": "訊息",
 	"Message rating should be enabled to use this feature": "需要啟用訊息評分才能使用此功能",
 	"Messages you send after creating your link won't be shared. Users with the URL will be able to view the shared chat.": "建立連結後傳送的訊息不會被分享。擁有網址的使用者可檢視分享的對話內容。",
 	"Microsoft OneDrive": "Microsoft OneDrive",
@@ -1066,9 +1066,9 @@
 	"New Note": "新增筆記",
 	"New Password": "新密碼",
 	"New Prompt": "新增提示詞",
-	"New Temporary Chat": "",
+	"New Temporary Chat": "新增臨時對話",
 	"New Tool": "新增工具",
-	"new-channel": "new-channel",
+	"new-channel": "新頻道",
 	"Next message": "下一條訊息",
 	"No authentication": "無身份驗證",
 	"No chats found": "未找到對話記錄",
@@ -1133,12 +1133,12 @@
 	"Ollama Version": "Ollama 版本",
 	"On": "開啟",
 	"OneDrive": "OneDrive",
-	"Only active when \"Paste Large Text as File\" setting is toggled on.": "",
-	"Only active when the chat input is in focus and an LLM is generating a response.": "",
-	"Only active when the chat input is in focus.": "",
+	"Only active when \"Paste Large Text as File\" setting is toggled on.": "僅在啟用「將大型文字作為檔案貼上」設定時有效。",
+	"Only active when the chat input is in focus and an LLM is generating a response.": "僅在聚焦對話框且大型語言模型正在生成回應時有效。",
+	"Only active when the chat input is in focus.": "僅在聚焦對話框時有效。",
 	"Only alphanumeric characters and hyphens are allowed": "只允許使用英文字母、數字和連字號",
 	"Only alphanumeric characters and hyphens are allowed in the command string.": "命令字串中只允許使用英文字母、數字和連字號。",
-	"Only can be triggered when the chat input is in focus.": "",
+	"Only can be triggered when the chat input is in focus.": "僅在聚焦對話框時有效。",
 	"Only collections can be edited, create a new knowledge base to edit/add documents.": "只能編輯集合,請建立新的知識以編輯或新增檔案。",
 	"Only markdown files are allowed": "僅允許 Markdown 檔案",
 	"Only select users and groups with permission can access": "只有具有權限的選定使用者和群組可以存取",
@@ -1152,7 +1152,7 @@
 	"Open modal to configure connection": "開啟外部連線設定彈出視窗",
 	"Open Modal To Manage Floating Quick Actions": "開啟管理浮動快速操作的彈出視窗",
 	"Open Modal To Manage Image Compression": "打開圖片壓縮設定視窗",
-	"Open Settings": "",
+	"Open Settings": "打開設定",
 	"Open Sidebar": "展開側邊欄",
 	"Open User Profile Menu": "開啟個人資料選單",
 	"Open WebUI can use tools provided by any OpenAPI server.": "Open WebUI 可使用任何 OpenAPI 伺服器提供的工具。",
@@ -1243,7 +1243,7 @@
 	"Prefer not to say": "不想透露",
 	"Prefix ID": "前置 ID",
 	"Prefix ID is used to avoid conflicts with other connections by adding a prefix to the model IDs - leave empty to disable": "前置 ID 用於透過為模型 ID 新增字首以避免與其他連線衝突 - 留空以停用",
-	"Prevent File Creation": "",
+	"Prevent File Creation": "阻止文件創建",
 	"Preview": "預覽",
 	"Previous 30 days": "過去 30 天",
 	"Previous 7 days": "過去 7 天",
@@ -1287,7 +1287,7 @@
 	"Refused when it shouldn't have": "不應拒絕時拒絕了",
 	"Regenerate": "重新產生回應",
 	"Regenerate Menu": "重新產生前顯示選單",
-	"Regenerate Response": "",
+	"Regenerate Response": "重新產生回應",
 	"Register Again": "重新登錄",
 	"Register Client": "登錄用戶端",
 	"Registered": "已登錄",
@@ -1456,7 +1456,7 @@
 	"Show Formatting Toolbar": "顯示文字格式工具列",
 	"Show image preview": "顯示圖片預覽",
 	"Show Model": "顯示模型",
-	"Show Shortcuts": "",
+	"Show Shortcuts": "顯示快捷鍵",
 	"Show your support!": "表達您的支持!",
 	"Showcased creativity": "展現創意",
 	"Sign in": "登入",
@@ -1492,7 +1492,7 @@
 	"STDOUT/STDERR": "STDOUT/STDERR",
 	"Steps": "迭代步數",
 	"Stop": "停止",
-	"Stop Generating": "",
+	"Stop Generating": "停止生成",
 	"Stop Sequence": "停止序列",
 	"Stream Chat Response": "串流式對話回應",
 	"Stream Delta Chunk Size": "串流增量輸出的分塊大小(Stream Delta Chunk Size)",
@@ -1522,7 +1522,7 @@
 	"Tags Generation": "標籤生成",
 	"Tags Generation Prompt": "標籤生成提示詞",
 	"Tail free sampling is used to reduce the impact of less probable tokens from the output. A higher value (e.g., 2.0) will reduce the impact more, while a value of 1.0 disables this setting.": "尾部自由取樣用於減少輸出結果中較低機率 token 的影響。較高的值(例如:2.0)會減少更多影響,而值為 1.0 時會停用此設定。",
-	"Talk to Model": "",
+	"Talk to Model": "與模型對話",
 	"Tap to interrupt": "點選以中斷",
 	"Task List": "工作清單",
 	"Task Model": "任務模型",
@@ -1604,7 +1604,7 @@
 	"Toast notifications for new updates": "快顯通知新的更新",
 	"Today": "今天",
 	"Today at {{LOCALIZED_TIME}}": "今天 {{LOCALIZED_TIME}}",
-	"Toggle Sidebar": "",
+	"Toggle Sidebar": "切換側邊欄",
 	"Toggle whether current connection is active.": "切換當前連接的啟用狀態",
 	"Token": "Token",
 	"Too verbose": "太過冗長",