add i18n keys and zh-CN translations

This commit is contained in:
Sevenyine
2025-01-01 21:45:18 +08:00
parent e45d2252aa
commit dec4a7d31e
2 changed files with 55 additions and 16 deletions

View File

@@ -5962,7 +5962,7 @@
</small>
</div>
<div class="range-block-range">
<input class="text_pole margin0" name="sticky" type="number" placeholder="Non-sticky" min="0" max="999999">
<input class="text_pole margin0" name="sticky" type="number" data-i18n="[placeholder]Non-sticky" placeholder="Non-sticky" min="0" max="999999">
</div>
</div>
<div class="flex2 flex-container flexFlowColumn flexNoGap" data-i18n="[title]Entries with a cooldown can't be activated N messages after being triggered." title="Entries with a cooldown can't be activated N messages after being triggered.">
@@ -5975,7 +5975,7 @@
</small>
</div>
<div class="range-block-range">
<input class="text_pole margin0" name="cooldown" type="number" placeholder="No cooldown" min="0" max="999999">
<input class="text_pole margin0" name="cooldown" type="number" data-i18n="[placeholder]No cooldown" placeholder="No cooldown" min="0" max="999999">
</div>
</div>
<div class="flex2 flex-container flexFlowColumn flexNoGap" data-i18n="[title]Entries with a delay can't be activated until there are N messages present in the chat." title="Entries with a delay can't be activated until there are N messages present in the chat.">
@@ -5988,7 +5988,7 @@
</small>
</div>
<div class="range-block-range">
<input class="text_pole margin0" name="delay" type="number" placeholder="No delay" min="0" max="999999">
<input class="text_pole margin0" name="delay" type="number" data-i18n="[placeholder]No delay" placeholder="No delay" min="0" max="999999">
</div>
</div>
</div>

View File

@@ -266,6 +266,8 @@
"Use system prompt": "使用系统提示词",
"Merges_all_system_messages_desc_1": "合并所有系统消息,直到第一条具有非系统角色的消息,然后通过",
"Merges_all_system_messages_desc_2": "字段发送。",
"Show model thoughts": "展示思维链",
"Display the model's internal thoughts in the response.": "展示模型在回复时的内部思维链。",
"Assistant Prefill": "AI预填",
"Expand the editor": "展开编辑器",
"Start Claude's answer with...": "以如下内容开始Claude的回答...",
@@ -430,6 +432,8 @@
"Groq Model": "Groq 模型",
"NanoGPT API Key": "NanoGPT API Key",
"NanoGPT Model": "NanoGPT Model",
"DeepSeek API Key": "DeepSeek API 密钥",
"DeepSeek Model": "DeepSeek 模型",
"Perplexity API Key": "Perplexity API 密钥",
"Perplexity Model": "Perplexity 模型",
"Cohere API Key": "Cohere API 密钥",
@@ -442,11 +446,14 @@
"Custom API Key": "自定义 API 密钥",
"(Optional)": "(可选)",
"Enter a Model ID": "输入模型名",
"Example: gpt-3.5-turbo": "例如gpt-3.5-turbo",
"Example: gpt-3.5-turbo": "例如gpt-4o",
"Available Models": "可用模型",
"Prompt Post-Processing": "提示词后处理",
"Applies additional processing to the prompt before sending it to the API.": "在将提示词发送到 API 之前对其进行额外处理。",
"prompt_post_processing_none": "未选择",
"prompt_post_processing_merge": "合并相同角色连续的发言",
"prompt_post_processing_semi": "半严格(强制对话角色交替)",
"prompt_post_processing_strict": "严格(强制对话角色交替、用户最先)",
"01.AI API Key": "01.AI API密钥",
"01.AI Model": "01.AI 模型",
"Additional Parameters": "附加参数",
@@ -939,7 +946,7 @@
"Group reply strategy": "群聊回复策略",
"Manual": "手动",
"Natural order": "自然顺序",
"List order": "上下顺序",
"List order": "从上到下",
"Group generation handling mode": "群组生成处理模式",
"Swap character cards": "交换角色卡",
"Join character cards (exclude muted)": "加入角色卡(不包括被禁言的)",
@@ -1112,7 +1119,7 @@
"Cooldown": "冷却",
"Entries with a delay can't be activated until there are N messages present in the chat.": "直到聊天中出现 N 条消息时,延迟的条目才能被激活。",
"Delay": "延迟",
"Filter to Characters or Tags": "应用到角色或标签",
"Filter to Characters or Tags": "绑定到角色或标签",
"Switch the Character/Tags filter around to exclude the listed characters and tags from matching for this entry": "切换角色/标签筛选方式,将列出的角色和标签排除在匹配范围之外",
"Exclude": "排除",
"-- Characters not found --": "-- 未找到角色 --",
@@ -1658,9 +1665,9 @@
"Enable for files": "为文件启用",
"Translate files into English before processing": "处理之前将文件翻译成英文",
"Message attachments": "消息附件",
"Size threshold (KB)": "大小阈值 (KB)",
"Size threshold (KB)": "大小阈值KB",
"Chunk size (chars)": "块大小(字符)",
"Chunk overlap (%)": "块重叠 (%)",
"Chunk overlap (%)": "块重叠%",
"Retrieve chunks": "检索块",
"Data Bank files": "数据库文件",
"Injection Template": "注入模板",
@@ -1691,6 +1698,7 @@
"This will create a new subfolder...": "这将在 /data/ 目录中创建一个新的子文件夹,以用户的句柄作为文件夹名称。",
"Note:": "提示:",
"this chat is temporary and will be deleted as soon as you leave it.": "此聊天会话是临时的,会在你离开时被删除。",
"Enter a new display name:": "输入一个新的昵称:",
"Current Password:": "当前密码:",
"New Password:": "新密码:",
"Confirm New Password:": "确认新密码:",
@@ -1712,13 +1720,16 @@
"chat_rename_2": "注意!!使用已有文件名会导致错误!!",
"chat_rename_3": "此举会将次聊天与标记为“检查点”的聊天解绑。",
"chat_rename_4": "不需要在结尾添加 '.jsonl'",
"Enter Checkpoint Name:": "输入检查点名称:",
"(Leave empty to auto-generate)": "(留空以自动生成)",
"The currently existing checkpoint will be unlinked and replaced with the new checkpoint, but can still be found in the Chat Management.": "当前检查点将会被解绑并替换为新的检查点,但仍可在聊天管理中找到。",
"Include Body Parameters": "包括主体参数",
"custom_include_body_desc": "聊天完成请求主体中要包含的参数YAML 对象)\n\n示例\n- top_k20\n- repetition_penalty1.1",
"Exclude Body Parameters": "排除主体参数",
"custom_exclude_body_desc": "要从聊天完成请求主体中排除的参数YAML 数组)\n\n示例\n- frequency_penalty\n- presence_penalty",
"Include Request Headers": "包含请求标头",
"custom_include_headers_desc": "聊天完成请求的附加标头YAML 对象)\n\n示例\n- CustomHeader自定义值\n- AnotherHeader自定义值",
"Debug Warning": "此类别中的功能仅供高级用户使用。如果您不确定后果,请不要点击任何内容。",
"Functions in this category are for advanced users only. Don't click anything if you're not sure about the consequences.": "此类别中的功能仅供高级用户使用。如果您不确定后果,请不要点击任何内容。",
"THIS IS PERMANENT!": "此操作不可逆!",
"Also delete the chat files": "同时删除聊天文件",
"Are you sure you want to delete this user?": "您确定要删除该用户吗?",
@@ -1764,11 +1775,11 @@
"help_format_26": "内联代码",
"help_format_27": "> 文本",
"help_format_28": "显示为块引用(请注意 > 后面的空格)",
"help_format_29": " 文本",
"help_format_29": "# 文本",
"help_format_30": "显示为大标题(注意空格)",
"help_format_32": " 文本",
"help_format_32": "## 文本",
"help_format_33": "显示为中等标题(注意空格)",
"help_format_35": " 文本",
"help_format_35": "### 文本",
"help_format_36": "显示为小标题(注意空格)",
"help_1": "您好!请选择您想要详细了解的帮助主题:",
"help_2": "斜线命令",
@@ -1821,9 +1832,27 @@
"char_import_8": "RisuRealm 角色(直链)",
"Supports importing multiple characters.": "支持导入多个角色。",
"Write each URL or ID into a new line.": "将每个 URL 或 ID 写入新行。",
"Show Raw Prompt": "显示原始提示",
"Copy Prompt": "复制提示",
"Show Prompt Differences": "显示提示差异",
"Enter the Git URL of the extension to install": "输入扩展程序的 Git URL 以安装",
"Disclaimer:": "免责声明:",
"Please be aware that using external extensions can have unintended side effects and may pose security risks. Always make sure you trust the source before importing an extension. We are not responsible for any damage caused by third-party extensions.": "使用外部的扩展程序可能存在意料外的副作用和安全隐患。在导入扩展程序前,请一定确认其来源可信。我们不为第三方扩展程序造成的任何损失负责。",
"Prompt Itemization": "将提示词分条",
"Show Raw Prompt": "显示原始提示词",
"Copy Prompt": "复制提示词",
"Show Prompt Differences": "显示提示词差异",
"API/Model:": "API/模型:",
"Preset:": "预设:",
"Tokenizer:": "分词器:",
"Only the white numbers really matter. All numbers are estimates. Grey color items may not have been included in the context due to certain prompt format settings.": "只有白色的数字作数。所有数字均为估算。\n 灰色的数字可能因特定的提示词处理规则而被排除在外。",
"System Info:": "系统信息:",
"Prompt Tokens:": "提示词Token",
"World Info:": "世界书:",
"Chat History:": "聊天记录:",
"Extensions:": "扩展程序:",
"Bias:": "Bias:",
"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": "仅插入一个换行符。",
@@ -1913,7 +1942,9 @@
"help_macros_68": "替换为全局变量“name”的值减 1 的结果",
"help_macros_69": "替换为范围变量“name”的值",
"help_macros_70": "用范围变量“name”的索引处的项目值对于数组/列表或对象/字典)替换",
"{{name}}": "{{name}}",
"Choose what to export": "选择您想要导出什么:",
"{{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": "同时删除当前聊天文件",
"PErsona Lorebook for": "Persona Lorebook for",
@@ -1938,8 +1969,13 @@
"If you have sufficient credits, please try again later.": "若您有足够的余额,请稍后再试。",
"Are you sure you want to reset your settings to factory defaults?": "您确定要将您的设置重置为出厂默认设置吗?",
"Don't forget to save a snapshot of your settings before proceeding.": "在继续之前,不要忘记保存您的设置快照。",
"Enter your password below to confirm:": "输入您的密码以确认:",
"Chat Scenario Override": "聊天场景覆盖",
"Remove": "移除",
"Unique to this chat.": "Unique to this chat.",
"All group members will use the following scenario text instead of what is specified in their character cards.": "All group members will use the following scenario text instead of what is specified in their character cards.",
"The following scenario text will be used instead of the value set in the character card.": "The following scenario text will be used instead of the value set in the character card.",
"Checkpoints inherit the scenario override from their parent, and can be changed individually after that.": "Checkpoints inherit the scenario override from their parent, and can be changed individually after that.",
"Settings Snapshots": "设置快照",
"Record a snapshot of your current settings.": "记录当前设置的快照。",
"Make a Snapshot": "制作快照",
@@ -1962,6 +1998,7 @@
"Click on the folder icon to use this tag as a folder.": "点击文件夹图标来将此标签作为一个文件夹。",
"Use alphabetical sorting": "按字母顺序排列",
"tags_sorting_desc": "启用后,标签在创建或重命名时会自动按字母顺序排序。\n禁用后新标签会追加到末尾。\n\n如果通过拖动手动重新排列标签则自动排序将被禁用。",
"Are you sure you want to delete the theme?": "你确定要删除这个主题吗?",
"Hi,": "嗨,",
"To enable multi-account features, restart the SillyTavern server with": "要启用多帐户功能,请使用以下命令重新启动 SillyTavern 服务器",
"set to true in the config.yaml file.": "在 config.yaml 文件中设置为 true。",
@@ -1982,6 +2019,8 @@
"Reset Settings": "重置设置",
"Wipe all user data and reset your account to factory settings.": "删除所有用户数据并将您的账号重置为默认设置。",
"Reset Everything": "重置一切",
"This will delete all your settings and data. There will be no undo button. Make sure you have a backup before proceeding.": "This will delete all your settings and data. There will be no undo button.\n Make sure you have a backup before proceeding.",
"Account reset code has been posted to the server console.": "Account reset code has been posted to the server console.",
"Reset Code:": "重置代码:",
"Want to update?": "获取最新版本",
"How to start chatting?": "如何快速开始聊天?",