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 1/4] 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,尝试发送些什么吧!", From 6e15e4875d9074dce45008ea95da2f9444ac3ed7 Mon Sep 17 00:00:00 2001 From: Sevenyine <65720409+Sevenyine@users.noreply.github.com> Date: Sun, 2 Mar 2025 16:31:40 +0800 Subject: [PATCH 2/4] Update i18n keys in other languages due to changes in index.html --- public/locales/ar-sa.json | 2 +- public/locales/de-de.json | 2 +- public/locales/es-es.json | 2 +- public/locales/fr-fr.json | 4 ++-- public/locales/is-is.json | 2 +- public/locales/it-it.json | 2 +- public/locales/ja-jp.json | 2 +- public/locales/ko-kr.json | 4 ++-- public/locales/nl-nl.json | 2 +- public/locales/pt-pt.json | 2 +- public/locales/ru-ru.json | 4 ++-- public/locales/uk-ua.json | 2 +- public/locales/vi-vn.json | 2 +- public/locales/zh-tw.json | 4 ++-- 14 files changed, 18 insertions(+), 18 deletions(-) diff --git a/public/locales/ar-sa.json b/public/locales/ar-sa.json index a7e803f28..517b7ce7d 100644 --- a/public/locales/ar-sa.json +++ b/public/locales/ar-sa.json @@ -558,7 +558,7 @@ "Delete a theme": "حذف موضوع", "Update a theme file": "تحديث ملف السمة", "Save as a new theme": "حفظ كسمة جديدة", - "Avatar Style": "نمط الصورة الرمزية", + "Avatar Style:": "نمط الصورة الرمزية", "Circle": "دائرة", "Square": "مربع", "Rectangle": "مستطيل", diff --git a/public/locales/de-de.json b/public/locales/de-de.json index 29ad3ffc4..c47c8c542 100644 --- a/public/locales/de-de.json +++ b/public/locales/de-de.json @@ -558,7 +558,7 @@ "Delete a theme": "Löschen eines Designs", "Update a theme file": "Ein Theme-Datei aktualisieren", "Save as a new theme": "Als neues Theme speichern", - "Avatar Style": "Avatar-Stil", + "Avatar Style:": "Avatar-Stil", "Circle": "Kreis", "Square": "Quadrat", "Rectangle": "Rechteck", diff --git a/public/locales/es-es.json b/public/locales/es-es.json index 07155e01b..3c13c80a5 100644 --- a/public/locales/es-es.json +++ b/public/locales/es-es.json @@ -558,7 +558,7 @@ "Delete a theme": "Eliminar un tema", "Update a theme file": "Actualizar un archivo de tema", "Save as a new theme": "Guardar como nuevo tema", - "Avatar Style": "Estilo de Avatar", + "Avatar Style:": "Estilo de Avatar", "Circle": "Círculo", "Square": "Cuadrado", "Rectangle": "Rectángulo", diff --git a/public/locales/fr-fr.json b/public/locales/fr-fr.json index 1c981bfe4..bde053337 100644 --- a/public/locales/fr-fr.json +++ b/public/locales/fr-fr.json @@ -508,7 +508,7 @@ "Delete a theme": "Supprimer un thème", "Update a theme file": "Mettre à jour un fichier de thème", "Save as a new theme": "Enregistrer en tant que nouveau thème", - "Avatar Style": "Style d'avatar", + "Avatar Style:": "Style d'avatar", "Circle": "Cercle", "Square": "Carré", "Rectangle": "Rectangle", @@ -1494,7 +1494,7 @@ "Ask": "Demander", "tag_import_none": "Aucun", "tag_import_all": "Tous", - "Existing": "Existant", + "tag_import_existing": "Existant", "If checked and the character card contains a Post-History Instructions override, use that instead": "Si cette case est cochée et que la carte de personnage contient une instruction de remplacement pour le post-histoire, utilisez-la à la place.", "Prefer Character Card Instructions": "Préférer les instructions du personnage", "Enable auto-select of input text in some text fields when clicking/selecting them. Applies to popup input textboxes, and possible other custom input fields.": "Active la sélection automatique du texte saisi dans certains champs de texte lorsque l'on clique dessus ou qu'on les sélectionne. S'applique aux zones de texte de type popup et, éventuellement, à d'autres champs de saisie personnalisés.", diff --git a/public/locales/is-is.json b/public/locales/is-is.json index b6d6f306a..8180c7985 100644 --- a/public/locales/is-is.json +++ b/public/locales/is-is.json @@ -558,7 +558,7 @@ "Delete a theme": "Eyða þema", "Update a theme file": "Uppfæra þemu skrá", "Save as a new theme": "Vista sem nýja þemu", - "Avatar Style": "Avatar Stíll", + "Avatar Style:": "Avatar Stíll", "Circle": "Hring", "Square": "Reitur", "Rectangle": "Ferhyrningur", diff --git a/public/locales/it-it.json b/public/locales/it-it.json index ef2ce01bb..85ffca8dc 100644 --- a/public/locales/it-it.json +++ b/public/locales/it-it.json @@ -558,7 +558,7 @@ "Delete a theme": "Elimina un tema", "Update a theme file": "Aggiorna un file di tema", "Save as a new theme": "Salva come nuovo tema", - "Avatar Style": "Stile avatar", + "Avatar Style:": "Stile avatar", "Circle": "Cerchio", "Square": "Quadrato", "Rectangle": "Rettangolo", diff --git a/public/locales/ja-jp.json b/public/locales/ja-jp.json index 2cfa4a111..4c5c167ae 100644 --- a/public/locales/ja-jp.json +++ b/public/locales/ja-jp.json @@ -558,7 +558,7 @@ "Delete a theme": "テーマを削除する", "Update a theme file": "テーマファイルを更新", "Save as a new theme": "新しいテーマとして保存", - "Avatar Style": "アバタースタイル", + "Avatar Style:": "アバタースタイル", "Circle": "円", "Square": "正方形", "Rectangle": "長方形", diff --git a/public/locales/ko-kr.json b/public/locales/ko-kr.json index 8aad985e1..eb1bbcf13 100644 --- a/public/locales/ko-kr.json +++ b/public/locales/ko-kr.json @@ -568,7 +568,7 @@ "Delete a theme": "테마 삭제", "Update a theme file": "테마 파일 업데이트", "Save as a new theme": "새 테마로 저장", - "Avatar Style": "캐릭터 프로필 스타일", + "Avatar Style:": "캐릭터 프로필 스타일", "Circle": "원", "Square": "정사각형", "Rectangle": "사각형", @@ -1613,7 +1613,7 @@ "Ask": "묻기", "tag_import_none": "불러오지 않음", "tag_import_all": "전부", - "Existing": "기존 태그 참조", + "tag_import_existing": "기존 태그 참조", "You can add more": "원한다면", "or_welcome": "또는", "from other websites": "를 통해 다른 웹사이트들로부터 불러올 수 있습니다.", diff --git a/public/locales/nl-nl.json b/public/locales/nl-nl.json index 422653f14..b34b21a64 100644 --- a/public/locales/nl-nl.json +++ b/public/locales/nl-nl.json @@ -558,7 +558,7 @@ "Delete a theme": "Verwijder een thema", "Update a theme file": "Werk een themabestand bij", "Save as a new theme": "Opslaan als nieuw thema", - "Avatar Style": "Avatarstijl", + "Avatar Style:": "Avatarstijl", "Circle": "Cirkel", "Square": "Vierkant", "Rectangle": "Rechthoek", diff --git a/public/locales/pt-pt.json b/public/locales/pt-pt.json index 4a25ea79f..5a424bbdf 100644 --- a/public/locales/pt-pt.json +++ b/public/locales/pt-pt.json @@ -558,7 +558,7 @@ "Delete a theme": "Excluir um tema", "Update a theme file": "Atualizar um arquivo de tema", "Save as a new theme": "Salvar como um novo tema", - "Avatar Style": "Estilo de Avatar", + "Avatar Style:": "Estilo de Avatar", "Circle": "Círculo", "Square": "Quadrado", "Rectangle": "Retângulo", diff --git a/public/locales/ru-ru.json b/public/locales/ru-ru.json index bc2cc68fe..349ed05bc 100644 --- a/public/locales/ru-ru.json +++ b/public/locales/ru-ru.json @@ -200,7 +200,7 @@ "None": "Отсутствует", "User Settings": "Настройки пользователя", "UI Language": "Язык интерфейса", - "Avatar Style": "Аватарки", + "Avatar Style:": "Аватарки", "Circle": "Круглые", "Rectangle": "Прямоугольные", "Square": "Квадратные", @@ -1622,7 +1622,7 @@ "Defines on importing cards which action should be chosen for importing its listed tags. 'Ask' will always display the dialog.": "Выберите, какие действия следует предпринять по отношению к тегам импортируемой карточки. При выборе опции \"Спрашивать\" вы будете решать это индивидуально для каждой карточки.", "Ask": "Спрашивать", "tag_import_all": "Все", - "Existing": "Только существующие", + "tag_import_existing": "Только существующие", "tag_import_none": "Не импортировать", "Using a proxy that you're not running yourself is a risk to your data privacy.": "Помните, что используя чужую прокси, вы подвергаете риску конфиденциальность своих данных.", "ANY support requests will be REFUSED if you are using a proxy.": "НЕ РАССЧИТЫВАЙТЕ на нашу поддержку, если используете прокси.", diff --git a/public/locales/uk-ua.json b/public/locales/uk-ua.json index af0c819e9..f595aa435 100644 --- a/public/locales/uk-ua.json +++ b/public/locales/uk-ua.json @@ -558,7 +558,7 @@ "Delete a theme": "Видалити тему", "Update a theme file": "Оновити файл теми", "Save as a new theme": "Зберегти як нову тему", - "Avatar Style": "Стиль аватара", + "Avatar Style:": "Стиль аватара", "Circle": "Коло", "Square": "Квадрат", "Rectangle": "Прямокутник", diff --git a/public/locales/vi-vn.json b/public/locales/vi-vn.json index a553cdb61..09441d68a 100644 --- a/public/locales/vi-vn.json +++ b/public/locales/vi-vn.json @@ -558,7 +558,7 @@ "Delete a theme": "Xóa một chủ đề", "Update a theme file": "Cập nhật một tập tin chủ đề", "Save as a new theme": "Lưu dưới dạng chủ đề mới", - "Avatar Style": "Kiểu hình đại diện", + "Avatar Style:": "Kiểu hình đại diện", "Circle": "Hình tròn", "Square": "Hình vuông", "Rectangle": "Hình chữ nhật", diff --git a/public/locales/zh-tw.json b/public/locales/zh-tw.json index 87621ce2e..8dda79d34 100644 --- a/public/locales/zh-tw.json +++ b/public/locales/zh-tw.json @@ -559,7 +559,7 @@ "Delete a theme": "刪除主題", "Update a theme file": "更新主題檔", "Save as a new theme": "另存為新主題", - "Avatar Style": "頭像樣式", + "Avatar Style:": "頭像樣式", "Circle": "圓形", "Square": "方形", "Rectangle": "矩形", @@ -1623,7 +1623,7 @@ "Example: https://****.endpoints.huggingface.cloud": "例如:https://****.endpoints.huggingface.cloud", "Exclude": "排除", "Exclude Top Choices (XTC)": "排除頂端選項(XTC)", - "Existing": "現有項目", + "tag_import_existing": "現有項目", "expression_label_pattern": "[情緒名稱].[圖檔格式](例如:neutral.png)。", "ext_translate_auto_mode": "自動翻譯模式", "ext_translate_btn_chat": "翻譯聊天內容", From 6e6d1b24eba1e711d3a331f6adf39dfde737f91d Mon Sep 17 00:00:00 2001 From: Sevenyine <65720409+Sevenyine@users.noreply.github.com> Date: Sun, 2 Mar 2025 16:33:54 +0800 Subject: [PATCH 3/4] Delete unused i18n keys --- public/locales/fr-fr.json | 1 - public/locales/ru-ru.json | 1 - public/locales/zh-tw.json | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/public/locales/fr-fr.json b/public/locales/fr-fr.json index bde053337..16ef16c5c 100644 --- a/public/locales/fr-fr.json +++ b/public/locales/fr-fr.json @@ -1420,7 +1420,6 @@ "Block Entropy API Key": "Clé API Block Entropy", "Select a Model": "Sélectionner un modèle", "Example: http://localhost:1234/v1": "Exemple: http://localhost:1234/v1", - "at the end of the URL!": "à la fin de l'URL !", "(Optional)": "(Optionnel)", "Enter a Model ID": "Saisir un ID de modèle", "Example: gpt-3.5-turbo": "Exemple: gpt-3.5-turbo", diff --git a/public/locales/ru-ru.json b/public/locales/ru-ru.json index 349ed05bc..4efd0d03e 100644 --- a/public/locales/ru-ru.json +++ b/public/locales/ru-ru.json @@ -1127,7 +1127,6 @@ "Custom (OpenAI-compatible)": "Кастомный (совместимый с OpenAI)", "Custom Endpoint (Base URL)": "Кастомный эндпоинт (базовый URL)", "Example: http://localhost:1234/v1": "Пример: http://localhost:1234/v1", - "at the end of the URL!": "!", "Custom API Key": "Ключ от кастомного API", "(Optional)": "(необязательно)", "Enter a Model ID": "Введите идентификатор модели", diff --git a/public/locales/zh-tw.json b/public/locales/zh-tw.json index 8dda79d34..017e2df22 100644 --- a/public/locales/zh-tw.json +++ b/public/locales/zh-tw.json @@ -352,7 +352,7 @@ "Remove your real OAI API Key from the API panel BEFORE typing anything into this box": "在此框中輸入任何內容之前,從 API 面板中刪除您的實際 OAI API 金鑰", "We cannot provide support for problems encountered while using an unofficial OpenAI proxy": "我們無法為使用非官方 OpenAI 代理伺服器時遇到的問題提供支援", "Doesn't work? Try adding": "不起作用?嘗試新增", - "at the end!": "在最後!", + "at the end!": "在 URL 結尾!", "Proxy Password": "代理伺服器密碼", "Will be used as a password for the proxy instead of API key.": "將用作代理的密碼,而不是 API 金鑰", "Peek a password": "顯示密碼", @@ -1570,7 +1570,6 @@ "Assistant Message Sequences": "助理訊息序列", "Assistant Prefix": "助理訊息前綴", "Assistant Suffix": "助理訊息後綴", - "at the end of the URL!": "在 URL 結尾!", "Audio Playback Speed": "音檔播放速度", "Auto-select Input Text": "自動選擇輸入文字", "Automatically caption images": "自動產生圖片註解", From b1acfec82568671a2db506d4a98bda97dfe59f08 Mon Sep 17 00:00:00 2001 From: Sevenyine <65720409+Sevenyine@users.noreply.github.com> Date: Sun, 2 Mar 2025 16:44:53 +0800 Subject: [PATCH 4/4] Supplemented translations --- public/locales/zh-cn.json | 42 +++++++++++++++++++-------------------- public/locales/zh-tw.json | 2 +- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/public/locales/zh-cn.json b/public/locales/zh-cn.json index b7b71fa04..3b05b12fc 100644 --- a/public/locales/zh-cn.json +++ b/public/locales/zh-cn.json @@ -2,7 +2,7 @@ "Favorite": "星标", "Tag": "标签", "Duplicate": "复制", - "Persona": "角色", + "Persona": "用户角色", "Delete": "删除", "AI Response Configuration": "AI响应配置", "AI Configuration panel will stay open": "AI配置面板将保持打开", @@ -518,7 +518,7 @@ "Skip Example Dialogues Formatting": "跳过示例对话格式化", "Include Names": "包括名称", "Never": "永不", - "Groups and Past Personas": "Groups and Past Personas", + "Groups and Past Personas": "群聊和过去的用户角色", "Always": "永远", "Instruct Sequences": "指令序列", "User Message Sequences": "用户消息序列", @@ -571,24 +571,24 @@ "JSON serialized array of strings": "JSON序列化的字符串数组", "Replace Macro in Stop Strings": "替换自定义停止字符串中的宏", "Token Padding": "词符填充", - "Reasoning": "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", + "Auto-Parse": "自动解析", + "reasoning_auto_expand": "自动展开推理内容块。", + "Auto-Expand": "自动展开", + "reasoning_show_hidden": "对于隐藏推理内容的模型,展示其推理用时。", + "Show Hidden": "显示隐藏内容", + "reasoning_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", + "Max": "最大值", + "Reasoning Formatting": "推理内容格式化", + "reasoning_prefix": "插入在推理内容之前。", + "Prefix": "前缀", + "reasoning_suffix": "插入在推理内容之后。", + "Suffix": "后缀", + "reasoning_separator": "插入在推理内容和消息内容之间。", + "Separator": "分隔符", "Miscellaneous": "杂项", "Non-markdown strings": "非 Markdown 字符串", "comma delimited,no spaces between": "以逗号分隔,无需空格", @@ -1196,12 +1196,12 @@ "Edit": "编辑", "Confirm": "确认", "Copy this message": "复制此消息", - "Add a reasoning block": "Add a reasoning block", + "Add a reasoning block": "添加一个推理块", "Delete this message": "删除此消息", "Move message up": "将消息上移", "Move message down": "将消息下移", "Thought for some time": "思考了一会", - "Confirmedit": "Confirm", + "Confirm Edit": "确认", "Remove reasoning": "删除推理内容", "Cancel edit": "Cancel edit", "Copy reasoning": "复制推理内容", @@ -1933,7 +1933,7 @@ "help_macros_14": "未格式化的对话示例", "(only for Story String)": "(仅适用于故事字符串)", "help_macros_summary": "“Summarize”扩展生成的最新聊天摘要(如果有)。", - "help_macros_15": "您当前的 Persona 用户名", + "help_macros_15": "您当前的用户角色名称", "help_macros_16": "角色的名字", "help_macros_17": "角色的版本号", "help_macros_18": "以逗号分隔的群成员名称列表或单人聊天中的角色名称。别名:{{charIfNotGroup}}", diff --git a/public/locales/zh-tw.json b/public/locales/zh-tw.json index 017e2df22..af9f10712 100644 --- a/public/locales/zh-tw.json +++ b/public/locales/zh-tw.json @@ -2479,7 +2479,7 @@ "Character details are hidden.": "角色詳細資訊已隱藏。", "Add a reasoning block": "新增推理區塊", "Thought for some time": "思考了一段時間", - "Confirmedit": "確認", + "Confirm Edit": "確認", "Remove reasoning": "移除推理", "Cancel edit": "取消編輯", "Copy reasoning": "複製推理",