Просмотр исходного кода

i18n: improve Chinese translation

Shirasawa 4 месяцев назад
Родитель
Сommit
0127ac39eb
2 измененных файлов с 53 добавлено и 53 удалено
  1. 25 25
      src/lib/i18n/locales/zh-CN/translation.json
  2. 28 28
      src/lib/i18n/locales/zh-TW/translation.json

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

@@ -344,7 +344,7 @@
 	"Create Folder": "创建分组",
 	"Create Group": "创建权限组",
 	"Create Knowledge": "创建知识",
-	"Create Model": "",
+	"Create Model": "创建模型",
 	"Create new key": "创建新密钥",
 	"Create new secret key": "创建新安全密钥",
 	"Create Note": "创建笔记",
@@ -352,7 +352,7 @@
 	"Created at": "创建于",
 	"Created At": "创建于",
 	"Created by": "作者",
-	"Created by you": "",
+	"Created by you": "由您创建",
 	"CSV Import": "通过 CSV 文件导入",
 	"Ctrl+Enter to Send": "Ctrl+Enter 发送",
 	"Current Model": "当前模型",
@@ -399,7 +399,7 @@
 	"Delete function?": "要删除此函数吗?",
 	"Delete Message": "删除消息",
 	"Delete message?": "要删除此消息吗?",
-	"Delete Model": "",
+	"Delete Model": "删除模型",
 	"Delete note?": "要删除此笔记吗?",
 	"Delete prompt?": "要删除此提示词吗?",
 	"delete this link": "此处删除这个链接",
@@ -505,7 +505,7 @@
 	"Embedding Batch Size": "嵌入层批处理大小 (Embedding Batch Size)",
 	"Embedding Model": "嵌入模型",
 	"Embedding Model Engine": "嵌入模型引擎",
-	"Embedding model set to \"{{embedding_model}}\"": "嵌入模型设置为 \"{{embedding_model}}\"",
+	"Embedding model set to \"{{embedding_model}}\"": "嵌入模型设置为 “{{embedding_model}}”",
 	"Enable API Key": "启用 API 密钥",
 	"Enable autocomplete generation for chat messages": "启用对话输入框内容自动补全",
 	"Enable Code Execution": "启用代码执行",
@@ -527,9 +527,9 @@
 	"Enter a detail about yourself for your LLMs to recall": "输入关于您的详细信息,以便大语言模型记住这些内容。",
 	"Enter a title for the pending user info overlay. Leave empty for default.": "输入用户待激活界面的标题。留空使用默认",
 	"Enter a watermark for the response. Leave empty for none.": "输入复制水印。留空则不添加",
-	"Enter additional headers in JSON format": "",
-	"Enter additional headers in JSON format (e.g. {{'{{\"X-Custom-Header\": \"value\"}}'}})": "",
-	"Enter additional parameters in JSON format": "",
+	"Enter additional headers in JSON format": "输入 JSON 格式的额外 HTTP 标头",
+	"Enter additional headers in JSON format (e.g. {{'{{\"X-Custom-Header\": \"value\"}}'}})": "输入 JSON 格式的额外 HTTP 标头(例如:{{'{{\"X-Custom-Header\": \"value\"}}'}})",
+	"Enter additional parameters in JSON format": "输入 JSON 格式的额外参数",
 	"Enter api auth string (e.g. username:password)": "输入 API 鉴权路径(例如:用户名:密码)",
 	"Enter Application DN": "输入 Application DN",
 	"Enter Application DN Password": "输入 Application DN 密码",
@@ -701,7 +701,7 @@
 	"Failed to load file content.": "文件内容加载失败",
 	"Failed to move chat": "移动对话失败",
 	"Failed to read clipboard contents": "读取剪贴板内容失败",
-	"Failed to render diagram": "",
+	"Failed to render diagram": "渲染图表失败",
 	"Failed to save connections": "保存连接失败",
 	"Failed to save conversation": "保存对话失败",
 	"Failed to save models configuration": "保存模型配置失败",
@@ -735,7 +735,7 @@
 	"Firecrawl API Key": "Firecrawl API 密钥",
 	"Floating Quick Actions": "快捷操作浮窗",
 	"Focus chat input": "激活对话输入框",
-	"Folder": "",
+	"Folder": "分组",
 	"Folder Background Image": "分组背景图",
 	"Folder deleted successfully": "分组删除成功",
 	"Folder Name": "分组名称",
@@ -805,8 +805,8 @@
 	"H2": "二级标题",
 	"H3": "三级标题",
 	"Haptic Feedback": "震动反馈",
-	"Headers": "",
-	"Headers must be a valid JSON object": "",
+	"Headers": "HTTP 标头",
+	"Headers must be a valid JSON object": "HTTP 标头必须是有效的 JSON 格式",
 	"Height": "高度",
 	"Hello, {{name}}": "您好,{{name}}",
 	"Help": "帮助",
@@ -1038,11 +1038,11 @@
 	"New Chat": "新对话",
 	"New Folder": "创建分组",
 	"New Function": "新函数",
-	"New Knowledge": "",
-	"New Model": "",
+	"New Knowledge": "创建知识库",
+	"New Model": "创建模型",
 	"New Note": "新笔记",
 	"New Password": "新密码",
-	"New Prompt": "",
+	"New Prompt": "创建提示词",
 	"New Tool": "新工具",
 	"new-channel": "新频道",
 	"Next message": "下一条消息",
@@ -1058,7 +1058,7 @@
 	"No distance available": "没有可用距离",
 	"No feedbacks found": "暂无任何反馈",
 	"No file selected": "未选中文件",
-	"No functions found": "",
+	"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": "未找到支持管理的推理引擎",
@@ -1069,14 +1069,14 @@
 	"No models selected": "未选择任何模型",
 	"No Notes": "没有笔记",
 	"No notes found": "没有任何笔记",
-	"No prompts found": "",
+	"No prompts found": "未找到提示词",
 	"No results": "未找到结果",
 	"No results found": "未找到结果",
 	"No search query generated": "未生成搜索查询",
 	"No source available": "没有可用引用来源",
 	"No sources found": "未找到任何引用来源",
 	"No suggestion prompts": "没有推荐提示词",
-	"No tools found": "",
+	"No tools found": "未找到工具",
 	"No users were found.": "未找到用户",
 	"No valves": "没有配置项",
 	"No valves to update": "没有需要更新的配置项",
@@ -1233,9 +1233,9 @@
 	"Prompts Public Sharing": "提示词公开共享",
 	"Provider Type": "服务提供商类型",
 	"Public": "公共",
-	"Pull \"{{searchValue}}\" from Ollama.com": "从 Ollama.com 拉取“{{searchValue}}”",
-	"Pull a model from Ollama.com": "从 Ollama.com 拉取一个模型",
-	"Pull Model": "",
+	"Pull \"{{searchValue}}\" from Ollama.com": "从 Ollama.com 下载 “{{searchValue}}”",
+	"Pull a model from Ollama.com": "从 Ollama.com 下载模型",
+	"Pull Model": "下载模型",
 	"pypdfium2": "pypdfium2",
 	"Query Generation Prompt": "查询生成提示词",
 	"Querying": "查询中",
@@ -1382,7 +1382,7 @@
 	"Select how to split message text for TTS requests": "选择消息文本拆分方法,用于 TTS 请求。",
 	"Select Knowledge": "选择知识",
 	"Select only one model to call": "只允许选择一个模型进行语音通话",
-	"Select view": "",
+	"Select view": "选择视图",
 	"Selected model(s) do not support image inputs": "所选择的模型不支持处理图像",
 	"semantic": "语义",
 	"Send": "发送",
@@ -1423,7 +1423,7 @@
 	"Share Chat": "分享对话",
 	"Share to Open WebUI Community": "分享到 Open WebUI 社区",
 	"Share your background and interests": "分享您的经历和兴趣爱好",
-	"Shared with you": "",
+	"Shared with you": "已共享给您",
 	"Sharing Permissions": "共享权限",
 	"Shortcuts with an asterisk (*) are situational and only active under specific conditions.": "带星号 (*) 的快捷键受场景限制,仅在特定条件下生效。",
 	"Show": "显示",
@@ -1491,7 +1491,7 @@
 	"System Instructions": "系统指令",
 	"System Prompt": "系统提示词",
 	"Table Mode": "表格模式",
-	"Tag": "",
+	"Tag": "标签",
 	"Tags": "标签",
 	"Tags Generation": "标签生成",
 	"Tags Generation Prompt": "标签生成提示词",
@@ -1603,7 +1603,7 @@
 	"Transformers": "Transformers",
 	"Trouble accessing Ollama?": "访问 Ollama 时遇到问题?",
 	"Trust Proxy Environment": "信任代理环境",
-	"Try adjusting your search or filter to find what you are looking for.": "",
+	"Try adjusting your search or filter to find what you are looking for.": "请尝试调整您的搜索词或过滤器以找到您需要的内容。",
 	"Try Again": "重新生成",
 	"TTS Model": "文本转语音模型",
 	"TTS Settings": "文本转语音设置",
@@ -1640,7 +1640,7 @@
 	"Upload directory": "上传目录",
 	"Upload files": "上传文件",
 	"Upload Files": "上传文件",
-	"Upload Model": "",
+	"Upload Model": "上传模型",
 	"Upload Pipeline": "上传 Pipeline",
 	"Upload Progress": "上传进度",
 	"Upload Progress: {{uploadedFiles}}/{{totalFiles}} ({{percentage}}%)": "上传进度:{{uploadedFiles}}/{{totalFiles}} ({{percentage}}%)",

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

@@ -344,7 +344,7 @@
 	"Create Folder": "建立分組",
 	"Create Group": "建立群組",
 	"Create Knowledge": "建立知識",
-	"Create Model": "",
+	"Create Model": "建立模型",
 	"Create new key": "建立新的金鑰",
 	"Create new secret key": "建立新的金鑰",
 	"Create Note": "新增筆記",
@@ -352,7 +352,7 @@
 	"Created at": "建立於",
 	"Created At": "建立於",
 	"Created by": "建立者",
-	"Created by you": "",
+	"Created by you": "由您建立",
 	"CSV Import": "CSV 匯入",
 	"Ctrl+Enter to Send": "使用 Ctrl+Enter 傳送",
 	"Current Model": "目前模型",
@@ -399,7 +399,7 @@
 	"Delete function?": "刪除函式?",
 	"Delete Message": "刪除訊息",
 	"Delete message?": "刪除訊息?",
-	"Delete Model": "",
+	"Delete Model": "刪除模型",
 	"Delete note?": "刪除筆記?",
 	"Delete prompt?": "刪除提示詞?",
 	"delete this link": "刪除此連結",
@@ -505,7 +505,7 @@
 	"Embedding Batch Size": "嵌入批次大小",
 	"Embedding Model": "嵌入模型",
 	"Embedding Model Engine": "嵌入模型引擎",
-	"Embedding model set to \"{{embedding_model}}\"": "嵌入模型已設定為 \"{{embedding_model}}\"",
+	"Embedding model set to \"{{embedding_model}}\"": "嵌入模型已設定為「{{embedding_model}}」",
 	"Enable API Key": "啟用 API 金鑰",
 	"Enable autocomplete generation for chat messages": "啟用對話訊息的自動完成",
 	"Enable Code Execution": "啟用程式碼執行",
@@ -527,9 +527,9 @@
 	"Enter a detail about yourself for your LLMs to recall": "輸入有關您的詳細資訊,讓您的大型語言模型可以回想起來",
 	"Enter a title for the pending user info overlay. Leave empty for default.": "為待處理的使用者訊息覆蓋層輸入標題。留空以使用預設值。",
 	"Enter a watermark for the response. Leave empty for none.": "請輸入回應浮水印內容,留空表示不使用浮水印。",
-	"Enter additional headers in JSON format": "",
-	"Enter additional headers in JSON format (e.g. {{'{{\"X-Custom-Header\": \"value\"}}'}})": "",
-	"Enter additional parameters in JSON format": "",
+	"Enter additional headers in JSON format": "請輸入額外的 HTTP 標頭,以 JSON 格式表示",
+	"Enter additional headers in JSON format (e.g. {{'{{\"X-Custom-Header\": \"value\"}}'}})": "請輸入額外的 HTTP 標頭,以 JSON 格式表示(例如:{{'{{\"X-Custom-Header\": \"value\"}}'}})",
+	"Enter additional parameters in JSON format": "請輸入額外的參數,以 JSON 格式表示",
 	"Enter api auth string (e.g. username:password)": "輸入 API 驗證字串(例如:username:password)",
 	"Enter Application DN": "輸入應用程式 DN",
 	"Enter Application DN Password": "輸入應用程式 DN 密碼",
@@ -701,7 +701,7 @@
 	"Failed to load file content.": "載入檔案內容失敗。",
 	"Failed to move chat": "移動對話失敗",
 	"Failed to read clipboard contents": "讀取剪貼簿內容失敗",
-	"Failed to render diagram": "",
+	"Failed to render diagram": "繪製圖表失敗",
 	"Failed to save connections": "儲存連線失敗",
 	"Failed to save conversation": "儲存對話失敗",
 	"Failed to save models configuration": "儲存模型設定失敗",
@@ -735,14 +735,14 @@
 	"Firecrawl API Key": "Firecrawl API 金鑰",
 	"Floating Quick Actions": "浮動快速操作",
 	"Focus chat input": "聚焦對話輸入",
-	"Folder": "",
-	"Folder Background Image": "資料夾背景圖",
-	"Folder deleted successfully": "成功刪除資料夾",
+	"Folder": "分組",
+	"Folder Background Image": "分組背景圖",
+	"Folder deleted successfully": "成功刪除分組",
 	"Folder Name": "分組名稱",
-	"Folder name cannot be empty.": "資料夾名稱不能為空。",
-	"Folder name updated successfully": "成功更新資料夾名稱",
+	"Folder name cannot be empty.": "分組名稱不能為空。",
+	"Folder name updated successfully": "成功更新分組名稱",
 	"Folder updated successfully": "分組更新成功",
-	"Folders": "資料夾",
+	"Folders": "分組",
 	"Follow up": "跟進",
 	"Follow Up Generation": "跟進內容生成",
 	"Follow Up Generation Prompt": "跟進內容生成提示詞",
@@ -805,8 +805,8 @@
 	"H2": "二級標題",
 	"H3": "三級標題",
 	"Haptic Feedback": "觸覺回饋",
-	"Headers": "",
-	"Headers must be a valid JSON object": "",
+	"Headers": "HTTP 標頭",
+	"Headers must be a valid JSON object": "HTTP 標頭必須是有效的 JSON 格式",
 	"Height": "高度",
 	"Hello, {{name}}": "您好,{{name}}",
 	"Help": "說明",
@@ -1038,11 +1038,11 @@
 	"New Chat": "新增對話",
 	"New Folder": "新增資料夾",
 	"New Function": "新增函式",
-	"New Knowledge": "",
-	"New Model": "",
+	"New Knowledge": "新增知識",
+	"New Model": "新增模型",
 	"New Note": "新增筆記",
 	"New Password": "新密碼",
-	"New Prompt": "",
+	"New Prompt": "新增提示詞",
 	"New Tool": "新增工具",
 	"new-channel": "new-channel",
 	"Next message": "下一條訊息",
@@ -1058,7 +1058,7 @@
 	"No distance available": "無可用距離",
 	"No feedbacks found": "未找到回饋",
 	"No file selected": "未選取檔案",
-	"No functions found": "",
+	"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": "未找到支援管理功能的推理引擎",
@@ -1069,14 +1069,14 @@
 	"No models selected": "未選取模型",
 	"No Notes": "尚無筆記",
 	"No notes found": "沒有任何筆記",
-	"No prompts found": "",
+	"No prompts found": "未找到提示詞",
 	"No results": "沒有結果",
 	"No results found": "未找到任何結果",
 	"No search query generated": "未產生搜尋查詢",
 	"No source available": "無可用來源",
 	"No sources found": "未找到任何來源",
 	"No suggestion prompts": "沒有建議提示詞",
-	"No tools found": "",
+	"No tools found": "未找到工具",
 	"No users were found.": "未找到任何使用者",
 	"No valves": "沒有設定項目",
 	"No valves to update": "設定項目可更新",
@@ -1235,7 +1235,7 @@
 	"Public": "公開",
 	"Pull \"{{searchValue}}\" from Ollama.com": "從 Ollama.com 下載「{{searchValue}}」",
 	"Pull a model from Ollama.com": "從 Ollama.com 下載模型",
-	"Pull Model": "",
+	"Pull Model": "下載模型",
 	"pypdfium2": "pypdfium2",
 	"Query Generation Prompt": "查詢生成提示詞",
 	"Querying": "查詢中",
@@ -1382,7 +1382,7 @@
 	"Select how to split message text for TTS requests": "選擇如何拆分訊息文字以用於 TTS 請求",
 	"Select Knowledge": "選擇知識庫",
 	"Select only one model to call": "僅選擇一個模型來呼叫",
-	"Select view": "",
+	"Select view": "選擇檢視",
 	"Selected model(s) do not support image inputs": "選取的模型不支援圖片輸入",
 	"semantic": "語義",
 	"Send": "傳送",
@@ -1423,7 +1423,7 @@
 	"Share Chat": "分享對話",
 	"Share to Open WebUI Community": "分享到 Open WebUI 社群",
 	"Share your background and interests": "分享您的背景與興趣",
-	"Shared with you": "",
+	"Shared with you": "分享給您",
 	"Sharing Permissions": "分享權限設定",
 	"Shortcuts with an asterisk (*) are situational and only active under specific conditions.": "帶星號 (*) 的快捷鍵受場景限制,僅在特定條件下生效。",
 	"Show": "顯示",
@@ -1491,7 +1491,7 @@
 	"System Instructions": "系統指令",
 	"System Prompt": "系統提示詞",
 	"Table Mode": "表格模式",
-	"Tag": "",
+	"Tag": "標籤",
 	"Tags": "標籤",
 	"Tags Generation": "標籤生成",
 	"Tags Generation Prompt": "標籤生成提示詞",
@@ -1603,7 +1603,7 @@
 	"Transformers": "Transformers",
 	"Trouble accessing Ollama?": "存取 Ollama 時遇到問題?",
 	"Trust Proxy Environment": "信任代理環境",
-	"Try adjusting your search or filter to find what you are looking for.": "",
+	"Try adjusting your search or filter to find what you are looking for.": "調整您的搜尋或過濾器以找到您正在尋找的內容。",
 	"Try Again": "重新產生",
 	"TTS Model": "文字轉語音 (TTS) 模型",
 	"TTS Settings": "文字轉語音 (TTS) 設定",
@@ -1640,7 +1640,7 @@
 	"Upload directory": "上傳目錄",
 	"Upload files": "上傳檔案",
 	"Upload Files": "上傳檔案",
-	"Upload Model": "",
+	"Upload Model": "上傳模型",
 	"Upload Pipeline": "上傳管線",
 	"Upload Progress": "上傳進度",
 	"Upload Progress: {{uploadedFiles}}/{{totalFiles}} ({{percentage}}%)": "上傳進度:{{uploadedFiles}}/{{totalFiles}} ({{percentage}}%)",