Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update zh-CN localization to 0.3.5+, partially. The en base commit SH… #186

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
98 changes: 91 additions & 7 deletions zh-CN/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,23 @@
"actions/createFolderAtRoot": "新建文件夹...",
"actions/createFolderAtRoot/error": "在根目录创建文件夹失败",
"actions/createChat/error": "创建聊天失败",

"actions/deleteChat/errorTitle": "删除聊天失败",

"userFile/fileSizeLimit": "文件大小限制为",
"userFile/noImageSupport": "模型不支持图片输入",
"userFile/errorPrefix": "错误 - ",
"userFile/supportedImagePrefix": "不支持的图片类型 - 仅支持",
"userFile/supportedImageSuffix": "。",
"userFile/unsupportedFileType": "不支持的文件类型 - 仅支持图片、PDF 和 .txt 文件。",
"userFile/maxFilesPerMessage": "每条消息的最大文件数已达到。不能添加超过 {{files}} 个文件。",
"userFile/maxFileSizePerMessage": "每条消息的最大文件大小已达到。不能添加超过 {{size}} 的文件。",
"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}} 个文档在聊天中",

"prediction/busyModel/title": "模型忙碌中",
"prediction/busyModel/message": "请等待模型完成后再试",
"prediction/noModel/title": "未选择模型",
Expand All @@ -122,7 +128,19 @@
"style/fontSize/medium": "默认",
"style/fontSize/large": "大",
"style/fontSize/small": "小",


"style/debugBlocks/label": "显示调试信息块",

"messageBlocks": {
"expandBlockTooltip": "展开内容",
"collapseBlockTooltip": "收起内容",
"debug": {
"label": "DEBUG INFO",
"collapseTooltip": "收起调试信息块",
"expandTooltip": "展开调试信息块"
}
},

"topBarActions/duplicateChat": "复制聊天",
"topBarActions/clearChat": "清除所有消息",
"topBarActions/clearChatConfirmation": "您确定要清除此聊天中的所有消息吗?",
Expand All @@ -131,5 +149,71 @@

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

"plugins": {
"pluginTrigger": {
"noPlugins": "插件",
"multiplePlugins": "{{dynamicValue}} 插件"
},
"pluginSelect": {
"title": "插件",
"dropdown": {
"configure": "配置",
"disable": "禁用",
"fork": "分叉",
"uninstall": "卸载"
},
"actionButtons": {
"create": "+ 创建",
"import": "导入",
"discover": "发现"
},
"recentlyCreated": {
"title": "最近创建的插件",
"placeholder": "你创建的插件会展示在这里"
},
"startRunningDevelopmentPlugin/error": "开始在开发者模式下运行插件失败",
"stopRunningDevelopmentPlugin/error": "停止在开发者模式下运行插件失败"
},
"pluginConfiguration": {
"title": "插件配置",
"selectAPlugin": "选择一个插件以编辑配置",
"preprocessorAndGenerator": "这个插件包含一个自定义的预处理器和生成器",
"generatorOnly": "这个插件包含一个自定义的生成器",
"preprocessorOnly": "这个插件包含一个自定义的预处理器"
},
"instructions": {
"runTheFollowing": "要运行你的插件,请打开一个终端并进入",
"pushTo": "上传到Hub以分享你的插件(可选)",
"createdSuccessfully": "成功创建插件",
"creatingPlugin": "正在创建插件...",
"projectFilesTitle": "项目文件",
"buttons": {
"documentation": "文档",
"dismiss": "取消",
"publish": "发布",
"openInZed": "在 Zed 中打开",
"openInVscode": "在 VS Code 中打开",
"revealInFinder": "在 Finder 中显示",
"openInFileExplorer": "在 文件资源管理器 中打开"
}
}
},

"genInfo": {
"tokensPerSecond": "{{tokensPerSecond}} tok/sec",
"predictedTokensCount": "{{predictedTokensCount}} tokens",
"timeToFirstTokenSec": "{{timeToFirstTokenSec}}s to first token",
"stopReason": "停止原因: {{stopReason}}",
"stopReason.userStopped": "用户终止",
"stopReason.modelUnloaded": "模型卸载",
"stopReason.failed": "生成失败",
"stopReason.eosFound": "发现停止符(EOS Token Found)",
"stopReason.stopStringFound": "发现停止字符串",
"stopReason.toolCalls": "工具引发",
"stopReason.maxPredictedTokensReached": "预测令牌数量达到上限",
"stopReason.contextLengthReached": "上下文长度达到上限",
"speculativeDecodedBy": "草稿模型: {{decodedBy}}"
}
}
70 changes: 66 additions & 4 deletions zh-CN/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@
"loadParameters/reload": "重新加载以应用更改",
"discardChanges": "放弃更改",
"loadModelToSeeOptions": "加载模型以查看选项",
"schematicsError.title": "配置示意图在以下字段中包含错误:",

"manifestSections": {
"structuredOutput/title": "结构化输出",
"speculativeDecoding/title": "Speculative Decoding",
"sampling/title": "采样",
"settings/title": "设置",
"toolUse/title": "工具用途",
"promptTemplate/title": "提示模板"
},

"llm.prediction.systemPrompt/title": "系统提示",
"llm.prediction.systemPrompt/description": "使用此字段向模型提供背景指令,如一套规则、约束或一般要求。",
"llm.prediction.systemPrompt/subTitle": "AI 指南",
Expand Down Expand Up @@ -111,6 +122,13 @@
"llm.load.llama.tryMmap/title": "尝试 mmap()",
"llm.load.llama.tryMmap/subTitle": "提高模型的加载时间。禁用此功能可能在模型大于可用系统 RAM 时提高性能",
"llm.load.llama.tryMmap/info": "直接从磁盘加载模型文件到内存",
"llm.load.llama.cpuThreadPoolSize/title": "CPU 线程池大小",
"llm.load.llama.cpuThreadPoolSize/subTitle": "分配给模型计算的 CPU 线程池的线程数量",
"llm.load.llama.cpuThreadPoolSize/info": "分配给模型计算的 CPU 线程池的线程数量。提高线程数并不总是与更好的性能相关联。默认值是<{{dynamicValue}}>。",
"llm.load.mlx.kvCacheQuantization/groupSize/title": "分组大小策略",
"llm.load.mlx.kvCacheQuantization/groupSize/accuracy": "精确",
"llm.load.mlx.kvCacheQuantization/groupSize/balanced": "平衡",
"llm.load.mlx.kvCacheQuantization/groupSize/speedy": "快速",

"embedding.load.contextLength/title": "上下文长度",
"embedding.load.contextLength/subTitle": "模型可以一次性关注的词元(token)最大数量。请参阅“推理参数”下的“对话溢出”选项以获取更多管理方式",
Expand All @@ -124,7 +142,7 @@
"embedding.load.llama.ropeFrequencyScale/title": "RoPE 频率比例",
"embedding.load.llama.ropeFrequencyScale/subTitle": "上下文长度按此因子缩放,以使用 RoPE 扩展有效上下文",
"embedding.load.llama.ropeFrequencyScale/info": "[高级] 修改旋转位置编码的频率缩放,以控制位置编码的粒度",
"embedding.load.llama.acceleration.offloadRatio/title": "GPU 卸载",
"embedding.load.llama.acceleration.offloadRatio/title": "GPU 任务卸载",
"embedding.load.llama.acceleration.offloadRatio/subTitle": "用于 GPU 加速的离散模型层数",
"embedding.load.llama.acceleration.offloadRatio/info": "设置卸载到 GPU 的层数。",
"embedding.load.llama.keepModelInMemory/title": "保持模型在内存中",
Expand All @@ -150,7 +168,10 @@
"excluded/title": "可能不适用",
"excluded/description": "以下字段包含在预设中,但在当前上下文中不适用。",
"legacy/title": "旧版预设",
"legacy/description": "这是一个旧版预设。它包括以下字段,这些字段现在要么自动处理,要么不再适用。"
"legacy/description": "此预设是一个旧版预设。它包括以下字段,这些字段现在要么自动处理,要么不再适用。",
"button/publish": "发布到 Hub",
"button/pushUpdate": "推送变更到 Hub",
"button/export": "导出"
},

"customInputs": {
Expand All @@ -160,6 +181,12 @@
"checkboxNumeric": {
"off": "关闭"
},
"llamaCacheQuantizationType": {
"off": "关闭"
},
"mlxKvCacheBits": {
"off": "关闭"
},
"stringArray": {
"empty": "<空>"
},
Expand Down Expand Up @@ -207,6 +234,10 @@
"off": "关闭"
}
},
"llamaAccelerationSplitStrategy": {
"evenly": "平均",
"favorMainGpu": "偏好主 GPU"
},
"saveConflictResolution": {
"title": "选择要包含在预设中的值",
"description": "挑选并选择要保留的值",
Expand All @@ -226,6 +257,8 @@
"cancel": "取消"
},
"empty": "<空>",
"noModelSelected": "未选择模型",
"apiIdentifier.label": "API 识别码",
"presets": {
"title": "预设",
"commitChanges": "提交更改",
Expand Down Expand Up @@ -257,13 +290,42 @@
"discardChanges": "丢弃未保存的更改",
"discardChanges/info": "丢弃所有未提交的更改并恢复预设至原始状态",
"newEmptyPreset": "创建新的空预设...",
"importPreset": "导入",
"contextMenuSelect": "选择预设",
"contextMenuDelete": "删除"
"contextMenuDelete": "删除",
"contextMenuShare": "发布",
"contextMenuOpenInHub": "在 Hub 上查看",
"contextMenuPushChanges": "推送变更",
"contextMenuExport": "导出文件",
"contextMenuRevealInExplorer": "在 文件资源管理器 中显示",
"contextMenuRevealInFinder": "在 Finder 中显示"
},

"flashAttentionWarning": "闪电注意力是一项实验性功能,可能会导致某些模型出现问题。如果您遇到问题,请尝试禁用它。",

"seedUncheckedHint": "随机种子",
"ropeFrequencyBaseUncheckedHint": "自动",
"ropeFrequencyScaleUncheckedHint": "自动"
"ropeFrequencyScaleUncheckedHint": "自动",

"hardware": {
"advancedGpuSettings": "高级 GPU 设置",
"advancedGpuSettings.info": "如果你不确定,保留默认值。",
"advancedGpuSettings.reset": "重置默认",
"environmentVariables": {
"title": "环境变量",
"description": "模型生命周期内的活动环境变量。",
"key.placeholder": "选择变量",
"value.placeholder": "值"
},
"mainGpu": {
"title": "主 GPU",
"description": "优先用于模型计算的 GPU。",
"placeholder": "选择主 GPU"
},
"splitStrategy": {
"title": "拆分策略",
"description": "如何拆分模型计算任务到多个 GPU。",
"placeholder": "选择拆分策略"
}
}
}
97 changes: 96 additions & 1 deletion zh-CN/developer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,19 @@
"serverOptions/contentLogging/title": "记录提示和响应",
"serverOptions/contentLogging/subtitle": "本地请求/响应日志记录设置",
"serverOptions/contentLogging/hint": "是否在本地服务器日志文件中记录提示和/或响应。",
"serverOptions/fileLoggingMode/title": "日志文件模式",
"serverOptions/fileLoggingMode/off/title": "关闭",
"serverOptions/fileLoggingMode/off/hint": "不创建日志文件",
"serverOptions/fileLoggingMode/succinct/hint": "记录与控制台中相同的内容。长请求将被截断。",
"serverOptions/fileLoggingMode/full/title": "完整",
"serverOptions/fileLoggingMode/full/hint": "不要截断长请求。",
"serverOptions/jitModelLoading/title": "即时模型加载",
"serverOptions/jitModelLoading/hint": "启用后,如果请求指定了一个未加载的模型,该模型将自动加载并使用。此外,\"/v1/models\" 端点还将包含尚未加载的模型。",
"serverOptions/loadModel/error": "加载模型失败",

"serverOptions/jitModelLoadingTTL/title": "自动卸载不适用的即时模型",
"serverOptions/unloadPreviousJITModelOnLoad/title": "只保留最后加载的即时模型",
"serverOptions/unloadPreviousJITModelOnLoad/hint": "确保任何时候都只有一个即时模型被加载 (卸载先前的模型)",

"serverLogs/scrollToBottom": "跳转到底部",
"serverLogs/clearLogs": "清除日志 ({{shortcut}})",
"serverLogs/openLogsFolder": "打开服务器日志文件夹",
Expand All @@ -53,7 +62,89 @@
"runtimeOptions/downloadIncompatibleRuntime": "此运行环境被认为与您的机器不兼容。它很可能无法正常工作。",
"runtimeOptions/noRuntimes": "未找到运行环境",

"runtimes": {
"manageLMRuntimes": "管理 LM 运行时",
"includeOlderRuntimeVersions": "包含旧运行时版本",
"dismiss": "取消",
"updateAvailableToast": {
"title": "LM 运行时可更新!"
},
"updatedToast": {
"title": " ✅ LM 运行时更新: {{runtime}} → v{{version}}",
"preferencesUpdated": "Newly loaded {{compatibilityTypes}} models will use the updated runtime."
},
"noAvx2ErrorMessage": "现在所有 LM 运行时需要 CPU 支持 AVX2",
"downloadableRuntimes": {
"runtimeExtensionPacks": "运行时扩展包",
"refresh": "刷新",
"refreshing": "刷新中...",
"filterSegment": {
"compatibleOnly": "仅限兼容的",
"all": "全部"
},
"card": {
"releaseNotes": "发布说明",
"latestVersionInstalled": "已安装最新版本",
"updateAvailable": "可更新"
}
},
"installedRuntimes": {
"manage": {
"title": "管理活动的运行时"
},
"dropdownOptions": {
"installedVersions": "管理版本",
"close": "关闭"
},
"tabs": {
"all": "全部",
"frameworks": "My Frameworks",
"engines": "My Engines"
},
"detailsModal": {
"installedVersions": "Installed versions for {{runtimeName}}",
"manifestJsonTitle": "Manifest JSON (advanced)",
"releaseNotesTitle": "发布说明",
"noReleaseNotes": "这个版本没有相关的发布说明",
"back": "返回",
"close": "关闭"
},
"noEngines": "No engines installed",
"noFrameworks": "No frameworks installed"
}
},
"inferenceParams/noParams": "此模型类型没有可配置的推理参数",

"quickDocs": {
"tabChipTitle": "Quick Docs",
"newToolUsePopover": "Code Snippets are now available here in \"Quick Docs\". Click here to get started with tool use!",
"newToolUsePopoverTitle": "📚 快速指南",
"learnMore": "ℹ️ 👾 To learn more about LM Studio local server endpoints, visit the [documentation](https://lmstudio.ai/docs).",
"helloWorld": {
"title": "Hello, World!"
},
"chat": {
"title": "聊天"
},
"structuredOutput": {
"title": "结构化输出"
},
"imageInput": {
"title": "图片输入"
},
"embeddings": {
"title": "Embeddings"
},
"toolUse": {
"title": "Tool Use",
"tab": {
"saveAsPythonFile": "保存为 Python 文件",
"runTheScript": "运行脚本:",
"savePythonFileCopyPaste": "为复制粘贴命令另存为Python文件"
}
},
"newBadge": "New"
},

"endpoints/openaiCompatRest/title": "支持的端点 (类似 OpenAI 的)",
"endpoints/openaiCompatRest/getModels": "列出当前已加载的模型",
Expand All @@ -63,6 +154,10 @@

"model.createVirtualModelFromInstance": "另存为新的虚拟模型",
"model.createVirtualModelFromInstance/error": "另存为新的虚拟模型失败",
"model": {
"toolUseSectionTitle": "工具用途",
"toolUseDescription": "检测到这个模型被训练为工具用途\n\n更多信息见: <custom-link>quick docs</custom-link>"
},

"apiConfigOptions/title": "API 配置"
}
1 change: 1 addition & 0 deletions zh-CN/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"modelsTable.arch/label": "架构",
"modelsTable.params/label": "参数",
"modelsTable.publisher/label": "发布者",
"modelsTable.displayName/label": "名称",
"modelsTable.llms/label": "LLM",
"modelsTable.embeddingModels/label": "嵌入模型",
"modelsTable.quant/label": "量化",
Expand Down
Loading