From a1c34da4a2ede3c86df5e9a446717297adbf1808 Mon Sep 17 00:00:00 2001 From: zhangchenguang01 Date: Sun, 10 Mar 2024 14:50:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B3=A8=E9=87=8A=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/client/api.ts | 1 - app/components/sidebar.tsx | 1 - app/locales/cn.ts | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/client/api.ts b/app/client/api.ts index 3db76e733..3dfeeb39d 100644 --- a/app/client/api.ts +++ b/app/client/api.ts @@ -117,7 +117,6 @@ export class ClientApi { { from: "human", value: - //"Share from [NextChat]: https://github.com/Yidadaa/ChatGPT-Next-Web", "Share from [NextChat]: https://www.7li7li.cn", }, ]); diff --git a/app/components/sidebar.tsx b/app/components/sidebar.tsx index b76faa8b7..0c0227277 100644 --- a/app/components/sidebar.tsx +++ b/app/components/sidebar.tsx @@ -219,7 +219,6 @@ export function SideBar(props: { className?: string }) {
- //} shadow /> } shadow />
diff --git a/app/locales/cn.ts b/app/locales/cn.ts index 46a157c95..7f541fd4d 100644 --- a/app/locales/cn.ts +++ b/app/locales/cn.ts @@ -7,8 +7,7 @@ const cn = { WIP: "该功能仍在开发中……", Error: { Unauthorized: isApp - ? "检测到无效 API Key,请前往[设置](/#/settings)页检查 API Key 是否配置正确。" - //: "访问密码不正确或为空,请前往[登录](/#/auth)页输入正确的访问密码,或者在[设置](/#/settings)页填入你自己的 OpenAI API Key。", + ? "检测到无效 API Key,请前往[设置](/#/settings)页检查 API Key 是否配置正确。" : "访问密码不正确或为空,请前往[登录](/#/auth)页或者在[设置](/#/settings)页输入正确的访问密码,访问密码可在公众号“享生活爱羊毛”中回复关键词“gptcode”获取", }, Auth: {