locale调整

This commit is contained in:
zhangkuo
2024-07-10 15:58:55 +08:00
parent 77eecb00e7
commit 9f28a13e22
7 changed files with 116 additions and 52 deletions

View File

@@ -12,13 +12,25 @@ const en: LocaleType = {
? "Invalid API Key, please check it in [Settings](/#/settings) page."
: "Unauthorized access, please enter access code in [auth](/#/auth) page, or enter your OpenAI API Key.",
},
Auth: {
Title: "Need Access Code",
Tips: "Please enter access code below",
SubTips: "Or enter your OpenAI or Google API Key",
Input: "access code",
Confirm: "Confirm",
Later: "Later",
Login: {
Title: "需要登陆",
Confirm: "确认",
Later: "稍后再说",
Switch: "切换注册/登录",
LoginTitle: "用户登录",
RegisterTitle: "用户注册",
LoginTips: "请输入您的用户名和密码登录",
RegisterTips: "请输入您的用户名和密码进行注册",
Username: "用户名",
Password: "密码",
ConfirmPassword: "确认密码",
Login: "登录",
Register: "注册",
LoginFail: "登录失败,请检查用户名和密码",
SystemFail: "请求失败,请重试",
ResisterSuc: "注册成功,请登录",
ResisterFail: "注册失败,请稍后重试",
PasswordFail: "密码前后不一致",
},
ChatItem: {
ChatItemCount: (count: number) => `${count} messages`,