浏览代码

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

i18n: improve Chinese translation
Tim Jaeryang Baek 1 月之前
父节点
当前提交
71d7ba6c07
共有 2 个文件被更改,包括 48 次插入48 次删除
  1. 25 25
      src/lib/i18n/locales/zh-CN/translation.json
  2. 23 23
      src/lib/i18n/locales/zh-TW/translation.json

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

@@ -137,7 +137,7 @@
 	"Ask": "提问",
 	"Ask a question": "提问",
 	"Assistant": "助手",
-	"Attach file from knowledge": "从知识库附加文件",
+	"Attach file from knowledge": "从知识库中选择文件",
 	"Attention to detail": "注重细节",
 	"Attribute for Mail": "邮箱属性",
 	"Attribute for Username": "用户名属性",
@@ -175,8 +175,8 @@
 	"Beta": "Beta",
 	"Bing Search V7 Endpoint": "Bing 搜索 V7 端点",
 	"Bing Search V7 Subscription Key": "Bing 搜索 V7 订阅密钥",
-	"Bio": "",
-	"Birth Date": "",
+	"Bio": "个人简介",
+	"Birth Date": "出生日期",
 	"BM25 Weight": "BM25 混合搜索权重",
 	"Bocha Search API Key": "Bocha Search API 密钥",
 	"Bold": "粗体",
@@ -212,10 +212,10 @@
 	"Chat Background Image": "对话背景图片",
 	"Chat Bubble UI": "对话气泡样式",
 	"Chat Controls": "对话高级设置",
-	"Chat Conversation": "",
+	"Chat Conversation": "对话内容",
 	"Chat direction": "对话样式方向",
 	"Chat ID": "对话 ID",
-	"Chat moved successfully": "",
+	"Chat moved successfully": "移动对话成功",
 	"Chat Overview": "对话概述",
 	"Chat Permissions": "对话权限",
 	"Chat Tags Auto-Generation": "自动生成对话标签",
@@ -306,7 +306,7 @@
 	"Control the repetition of token sequences in the generated text. A higher value (e.g., 1.5) will penalize repetitions more strongly, while a lower value (e.g., 1.1) will be more lenient. At 1, it is disabled.": "控制生成文本中标记序列的重复度。较高的值(例如1.5)将更强烈地惩罚重复,而较低的值(例如1.1)则更为宽松。当值为1时,此功能将被禁用。",
 	"Controls": "对话高级设置",
 	"Controls the balance between coherence and diversity of the output. A lower value will result in more focused and coherent text.": "控制输出文本中连贯性和多样性之间的平衡。较低的值将产生更加专注和连贯的文本。",
-	"Conversation saved successfully": "",
+	"Conversation saved successfully": "对话保存成功",
 	"Copied": "已复制",
 	"Copied link to clipboard": "已复制链接到剪贴板",
 	"Copied shared chat URL to clipboard!": "已复制对话的分享链接到剪贴板!",
@@ -536,7 +536,7 @@
 	"Enter Google PSE API Key": "输入 Google PSE API 密钥",
 	"Enter Google PSE Engine Id": "输入 Google PSE 引擎 ID",
 	"Enter hex color (e.g. #FF0000)": "输入十六进制颜色(例如:#FF0000)",
-	"Enter ID": "",
+	"Enter ID": "输入 ID",
 	"Enter Image Size (e.g. 512x512)": "输入图像分辨率(例如:512x512)",
 	"Enter Jina API Key": "输入 Jina API 密钥",
 	"Enter JSON config (e.g., {\"disable_links\": true})": "输入 JSON 配置(例如:{\"disable_links\": true})",
@@ -599,7 +599,7 @@
 	"Enter your current password": "输入当前密码",
 	"Enter Your Email": "输入您的电子邮箱",
 	"Enter Your Full Name": "输入您的名称",
-	"Enter your gender": "",
+	"Enter your gender": "输入您的性别",
 	"Enter your message": "输入您的消息",
 	"Enter your name": "输入您的名称",
 	"Enter Your Name": "输入您的名称",
@@ -667,10 +667,10 @@
 	"Failed to generate title": "生成标题失败",
 	"Failed to load chat preview": "对话预览加载失败",
 	"Failed to load file content.": "文件内容加载失败",
-	"Failed to move chat": "",
+	"Failed to move chat": "移动对话失败",
 	"Failed to read clipboard contents": "读取剪贴板内容失败",
 	"Failed to save connections": "保存连接失败",
-	"Failed to save conversation": "保存话失败",
+	"Failed to save conversation": "保存话失败",
 	"Failed to save models configuration": "保存模型配置失败",
 	"Failed to update settings": "更新设置失败",
 	"Failed to upload file.": "上传文件失败",
@@ -681,7 +681,7 @@
 	"Feedback History": "反馈历史",
 	"Feedbacks": "反馈",
 	"Feel free to add specific details": "欢迎补充具体细节",
-	"Female": "",
+	"Female": "女性",
 	"File": "文件",
 	"File added successfully.": "文件成功添加",
 	"File content updated successfully.": "文件内容成功更新",
@@ -737,7 +737,7 @@
 	"Gemini": "Gemini",
 	"Gemini API Config": "Gemini API 配置",
 	"Gemini API Key is required.": "Gemini API 密钥是必填项。",
-	"Gender": "",
+	"Gender": "性别",
 	"General": "通用",
 	"Generate": "生成",
 	"Generate an image": "生成图像",
@@ -753,7 +753,7 @@
 	"Google Drive": "Google 云端硬盘",
 	"Google PSE API Key": "Google PSE API 密钥",
 	"Google PSE Engine Id": "Google PSE 引擎 ID",
-	"Gravatar": "",
+	"Gravatar": "Gravatar 头像",
 	"Group": "权限组",
 	"Group created successfully": "权限组创建成功",
 	"Group deleted successfully": "权限组删除成功",
@@ -819,7 +819,7 @@
 	"Includes SharePoint": "包含 SharePoint",
 	"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": "",
+	"Initials": "姓名缩写",
 	"Inject the entire content as context for comprehensive processing, this is recommended for complex queries.": "注入整个内容作为上下文进行综合处理,适用于复杂查询",
 	"Input": "输入",
 	"Input commands": "输入命令",
@@ -909,7 +909,7 @@
 	"Make password visible in the user interface": "在用户界面中显示密码",
 	"Make sure to enclose them with": "确保将它们包含在内",
 	"Make sure to export a workflow.json file as API format from ComfyUI.": "确保从 ComfyUI 导出 API 格式的 workflow.json 文件。",
-	"Male": "",
+	"Male": "男性",
 	"Manage": "管理",
 	"Manage Direct Connections": "管理直接连接",
 	"Manage Models": "管理模型",
@@ -918,7 +918,7 @@
 	"Manage OpenAI API Connections": "管理 OpenAI API 连接",
 	"Manage Pipelines": "管理 Pipeline",
 	"Manage Tool Servers": "管理工具服务器",
-	"Manage your account information.": "",
+	"Manage your account information.": "管理您的账号信息。",
 	"March": "三月",
 	"Markdown": "Markdown",
 	"Markdown (Header)": "Markdown(标题)",
@@ -981,7 +981,7 @@
 	"More": "更多",
 	"More Concise": "精炼表达",
 	"More Options": "更多选项",
-	"Move": "",
+	"Move": "移动",
 	"Name": "名称",
 	"Name and ID are required, please fill them out": "名称和 ID 是必填项,请填写它们",
 	"Name your knowledge base": "为您的知识库命名",
@@ -1002,7 +1002,7 @@
 	"No content found": "未发现内容",
 	"No content found in file.": "文件中未找到内容",
 	"No content to speak": "没有内容可朗读",
-	"No conversation to save": "",
+	"No conversation to save": "没有可保存的对话",
 	"No distance available": "没有可用距离",
 	"No feedbacks found": "暂无任何反馈",
 	"No file selected": "未选中文件",
@@ -1074,7 +1074,7 @@
 	"OpenAI API settings updated": "OpenAI API 设置已更新",
 	"OpenAI URL/Key required.": "OpenAI URL/Key 是必填项。",
 	"openapi.json URL or Path": "openapi.json URL 或路径",
-	"Optional": "",
+	"Optional": "可选",
 	"Options for running a local vision-language model in the picture description. The parameters refer to a model hosted on Hugging Face. This parameter is mutually exclusive with picture_description_api.": "在图片描述功能中本地运行视觉语言模型的选项。此参数指向托管在 Hugging Face 上的模型。此参数不可与 picture_description_api 同时使用。",
 	"or": "或",
 	"Ordered List": "有序列表",
@@ -1124,7 +1124,7 @@
 	"Playwright WebSocket URL": "Playwright WebSocket URL",
 	"Please carefully review the following warnings:": "请仔细阅读以下警告信息:",
 	"Please do not close the settings page while loading the model.": "加载模型时请不要关闭设置页面",
-	"Please enter a message or attach a file.": "",
+	"Please enter a message or attach a file.": "请输入内容或添加文件。",
 	"Please enter a prompt": "请输入一个 Prompt",
 	"Please enter a valid path": "请输入有效路径",
 	"Please enter a valid URL": "请输入有效 URL",
@@ -1135,7 +1135,7 @@
 	"Please wait until all files are uploaded.": "请等待所有文件上传完毕。",
 	"Port": "端口",
 	"Positive attitude": "态度积极",
-	"Prefer not to say": "",
+	"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": "阻止文件创建",
@@ -1222,7 +1222,7 @@
 	"Save & Create": "保存并创建",
 	"Save & Update": "保存并更新",
 	"Save As Copy": "另存为副本",
-	"Save Chat": "",
+	"Save Chat": "保存对话",
 	"Save Tag": "保存标签",
 	"Saved": "已保存",
 	"Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "我们不再支持将对话记录直接保存到浏览器的存储空间。请点击下面的按钮下载并删除您的对话记录。别担心,您可以轻松地将对话记录重新导入到后台。",
@@ -1327,7 +1327,7 @@
 	"Share": "分享",
 	"Share Chat": "分享对话",
 	"Share to Open WebUI Community": "分享到 Open WebUI 社区",
-	"Share your background and interests": "",
+	"Share your background and interests": "分享您的经历和兴趣爱好",
 	"Sharing Permissions": "共享权限",
 	"Shortcuts with an asterisk (*) are situational and only active under specific conditions.": "带星号 (*) 的快捷键受场景限制,仅在特定条件下生效。",
 	"Show": "显示",
@@ -1406,7 +1406,7 @@
 	"Tell us more:": "请告诉我们更多细节",
 	"Temperature": "温度 (Temperature)",
 	"Temporary Chat": "临时对话",
-	"Temporary Chat by Default": "",
+	"Temporary Chat by Default": "默认使用临时对话",
 	"Text Splitter": "文本分切器",
 	"Text-to-Speech": "文本转语音",
 	"Text-to-Speech Engine": "文本转语音引擎",
@@ -1628,7 +1628,7 @@
 	"You have shared this chat": "此对话已经分享过",
 	"You're a helpful assistant.": "你是一个乐于助人的助手",
 	"You're now logged in.": "已登录",
-	"Your Account": "",
+	"Your Account": "您的账号",
 	"Your account status is currently pending activation.": "您的账号当前状态为待激活",
 	"Your entire contribution will go directly to the plugin developer; Open WebUI does not take any percentage. However, the chosen funding platform might have its own fees.": "您的全部捐款将直接给到插件开发者,Open WebUI 不会收取任何比例。但众筹平台可能会有服务费、抽成。",
 	"Youtube": "YouTube",

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

@@ -175,8 +175,8 @@
 	"Beta": "測試",
 	"Bing Search V7 Endpoint": "Bing 搜尋 V7 端點",
 	"Bing Search V7 Subscription Key": "Bing 搜尋 V7 訂閱金鑰",
-	"Bio": "",
-	"Birth Date": "",
+	"Bio": "個人簡介",
+	"Birth Date": "生日",
 	"BM25 Weight": "BM25 混合搜尋權重",
 	"Bocha Search API Key": "Bocha 搜尋 API 金鑰",
 	"Bold": "粗體",
@@ -212,10 +212,10 @@
 	"Chat Background Image": "對話背景圖片",
 	"Chat Bubble UI": "對話氣泡介面",
 	"Chat Controls": "對話控制選項",
-	"Chat Conversation": "",
+	"Chat Conversation": "對話內容",
 	"Chat direction": "對話方向",
 	"Chat ID": "對話 ID",
-	"Chat moved successfully": "",
+	"Chat moved successfully": "對話已移動",
 	"Chat Overview": "對話概覽",
 	"Chat Permissions": "對話權限",
 	"Chat Tags Auto-Generation": "自動生成對話標籤",
@@ -306,7 +306,7 @@
 	"Control the repetition of token sequences in the generated text. A higher value (e.g., 1.5) will penalize repetitions more strongly, while a lower value (e.g., 1.1) will be more lenient. At 1, it is disabled.": "控制生成文字中 token 序列的重複程度。較高的值(例如:1.5)會更強烈地懲罰重複,而較低的值(例如:1.1)會更寬容。設為 1 時,此功能將停用。",
 	"Controls": "控制選項",
 	"Controls the balance between coherence and diversity of the output. A lower value will result in more focused and coherent text.": "控制輸出結果的連貫性與多樣性之間的平衡。數值越低會生成更集中且連貫的文字。",
-	"Conversation saved successfully": "",
+	"Conversation saved successfully": "對話已儲存",
 	"Copied": "已複製",
 	"Copied link to clipboard": "已複製連結至剪貼簿",
 	"Copied shared chat URL to clipboard!": "已複製共用對話 URL 到剪貼簿!",
@@ -536,7 +536,7 @@
 	"Enter Google PSE API Key": "輸入 Google PSE API 金鑰",
 	"Enter Google PSE Engine Id": "輸入 Google PSE 引擎 ID",
 	"Enter hex color (e.g. #FF0000)": "輸入十六進制色彩(例如:#FF0000)",
-	"Enter ID": "",
+	"Enter ID": "輸入 ID",
 	"Enter Image Size (e.g. 512x512)": "輸入圖片尺寸(例如:512x512)",
 	"Enter Jina API Key": "輸入 Jina API 金鑰",
 	"Enter JSON config (e.g., {\"disable_links\": true})": "輸入 JSON 設定(例如:{\"disable_links\": true})",
@@ -599,7 +599,7 @@
 	"Enter your current password": "輸入您的目前密碼",
 	"Enter Your Email": "輸入您的電子郵件",
 	"Enter Your Full Name": "輸入您的全名",
-	"Enter your gender": "",
+	"Enter your gender": "輸入您的性別",
 	"Enter your message": "輸入您的訊息",
 	"Enter your name": "輸入你的名稱",
 	"Enter Your Name": "輸入您的姓名",
@@ -667,7 +667,7 @@
 	"Failed to generate title": "產生標題失敗",
 	"Failed to load chat preview": "對話預覽載入失敗",
 	"Failed to load file content.": "載入檔案內容失敗。",
-	"Failed to move chat": "",
+	"Failed to move chat": "移動對話失敗",
 	"Failed to read clipboard contents": "讀取剪貼簿內容失敗",
 	"Failed to save connections": "儲存連線失敗",
 	"Failed to save conversation": "儲存對話失敗",
@@ -681,7 +681,7 @@
 	"Feedback History": "回饋歷史",
 	"Feedbacks": "回饋",
 	"Feel free to add specific details": "歡迎自由新增特定細節",
-	"Female": "",
+	"Female": "女性",
 	"File": "檔案",
 	"File added successfully.": "成功新增檔案。",
 	"File content updated successfully.": "成功更新檔案內容。",
@@ -737,7 +737,7 @@
 	"Gemini": "Gemini",
 	"Gemini API Config": "Gemini API 設定",
 	"Gemini API Key is required.": "需要提供 Gemini API 金鑰。",
-	"Gender": "",
+	"Gender": "性別",
 	"General": "一般",
 	"Generate": "生成",
 	"Generate an image": "生成圖片",
@@ -753,7 +753,7 @@
 	"Google Drive": "Google Drive",
 	"Google PSE API Key": "Google PSE API 金鑰",
 	"Google PSE Engine Id": "Google PSE 引擎 ID",
-	"Gravatar": "",
+	"Gravatar": "Gravatar 大頭貼",
 	"Group": "群組",
 	"Group created successfully": "成功建立群組",
 	"Group deleted successfully": "成功刪除群組",
@@ -819,7 +819,7 @@
 	"Includes SharePoint": "包含 SharePoint",
 	"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": "",
+	"Initials": "姓名縮寫",
 	"Inject the entire content as context for comprehensive processing, this is recommended for complex queries.": "將完整內容注入為上下文以進行全面處理,建議用於複雜查詢。",
 	"Input": "輸入",
 	"Input commands": "輸入命令",
@@ -909,7 +909,7 @@
 	"Make password visible in the user interface": "在使用者介面中顯示密碼",
 	"Make sure to enclose them with": "請務必將它們放在",
 	"Make sure to export a workflow.json file as API format from ComfyUI.": "請確保從 ComfyUI 匯出 workflow.json 檔案為 API 格式。",
-	"Male": "",
+	"Male": "男性",
 	"Manage": "管理",
 	"Manage Direct Connections": "管理直接連線",
 	"Manage Models": "管理模型",
@@ -918,7 +918,7 @@
 	"Manage OpenAI API Connections": "管理 OpenAI API 連線",
 	"Manage Pipelines": "管理管線",
 	"Manage Tool Servers": "管理工具伺服器",
-	"Manage your account information.": "",
+	"Manage your account information.": "管理您的帳號資訊。",
 	"March": "3 月",
 	"Markdown": "Markdown",
 	"Markdown (Header)": "Markdown(標題)",
@@ -981,7 +981,7 @@
 	"More": "更多",
 	"More Concise": "精煉表達",
 	"More Options": "更多選項",
-	"Move": "",
+	"Move": "移動",
 	"Name": "名稱",
 	"Name and ID are required, please fill them out": "名稱和 ID 為必填項目,請填寫",
 	"Name your knowledge base": "命名您的知識庫",
@@ -1002,7 +1002,7 @@
 	"No content found": "未找到內容",
 	"No content found in file.": "檔案中未找到內容。",
 	"No content to speak": "無可朗讀的內容",
-	"No conversation to save": "",
+	"No conversation to save": "沒有可儲存的對話",
 	"No distance available": "無可用距離",
 	"No feedbacks found": "未找到回饋",
 	"No file selected": "未選取檔案",
@@ -1074,7 +1074,7 @@
 	"OpenAI API settings updated": "OpenAI API 設定已更新",
 	"OpenAI URL/Key required.": "需要提供 OpenAI URL 或金鑰。",
 	"openapi.json URL or Path": "openapi.json URL 或路徑",
-	"Optional": "",
+	"Optional": "選填",
 	"Options for running a local vision-language model in the picture description. The parameters refer to a model hosted on Hugging Face. This parameter is mutually exclusive with picture_description_api.": "在圖片描述功能中本地執行視覺語言模型的選項。此參數指向託管在 Hugging Face 上的模型。此參數不可與 picture_description_api 同時使用。",
 	"or": "或",
 	"Ordered List": "有序清單",
@@ -1124,7 +1124,7 @@
 	"Playwright WebSocket URL": "Playwright WebSocket URL",
 	"Please carefully review the following warnings:": "請仔細閱讀以下警告:",
 	"Please do not close the settings page while loading the model.": "載入模型時,請勿關閉設定頁面。",
-	"Please enter a message or attach a file.": "",
+	"Please enter a message or attach a file.": "請輸入訊息或附加檔案。",
 	"Please enter a prompt": "請輸入提示詞",
 	"Please enter a valid path": "請輸入有效路徑",
 	"Please enter a valid URL": "請輸入有效 URL",
@@ -1135,7 +1135,7 @@
 	"Please wait until all files are uploaded.": "請等待所有檔案上傳完畢。",
 	"Port": "連接埠",
 	"Positive attitude": "積極的態度",
-	"Prefer not to say": "",
+	"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": "阻止檔案建立",
@@ -1222,7 +1222,7 @@
 	"Save & Create": "儲存並建立",
 	"Save & Update": "儲存並更新",
 	"Save As Copy": "另存為副本",
-	"Save Chat": "",
+	"Save Chat": "儲存對話",
 	"Save Tag": "儲存標籤",
 	"Saved": "已儲存",
 	"Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "不再支援直接將對話紀錄儲存到您的瀏覽器儲存空間。請點選下方按鈕來下載並刪除您的對話紀錄。別擔心,您可以透過以下方式輕鬆地將對話紀錄重新匯入後端",
@@ -1327,7 +1327,7 @@
 	"Share": "分享",
 	"Share Chat": "分享對話",
 	"Share to Open WebUI Community": "分享到 Open WebUI 社群",
-	"Share your background and interests": "",
+	"Share your background and interests": "分享您的背景與興趣",
 	"Sharing Permissions": "分享權限設定",
 	"Shortcuts with an asterisk (*) are situational and only active under specific conditions.": "帶星號 (*) 的快捷鍵受場景限制,僅在特定條件下生效。",
 	"Show": "顯示",
@@ -1406,7 +1406,7 @@
 	"Tell us more:": "告訴我們更多:",
 	"Temperature": "溫度",
 	"Temporary Chat": "臨時對話",
-	"Temporary Chat by Default": "",
+	"Temporary Chat by Default": "預設使用臨時對話",
 	"Text Splitter": "文字分割器",
 	"Text-to-Speech": "文字轉語音",
 	"Text-to-Speech Engine": "文字轉語音引擎",
@@ -1628,7 +1628,7 @@
 	"You have shared this chat": "您已分享此對話",
 	"You're a helpful assistant.": "您是一位樂於助人的助理。",
 	"You're now logged in.": "您已登入。",
-	"Your Account": "",
+	"Your Account": "您的帳號",
 	"Your account status is currently pending activation.": "您的帳號目前正在等待啟用。",
 	"Your entire contribution will go directly to the plugin developer; Open WebUI does not take any percentage. However, the chosen funding platform might have its own fees.": "您的所有貢獻將會直接交給外掛開發者;Open WebUI 不會收取任何百分比。然而,所選擇的贊助平臺可能有其自身的費用。",
 	"Youtube": "YouTube",