浏览代码

Merge pull request #17833 from ShirasawaSama/patch-20

i18n: improved Chinese (zh-CN & zh-TW) translation
Tim Jaeryang Baek 1 周之前
父节点
当前提交
2915bcf28c
共有 2 个文件被更改,包括 18 次插入0 次删除
  1. 9 0
      src/lib/i18n/locales/zh-CN/translation.json
  2. 9 0
      src/lib/i18n/locales/zh-TW/translation.json

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

@@ -844,6 +844,7 @@
 	"Import Presets": "导入预设",
 	"Import Prompt Suggestions": "导入提示词建议",
 	"Import Prompts": "导入提示词",
+	"Import successful": "导入成功",
 	"Import Tools": "导入工具",
 	"Important Update": "重要更新",
 	"In order to force OCR, performing OCR must be enabled.": "开启“强制文字识别”选项需要先开启“文字识别“选项。",
@@ -881,6 +882,7 @@
 	"join our Discord for help.": "加入我们的 Discord 寻求帮助",
 	"JSON": "JSON",
 	"JSON Preview": "JSON 预览",
+	"JSON Spec": "以 JSON 格式定义的接口规范",
 	"July": "七月",
 	"June": "六月",
 	"Jupyter Auth": "Jupyter 身份验证",
@@ -1073,6 +1075,7 @@
 	"Note deleted successfully": "笔记删除成功",
 	"Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.": "注意:如果设置了最低分数,搜索结果只会返回分数大于或等于最低分数的文档。",
 	"Notes": "笔记",
+	"Notes Public Sharing": "公开分享笔记",
 	"Notification Sound": "通知提示音",
 	"Notification Webhook": "通知 Webhook",
 	"Notifications": "桌面通知",
@@ -1122,6 +1125,7 @@
 	"OpenAI API settings updated": "OpenAI API 设置已更新",
 	"OpenAI URL/Key required.": "OpenAI URL/Key 是必填项。",
 	"OpenAPI": "OpenAPI",
+	"OpenAPI Spec": "OpenAPI 接口规范",
 	"openapi.json URL or Path": "openapi.json URL 或路径",
 	"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 同时使用。",
@@ -1179,6 +1183,7 @@
 	"Please enter a message or attach a file.": "请输入内容或添加文件。",
 	"Please enter a prompt": "请输入提示词",
 	"Please enter a valid ID": "请输入有效的 ID",
+	"Please enter a valid JSON spec": "请输入有效 JSON 格式的接口规范",
 	"Please enter a valid path": "请输入有效路径",
 	"Please enter a valid URL": "请输入有效的 URL",
 	"Please enter a valid URL.": "请输入有效的 URL。",
@@ -1188,6 +1193,7 @@
 	"Please select a model first.": "请先选择模型",
 	"Please select a model.": "请选择模型。",
 	"Please select a reason": "请选择原因",
+	"Please select a valid JSON file": "请选择合法的 JSON 文件",
 	"Please wait until all files are uploaded.": "请等待所有文件上传完毕。",
 	"Port": "端口",
 	"Positive attitude": "态度积极",
@@ -1258,8 +1264,10 @@
 	"Remove this tag from list": "从列表中移除此标签",
 	"Rename": "重命名",
 	"Reorder Models": "重新排序模型",
+	"Reply": "回复",
 	"Reply in Thread": "回复主题",
 	"Reply to thread...": "回复主题...",
+	"Replying to {{NAME}}": "回复 {{NAME}}",
 	"required": "必填",
 	"Reranking Engine": "重新排名引擎",
 	"Reranking Model": "重新排名模型",
@@ -1590,6 +1598,7 @@
 	"Unarchive Chat": "取消存档当前对话",
 	"Underline": "下划线",
 	"Unknown": "未知",
+	"Unknown User": "未知用户",
 	"Unloads {{FROM_NOW}}": "{{FROM_NOW}} 后卸载",
 	"Unlock mysteries": "解码未知",
 	"Unpin": "取消置顶",

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

@@ -844,6 +844,7 @@
 	"Import Presets": "匯入預設集",
 	"Import Prompt Suggestions": "匯入提示建議",
 	"Import Prompts": "匯入提示詞",
+	"Import successful": "匯入成功",
 	"Import Tools": "匯入工具",
 	"Important Update": "重要更新",
 	"In order to force OCR, performing OCR must be enabled.": "要啟用「強制執行 OCR」,必須先啟用「執行 OCR」。",
@@ -881,6 +882,7 @@
 	"join our Discord for help.": "加入我們的 Discord 以取得協助。",
 	"JSON": "JSON",
 	"JSON Preview": "JSON 預覽",
+	"JSON Spec": "以 JSON 格式定義的介面規範",
 	"July": "7 月",
 	"June": "6 月",
 	"Jupyter Auth": "Jupyter 驗證",
@@ -1073,6 +1075,7 @@
 	"Note deleted successfully": "已成功刪除筆記",
 	"Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.": "注意:如果您設定了最低分數,則搜尋只會回傳分數大於或等於最低分數的檔案。",
 	"Notes": "筆記",
+	"Notes Public Sharing": "公開分享筆記",
 	"Notification Sound": "通知聲音",
 	"Notification Webhook": "通知 Webhook",
 	"Notifications": "通知",
@@ -1122,6 +1125,7 @@
 	"OpenAI API settings updated": "OpenAI API 設定已更新",
 	"OpenAI URL/Key required.": "需要提供 OpenAI URL 或金鑰。",
 	"OpenAPI": "OpenAPI",
+	"OpenAPI Spec": "OpenAPI 介面規範",
 	"openapi.json URL or Path": "openapi.json URL 或路徑",
 	"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 同時使用。",
@@ -1179,6 +1183,7 @@
 	"Please enter a message or attach a file.": "請輸入訊息或附加檔案。",
 	"Please enter a prompt": "請輸入提示詞",
 	"Please enter a valid ID": "請輸入有效的 ID",
+	"Please enter a valid JSON spec": "請輸入有效 JSON 格式的介面規範",
 	"Please enter a valid path": "請輸入有效路徑",
 	"Please enter a valid URL": "請輸入有效 URL",
 	"Please enter a valid URL.": "請輸入有效的 URL。",
@@ -1188,6 +1193,7 @@
 	"Please select a model first.": "請先選擇模型。",
 	"Please select a model.": "請選擇一個模型。",
 	"Please select a reason": "請選擇原因",
+	"Please select a valid JSON file": "請選擇合法的 JSON 檔案",
 	"Please wait until all files are uploaded.": "請等待所有檔案上傳完畢。",
 	"Port": "連接埠",
 	"Positive attitude": "積極的態度",
@@ -1258,8 +1264,10 @@
 	"Remove this tag from list": "從清單中移除此標籤",
 	"Rename": "重新命名",
 	"Reorder Models": "重新排序模型",
+	"Reply": "回覆",
 	"Reply in Thread": "在討論串中回覆",
 	"Reply to thread...": "回覆討論串...",
+	"Replying to {{NAME}}": "回覆 {{NAME}}",
 	"required": "必填",
 	"Reranking Engine": "重新排序引擎",
 	"Reranking Model": "重新排序模型",
@@ -1590,6 +1598,7 @@
 	"Unarchive Chat": "解除封存對話",
 	"Underline": "底線",
 	"Unknown": "未知",
+	"Unknown User": "未知使用者",
 	"Unloads {{FROM_NOW}}": "於 {{FROM_NOW}} 後卸載",
 	"Unlock mysteries": "解鎖謎題",
 	"Unpin": "取消釘選",