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

Added Chinese translation #82

Open
wants to merge 12 commits 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
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ LM Studio localization
- Vietnamese [@trinhvanminh](https://github.com/trinhvanminh)
- Portuguese (BR) [@Sm1g00l](https://github.com/Sm1g00l)
- Portuguese (PT) [@catarino](https://github.com/catarino)

- Chinese(简体中文) [@cfwvip](https://github.com/cfwvip)

Still under development (due to lack of RTL support in LM Studio)
- Hebrew: [@NHLOCAL](https://github.com/NHLOCAL)
109 changes: 109 additions & 0 deletions cn/chat.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"modelLoaderPlaceholder": "选择要加载的模型",
"systemPromptPlaceholder": "设置系统提示",
"userRoleText": "用户",
"assistantRoleText": "助手",
"addMessageButtonText": "添加",
"addMessageButtonText/toolTip": "将消息插入到上下文中而不触发预测",
"sendMessageButtonText": "发送",
"sendMessageButtonText/toolTip": "将您的提示和对话历史发送到模型进行处理",
"ejectButtonText": "弹出",
"unloadTooltip": "从内存中弹出模型",
"cancelButtonText": "取消",
"loadButtonText": "加载",
"advancedSegmentText": "高级",
"chatSegmentText": "聊天",
"chatSidebarTitle": "聊天记录",
"newChatButton": "新建聊天",
"newFolderButton": "新建文件夹",
"viewModeLabel": "视图模式",
"noChatSelected": "未选择聊天",
"chatViewOptions": "聊天视图选项",
"uiControls/title": "显示设置",
"noChatSelectedPlaceholder": "选择一个聊天",
"unnamedChat": "未命名聊天",
"emptyFolder": "文件夹为空",
"notes": "对话笔记",
"notes/add/first": "添加笔记",
"notes/add/another": "添加另一条笔记",
"notes/hint": "将笔记保存到此聊天中。笔记仅供您参考,不会发送到模型。所有更改都会自动保存。",
"notes/placeholder": "在此处输入您的笔记...",
"notes/delete": "删除笔记",
"notes/noteLabel": "笔记",
"notes/copyContent": "复制笔记内容",
"actions/sendMessage/error": "发送消息失败",
"actions/loadModel/error": "🥲 加载模型失败",
"actions/addFile": "[实验性功能] 将文件附加到此消息\n(.pdf、纯文本或 .docx)",
"actions/changeRole": "在用户和助手角色之间切换。\n\n这对于引导对话朝着特定方向发展很有用。\n\n可用于模拟“少样本学习”或“上下文学习”场景",
"actions/addImage": "添加图片",
"actions/deleteMessage": "删除消息",
"actions/deleteMessage/confirmation": "您确定要删除此消息吗?",
"actions/copyMessage": "复制消息",
"actions/editMessage": "编辑消息",
"actions/editMessage/cannotEditPreprocessed": "无法编辑预处理的消息,因为它们会在运行预处理器后被覆盖。要编辑消息,请执行以下任一操作: \n\n - 切换到原始消息并对其进行编辑,或者\n - 更改预处理器以使其生成所需的输出。",
"actions/regenerateMessage": "重新生成消息",
"actions/regenerateMessage/error": "重新生成消息失败",
"actions/branchChat": "在此消息后分支聊天",
"actions/branchChat/error": "分支聊天失败",
"actions/continueAssistantMessage": "继续助手消息",
"actions/continueAssistantMessage/error": "继续助手消息失败",
"actions/predictNext": "生成 AI 回复",
"actions/predictNext/error": "生成 AI 回复失败",
"actions/loadLastModel": "重新加载上次使用的模型",
"actions/loadLastModel/tooltip": "单击以加载上次与此聊天一起使用的模型:\n\n{{lastModel}}",
"actions/loadLastModel/error": "加载上次使用的模型失败。",
"actions/continueCurrentModel": "使用当前模型",
"actions/continueCurrentModel/tooltip": "当前模型:{{currentModel}}",
"actions/changeToLastUsedModel": "加载 {{lastModel}}",
"actions/changeToLastUsedModel/error": "更改为上次使用的模型失败。",
"actions/changeToLastUsedModel/tooltip": "您上次在此聊天中发送消息时使用了不同的模型。单击以卸载当前选择的模型 ({{currentModel}}) 并加载上次与此聊天一起使用的模型:\n\n{{lastModel}}",
"actions/switchToLastUsedModel": "切换到 {{lastModel}}",
"actions/switchToLastUsedModel/tooltip": "单击以切换到上次与此聊天一起使用的模型:\n\n{{lastModel}}",
"actions/loadModel": "加载模型",
"actions/toggleViewingProcessed/currentlyFalse": "当前正在查看原始消息。单击以查看预处理的消息。",
"actions/toggleViewingProcessed/currentlyTrue": "当前正在查看预处理的消息。单击以查看原始消息。",
"actions/toggleViewingProcessed/hint": "在将消息发送到模型之前,可能会由提示预处理器对其进行预处理。单击以在查看原始消息和预处理的消息之间切换。只有预处理的消息才会发送到模型。",
"editMessageConfirm/title": "保留更改?",
"editMessageConfirm/message": "您已对消息进行了更改。是否要保留这些更改?",
"editMessageConfirm/keepEditing": "继续编辑",
"editMessageConfirm/save": "保存",
"editMessageConfirm/discard": "放弃更改",
"tokenCount/totalNotAvailable": "令牌:{{current}}",
"tokenCount/totalAvailable": "令牌:{{current}}/{{total}}",
"modelLoader/manualLoadParams/label": "手动选择模型加载参数",
"modelLoader/manualLoadParams/hint/before": "(或按住 ",
"modelLoader/manualLoadParams/hint/after": ")",
"actions/move/error": "移动失败",
"actions/rename/error": "重命名失败",
"actions/createChatAtRoot": "新建聊天",
"actions/createChatAtRoot/error": "在根目录下创建聊天失败",
"actions/createFolderAtRoot": "新建文件夹",
"actions/createFolderAtRoot/error": "在根目录下创建文件夹失败",
"actions/createChat/error": "创建聊天失败",
"userFile/fileSizeLimit": "文件大小限制为 ",
"userFile/noImageSupport": "模型不支持图像输入",
"userFile/errorPrefix": "错误 - ",
"userFile/supportedImagePrefix": "不支持的图像类型 - 仅支持 ",
"userFile/supportedImageSuffix": " ",
"userFile/unsupportedFileType": "不支持的文件类型 - 仅支持图像、PDF 和 .txt 文件。",
"userFile/maxFilesPerMessage": "已达到每条消息的最大文件数。无法添加超过 {{files}} 个文件。 ",
"userFile/maxFileSizePerMessage": "已达到每条消息的最大文件大小。无法添加大于 {{size}} 的文件。 ",
"errorTitle": "错误",
"prediction/busyModel/title": "模型繁忙",
"prediction/busyModel/message": "请等待模型完成并重试",
"prediction/noModel/title": "未选择模型",
"prediction/noModel/message": "选择一个模型以发送消息",
"prediction/unloadModel/error": "卸载模型失败",
"retrieval/user/processingLabel": "AI 正在思考...",
"retrieval/powerUser/intermediateStepsHidden": "中间步骤已隐藏。单击以展开。",
"retrieval/actions/clickToExpand": "单击以展开中间步骤",
"retrieval/actions/clickToCollapse": "单击以折叠中间步骤",
"style": "聊天外观",
"style/viewMode/markdown": "Markdown",
"style/viewMode/plaintext": "纯文本",
"style/viewMode/monospace": "等宽字体",
"style/fontSize/label": "字体大小",
"style/fontSize/medium": "默认",
"style/fontSize/large": "大",
"style/fontSize/small": "小"
}
Loading