From 0bda86c35260ead168db6cc48a50071d7f55fdb9 Mon Sep 17 00:00:00 2001 From: Sevenyine <65720409+Sevenyine@users.noreply.github.com> Date: Sat, 4 Jan 2025 18:09:12 +0800 Subject: [PATCH] Supplemented zh-CN UI translation --- public/index.html | 2 +- public/locales/ru-ru.json | 2 +- public/locales/zh-cn.json | 78 +++++++++++++++++++-------------------- public/locales/zh-tw.json | 2 +- 4 files changed, 42 insertions(+), 42 deletions(-) diff --git a/public/index.html b/public/index.html index 1b2937e0c..daa5e0964 100644 --- a/public/index.html +++ b/public/index.html @@ -3319,7 +3319,7 @@

Enter a Model ID

- +

Available Models

diff --git a/public/locales/ru-ru.json b/public/locales/ru-ru.json index 5c506a88b..4c8ae8282 100644 --- a/public/locales/ru-ru.json +++ b/public/locales/ru-ru.json @@ -1132,7 +1132,7 @@ "Custom API Key": "Ключ от кастомного API", "(Optional)": "(необязательно)", "Enter a Model ID": "Введите идентификатор модели", - "Example: gpt-3.5-turbo": "Пример: gpt-3.5-turbo", + "Example: gpt-4o": "Пример: gpt-4o", "Available Models": "Доступные модели", "Prompt Post-Processing": "Постобработка промпта", "Applies additional processing to the prompt before sending it to the API.": "Позволяет обработать промпт перед отправкой в API.", diff --git a/public/locales/zh-cn.json b/public/locales/zh-cn.json index 4e0e54537..6c199ccaf 100644 --- a/public/locales/zh-cn.json +++ b/public/locales/zh-cn.json @@ -185,13 +185,13 @@ "Mirostat Eta": "Mirostat η", "Learning rate of Mirostat": "Mirostat 的学习率。", "Beam search": "束搜索", - "A greedy, brute-force algorithm used in LLM sampling to find the most likely sequence of words or tokens. It expands multiple candidate sequences at once, maintaining a fixed number (beam width) of top sequences at each step.": "A greedy, brute-force algorithm used in LLM sampling to find the most likely sequence of words or tokens. It expands multiple candidate sequences at once, maintaining a fixed number (beam width) of top sequences at each step.", - "# of Beams": "# of Beams", + "A greedy, brute-force algorithm used in LLM sampling to find the most likely sequence of words or tokens. It expands multiple candidate sequences at once, maintaining a fixed number (beam width) of top sequences at each step.": "一种在LLM采样中使用的贪婪暴力算法,用于找到最可能的单词或标记序列。它一次扩展多个候选序列,在每一步保留固定数量(光束宽度)的最佳序列。", + "# of Beams": "光束数量", "The number of sequences generated at each step with Beam Search.": "The number of sequences generated at each step with Beam Search.", "Length Penalty": "长度惩罚", "Penalize sequences based on their length.": "Penalize sequences based on their length.", "Early Stopping": "提前停止", - "Controls the stopping condition for beam search. If checked, the generation stops as soon as there are '# of Beams' sequences. If not checked, a heuristic is applied and the generation is stopped when it's very unlikely to find better candidates.": "Controls the stopping condition for beam search. If checked, the generation stops as soon as there are '# of Beams' sequences. If not checked, a heuristic is applied and the generation is stopped when it's very unlikely to find better candidates.", + "Controls the stopping condition for beam search. If checked, the generation stops as soon as there are '# of Beams' sequences. If not checked, a heuristic is applied and the generation is stopped when it's very unlikely to find better candidates.": "控制光束搜索的停止条件。勾选时,当生成到达‘光束数量’的序列时停止。如果未勾选,则采用启发式方法,当几乎不可能找到更好的候选项时停止生成。", "Contrastive search": "对比搜索", "Contrastive_search_txt": "通过利用大多数 LLM 表示空间的各向同性以鼓励多样性同时保持一致性的采样器。详见 Su 等人在 2022 年发表的论文 《A Contrastive Framework for Neural Text Generation》。", "Penalty Alpha": "惩罚系数 α", @@ -208,7 +208,7 @@ "Speculative Ngram": "推测性 Ngram", "Use a different speculative decoding method without a draft model": "使用不同的推测解码方法(不采用草稿模型)。最好使用草稿模型。推测性 Ngram 的效果不太好。", "Spaces Between Special Tokens": "特殊词符之间的空格", - "Seed_desc": "A random seed to use for deterministic and reproducable outputs. Set to -1 to use a random seed.", + "Seed_desc": "一个用于生成确定性和可复现的输出的随机种子。设置为 -1 时会使用随机种子。", "LLaMA / Mistral / Yi models only": "LLaMA / Mistral / Yi模型专用。首先确保您选择了适当的词符化器。\n这项设置决定了你不想在结果中看到的字符串。\n每行一个字符串。可以是文本或者[词符id]。\n许多词符以空格开头。如果不确定,请使用词符计数器。", "Example: some text [42, 69, 1337]": "例如:\n一些文本\n[42, 69, 1337]", "CFG": "CFG", @@ -227,8 +227,8 @@ "llama.cpp only. Determines the order of samplers. If Mirostat mode is not 0, sampler order is ignored.": "仅限 llama.cpp。确定采样器的顺序。如果 Mirostat 模式不为 0,则忽略采样器顺序。", "Sampler Priority": "采样器优先级", "Ooba only. Determines the order of samplers.": "确定采样器的顺序(仅适用于Ooba)", - "Aphrodite only. Determines the order of samplers. Skew is always applied post-softmax, so it's not included here.": "Aphrodite only. Determines the order of samplers. Skew is always applied post-softmax, so it's not included here.", - "Aphrodite only. Determines the order of samplers.": "Aphrodite only. Determines the order of samplers.", + "Aphrodite only. Determines the order of samplers. Skew is always applied post-softmax, so it's not included here.": "仅适用于 Aphrodite,用于确定采样器的顺序。偏移(Skew)始终在 softmax 后应用,因此不包含在这里。", + "Aphrodite only. Determines the order of samplers.": "仅适用于 Aphrodite。用于确定采样器的顺序。", "Character Names Behavior": "角色名称行为", "Helps the model to associate messages with characters.": "有助于模型将消息与角色关联起来。", "None": "无", @@ -274,7 +274,7 @@ "Assistant Impersonation Prefill": "AI帮答预填", "Use system prompt (Claude 2.1+ only)": "使用系统提示词(仅适用于Claude 2.1+)", "Send the system prompt for supported models. If disabled, the user message is added to the beginning of the prompt.": "为支持的模型发送系统提示词。如果禁用,则用户消息将添加到提示词的开头。", - "Confirm token parsing with": "Confirm token parsing with", + "Confirm token parsing with": "确认使用以下工具进行词符解析", "Tokenizer": "词符化器", "New preset": "新预设", "Delete preset": "删除预设", @@ -320,7 +320,7 @@ "Novel AI Model": "Novel AI 模型", "No connection...": "没有连接...", "API Type": "API 类型", - "Generic (OpenAI-compatible) [LM Studio, LiteLLM, etc.]": "Generic (OpenAI-compatible) [LM Studio, LiteLLM, etc.]", + "Generic (OpenAI-compatible) [LM Studio, LiteLLM, etc.]": "通用(兼容 OpenAI)[LM Studio、LiteLLM 等]", "TogetherAI API Key": "TogetherAI API 密钥", "TogetherAI Model": "TogetherAI 模型", "-- Connect to the API --": "-- 连接到API --", @@ -352,7 +352,7 @@ "All": "All", "class": "All Classes", "Toggle grid view": "切换网格视图", - "No model description": "[No description]", + "No model description": "[无描述]", "vllm-project/vllm": "vllm-project/vllm(OpenAI API 包装器模式)", "vLLM API key": "vLLM API 密钥", "Example: 127.0.0.1:8000": "示例:http://127.0.0.1:8000", @@ -401,12 +401,12 @@ "View API Usage Metrics": "查看API使用情况", "Follow": "按照", "these directions": "这些步骤", - "to get your OpenAI API key.": "获取您的OpenAI API密钥。", + "to get your OpenAI API key.": "获取您的 OpenAI API 密钥。", "Use Proxy password field instead. This input will be ignored.": "请使用“代理密码”字段。此输入将被忽略。", "OpenAI Model": "OpenAI 模型", "Bypass API status check": "绕过API状态检查", "Show External models (provided by API)": "显示外部模型(由API提供)", - "Claude API Key": "Claude API Key", + "Claude API Key": "Claude API 密钥", "Get your key from": "从以下位置获取您的密钥", "Anthropic's developer console": "Anthropic 开发者控制台", "Claude Model": "Claude 模型", @@ -438,15 +438,15 @@ "Perplexity Model": "Perplexity 模型", "Cohere API Key": "Cohere API 密钥", "Cohere Model": "Cohere 模型", - "Block Entropy API Key": "Block Entropy API Key", - "Select a Model": "Select a Model", - "Custom Endpoint (Base URL)": "自定义端点(基本 URL)", + "Block Entropy API Key": "Block Entropy API 密钥", + "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": "输入模型名", - "Example: gpt-3.5-turbo": "例如:gpt-4o", + "Example: gpt-4o": "例如:gpt-4o", "Available Models": "可用模型", "Prompt Post-Processing": "提示词后处理", "Applies additional processing to the prompt before sending it to the API.": "在将提示词发送到 API 之前对其进行额外处理。", @@ -510,25 +510,25 @@ "Never": "永不", "Groups and Past Personas": "Groups and Past Personas", "Always": "永远", - "Instruct Sequences": "Instruct Sequences", - "User Message Sequences": "User Message Sequences", + "Instruct Sequences": "指令序列", + "User Message Sequences": "用户消息序列", "Inserted before a User message and as a last prompt line when impersonating.": "插入到用户消息之前并作为模拟时的最后一行提示词。", "User Prefix": "用户消息前缀", "Inserted after a User message.": "插入到用户消息之后。", "User Suffix": "用户消息后缀", - "Assistant Message Sequences": "Assistant Message Sequences", + "Assistant Message Sequences": "助手消息序列", "Inserted before an Assistant message and as a last prompt line when generating an AI reply.": "插入到助手消息之前并作为生成 AI 回复时的最后一行提示词。", "Assistant Prefix": "助手消息前缀", "Inserted after an Assistant message.": "插入于助手消息之后。", "Assistant Suffix": "助手消息后缀", - "System Message Sequences": "System Message Sequences", + "System Message Sequences": "系统消息序列", "Inserted before a System (added by slash commands or extensions) message.": "插入到系统(由快捷命令或扩展添加)消息之前。", - "System Prefix": "System Message Prefix", + "System Prefix": "系统消息前缀", "Inserted after a System message.": "插入到系统消息之后。", - "System Suffix": "System Message Suffix", + "System Suffix": "系统消息后缀", "If enabled, System Sequences will be the same as User Sequences.": "如果启用,系统序列将与用户序列相同。", "System same as User": "系统与用户相同", - "System Prompt Sequences": "System Prompt Sequences", + "System Prompt Sequences": "系统提示词序列", "Inserted before a System prompt.": "插入到系统提示词之前。", "System Prompt Prefix": "系统提示词前缀", "Inserted after a System prompt.": "在系统提示词后插入。", @@ -563,7 +563,7 @@ "Token Padding": "词符填充", "Miscellaneous": "杂项", "Non-markdown strings": "非 Markdown 字符串", - "comma delimited,no spaces between": "comma delimited,no spaces between", + "comma delimited,no spaces between": "以逗号分隔,无需空格", "Start Reply With": "以...开始回复", "Show reply prefix in chat": "在聊天中显示回复前缀", "World Info": "世界信息", @@ -695,8 +695,8 @@ "Show Message Token Count": "显示消息词符数", "Single-row message input area. Mobile only, no effect on PC": "将输入框限制为一行。仅适用于移动设备,对PC无影响", "Compact Input Area (Mobile)": "紧凑输入区域(移动端)", - "Display swipe numbers for all messages, not just the last.": "Display swipe numbers for all messages, not just the last.", - "Swipe # for All Messages": "Swipe # for All Messages", + "Display swipe numbers for all messages, not just the last.": "显示所有信息的滑动编号,而非仅限最后一条。", + "Swipe # for All Messages": "给所有信息分配滑动编号 #", "In the Character Management panel, show quick selection buttons for favorited characters": "在角色管理面板中,显示快速选择按钮以选择收藏的角色", "Characters Hotswap": "角色卡热切换", "Enable magnification for zoomed avatar display.": "启用放大功能以放大头像显示。", @@ -901,7 +901,7 @@ "Favorite characters to add them to HotSwaps": "收藏角色以将它们添加到快速热切换区", "Token counts may be inaccurate and provided just for reference.": "词符计数可能不准确,仅供参考。", "Total tokens": "总词符数", - "Calculating...": "正在计算…", + "Calculating...": "正在计算...", "Tokens": "词符数", "Permanent tokens": "永久词符", "Permanent": "恒定的", @@ -1030,7 +1030,7 @@ "Chatty": "高", "Examples of dialogue": "对话示例", "Important to set the character's writing style.": "设置角色的写作风格,很重要!", - "(Examples of chat dialog. Begin each example with START on a new line.)": "(聊天对话的示例,每个示例都另起一行以开头。)", + "(Examples of chat dialog. Begin each example with START on a new line.)": "(聊天对话的示例,每个示例都另起一行以开头。)", "Save": "保存", "Chat History": "聊天记录", "Import Chat": "导入聊天", @@ -1142,8 +1142,8 @@ "prompt_manager_relative": "相对", "prompt_manager_in_chat": "聊天中", "prompt_manager_depth": "深度", - "Injection depth. 0 = after the last message, 1 = before the last message, etc.": "注入深度。0 = 在最后一条消息之后,1 = 在最后一条消息之前,等等。", - "The content of this prompt is pulled from elsewhere and cannot be edited here.": "The content of this prompt is pulled from elsewhere and cannot be edited here.", + "Injection depth. 0 = after the last message, 1 = before the last message, etc.": "注入深度。“0”为在最后一条消息之后,“1”为在最后一条消息之前,等等。", + "The content of this prompt is pulled from elsewhere and cannot be edited here.": "此提示词的内容是从其他地方提取的,无法在此处进行编辑。", "Prompt": "提示词", "The prompt to be sent.": "要发送的提示词。", "This prompt cannot be overridden by character cards, even if overrides are preferred.": "即使选择覆盖,此提示词也不能被角色卡覆盖。", @@ -1204,7 +1204,7 @@ "alternate_greetings_hint_1": "点击", "alternate_greetings_hint_2": "按钮即可开始!", "Alternate Greeting #": "额外问候语 #", - "(This will be the first message from the character that starts every chat)": "(这是每次聊天开始时角色的第一条消息)", + "(This will be the first message from the character that starts every chat)": "(这是每次聊天开始时角色的第一条消息)", "View contents": "查看内容", "Remove the file": "删除文件", "Author's Note": "作者注释", @@ -1217,7 +1217,7 @@ "Insertion Frequency": "插入频率", "(0 = Disable, 1 = Always)": "(“0”为禁用,“1”为始终)", "User inputs until next insertion:": "用户输入直到下一次插入:", - "Character Author's Note (Private)": "人物作者注(私有)", + "Character Author's Note (Private)": "人物作者注(私密)", "Won't be shared with the character card on export.": "导出时不会与角色卡共享。", "Will be automatically added as the author's note for this character. Will be used in groups, but can't be modified when a group chat is open.": "会自动添加为该角色的作者注解,在群聊中使用,但群聊开启时无法修改。", "Use character author's note": "使用角色作者的注释", @@ -1244,9 +1244,9 @@ "Insertion Depth:": "插入深度:", "Token Probabilities": "词符概率", "Select a token to see alternatives considered by the AI.": "选择一个词符来查看 AI 考虑的替代方案。", - "Reroll with the entire prefix": "Reroll with the entire prefix", + "Reroll with the entire prefix": "使用完整前缀重新生成", "Not connected to API!": "未连接到API!", - "Type a message, or /? for help": "键入消息,或 /? 获取帮助", + "Type a message, or /? for help": "输入想发送的消息,或输入 /? 获取帮助", "Continue script execution": "继续执行脚本", "Pause script execution": "暂停执行脚本", "Abort script execution": "中止执行脚本", @@ -1365,7 +1365,7 @@ "You are in offline mode. Click on the image below to set the expression.": "您处于离线模式。点击下方图片即可设置表情。", "Sprite Folder Override": "表情文件夹覆盖", "Use a forward slash to specify a subfolder. Example: _space": "使用正斜杠指定子文件夹。例如:", - "Upload sprite pack (ZIP)": "上传表情包 (ZIP)", + "Upload sprite pack (ZIP)": "上传表情包(ZIP)", "Remove all image overrides": "删除所有图片覆盖", "Create new folder in the _space": "创建新文件夹到", "folder of your user data directory and name it as the name of the character.": "用户数据目录的文件夹并将其命名为角色的名称。", @@ -1576,7 +1576,7 @@ "Click to set": "点击设置", "You can find your API key in the Stability AI dashboard.": "您可以在 Stability AI 仪表板中找到您的 API 密钥。", "Style Preset": "风格预设", - "Prompt Upsampling": "Prompt Upsampling", + "Prompt Upsampling": "提示词增强(Upsampling)", "Sampling method": "采样方法", "Scheduler": "调度器", "Resolution": "分辨率", @@ -1637,9 +1637,9 @@ "Select TTS Provider": "选择 文本转语音 的服务提供商", "tts_enabled": "已启用", "Narrate user messages": "朗读用户消息", - "Auto Generation": "Auto Generation", - "Requires auto generation to be enabled.": "Requires auto generation to be enabled.", - "Narrate by paragraphs (when streaming)": "Narrate by paragraphs (when streaming)", + "Auto Generation": "自动生成", + "Requires auto generation to be enabled.": "需要启用自动生成功能。", + "Narrate by paragraphs (when streaming)": "按段朗读(流式播放时)", "Only narrate quotes": "只朗读引号内文本", "Ignore text, even quotes, inside asterisk": "不朗读所有*星号内文本*,即使其被引号包裹", "Narrate only the translated text": "只朗读翻译后文本", @@ -1946,7 +1946,7 @@ "help_macros_69": "替换为范围变量“name”的值", "help_macros_70": "用范围变量“name”的索引处的项目值(对于数组/列表或对象/字典)替换", "Choose what to export": "选择您想要导出什么:", - "{{name}}": "{{名字}}", + "{{name}}": "{{name}}", "Choose what to import": "选择您想要导入什么:", "If necessary, you can later restore this chat file from the /backups folder": "若需要,您可稍后在 /backups 文件夹中恢复此聊天文件。", "Also delete the current chat file": "同时删除当前聊天文件", diff --git a/public/locales/zh-tw.json b/public/locales/zh-tw.json index 51ad1df08..56e2c34e8 100644 --- a/public/locales/zh-tw.json +++ b/public/locales/zh-tw.json @@ -1453,7 +1453,7 @@ "Any contents here will replace the default Post-History Instructions used for this character. (v2 specpost_history_instructions)": "此處填入的內容將取代該角色的默認聊天歷史後指示(Post-History Instructions)。\n(v2 格式:specpost_history_instructions)", "comma delimited,no spaces between": "逗號分割,無需空格", "e.g. black-forest-labs/FLUX.1-dev": "例如:black-forest-labs/FLUX.1-dev", - "Example: gpt-3.5-turbo": "例如:gpt-3.5-turbo", + "Example: gpt-4o": "例如:gpt-4o", "Example: http://localhost:1234/v1": "例如:http://localhost:1234/v1", "popup-button-crop": "裁剪", "(disabled when max recursion steps are used)": "(當最大遞歸步驟數使用時將停用)",