feat: add auth tip

This commit is contained in:
river
2024-09-19 08:41:09 +08:00
parent 2f0d94a46b
commit e4fda6cacf
5 changed files with 28 additions and 4 deletions

View File

@@ -11,9 +11,10 @@ const cn = {
: "访问密码不正确或为空,请前往[登录](/#/auth)页输入正确的访问密码,或者在[设置](/#/settings)页填入你自己的 OpenAI API Key。",
},
Auth: {
Return: "返回",
Title: "需要密码",
Tips: "管理员开启了密码验证,请在下方填入访问码",
SubTips: "或者输入你的 OpenAI 或 Google API 密钥",
SubTips: "或者输入你的 OpenAI 或 Google AI 密钥",
Input: "在此处填写访问码",
Confirm: "确认",
Later: "稍后再说",

View File

@@ -13,12 +13,14 @@ const en: LocaleType = {
: "Unauthorized access, please enter access code in [auth](/#/auth) page, or enter your OpenAI API Key.",
},
Auth: {
Return: "Return",
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",
SaasTips: "Too Complex, Use Immediately Now",
},
ChatItem: {
ChatItemCount: (count: number) => `${count} messages`,