From 69c5c6d6b8839e95b8539cb148fa98399c55ad33 Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Fri, 3 Jan 2025 19:30:43 +0530 Subject: [PATCH] (fix/locale) missing keys in chinese --- frontend/src/locale/zh-TW.json | 25 ++++++++++++++++++------- frontend/src/locale/zh.json | 9 ++++++--- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/frontend/src/locale/zh-TW.json b/frontend/src/locale/zh-TW.json index d5f633d2..46c645de 100644 --- a/frontend/src/locale/zh-TW.json +++ b/frontend/src/locale/zh-TW.json @@ -57,39 +57,49 @@ "name": "文件名稱", "date": "向量日期", "type": "類型", - "tokenUsage": "Token 使用量" + "tokenUsage": "Token 使用量", + "noData": "沒有現有的文件" }, "apiKeys": { - "label": "API 金鑰", + "label": "聊天機器人", "name": "名稱", "key": "API 金鑰", "sourceDoc": "來源文件", - "createNew": "新增" + "createNew": "新增", + "noData": "沒有現有的聊天機器人" }, "analytics": { "label": "分析" }, "logs": { "label": "日誌" + }, + "tools": { + "label": "工具" } }, "modals": { "uploadDoc": { "label": "上傳新文件", + "select": "選擇如何將文件上傳到 DocsGPT", "file": "從檔案", - "remote": "遠端", + "back": "返回", + "wait": "請稍候...", + "remote": "從網站收集", + "start": "開始對話", "name": "名稱", "choose": "選擇檔案", - "info": "請上傳 .pdf, .txt, .rst, .docx, .md, .json, .pptx, .zip 檔案,大小限制為 25MB", + "info": "請上傳 .pdf, .txt, .rst, .csv, .xlsx, .docx, .md, .html, .epub, .json, .pptx, .zip 檔案,大小限制為 25MB", "uploadedFiles": "已上傳的檔案", "cancel": "取消", "train": "訓練", "link": "連結", "urlLink": "URL 連結", + "repoUrl": "儲存庫 URL", "reddit": { "id": "用戶端 ID", "secret": "用戶端金鑰", - "agent": "使用者代理(User-Agent)", + "agent": "使用者代理", "searchQueries": "搜尋查詢", "numberOfPosts": "貼文數量" }, @@ -120,7 +130,8 @@ "shareConv": { "label": "建立公開頁面以分享", "note": "來源文件、個人資訊和後續對話將保持私密", - "create": "建立" + "create": "建立", + "option": "允許用戶進行更多查詢" } }, "sharedConv": { diff --git a/frontend/src/locale/zh.json b/frontend/src/locale/zh.json index 1a0d1f94..12a2ec65 100644 --- a/frontend/src/locale/zh.json +++ b/frontend/src/locale/zh.json @@ -34,7 +34,7 @@ "settings": { "label": "设置", "general": { - "label": "般", + "label": "一般", "selectTheme": "选择主题", "light": "浅色", "dark": "暗色", @@ -73,6 +73,9 @@ }, "logs": { "label": "日志" + }, + "tools": { + "label": "工具" } }, "modals": { @@ -86,7 +89,7 @@ "start": "开始聊天", "name": "名称", "choose": "选择文件", - "info": "请上传 .pdf, .txt, .rst, .csv, .xlsx, .docx, .md, .html, .epub, .json, .pptx, .zip 文件,限 25MB", + "info": "请上传 .pdf, .txt, .rst, .csv, .xlsx, .docx, .md, .html, .epub, .json, .pptx, .zip 文件,限制为 25MB", "uploadedFiles": "已上传文件", "cancel": "取消", "train": "训练", @@ -128,7 +131,7 @@ "label": "创建用于分享的公共页面", "note": "源文档、个人信息和后续对话将保持私密", "create": "创建", - "option": "允许用户进行更多查询。" + "option": "允许用户进行更多查询" } }, "sharedConv": {