From 25f92dd1c3cc5595e527c10e39bd731fe6aaa5df Mon Sep 17 00:00:00 2001 From: Melaton <77706174+HundSimon@users.noreply.github.com> Date: Thu, 11 Apr 2024 23:23:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=8E=20:=20Update=20chinese=20localizat?= =?UTF-8?q?ion=20(#2384)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🌍 Update Chinese Translation Update Simplified Chinese Translation * Update Chinese Translation Formatting file, adding new translations, delete unused translations --- client/src/localization/languages/Zh.ts | 122 ++++++++++++++++++++---- 1 file changed, 101 insertions(+), 21 deletions(-) diff --git a/client/src/localization/languages/Zh.ts b/client/src/localization/languages/Zh.ts index 6d8c9d13ce..170c1d768a 100644 --- a/client/src/localization/languages/Zh.ts +++ b/client/src/localization/languages/Zh.ts @@ -64,17 +64,36 @@ export default { com_ui_capability_decline_requests: '限制不当信息', com_ui_limitations: '局限性', com_ui_limitation_incorrect_info: '可能会不时出现错误信息', - com_ui_limitation_harmful_biased: '可能会提供有害指示或者偏见', + com_ui_limitation_harmful_biased: + '可能会提供有害指示或者偏见', com_ui_limitation_limited_2021: '基于2021年以前信息训练', com_ui_experimental: '实验性', + com_ui_ascending: '升序', + com_ui_descending: '降序', + com_ui_show_all: '展开全部', + com_ui_name: '名称', + com_ui_date: '日期', + com_ui_storage: '存储', + com_ui_context: '上下文', + com_ui_size: '大小', + com_ui_host: '主机', + com_ui_update: '更新', + com_ui_authentication: '认证', + com_ui_instructions: '指令', + com_ui_description: '描述', + com_ui_error: '错误', + com_ui_select: '选择', com_ui_input: '输入', com_ui_close: '关闭', com_ui_model: '模型', com_ui_select_model: '模型选择', + com_ui_select_search_model: '以名称搜索模型', + com_ui_select_search_plugin: '以名称搜索插件', com_ui_use_prompt: '使用提示词', com_ui_prev: '上一页', com_ui_next: '下一页', com_ui_stop: '停止', + com_ui_upload_files: '上传文件', com_ui_prompt_templates: '对话模板', com_ui_hide_prompt_templates: '隐藏对话模板', com_ui_showing: '显示', @@ -90,6 +109,7 @@ export default { com_ui_cancel: '取消', com_ui_save: '保存', com_ui_save_submit: '保存并提交', + com_user_message: 'You', com_ui_copy_to_clipboard: '复制到剪贴板', com_ui_copied_to_clipboard: '已复制到剪贴板', com_ui_regenerate: '重新生成', @@ -102,16 +122,35 @@ export default { com_ui_revoke_info: '撤销所有用户提供的凭据', com_ui_confirm_action: '确认执行', com_ui_chats: '聊天', + com_ui_avatar: '头像', + com_ui_unknown: '未知', + com_ui_result: '结果', + com_ui_image_gen: '图片生成', + com_ui_assistant: '助手', + com_ui_assistants: '助手', + com_ui_attachment: '附件', + com_ui_assistants_output: '助手输出', com_ui_delete: '删除', + com_ui_create: '创建', com_ui_delete_conversation: '删除对话?', com_ui_delete_conversation_confirm: '这将删除', + com_ui_delete_assistant_confirm: + '确定要删除此助手吗?该操作无法撤销。', com_ui_preview: '预览', com_ui_upload: '上传', com_ui_connect: '连接', - com_auth_error_login: '无法登录,请确认提供的账户密码正确,并重新尝试。', - com_auth_error_login_rl: '尝试登录次数过多,请稍后再试。', - com_auth_error_login_ban: '根据我们的服务规则,您的帐号被暂时禁用。', - com_auth_error_login_server: '内部服务器错误,请稍后再试。', + com_ui_upload_delay: + '上传 "{0}" 时比预期花了更长时间。 文件正在进行检索索引,请稍候。', + com_ui_privacy_policy: '隐私政策', + com_ui_terms_of_service: '服务政策', + com_auth_error_login: + '无法登录,请确认提供的账户密码正确,并重新尝试。', + com_auth_error_login_rl: + '尝试登录次数过多,请稍后再试。', + com_auth_error_login_ban: + '根据我们的服务规则,您的帐号被暂时禁用。', + com_auth_error_login_server: + '内部服务器错误,请稍后再试。', com_auth_no_account: '新用户注册', com_auth_sign_up: '注册', com_auth_sign_in: '登录', @@ -134,7 +173,8 @@ export default { com_auth_password_not_match: '密码不一致', com_auth_continue: '继续', com_auth_create_account: '创建账号', - com_auth_error_create: '注册账户过程中出现错误,请重试。', + com_auth_error_create: + '注册账户过程中出现错误,请重试。', com_auth_full_name: '姓名', com_auth_name_required: '姓名为必填项', com_auth_name_min_length: '姓名至少3个字符', @@ -150,8 +190,10 @@ export default { com_auth_here: '这里', com_auth_to_reset_your_password: '重置密码。', com_auth_reset_password_link_sent: '重置密码链接已发送至邮箱', - com_auth_reset_password_email_sent: '重置密码邮件已发送至邮箱', - com_auth_error_reset_password: '重置密码出现错误,未找到对应的邮箱地址,请重新输入。', + com_auth_reset_password_email_sent: + '重置密码邮件已发送至邮箱', + com_auth_error_reset_password: + '重置密码出现错误,未找到对应的邮箱地址,请重新输入。', com_auth_reset_password_success: '密码重置成功', com_auth_login_with_new_password: '现在你可以使用你的新密码登录。', com_auth_error_invalid_reset_token: '重置密码的密钥已失效。', @@ -159,6 +201,7 @@ export default { com_auth_to_try_again: '再试一次。', com_auth_submit_registration: '注册提交', com_auth_welcome_back: '欢迎', + com_auth_back_to_login: '返回登录', com_endpoint_open_menu: '打开菜单', com_endpoint_bing_enable_sydney: '启用 Sydney', com_endpoint_bing_to_enable_sydney: '启用 Sydney', @@ -189,8 +232,14 @@ export default { ' 响应生成中可以使用的最大词元数。指定较低的值会得到更短的响应,而指定较高的值则会得到更长的响应。', com_endpoint_google_custom_name_placeholder: '为Google设置一个名称', com_endpoint_prompt_prefix_placeholder: '自定义提示词和上下文,默认为空', + com_endpoint_instructions_assistants_placeholder: + '覆盖助手的指令。这对于需要逐次修改行为非常有用。', + com_endpoint_prompt_prefix_assistants_placeholder: + '在助手的主要指令之上设置额外的指令或上下文。如果为空,则忽略。', com_endpoint_custom_name: '自定义名称', com_endpoint_prompt_prefix: '自定义指令', + com_endpoint_prompt_prefix_assistants: '额外命令', + com_endpoint_instructions_assistants: '覆写命令', com_endpoint_temperature: '温度', com_endpoint_default: '初始值', com_endpoint_top_p: 'Top P', @@ -198,15 +247,23 @@ export default { com_endpoint_max_output_tokens: '最大输出词元数', com_endpoint_openai_temp: '值越高表示输出越随机,值越低表示输出越确定。建议不要同时改变此值和Top P。', - com_endpoint_openai_max: '最大生成词元数。输入词元长度由模型的上下文长度决定。', + com_endpoint_openai_max: + '最大生成词元数。输入词元长度由模型的上下文长度决定。', com_endpoint_openai_topp: '相较于随机性的另一个取样方法,称为核采样,模型选取输出词元中大于P值(概率密度在整个概率分布中的比例)的结果。比如 top_p=0.1 表示只有概率占比为前10%的词元才会被考虑作为输出。建议不要同时改变此值和随机性。', com_endpoint_openai_freq: '值介于-2.0到2.0之间。正值将惩罚当前已频繁使用的词元,从而降低重复用词的可能性。', com_endpoint_openai_pres: '值介于-2.0到2.0之间。正值将惩罚当前已经使用的词元,从而增加讨论新话题的可能性。', + com_endpoint_openai_resend: + '重新发送所有先前附加的图像。(注意:这会显着增加Token成本,并且可能会遇到很多关于图像附件的错误。)', + com_endpoint_openai_resend_files: + '重新发送所有先前附加的文件。(注意:这会显着增加Token成本,并且可能会遇到很多关于图像附件的错误。)', + com_endpoint_openai_detail: + '发送给Vision的图像分辨率。 “Low”更便宜且更快,“High”更详细但更昂贵,“Auto”将基于图像分辨率自动在两者之间进行选择。', com_endpoint_openai_custom_name_placeholder: '为ChatGPT设置一个名称', - com_endpoint_openai_prompt_prefix_placeholder: '在消息开头添加系统级提示词,默认为空', + com_endpoint_openai_prompt_prefix_placeholder: + '在消息开头添加系统级提示词,默认为空', com_endpoint_anthropic_temp: '值介于0到1之间。 对于分析性/选择性任务,值应更接近0;对于创造性和生成性任务,值应更接近1。我们建议更改该参数或Top-p,但不要同时更改这两个参数。', com_endpoint_anthropic_topp: @@ -219,6 +276,9 @@ export default { com_endpoint_frequency_penalty: '频率惩罚度', com_endpoint_presence_penalty: '话题新鲜度', com_endpoint_plug_use_functions: '使用函数', + com_endpoint_plug_resend_files: '重发文件', + com_endpoint_plug_resend_images: '重发图片', + com_endpoint_plug_image_detail: '图片细节', com_endpoint_plug_skip_completion: '跳过补全', com_endpoint_disabled_with_tools: '系统禁用', com_endpoint_disabled_with_tools_placeholder: '系统禁用', @@ -251,10 +311,13 @@ export default { com_endpoint_completion: '补全', com_endpoint_agent: '代理', com_endpoint_show_what_settings: '显示{0}设置', - com_endpoint_save: '保存', com_endpoint_export: '导出', + com_endpoint_assistant: '助手', + com_endpoint_use_active_assistant: '使用激活的助手', + com_endpoint_assistant_model: '助手模型', com_endpoint_save_as_preset: '保存为预设', - com_endpoint_presets_clear_warning: '确定要清除所有预设吗?此操作不可逆转的。', + com_endpoint_presets_clear_warning: + '确定要清除所有预设吗?此操作不可逆。', com_endpoint_not_implemented: '未实现功能', com_endpoint_no_presets: '暂无预设,使用设置按钮创建一个。', com_endpoint_not_available: '无可用渠道', @@ -264,8 +327,10 @@ export default { com_endpoint_agent_model: '代理模型 (推荐: GPT-3.5)', com_endpoint_completion_model: '补全模型 (推荐: GPT-4)', com_endpoint_func_hover: '将插件作为OpenAI函数使用', - com_endpoint_skip_hover: '跳过补全步骤, 检查最终答案和生成步骤', + com_endpoint_skip_hover: + '跳过补全步骤, 检查最终答案和生成步骤', com_endpoint_config_key: '设置API Key', + com_endpoint_assistant_placeholder: '请从右侧面板中选择助手', com_endpoint_config_placeholder: '在顶部菜单设置API KEY', com_endpoint_config_key_for: '设置API Key:', com_endpoint_config_key_name: '密钥', @@ -281,7 +346,8 @@ export default { com_endpoint_config_google_api_info: '获取您的生成式语言API密钥(Gemini),', com_endpoint_config_key_import_json_key: '导入服务账号JSON密钥', com_endpoint_config_key_import_json_key_success: '成功导入服务账号JSON密钥', - com_endpoint_config_key_import_json_key_invalid: '无效的服务账号JSON密钥,您是否导入正确的文件?', + com_endpoint_config_key_import_json_key_invalid: + '无效的服务账号JSON密钥,您是否导入正确的文件?', com_endpoint_config_key_get_edge_key: '为获得Bing访问凭证(Access token),请登录:', com_endpoint_config_key_get_edge_key_dev_tool: '登录网站后,使用开发工具或扩展程序复制 _U cookie 的内容。如果失败,请按照以下步骤操作:', @@ -296,14 +362,29 @@ export default { com_endpoint_config_key_google_service_account: '创建一个服务账号', com_endpoint_config_key_google_vertex_api_role: '确保单击“创建并继续”以至少授予“Vertex AI 用户”角色。最后,创建一个要在此处导入的JSON密钥。', + com_nav_welcome_assistant: '请选择助手', com_nav_welcome_message: '我今天能帮你做什么?', com_nav_auto_scroll: '打开时自动滚动到最新内容', + com_nav_hide_panel: '隐藏最右侧面板', com_nav_modular_chat: '启用对话中切换渠道', + com_nav_latex_parsing: '解析消息中的 LaTeX(可能会影响性能)', com_nav_profile_picture: '个人资料头像', com_nav_change_picture: '修改头像', com_nav_plugin_store: '插件商店', + com_nav_plugin_install: '安装', + com_nav_plugin_uninstall: '卸载', + com_nav_tool_add: '添加', + com_nav_tool_remove: '移除', + com_nav_tool_dialog: '助手工具', + com_nav_tool_dialog_description: '必须保存助手才能保留工具选择。', + com_show_agent_settings: '显示Agent设置', + com_show_completion_settings: '显示Completion设置', + com_hide_examples: '隐藏样例', + com_show_examples: '显示样例', com_nav_plugin_search: '搜索插件', - com_nav_plugin_auth_error: '尝试验证此插件时出错。请重试。', + com_nav_tool_search: '搜索工具', + com_nav_plugin_auth_error: + '尝试验证此插件时出错。请重试。', com_nav_export_filename: '文件名', com_nav_export_filename_placeholder: '设置文件名', com_nav_export_type: '类型', @@ -314,10 +395,13 @@ export default { com_nav_export_recursive_or_sequential: '递归或顺序?', com_nav_export_recursive: '递归', com_nav_export_conversation: '导出对话', + com_nav_my_files: '我的文件', com_nav_theme: '主题', com_nav_theme_system: '跟随系统设置', com_nav_theme_dark: '暗色主题', com_nav_theme_light: '亮色主题', + com_nav_user_name_display: '在消息中显示用户名', + com_nav_show_code: '使用代码解释器时始终显示代码', com_nav_clear_all_chats: '清空所有对话', com_nav_confirm_clear: '确认清空', com_nav_close_sidebar: '关闭侧边栏', @@ -326,7 +410,8 @@ export default { com_nav_log_out: '注销', com_nav_user: '默认用户', com_nav_clear_conversation: '清空对话', - com_nav_clear_conversation_confirm_message: '请是否清空所有对话?该操作无法撤销', + com_nav_clear_conversation_confirm_message: + '请是否清空所有对话?该操作无法撤销', com_nav_help_faq: '帮助', com_nav_settings: '设置', com_nav_search_placeholder: '搜索对话及对话内容', @@ -334,9 +419,4 @@ export default { com_nav_setting_beta: '实验特性', com_nav_setting_data: '数据管理', com_nav_setting_account: '账户', - com_nav_hide_panel: '隐藏最右侧面板', - com_nav_latex_parsing: '解析消息中的 LaTeX(可能会影响性能)', - com_nav_user_name_display: '在消息中显示用户名', - com_endpoint_plug_resend_images: '重新发送图像', - com_endpoint_plug_image_detail: '图像细节', };