diff --git a/app/components/auth.tsx b/app/components/auth.tsx index 57118349bac..61a8d175a6c 100644 --- a/app/components/auth.tsx +++ b/app/components/auth.tsx @@ -38,6 +38,7 @@ export function AuthPage() {
{Locale.Auth.Title}
{Locale.Auth.Tips}
+
{Locale.Auth.Tips1}
{Locale.Auth.SubTips}
+
{Locale.Auth.SubTips1}
- NextChat + ChatGPT-青云依兮
- Build your own AI assistant. + 构建自己的人工智能助手。
@@ -186,6 +188,12 @@ export function SideBar(props: { className?: string }) { onClick={() => showToast(Locale.WIP)} shadow /> + + +
"这是历史聊天总结作为前情提要:" + content, @@ -409,6 +411,8 @@ const cn = { Sysmessage: "你是一个助手", }, Mask: { + blog: "博客", + faka: "卡密", Name: "面具", Page: { Title: "预设角色面具", diff --git a/app/locales/en.ts b/app/locales/en.ts index aa153f52369..c961bbe1f49 100644 --- a/app/locales/en.ts +++ b/app/locales/en.ts @@ -9,16 +9,18 @@ const en: LocaleType = { WIP: "Coming Soon...", Error: { Unauthorized: isApp - ? "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.", + ? "检测到无效 API Key,请前往[设置](/#/settings)页检查 API Key 是否配置正确。需要key联系QQ:[1422756921](http://wpa.qq.com/msgrd?v=3&uin=1422756921&site=qq&menu=yes)。[青云博客](https://blog.aerr.cn)" + : "访问密码不正确或为空,请前往[登录](/#/auth)页输入正确的访问密码,或者填入你自己的 OpenAI API Key。如果自己没有key联系QQ:[1422756921](http://wpa.qq.com/msgrd?v=3&uin=1422756921&site=qq&menu=yes)。[青云博客](https://blog.aerr.cn)", }, 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", + Title: "需要访问密码或者key", + Tips: "管理员开启了验证,请在下方填入访问密码", + Tips1: "访问密码和key只需填一个即可", + SubTips1: "如果自己没有key联系QQ:1422756921", + SubTips: "或者输入你的 OpenAI API key", + Input: "在此处填写访问密码", + Confirm: "确认", + Later: "稍后再说", }, ChatItem: { ChatItemCount: (count: number) => `${count} messages`, @@ -416,7 +418,9 @@ const en: LocaleType = { Sysmessage: "You are an assistant that", }, Mask: { - Name: "Mask", + blog: "博客", + faka: "卡密", + Name: "面具", Page: { Title: "Prompt Template", SubTitle: (count: number) => `${count} prompt templates`, diff --git a/app/locales/id.ts b/app/locales/id.ts index 571156a5776..8fc20f66be4 100644 --- a/app/locales/id.ts +++ b/app/locales/id.ts @@ -10,6 +10,8 @@ const id: PartialLocaleType = { Auth: { Title: "Diperlukan Kode Akses", Tips: "Masukkan kode akses di bawah", + Tips1: "密码和key只需填一个即可", + SubTips1: "如果自己没有key联系QQ:1422756921 ", SubTips: "Atau masukkan kunci API OpenAI Anda", Input: "Kode Akses", Confirm: "Konfirmasi", diff --git a/app/locales/tw.ts b/app/locales/tw.ts index f4e819845e5..741ba4b2483 100644 --- a/app/locales/tw.ts +++ b/app/locales/tw.ts @@ -7,17 +7,18 @@ const tw = { WIP: "該功能仍在開發中……", Error: { Unauthorized: isApp - ? "檢測到無效 API Key,請前往[設定](/#/settings)頁檢查 API Key 是否設定正確。" - : "存取密碼不正確或未填寫,請前往[登入](/#/auth)頁輸入正確的存取密碼,或者在[設定](/#/settings)頁填入你自己的 OpenAI API Key。", + ? "检测到无效 API Key,请前往[设置](/#/settings)页检查 API Key 是否配置正确。需要key联系QQ:[1422756921](http://wpa.qq.com/msgrd?v=3&uin=1422756921&site=qq&menu=yes)。[青云博客](https://blog.aerr.cn)" + : "访问密码不正确或为空,请前往[登录](/#/auth)页输入正确的访问密码,或者填入你自己的 OpenAI API Key。如果自己没有key联系QQ:[1422756921](http://wpa.qq.com/msgrd?v=3&uin=1422756921&site=qq&menu=yes)。[青云博客](https://blog.aerr.cn)", }, - Auth: { - Title: "需要密碼", - Tips: "管理員開啟了密碼驗證,請在下方填入存取密碼", - SubTips: "或者輸入你的 OpenAI 或 Google API 金鑰", - Input: "在此處填寫存取密碼", - Confirm: "確認", - Later: "稍候再說", + Title: "需要访问密码或者key", + Tips: "管理员开启了验证,请在下方填入访问密码", + Tips1: "访问密码和key只需填一个即可", + SubTips1: "如果自己没有key联系QQ:1422756921", + SubTips: "或者输入你的 OpenAI API key", + Input: "在此处填写访问密码", + Confirm: "确认", + Later: "稍后再说", }, ChatItem: { ChatItemCount: (count: number) => `${count} 則對話`, @@ -407,7 +408,9 @@ const tw = { Plugin: { Name: "外掛" }, FineTuned: { Sysmessage: "你是一個助手" }, Mask: { - Name: "角色範本", + blog: "青云博客", + faka: "购买卡密", + Name: "面具", Page: { Title: "預設角色角色範本", SubTitle: (count: number) => `${count} 個預設角色定義`,