From 48c9fb0ddf41a025375aaf90cccabb0d8331e515 Mon Sep 17 00:00:00 2001 From: Karl Lee <61072264+KarlLee830@users.noreply.github.com> Date: Mon, 10 Jun 2024 18:02:52 +0800 Subject: [PATCH] Update Chinese translation --- .../components/workspace/Models/Knowledge.svelte | 4 ++-- src/lib/i18n/locales/zh-CN/translation.json | 16 ++++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/lib/components/workspace/Models/Knowledge.svelte b/src/lib/components/workspace/Models/Knowledge.svelte index f853925cc..1a945a276 100644 --- a/src/lib/components/workspace/Models/Knowledge.svelte +++ b/src/lib/components/workspace/Models/Knowledge.svelte @@ -13,7 +13,7 @@
- To add documents here, upload them to the "Documents" workspace first. + {$i18n.t('To add documents here, upload them to the "Documents" workspace first.')}
@@ -97,7 +97,7 @@ {$i18n.t('Select Documents')}
diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index 3f13202be..4b059ec7e 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -74,7 +74,7 @@ "Bypass SSL verification for Websites": "绕过网站的 SSL 验证", "Call": "呼叫", "Call feature is not supported when using Web STT engine": "使用 Web 语音转文字引擎时不支持呼叫功能。", - "Camera": "", + "Camera": "摄像头", "Cancel": "取消", "Capabilities": "能力", "Change Password": "更改密码", @@ -246,6 +246,7 @@ "Hello, {{name}}": "你好,{{name}}", "Help": "帮助", "Hide": "隐藏", + "Hide Model": "隐藏模型", "How can I help you today?": "今天我能帮你做些什么?", "Hybrid Search": "混合搜索", "Image Generation (Experimental)": "图像生成(实验性)", @@ -273,7 +274,7 @@ "JWT Token": "JWT 令牌", "Keep Alive": "保持活动", "Keyboard shortcuts": "键盘快捷键", - "Knowledge": "", + "Knowledge": "知识库", "Language": "语言", "Last Active": "最后在线时间", "Light": "浅色", @@ -319,7 +320,7 @@ "Name your model": "为您的模型命名", "New Chat": "新对话", "New Password": "新密码", - "No documents found": "", + "No documents found": "未找到文档", "No results found": "未找到结果", "No search query generated": "未生成搜索查询", "No source available": "没有可用来源", @@ -416,8 +417,8 @@ "Search Documents": "搜索文档", "Search Models": "搜索模型", "Search Prompts": "搜索提示词", - "Search Query Generation Prompt": "", - "Search Query Generation Prompt Length Threshold": "", + "Search Query Generation Prompt": "搜索查询生成提示", + "Search Query Generation Prompt Length Threshold": "搜索查询生成提示长度阈值", "Search Result Count": "搜索结果数量", "Searched {{count}} sites_other": "检索到 {{count}} 个网站", "Searching the web for '{{searchQuery}}'": "在网络中搜索 '{{searchQuery}}' ", @@ -458,6 +459,7 @@ "Share to OpenWebUI Community": "分享到 OpenWebUI 社区", "short-summary": "简短总结", "Show": "显示", + "Show Model": "显示模型", "Show Admin Details in Account Pending Overlay": "在用户待激活界面中显示管理员邮箱等详细信息", "Show shortcuts": "显示快捷方式", "Showcased creativity": "很有创意", @@ -567,5 +569,7 @@ "You're now logged in.": "已登录。", "Your account status is currently pending activation.": "您的账号当前状态为待激活。", "Youtube": "YouTube", - "Youtube Loader Settings": "YouTube 爬取设置" + "Youtube Loader Settings": "YouTube 爬取设置", + "To add documents here, upload them to the \"Documents\" workspace first.": "要在此处添加文档,请先将它们上传到工作空间中的“文档”内。", + "Select Documents": "选择文档" }