From 246c839ee66c50dd14215fe0b7bb88cd54f8d68d Mon Sep 17 00:00:00 2001 From: Panda Date: Sun, 6 Apr 2025 16:42:09 +0200 Subject: [PATCH 1/2] i18n: zh-cn --- src/lib/i18n/locales/zh-CN/translation.json | 44 ++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index 7411f7626..aef3d609f 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -6,7 +6,7 @@ "(latest)": "(最新版)", "(Ollama)": "(Ollama)", "{{ models }}": "{{ models }}", - "{{COUNT}} Available Tools": "", + "{{COUNT}} Available Tools": "{{COUNT}} 个可用工具", "{{COUNT}} hidden lines": "{{COUNT}} 行被隐藏", "{{COUNT}} Replies": "{{COUNT}} 回复", "{{user}}'s Chats": "{{user}} 的对话记录", @@ -108,7 +108,7 @@ "Attribute for Username": "用户名属性", "Audio": "语音", "August": "八月", - "Auth": "", + "Auth": "Auth", "Authenticate": "认证", "Authentication": "身份验证", "Auto-Copy Response to Clipboard": "自动复制回复到剪贴板", @@ -120,7 +120,7 @@ "AUTOMATIC1111 Base URL": "AUTOMATIC1111 基础地址", "AUTOMATIC1111 Base URL is required.": "需要 AUTOMATIC1111 基础地址。", "Available list": "可用列表", - "Available Tools": "", + "Available Tools": "可用工具", "available!": "版本可用!", "Awful": "糟糕", "Azure AI Speech": "Azure AI 语音", @@ -219,10 +219,10 @@ "Confirm your new password": "确认新密码", "Connect to your own OpenAI compatible API endpoints.": "连接到你自己的与 OpenAI 兼容的 API 接口端点。", "Connect to your own OpenAPI compatible external tool servers.": "连接到您自己的兼容 OpenAPI 的外部工具服务器。", - "Connection failed": "", - "Connection successful": "", + "Connection failed": "连接失败", + "Connection successful": "连接成功", "Connections": "外部连接", - "Connections saved successfully": "", + "Connections saved successfully": "连接保存成功", "Constrains effort on reasoning for reasoning models. Only applicable to reasoning models from specific providers that support reasoning effort.": "约束推理模型的推理努力程度。仅适用于支持推理努力控制的特定提供商的推理模型。", "Contact Admin for WebUI Access": "请联系管理员以获取访问权限", "Content": "内容", @@ -307,7 +307,7 @@ "Direct Connections": "直接连接", "Direct Connections allow users to connect to their own OpenAI compatible API endpoints.": "直接连接功能允许用户连接至其自有的、兼容 OpenAI 的 API 端点。", "Direct Connections settings updated": "直接连接设置已更新", - "Direct Tool Servers": "", + "Direct Tool Servers": "直接连接工具服务器", "Disabled": "禁用", "Discover a function": "发现更多函数", "Discover a model": "发现更多模型", @@ -417,7 +417,7 @@ "Enter Kagi Search API Key": "输入 Kagi Search API 密钥", "Enter Key Behavior": "Enter 键行为", "Enter language codes": "输入语言代码", - "Enter Mistral API Key": "", + "Enter Mistral API Key": "输入 Mistral API 密钥", "Enter Model ID": "输入模型 ID", "Enter model tag (e.g. {{modelTag}})": "输入模型标签 (例如:{{modelTag}})", "Enter Mojeek Search API Key": "输入 Mojeek Search API 密钥", @@ -442,7 +442,7 @@ "Enter server port": "输入服务器端口", "Enter stop sequence": "输入停止序列 (Stop Sequence)", "Enter system prompt": "输入系统提示词 (Prompt)", - "Enter system prompt here": "", + "Enter system prompt here": "在这里输入系统提示词 (Prompt)", "Enter Tavily API Key": "输入 Tavily API 密钥", "Enter the public URL of your WebUI. This URL will be used to generate links in the notifications.": "输入 WebUI 的公共 URL。此 URL 将用于在通知中生成链接。", "Enter Tika Server URL": "输入 Tika 服务器地址", @@ -456,7 +456,7 @@ "Enter Your Email": "输入您的电子邮箱", "Enter Your Full Name": "输入您的名称", "Enter your message": "输入您的消息", - "Enter your name": "", + "Enter your name": "输入您的名称", "Enter your new password": "输入新的密码", "Enter Your Password": "输入您的密码", "Enter Your Role": "输入您的权限组", @@ -476,7 +476,7 @@ "Exceeded the number of seats in your license. Please contact support to increase the number of seats.": "已达到最大授权人数,请联系支持人员提升授权人数。", "Exclude": "排除", "Execute code for analysis": "执行代码进行分析", - "Executing **{{NAME}}**...": "", + "Executing **{{NAME}}**...": "正在执行 **{{NAME}}**...", "Expand": "展开", "Experimental": "实验性", "Explain": "解释", @@ -501,7 +501,7 @@ "Failed to create API Key.": "无法创建 API 密钥。", "Failed to fetch models": "无法获取模型", "Failed to read clipboard contents": "无法读取剪贴板内容", - "Failed to save connections": "", + "Failed to save connections": "无法保存连接", "Failed to save models configuration": "无法保存模型配置", "Failed to update settings": "无法更新设置", "Failed to upload file.": "上传文件失败", @@ -534,7 +534,7 @@ "Forge new paths": "开拓新道路", "Form": "手动创建", "Format your variables using brackets like this:": "使用括号格式化你的变量,如下所示:", - "Forwards system user session credentials to authenticate": "", + "Forwards system user session credentials to authenticate": "转发系统用户会话凭证以进行身份​​验证", "Frequency Penalty": "频率惩罚", "Full Context Mode": "完整上下文模式", "Function": "函数", @@ -704,8 +704,8 @@ "Mirostat": "Mirostat", "Mirostat Eta": "Mirostat Eta", "Mirostat Tau": "Mirostat Tau", - "Mistral OCR": "", - "Mistral OCR API Key required.": "", + "Mistral OCR": "Mistral OCR", + "Mistral OCR API Key required.": "需要 Mistral OCR API 密钥。", "Model": "模型", "Model '{{modelName}}' has been successfully downloaded.": "模型'{{modelName}}'已成功下载。", "Model '{{modelTag}}' is already in queue for downloading.": "模型'{{modelTag}}'已在下载队列中。", @@ -801,7 +801,7 @@ "OpenAI API Key is required.": "需要 OpenAI API 密钥。", "OpenAI API settings updated": "OpenAI API 设置已更新", "OpenAI URL/Key required.": "需要 OpenAI URL/Key", - "openapi.json Path": "", + "openapi.json Path": "openapi.json 路径", "or": "或", "Organize your users": "组织用户", "Other": "其他", @@ -833,8 +833,8 @@ "Please carefully review the following warnings:": "请仔细阅读以下警告信息:", "Please do not close the settings page while loading the model.": "加载模型时请不要关闭设置页面。", "Please enter a prompt": "请输入一个 Prompt", - "Please enter a valid path": "", - "Please enter a valid URL": "", + "Please enter a valid path": "请输入有效路径", + "Please enter a valid URL": "请输入有效 URL", "Please fill in all fields.": "请填写所有字段。", "Please select a model first.": "请先选择一个模型。", "Please select a model.": "请选择一个模型。", @@ -1057,7 +1057,7 @@ "Thinking...": "正在思考...", "This action cannot be undone. Do you wish to continue?": "此操作无法撤销。是否确认继续?", "This channel was created on {{createdAt}}. This is the very beginning of the {{channelName}} channel.": "此频道创建于{{createdAt}},这里是{{channelName}}频道的开始", - "This chat won’t appear in history and your messages will not be saved.": "", + "This chat won’t appear in history and your messages will not be saved.": "此聊天不会出现在历史记录中,且您的消息不会被保存。", "This ensures that your valuable conversations are securely saved to your backend database. Thank you!": "这将确保您的宝贵对话被安全地保存到后台数据库中。感谢!", "This is an experimental feature, it may not function as expected and is subject to change at any time.": "这是一个实验功能,可能不会如预期那样工作,而且可能随时发生变化。", "This option controls how many tokens are preserved when refreshing the context. For example, if set to 2, the last 2 tokens of the conversation context will be retained. Preserving context can help maintain the continuity of a conversation, but it may reduce the ability to respond to new topics.": "此选项控制刷新上下文时保留多少 Token。例如,如果设置为 2,则将保留对话上下文的最后 2 个 Token。保留上下文有助于保持对话的连续性,但可能会降低响应新主题的能力。", @@ -1105,7 +1105,7 @@ "Tool ID": "工具 ID", "Tool imported successfully": "工具导入成功", "Tool Name": "工具名称", - "Tool Servers": "", + "Tool Servers": "工具服务器", "Tool updated successfully": "工具更新成功", "Tools": "工具", "Tools Access": "访问工具", @@ -1175,7 +1175,7 @@ "Version": "版本", "Version {{selectedVersion}} of {{totalVersions}}": "版本 {{selectedVersion}}/{{totalVersions}}", "View Replies": "查看回复", - "View Result from **{{NAME}}**": "", + "View Result from **{{NAME}}**": "查看来自 **{{NAME}}** 的结果", "Visibility": "可见性", "Voice": "语音", "Voice Input": "语音输入", @@ -1193,7 +1193,7 @@ "Webhook URL": "Webhook URL", "WebUI Settings": "WebUI 设置", "WebUI URL": "WebUI URL", - "WebUI will make requests to \"{{url}}\"": "", + "WebUI will make requests to \"{{url}}\"": "WebUI 将向 \"{{url}}\" 发出请求", "WebUI will make requests to \"{{url}}/api/chat\"": "WebUI 将向 \"{{url}}/api/chat\" 发出请求", "WebUI will make requests to \"{{url}}/chat/completions\"": "WebUI 将向 \"{{url}}/chat/completions\" 发出请求", "What are you trying to achieve?": "你想要达到什么目标?", From 60c6e00d9f2b67676b78a80eabff6e031b0a4c99 Mon Sep 17 00:00:00 2001 From: Panda Date: Sun, 6 Apr 2025 16:47:06 +0200 Subject: [PATCH 2/2] i18n: fix --- src/lib/i18n/locales/zh-CN/translation.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index aef3d609f..45b1b6e34 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -108,7 +108,7 @@ "Attribute for Username": "用户名属性", "Audio": "语音", "August": "八月", - "Auth": "Auth", + "Auth": "授权", "Authenticate": "认证", "Authentication": "身份验证", "Auto-Copy Response to Clipboard": "自动复制回复到剪贴板", @@ -534,7 +534,7 @@ "Forge new paths": "开拓新道路", "Form": "手动创建", "Format your variables using brackets like this:": "使用括号格式化你的变量,如下所示:", - "Forwards system user session credentials to authenticate": "转发系统用户会话凭证以进行身份​​验证", + "Forwards system user session credentials to authenticate": "转发系统用户 session 凭证以进行身份​​验证", "Frequency Penalty": "频率惩罚", "Full Context Mode": "完整上下文模式", "Function": "函数",