From 8102bdbed1aa8a8591724f7db351342467cf83ee Mon Sep 17 00:00:00 2001
From: KarlLee830 <61072264+KarlLee830@users.noreply.github.com>
Date: Sun, 20 Oct 2024 16:12:27 +0800
Subject: [PATCH 1/2] i18n: Update Chinese translation
---
src/lib/i18n/locales/zh-CN/translation.json | 52 ++++++++++-----------
1 file changed, 26 insertions(+), 26 deletions(-)
diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json
index fefeef5bf..e9b359f11 100644
--- a/src/lib/i18n/locales/zh-CN/translation.json
+++ b/src/lib/i18n/locales/zh-CN/translation.json
@@ -42,7 +42,7 @@
"Admins have access to all tools at all times; users need tools assigned per model in the workspace.": "管理员拥有所有工具的访问权限;用户则需在工作空间中为每个模型单独分配工具。",
"Advanced Parameters": "高级参数",
"Advanced Params": "高级参数",
- "All chats": "",
+ "All chats": "所有对话",
"All Documents": "所有文档",
"All Users": "所有用户",
"Allow Chat Deletion": "允许删除对话记录",
@@ -96,7 +96,7 @@
"Cancel": "取消",
"Capabilities": "能力",
"Change Password": "更改密码",
- "Character": "",
+ "Character": "字符",
"Chat": "对话",
"Chat Background Image": "对话背景图片",
"Chat Bubble UI": "气泡样式对话",
@@ -125,7 +125,7 @@
"Clipboard write permission denied. Please check your browser settings to grant the necessary access.": "写入剪贴板时被拒绝。请检查浏览器设置,授予必要权限。",
"Clone": "复制",
"Close": "关闭",
- "Code execution": "",
+ "Code execution": "代码执行",
"Code formatted successfully": "代码格式化成功",
"Collection": "文件集",
"ComfyUI": "ComfyUI",
@@ -154,7 +154,7 @@
"Copy last code block": "复制最后一个代码块中的代码",
"Copy last response": "复制最后一次回复内容",
"Copy Link": "复制链接",
- "Copy to clipboard": "",
+ "Copy to clipboard": "复制到剪贴板",
"Copying to clipboard was successful!": "成功复制到剪贴板!",
"Create a model": "创建一个模型",
"Create Account": "创建账号",
@@ -186,7 +186,7 @@
"Delete chat": "删除对话记录",
"Delete Chat": "删除对话记录",
"Delete chat?": "删除对话记录?",
- "Delete folder?": "",
+ "Delete folder?": "删除文件夹?",
"Delete function?": "删除函数?",
"Delete prompt?": "删除提示词?",
"delete this link": "此处删除这个链接",
@@ -278,7 +278,7 @@
"Enter Your Password": "输入您的密码",
"Enter Your Role": "输入您的权限组",
"Error": "错误",
- "ERROR": "",
+ "ERROR": "错误",
"Experimental": "实验性",
"Export": "导出",
"Export All Chats (All Users)": "导出所有用户对话",
@@ -312,10 +312,10 @@
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "检测到指纹伪造:无法使用姓名缩写作为头像。默认使用默认个人形象。",
"Fluidly stream large external response chunks": "流畅地传输外部大型响应块数据",
"Focus chat input": "聚焦对话输入",
- "Folder deleted successfully": "",
- "Folder name cannot be empty": "",
- "Folder name cannot be empty.": "",
- "Folder name updated successfully": "",
+ "Folder deleted successfully": "文件夹删除成功",
+ "Folder name cannot be empty": "文件夹名称不能为空",
+ "Folder name cannot be empty.": "文件夹名称不能为空。",
+ "Folder name updated successfully": "文件夹名称更新成功。",
"Followed instructions perfectly": "完全按照指示执行",
"Form": "手动创建",
"Format your variables using square brackets like this:": "使用这样的方括号格式化你的变量:",
@@ -369,7 +369,7 @@
"Install from Github URL": "从 Github URL 安装",
"Instant Auto-Send After Voice Transcription": "语音转录文字后即时自动发送",
"Interface": "界面",
- "Invalid file format.": "",
+ "Invalid file format.": "无效文件格式。",
"Invalid Tag": "无效标签",
"January": "一月",
"join our Discord for help.": "加入我们的 Discord 寻求帮助。",
@@ -444,19 +444,19 @@
"Model(s) Whitelisted": "模型已加入白名单",
"Modelfile Content": "模型文件内容",
"Models": "模型",
- "more": "",
+ "more": "更多",
"More": "更多",
"Move to Top": "移动到顶部",
"Name": "名称",
"Name your model": "为您的模型命名",
"New Chat": "新对话",
- "New folder": "",
+ "New folder": "新文件夹",
"New Password": "新密码",
"No content found": "未发现内容",
"No content to speak": "没有内容可朗读",
- "No distance available": "",
+ "No distance available": "没有可用距离",
"No file selected": "未选中文件",
- "No files found.": "",
+ "No files found.": "未找到文件。",
"No HTML, CSS, or JavaScript content found.": "未找到 HTML、CSS 或 JavaScript 内容。",
"No knowledge found": "未找到知识",
"No results found": "未找到结果",
@@ -499,7 +499,7 @@
"OpenAI URL/Key required.": "需要 OpenAI URL/Key",
"or": "或",
"Other": "其他",
- "OUTPUT": "",
+ "OUTPUT": "输出",
"Output format": "输出格式",
"Overview": "概述",
"page": "页",
@@ -539,11 +539,11 @@
"Record voice": "录音",
"Redirecting you to OpenWebUI Community": "正在将您重定向到 OpenWebUI 社区",
"Refer to yourself as \"User\" (e.g., \"User is learning Spanish\")": "使用\"User\" (用户) 来指代自己(例如:“User 正在学习西班牙语”)",
- "References from": "",
+ "References from": "来自",
"Refused when it shouldn't have": "无理拒绝",
"Regenerate": "重新生成",
"Release Notes": "更新日志",
- "Relevance": "",
+ "Relevance": "相关性",
"Remove": "移除",
"Remove Model": "移除模型",
"Rename": "重命名",
@@ -554,7 +554,7 @@
"Reranking model set to \"{{reranking_model}}\"": "重排模型设置为 \"{{reranking_model}}\"",
"Reset": "重置",
"Reset Upload Directory": "重置上传目录",
- "Reset Vector Storage/Knowledge": "",
+ "Reset Vector Storage/Knowledge": "重置向量存储/知识",
"Response AutoCopy to Clipboard": "自动复制回复到剪贴板",
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "无法激活回复时发送通知。请检查浏览器设置,并授予必要的访问权限。",
"Response splitting": "拆分回复",
@@ -577,7 +577,7 @@
"Search a model": "搜索模型",
"Search Chats": "搜索对话",
"Search Collection": "搜索文件集",
- "search for tags": "",
+ "search for tags": "搜索标签",
"Search Functions": "搜索函数",
"Search Knowledge": "搜索知识",
"Search Models": "搜索模型",
@@ -608,7 +608,7 @@
"Select model": "选择模型",
"Select only one model to call": "请仅选择一个模型来呼叫",
"Selected model(s) do not support image inputs": "已选择的模型不支持发送图像",
- "Semantic distance to query": "",
+ "Semantic distance to query": "语义距离查询",
"Send": "发送",
"Send a Message": "输入消息",
"Send message": "发送消息",
@@ -651,7 +651,7 @@
"Speech Playback Speed": "语音播放速度",
"Speech recognition error: {{error}}": "语音识别错误:{{error}}",
"Speech-to-Text Engine": "语音转文本引擎",
- "Stop": "",
+ "Stop": "停止",
"Stop Sequence": "停止序列 (Stop Sequence)",
"Stream Chat Response": "以流式返回对话响应",
"STT Model": "语音转文本模型",
@@ -674,7 +674,7 @@
"Template": "模板",
"Temporary Chat": "临时对话",
"Text Completion": "文本完成",
- "Text Splitter": "",
+ "Text Splitter": "文本分切器",
"Text-to-Speech Engine": "文本转语音引擎",
"Tfs Z": "Tfs Z",
"Thanks for your feedback!": "感谢您的反馈!",
@@ -689,12 +689,12 @@
"This is an experimental feature, it may not function as expected and is subject to change at any time.": "这是一个实验功能,可能不会如预期那样工作,而且可能随时发生变化。",
"This option will delete all existing files in the collection and replace them with newly uploaded files.": "此选项将会删除文件集中所有文件,并用新上传的文件替换。",
"This will delete": "这将删除",
- "This will delete {{NAME}} and all its contents.": "",
+ "This will delete {{NAME}} and all its contents.": "这将删除{{NAME}}及其所有内容。",
"This will reset the knowledge base and sync all files. Do you wish to continue?": "这将重置知识库并同步所有文件。确认继续吗?",
"Thorough explanation": "解释较为详细",
"Tika": "Tika",
"Tika Server URL required.": "请输入 Tika 服务器地址。",
- "Tiktoken": "",
+ "Tiktoken": "Tiktoken",
"Tip: Update multiple variable slots consecutively by pressing the tab key in the chat input after each replacement.": "提示:在每次替换后,在对话输入中按 Tab 键可以连续更新多个变量。",
"Title": "标题",
"Title (e.g. Tell me a fun fact)": "标题(例如 给我讲一个有趣的事实)",
@@ -712,7 +712,7 @@
"Today": "今天",
"Toggle settings": "切换设置",
"Toggle sidebar": "切换侧边栏",
- "Token": "",
+ "Token": "Token",
"Tokens To Keep On Context Refresh (num_keep)": "在语境刷新时需保留的 Tokens",
"Tool created successfully": "工具创建成功",
"Tool deleted successfully": "工具删除成功",
From a850a60a2316e2ef2ff0be2228963033c3837171 Mon Sep 17 00:00:00 2001
From: KarlLee830 <61072264+KarlLee830@users.noreply.github.com>
Date: Sun, 20 Oct 2024 16:14:15 +0800
Subject: [PATCH 2/2] i18n: Update Chinese translation
---
src/lib/i18n/locales/zh-CN/translation.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json
index e9b359f11..0d84905e2 100644
--- a/src/lib/i18n/locales/zh-CN/translation.json
+++ b/src/lib/i18n/locales/zh-CN/translation.json
@@ -186,7 +186,7 @@
"Delete chat": "删除对话记录",
"Delete Chat": "删除对话记录",
"Delete chat?": "删除对话记录?",
- "Delete folder?": "删除文件夹?",
+ "Delete folder?": "删除分组?",
"Delete function?": "删除函数?",
"Delete prompt?": "删除提示词?",
"delete this link": "此处删除这个链接",
@@ -312,10 +312,10 @@
"Fingerprint spoofing detected: Unable to use initials as avatar. Defaulting to default profile image.": "检测到指纹伪造:无法使用姓名缩写作为头像。默认使用默认个人形象。",
"Fluidly stream large external response chunks": "流畅地传输外部大型响应块数据",
"Focus chat input": "聚焦对话输入",
- "Folder deleted successfully": "文件夹删除成功",
- "Folder name cannot be empty": "文件夹名称不能为空",
- "Folder name cannot be empty.": "文件夹名称不能为空。",
- "Folder name updated successfully": "文件夹名称更新成功。",
+ "Folder deleted successfully": "分组删除成功",
+ "Folder name cannot be empty": "分组名称不能为空",
+ "Folder name cannot be empty.": "分组名称不能为空。",
+ "Folder name updated successfully": "分组名称更新成功。",
"Followed instructions perfectly": "完全按照指示执行",
"Form": "手动创建",
"Format your variables using square brackets like this:": "使用这样的方括号格式化你的变量:",
@@ -450,7 +450,7 @@
"Name": "名称",
"Name your model": "为您的模型命名",
"New Chat": "新对话",
- "New folder": "新文件夹",
+ "New folder": "新建分组",
"New Password": "新密码",
"No content found": "未发现内容",
"No content to speak": "没有内容可朗读",