Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 28 additions & 23 deletions zh-CN/chat.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"modelLoaderPlaceholder": "选择要加载的模型",
"systemPromptPlaceholder": "设置系统提示",
"systemPromptPlaceholder": "设置系统提示词",
"userRoleText": "用户",
"assistantRoleText": "助手",
"addMessageButtonText": "添加",
"addMessageButtonText/toolTip": "在不触发预测的情况下将消息插入上下文中",
"sendMessageButtonText": "发送",
"sendMessageButtonText/toolTip": "将您的提示和对话历史发送给模型进行处理",
"sendMessageButtonText/toolTip": "将您的提示词和对话历史发送给模型进行处理",
"ejectButtonText": "卸载",
"unloadTooltip": "从内存中卸载模型",
"cancelButtonText": "取消",
Expand Down Expand Up @@ -60,6 +60,8 @@
"actions/loadLastModel": "重新加载上次使用的模型",
"actions/loadLastModel/tooltip": "点击以加载上次与该聊天一起使用的模型:\n\n{{lastModel}}",
"actions/loadLastModel/error": "加载上次使用的模型失败。",
"actions/clearLastUsedModel": "清除上次使用的模型记录",
"actions/clearLastUsedModel/error": "清除上次使用的模型记录失败。",
"actions/continueCurrentModel": "使用当前模型",
"actions/continueCurrentModel/tooltip": "当前模型:{{currentModel}}",
"actions/changeToLastUsedModel": "加载 {{lastModel}}",
Expand All @@ -78,8 +80,8 @@
"editMessageConfirm/discard": "放弃更改",
"tokenCount/totalNotAvailable": "token:{{current}}",
"tokenCount/totalAvailable": "token:{{current}}/{{total}}",
"tokenCount/totalAvailablePercentage": "上下文已满 {{percentage}}%",
"tokenCount/contextOverflow": "未经处理的上下文大于模型的最大token限制。根据您的上下文溢出策略,上下文可能会被截断,或者消息可能不会被发送。",
"tokenCount/totalAvailablePercentage": "上下文已使用 {{percentage}}%",
"tokenCount/contextOverflow": "未经处理的上下文已超过模型的最大token限制。根据您的上下文溢出策略,上下文可能会被截断,或者消息可能无法发送。",
"modelLoader/manualLoadParams/label": "手动选择模型加载参数",
"modelLoader/manualLoadParams/hint/before": "(或按住",
"modelLoader/manualLoadParams/hint/after": ")",
Expand All @@ -98,14 +100,14 @@
"userFile/fileSizeLimit": "文件大小限制为",
"userFile/noImageSupport": "模型不支持图片输入",
"userFile/errorPrefix": "错误 - ",
"userFile/supportedImagePrefix": "不支持的图片类型 - 仅支持",
"userFile/supportedImageSuffix": "",
"userFile/unsupportedFileType": "不支持的文件类型 - 仅支持图片、PDF 和 .txt 文件。",
"userFile/maxFilesPerMessage": "每条消息的最大文件数已达到。不能添加超过 {{files}} 个文件。",
"userFile/maxFileSizePerMessage": "每条消息的最大文件大小已达到。不能添加超过 {{size}} 的文件。",
"userFile/maxFileSizePerConversation": "会话的文件大小已达上限,无法添加大于 {{size}} 的文件。",
"userFile/failedToUploadError/title": "文件上传失败",
"userFile/failedToAddFile/title": "文件添加到对话失败",
"userFile/supportedImagePrefix": "不支持的图像类型 - 仅支持 ",
"userFile/supportedImageSuffix": "",
"userFile/unsupportedFileType": "不支持的文件类型 - 仅支持图像、PDF 和 .txt 文件。",
"userFile/maxFilesPerMessage": "已达到每条消息的最大文件数。无法添加超过 {{files}} 个文件。",
"userFile/maxFileSizePerMessage": "已达到每条消息的最大文件大小。无法添加超过 {{size}} 的文件。",
"userFile/maxFileSizePerConversation": "已达到每次对话的最大文件大小。无法添加超过 {{size}} 的文件。",
"userFile/failedToUploadError/title": "上传文件失败",
"userFile/failedToAddFile/title": "将文件添加到聊天失败",
"errorTitle": "错误",
"userFile/chatTerminalDocumentsCount_one": "对话中有 {{count}} 个文档",
"userFile/chatTerminalDocumentsCount_other": "对话中有 {{count}} 个文档",
Expand All @@ -123,15 +125,14 @@
"retrieval/actions/clickToCollapse": "点击以折叠中间步骤",

"style": "聊天外观",

"style/viewMode/markdown": "Markdown",
"style/viewMode/plaintext": "纯文本",
"style/viewMode/monospace": "等宽字体",

"speculativeDecodingVisualization/toggle": "可视化已采纳的草稿token",
"speculativeDecodingVisualization/fromDraftModel_one": "已采纳的草稿token",
"speculativeDecodingVisualization/fromDraftModel_other": "已采纳的草稿token",
"speculativeDecodingVisualization/cannotChangeViewMode": "可视化草稿token时无法切换显示模式。",
"speculativeDecodingVisualization/toggle": "可视化已采纳的推测token",
"speculativeDecodingVisualization/fromDraftModel_one": "已采纳的推测token",
"speculativeDecodingVisualization/fromDraftModel_other": "已采纳的推测token",
"speculativeDecodingVisualization/cannotChangeViewMode": "可视化推测token时无法切换显示模式。",

"style/fontSize/label": "字体大小",
"style/fontSize/medium": "默认",
Expand All @@ -154,7 +155,7 @@
"expandTooltip": "展开调试信息块"
}
},

"chatTabOptions/clearAllMessages": "清空所有聊天记录...",
"chatTabOptions/duplicateChat": "复制聊天",

Expand All @@ -163,11 +164,11 @@
"topBarActions/clearChatConfirmation": "您确定要清除此聊天中的所有消息吗?",
"topBarActions/clearChatCancel": "取消",
"topBarActions/clearChatDelete": "全部清除",

"noModels.indexing": "正在索引模型文件...(这可能需要一段时间)",
"noModels.downloading": "正在下载您的第一个LLM...",
"noModels": "还没有LLM!下载一个开始吧!",

"plugins": {
"pluginTrigger": {
"noPlugins": "插件",
Expand All @@ -192,7 +193,9 @@
},
"startRunningDevelopmentPlugin/error": "开发模式插件启动失败",
"stopRunningDevelopmentPlugin/error": "开发模式插件停止失败",
"forceReInitPlugin/error": "重启插件失败"
"forceReInitPlugin/error": "重启插件失败",
"signOutMcpPlugin/error": "登出插件失败",
"cancelMcpAuthentication/error": "取消插件身份验证失败"
},
"pluginConfiguration": {
"title": "插件配置",
Expand Down Expand Up @@ -236,8 +239,10 @@
"stopReason.toolCalls": "工具调用",
"stopReason.maxPredictedTokensReached": "达到最大预测词元",
"stopReason.contextLengthReached": "达到上下文长度上限",
"speculativeDecodedBy": "草稿模型:{{decodedBy}}",
"speculativeDecodingStats": "已采纳 {{accepted}}/{{total}} 个草稿token({{percentage}}%)"
"speculativeDecodedBy": "推测模型:{{decodedBy}}",
"speculativeDecodingStats": "已采纳 {{accepted}}/{{total}} 个推测token({{percentage}}%)",
"speculativeDecodingAcceptedPercentage": "推测token采纳率 {{percentage}}%",
"speculativeDecodingTooltip": "采纳 {{accepted}}/{{total}} 个推测tokens"
},

"tabs": {
Expand Down
79 changes: 43 additions & 36 deletions zh-CN/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"schematicsError.title": "配置结构在以下字段存在错误:",
"manifestSections": {
"structuredOutput/title": "结构化输出",
"speculativeDecoding/title": "投机解码",
"speculativeDecoding/title": "推测解码",
"sampling/title": "采样",
"settings/title": "设置",
"toolUse/title": "工具调用",
Expand Down Expand Up @@ -71,7 +71,7 @@
"llm.prediction.stopStrings/title": "停止字符串",
"llm.prediction.stopStrings/subTitle": "应该停止模型生成更多token的字符串",
"llm.prediction.stopStrings/info": "遇到特定字符串时将停止模型生成更多token",
"llm.prediction.stopStrings/placeholder": "输入一个字符串并按 ⏎",
"llm.prediction.stopStrings/placeholder": "输入字符串并按 ⏎",
"llm.prediction.contextOverflowPolicy/title": "上下文溢出",
"llm.prediction.contextOverflowPolicy/subTitle": "当对话超出模型处理能力时,模型应该如何表现",
"llm.prediction.contextOverflowPolicy/info": "决定当对话超过模型的工作内存('上下文')大小时该怎么做",
Expand Down Expand Up @@ -106,15 +106,15 @@
"llm.prediction.tools/serverPageDescriptionAddon": "通过服务端 API 调用时,请将其作为 `tools` 字段传入请求体",
"llm.prediction.promptTemplate/title": "提示模板",
"llm.prediction.promptTemplate/subTitle": "聊天中消息发送给模型的格式。更改此设置可能会引入意外行为 - 确保您知道自己在做什么!",
"llm.prediction.speculativeDecoding.numDraftTokensExact/title": "草稿生成token数",
"llm.prediction.speculativeDecoding.numDraftTokensExact/subTitle": "每生成一个主模型token,草稿模型生成的token数量。平衡计算量与收益,选择合适的数值",
"llm.prediction.speculativeDecoding.minContinueDraftingProbability/title": "草稿概率阈值",
"llm.prediction.speculativeDecoding.minContinueDraftingProbability/subTitle": "仅当token概率高于该阈值时才继续草稿。值越高风险越低,收益也越低",
"llm.prediction.speculativeDecoding.minDraftLengthToConsider/title": "最小草稿长度",
"llm.prediction.speculativeDecoding.minDraftLengthToConsider/subTitle": "草稿长度低于该值将被主模型忽略。值越高风险越低,收益也越低",
"llm.prediction.speculativeDecoding.maxTokensToDraft/title": "最大草稿长度",
"llm.prediction.speculativeDecoding.maxTokensToDraft/subTitle": "草稿中允许的最大token数。如果所有token概率都高于阈值,则为上限。值越低风险越低,收益也越低",
"llm.prediction.speculativeDecoding.draftModel/title": "草稿模型",
"llm.prediction.speculativeDecoding.numDraftTokensExact/title": "推测生成token数",
"llm.prediction.speculativeDecoding.numDraftTokensExact/subTitle": "每生成一个主模型token,推测模型生成的token数量。平衡计算量与收益,选择合适的数值",
"llm.prediction.speculativeDecoding.minContinueDraftingProbability/title": "推测概率阈值",
"llm.prediction.speculativeDecoding.minContinueDraftingProbability/subTitle": "仅当token概率高于该阈值时才继续推测。值越高风险越低,收益也越低",
"llm.prediction.speculativeDecoding.minDraftLengthToConsider/title": "最小推测长度",
"llm.prediction.speculativeDecoding.minDraftLengthToConsider/subTitle": "推测长度低于该值将被主模型忽略。值越高风险越低,收益也越低",
"llm.prediction.speculativeDecoding.maxTokensToDraft/title": "最大推测长度",
"llm.prediction.speculativeDecoding.maxTokensToDraft/subTitle": "推测中允许的最大token数。如果所有token概率都高于阈值,则为上限。值越低风险越低,收益也越低",
"llm.prediction.speculativeDecoding.draftModel/title": "推测模型",
"llm.prediction.reasoning.parsing/title": "推理过程解析方式",
"llm.prediction.reasoning.parsing/subTitle": "控制模型输出中推理过程的解析方式",

Expand All @@ -126,6 +126,10 @@
"llm.load.splitStrategy/placeholder": "选择拆分策略...",
"llm.load.offloadKVCacheToGpu/title": "将 KV 缓存卸载到 GPU 内存",
"llm.load.offloadKVCacheToGpu/subTitle": "将 KV 缓存卸载到 GPU 内存。这可以提高性能但需要更多 GPU 内存",
"llm.load.numParallelSessions/title": "最大并发预测数",
"llm.load.numParallelSessions/subTitle": "模型在给定时间内可以运行的最大预测数。并发可能会降低单个预测的速度,但每个预测启动更快,整体吞吐量更高",
"llm.load.useUnifiedKvCache/title": "统一 KV 缓存",
"llm.load.useUnifiedKvCache/subTitle": "控制并发预测是否共享单个 KV 缓存,以节省内存。禁用此功能可确保每个预测都能利用完整的上下文长度,但会占用更多内存",
"load.gpuStrictVramCap/title": "限制模型卸载至专用 GPU 内存",
"load.gpuStrictVramCap.customSubTitleOff": "关闭:若专用 GPU 内存已满,允许将模型权重卸载至共享内存",
"load.gpuStrictVramCap.customSubTitleOn": "开启:系统将限制模型权重的卸载仅限于专用 GPU 内存及 RAM 。上下文仍可能使用共享内存",
Expand All @@ -139,6 +143,9 @@
"llm.load.seed/title": "种子",
"llm.load.seed/subTitle": "用于文本生成的随机数生成器的种子。-1 表示随机",
"llm.load.seed/info": "随机种子:设置随机数生成的种子以确保可重复的结果",
"llm.load.numCpuExpertLayersRatio/title": "强制将 MoE 权重放在 CPU 上的层数",
"llm.load.numCpuExpertLayersRatio/subTitle": "将专家强制放入 CPU 的层数。节省 VRAM 并且可以比部分 GPU 卸载更快。如果模型完全适合 VRAM,则不推荐使用。",
"llm.load.numCpuExpertLayersRatio/info": "指定强制将专家放入 CPU 的层数。将注意力层留在 GPU 上,节省 VRAM 同时保持推理相当快。",

"llm.load.llama.evalBatchSize/title": "评估批处理大小",
"llm.load.llama.evalBatchSize/subTitle": "每次处理的输入token数量。增加此值会提高性能,但会增加内存使用量",
Expand Down Expand Up @@ -311,10 +318,10 @@
},
"speculativeDecodingDraftModel": {
"readMore": "了解工作原理",
"placeholder": "选择兼容的草稿模型",
"noCompatible": "当前模型选择下未找到兼容的草稿模型",
"stillLoading": "正在识别兼容的草稿模型...",
"notCompatible": "所选草稿模型(<draft/>)与当前模型选择(<current/>)不兼容。",
"placeholder": "选择兼容的推测模型",
"noCompatible": "当前模型选择下未找到兼容的推测模型",
"stillLoading": "正在识别兼容的推测模型...",
"notCompatible": "所选推测模型(<draft/>)与当前模型选择(<current/>)不兼容。",
"off": "关闭",
"loadModelToSeeOptions": "加载模型 <keyboard-shortcut /> 以查看兼容选项",
"compatibleWithNumberOfModels": "推荐用于至少 {{dynamicValue}} 个模型",
Expand All @@ -323,19 +330,19 @@
"recommendedForQwenModels": "推荐用于 Qwen 模型",
"onboardingModal": {
"introducing": "新功能介绍",
"speculativeDecoding": "投机解码",
"speculativeDecoding": "推测解码",
"firstStepBody": "<custom-span>llama.cpp</custom-span> 和 <custom-span>MLX</custom-span> 模型推理加速",
"secondStepTitle": "投机解码能够加速推理",
"secondStepBody": "投机解码是一种让两个模型协作的技术:\n - 一个规模较大的“主”模型\n - 一个较小的“草稿”模型\n\n生成过程中,草稿模型会快速提出token,由主模型进行验证。验证的过程比实际生成更快。\n**通常,主模型与草稿模型的体积差距越大,加速效果越明显。**\n\n为了保证质量,主模型只会接受与自身结果一致的token,从而实现大模型的响应质量与更快的推理速度。两个模型必须使用相同的词表。",
"draftModelRecommendationsTitle": "草稿模型推荐",
"secondStepTitle": "推测解码能够加速推理",
"secondStepBody": "推测解码是一种让两个模型协作的技术:\n - 一个规模较大的“主”模型\n - 一个较小的“推测”模型\n\n生成过程中,推测模型会快速提出token,由主模型进行验证。验证的过程比实际生成更快。\n**通常,主模型与推测模型的体积差距越大,加速效果越明显。**\n\n为了保证质量,主模型只会接受与自身结果一致的token,从而实现大模型的响应质量与更快的推理速度。两个模型必须使用相同的词表。",
"draftModelRecommendationsTitle": "推测模型推荐",
"basedOnCurrentModels": "基于您当前的模型",
"close": "关闭",
"next": "下一步",
"done": "完成"
},
"speculativeDecodingLoadModelToSeeOptions": "请先加载模型 <model-badge /> ",
"errorEngineNotSupported": "投机解码需引擎 {{engineName}} 至少版本 {{minVersion}}。请更新引擎(<key/>)并重新加载模型以使用此功能。",
"errorEngineNotSupported/noKey": "投机解码需引擎 {{engineName}} 至少版本 {{minVersion}}。请更新引擎并重新加载模型以使用此功能。"
"errorEngineNotSupported": "推测解码需{{engineName}} 引擎的版本至少 {{minVersion}}。请更新引擎(<key/>)并重新加载模型以使用此功能。",
"errorEngineNotSupported/noKey": "推测解码需{{engineName}} 引擎的版本至少 {{minVersion}}。请更新引擎并重新加载模型以使用此功能。"
},
"llmReasoningParsing": {
"startString/label": "起始字符串",
Expand Down Expand Up @@ -372,21 +379,21 @@

"presets": {
"title": "预设",
"commitChanges": "提交更改",
"commitChanges/description": "将您的更改提交给预设。",
"commitChanges.manual": "检测到新的字段。您将能够选择要包含在预设中的更改。",
"commitChanges.manual.hold.0": "按住",
"commitChanges.manual.hold.1": "选择要提交给预设的更改。",
"commitChanges.saveAll.hold.0": "按住",
"commitChanges.saveAll.hold.1": "保存所有更改。",
"commitChanges.saveInPreset.hold.0": "按住",
"commitChanges.saveInPreset.hold.1": "仅保存已经包含在预设中的字段的更改。",
"commitChanges/error": "未能将更改提交给预设。",
"commitChanges.manual/description": "选择要包含在预设中的更改。",
"saveChanges": "提交更改",
"saveChanges/description": "将您的更改提交给预设。",
"saveChanges.manual": "检测到新的字段。您将能够选择要包含在预设中的更改。",
"saveChanges.manual.hold.0": "按住",
"saveChanges.manual.hold.1": "选择要提交给预设的更改。",
"saveChanges.saveAll.hold.0": "按住",
"saveChanges.saveAll.hold.1": "保存所有更改。",
"saveChanges.saveInPreset.hold.0": "按住",
"saveChanges.saveInPreset.hold.1": "仅保存已经包含在预设中的字段的更改。",
"saveChanges/error": "未能将更改提交给预设。",
"saveChanges.manual/description": "选择要包含在预设中的更改。",
"saveAs": "另存为新预设...",
"presetNamePlaceholder": "为预设输入一个名称...",
"cannotCommitChangesLegacy": "这是一个旧版预设,无法修改。您可以使用“另存为新预设...”创建一个副本。",
"cannotCommitChangesNoChanges": "没有更改可以提交。",
"cannotsaveChangesNoChanges": "没有更改可以提交。",
"emptyNoUnsaved": "选择一个预设...",
"emptyWithUnsaved": "未保存的预设",
"saveEmptyWithUnsaved": "保存预设为...",
Expand Down Expand Up @@ -492,14 +499,14 @@
},
"import": {
"title": "从文件导入预设",
"dragPrompt": "拖拽预设 JSON 文件或<custom-link>从电脑选择</custom-link>",
"dragPrompt": "拖放预设文件 (.tar.gz 或 preset.json) 或 <custom-link>从计算机中选择</custom-link>",
"remove": "移除",
"cancel": "取消",
"importPreset_zero": "导入预设",
"importPreset_one": "导入预设",
"importPreset_other": "导入 {{count}} 个预设",
"selectDialog": {
"title": "选择预设文件.json 或者 .tar.gz",
"title": "选择预设文件 (preset.json .tar.gz)",
"button": "导入"
},
"error": "导入预设失败",
Expand Down Expand Up @@ -559,7 +566,7 @@
"environmentVariables": "环境变量",
"environmentVariables.info": "如果不确定,请保留默认值",
"environmentVariables.reset": "重置为默认值",

"gpus.information": "配置检测到的图形处理单元 (GPU)",
"gpuSettings": {
"editMaxCapacity": "编辑最大容量",
Expand Down
Loading
Loading