From 0a89d9ca6fa4e39785a830c7aa8c2365f5c7f65a Mon Sep 17 00:00:00 2001 From: Sevenyine <65720409+Sevenyine@users.noreply.github.com> Date: Sun, 2 Mar 2025 15:28:46 +0800 Subject: [PATCH] zh-CN translation --- public/index.html | 8 +-- public/locales/zh-cn.json | 130 ++++++++++++++++++++++++++++---------- 2 files changed, 100 insertions(+), 38 deletions(-) diff --git a/public/index.html b/public/index.html index bfe873f85..ee6b73a43 100644 --- a/public/index.html +++ b/public/index.html @@ -3337,7 +3337,7 @@
- Doesn't work? Try adding /v1 at the end of the URL! + Doesn't work? Try adding /v1 at the end!

@@ -4207,7 +4207,7 @@
- Avatars: + Avatars:
- +
diff --git a/public/locales/zh-cn.json b/public/locales/zh-cn.json index 4fd30fe6b..b7b71fa04 100644 --- a/public/locales/zh-cn.json +++ b/public/locales/zh-cn.json @@ -203,6 +203,7 @@ "Ignore EOS Token": "忽略序列结束词符", "Ignore the EOS Token even if it generates.": "即使生成了序列结束词符,也忽略它。", "Skip Special Tokens": "跳过特殊词符", + "Request Model Reasoning": "Request Model Reasoning", "Temperature Last": "温度放最后", "Temperature_Last_desc": "温度采样器放到最后使用。这通常是合理的。\n当启用时:首先进行潜在词符的选择,然后应用温度来修正它们的相对概率(技术上是对数似然)。\n当禁用时:首先应用温度来修正所有词符的相对概率,然后从中选择潜在词符。\n禁用此项可以增大分布在尾部的词符概率,这可能加大得到不相关回复的几率。", "Speculative Ngram": "推测性 Ngram", @@ -210,7 +211,9 @@ "Spaces Between Special Tokens": "特殊词符之间的空格", "Seed_desc": "一个用于生成确定性和可复现的输出的随机种子。设置为 -1 时会使用随机种子。", "LLaMA / Mistral / Yi models only": "LLaMA / Mistral / Yi模型专用。首先确保您选择了适当的词符化器。\n这项设置决定了你不想在结果中看到的字符串。\n每行一个字符串。可以是文本或者[词符id]。\n许多词符以空格开头。如果不确定,请使用词符计数器。", + "Global list": "Global list", "Example: some text [42, 69, 1337]": "例如:\n一些文本\n[42, 69, 1337]", + "Preset-specific list": "Preset-specific list", "CFG": "CFG", "Classifier Free Guidance. More helpful tip coming soon": "无分类器指导(CFG)。更多有用的提示敬请期待。", "Scale": "缩放比例", @@ -255,11 +258,11 @@ "enable_functions_desc_1": "允许使用", "enable_functions_desc_2": "功能工具", "enable_functions_desc_3": "可以被各种扩展利用来提供附加功能。", - "Send inline images": "发送内联图像", - "image_inlining_hint_1": "如果模型支持,则在提示词中发送图像(例如 GPT-4V、Claude 3 或 Llava 13B)。\n对任何消息使用", - "image_inlining_hint_2": "或", - "image_inlining_hint_3": "菜单将图像文件附加到聊天中。", - "Inline Image Quality": "内联图像质量", + "Send inline images": "发送图片", + "image_inlining_hint_1": "如果模型支持,就可以在提示词中发送图片(例如 GPT-4V、Claude 3 或 Llava 13B)。\n发送消息时,点击", + "image_inlining_hint_2": "在这里(", + "image_inlining_hint_3": ")将图片添加到消息中。", + "Inline Image Quality": "图片画质", "openai_inline_image_quality_auto": "自动", "openai_inline_image_quality_low": "低", "openai_inline_image_quality_high": "高", @@ -268,6 +271,11 @@ "Merges_all_system_messages_desc_2": "字段发送。", "Request model reasoning": "请求思维链", "Allows the model to return its thinking process.": "允许模型返回其思维过程。", + "Constrains effort on reasoning for reasoning models.": "限定模型推理的强度。\n当前支持低、中、高三种强度。\n降低推理强度可以让模型更快回复,并节省推理所用的词符数。。", + "Reasoning Effort": "推理强度", + "openai_reasoning_effort_low": "低", + "openai_reasoning_effort_medium": "中", + "openai_reasoning_effort_high": "高", "Assistant Prefill": "AI预填", "Expand the editor": "展开编辑器", "Start Claude's answer with...": "以如下内容开始Claude的回答...", @@ -328,7 +336,8 @@ "Click Authorize below or get the key from": "点击下方授权或从以下位置获取密钥", "View Remaining Credits": "查看剩余额度", "OpenRouter Model": "OpenRouter 模型", - "Model Providers": "模型提供者", + "Model Providers": "模型提供商", + "Automatically chooses an alternative provider if chosen providers can't serve your request.": "在当前选择的模型提供商无效时,自动选择备用的提供商。", "Allow fallback providers": "允许后备提供者", "InfermaticAI API Key": "InfermaticAI API 密钥", "InfermaticAI Model": "InfermaticAI 模型", @@ -374,7 +383,7 @@ "Use an admin API key.": "使用管理员API密钥。", "koboldcpp API key (optional)": "koboldcpp API 密钥(可选)", "Example: 127.0.0.1:5001": "示例:127.0.0.1:5001", - "Bypass status check": "绕过状态检查", + "Bypass status check": "跳过状态检查", "Derive context size from backend": "从后端获取上下文长度", "Authorize": "授权", "Get your OpenRouter API token using OAuth flow. You will be redirected to openrouter.ai": "使用OAuth流程获取您的OpenRouter API令牌。您将被重定向到openrouter.ai", @@ -389,8 +398,8 @@ "This will show up as your saved preset.": "这将显示为您保存的预设。", "Proxy Server URL": "代理服务器 URL", "Alternative server URL (leave empty to use the default value).": "备用服务器 URL(留空以使用默认值)。", - "Doesn't work? Try adding": "不起作用?尝试添加", - "at the end!": "!", + "Doesn't work? Try adding": "不起作用?在末尾添加", + "at the end!": "试试!", "Proxy Password": "代理密码", "Will be used as a password for the proxy instead of API key.": "将用作代理的密码,而不是 API 密钥。", "Peek a password": "查看密码", @@ -411,6 +420,7 @@ "Anthropic's developer console": "Anthropic 开发者控制台", "Claude Model": "Claude 模型", "Window AI Model": "Window AI 模型", + "Use extension settings": "使用扩展程序中的设定", "Allow fallback routes Description": "如果所选模型无法响应您的请求,则自动选择备用模型。", "Allow fallback models": "允许后备模型", "Model Order": "OpenRouter 模型顺序", @@ -419,6 +429,7 @@ "Context Size": "上下文长度", "Group by vendors": "按厂商分组", "Group by vendors Description": "将 OpenAI 模型放在一组,将 Anthropic 模型放在另一组,等等。可以与排序结合。", + "To use instruct formatting, switch to OpenRouter under Text Completion API.": "To use instruct formatting, switch to OpenRouter under Text Completion API.", "Scale API Key": "Scale API密钥", "Clear your cookie": "清除你的 Cookie", "Alt Method": "备用方法", @@ -442,7 +453,6 @@ "Select a Model": "选择一个模型", "Custom Endpoint (Base URL)": "自定义端点(基础 URL)", "Example: http://localhost:1234/v1": "例如:http://localhost:1234/v1", - "at the end of the URL!": "到 URL 的末尾!", "Custom API Key": "自定义 API 密钥", "(Optional)": "(可选)", "Enter a Model ID": "输入模型名", @@ -466,9 +476,9 @@ "AI Response Formatting": "AI回复格式化", "Advanced Formatting": "高级格式化设置", "Import Advanced Formatting settings": "导入高级格式化设置\n\n对于指导和上下文模板,你也可以提供旧版文件。", - "Master Import": "Master Import", + "Master Import": "全局导入", "Export Advanced Formatting settings": "导出高级格式化设置", - "Master Export": "Master Export", + "Master Export": "全局导出", "Context Template": "上下文模板", "context_derived": "若可能,从模型的元数据获取。", "Select your current Context Template": "选择你当前的上下文模板", @@ -561,6 +571,24 @@ "JSON serialized array of strings": "JSON序列化的字符串数组", "Replace Macro in Stop Strings": "替换自定义停止字符串中的宏", "Token Padding": "词符填充", + "Reasoning": "Reasoning", + "reasoning_auto_parse": "Automatically parse reasoning blocks from main content between the reasoning prefix/suffix. Both fields must be defined and non-empty.", + "Auto-Parse": "Auto-Parse", + "reasoning_auto_expand": "Automatically expand reasoning blocks.", + "Auto-Expand": "Auto-Expand", + "reasoning_show_hidden": "Show reasoning time for models with hidden reasoning.", + "Show Hidden": "Show Hidden", + "reasoning_add_to_prompts": "Add existing reasoning blocks to prompts. To add a new reasoning block, use the message edit menu.", + "Add to Prompts": "Add to Prompts", + "reasoning_max_additions": "Maximum number of reasoning blocks to be added per prompt, counting from the last message.", + "Max": "Max", + "Reasoning Formatting": "Reasoning Formatting", + "reasoning_prefix": "Inserted before the reasoning content.", + "Prefix": "Prefix", + "reasoning_suffix": "Inserted after the reasoning content.", + "Suffix": "Suffix", + "reasoning_separator": "Inserted between the reasoning and the message content.", + "Separator": "Separator", "Miscellaneous": "杂项", "Non-markdown strings": "非 Markdown 字符串", "comma delimited,no spaces between": "以逗号分隔,无需空格", @@ -639,7 +667,7 @@ "Delete a theme": "删除主题", "Update a theme file": "更新主题文件", "Save as a new theme": "另存为新主题", - "Avatar Style": "头像样式", + "Avatar Style:": "头像样式:", "Circle": "圆形", "Square": "正方形", "Rectangle": "矩形", @@ -713,9 +741,9 @@ "Defines on importing cards which action should be chosen for importing its listed tags. 'Ask' will always display the dialog.": "定义在导入卡片时应选择哪种操作来导入其列出的标签。“询问”将始终显示对话框。", "Import Card Tags": "导入卡片标签", "Ask": "询问", - "tag_import_none": "无", - "tag_import_all": "全部", - "Existing": "现存的", + "tag_import_none": "不导入", + "tag_import_all": "导入全部", + "tag_import_existing": "仅导入现有的", "Use fuzzy matching, and search characters in the list by all data fields, not just by a name substring": "使用模糊匹配,在列表中通过所有数据字段搜索角色,而不仅仅是名称子字符串", "Advanced Character Search": "高级角色搜索", "If checked and the character card contains a prompt override (System Prompt), use that instead": "开启后,如果角色卡已包含系统提示词,则覆盖当前的系统提示词。", @@ -751,7 +779,7 @@ "Restore User Input": "恢复用户输入", "Allow repositioning certain UI elements by dragging them. PC only, no effect on mobile": "允许通过拖动重新定位某些UI元素。仅适用于PC,对移动设备无影响", "Movable UI Panels": "可移动 UI 面板", - "Reset MovingUI panel sizes/locations.": "重置 MovingUI 面板大小/位置。", + "Reset MovingUI panel sizes/locations.": "重置 可移动UI 面板大小/位置。", "mui_reset": "Reset", "MovingUI preset. Predefined/saved draggable positions": "可移动UI预设。预定义/保存的可拖动位置", "MUI Preset": "可移动 UI 预设", @@ -759,7 +787,7 @@ "Apply a custom CSS style to all of the ST GUI": "将自定义CSS样式应用于所有ST GUI", "Custom CSS": "自定义 CSS", "Chat/Message Handling": "聊天/消息处理", - "# Messages to Load": "# 要加载的消息", + "# Messages to Load": "要加载 # 条消息", "The number of chat history messages to load before pagination.": "分页前要加载的聊天历史消息数。", "(0 = All)": "(“0”为全部)", "Streaming FPS": "流式传输帧速率", @@ -809,6 +837,7 @@ "words you dont want generated separated by comma ','": "不想生成的词语,用半角逗号“,”分隔", "Blacklisted word count to swipe": "触发滑动的黑名单词语数量", "Minimum number of blacklisted words detected to trigger an auto-swipe": "触发自动滑动刷新回复所需检测到的最少违禁词数量。", + "Automatically 'continue' a response if the model stopped before reaching a certain amount of tokens.": "当回复没有达到特定词符数时,自动让模型“继续”这个回复。", "Auto-Continue": "自动继续", "Allow for Chat Completion APIs": "允许使用聊天补全API", "Target length (tokens)": "目标长度(以词符数计)", @@ -843,12 +872,12 @@ "Change Background Image": "更改背景图片", "Background Image": "背景图片", "Filter": "搜索", - "Background Fitting": "Background Fitting", - "Classic": "Classic", - "Cover": "Cover", - "Contain": "Contain", - "Stretch": "Stretch", - "Center": "Center", + "Background Fitting": "背景图片尺寸", + "Classic": "经典", + "Cover": "填充", + "Contain": "不变换", + "Stretch": "拉伸", + "Center": "居中", "Automatically select a background based on the chat context": "根据聊天上下文自动选择背景", "Auto-select": "自动选择", "System Backgrounds": "系统背景", @@ -930,6 +959,7 @@ "Search / Create Tags": "搜索/创建标签", "View all tags": "查看所有标签", "Creator's Notes": "创作者的注释", + "Character details are hidden.": "角色详情已隐藏。", "Show / Hide Description and First Message": "显示/隐藏描述和第一条消息", "Character Description": "角色描述", "Click to allow/forbid the use of external media for this character.": "单击以允许/禁止此角色使用外部媒体。", @@ -1054,6 +1084,7 @@ "Drag to reorder tag": "拖动以排序", "Use tag as folder": "标记为文件夹", "Delete tag": "删除标签", + "Toggle entry's active state.": "切换条目激活状态。", "Entry Title/Memo": "条目标题/备忘录", "WI Entry Status:🔵 Constant🟢 Normal🔗 Vectorized": "世界书条目状态:\r🔵 永久\r🟢 关键词\r🔗 向量化", "WI_Entry_Status_Constant": "永久", @@ -1072,7 +1103,7 @@ "Depth": "深度", "Order:": "顺序:", "Order": "顺序", - "Trigger %:": "触发 %:", + "Trigger %:": "触发 %:", "Duplicate world info entry": "重复的世界信息条目", "Delete world info entry": "删除世界信息条目", "Comma separated (required)": "逗号分隔(必填)", @@ -1154,7 +1185,7 @@ "Message Actions": "消息操作", "Translate message": "翻译消息", "Generate Image": "生成图片", - "Narrate": "叙述", + "Narrate": "朗读", "Exclude message from prompts": "从提示词中排除消息", "Include message in prompts": "将消息包含在提示词中", "Embed file or image": "嵌入文件或图像", @@ -1165,9 +1196,16 @@ "Edit": "编辑", "Confirm": "确认", "Copy this message": "复制此消息", + "Add a reasoning block": "Add a reasoning block", "Delete this message": "删除此消息", "Move message up": "将消息上移", "Move message down": "将消息下移", + "Thought for some time": "思考了一会", + "Confirmedit": "Confirm", + "Remove reasoning": "删除推理内容", + "Cancel edit": "Cancel edit", + "Copy reasoning": "复制推理内容", + "Edit reasoning": "编辑推理内容", "Enlarge": "放大", "Caption": "标题", "Swipe left": "Swipe left", @@ -1266,6 +1304,10 @@ "Regenerate": "重新生成", "Impersonate": "AI 帮答", "Continue": "继续", + "extension_install_1": "若想从此页安装扩展程序,你需要提前安装", + "extension_install_2": "。", + "extension_install_3": "点这个图标(", + "extension_install_4": ")前往扩展程序的代码仓库以了解如何使用它。", "These characters are the winners of character design contests and have outstandable quality.": "这些角色都是角色设计大赛的获奖者,品质非常出色。", "Contest Winners": "比赛获胜者", "These characters are the finalists of character design contests and have remarkable quality.": "这些角色都是角色设计大赛的入围作品,品质十分出色。", @@ -1334,9 +1376,11 @@ "macro)": "宏指令)", "Automatically caption images": "自动为图像添加标题", "Edit captions before saving": "保存前编辑标题", + "Included settings:": "包含的设置:", + "{{@key}}": "{{@key}}:", "Profile name:": "配置名称:", "Creating a Connection Profile": "新建API连接配置", - "{{@key}}": "{{@key}}:", + "Click on the setting name to omit it from the profile.": "点击设置名称以将其从连接配置中删除。", "Enter a name:": "输入名字:", "Connection Profile": "API连接配置", "View connection profile details": "查看API连接配置详情", @@ -1345,13 +1389,17 @@ "Edit a connection profile": "编辑API连接配置", "Reload a connection profile": "重载API连接配置", "Delete a connection profile": "删除API连接配置", - "Omitted Settings:": "Omitted Settings:", + "Omitted Settings:": "排除的设置:", "Character Expressions": "角色表情", + "Use the selected API from Chat Translation extension settings.": "使用聊天翻译扩展程序中已选择的API。", "Translate text to English before classification": "分类之前将文本翻译成英文", - "Show default images (emojis) if sprite missing": "如果表情包缺失,则显示默认图像(表情符号)", + "A single expression can have multiple sprites. Whenever the expression is chosen, a random sprite for this expression will be selected.": "A single expression can have multiple sprites. Whenever the expression is chosen, a random sprite for this expression will be selected.", + "Allow multiple sprites per expression": "Allow multiple sprites per expression", + "If the same expression is used again, re-roll the sprite. This only applies to expressions that have multiple available sprites assigned.": "If the same expression is used again, re-roll the sprite. This only applies to expressions that have multiple available sprites assigned.", + "Re-roll if same expression is used again": "Re-roll if same sprite is used again", "Classifier API": "分类器 API", "Select the API for classifying expressions.": "选择用于对表达式进行分类的API。", - "Main API": "主要 API", + "Main API": "当前连接的 API", "WebLLM Extension": "WebLLM Extension", "LLM Prompt": "大语言模型提示词", "Will be used if the API doesn't support JSON schemas or function calling.": "如果 API 不支持 JSON 模式或函数调用,则会使用它。", @@ -1371,6 +1419,10 @@ "Put images with expressions there. File names should follow the pattern:": "将带有表情的图像放在那里。文件名应遵循以下模式:", "expression_label_pattern": "[表达式标签].[图像格式]", "Sprite set:": "表情集:", + "upload_expression_request": "请输入表情名称(不用加后缀)。", + "upload_expression_naming_1": "素材名称必须符合所选表情 {{expression}} 的命名规范", + "upload_expression_naming_2": "当存在多个表情时,名称应由表情名称与合法后缀构成,允许使用横杠'-'或英文句号'.'作为分隔符。", + "upload_expression_replace": "点击“替换”以替换当前表情:", "Show Gallery": "展示图库", "ext_sum_title": "总结", "ext_sum_with": "总结如下:", @@ -1493,6 +1545,7 @@ "ext_regex_slash_desc": "通过 STscript 命令发送的消息。", "Slash Commands": "快捷命令", "ext_regex_wi_desc": "知识书/世界书 条目的内容。需要勾选“仅格式提示词”!", + "ext_regex_reasoning_desc": "推理块内容。当'仅格式提示词'被选中时,它会影响提示词里的推理内容。", "ext_regex_min_depth_desc": "当应用于提示或显示时,仅影响深度至少为 N 级的消息。“0”为最后一条消息,“1”为倒数第二条消息等。仅计算 WI 条目 @Depth 和可用消息,即非隐藏或系统消息。", "Min Depth": "最小深度", "ext_regex_min_depth_placeholder": "无限", @@ -1620,6 +1673,13 @@ "Interactive Mode": "交互模式", "Function Tool": "Function Tool", "Image Prompt Templates": "图像提示模板", + "Token Counter": "词符计数器", + "Type / paste in the box below to see the number of tokens in the text.": "在下方框中输入或粘贴你想要统计词符数量的文本。", + "Selected tokenizer:": "已选分词器:", + "Input:": "输入:", + "Tokens:": "词符:", + "Tokenized text:": "词符化文本:", + "Token IDs:": "词符ID:", "ext_translate_btn_chat": "翻译聊天", "ext_translate_btn_input": "翻译输入", "ext_translate_delete_confirm_1": "你确定吗?", @@ -1639,11 +1699,12 @@ "Auto Generation": "自动生成", "Requires auto generation to be enabled.": "需要启用自动生成功能。", "Narrate by paragraphs (when streaming)": "按段朗读(流式播放时)", + "Narrate by paragraphs (when not streaming)": "按段朗读(非流式播放时)", "Only narrate quotes": "只朗读引号内文本", "Ignore text, even quotes, inside asterisk": "不朗读所有*星号内文本*,即使其被引号包裹", "Narrate only the translated text": "只朗读翻译后文本", "Skip codeblocks": "跳过代码块", - "Skip tagged blocks": "跳过标签化的块()", + "Skip tagged blocks": "跳过标签块里的内容(<标签>跳过这里)", "Pass Asterisks to TTS Engine": "将星号传递给文本转语音服务", "Audio Playback Speed": "音频播放速度", "Vector Storage": "向量存储", @@ -1665,6 +1726,7 @@ "Max Entries": "最大条目数", "File vectorization settings": "文件向量化设置", "Enable for files": "为文件启用", + "Only chunk on custom boundary": "仅按自定义边界分块", "Translate files into English before processing": "处理之前将文件翻译成英文", "Message attachments": "消息附件", "Size threshold (KB)": "大小阈值(KB)", @@ -1854,7 +1916,6 @@ "Total Tokens in Prompt:": "提示词的总Token数量:", "Max Context": "最大上下文:", "(Context Size - Response Length)": "(上下文长度 - 回复长度)", - ":": ":", "System-wide Replacement Macros (in order of evaluation):": "系统范围的替换宏(按评估顺序):", "help_macros_1": "仅适用于斜线命令批处理。替换为上一个命令的返回结果。", "help_macros_2": "仅插入一个换行符。", @@ -1878,12 +1939,13 @@ "help_macros_18": "以逗号分隔的群成员名称列表或单人聊天中的角色名称。别名:{{charIfNotGroup}}", "help_groupNotMuted": "与 {{group}} 相同,但排除被禁言的成员", "help_macros_19": "当前选定的 API 的文本生成模型名称。", - "Can be inaccurate!": "可能不准确!", + "Can be inaccurate!": "不一定准确!", "help_macros_20": "最新聊天消息的文本。", "help_macros_lastUser": "最后的用户聊天消息文本。", "help_macros_lastChar": "最后的角色聊天消息文本。", "help_macros_21": "最新聊天消息的索引号。对于斜线命令批处理很有用。", "help_macros_22": "上下文中包含的第一条消息的 ID。要求在当前会话中至少运行一次生成。", + "help_macros_firstDisplayedMessageId": "第一条载入可见聊天的消息的ID", "help_macros_23": "最后一条聊天消息中当前滑动的 ID(以 1 为基数)。如果最后一条消息是用户或提示隐藏的,则为空字符串。", "help_macros_24": "最后一条聊天消息中的滑动次数。如果最后一条消息是用户隐藏或提示隐藏的,则为空字符串。", "help_macros_reverse": "反转宏的内容。", @@ -2040,7 +2102,7 @@ "in the chat bar": "至聊天框", "SillyTavern Documentation Site": "访问 SillyTavern 帮助文档", "Still have questions?": "仍有疑问?", - "Join the SillyTavern Discord": "加入 SillyTavern Discord群组", + "Join the SillyTavern Discord": "加入 SillyTavern 的 Discord群组", "Post a GitHub issue": "在 GitHub 发布问题", "Contact the developers": "联系开发者", "If you're connected to an API, try asking me something!": "若您已经配置好API,尝试发送些什么吧!",