Skip to content

Commit

Permalink
fix: missing or inaccurate zh-cn translations (#1558)
Browse files Browse the repository at this point in the history
# Description

There are some missing(like some russian and traditional chinese words)
or inaccurate texts in zh-ch locale.

## Checklist before requesting a review

Please delete options that are not relevant.

- [x] My code follows the style guidelines of this project
- I am confusing that not all the json files have same indent spaces. I
am not sure is it ok that the 4-spaces ones were changed to 2-spaces. 😅
- [x] I have performed a self-review of my code

## Screenshots (if appropriate):
  • Loading branch information
coolCatalyst committed Nov 2, 2023
1 parent 40009be commit e074df8
Show file tree
Hide file tree
Showing 13 changed files with 216 additions and 216 deletions.
96 changes: 48 additions & 48 deletions frontend/public/locales/zh-cn/brain.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
{
"searchBrain": "搜索大脑",
"selectBrain": "请选择一个大脑",
"brainCreated": "大脑创建成功",
"newBrain": "添加新大脑",
"newBrainTitle": "添加新大脑",
"newBrainSubtitle": "为您的数据创建一个新空间",
"brainName": "大脑名称",
"brainNamePlaceholder": "例如:历史笔记",
"brainDescription": "描述",
"brainDescriptionPlaceholder": "我的新大脑是关于...",
"shareBrain": "分享大脑 {{name}}",
"shareBrainUsers": "具有访问权限的用户",
"shareBrainLink": "点击复制链接来分享你的大脑",
"copiedToClipboard": "复制到剪贴板",
"inviteUsers": "添加新用户",
"usersInvited": "用户成功邀请",
"errorSendingInvitation": "发送邀请时发生错误",
"brainUndefined": "大脑未定义",
"noBrainUsers": "没有大脑用户",
"errorFetchingBrainUsers": "获取大脑用户时发生错误",
"usersWithAccess": "具有访问权限的用户",
"userRoleUpdated": "成功将 {{email}} 更新为 {{newRole}}",
"userRoleUpdateFailed": "无法将 {{email}} 更新为 {{newRole}}",
"userRemoved": "从大脑中删除了 {{email}}",
"userRemoveFailed": "无法从大脑中删除 {{email}}",
"defaultBrain": "默认大脑",
"setDefaultBrain": "设置为默认大脑",
"errorCreatingBrain": "创建大脑时发生错误",
"private_brain_label": "私有",
"public_brain_label": "公开",
"brain_status_label": "状态",
"set_brain_status_to_public_modal_title": "您确定要将此设置为<span class='text-primary'>公共</span>?<br/><br/>",
"set_brain_status_to_public_modal_description": "每个 Quivr 用户将能够:<br/>- 在 '大脑库' 中订阅您的大脑。<br/>- 使用此大脑并检查提示和模型配置。<br/><br/>他们将无法访问您上传的文件和人员部分。",
"confirm_set_brain_status_to_public": "是的,设为公共",
"cancel_set_brain_status_to_public": "不,保持私密",
"brain_library_button_label": "大脑库",
"public_brains_search_bar_placeholder": "搜索公共大脑",
"public_brain_subscribe_button_label": "订阅",
"public_brain_subscription_success_message": "Вы успешно подписались на мозг",
"public_brain_last_update_label": "Последнее обновление",
"public_brain_already_subscribed_button_label": "已订阅",
"set_brain_status_to_private_modal_title": "您确定要将此设置为<span class='text-primary'>私有</span>?<br/><br/>",
"set_brain_status_to_private_modal_description": "Quivr的用户将无法再使用此大脑,并且不会在大脑库中看到它。",
"confirm_set_brain_status_to_private": "是的,设为私有",
"cancel_set_brain_status_to_private": "不,保持为公开",
"brain_management_button_label": "管理",
"empty_brain_description": "无描述",
"myBrains": "我的大脑"
"searchBrain": "搜索大脑",
"selectBrain": "请选择一个大脑",
"brainCreated": "大脑创建成功",
"newBrain": "添加新大脑",
"newBrainTitle": "添加新大脑",
"newBrainSubtitle": "为您的数据创建一个新空间",
"brainName": "大脑名称",
"brainNamePlaceholder": "例如:历史笔记",
"brainDescription": "描述",
"brainDescriptionPlaceholder": "我的新大脑是关于",
"shareBrain": "分享大脑 {{name}}",
"shareBrainUsers": "具有访问权限的用户",
"shareBrainLink": "点击复制链接来分享大脑",
"copiedToClipboard": "已复制到剪贴板",
"inviteUsers": "添加新用户",
"usersInvited": "已成功邀请用户",
"errorSendingInvitation": "发送邀请时发生错误",
"brainUndefined": "大脑未定义",
"noBrainUsers": "没有大脑用户",
"errorFetchingBrainUsers": "获取大脑用户时发生错误",
"usersWithAccess": "具有访问权限的用户",
"userRoleUpdated": "成功将 {{email}} 更新为 {{newRole}}",
"userRoleUpdateFailed": "无法将 {{email}} 更新为 {{newRole}}",
"userRemoved": "从大脑中删除了 {{email}}",
"userRemoveFailed": "无法从大脑中删除 {{email}}",
"defaultBrain": "默认大脑",
"setDefaultBrain": "设置为默认大脑",
"errorCreatingBrain": "创建大脑时发生错误",
"private_brain_label": "私有",
"public_brain_label": "公共",
"brain_status_label": "访问模式",
"set_brain_status_to_public_modal_title": "您确定要将大脑设置为可<span class='text-primary'>公共</span>访问吗?<br/><br/>",
"set_brain_status_to_public_modal_description": "每个 Quivr 用户都可以:<br/>- 在 大脑库” 中订阅此大脑。<br/>- 使用此大脑并检查提示和模型配置。<br/><br/>他们将无法访问您上传的文件和人员部分。",
"confirm_set_brain_status_to_public": "是的,设为公共",
"cancel_set_brain_status_to_public": "不,保持私有",
"brain_library_button_label": "大脑库",
"public_brains_search_bar_placeholder": "搜索公共大脑",
"public_brain_subscribe_button_label": "订阅",
"public_brain_subscription_success_message": "您成功订阅了该大脑",
"public_brain_last_update_label": "最后更新",
"public_brain_already_subscribed_button_label": "已订阅",
"set_brain_status_to_private_modal_title": "您确定要将此大脑设置为<span class='text-primary'>私有</span>模式吗?<br/><br/>",
"set_brain_status_to_private_modal_description": "Quivr 用户将无法再使用此大脑,并且不会在大脑库中看到它。",
"confirm_set_brain_status_to_private": "是的,设为私有",
"cancel_set_brain_status_to_private": "不,保持公开",
"brain_management_button_label": "管理",
"empty_brain_description": "无描述",
"myBrains": "我的大脑"
}
38 changes: 19 additions & 19 deletions frontend/public/locales/zh-cn/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
"title": "与 {{brain}} 聊天",
"brain": "大脑",
"keyboard_shortcuts": "键盘快捷键",
"brains": "大脑们",
"brains": "大脑",
"subtitle": "与语言模型讨论您上传的数据",
"limit_reached": "您已达到请求限制,请稍后再试",
"error_occurred": "获取答案时发生错误",
"noCurrentBrain": "没有当前的大脑",
"errorParsingData": "解析数据时发生错误",
"resposeBodyNull": "响应内容为空",
"tooManyRequests": "您已超过每天的请求次数。想要继续聊天,请在您的个人资料或使用的大脑中输入OpenAI API密钥",
"receivedResponse": "收到响应。开始处理流...",
"errorCallingAPI": "调用API时出错",
"ask": "提出一个问题,或描述一个任务。",
"begin_conversation_placeholder": "在这里开始对话...",
"thinking": "思考中...",
"tooManyRequests": "您已超过每天的请求次数。想要继续聊天,请在您的个人资料中或为当前大脑配置 OpenAI API 密钥",
"receivedResponse": "收到响应。开始处理流",
"errorCallingAPI": "调用 API 时出错",
"ask": "提一个问题,或描述一个任务。",
"begin_conversation_placeholder": "在这里开始对话",
"thinking": "思考中",
"chat": "聊天",
"errorFetching": "获取您的聊天记录时发生错误",
"chatDeleted": "聊天删除成功. Id: {{id}}",
Expand All @@ -26,30 +26,30 @@
"shortcut_create_brain": "@+: 创建一个新的大脑",
"shortcut_feed_brain": "/+: 用知识充实大脑",
"shortcut_create_prompt": "#+: 创建一个新的自定义提示",
"shortcut_manage_brains": "CMDB: 管理你的大脑",
"shortcut_manage_brains": "CMDB: 管理大脑",
"shortcut_go_to_user_page": "CMDU: 进入用户页面",
"shortcut_go_to_shortcuts": "CMDK: 前往快捷方式",
"actions_bar_placeholder": "@大脑提问,选择您的#提示",
"actions_bar_placeholder": " @大脑 提问,选择您的 #提示",
"missing_brain": "请选择一个大脑进行聊天",
"new_prompt": "新提示",
"feed_brain_placeholder": "选择要用这些文件喂养的 @大脑",
"feedingBrain": "您新添加的知识正在处理中,同时您可以继续聊天",
"feed_brain_placeholder": "选择要用这些文件充实的 @大脑",
"feedingBrain": "您新添加的知识正在处理中,不影响您继续聊天",
"add_content_card_button_tooltip": "向大脑添加知识",
"back_to_chat": "返回聊天",
"onboarding": {
"title": "嗨 👋🏻 想要探索 Quivr?😇",
"step_1_1": "1. 在聊天框或📎上拖放文件。",
"step_1_2": "没有文件?下载 'Quivr 文档'",
"step_2": "2. 开始与您的文件聊天",
"step_1_1": "1. 在聊天框或 📎 上拖放文件。",
"step_1_2": "没有文件?下载 Quivr 文档",
"step_2": "2. 开始与您的文件聊天",
"step_3": "3. 尽情享受!",
"how_to_use_quivr": "如何使用Quivr",
"what_is_quivr": "什么是Quivr",
"how_to_use_quivr": "如何使用 Quivr",
"what_is_quivr": "什么是 Quivr",
"what_is_brain": "什么是大脑?",
"answer": {
"how_to_use_quivr": "查看文档https://brain.quivr.app/docs/intro.html",
"what_is_quivr": "Quivr是一个有用的助手",
"how_to_use_quivr": "查看文档 https://brain.quivr.app/docs/intro.html",
"what_is_quivr": "Quivr 是一个有用的助手",
"what_is_brain": "大脑包含知识。"
}
},
"welcome": "欢迎来到"
"welcome": "欢迎"
}
102 changes: 51 additions & 51 deletions frontend/public/locales/zh-cn/config.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
{
"title": "配置",
"subtitle": "管理你的大脑",
"settings": "设置",
"people": "成员",
"knowledge": "知识",
"modelSection": "模型配置",
"openAiKeyLabel": "Open AI Key",
"openAiKeyPlaceholder": "sk-xxx",
"modelLabel": "模型",
"anthropicKeyPlaceholder": "Anthropic API Key",
"anthropicKeyLabel": "Anthropic API Key",
"temperature": "随机性(Temperature)",
"maxTokens": "最大tokens数",
"accountSection": "您的账户",
"signedInAs": "已登录为",
"backendSection": "后台配置",
"backendUrlPlaceHolder": "后台地址",
"backendUrlLabel": "后台地址",
"supabaseURLPlaceHolder": "Supabase URL",
"supabaseURLLabel": "Supabase URL",
"supabaseKeyPlaceHolder": "Supabase key",
"supabaseKeyLabel": "Supabase key",
"keepInLocal": "保留在本地",
"customPromptSection": "自定义提示",
"selectQuivrPersonalityBtn": "选择一个Quivr的性格",
"promptName": "提示标题",
"promptNamePlaceholder": "我的提示名称",
"promptContent": "提示内容",
"promptContentPlaceholder": "作为一个人工智能,你...",
"promptRemoved": "成功删除提示",
"errorRemovingPrompt": "删除提示时出错",
"removePrompt": "删除提示",
"newAPIKey": "创建新密钥",
"configSaved": "配置已保存",
"configReset": "配置已重置",
"invalidOpenAiKey": "无效的 OpenAI Key",
"error.createApiKey": "创建API密钥时出错",
"error.copy": "复制失败",
"updatingBrainSettings": "更新大脑设置中...",
"defaultBrainSet": "大脑已成功设置为默认值。",
"nameRequired": "名称为必填项",
"promptFieldsRequired": "提示标题和内容是必需的",
"brainUpdated": "大脑更新成功",
"publicPrompts": "在公共提示中选择",
"roleRequired": "您没有访问此选项卡所需的权限 🧠💡🥲.",
"requireAccess": "请向所有者申请访问权限.",
"ohno": "哎呀!",
"noUser": "没有用户",
"incorrectApiKey": "无效的API密钥",
"invalidApiKeyError": "无效的API密钥",
"apiKey": "API密钥"
"title": "配置",
"subtitle": "管理大脑",
"settings": "设置",
"people": "成员",
"knowledge": "知识",
"modelSection": "模型配置",
"openAiKeyLabel": "Open AI 密钥",
"openAiKeyPlaceholder": "sk-xxx",
"modelLabel": "模型",
"anthropicKeyPlaceholder": "Anthropic API 密钥",
"anthropicKeyLabel": "Anthropic API 密钥",
"temperature": "温度",
"maxTokens": "最大 Token 数",
"accountSection": "您的账户",
"signedInAs": "已登录为",
"backendSection": "后台配置",
"backendUrlPlaceHolder": "后台 URL",
"backendUrlLabel": "后台 URL",
"supabaseURLPlaceHolder": "Supabase URL",
"supabaseURLLabel": "Supabase URL",
"supabaseKeyPlaceHolder": "Supabase 密钥",
"supabaseKeyLabel": "Supabase 密钥",
"keepInLocal": "保留在本地",
"customPromptSection": "自定义提示",
"selectQuivrPersonalityBtn": "选择 Quivr 的性格",
"promptName": "提示标题",
"promptNamePlaceholder": "特别棒的提示名称",
"promptContent": "提示内容",
"promptContentPlaceholder": "作为一个人工智能,你",
"promptRemoved": "成功删除提示",
"errorRemovingPrompt": "删除提示时出错",
"removePrompt": "删除提示",
"newAPIKey": "创建新 API 密钥",
"configSaved": "配置已保存",
"configReset": "配置已重置",
"invalidOpenAiKey": "无效的 OpenAI 密钥",
"error.createApiKey": "创建 API 密钥时出错",
"error.copy": "复制失败",
"updatingBrainSettings": "更新大脑设置中",
"defaultBrainSet": "大脑已成功设置为默认值。",
"nameRequired": "名称为必填项",
"promptFieldsRequired": "提示标题和内容为必填项",
"brainUpdated": "大脑更新成功",
"publicPrompts": "在公共提示中选择",
"roleRequired": "您没有访问此选项卡所需的权限 🧠💡🥲.",
"requireAccess": "请向所有者申请访问权限.",
"ohno": "哎呀!",
"noUser": "没有用户",
"incorrectApiKey": "错误的 API 密钥",
"invalidApiKeyError": "无效的 API 密钥",
"apiKey": "API 密钥"
}
6 changes: 3 additions & 3 deletions frontend/public/locales/zh-cn/contact.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"speak_to": "与我们的",
"sales_team": "销售团队联系",
"speak_to": "联系我们的",
"sales_team": "销售团队",
"form": {
"email": "工作电子邮件",
"question": "问题",
Expand All @@ -10,4 +10,4 @@
"thank_you_text": "我们会尽快回复您。",
"sending_mail_error": "发送消息时出错。请稍后再试。"
}
}
}
18 changes: 9 additions & 9 deletions frontend/public/locales/zh-cn/deleteOrUnsubscribeFromBrain.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"deleteButton": "删除大脑",
"deleteConfirmQuestion": "您确定要删除这个大脑吗?此操作无法撤销!",
"deleteConfirmYes": "是的,我要删除",
"returnButton": "返回",
"unsubscribeButton": "取消关注大脑",
"unsubscribeConfirmQuestion": "您确定要取消订阅此大脑吗?",
"unsubscribeConfirmYes": "是的,取消订阅此大脑",
"successfully_deleted": "成功删除大脑",
"successfully_unsubscribed": "您已成功取消订阅此大脑。"
"deleteButton": "删除大脑",
"deleteConfirmQuestion": "您确定要删除这个大脑吗?此操作无法撤销!",
"deleteConfirmYes": "是的,我要删除",
"returnButton": "返回",
"unsubscribeButton": "取消订阅大脑",
"unsubscribeConfirmQuestion": "您确定要取消订阅此大脑吗?",
"unsubscribeConfirmYes": "是的,取消订阅此大脑",
"successfully_deleted": "大脑已成功删除",
"successfully_unsubscribed": "您已成功取消订阅此大脑。"
}
14 changes: 7 additions & 7 deletions frontend/public/locales/zh-cn/explore.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"title": "探索上传的数据",
"subtitle": "查看、下载或删除您的大脑使用的知识",
"empty": "哎呀,你的大脑空空如也.",
"noBrain": "没有找到大脑",
"subtitle": "查看、下载或删除大脑使用的知识",
"empty": "哎呀,大脑空空如也。",
"noBrain": "没有找到相应 ID 的大脑",
"sessionNotFound": "未找到用户会话",
"deleted": "从大脑 {{brain}} 中删除 {{fileName}}",
"deleted": "{{fileName}} 已从大脑 {{brain}} 中删除",
"errorDeleting": "删除 {{fileName}} 时发生错误",
"view": "查看",
"chunkNumber": "No. of chunks: {{quantity}}",
"chunkNumber": "数据块数量: {{quantity}}",
"notAvailable": "不可用",
"deleteConfirmTitle": "提交",
"deleteConfirmText": "你真的要删除吗?",
"deleteConfirmText": "您真的要删除吗?",
"feed_brain_instructions": "要向大脑添加知识,请转到聊天页面,然后单击聊天输入框左侧的加号按钮。"
}
}
26 changes: 13 additions & 13 deletions frontend/public/locales/zh-cn/home.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"sign_in": "登录",
"sign_up": "注册",
"star_us": "在Github上给我们加星",
"star_us": "Github 星标我们",
"blog": "博客",
"sponsored_by": "赞助商",
"useCases": {
"title": "立刻体验",
"subtitle": "查看我们使用 Quivr 的示例。"
"title": "立刻体验",
"subtitle": "查看我们的示例,了解如何使用 Quivr"
},
"intro": {
"title": "通过获取第二个大脑",
"subtitle": "上传所有文件并开始与它们交流",
"try_demo": "试用免费演示",
"title": "拥有第二大脑,只需",
"subtitle": "上传您的所有文件,直接与它们对话",
"try_demo": "免费试用演示",
"contact_sales": "联系销售团队"
},
"demo": {
Expand All @@ -22,13 +22,13 @@
"cta": "立即开始"
},
"footer": {
"title": "今日开始",
"description_1": "您的个人助手,充当您的第二大脑",
"description_2": "只需上传您的文件并向其提问。",
"start_using": "开始使用Quivr",
"title": "立即开始",
"description_1": "您的个人助理,充当您的第二大脑",
"description_2": "只需上传您的文件,然后向其提问",
"start_using": "开始使用 Quivr",
"contact_sales": "联系销售团队"
},
"testimonials":{
"title": "人们对此的评价"
"testimonials": {
"title": "用户评价"
}
}
}
Loading

0 comments on commit e074df8

Please sign in to comment.