Skip to content

Commit 3e9f6f0

Browse files
Updated zh locale (Mintplex-Labs#3786)
* Update common.js * linting --------- Co-authored-by: timothycarambat <[email protected]>
1 parent 98dce73 commit 3e9f6f0

File tree

1 file changed

+27
-26
lines changed

1 file changed

+27
-26
lines changed

frontend/src/locales/zh/common.js

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ const TRANSLATIONS = {
2626
adminPassword: "管理员账户密码",
2727
adminPasswordReq: "密码必须至少包含 8 个字符。",
2828
teamHint:
29-
"默认情况下,你将是唯一的管理员。完成入职后,你可以创建和邀请其他人成为用户或管理员。不要丢失你的密码,因为只有管理员可以重置密码。",
29+
"默认情况下,你将是唯一的管理员。完成初始设置后,你可以创建和邀请其他人成为用户或管理员。不要丢失你的密码,因为只有管理员可以重置密码。",
3030
},
3131
data: {
3232
title: "数据处理与隐私",
33-
description: "我们致力于在涉及你的个人数据时提供透明和控制。",
33+
description: "我们致力于在涉及你的个人数据时提供透明度和控制权。",
3434
settingsHint: "这些设置可以随时在设置中重新配置。",
3535
},
3636
survey: {
@@ -62,9 +62,9 @@ const TRANSLATIONS = {
6262
saving: "保存中...",
6363
previous: "上一页",
6464
next: "下一页",
65-
optional: null,
66-
yes: null,
67-
no: null,
65+
optional: "可选",
66+
yes: "是",
67+
no: "否",
6868
},
6969
settings: {
7070
title: "设置",
@@ -219,18 +219,18 @@ const TRANSLATIONS = {
219219
"任何超过 45 的值都可能导致连续聊天失败,具体取决于消息大小。",
220220
},
221221
prompt: {
222-
title: "聊天提示",
222+
title: "系统提示词",
223223
description:
224-
"将在此工作区上使用的提示。定义 AI 生成响应的上下文和指令。你应该提供精心设计的提示,以便人工智能可以生成相关且准确的响应。",
224+
"将在此工作区上使用的提示词。定义 AI 生成响应的上下文和指令。你应该提供精心设计的提示,以便人工智能可以生成相关且准确的响应。",
225225
history: {
226-
title: null,
227-
clearAll: null,
228-
noHistory: null,
229-
restore: null,
230-
delete: null,
231-
deleteConfirm: null,
232-
clearAllConfirm: null,
233-
expand: null,
226+
title: "系统提示词历史",
227+
clearAll: "全部清除",
228+
noHistory: "没有可用的系统提示词历史记录",
229+
restore: "恢复",
230+
delete: "删除",
231+
deleteConfirm: "您确定要删除此历史记录吗?",
232+
clearAllConfirm: "您确定要清除所有历史记录吗?此操作无法撤消。",
233+
expand: "展开",
234234
},
235235
},
236236
refusal: {
@@ -652,17 +652,18 @@ const TRANSLATIONS = {
652652
send: "将提示消息发送到工作区",
653653
},
654654
profile_settings: {
655-
edit_account: null,
656-
profile_picture: null,
657-
remove_profile_picture: null,
658-
username: null,
659-
username_description: null,
660-
new_password: null,
661-
passwort_description: null,
662-
cancel: null,
663-
update_account: null,
664-
theme: null,
665-
language: null,
655+
edit_account: "编辑帐户",
656+
profile_picture: "头像",
657+
remove_profile_picture: "移除头像",
658+
username: "用户名",
659+
username_description:
660+
"用户名必须仅包含小写字母、数字、下划线和连字符,且不能包含空格",
661+
new_password: "新密码",
662+
passwort_description: "密码长度必须至少为 8 个字符",
663+
cancel: "取消",
664+
update_account: "更新帐号",
665+
theme: "主题偏好",
666+
language: "语言偏好",
666667
},
667668
customization: {
668669
interface: {

0 commit comments

Comments
 (0)