Skip to content

Commit e5e04c1

Browse files
authored
🌐: Update simplified Chinese translation (danny-avila#1152)
* Completing simplified Chinese translations * Update * Update CN translation.
1 parent 5d95433 commit e5e04c1

File tree

1 file changed

+113
-60
lines changed
  • client/src/localization/languages

1 file changed

+113
-60
lines changed

client/src/localization/languages/Zh.tsx

Lines changed: 113 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@ export default {
77
com_ui_example_10_year_old_b_day: '如何举办生日宴才能耳目一新?',
88
com_ui_example_http_in_js: '如何在Python中实现HTTP请求?',
99
com_ui_capabilities: '功能',
10-
com_ui_capability_remember: '历史对话记录',
11-
com_ui_capability_correction: '实时提供反馈',
12-
com_ui_capability_decline_requests: '阻止非法请求',
10+
com_ui_capability_remember: '记忆历史对话',
11+
com_ui_capability_correction: '允许更正内容',
12+
com_ui_capability_decline_requests: '限制不当信息',
1313
com_ui_limitations: '局限性',
1414
com_ui_limitation_incorrect_info: '可能会不时出现错误信息',
15-
com_ui_limitation_harmful_biased: '可能会提供有害指示或者偏见',
15+
com_ui_limitation_harmful_biased:
16+
'可能会提供有害指示或者偏见',
1617
com_ui_limitation_limited_2021: '基于2021年以前信息训练',
1718
com_ui_input: '输入',
1819
com_ui_close: '关闭',
19-
com_ui_clear: '清除',
2020
com_ui_model: '模型',
21-
com_ui_cancel: '取消',
2221
com_ui_select_model: '模型选择',
2322
com_ui_use_prompt: '使用提示词',
2423
com_ui_prev: '上一页',
@@ -28,14 +27,36 @@ export default {
2827
com_ui_showing: '显示',
2928
com_ui_of: '/',
3029
com_ui_entries: '项',
31-
com_ui_pay_per_call:'所有人工智能对话都集中在一处。按通话付费,而不是按月付费',
30+
com_ui_pay_per_call:'所有对话都将集中在一处。按会话次数计费,而不是按月付费',
31+
com_ui_enter: '进入',
32+
com_ui_submit: '提交',
33+
com_ui_upload_success: '上传文件成功',
34+
com_ui_upload_invalid: '无效的上传文件',
35+
com_ui_cancel: '取消',
36+
com_ui_save: '保存',
37+
com_ui_copy_to_clipboard: '复制到剪贴板',
38+
com_ui_copied_to_clipboard: '已复制到剪贴板',
39+
com_ui_regenerate: '重新生成',
40+
com_ui_continue: '继续',
41+
com_ui_edit: '编辑',
42+
com_ui_success: '成功',
43+
com_ui_all: '所有',
44+
com_ui_clear: '清除',
45+
com_ui_revoke: '撤销',
46+
com_ui_revoke_info: '撤销所有用户提供的凭据',
47+
com_ui_confirm_action: '确认执行',
48+
com_ui_chats: '聊天',
3249
com_ui_delete: '删除',
3350
com_ui_delete_conversation: '删除对话?',
3451
com_ui_delete_conversation_confirm: '这将删除',
35-
com_ui_revoke: '撤销',
36-
com_ui_submit: '提交',
37-
com_ui_revoke_info: '撤销所有用户提供的凭据',
38-
com_auth_error_login: '无法登录,请确认提供的账户密码正确,并重新尝试。',
52+
com_auth_error_login:
53+
'无法登录,请确认提供的账户密码正确,并重新尝试。',
54+
com_auth_error_login_rl:
55+
'尝试登录次数过多,请稍后再试。',
56+
com_auth_error_login_ban:
57+
'根据我们的服务规则,您的帐号被暂时禁用。',
58+
com_auth_error_login_server:
59+
'内部服务器错误,请稍后再试。',
3960
com_auth_no_account: '新用户注册',
4061
com_auth_sign_up: '注册',
4162
com_auth_sign_in: '登录',
@@ -58,9 +79,8 @@ export default {
5879
com_auth_password_not_match: '密码不一致',
5980
com_auth_continue: '继续',
6081
com_auth_create_account: '创建账号',
61-
com_auth_error_create: '注册账户过程中出现错误,请重试。',
62-
com_auth_reset_password_link_sent: '重置密码链接已发送至邮箱',
63-
com_auth_reset_password_email_sent: '重置密码邮件已发送至邮箱',
82+
com_auth_error_create:
83+
'注册账户过程中出现错误,请重试。',
6484
com_auth_full_name: '姓名',
6585
com_auth_name_required: '姓名为必填项',
6686
com_auth_name_min_length: '姓名至少3个字符',
@@ -74,19 +94,23 @@ export default {
7494
com_auth_reset_password: '重置密码',
7595
com_auth_click: '点击',
7696
com_auth_here: '这里',
77-
com_auth_to_reset_your_password: '重置密码.',
78-
com_auth_error_reset_password: '重置密码出现错误,未找到对应的邮箱地址,请重新输入。',
97+
com_auth_to_reset_your_password: '重置密码。',
98+
com_auth_reset_password_link_sent: '重置密码链接已发送至邮箱',
99+
com_auth_reset_password_email_sent:
100+
'重置密码邮件已发送至邮箱',
101+
com_auth_error_reset_password:
102+
'重置密码出现错误,未找到对应的邮箱地址,请重新输入。',
79103
com_auth_reset_password_success: '密码重置成功',
80-
com_auth_login_with_new_password: '现在你可以使用你的新密码登录.',
104+
com_auth_login_with_new_password: '现在你可以使用你的新密码登录',
81105
com_auth_error_invalid_reset_token: '重置密码的密钥已失效。',
82106
com_auth_click_here: '点击这里',
83-
com_auth_to_try_again: '再试一次.',
107+
com_auth_to_try_again: '再试一次',
84108
com_auth_submit_registration: '注册提交',
85109
com_auth_welcome_back: '欢迎',
86110
com_endpoint_open_menu: '打开菜单',
87111
com_endpoint_bing_enable_sydney: '启用 Sydney',
88112
com_endpoint_bing_to_enable_sydney: '启用 Sydney',
89-
com_endpoint_bing_jailbreak: '破解',
113+
com_endpoint_bing_jailbreak: '越狱',
90114
com_endpoint_bing_context_placeholder:
91115
'必应可以使用多达7000个词元作为“上下文(context)”,参照这些内容进行对话。其具体限制并不清楚,但可能会在超过7000个词元时出现错误',
92116
com_endpoint_bing_system_message_placeholder:
@@ -102,13 +126,13 @@ export default {
102126
com_endpoint_token_count: '词元数',
103127
com_endpoint_output: '输出',
104128
com_endpoint_google_temp:
105-
'值越高表示输出越随机,值越低表示输出越确定。建议不要同时改变此值和Top P。',
129+
'值越高表示输出越随机,值越低表示输出越确定。建议不要同时改变此值和Top-p。',
106130
com_endpoint_google_topp:
107-
'Top-p(核采样)改变了模型选择输出标记的方式。从最可能的K个(参见topK参数)标记开始,直到它们的概率之和等于top-p值',
131+
'Top-p(核采样)会改变模型选择输出词的方式。从概率最大的K(参见topK参数)向最小的K选择,直到它们的概率之和等于top-p值',
108132
com_endpoint_google_topk:
109-
'Top-k 改变了模型选择输出标记的方式。Top-k为1意味着所选标记在模型的所有词汇中最可能出现(也称为贪婪解码),而top-k为3则意味着下一个标记是从最可能的3个标记中选择的(使用随机性)。',
133+
'Top-k 会改变模型选择输出词的方式。top-k为1意味着所选词是模型词汇中概率最大的(也称为贪心解码),而top-k为3意味着下一个词是从3个概率最大的词中选出的(使用随机性)。',
110134
com_endpoint_google_maxoutputtokens:
111-
' 响应生成中可以使用的最大令牌数。指定较低的值会得到更短的响应,而指定较高的值则会得到更长的响应。',
135+
' 响应生成中可以使用的最大词元数。指定较低的值会得到更短的响应,而指定较高的值则会得到更长的响应。',
112136
com_endpoint_google_custom_name_placeholder: '为PaLM2设置一个名称',
113137
com_endpoint_google_prompt_prefix_placeholder: '自定义指令和上下文,默认为空。',
114138
com_endpoint_custom_name: '自定义名称',
@@ -120,64 +144,100 @@ export default {
120144
com_endpoint_max_output_tokens: '最大输出词元数',
121145
com_endpoint_openai_temp:
122146
'值越高表示输出越随机,值越低表示输出越确定。建议不要同时改变此值和Top P。',
123-
com_endpoint_openai_max: '最大生成词元数。输入词元长度由模型的上下文长度决定。',
147+
com_endpoint_openai_max:
148+
'最大生成词元数。输入词元长度由模型的上下文长度决定。',
124149
com_endpoint_openai_topp:
125150
'相较于随机性的另一个取样方法,称为核采样,模型选取输出词元中大于P值(概率密度在整个概率分布中的比例)的结果。比如 top_p=0.1 表示只有概率占比为前10%的词元才会被考虑作为输出。建议不要同时改变此值和随机性。',
126151
com_endpoint_openai_freq:
127152
'值介于-2.0到2.0之间。正值表示根据已有词元的频率惩罚重复词元结果, 从而减少模型输出重复词。',
128153
com_endpoint_openai_pres:
129-
'值介于-2.0到2.0之间。正值表示根据出现词元惩罚重复词元结果, 从而增加模型提出新主题的可能性。',
154+
'值介于-2.0到2.0之间。正值表示根据出现词元惩罚重复词元结果, 从而增加模型提出新话题的可能性。',
130155
com_endpoint_openai_custom_name_placeholder: '为ChatGPT设置一个名称',
131-
com_endpoint_openai_prompt_prefix_placeholder: '可以在系统消息中设置自定义指令,默认为空',
132-
com_endpoint_frequency_penalty: '频度惩罚',
133-
com_endpoint_presence_penalty: '出现惩罚',
156+
com_endpoint_openai_prompt_prefix_placeholder:
157+
'在消息开头添加系统级提示词,默认为空',
158+
com_endpoint_anthropic_temp:
159+
'值介于0到1之间。 对于分析性/选择性任务,值应更接近0;对于创造性和生成性任务,值应更接近1。我们建议更改该参数或Top-p,但不要同时更改这两个参数。',
160+
com_endpoint_anthropic_topp:
161+
'Top-p(核采样)会改变模型选择输出词元的方式。从概率最大的K(参见topK参数)向最小的K选择,直到它们的概率之和等于top-p值。',
162+
com_endpoint_anthropic_topk:
163+
'Top-k 会改变模型选择输出词元的方式。top-k为1意味着所选词是模型词汇中概率最大的(也称为贪心解码),而top-k为3意味着下一个词是从3个概率最大的词中选出的(使用随机性)。',
164+
com_endpoint_anthropic_maxoutputtokens:
165+
'响应中可生成的最大词元数。指定较低的值会得到更短的响应,而指定较高的值则会得到更长的响应。',
166+
com_endpoint_anthropic_custom_name_placeholder: '为Anthropic设置一个名称',
167+
com_endpoint_frequency_penalty: '重复惩罚度',
168+
com_endpoint_presence_penalty: '话题新鲜度',
134169
com_endpoint_plug_use_functions: '使用函数',
135170
com_endpoint_plug_skip_completion: '跳过补全',
136171
com_endpoint_disabled_with_tools: '系统禁用',
137172
com_endpoint_disabled_with_tools_placeholder: '系统禁用',
138173
com_endpoint_plug_set_custom_instructions_for_gpt_placeholder:
139-
'可以在系统消息中设置自定义指令,默认为空',
140-
com_endpoint_set_custom_name: '设置一个自定义名,以方便寻找预设',
174+
'在消息开头添加系统级提示词,默认为空',
175+
com_endpoint_import: '导入',
176+
com_endpoint_set_custom_name: '设置一个自定义名,以便您检索此预设',
177+
com_endpoint_preset: '预设',
178+
com_endpoint_presets: '预设',
141179
com_endpoint_preset_name: '预设名',
142-
com_endpoint_presets_clear_warning:'确定要清除所有预设吗?这是不可逆转的。',
143-
com_endpoint_config_key: '设置API Key',
144-
com_endpoint_config_key_for: '设置API Key: ',
145-
com_endpoint_config_key_encryption: '您的密钥将被加密并删除于:',
146-
com_endpoint_config_key_import_json_key: '导入Service Account JSON Key',
147-
com_endpoint_config_key_google_need_to: '你需要开启:',
148-
com_endpoint_config_key_google_vertex_ai: 'Vertex AI API',
149-
com_endpoint_config_key_google_vertex_api: '在Google云上(Google Cloud),然后',
150-
com_endpoint_config_key_google_service_account: '创建Service Account',
151-
com_endpoint_config_key_google_vertex_api_role: '确保单击“创建并继续”以至少授予“Vertex AI 用户”角色。 最后,创建一个要在此处导入的 JSON 密钥。',
152-
com_endpoint: '端口',
180+
com_endpoint_new_topic: '新主题',
181+
com_endpoint: '渠道',
153182
com_endpoint_hide: '隐藏',
154183
com_endpoint_show: '显示',
155-
com_endpoint_examples: ' 例子',
184+
com_endpoint_examples: ' 预设',
156185
com_endpoint_completion: '补全',
157186
com_endpoint_agent: '代理',
158187
com_endpoint_show_what_settings: '显示{0}的设置',
159188
com_endpoint_save: '保存',
160189
com_endpoint_export: '导出',
161-
com_endpoint_no_presets:'暂无预设',
162190
com_endpoint_save_as_preset: '保存为预设',
163-
com_endpoint_not_implemented: '未实现功能',
191+
com_endpoint_presets_clear_warning:
192+
'确定要清除所有预设吗?此操作不可逆转的。',
193+
com_endpoint_not_implemented: '未实现功能',
194+
com_endpoint_no_presets:'暂无 预设',
195+
com_endpoint_not_available: '无可用渠道',
164196
com_endpoint_view_options: '查看选项',
197+
com_endpoint_save_convo_as_preset: '保存对话为预设',
165198
com_endpoint_my_preset: '我的预设',
166199
com_endpoint_agent_model: '代理模型 (推荐: GPT-3.5)',
167200
com_endpoint_completion_model: '补全模型 (推荐: GPT-4)',
168-
com_endpoint_func_hover: '将插件当做OpenAI函数使用',
169-
com_endpoint_skip_hover: '跳过补全步骤, 用于检查最终答案和生成步骤',
201+
com_endpoint_func_hover: '将插件作为OpenAI函数使用',
202+
com_endpoint_skip_hover:
203+
'跳过补全步骤, 检查最终答案和生成步骤',
204+
com_endpoint_config_key: '设置API Key',
205+
com_endpoint_config_key_for: '设置API Key:',
206+
com_endpoint_config_key_name: '密钥',
207+
com_endpoint_config_value: '输入值:',
208+
com_endpoint_config_key_name_placeholder: '请先设置API key',
209+
com_endpoint_config_key_encryption: '您的密钥将被加密并删除于:',
210+
com_endpoint_config_key_expiry: '过期时间',
211+
com_endpoint_config_key_import_json_key: '导入服务账号JSON密钥',
212+
com_endpoint_config_key_import_json_key_success: '成功导入服务账号JSON密钥',
213+
com_endpoint_config_key_import_json_key_invalid:
214+
'无效的服务账号JSON密钥,您是否导入正确的文件?',
215+
com_endpoint_config_key_get_edge_key: '为获得Bing访问凭证(Access token),请登录:',
216+
com_endpoint_config_key_get_edge_key_dev_tool:
217+
'登录网站后,使用开发工具或扩展程序复制 _U cookie 的内容。如果失败,请按照以下步骤操作:',
218+
com_endpoint_config_key_edge_instructions: '说明',
219+
com_endpoint_config_key_edge_full_key_string: '提供完整的cookie字符串。',
220+
com_endpoint_config_key_chatgpt: '为获得ChatGPT的访问凭证(Access token), 请登录:',
221+
com_endpoint_config_key_chatgpt_then_visit: '然后访问',
222+
com_endpoint_config_key_chatgpt_copy_token: '复制access token。',
223+
com_endpoint_config_key_google_need_to: '您需要',
224+
com_endpoint_config_key_google_vertex_ai: '在Google Cloud上启用Vertex AI',
225+
com_endpoint_config_key_google_vertex_api: 'API,然后',
226+
com_endpoint_config_key_google_service_account: '创建一个服务账号',
227+
com_endpoint_config_key_google_vertex_api_role:
228+
'确保单击“创建并继续”以至少授予“Vertex AI 用户”角色。最后,创建一个要在此处导入的JSON密钥。',
229+
com_nav_auto_scroll: '打开时自动滚动到最新内容',
170230
com_nav_plugin_store: '插件商店',
171231
com_nav_plugin_search: '搜索插件',
172-
com_nav_plugin_auth_error: '尝试验证此插件时出错。请重试。',
173-
com_endpoint_import: '导入',
174-
com_endpoint_preset: '预设',
175-
com_endpoint_presets: '预设',
232+
com_nav_plugin_auth_error:
233+
'尝试验证此插件时出错。请重试。',
234+
com_nav_close_menu: '关闭菜单',
235+
com_nav_open_menu: '打开菜单',
176236
com_nav_export_filename: '文件名',
177237
com_nav_export_filename_placeholder: '设置文件名',
178238
com_nav_export_type: '类型',
179239
com_nav_export_include_endpoint_options: '包含配置信息',
180-
com_nav_enabled: '打开',
240+
com_nav_enabled: '启用',
181241
com_nav_not_supported: '未支持',
182242
com_nav_export_all_message_branches: '导出所有对话',
183243
com_nav_export_recursive_or_sequential: '递归或顺序?',
@@ -187,26 +247,19 @@ export default {
187247
com_nav_theme_system: '跟随系统设置',
188248
com_nav_theme_dark: '暗色主题',
189249
com_nav_theme_light: '亮色主题',
190-
com_nav_clear: '清空',
191250
com_nav_clear_all_chats: '清空所有对话',
192251
com_nav_confirm_clear: '确认清空',
193252
com_nav_close_sidebar: '关闭侧边栏',
194253
com_nav_open_sidebar: '打开侧边栏',
195-
com_nav_auto_scroll: '打开时自动滚动到最新内容',
196254
com_nav_log_out: '注销',
197255
com_nav_user: '默认用户',
198256
com_nav_clear_conversation: '清空对话',
199-
com_nav_clear_conversation_confirm_message: '请是否清空所有对话?该操作无法撤销',
257+
com_nav_clear_conversation_confirm_message:
258+
'请是否清空所有对话?该操作无法撤销',
200259
com_nav_help_faq: '帮助',
201260
com_nav_settings: '设置',
202261
com_nav_search_placeholder: '搜索对话及对话内容',
203262
com_nav_setting_general: '通用',
204263
com_nav_setting_data: '数据管理',
205264
com_nav_language: '语言',
206-
com_ui_regenerate: '重新生成',
207-
com_ui_copy_to_clipboard: '拷贝到剪贴板',
208-
com_ui_copied_to_clipboard: '已拷贝到剪贴板',
209-
com_ui_edit: '编辑',
210-
com_nav_close_menu: '关闭侧边栏',
211-
com_nav_open_menu: '打开侧边栏',
212265
};

0 commit comments

Comments
 (0)