diff --git a/app/components/settings.tsx b/app/components/settings.tsx index 68ebcf084..5370fc53e 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -9,7 +9,6 @@ import CopyIcon from "../icons/copy.svg"; import ClearIcon from "../icons/clear.svg"; import LoadingIcon from "../icons/three-dots.svg"; import EditIcon from "../icons/edit.svg"; -import FireIcon from "../icons/fire.svg"; import EyeIcon from "../icons/eye.svg"; import DownloadIcon from "../icons/download.svg"; import UploadIcon from "../icons/upload.svg"; @@ -19,7 +18,6 @@ import ConfirmIcon from "../icons/confirm.svg"; import ConnectionIcon from "../icons/connection.svg"; import CloudSuccessIcon from "../icons/cloud-success.svg"; import CloudFailIcon from "../icons/cloud-fail.svg"; -import { trackSettingsPageGuideToCPaymentClick } from "../utils/auth-settings-events"; import { Input, List, @@ -71,7 +69,6 @@ import { UPDATE_URL, Stability, Iflytek, - SAAS_CHAT_URL, ChatGLM, DeepSeek, SiliconFlow, @@ -693,30 +690,30 @@ export function Settings() { ); - const saasStartComponent = ( - - } - type={"primary"} - text={Locale.Settings.Access.SaasStart.ChatNow} - onClick={() => { - trackSettingsPageGuideToCPaymentClick(); - window.location.href = SAAS_CHAT_URL; - }} - /> - - ); + // const saasStartComponent = ( + // + // } + // type={"primary"} + // text={Locale.Settings.Access.SaasStart.ChatNow} + // onClick={() => { + // trackSettingsPageGuideToCPaymentClick(); + // window.location.href = SAAS_CHAT_URL; + // }} + // /> + // + // ); const useCustomConfigComponent = // Conditionally render the following ListItem based on clientConfig.isApp !clientConfig?.isApp && ( // only show if isApp is false @@ -1775,7 +1772,7 @@ export function Settings() { - {saasStartComponent} + {/*{saasStartComponent}*/} {accessCodeComponent} {!accessStore.hideUserApiKey && ( diff --git a/app/locales/cn.ts b/app/locales/cn.ts index 81b609cde..077deaf64 100644 --- a/app/locales/cn.ts +++ b/app/locales/cn.ts @@ -25,9 +25,9 @@ const cn = { Input: "在此处填写访问码", Confirm: "确认", Later: "稍后再说", - SaasTips: "配置太麻烦,想要立即使用", - TopTips: - "🥳 NextChat AI 首发优惠,立刻解锁 OpenAI o1, GPT-4o, Claude-3.5 等最新大模型", + // SaasTips: "配置太麻烦,想要立即使用", + // TopTips: + // "🥳 NextChat AI 首发优惠,立刻解锁 OpenAI o1, GPT-4o, Claude-3.5 等最新大模型", }, ChatItem: { ChatItemCount: (count: number) => `${count} 条对话`, @@ -540,6 +540,9 @@ const cn = { }, }, + // 增加厂商选项 + ServiceProvider: "服务提供商", + Model: "模型 (model)", CompressModel: { Title: "对话摘要模型",