This commit is contained in:
Wakler-Wei W 2024-09-14 07:54:06 +00:00
parent d07e7b0731
commit 224d59cece
2 changed files with 11 additions and 13 deletions

View File

@ -179,9 +179,8 @@ export function SideBarHeader(props: {
</div> </div>
<div className={styles["sidebar-logo"] + " no-dark"}> <div className={styles["sidebar-logo"] + " no-dark"}>
<ChatGptIcon /> <ChatGptIcon />
</div> </div>
<div className={styles["sidebar-logo"] + " no-dark"}>{logo}</div> {/* <div className={styles["sidebar-logo"] + " no-dark"}>{logo}</div> */}
</div> </div>
{children} {children}
</Fragment> </Fragment>
@ -308,7 +307,7 @@ export function SideBar(props: { className?: string }) {
/> />
</Link> </Link>
</div> </div>
<div className={styles["sidebar-action"]}> {/* <div className={styles["sidebar-action"]}>
<a href={REPO_URL} target="_blank" rel="noopener noreferrer"> <a href={REPO_URL} target="_blank" rel="noopener noreferrer">
<IconButton <IconButton
aria={Locale.Export.MessageFromChatGPT} aria={Locale.Export.MessageFromChatGPT}
@ -316,11 +315,10 @@ export function SideBar(props: { className?: string }) {
shadow shadow
/> />
</a> </a>
</div> </div> */}
</> </>
} }
secondaryAction={ secondaryAction={
<IconButton <IconButton
icon={<AddIcon />} icon={<AddIcon />}
text={shouldNarrow ? undefined : Locale.Home.NewChat} text={shouldNarrow ? undefined : Locale.Home.NewChat}

View File

@ -181,14 +181,14 @@ const cn = {
SubTitle: "用户最新的一条消息会填充到此模板", SubTitle: "用户最新的一条消息会填充到此模板",
}, },
Update: { // Update: {
Version: (x: string) => `当前版本:${x}`, // Version: (x: string) => `当前版本:${x}`,
IsLatest: "已是最新版本", // IsLatest: "已是最新版本",
CheckUpdate: "检查更新", // CheckUpdate: "检查更新",
IsChecking: "正在检查更新...", // IsChecking: "正在检查更新...",
FoundUpdate: (x: string) => `发现新版本:${x}`, // FoundUpdate: (x: string) => `发现新版本:${x}`,
GoToUpdate: "前往更新", // GoToUpdate: "前往更新",
}, // },
SendKey: "发送键", SendKey: "发送键",
Theme: "主题", Theme: "主题",
TightBorder: "无边框模式", TightBorder: "无边框模式",